Skip to content

Channel Switch Announcements

An access point that has to change its channel tells its clients first. It adds a channel switch announcement (CSA) to its beacons and probe responses, or sends one in an action frame. The announcement names the new channel and a countdown, and can ask the clients to stop transmitting until the switch. When the countdown ends, the access point and its clients move to the new channel together. Access points do this when they detect radar on a DFS channel, when their automatic channel selection picks a better channel, or when an administrator changes the configuration.

Clients follow an announcement that carries the address of their access point. Beacons and probe responses are not protected by Protected Management Frames (PMF, 802.11w), so anyone within range can forge one. A forged announcement does what a deauthentication frame did before PMF:

  • It disconnects clients. The announcement names a channel the access point is not on, the clients move there, hear nothing and have to reconnect.
  • It forces a new handshake, which an attacker can capture.
  • It moves clients to a second transmitter with the same BSSID that waits on the announced channel. From that position an attacker can relay, delay and drop the frames between the clients and the real access point.

You can find all recorded announcements on the Channel Switches page under WiFi in the sidebar of your Nzyme web interface. The page has four tabs:

Tab Shows
Announcements All recorded announcements, with charts and rankings.
Anomalies The announcements that do not look like their access point sent them, or that it did not follow. See Anomalies.
Signal A comparison of the signal strength of the announcing frames with the beacons of their access point. See Signal Strength Investigation.
Settings The settings of the alerts and of the signal strength comparison. See Settings.

The announcements of an access point also appear on its details page, and Nzyme alerts you when an announcement does not look like the access point sent it.

How Nzyme Records Channel Switch Announcements

The taps read the announcement from every beacon, probe response and action frame they capture. Frames that share the BSSID, the frame type, the switch mode, the channel and the announced channel within one report interval of the tap, which is ten seconds, are combined into one record with a frame count. A record also holds the signal strength of every one of its frames, by the channel the tap was tuned to when it captured them.

A tap keeps at most 500 distinct combinations per report interval, and at most 16 for one BSSID. When the table is full, an announcement for a BSSID that the tap has seen beaconing for longer replaces one for a BSSID it has known for a shorter time, so that made-up BSSIDs do not push out the access points around the tap. A BSSID that reaches its own limit keeps its combinations with the most frames. Frames that are dropped are counted in the tap metric tables.dot11.channel_switches.dropped, which you can find on the metrics tab of the tap details page next to tables.dot11.channel_switches.size. A value above zero means that someone is sending announcements for many BSSIDs or with many different contents, which is worth a look by itself.

Every tap reports the frames it captured, so an announcement within range of two taps is recorded once per tap and counted twice in the charts and rankings. Use the tap selector to narrow the view to one tap, and use the tap column of the table to tell the reports apart.

Frame Types

Frame type Description
Beacon The access point repeats the announcement in every beacon until the switch, usually ten times per second.
Probe Response The same announcement in the answer to a client that is scanning.
Action A frame that only carries the announcement, sent to all clients or to a single one.

Action frames that are sent to a single client of a PMF network are encrypted. Nzyme cannot read them and does not record them.

Channels

Every record has two channels:

  • Channel is the channel the frame says it was sent on. A tap also records frames that were sent on another channel than the one it was tuned to, see Channel Hopping, so Nzyme takes the channel from the frame. A frame that names no channel, several different channels or a channel of another band is recorded with the channel the tap was tuned to. Action frames never name their channel. For them, Nzyme uses the channel that the beacons of the same BSSID named last, and the channel the tap was tuned to if it has not seen a beacon.
  • Announced Channel is the channel the frame announces. It is shown with its frequency. A channel that does not exist in the band of the access point has none.

The Countdown column shows the count the frames carried, which is the number of beacons until the switch. A range like 9 to 3 means the tap recorded the countdown from 9 down to 3. The switch mode is not shown in the table but can be filtered on. Mode 0 puts no restriction on the clients, any other value asks them to stop transmitting until the switch.

