Sunday, May 12, 2013

Using reaver to crack WPA/WPA2

i wanted to test my Wireless Router against cracking WPA/WPA2
i found this tool reaver to brute force WPA/WPA2 using wifi Protected Setud (WPS)
the source of the code you can get it from here:
http://code.google.com/p/reaver-wps/

1- download the latest version (for me it was Reaver v1.4)
2- untar and cd to the created folder
3- install the script
./configure
make
sudo make install

if you got problem related to missing libpcap do the following
 sudo apt-get install libsqlite3-dev

4- install aircrack
sudo apt-get install aircrack-ng

5- find your wireless card (in my case it's wlan0)
iwconfig

6- put the wireless interface in monitoring mode
airmon-ng start wlan0
the output will give you the monitor interface name (in my case mon0)

7- Find the BSSID of the router to test
airodump-ng mon0

8- start the test
reaver -i mon0 -b -vv

now you need to wait for some hours until you got the password

you should run this test only on your router and don't try to use it illegally


No comments: