WPA/WPA2 Pre-Shared Key Attacks
What you'll learn: How attackers capture the WPA/WPA2 4-way handshake and use offline attacks to recover the network password.
The Core Vulnerability
WPA/WPA2-PSK networks derive encryption keys from a shared passphrase (the Wi-Fi password). During the 4-way handshake you learned earlier, the client and access point exchange cryptographic messages that prove both know the PSK—without sending the password itself. However, these handshake messages contain enough information to verify password guesses offline.
Think of it like a locked safe with a fingerprint scanner. If someone records the "unlock attempt" (handshake), they can try millions of different fingerprints later to see which one matches—without ever touching the actual safe again.
The Attack Process
1. Handshake Capture: The attacker uses tools like aircrack-ng to monitor a WPA/WPA2 network and capture the 4-way handshake between a legitimate client and access point. They might passively wait for a device to connect or actively force a deauthentication to trigger a reconnection.
2. Offline Attack: With the captured handshake file, the attacker performs dictionary or brute-force attacks completely offline. They hash password guesses combined with the network's SSID and other handshake data, checking if the result matches what was captured.
3. Success Depends on Password Strength: Weak passwords ("password123") fall quickly. Strong passphrases (random, 20+ characters) remain practically uncrackable even with GPU acceleration.
Why This Matters
Unlike online attacks where you get locked out after failed attempts, offline attacks have no rate limiting. An attacker with powerful hardware can test billions of passwords per second against the captured handshake, completely undetected.
Key Takeaway: WPA/WPA2-PSK security depends entirely on password strength—capture of the 4-way handshake enables unlimited offline password-guessing attacks, making long, random passphrases essential for protection.