802.11 Frame Analysis with Wireshark and tshark
Wireshark and tshark decode 802.11 frames and let you inspect the full frame structure including management, control, and data frames. This is useful for confirming what airodump-ng is capturing, verifying handshakes, analysing authentication sequences, and decrypting traffic when the PSK is known.
Open a capture file directly, or capture live from a monitor mode interface.
Open a Capture in Wireshark
For live capture directly from the monitor mode interface:
Essential Display Filters
Filter by frame type to reduce noise. 802.11 frames are split into management (type 0), control (type 1), and data (type 2):
Filter by specific management frame subtypes:
Common subtype values: 8 = beacon, 4 = probe request, 5 = probe response, 0 = association request, 11 = authentication, 12 = deauthentication.
Filter by BSSID:
Filter by SSID string:
Filter for EAPOL frames to confirm a WPA handshake is present in the capture:
A valid WPA 4-way handshake consists of 4 EAPOL frames. You need at least frames 1 and 2, or frames 2 and 3, to have a crackable handshake. Wireshark labels these as Message 1 through Message 4 in the Info column when the 802.11 dissector is active.
Decrypt WPA Traffic with a Known PSK
If you have recovered the WPA passphrase, configure Wireshark to decrypt the traffic inline. Go to Edit > Preferences > Protocols > IEEE 802.11 > Decryption keys and add an entry in the format:
After adding the key, reload the capture. Wireshark decrypts data frames on the fly and the plaintext protocol content becomes visible in the packet details pane.
tshark at the Command Line
tshark is the CLI equivalent of Wireshark. Use it for scripted analysis and filtering without a GUI.
Show all beacon frames from a live capture:
TargetNetwork AA:BB:CC:DD:EE:FF 6 HomeNetwork 11:22:33:44:55:66 11
Read from a capture file instead of a live interface:
Check whether a capture contains a complete handshake:
4 or more EAPOL frames indicates a full handshake is likely present. Confirm with aircrack-ng before investing time in cracking:
1 handshake found for network TargetNetwork (AA:BB:CC:DD:EE:FF)
Remote Capture into Wireshark
To capture on a remote Kali host and stream frames to a local Wireshark instance:
This pipes the raw capture stream from the remote interface directly into Wireshark locally. Useful when the adapter is on a remote sensor or a Raspberry Pi closer to the target.
References
-
Wireshark — WLAN display filter referencewww.wireshark.org/docs/dfref/w/wlan.html (opens in new tab)
Full list of wlan.* display filter fields
-
Wireshark — tshark man pagewww.wireshark.org/docs/man-pages/tshark.html (opens in new tab)
Full flag and field extraction reference for tshark
Was this helpful?
Your feedback helps improve this page.