Exploting WPS to Retrieve the WPA Password; Pixie Dust Attack 10-20-2016, 10:16 PM
#1
Explanation of Attack
Due to that cracking WPA passwords via brute-force is virtually impossible and not applicable in real-life situations, it should be avoided at all cost. And retrieving it via social engineering (evil twin, etc.) is very advanced and again, very rarely applicable. So, exploiting WPS is always the way to go - if the router has it enabled - which nearly every modern home (and probably some business) router(s) has. Now, there are numerous ways to exploit WPS - and this is simply one of them.
First off all, you'll need to understand what WPS is; WPS stands for Wi-Fi Protected Setup and it is a wireless networking standard that tries to make connections between a router and wireless devices faster and easier. It works only for wireless networks that have WPA Personal or WPA2 Personal security. Click on the link to learn more.
So, we'll be utilizing a (somewhat) new attack coined the "Pixie Dust" attack - which essentially "reverse engineers" the 8-digit pin in certain routers. What I mean is, this attack is specifically designed only for certain chipsets; meaning, you might not have success on all routers. You should simply just try and if you fail, move on to another attack; such as, using reaver to brute-force the damn pin.
The Lab
In my case, I'll be using Kali Linux on a virtual machine. You'll also need a network adapter capable of the usual (mmode, etc.); I'd suggest one of the Alfa models. It has a strong signal as well. If you're using a virtual machine, just connect your adapter device to the machine.
Installing Dependencies; Required Packages to get the Attack Working
Simply install the packages below in order; make sure to update your package lists before doing so.
Downloading & Installing reaver-wps-fork-t6x
This is essentially a program that utilizes what Reaver provides, but slightly modified in-order to adapt into the attack.
Finding & Extracting Information from Target
Enabling monitor mode on your wireless interface is required for extracting the information of said-target.
Here you'll see a list of access points, on the right-hand side, you'll see if WPS is enabled or not; if it's 'No' under locked, the attack might be plausible, if it's 'Yes' - your shit 'outta luck. Write down/copy the BSSID and channel number - we'll need it for the attack.
Exploitation
We've gathered the information, we've found out the target might be vulnerable - so shit, let's fire the lazer. Simply substitute your variables instead of mine and let the attack run. If it's vulnerable, you'll have the password within thirty-minutes guaranteed - if it's not vulnerable, you'll be returned error codes/messages.
![[Image: 4or7nDg.png]](http://i.imgur.com/4or7nDg.png)
Happy hunting!
Due to that cracking WPA passwords via brute-force is virtually impossible and not applicable in real-life situations, it should be avoided at all cost. And retrieving it via social engineering (evil twin, etc.) is very advanced and again, very rarely applicable. So, exploiting WPS is always the way to go - if the router has it enabled - which nearly every modern home (and probably some business) router(s) has. Now, there are numerous ways to exploit WPS - and this is simply one of them.
First off all, you'll need to understand what WPS is; WPS stands for Wi-Fi Protected Setup and it is a wireless networking standard that tries to make connections between a router and wireless devices faster and easier. It works only for wireless networks that have WPA Personal or WPA2 Personal security. Click on the link to learn more.
So, we'll be utilizing a (somewhat) new attack coined the "Pixie Dust" attack - which essentially "reverse engineers" the 8-digit pin in certain routers. What I mean is, this attack is specifically designed only for certain chipsets; meaning, you might not have success on all routers. You should simply just try and if you fail, move on to another attack; such as, using reaver to brute-force the damn pin.
The Lab
In my case, I'll be using Kali Linux on a virtual machine. You'll also need a network adapter capable of the usual (mmode, etc.); I'd suggest one of the Alfa models. It has a strong signal as well. If you're using a virtual machine, just connect your adapter device to the machine.
Installing Dependencies; Required Packages to get the Attack Working
Simply install the packages below in order; make sure to update your package lists before doing so.
Code:
build-essential
libpcap-dev
sqlite3
libsqlite3-dev
pixiewpsDownloading & Installing reaver-wps-fork-t6x
This is essentially a program that utilizes what Reaver provides, but slightly modified in-order to adapt into the attack.
Code:
git clone https://github.com/t6x/reaver-wps-fork-t6x
cd ~/
cd src/
./configure
make
make installFinding & Extracting Information from Target
Enabling monitor mode on your wireless interface is required for extracting the information of said-target.
Code:
airmon-ng start [interface]
wash -i [enabled minterface]Exploitation
We've gathered the information, we've found out the target might be vulnerable - so shit, let's fire the lazer. Simply substitute your variables instead of mine and let the attack run. If it's vulnerable, you'll have the password within thirty-minutes guaranteed - if it's not vulnerable, you'll be returned error codes/messages.
Code:
reaver -i [enabled minterface] -b [BSSID variable] -c [channel variable] -vvv -K 1 -f![[Image: 4or7nDg.png]](http://i.imgur.com/4or7nDg.png)
Happy hunting!
(This post was last modified: 10-20-2016, 11:41 PM by 817_091_278.)
If you need to get in contact with me, you may do so over ricochet. My identification is: ricochet:j27xararvgnbbnno.




![[+]](https://sinister.li/images/modern/collapse_collapsed.png)





![[Image: giphy.gif]](https://media.giphy.com/media/epRoTgGfkLpxS/giphy.gif)










![[Image: qcYJ3l.png]](https://i.skull.moe/u/qcYJ3l.png)









