Skip to content

Signal Strength Investigation

A forged WiFi frame copies the address of the station it claims to come from. It cannot copy where that station is. Everything a station sends arrives at a tap with a signal strength that depends on the distance and on what is in between, and a frame that was sent from somewhere else arrives stronger or weaker than the frames of the real station around the same time.

The Signal Strength Investigation compares the signal strength of the frames sent in the name of an address with the signal strength of what that address sent otherwise, and says how many of the frames do not fit. It exists for two kinds of frames:

Frames Where
Disconnection frames The Signal tab of the Disconnections page under WiFi.
Channel switch announcements The Signal tab of the Channel Switches page under WiFi.

Both tabs work the same way. The Signal Strength Mismatch detections for disconnection frames and for channel switch announcements use the same comparison and the same threshold as the tab they belong to.

How Nzyme Compares Signal Strength

A tap records a station at another signal strength on every channel it is tuned to. It also decodes frames of neighboring channels, at a much lower strength. Frames are therefore only compared with what the same tap recorded while it was tuned to the same channel, and all results are kept apart by tap and channel.

What a frame is compared with depends on who it claims to come from:

Transmitter Compared with
Access point The beacons and probe responses of the access point in the minute the frame was reported in and the five minutes before. At least ten of them are needed.
Client The data frames, probe requests and connection frames the client sent, in the minute nearest to the frame and at most 15 minutes away from it.

An access point sends beacons all the time, so there is almost always something to compare its frames with. A client only sends when it has something to send, which is why the frames of a client are compared with the nearest frames it sent before or after.

Beacons and probe responses that announce a channel switch are not part of what an access point is compared with. They are what a channel switch investigation looks at, and anyone can send them in the name of the access point.

A tap does not record a station at one signal strength. It can record the same station at signal strengths that lie 20 dB apart, and single frames of a burst far below all others. Frames are therefore compared with the range of what they are compared with, from the weakest to the strongest frame, and not with the average.

A frame is outside the range when it is stronger than the strongest frame it is compared with, or weaker than the weakest, by the threshold of the Signal Strength Mismatch detection or more, which is 20 dB unless you changed it. The threshold of the disconnection frames is on the Settings tab of the Disconnections page, the threshold of the announcements on the Settings tab of the Channel Switches page.

Frames are judged by record. A record is what a tap recorded on one channel within ten seconds: the disconnection frames of one type and reason code between two stations, or the frames of one announcement. The frames of a record that are outside the range are mismatches when they are at least half of the frames of the record. A single frame outside the range, among frames that fit, is not a mismatch.

Frames That Cannot Be Compared

Some frames have nothing to be compared with:

  • The tap recorded too few beacons of the access point on the channel. A tap that hops channels is on a channel only part of the time, and an adapter with a long list of channels often records fewer than ten beacons of an access point in six minutes.
  • The frame was recorded while the tap was tuned to a neighboring channel, where it never records the access point otherwise.
  • The access point hides its network name and its beacons were recorded before taps reported the signal strength of beacons without a name.
  • The client sent nothing else within 15 minutes, or the address is made up and no client ever used it.

Frames that cannot be compared are counted and shown as such. They are neither a mismatch nor cleared. Frames that a tap recorded without a signal strength are not part of an investigation.

Starting an Investigation

The tab asks for an address first. Enter the MAC address of an access point or a client, or the BSSID of an access point on the Channel Switches page, and click Investigate.

The table below the address field lists the addresses with the most frames in the selected time range, with the number of their frames, the number of frames these can be compared with and the time of the last one. Use it when you do not have an address yet.

Most investigations start somewhere else. The pivot icons next to transmitters in the frames table, the Top Transmitters and Top Pairs rankings, the anomalies table, the anomaly and alert details pages and the signal strength column of the announcements table open the investigation for the address and time they belong to.

An investigation covers one or two addresses, so that both sides of a connection can be looked at together. It ends when you remove the address from the filters.

What an Investigation Shows

Finding

The Finding card says in a sentence what the comparison found for each address: how many of the compared frames are mismatches, how far off the frame furthest off was, and how many frames could not be compared. It is green when no frame is a mismatch and red when at least one is. The frame furthest off can be far away without being a mismatch, when the other frames of its record fit.

The table below it has one row per tap and channel:

Column Meaning
Chart Selects the row for the charts below.
Tap and Channel The tap that recorded the frames and the channel it was tuned to.
Transmitter The address the frames were sent in the name of, when two addresses are investigated.
Disconnection Frames or Announcing Frames The number of frames the tap recorded there.
Signal Strength of these frames Their average signal strength, and the range from the weakest to the strongest.
Signal Strength of Beacons or Other Frames The average signal strength of what the frames were compared with. Nothing recorded means that there was nothing to compare them with.
Difference How much stronger or weaker the frames were on average.
Mismatches The number of frames outside the range, in records of which at least half of the frames are.

The rows are sorted by importance: rows with mismatches first, then the rows that were compared by their largest difference, then the rows that could not be compared. The first ten rows are selected for the charts. You can change the selection, up to ten rows at a time.

When all frames were recorded in a small part of the selected time range, the card shows that time with a link that narrows the time range to it.

Evidence

Every selected row has a chart of its tap and channel:

  • The line is the average signal strength of the beacons of an access point, or of the other frames of a client. The shaded area around it is the range from the weakest to the strongest. The line stops where the tap did not record the station for a while.
  • Every dot is a record of frames at its signal strength. A red diamond is a mismatch. A dot outside the shaded area that is not red is a frame of a record whose other frames fit.

The table below the charts lists the frame records or announcements of the investigation with all their details.

Working With an Investigation

Questions an investigation helps answer:

  • Were these frames sent by my access point? Frames of the access point sit in its shaded area. Records of frames that are 20 dB or more outside of it on a tap that records the access point steadily were sent from somewhere else.
  • Is it one attacker or several? Frames of one transmitter form a group at one signal strength per tap. Two groups at different strengths are two places.
  • Where is the attacker? Compare the taps. The tap that recorded the forged frames the strongest is the closest to their transmitter, whatever the address says.
  • Is this a false positive? A difference that is the same every time, and below about 10 dB, is an access point that sends beacons with less power than its other frames. A line that jumps at some point is an access point that changed its transmit power, or something that moved between it and the tap.

Keep in mind what the comparison cannot do:

  • An attacker next to the access point arrives at about the same signal strength and is not a mismatch.
  • A second transmitter that also sends beacons with the address of the access point becomes part of what its frames are compared with. After a few minutes of that, the comparison no longer tells the two apart. The shaded range of the chart shows it, because it becomes much wider.
  • A mismatch says that a frame was not sent from where the station usually is. It does not say who sent it.

Limits

An investigation looks at the latest 25,000 frame records of the selected time range and says so when there are more. A chart shows the first 1,000 records of its tap and channel. An investigation that takes too long asks you to select a shorter time range or fewer taps.