How to capture a beacon frame from a WLAN in Windows?

I use my own Wifi api for Windows to programmatically perform several tasks with WLAN. However, my problem is that it provides a limited set of functions. I would like to access certain fields of the beacon frame, which provides the load on the access point, airtime and so on. What tools can be used for this?

Thanks in advance!

+6
source share
3 answers

I would look at winpcap . It is capable of capturing 802.11 frames. However, it is likely that in Windows the chipset driver does not allow you to configure the WLAN mode for monitoring. If so, then winpcap may not be able to obtain the necessary information about the frames of the beacon.

There is also a commercial offer for airpcap , which seems to come bundled with drivers and hardware, allowing full-scale Wi-Fi monitoring in windows.

+4
source

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

Acrylic WiFi is a WiFi sniffer for Windows that installs the NDIS driver, which captures WLAN packets in monitoring mode, and also adds wirehark and Cain and Abel support for capturing WiFi packets.

Once acrylic is installed, you must run Acrylic, wirehark or Cain as an administrator and select your NDIS WiFi interface.

+2
source

In Windows Vista or later, you can use Npcap, which "supports raw 802.11 traffic." Npcap is an update to WinPcap using the lightweight NDIS 6 filter (LWF).

https://wiki.wireshark.org/CaptureSetup/WLAN#Starting_from_Windows_Vista:_Npcap

+1
source

Source: https://habr.com/ru/post/914505/


All Articles