Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to capture a beacon frame from WLAN in windows?

I am using native Wifi api on Windows to programmatically do a few tasks with WLANs. However, my problem is it exposes limited set of functions. I would like to access certain fields of a beacon frame that provides Access Point load, airtime and so on. Which are the tools that can be used to do this?

Thanks in advance!

like image 530
user592748 Avatar asked Apr 30 '12 09:04

user592748


People also ask

Which device on the wireless LAN sends out the beacon frame?

The access point sends a beacon frame as a broadcast to announce its presence to any wireless clients. It relays information about the parameters that must be set on the client side in order to connect to it.

What is beacon in WLAN?

Beacon frame is one of the management frames in IEEE 802.11 based WLANs. It contains all the information about the network. Beacon frames are transmitted periodically, they serve to announce the presence of a wireless LAN and to synchronise the members of the service set.


2 Answers

I would take a look at winpcap. It is able to capture 802.11 frames. However, it is probable in windows that the chipset driver does not allow setting the WLAN to monitor mode. If this is the case then winpcap might not be able to get the necessary information about beacon frames.

There is also a commercial offering, airpcap, which seems to come bundled with drivers and hardware that allows to do full-scale wifi monitoring in windows.

like image 99
jhonkola Avatar answered Sep 24 '22 19:09

jhonkola


There is one way to capture WiFi packets under Windows with Wireshark. You have to install Acrylic WiFi software

Acrylic WiFi is a WiFi sniffer for windows that installs an NDIS driver that captures wlan packets in monitor mode and also adds support to wireshark and Cain & Abel to capture WiFi packets.

Once Acrylic is installed you have to start Acrylic, wireshark or Cain as Administrator and select your NDIS WiFi interface.

like image 45
andres Avatar answered Sep 24 '22 19:09

andres