An Evil Twin is a fraudulent Wi-Fi access point that appears to be legitimate but is set up to eavesdrop on wireless communications.
This type of attack may be used to steal the passwords of unsuspecting users, either by monitoring their connections or by phishing.
- Scan a WLAN in the environment for a minute and view the various networks discovered.
- Selection of the network on which to carry out the attack.
- Presenting clients of the network on which the attack is being made.
- Selecting a victim and performing an Evil-Twin attack.
Evil-Twin attack includes:
Disconnecting the victim from the existing network, uploading the malicious network (the evil twin) and activating CaptivePortal, connecting the victim to the malicious network and its activities, obtaining the information that is the purpose of the attack.
In addition, this contains a defense tool that prevents this attack and keeps your device safe.
- Two network interfaces, which both support monitor mode.
- Linux operating system.
- Python 3.0 or above.
- Copy html file from project to path in your OS: /var/www
- Clone the repository
git clone https://github.com/Lioo7/Evil-Twin.git
- Install Scapy
sudo apt install python3-scapy
- Run the following command
sudo python3 main.py
- Set your interfaces (network adapters).
- Select 1 to activate the Evil-Twin attack or select 2 to activate the defense mode.
- Keep following the instructions on your terminal.