2025-07-24 22:27:13 -06:00
|
|
|
# mdk4
|
|
|
|
|
|
|
|
|
|
> A proof-of-concept tool to exploit common IEEE 802.11 protocol weaknesses.
|
2025-12-16 10:20:31 -07:00
|
|
|
> Note: Exercise extreme caution as this tool can disrupt Wi-Fi networks and disconnect nearby users.
|
2025-07-24 22:27:13 -06:00
|
|
|
> See also: `airodump-ng`, `airmon-ng`.
|
|
|
|
|
> More information: <https://github.com/aircrack-ng/mdk4>.
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
- Flood access points with beacon frames to create fake networks (set interface to monitor mode with `sudo airmon-ng start wifi_interface` if needed):
|
2025-07-24 22:27:13 -06:00
|
|
|
|
|
|
|
|
`sudo mdk4 {{wifi_interface}} b -f {{path/to/beacons.txt}}`
|
|
|
|
|
|
|
|
|
|
- Perform deauthentication attack against all clients on all BSSIDs:
|
|
|
|
|
|
|
|
|
|
`sudo mdk4 {{wifi_interface}} d`
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
- Perform deauthentication attack on a specific BSSID (list BSSIDs using `sudo airodump-ng wifi_interface`):
|
2025-07-24 22:27:13 -06:00
|
|
|
|
|
|
|
|
`sudo mdk4 {{wifi_interface}} d -B {{BSSID}}`
|