and if the attacker just want to know your Wifi credentials he can serve you to a fake login page asking your for your wifi password to steal the password , and not just a fake wifi login page
he can also serve you to a fake login page for any of the website you are trying to open .
yes you sensitive data is between the attacker hands once you connect to a fake wifi, The attack scenario could be exploited to run man-in-the-middle attacks or to serve malware to the computers in the targeted network.
To avoid evil twin access point attack...
There is no magic button and you need to know some details about the real AP you are connected to or want to connect to.. Like
- The MAC address of the real wireless access point
- The DHCP IP address the gateway and the DNS server that it hand out
- Apart from that, you might find the evil twin using a different frequency than the original, like the true AP being on 2.4GHz and the evil AP being on 5GHz
it's hard to avoid fake wifi and even almost impossible to have all of that information with you when ever you want to connect to an access point , but this is the only way to know its real and not fake wifi
For wireless network administratorTo protect your users from fake wifi connection you can use
EvilAP Defender its an application that will help you discover and prevent Evil Access Points from attacking wireless users.
You can setup the application to run in regular intervals to check if there is any fake access point and protect your wireless network from Evil Twin attacks.
You can also configuring EvilAP Defender to send notifications to your email whenever it discover an evil access point.
and you can configure EvilAP Defender to perform DoS on on the legitimate wireless users to prevent them from connecting to the discovered evil AP, this will give the administrator more time to react.
However, notice that the DoS will only be performed for evil APs which have the same SSID ( wifi Name ) but different BSSID (AP’s MAC address) or running on a different channel.
To avoid DoS your legitimate network. you can read more about it here
Link.
Back to infernal twin now lets see what we need to start a
fake wifi hotspotTo use the tool you need
Apache module
mysql database
Scapy packet manipulation tool for computer networks
wxtools debugging framework.
To install the packages we need follow these steps:
Use sudo if you are not root most of those packages are included in Kali Linux but just in case you are not a Kali user
1234567891011121314151617
apt-get install apache2
apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql
apt-get install python-scapy
apt-get install python-wxtools
apt-get install python-mysqldb
apt-get install aircrack-ng
git clone https://github.com/entropy1337/infernal-twin.git
Now lets Start Infernal Twin by 123456
cd infernal-twin
python InfernalWireless.py
or
InfernalWireless.py
If it's the first time you use infernal-twin it's a good idea to run configure
to do so..
click File then Configure software
For enterprise packing you need freeradius
you check if you have it or not by
click tools then check freeradius
if you don't have it after clicking "check freeradius" it will give you links for download
keep in mind wifi attack is Legal you should never make a fake wifi hotspot over an access point you don't manage
Comentários
Postar um comentário