Monday, August 8, 2011

Lazy WEP key test with aircrack-ng on Debian

We can test how secure are our old WEP wi-fi keys following these few steps:

1 - Ensure you have a compatible chipset:


2 - Install aircrack-ng:

  • Nova:amartin# sudo apt-get install aircrack-ng

3 - Load the monitor on your wi-fi interface:

  • Nova:amartin# sudo airmon-ng start <wlan interface>

 4 - Start to capture the traffic with the dump utility:

  • Nova:amartin# sudo airodump-ng -w /tmp/mykey -d <your AP BSSID>

5 - After a while, and with enough traffic captured (10K+ packets) let's try to find out the key:

  • Nova:amartin# sudo aircrack-ng /tmp/mykey*cap
  • (* for if we have multiple capture files)

6 - After some processing probably you will find your key in hexadecimal


7 - Change your security to WPA2 at least :)

No comments:

Post a Comment