Anomalies

Nzyme compares every announcement with what an access point does when it announces a switch and marks what does not fit:

Anomaly Meaning Frames
Invalid Channel The access point cannot operate on the announced channel. The channel does not exist in its band, or it is channel 14 for an access point that is not an 802.11b access point in Japan. All
Repeated Timestamp Eight or more beacons in a row carried the same timestamp. An access point stamps every beacon with the time it is sent, a replayed beacon keeps the timestamp it was captured with. Beacons
Timestamp Mismatch Three or more beacons carried a timestamp that is more than five seconds off the clock of the beacons without the announcement. Beacons
Interleaved Beacons Three or more beacons without the announcement arrived between frames with it. An access point that announces a switch does so in every beacon. All
Signal Strength Mismatch At least half of the frames of the announcement a tap recorded on a channel arrived far outside the signal strength range of the beacons of the access point. All
Static Count Eight or more beacons carried the same countdown. An access point counts down. Beacons
Trailing Element The announcement was appended as the last element of the beacon, which is where a tool puts it and not where an access point does. Beacons

Static Count and Trailing Element also occur with unusual but genuine access points. They are shown to support the other anomalies and do not raise an alert on their own.

Signal Strength Mismatch

A forged announcement arrives with the signal strength of the attacker. Nzyme compares every frame of an announcement with the beacons and probe responses of the same BSSID that carried no announcement, as the same tap recorded them while it was tuned to the same channel, in the minute the announcement was reported in and the five minutes before. A frame is outside the range when it is 20 dB or more stronger than the strongest of them, or 20 dB or more weaker than the weakest. The anomaly is added when at least half of the frames the tap recorded of the announcement on a channel are outside the range. A tap can record the same access point at signal strengths that lie 20 dB apart, and single frames far below all others, which is why frames are compared with the range and a single frame is not judged. The threshold can be changed in the settings.

Frames that carry an announcement are left out of what they are compared with. A forged announcement in a beacon would otherwise count as a beacon of the access point and move the comparison towards itself.

All other anomalies are known as soon as an announcement is recorded. This one is added when the minute the announcement was reported in is over, which is one to two minutes later. An announcement is not compared when the tap recorded fewer than ten beacons without an announcement to compare it with, or when it recorded its frames without a signal strength. The Signal tab shows the comparison for any BSSID and time range, see Signal Strength Investigation.

Outcome

About six minutes after an announcement, Nzyme checks what the BSSID did. It looks at the beacons the same tap recorded for the BSSID in the five minutes after the announcement, from the end of the countdown on, and at the channel these beacons named as their own:

Outcome Meaning
Switched The BSSID was on the new channel afterwards and no longer on its previous one.
Stayed The BSSID was still on its channel in the second half of the five minutes, or it was never seen on the new one. The announcement was not followed.
Both Channels The BSSID was on both channels at the same time, in the first and in the second half of the five minutes. A second transmitter is using the BSSID.
Unknown The tap did not record enough beacons of the BSSID afterwards, or the announcement names no channel that can be compared.
Pending The announcement has not been checked yet.

A few beacons on the new channel do not make an announcement Switched while the access point is still on its channel. An access point that switched late was on both channels one after the other and has the outcome Switched. An access point that switched and returned within the five minutes has the outcome Stayed.

What Nzyme Reports

The Channel Switches page shows:

  • Announcement Frames: the number of frames that announced a channel switch over time, and how many of them belong to announcements with anomalies.
  • Top BSSIDs: the BSSIDs with the most announcing frames.
  • Announced Channels: the channels that were announced.
  • Announcements: all records, with time, BSSID, frame type, channel, announced channel, countdown, frame count, peak rate, signal strength, anomalies, outcome and tap.

All charts, rankings and the table follow the selected time range, the selected taps and the filters. The small filter icons next to values add that value to the filters, and every BSSID links to the details page of the access point. The pivot icon next to the signal strength of an announcement opens the Signal Strength Investigation for its BSSID.

