operating channel validation
termKept in this browser · My desk
Stands for: OCV
A Wi-Fi defence, part of WPA3 since the December 2020 update, in which client and access point confirm inside protected handshake messages which channel (operating class, primary channel, bandwidth) they are using, so that a relay between two channels is detected.
It answers the multi-channel man in the middle that Mathy Vanhoef and Frank Piessens showed in 2014: a twin that copies the real AP onto another channel and relays frames between the two. Such a relay cannot decrypt traffic but can delay, block or modify it, the position the KRACK attacks of 2017 needed. Vanhoef and colleagues from Broadcom and Intel proposed OCV in 2018; the Wi-Fi Alliance added it to WPA3 saying the lack of authenticated channel information 'was exploited in KRACK attacks'.
The attack it answers. In 2014 Vanhoef and Piessens showed at ACSAC that cheap Wi-Fi dongles with modified Atheros firmware could carry out low-layer attacks, the fifth being 'a novel channel-based Man-in-the-Middle (MitM) attack'. The 2018 OCV paper describes it: the adversary 'acts as a legitimate AP by copying all frames sent by a real AP to a different channel' and 'as a legitimate client by copying all frames sent by the client to the channel of the real AP', and 'When copying frames between both channels, the adversary can reliably manipulate (encrypted) traffic'. It calls the technique 'very effective, stealthy, reliable' and, to the authors' knowledge, 'the only method usable under all practical circumstances' to get a MitM position in a protected network; most key reinstallation attacks (KRACK, CCS 2017) required it. The paper also found a way to herd clients onto the rogue channel: forged Channel Switch Announcements in beacons and probe responses, which are unprotected management frames, so 'even when MFP is used, an adversary can forge CSA elements'.
How it works. The proposal, by Mathy Vanhoef (KU Leuven), Nehru Bhandaru and Thomas Derham (Broadcom), Ido Ouzieli (Intel) and Frank Piessens (WiSec 2018), first encodes the channel unambiguously as Operating Channel Information (OCI): a global operating class (from IEEE 802.11's table of operating classes, which also fixes the bandwidth, 20, 40, 80 or 160 MHz) plus the number of the primary 20 MHz channel, with an extra segment for 80+80 MHz. Each side then includes its OCI in messages already protected by the session keys, and the receiver checks it against the channel it actually received on; a relay that moved the frames to another channel produces a mismatch and the handshake is aborted. The Wi-Fi Alliance describes the AP aborting the confirmation when the OCI 'does not match the channel on which it is received', the station performing the same check, and OCI being confirmed also in Fast Basic Service Set Transition and FILS authentication, 'and also whenever a channel switch occurs'; the paper secures channel switches through an extended SA Query exchange.
Standards and status. The Wi-Fi Alliance made OCV part of WPA3 in its December 2020 update, describing OCI as 'the frequencies, bandwidth, and power limits' and saying 'Lack of OCI authentication was exploited in KRACK attacks to enable the attacker to obtain a multi-channel MITM position'. It sits beside Beacon Protection, which authenticates beacons for associated clients, and Protected Management Frames, which WPA3 already required.
What it does not do. OCV protects connections to protected networks against relays; it does not stop an evil twin that terminates the connection itself (an open network, a known password, a client that accepts any certificate), and clients or APs that do not implement it fall back to the old behaviour. Its value is also preventive: by denying the MitM position it hardens implementations against weaknesses not yet found.
What the MitM position buys, per the paper. Beyond enabling key reinstallation, the 2018 paper lists attacks a multi-channel MitM makes possible against protected networks: suppressing the SA Query exchange that Protected Management Frames use to check an association, so that 'subsequent unprotected (re)association frames will be accepted' and reset the connection; manipulating the capabilities advertised in the beacons and probe responses it copies; and, the authors conjecture, leaking a small amount of encrypted data. It also explains why the rogue AP must sit on another channel: with a different MAC address the handshake fails, because the session key depends on both MAC addresses, and with the same MAC address on the same channel the client and AP would simply talk to each other directly. OCV removes the precondition for all of these at once, which is why the authors present it as hardening against weaknesses not yet discovered.
Neighbours. KRACK and the four-way handshake, evil twins and rogue APs, Protected Management Frames, Beacon Protection, channel switch announcements, and WPA3.
Also known as: ocv, multi-channel man-in-the-middle, channel-based mitm, operating channel information
Sources
- Mathy Vanhoef, Nehru Bhandaru, Thomas Derham, Ido Ouzieli and Frank Piessens, Operating Channel Validation, ACM WiSec 2018: multi-channel MitM; forged Channel Switch Announcements in beacons and probe responses even with MFP; OCI encoded as global operating class plus primary channel; verified in handshakes and SA Query (read 2026-11-23)
- Mathy Vanhoef and Frank Piessens, Advanced Wi-Fi Attacks Using Commodity Hardware, ACSAC 2014: five low-layer attacks with modified Atheros firmware, the fifth a novel channel-based man-in-the-middle (read 2026-11-23)
- Mathy Vanhoef and Frank Piessens, Key Reinstallation Attacks, ACM CCS 2017: the four-way handshake (2.3); most key reinstallation attacks require a MitM position (read 2026-11-23)
- Thomas Derham, Wi-Fi Alliance, The Beacon, WPA3 December 2020 update: Operating Channel Validation and Beacon Protection: December 2019 server certificate validation requirements for WPA3-Enterprise; OCI unauthenticated and exploited in KRACK; OCV in the 4-way handshake, FT, FILS and channel switches; Beacon Integrity Key and MIC over all but the timestamp (read 2026-11-23)