802.11 WiFi - Wireshark Cheatsheet
Cheats
- Get rid of beacons, probe requests and probe respons
1
&& (!(wlan.fc.type_subtype == 4 || wlan.fc.type_subtype == 5 || wlan.fc.type_subtype == 8 ))
- Display only connection/disconnection related frames only
1
(wlan.fc.type_subtype == 0 || wlan.fc.type_subtype == 1 || wlan.fc.type_subtype == 2 || wlan.fc.type_subtype == 3 || wlan.fc.type_subtype == 10 || wlan.fc.type_subtype == 11 || wlan.fc.type_subtype == 12 || eapol)
- Auth/Deauth related packets.
1
eapol || wlan.fc.type_subtype == 0 || wlan.fc.type_subtype == 1 || wlan.fc.type_subtype == 2 || wlan.fc.type_subtype == 3 || wlan.fc.type_subtype == 10 || wlan.fc.type_subtype == 11 || wlan.fc.type_subtype == 12
Filters
Management Frames
Used for the control of the wireless network and the devices that connect to it. Management frames can be used for establishing and maintaining connections, as well as for signaling important events like re-association or authentication.
wlan.fc.type == 0 | All Management Frames | Description |
---|---|---|
wlan.fc.type_subtype == 0 | Association Requests | Sent by a client to request association with an access point (AP). |
wlan.fc.type_subtype == 1 | Association Response | Sent by an AP to indicate the status of an association request from a client. |
wlan.fc.type_subtype == 2 | Re-association Request | Sent by a client to request re-association with an AP. This is typically used when a client roams from one AP to another within the same network. |
wlan.fc.type_subtype == 3 | Re-association Response | Sent by an AP to indicate the status of a re-association request from a client. |
wlan.fc.type_subtype == 4 | Probe Requests | Sent by a client to discover available networks and obtain information about nearby APs. |
wlan.fc.type_subtype == 5 | Probe Responses | Sent by an AP to provide information about its capabilities and services in response to a Probe Request from a client. |
wlan.fc.type_subtype == 8 | Beacons | Periodically transmitted by an AP to announce its presence and provide information about the network. |
wlan.fc.type_subtype == 9 | ATIMs | Used in ad-hoc networks to allocate the medium access time for stations to transmit data. |
wlan.fc.type_subtype == 10 | Disassociations | Sent by a client or AP to terminate an association and indicate the intention to leave the network. |
wlan.fc.type_subtype == 11 | Authentications | Used to authenticate a client with an AP. Exchanged before association to provide security in the initial stages of the connection. |
wlan.fc.type_subtype == 12 | Deauthentications | Sent by a client or AP to terminate an authenticated session, indicating a forced logoff or access denial. |
wlan.fc.type_subtype == 13 | Actions | Used to exchange vendor-specific or non-standardized messages between clients and APs, providing a mechanism for extending the capabilities of the Wi-Fi network. |
undefined
Control Frames
Control frames are used to manage the transmission of data between wireless devices, and are critical to ensuring that network resources are used efficiently and effectively.
wlan.fc.type == 1 | All Control Frames | Description |
---|---|---|
wlan.fc.type_subtype == 24 | Block Ack Requests | Sent by the receiver to request the sender to acknowledge the successful receipt of multiple frames, optimizing the acknowledgment process by reducing the number of individual acknowledgments. |
wlan.fc.type_subtype == 25 | Block Ack | Sent by the sender to acknowledge the successful receipt of multiple frames as requested by the Block Ack Request, confirming the successful delivery of a group of frames. |
wlan.fc.type_subtype == 26 | PS-Polls | Sent by a power-saving station to the access point (AP) to indicate its desire to receive buffered frames, allowing the power-saving station to check for any pending frames while minimizing power consumption. |
wlan.fc.type_subtype == 27 | RTS (Request-to-Send) | Sent by a sender to request permission to transmit a data frame, used in the RTS/CTS (Request-to-Send/Clear-to-Send) handshake mechanism to avoid collisions in the wireless medium. |
wlan.fc.type_subtype == 28 | CTS (Clear-to-Send) | Sent by the receiver in response to an RTS frame, granting permission to the sender to transmit a data frame and indicating that the medium is clear for transmission. |
wlan.fc.type_subtype == 29 | ACKs (Acknowledgments) | Sent by the receiver to acknowledge the successful receipt of a data frame, serving as a positive acknowledgment to inform the sender that the frame was received without errors. |
wlan.fc.type_subtype == 30 | CF-Ends | Sent by a station to inform other stations that it has finished its contention-free period and the medium is available for contention-based access. |
wlan.fc.type_subtype == 31 | CF-Ends/CF-Acks | Sent by the access point (AP) to acknowledge the CF-End frame and indicate the end of the contention-free period, used in contention-free access methods to maintain synchronization. |
undefined
Data Frames
Data frames can be used for two main purposes: to transfer information or to trigger an event. It is worth mentioning that not all data frames have a payload. Some of them, referred to as “null data frames”, only have a header and trailer.
wlan.fc.type == 2 | All Data Frames | Description |
---|---|---|
wlan.fc.type_subtype == 32 | Data Frames | Carries data from the sender to the receiver. Used for the transmission of upper-layer protocols such as IP packets. |
wlan.fc.type_subtype == 33 | Data + CF-ACK | Data frame with a contention-free acknowledgement (CF-ACK) to ensure reliable delivery. |
wlan.fc.type_subtype == 34 | Data + CF-Poll | Data frame with a contention-free poll (CF-Poll) to request data from another station during a contention-free period. |
wlan.fc.type_subtype == 35 | Data + CF-ACK + CF-Poll | Data frame with both a contention-free acknowledgement (CF-ACK) and a contention-free poll (CF-Poll) for combined data transmission, acknowledgement, and polling functionality. |
wlan.fc.type_subtype == 36 | Null Data | Used to maintain synchronization in the wireless network without carrying any payload. |
wlan.fc.type_subtype == 37 | CF-ACK | Contention-free acknowledgement (CF-ACK) sent to acknowledge the successful receipt of a frame during a contention-free period. |
wlan.fc.type_subtype == 38 | CF-Poll | Contention-free poll (CF-Poll) sent to request data from another station during a contention-free period. |
wlan.fc.type_subtype == 39 | CF-ACK + CF-Poll | Combination of a contention-free acknowledgement (CF-ACK) and a contention-free poll (CF-Poll) for both acknowledgement and polling during a contention-free period. |
wlan.fc.type_subtype == 40 | QoS Data | Carries data with quality of service (QoS) parameters for enhanced services and priority handling. |
wlan.fc.type_subtype == 41 | QoS Data + CF-ACK | QoS data frame with a contention-free acknowledgement (CF-ACK) for reliable delivery during a contention-free period. |
wlan.fc.type_subtype == 42 | QoS Data + CF-Poll | QoS data frame with a contention-free poll (CF-Poll) to request QoS data during a contention-free period. |
wlan.fc.type_subtype == 43 | QoS Data + CF-ACK + CF-Poll | QoS data frame with both a contention-free acknowledgement (CF-ACK) and a contention-free poll (CF-Poll) for combined QoS data transmission, acknowledgement, and polling. |
wlan.fc.type_subtype == 44 | QoS Null | Used for synchronization purposes in QoS-enabled networks without carrying any payload. |
wlan.fc.type_subtype == 46 | QoS CF-Poll | QoS contention-free poll (CF-Poll) sent to request QoS data during a contention-free period. |
wlan.fc.type_subtype == 47 | QoS CF-ACK + CF-Poll | Combination of a QoS contention-free acknowledgement (CF-ACK) and a contention-free poll (CF-Poll) for both acknowledgement and polling in a contention-free period. |
undefined
Extras
Filter Condition | Category | Description |
---|---|---|
wlan.addr == mac address | Specific Client | Filters packets sent by a specific client identified by the MAC address. |
wlan.ta == mac address | Transmitter Address | Filters packets where the transmitter address matches the specified MAC address. |
wlan.ra == mac address | Receiver Address | Filters packets where the receiver address matches the specified MAC address. |
wlan.sa == mac address | Source Address | Filters packets where the source address matches the specified MAC address. |
wlan.da == mac address | Destination Address | Filters packets where the destination address matches the specified MAC address. |
wlan.bssid == ap mac address | AP Radio Address | Filters packets sent by a specific AP radio identified by the MAC address. |
wlan.mgt.ssid == “your-ssid” | SSID | Filters packets based on the specified SSID (network name). |
wlan.fixed.action_code == 23 | 802.11v DMS Request | Filters 802.11v DMS (Directed Multicast Service) request frames. |
wlan.fixed.action_code == 24 | 802.11v DMS Response | Filters 802.11v DMS (Directed Multicast Service) response frames. |
wlan.fixed.action_code == 4 | 802.11k Neighbor Request | Filters 802.11k Neighbor Request frames. |
wlan.fixed.action_code == 5 | 802.11k Neighbor Response | Filters 802.11k Neighbor Response frames. |
(wlan.fc.type_subtype==0)&&(wlan.rsn.akms.type==3) | 802.11r Auth Request | Filters 802.11r (Fast Transition) authentication request frames. |
(wlan.fc.type_subtype==1)&&(wlan.tag.number==55) | 802.11r Auth Response | Filters 802.11r (Fast Transition) authentication response frames. |
(wlan.fc.type_subtype==2)&&(wlan.tag.number==55) | 802.11r Re-association Request | Filters 802.11r (Fast Transition) re-association request frames. |
(wlan.fc.type_subtype==3)&&(wlan.tag.number==55) | 802.11r Re-association Response | Filters 802.11r (Fast Transition) re-association response frames. |
wlan.fc.retry == 1 | Retry Frames | Filters frames that are retried (retransmitted). |
wlan.fc.retry == 1 && wlan.fc.tods == 1 | Retry Frames (To AP) | Filters frames that are retried (retransmitted) and transmitted towards the AP. |
wlan.fc.retry == 1 && wlan.fc.fromds == 1 | Retry Frames (From AP) | Filters frames that are retried (retransmitted) and transmitted from the AP towards the client device. |
wlan.fixed.action_code == 7 | BSS Transition (Steering) Request | Filters BSS Transition (Steering) request frames. |
wlan.fixed.action_code == 8 | BSS Transition (Steering) Response | Filters BSS Transition (Steering) response frames. |
undefined
Display Filter Macros
Display Filter Macros are a mechanism to create shortcuts for complex filters. For example, defining a display filter macro named tcp_conv whose text is
1
(wlan.addr == $1 && wlan.addr == $2) || (wlan.addr == $2 && wlan.addr == $1 && wlan.type.eq(0) && wlan.fc.type_subtype == 0x1D)
Packet Colorization
To add, goto View → Coloring Rules → Import
Click here to download