The Peak Rate is the highest number of frames of a record that the tap captured within one second. A genuine announcement in beacons arrives at the beacon rate of the access point, which is about ten per second. Tools that forge announcements usually send them much faster.

Anomalies Tab

The Anomalies tab lists the announcements that have at least one anomaly, or whose outcome is Stayed or Both Channels. It shows:

  • New Anomalies: the number of these announcements over time.
  • Anomalies by Type: the number of announcements per anomaly and per such outcome. An announcement with several anomalies counts for each of them. The outcome Stayed is listed as Announcement Not Followed and Both Channels as BSSID on Both Channels.
  • Anomalies: the announcements, with their anomalies, the access point, a summary of what was observed, the tap and the time.

All of them follow the selected time range, the selected taps and the filters, which are the filters of the Announcements tab.

Anomaly Details

Click an anomaly to open its details page. The pivot icons next to the anomalies and the outcome of an announcement in any announcements table open it as well.

  • What Happened: what the tap recorded, in a sentence, and what it means, for every anomaly of the announcement.
  • Possible False Positives: the harmless explanations of each anomaly.
  • Details: the access point and its monitored network, the tap, the time, the number of frames, the frame type, the channel and the announced channel, the countdown, the peak rate, the signal strength and the outcome.
  • Signal Strength: the signal strength of the announcing frames next to the beacons of the access point. The chart is the one of the Signal Strength Investigation, limited to the tap and time of the announcement.
  • Announcements: the announcements the tap recorded for the access point, from one minute before to one minute after the anomaly.

Working With Channel Switch Announcements

You can filter on the BSSID, the frame type, the channel as a frequency, the announced channel as a number or as a frequency, the switch mode, the countdown, the frame count, the peak rate, the signal strength, the anomalies and the outcome.

Questions these views help answer:

  • Is someone forging announcements for my network? Filter on Has Anomalies being true and on the BSSIDs of your access points. A genuine announcement has no anomalies and the outcome Switched.
  • Did my access point really change its channel? The outcome. Switched announcements with a countdown that runs down are what a DFS event or an automatic channel change looks like.
  • Were clients moved away without the access point following? Filter on Outcome being Stayed or Both Channels. Check on the details page of the access point which clients were connected before and after.
  • Where does a forged announcement come from? The Signal tab compares the signal strength of the announcing frames with the beacons of the same BSSID, per tap. A forged frame arrives with the signal strength of the attacker, and the tap that recorded it the strongest is the closest to it.
  • Which channel were clients sent to? The Announced Channels ranking and the Announced Channel column. An invalid channel only disconnects clients. A valid channel may have a second transmitter waiting on it, which the BSSID on Multiple Channels check of a monitored network looks for.

The filters can be saved as a WiFi monitor of type 802.11/WiFi Channel Switch Announcement, which raises an alert when the number of matching records in a lookback window crosses a threshold. The alerts for anomalies need no filter configuration.

Deleting Anomalies

Users with permission to manage WiFi monitoring can delete anomalies, for example false positives:

  • The Delete Anomaly button on the details page of an anomaly deletes that anomaly.
  • The checkboxes of the table on the Anomalies tab select rows. Delete selected in the Actions menu deletes them.
  • Delete all matching in the Actions menu deletes every anomaly of the selected taps that matches the filters and the time range, on all pages of the table.

An anomaly is an announcement, so deleting an anomaly deletes its announcement, and it no longer appears on the Announcements tab either. Alerts it raised stay. The frames of a deleted announcement count as beacons of their access point again when Nzyme compares signal strengths, see Signal Strength Mismatch.

Settings

The Settings tab is available to users with permission to manage WiFi monitoring.

General

Configuration Default Description
Only alert for monitored networks On Turn this off to also raise alerts for access points that are in no monitored network.
Signal strength mismatch: Minimum distance from the range of the beacons of the access point (dB) 20 The threshold of the Signal Strength Mismatch anomaly and of the Signal tab. Can be set from 5 to 80.

