Preventing Man-in-the-middle attack in Wireless and Mobile Environments

As technology advances through the years, its uses grow increasingly more versatile and convenient for users. Wireless and mobile environments use has become an essential part of day to day life. While these environments have become common place through devices such as phones and laptops being able to protect the integrity, availability, and/or the confidentiality of wireless environments is just as essential. Personal information, sensitive conversations, and other such data can be gathered and exploited by outside users without the use of various forms of encryption are what allow a mobile environment to function in a secure manner. The key to solving the weakness in wireless encryption is to either completely adopt new encryption methods or improve the one already in use substantially somehow. By implementing an already successful encryption technique, one that is hard to decrypt and makes it easy for users to notice hacking attempts. Hybrid encryption, a technique where two different encryption systems are combined, is a method that can take a system that may not be very secure on its own and make it much stronger. In this paper we have implemented hybrid encryption techniques for the KRACK attack. The attack is crucially targeted to the outdated version of mobile devices, especially for those Android OS like Jellybean or Ice Cream Sandwich. The script of attack is uploaded on Github, the open-source website. We downloaded from Kali Linux and set up the fake network by using its script. We tested the latest version of Android OS. The device was connected to a fake router, where the Man in the Middle part was successfully accomplished. The suggested hybrid encryption technique was successful in preventing the Man in the Middle attack.