Updated: Apr 22
This post will show you how to disable a device connected to WiFi using a deauthentication attack.
A deauthentication attack is a type of attack which targets the communication between router and the device. Effectively disabling the WiFi on the device. The deauthentication attack isn’t some special exploit of a bug. It’s a created protocol and is being used in real world applications.
• Disconnect any user from any network using Deauthentication attack
• No need to know the network key
• No need to connect to the network
• Works on encrypted networks (WEP, WPA & WPA2)
How do you perform a deauthentication attack?
The 2 important things we need to know are:
The device we want to kick off of the network
The router that the device is connected to
This attack is done using Kali Linux but can be done on Mac OS, Linux or Bash on Windows. For best results, use Kali Linux.
Firstly we need to install the aircrack-ng suite. Open up a Linux like terminal and run:
sudo apt install aircrack-ng
aireplay-ng -0 1 -a xx:xx:xx:xx:xx:xx -c yy:yy:yy:yy:yy:yy wlan0
-0 arms deauthentication attack mode
1 is the number of deauths to send; use 0 for infinite deauths
-a xx:xx:xx:xx:xx:xx is the AP (access point) MAC (Media Access Control) address
-c yy:yy:yy:yy:yy:yy is the target client MAC address; omit to deauthenticate all clients on AP
wlan0 is the NIC (Network Interface Card)
Start Kali Linux and login, preferably as root.
Plugin your injection-capable wireless adapter, (Unless your native computer wireless card supports it). If you’re using Kali in VMware, then you have to connect the adapter.
Step 3: Searching for victim
Run on your terminal : airodump-ng wlan0
Start working for all the discovered wireless network around you ,
this simply provides the bunch of access points around you
For deauthentication purpose we only care about bssid and channel
BSSID | MAC address of the access point. In the Client section, a BSSID of “(not associated)” means that the client is not associated with any AP. In this unassociated state, it is searching for an AP to connect with.
CH | Channel number (taken from beacon packets).
In above picture only one wireless network has been discovered which is mine
Station simply displays the devices that are connected to the discovered/target network
here my target is my network and my device that is connected to that network because i try not to break any laws, so should you!
Step 4: Deauthenticating Device from the Network
Select your target which you want to disconnect from the network my target is my phone
This is the final command:
aireplay-ng --deauth 1000 -a 38:94:E0:F4:D4:82 -c C0:9A:D0:A2:AC:OE wlan0
its immediate result :
#hacking #hacker #cybersecurity #ethicalhacking #hackers #linux #programming #kalilinux #hack #technology #security #coding #python #infosec #programmer #tech #pentesting #cyber #malware #ethicalhacker #anonymous #coder #computerscience #hackingtools #cybercrime #cyberattack #informationsecurity #hacked #code #bhfyp