Mdk3 is a linux based command line tool that allows you to do a few different things. You can bruteforce SSID's, bruteforce MAC filters, SSID beacon flood, disconnect everything, and a few others. In order for mdk3 to work, you must have a wireless card that supports packet injection. Refer to this to see if your card is supported. I use an "Alfa AWUS036H" which uses the "RTL8187" wireless driver. Make sure your wireless card is supported before you continue. Lets get started... Please note: I am not responsible for anything that you do.
- First open a terminal window in your choice of linux distro.
- You must install the aircrack-ng suite. I use Ubuntu so I issue "apt-get install aircrack-ng".
- Once aircrack is installed, you must download, untar, and compile mdk3. If you do not know how to compile and install linux packages this way, then you probably shouldn't be using this tool.
- Now we must get the wireless interface up and configured. Use "ifup [interface]" to bring the card online. You will not need DHCP so you can "ctrl - c" after bringing the card online to make this step go a little faster.
- Once the interface up, we must enable monitor mode. Issue the command "airmon-ng start [interface]". Notice that wlan0 becomes mono, or something similar. You must use the monitor interface for the next steps.
- Lets test packet injection. Issue "aireplay-ng --test [monitor interface]". If this fails, the following steps will fail also. Your card, or wireless driver may not be supported.
- Now its time for the fun stuff. Find the location where mdk3 was installed. Call it with "./mdk3". You must specify an interface and an option. Calling "./mdk3 --fullhelp" will bring up all the options. Below are a few of my favorites.
- ./mkd3 mon0 b (Floods the WLAN waves with garbage SSID's)
- ./mkd3 mon0 b -f /path/to/text/file/ssid.txt (Floods the WLAN waves with SSID's taken from a text file.
- ./mkd3 mon0 d (Kicks everyone from all WLAN's in the area. Use -b if you only want to take down a single AP)
Of course there are more options included in mdk3, but those are my favorites. Use this tool wisely, and only at home.
Beacon flood mode using random SSID's:
Disconnecting all traffic to a given AP: