Now we will learn how to apply filters in Wireshark to look at Management, Control and Data Frames.
Please follow the below instructions step by step:
wlan.fc.type == 0
into the filter window and click Apply
. You can stop the packet capture if you want to prevent the packets from scrolling down too fast.wlan.fc.subtype filter
. For example, to view all the Beacon frames among all Management frames, use the following filter:(wlan.fc.type == 0) && (wlan.fc.subtype == 8).
Filter
field.We just learned how to filter packets in Wireshark using various filter expressions. This helps us monitor selected packets from devices we are interested in, instead of trying to analyze all the packets in the air.
Also, we can see that the packet headers of Management, Control and Data frames are in plain text and are not encrypted. Anyone who can sniff the packets can read these headers. It is also important to note that it is also possible for a hacker to modify any of these packets and re-transmit them. As there is no integrity or replay attack mitigation in the protocol, this is very easy to do. We will look at some of these attacks in later chapters.
You can consult Wireshark's manual to know more about available filter expressions and how to use them. Try playing around with various filter combinations till you are confident that you can drill down to any level of detail, even in a very large packet trace.
In the next exercise, we will look at how to sniff data packets transferred between our access point and wireless client.