Which 802.11 frame should be used to identify clients of an Access Point [scapy]

0

Which 802.11 frame should I use in order to identify if a specific MAC address is associated with an Access Point. Beacon frames as named could be used to identify the Access Points, but how to identify Clients?
I am trying to achieve something like airodump-ng.

enter image description here

Shiri

Posted 2018-03-01T13:05:02.347

Reputation: 35

Answers

2

APs can’t send Data frames (including QoS-Data and all other Data frame variants) to clients that are not associated. So any FromDS Data frame to a particular unicast MAC address is a sign that that AP considers that client to be associated.

Please note that on typical networks, not all associated clients are really “on the network” and able to send/receive real traffic. That’s because clients associate before doing WPA2 authentication, and the WPA2 authentication is done via Data frames (specifically EAPOL-Key frames at the Ethernet layer). Clients can’t send/receive anything other than EAPOL-Key frames (again, these are Data frames at the 802.11 layer) until the WPA2 handshake completes successfully. Clients that fail authentication get immediately Disassociated (and 802.11-layer Deauthenticated).

So you might want to exclude EAPOL-Key frames if you are really looking for clients that are fully members in good standing on the network.

Spiff

Posted 2018-03-01T13:05:02.347

Reputation: 84 656

Thanks, well can i take that that a client first sends a data frame? – Shiri – 2018-03-02T09:07:24.727