π‘Wireless attacks
View the configuration of network interfaces:
ifconfig && iwconfig && airmon-ngTurn a network interface on/off:
ifconfig wlan0 up
ifconfig wlan0 downRestart the network manager:
service NetworkManager restartSet the WLAN regulatory domain:
iw reg set HRTurn the power of a wireless interface up/down (too high can be illegal in some countries):
iwconfig wlan0 txpower 40Set a wireless network interface to the monitoring mode:
airmon-ng start wlan0
ifconfig wlan0 down && iwconfig wlan0 mode monitor && ifconfig wlan0 upSet a wireless network interface to the monitoring mode on a specified channel:
airmon-ng start wlan0 8
iwconfig wlan0 channel 8[Optional] Kill services that might interfere with wireless network interfaces in the monitoring mode:
Set a wireless network interface back to the managed mode:
Search for WiFi networks within your range:
Monitor a WiFi network to capture handshakes/requests:
Check if a wireless interface supports packet injection:
Monitor a WiFi network to capture a WPA/WPA2 4-way handshake:
Deauthenticate clients from a WiFi network:
Start the dictionary attack against a WPA/WPA2 handshake:
PMKID Attack: Crack the WPA/WPA2 authentication without deauthenticating clients.
Last updated