The threshold applies to announcements that are judged after the change. Announcements that were judged before keep their anomalies.

Networks That Are Not Monitored

These settings apply to access points that are in no monitored network. They only matter when Only alert for monitored networks is turned off. A monitored network has its own detection methods and rate threshold.

Configuration Default Description
Invalid channel On Alerts on the Invalid Channel anomaly.
Repeated timestamp On Alerts on the Repeated Timestamp anomaly.
Timestamp mismatch On Alerts on the Timestamp Mismatch anomaly.
Interleaved beacons On Alerts on the Interleaved Beacons anomaly.
Signal strength mismatch On Alerts on the Signal Strength Mismatch anomaly.
Rate threshold On Alerts when beacons announce a switch at the rate below or faster.
Rate threshold: Minimum announcing beacons per second 50 Can be set from 10 to 1,000.
Not followed On Alerts when the outcome of an announcement is Stayed or Both Channels.

Alerts

Announcements are recorded and checked for anomalies for all networks. Who is alerted about them depends on the network:

  • Monitored networks have a channel switch monitor that is enabled by default, with detection methods and a rate threshold of their own. See Channel Switch Announcement Anomalies.
  • Access points that are in no monitored network raise an alert when Only alert for monitored networks is turned off. The alert is raised once per BSSID and location and names the networks the access point advertised. Its details page lists the announcements it is based on, and its quick action opens the Settings tab.

Anyone within range can send announcements for BSSIDs that do not exist. Nzyme therefore raises alerts for at most 25 access points that are in no monitored network per minute, those with the largest announcements first. Alerts for monitored networks are not limited.

Access points of a monitored network that is disabled, or that has its channel switch monitor turned off, do not raise alerts in either way.

Channel Hopping

A tap that hops channels is tuned to each channel for one second per cycle. It records an announcement only while it is on the channel of the access point, or close to it. The table shows how likely an adapter is to record an announcement, depending on how long its hop cycle is:

Announcements are sent for 7 second cycle 14 second cycle 28 second cycle 3 minute cycle
1 second 29% 14% 7% 1%
10 seconds 100% 79% 39% 6%
Longer than the cycle 100% 100% 100% 100%
  • The countdown of a genuine switch lasts about a second, so a hopping tap records only some of the real channel switches around it. A short forged burst is missed just as often. An attack that keeps announcing is recorded as soon as the tap returns to the channel.
  • A tap that leaves the channel during a countdown records only part of it. The frame count, the countdown range and the peak rate describe what the tap captured within its second on the channel, not everything that was sent. All anomalies except Invalid Channel need several frames within that second, so a slow forgery of less than about three frames per second does not show them.
  • Signal Strength Mismatch needs ten beacons of the BSSID without an announcement from the six minutes up to the announcement, recorded on the same channel. An adapter with a long hop cycle often has fewer, and the announcement is not compared.
  • The outcome needs five beacons of the BSSID from the five minutes after the announcement. An adapter with a hop cycle of more than about four minutes often has none, and the outcome is Unknown. Both Channels needs a visit to both channels in each half of that time, which an adapter with a cycle of more than about two minutes cannot guarantee.

Assign the channels of the networks you care about to a WiFi adapter of their own, or to an adapter with a short list of channels, to record their announcements reliably. An adapter that does not hop records every announcement on its channel.

Networks That Protect Their Beacons

Two newer mechanisms stop forged announcements, and Nzyme shows both with the security suites on the details page of a network:

  • Beacon Protection lets clients verify that a beacon was sent by their access point.
  • Operating Channel Validation (OCV) lets clients and access point verify after a switch that they are on the channel they agreed on.

Both are optional and not widely deployed. Attack tools still send forged announcements at such networks, and Nzyme still records them.

Retention

Channel switch announcements follow the retention time of the 802.11 / WiFi data category. See Configuring Retention Times for how to change retention times.