A DoS attack that disconnects all devices from a target wifi network.
- The network's password is not required
- Tested on Kali NetHunter
IMPORTANT
Rarely some network APs operate on both 5GHz (channel > 14
) and 2.4GHz (channel < 14
) under the same BSSID name.
In order to truly bring the AP down, I usually run simultaneously two processes with 2 separate network interfaces, one for 2.4GHz and one for 5GHz.
This program iterates over all possible channels, and by sniffing 802.11
packets it determines which access points are available.
After the attacker chooses a target access point to attack, the program:
- Continously sends spoofed deauthentication packets using broadcast mac address as the destination
- Starts sniffing for clients that are connected to the AP by filtering for certain 802.11 packet frames and sending spoofed deauthentication packets to those clients as well
python3 wifi-deauth.py -i <iface>
<iface>
is the name of the network interface (i.ewlan0
oreth0
) that supports packet injection- Pass
--kill
(or runsudo systemctl stop NetworkManager
) in order to kill NetworkManager service which might interfere with the attack - The initial iteration over all channels might take a minute or two (depends on how many bands the interface supports)
- Pass
--skip-monitormode
if you want to enable monitor mode manually (otherwise the program does it automatically)
- Check
ifconfig
to find the interface nickname - Works for 2.4GHhz and 5Ghz
- Beware that some access points have protections against this kind of attack and therefore it might not work on them
- Linux OS
- A network adapter that supports monitor mode and packet injection
- Scapy library (listed in
requirements.txt
)
There's another method to perform a DoS attack on networks, which requires credentials but quite effective.
This tool is only for testing and can only be used where strict consent has been given. Do not use it for illegal purposes! It is the end user’s responsibility to obey all applicable local, state and federal laws. I assume no liability and am not responsible for any misuse or damage caused by this tool and software.
Distributed under the GNU License.