When auditing a WLAN, how do you tell from an access point's beacon which security generation an SSID offers: WEP, WPA, WPA2 or WPA3?
answer
- one bit and two elements
- element 48 versus a vendor element
- the group cipher and the AKM list
- offered is not negotiated
basics
~20 sRead the Privacy bit, then look for an RSN element and a WPA vendor element. Inside the RSN element, the group cipher, pairwise ciphers, AKM suites and the PMF-required bit separate WPA2 from WPA3 and expose leftover TKIP.
solid answer
~30 sThe Privacy bit says encryption is on; with no RSN or WPA element that means static WEP. A vendor-specific WPA element (OUI `00-50-F2`, type 1) means first-generation WPA is still offered, and with an RSN element beside it, mixed mode with a TKIP group cipher. Inside the RSN element (ID 48), AKM `00-0F-AC:2` is WPA2-Personal, `:8` with PMF required is WPA3-Personal, `:12` with `GCMP-256` is the 192-bit Enterprise mode, and `:18` is Wi-Fi Enhanced Open. WPA3 has no element of its own. The beacon shows what is offered; each client's association request shows the one cipher and AKM it chose.
go deeper
Remember that a beacon advertises security: an RSN element for WPA2 and WPA3, an older WPA element for the first generation, and nothing but the Privacy bit for WEP.
Read the RSN element's group cipher, pairwise list and AKM list, and map AKM values to WPA2-Personal, WPA3-Personal, the 192-bit mode and Enhanced Open.
Combine the beacon with the station table: prove the SSID offers nothing retired, then count the clients that still negotiate TKIP or the WPA element.
Turn beacon evidence into an audit standard: which values are allowed per SSID, which are findings, and how often the estate is checked against it.
## What a beacon advertises Every access point announces each SSID's security in its **beacons** and **probe responses**. An auditor who needs evidence of which generation an SSID runs can read it from three places in that frame, without associating: - the **Privacy** bit in the **Capability Information** field, set when any encryption is in use; - the **RSN element** (element ID 48), present on every RSN network: WPA2, WPA3 and Wi-Fi Enhanced Open; - the **WPA element**, a vendor-specific element (ID 221) carrying OUI `00-50-F2` and type 1, present only where the first WPA generation is still offered. Inside the RSN element sit the parts that identify the generation: 1. the **group cipher suite**, one value, used for broadcast and multicast; 2. the **pairwise cipher suite list**, the ciphers a client may choose for its unicast traffic; 3. the **AKM suite list**, the authentication and key management methods a client may choose; 4. the **RSN Capabilities** field, whose management frame protection bits say whether PMF is capable or required (what PMF then does is covered with transition mode and PMF). Suites are written as an OUI and a type. In the IEEE OUI `00-0F-AC`, the cipher suites include `1` WEP-40, `2` TKIP, `4` CCMP, `5` WEP-104 and `9` GCMP-256; the AKM suites include `1` 802.1X, `2` PSK, `6` PSK-SHA256, `8` SAE, `12` 802.1X with the 192-bit suite and `18` OWE. ## Mapping what you see to a generation | What the beacon shows | Generation | |---|---| | Privacy bit clear, no RSN or WPA element | Open network | | Privacy bit set, no RSN or WPA element | Static WEP (retired) | | WPA element only, TKIP | First-generation WPA (retired) | | WPA element and RSN element, group cipher TKIP | WPA/WPA2 mixed mode (retired) | | RSN element, AKM `2` or `6`, CCMP | WPA2-Personal | | RSN element, AKM `1` or `5`, PMF not required | WPA2-Enterprise | | RSN element, AKM `8` only, PMF required | WPA3-Personal | | RSN element, AKM `12`, GCMP-256 | WPA3-Enterprise 192-bit mode | | RSN element, AKM `18` | Wi-Fi Enhanced Open | Two rows deserve care. **WPA3 does not have its own element**: it is an RSN network distinguished by its AKM and by PMF being required. hostapd, the open-source reference implementation, configures WPA3 with the same `wpa=2` (RSN) bit as WPA2. And **WPA3-Enterprise** outside the 192-bit mode uses the same 802.1X AKMs as WPA2-Enterprise; the difference is that PMF is required. An RSN element listing both PSK and SAE is a network offering WPA2 and WPA3 side by side on one name, which is its own subject. ## What the beacon cannot tell you The beacon lists what is **offered**. What each client **negotiated** appears in its association request, whose RSN element carries exactly one pairwise cipher and one AKM chosen from the beacon's lists, and in the access point's station table. An audit therefore needs both: - the beacon, to show the SSID offers nothing retired, such as a WPA element, TKIP anywhere, or WEP; - the per-station view, to show which clients actually use what, for example how many stations still negotiate TKIP. ## Common audit findings - **TKIP in the RSN pairwise list** of an SSID that has no WPA element. The SSID looks like WPA2-only, but TKIP is still offered and, in hostapd's automatic selection, becomes the group cipher. The fix is `rsn_pairwise=CCMP`. - **A WPA element left enabled** after the devices that needed it were retired: mixed mode by accident. - **WPA3 claimed, PMF only capable**: the AKM says SAE, but the RSN Capabilities do not require PMF, so the configuration does not match what WPA3 networks require. ## Auditing every band One SSID name is usually served by a separate BSS on each band, each with its own beacon. Read all of them: the 2.4 and 5 GHz BSSs may still offer WPA2-Personal, while the 6 GHz BSS of the same name must show SAE (or another RSN method allowed there), PMF required and no TKIP, the rules hostapd enforces before it will start a 6 GHz BSS. A finding on one band is not cleared by a clean beacon on another. Reading these fields is a useful cross-check on a configuration export, because the beacon is what clients actually see.
- Where do you see what a particular client actually negotiated?In its association request, whose RSN element (or WPA element, for a first-generation WPA client) carries exactly one pairwise cipher and one AKM chosen from the beacon's lists, and in the access point's station table. That per-station view is how an audit counts the clients still on TKIP, which the beacon alone cannot show.
- An SSID has no WPA element but its RSN element lists TKIP and CCMP as pairwise ciphers. Is it WPA2-only?It is RSN-only, but it is not clean. TKIP is still offered, so a client may negotiate it and lose HT rates, and hostapd's automatic selection makes TKIP the group cipher for everyone. The finding is to set `rsn_pairwise=CCMP`, after which the group cipher becomes CCMP.
- The Privacy bit alone proves the network uses WPA2.
- WPA3 networks advertise a new element in place of the RSN element.
- The beacon shows which cipher each client actually negotiated.
- No WPA element means TKIP cannot be in use on the SSID.
Assumes Wi-Fi Alliance programme definitions as of Wi-Fi 7 (2024), with suite selectors as listed in Linux 7.2 and hostapd 2.12; WPA3 is identified by AKM and required PMF, not by a new element.