Saturday, 3 October 2015

Hack a WiFi by a New method called WiFi-Phisher


A new Attack for Wi-Fi has been released called Wifiphisher.

This attack is a play on old tricks using a Man-in-the-Middle and phishing attack.

It works by selecting a target router then kicking their connection which forces them to connect to you instead of their router.

When they do they are asked for their Wi-Fi username and password to upgrade the firmware of the router.
After they enter their password it is displayed to your screen. Once you have the password, they are allowed to automatically reconnect to their router and move on.

They have the attack listed as the following steps.

 From the victim’s perspective, the attack makes use in three phases:
1…..Victim is being deauthenticated from her access point. Wifiphisher continuously jams all of the target access point’s wifi devices within range by sending deauth packets to the client from the access point, to the access point from the client, and to the broadcast address as well.

2…..Victim joins a rogue access point. Wifiphisher sniffs the area and copies the target access point’s settings. It then creates a rogue wireless access point that is modeled on the target. It also sets up a NAT/DHCP server and forwards the right ports. Consequently, because of the jamming, clients will start connecting to the rogue access point. After this phase, the victim is MiTMed.

3…..Victim is being served a realistic router config-looking page. wifiphisher employs a minimal web server that responds to HTTP & HTTPS requests. As soon as the victim requests a page from the Internet, wifiphisher will respond with a realistic fake page that asks for credentials, for example one that asks WPA password confirmation due to a router firmware upgrade.

 It runs from Kali Linux and needs two wireless cards one that the victim can connect to and another to kick their connection with the Deauth command which requires a Kali Linux compatible adapter to do. I choose TP_link wireless USB adapter which is available on Flipkart

This is a tool that I am going to play with on my test routers and see how well it works.

To install wifiphisher, open a terminal window and enter the following command.
git clone https://github.com/sophron/wifiphisher.git


To run it type:
cd wifiphisher
sudo python ./wifiphisher.py


Here is the Github home page for wifiphisher. https://github.com/sophron/wifiphisher

Here is a YouTube video showing it.
Conclusion:If you like my posts please comment as they motivates me to post more..

0 comments:

Post a Comment