airdecap-ng
Decrypt WEP and WPA/WPA2 encrypted capture files
TLDR
SYNOPSIS
airdecap-ng [-l] [-w key] [-p pass -e essid] [-b bssid] capture-file
DESCRIPTION
airdecap-ng decrypts WEP and WPA/WPA2 encrypted capture files when you know the key. It produces an unencrypted capture file (by default suffixed with -dec.cap) that can be analyzed with tools like Wireshark.By default, 802.11 wireless headers are stripped so the output resembles a standard Ethernet capture. Use -l to preserve the original 802.11 frames.
PARAMETERS
-w key
WEP key in hexadecimal-p passphrase
WPA/WPA2 passphrase-e essid
Network name (required for WPA)-b bssid
Access point MAC address filter-l
Don't remove the 802.11 header from decrypted output (keep wireless frames).-k pmk
Use the specified WPA/WPA2 Pairwise Master Key (in hex) instead of passphrase.
CAVEATS
For WPA decryption, you need the passphrase AND the SSID. The capture file must contain a valid 4-way handshake, and only data packets that follow a successful handshake will be decrypted. Output file is named input-dec.cap by default. Single file names are recommended over shell wildcards.
HISTORY
airdecap-ng is part of the aircrack-ng suite, developed in the mid-2000s. It provides the complementary function to aircrack-ng: once a key is recovered, airdecap-ng can decrypt the traffic for analysis.
SEE ALSO
aircrack-ng(1), airodump-ng(1), wireshark(1), tcpdump(1)
