How Wifi Analyzers Work
How Do "Wifi Analyzers" Work?
Simple, they extract the info from Beacon frames. Beacons contain all the information about an SSID, the capabilities of the network devices and other information that helps clients connect, roam and gather info about its environment. Beacons are sent out roughly every 100 milliseconds (102.4 to be exact) and are not encrypted so everyone on the channel can decipher them. Most free analyzers will passively scan for beacons across all channels and extract the info into an easy to read GUI. See my notes from Chapter 9: MAC of the CWNA study guide which details some info about Passive and Active Scanning.
Here a couple of screenshots the show the difference between the packet capture and GUI presentation.
Wireshark View
Wifiman (for Android) View
WinFi (for Windows) View
While the packet capture shows us all the details, the GUIs usually breakout the most important stuff like SSID, RSSI, Channel, etc. As a side note the last screen shot shows why I despise consumer grade gear, a few weeks ago my neighbors were more even distributed across the spectrum.
We'll look at a capture and compare it to the image above to see where some of these details come from.
The SSID, basic supported rates and channel can be seen here. Notice how G3Net is advertising the lowest rate I have set for the SSID instead of the lowest capable. This lets the client know when it will need to disconnect or ideally roam to another AP or different band if it becomes unable to transmit at the minimum required rate.
Ever wonder how these gauge channel utilization? That info is part of the .11e amendment and is distributed from the network. We can see the current channel has almost no utilization currently. The next screen shot is from channel 11 which has much high utilization. You can also see the currently connected station count.
If you noticed the amendments column from Winfi, it gathers that info from various information elements found in the frame. Amendments r and k are almost required to assist devices with low latency applications (think voice) to roam effectively without interruption. Both of these can be deciphered when these elements are present.
Mobility Domain refers to .11r which has improvements for fast roaming
RM (Radio Measurement) Capabilities will be present when .11k is supported
Theres a lot more info sent with each beacon but most of it (including whats already been said here) could have its own in depth post. I will end by noting that I did not go over RSSI, SNR and MAC addresses as those are not exclusive to beacon frames. RSSI is found in the PHY header, SNR is computed with data from the PHY header and local environment and MAC addresses can be found in every frame.
Im working on making these shorter and more concise. Once the new CWAP-404 book arrives Ill try to make some short posts on the interesting bits of wireless frames.
Comments
Post a Comment
Leave a comment...