This Python tool helps detect Deauthentication (Deauth) Attacks on a Wi-Fi network by sniffing packets and identifying Deauth frames. Deauth attacks are commonly used for Wi-Fi denial-of-service (DoS) attacks and capturing handshake packets for hacking attempts.
- Detects Deauth attack packets in real time.
- Logs attack attempts to a file (
deauth_attack.log). - Supports Python 3 with improved error handling.
- User-friendly interface and clean output.
- Python 3
scapylibrary (for packet sniffing)- A Wi-Fi adapter that mainly supports monitor mode
- Clone this repository:
git clone https://github.com/YourUsername/Deauth_Attack_Detector.git cd Deauth_Attack_Detector - Install dependencies:
pip install scapy
- Run the script as root:
sudo python3 Deauth_Attack_Detector.py
- Enter your network interface (e.g.,
wlan0mon). - The tool will start detecting Deauth packets and log them.
[*] Starting Deauthentication Attack Detection...
[+] Deauthentication Packet detected! Count: 1
[+] Deauthentication Packet detected! Count: 2
Press CTRL + C to stop the tool safely.
This tool only detects attacks; it does not prevent them. If you see repeated alerts, consider improving your Wi-Fi security by:
- Changing your Wi-Fi password.
- Using WPA3 security.
- Disabling SSID broadcasting.
This project is licensed under the MIT License.
- Developed by ABIDEEPADARSAN
Feel free to submit issues or pull requests to improve this tool!
For any queries, reach out via Gmail.