Attack with

In this tutorial we are going to do a pixie dust attack using Reaver 1.5.2, Aircrack-NG and Pixiewps. Pixie Dust attack is an offline attack which exploits a WPS vulnerability. The tool, Pixiewps, is written in C and works with a modified version of Reaver. When a wireless router is vulnerable for this attack retrieving the passphrase can be done in seconds. A link to the list of pixie dust vulnerable routers is included at the bottom of this tutorial.

Virtual Hacking Labs - Penetration testing lab  - 6 - WPS Pixie Dust Attack in Kali Linux with Reaver

Pixie Dust Attack

Let’s put the wifi interface in monitoring mode using:
airmon-ng start wlan0

If necessary kill the processes is complaining about:

Pixie dust attack Reaver  - Wordpress screen 1 e1433583230399 - WPS Pixie Dust Attack in Kali Linux with Reaver

For anyone getting the following error in Kali  2.0 Sana:

[X] ERROR: Failed to open ‘wlan0mon’ for capturing

Try the following as a solution:

1. Put the device in Monitor mode Airmon-ng start wlan0
2. A monitoring interface will be started on wlan0mon
3. Use iwconfig to check if the interface MODE is in managed mode, if so then change it to monitor instead of managed with the following commands:
ifconfig wlan0mon down
iwconfig wlan0mon mode monitor
ifconfig wlan0mon up
4. iwconfig check if the mode is monitoring mode now
5. airodump-ng wlan0mon

Start airodump-ng to get the BSSID, MAC address and channel of our target.

airodump-ng -i wlan0mon

Now pick the target and use the BSSID and the channel for Reaver:

Reaver -i wlan0mon -b [BSSID] -vv -S -c [AP channel]

We need the PKE, PKR, e-hash 1 & e-hash 2, E-nonce / R-nonce and the authkey from Reaver to use for pixiewps.

Pixie dust attack Reaver  - Wordpress screen 21 e1433583260536 - WPS Pixie Dust Attack in Kali Linux with Reaver

Now start pixiewps with the following arguments:

Pixie dust attack Reaver  - Wordpress screen 3 e1433583278700 - WPS Pixie Dust Attack in Kali Linux with Reaver

Components:
E-Hash1 is a hash in which we brute force the first half of the WPS PIN.
E-Hash2 is a hash in which we brute force the second half of the WPS PIN.
HMAC is a function that hashes all the data in parenthesis. The function is HMAC-SHA-256.
PSK1 is the first half of the router’s WPS PIN (10,000 possibilities)
PSK2 is the second half of the router’s WPS PIN (1,000 or 10,000 possibilities depending if we want to compute the checksum. We just do 10,000 because it makes no time difference and it’s just easier.)
PKE is the Public Key of the Enrollee (used to verify the legitimacy of a WPS exchange and prevent replays.)
PKR is the Public Key of the Registrar (used to verify the legitimacy of a WPS exchange and prevent replays.)

This router does not seem to be vulnerable to pixie dust attack.

Avoiding Reaver router lock-out with Pixiedust loop

When using the -P (Pixiedust loop) option, Reaver goes into a loop mode that breaks the WPS protocol by not using M4 message to avoid lockouts. This option can only be used for PixieHash collecting to use with pixiewps.

Thanks for watching and please subscribe to my YouTube channel for more hacking tutorials 🙂

More information: https://forums.kali.org/showthread.php?24286-WPS-Pixie-Dust-Attack-(Offline-WPS-Attack)

Database with routers vulnerable to the pixie dust attack:

https://docs.google.com/spreadsheets/d/1tSlbqVQ59kGn8hgmwcPTHUECQ3o9YhXR91A_p7Nnj5Y/edit

Pixie WPS on github: https://github.com/wiire/pixiewps

Modified Reaver with pixie dust attack: https://github.com/t6x/reaver-wps-fork-t6x

Wireless Hacking Banner  - Wireless Hacking Banner 1 - WPS Pixie Dust Attack in Kali Linux with Reaver

If you’re interested in learning more about WiFi hacking and wireless in general, you can follow any of these online courses:


Online Hacking Courses


Learn Wi-fi Hacking/Penetration Testing From Scratch

This course contains 50 Videos to learn practical attacks to test the security of Wi-fi and wired networks from scratch using Linux. Read more…
- 281138 ccf8 7 - WPS Pixie Dust Attack in Kali Linux with Reaver- show id XhHfvFHk7Zc bids 323058 - WPS Pixie Dust Attack in Kali Linux with Reaver

Learn Penetration Testing using From Scratch

40+ Videos to learn how to use Android to test the security of networks and computer systems. Read more…
- 377716 8ade 2 - WPS Pixie Dust Attack in Kali Linux with Reaver- show id XhHfvFHk7Zc bids 323058 - WPS Pixie Dust Attack in Kali Linux with Reaver



Source link

LEAVE A REPLY

Please enter your comment!
Please enter your name here