Hacking WPS Enabled WiFi Password With Kali & Prevention From It.
by Gautam1807 in Circuits > Linux
851 Views, 29 Favorites, 0 Comments
Hacking WPS Enabled WiFi Password With Kali & Prevention From It.
Hello friends,
In this instructable, i have shown how to crack WPS enabled WiFi password with Reaver in Kali Linux & how to prevent your WiFi from hackers.
because unless you understand the process of WPS enabled hacking, you can't prevent yourself from hackers.
Note : this tutorial is for educational purpose only, i am not responsible for any misuse.
Kali is a useful & open source OS to do penetration testing.
WPS was developed for simplifying the process to connecting WiFi. With WPS, one don't have to remember whole password but a eight digit pin.
This WPS has a limitation that no. of this 8 digit pis is limited, only 11,000 Pins. It may be sound much no. but with Reaver it is so much easy to crack it.
It takes only 3.05 min. (183 pins per second minimum) to check all the 11,000 pins. (Subject to SSID's range.)
Coding
" Be patient, hacking is not for them who are always in hurry."
First of all, we will need a WiFi adapter which can support injection mode.
to check if your WiFi adapter supports injection mode or not.
Open terminal & fire this command.
airmon-ng start wlan0
wlan0 is your WiFi interface.
{ If you don't know your WiFi interface, then open another terminal and fire ifconfig.
It will list all your network interface cards, There should be your wireless interface. for example. wlan0 or wlan1 etc.}
Coding
when you fire that command then you will get output like the above image.
monitor mode enabled on mon0
{ if you don't get output like the image then reinsert your WiFi adapter, if you still not getting the output then unfortunately your wireless interface does not supports injection(monitor) mode.
But no problem, you can buy a WiFi adapter which supports injection mode.
I am using TP-LINK WN722N. you can buy it for around 800 INR. }
Next command is
wash -i mon0
mon0 is interface for monitor mode.
this command will list all the WPS enabled WiFis present in area of your WiFi coverage.
Coding
when you fire that command it will search & display BSSID, Channel, RSSI, WPS version, WPS locked, ESSID.
We don't need all this things, just BSSID(MAC address) & Channel of the victim WiFi.
when you get your desired victim WiFi press CTRL+Z to stop the searching.
now enter this command.
reaver -i mon0 -c CHANNEL -b BSSID OF VICTIM -vv
your command should be look like this
reaver -i mon0 -c 11 -b AA:BB:CC:DD:EE:FF -vv
press enter
the cracking process will start,
after some time you will get password like the image above.
How to Prevent Your WiFI From This Type of Attack.
- Always use complex password for your WiFI.
- It should include all the characters like numbers, capital, small & special symblols. For example LhFa@34#, CmtX##82
- Never give password to your WiFI, which you used anywhere else.
- Keep changing your password after some time.
- There are two way to use WPS for WiFi. 1. By a pin ( like i shown in this instructable) & 2. is by a button. (rear side of your router, there should be a button for WPS).
- Always use WPS button for connection your WIFI by WPS. If you use pin then keep changing them after some time.
- Change default password for the configuration page of router.
- never share the password with the strangers or someone whome you don't trust.
- if possible, use cable to access internet.