Skip to content

madhubkk/wifi-deauth-attack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Automated script for Wifi Deauthentication Attack

Intro

Written in Python, sends deauth packets to a wifi network which results network outage for connected devices. Uses scapy module to send deauth packets and sniffs wifi. Know more about Deauthentication Attack

Required Tools

  1. aircrack-ng (apt-get install aircrack-ng)
  2. scapy (Python Module:apt-get install python-scapy)

How to run?

We can run in 3 ways:

  • sudo python deauth.py. It will automatically creates mon0 with airmon-ng start wlan0(it wont create, if already exists) and sniffs the wifi singal on that interface. After few seconds, it will displays the SSID and its MAC to choose.
  • sudo python deauth.py XX:YY:AA:XX:YY:AA. MAC address as command line argument. In this case, there is no need to sniff wifi.
  • export DEAUTH=XX:YY:AA:XX:YY:AA && sudo python deauth.py. MAC address as environmental variables.

How to avoid Deauthentication attack?

Use 802.11w suppored routers. Know more about 802.11w and read cisco document

NOTE:

Inorder to work deauthentication attack successful, you should near to the target network. The deauth packets should reach the connected devices of the target network(s)

Difficult to setup environment for this?? check out my other repo: docker image veerendrav2/hacker-tools.

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%