OP 10 December, 2021 - 06:53 PM
(This post was last modified: 10 December, 2021 - 06:54 PM by HugzAngelic. Edited 1 time in total.)
The purpose of this guide is to inform users about how a router can be exploited to temporarily reset WPS lockouts. This can be useful when using reaver to crack a WPS pin. Keep in mind that this does not work with every router. It largely depends on hardware. This attack uses MDK3, a set of tools by ASPj to overload the target AP with useless data, thus causing it to freeze and reset. Here is how it works. (Each of these commands are run in a separate terminal window)
This floods the target AP with fake clients.
This causes Michael failure, stopping all wireless traffic. However, this only works if the target AP supports TKIP. (Can be AES+TKIP)
This keeps a continuous deauth on the network. If this attack does not start, make a blank text document in your root folder named blacklist. Leave it empty as MDK3 automatically populates the list.
This floods a bunch of fake APs to any clients in range (only effective to windows clients and maybe some other devices, Macs are protected against this).
You will know when the AP has reset either by checking with
or if the target shows channel -1 and MB shows -1 in airodump.
Preventing the attack
As of now, there is no way to prevent the attack except by disabling wireless, buying a high end router, or getting an AP that encrypts management packets. Deauthentication packets are management frames which are sent UNENCRYPTED unless you purchase an AP that supports MFP. You can read more about this here.
Code:
mdk3 monX a -a xx:xx:xx:xx:xx:xx -mCode:
mdk3 monX m -t xx:xx:xx:xx:xx:xxCode:
mdk3 monX d -b blacklist -c XCode:
mdk3 monX b -t xx:xx:xx:xx:xx:xx -c XYou will know when the AP has reset either by checking with
Code:
wash -i monX -CPreventing the attack
As of now, there is no way to prevent the attack except by disabling wireless, buying a high end router, or getting an AP that encrypts management packets. Deauthentication packets are management frames which are sent UNENCRYPTED unless you purchase an AP that supports MFP. You can read more about this here.