KORTHVEILSecurity firewall
Guides

Wi-Fi: rogue access points on your wire, your devices' Wi-Fi risks, and find a device

Download as PDF All guides

Someone plugs a cheap access point into a meeting-room socket, and your network has a door nobody watches. A phone remembers "attwifi" from an airport and joins any access point with that name, anywhere. Korthveil's air watch now helps with both, and shows roughly where a device is on your floor plans:

  1. Rogue access points on your wire: access points your radios hear that are not yours are matched against what the firewall sees on its own cables: its neighbour tables and DHCP leases, and your switches' MAC tables. A match says "On your wire: switch core port 7, VLAN 20", what it rests on, and how sure it is.
  2. Your devices' Wi-Fi risks: devices that ask for open networks by name, devices that try to join a fake access point, and devices whose system version lacks the KRACK (2017) or FragAttacks (2021) fixes.
  3. Find a device: an estimated area on a floor plan where a device, an unknown access point or an unknown client probably is.

Korthveil only listens and reads. It never sends frames to other people's devices, never disconnects or jams anything (that is unlawful radio interference), and none of the actions below happens by itself.

Each part is off until you turn it on. The settings are in the Air watch: rogues, your devices and find a device panel on Wireless › Security (with the wireless add-in) or on Network › Interfaces, zones & routes (the firewall's own radio, when its air watch is on).

At a glance:

Step Where What
1 The firewall's Wi-Fi interface (Watch the air for Wi-Fi attacks) or the add-in's Watch for evil twins (scan interval) Something must listen to the air first
2 Network › Switches Add your switches (SNMP) so a rogue's switch port can be found; turn on Allow changes to shut a port from here
3 Air watch: rogues, your devices and find a device Turn on the parts you want, Save to pending changes, then commit
4 Unknown access points See which are on your wire; shut the port, block it or mark it as known
5 Your devices' Wi-Fi risks Follow What to do for each device
6 Floor plans and coverage, open a plan, Find a device Choose a device or an access point: the estimated area is drawn on the plan

1. Rogue access points on your wire

Turn on Look for rogue access points on your wire. The Unknown access points panel lists every access point your radios hear that is not yours and not marked as known, loudest first, with who hears it and how loud.

For each one Korthveil looks for these addresses on your wire:

Address Why
The access point's BSSID, and the addresses next to it (±1 to ±8) Makers number an access point's wired address next to its radio addresses, sometimes with the "locally administered" bit set
Its Wi-Fi clients An access point that bridges puts its clients on the wire itself
Its clients' gateway Where its clients' traffic goes; if that is this firewall, the access point bridges Wi-Fi into one of your networks

To see clients and gateways, the watching radios also read the addresses of data frames (never their content: only the first 128 bytes of a frame are copied, which hold the header).

Confidence Means
strong Its BSSID itself, or two kinds of evidence, on the same switch port
likely An address one or two from its BSSID, or one of its clients, on a switch port; or such an address in the firewall's own tables
possible Only an address further from its BSSID

Open Evidence to see every match. Without switches, Korthveil can still say "on your network lan0" from its own tables, but not the port.

What you can do (each one is reviewed first):

Action What happens
Shut switch port Choose when it turns back on by itself (30 minutes to 7 days). The switch add-in shows the change, you confirm, it is sent over SNMPv3 and recorded. At the end time the port is turned on again and recorded as end time (<you>). Turning the port on by hand earlier cancels the end time. Ports that carry the firewall itself are refused
Block on the firewall The access point's wired address gets no internet and reaches none of your devices (isolation; release it under Network › Devices › Isolated devices). The access point keeps broadcasting
Mark as known A neighbour's network, a printer's setup network: it leaves the list and never counts as an evil twin. Saved to pending changes; commit

A rogue that is on your wire with strong or likely confidence also raises an alert (Monitoring › Alerts, check "threats").

2. Your devices' Wi-Fi risks

Turn on Check your devices for Wi-Fi risks. Only devices the firewall knows (its device list) are shown; passers-by are left out.

Finding Means What to do
May join a fake open network by itself The device asks for a network by name that is open nearby or in many public places (for example xfinitywifi, attwifi) Forget the open networks it no longer needs on the device, or turn off joining them automatically
Tried to join a fake access point (critical, also an alert) The device talked to an evil twin (a copy of your network's name) or a karma access point (one that answers for any name) Change the passwords used on it since, check it for a fake certificate or profile, keep PMF required

Phones and laptops made in the last few years no longer ask for networks by name, and they use private (randomised) addresses, so the firewall can rarely tie such a probe to a device: no finding is better than a wrong one.

KRACK and FragAttacks: for each Wi-Fi device the table shows whether its system version lacks the fix (the version is older than the fix and that system had no update after it), may lack the fix, has the fix, or unknown. The firewall knows a version only when the device itself told the network (its web browser, its DHCP request); otherwise it says unknown and never guesses.

Where the firewall learns it (from 1.7.7):

  • DHCP requests on the networks the DHCP server serves, IPv4 and IPv6: the list of options the device asks for and the vendor class it sends (Android, for example, sends android-dhcp-13). The firewall only listens; it sends nothing for this, keeps no packets, and keeps only what the request said, per device, for at most 4096 devices and 90 days since the device last asked.
  • The CipherGate portal page: the web browser's user agent of a device that opened the page, kept for a day by the add-in and then by the device's MAC address.

A device that has not asked for an address since the firewall started listening, or that sends no version (most computers and iPhones in DHCP), stays unknown until its browser opens the CipherGate portal.

Korthveil also lists a karma access point as a Wi-Fi attack: one access point answering probes for four or more different names.

3. Find a device

Turn on Find a device on the floor plans, then open a plan under Floor plans and coverage. Place your access points on it (the firewall's radio or a managed access point; planned ones hear nothing) and set its scale.

Under Find a device, type a device's MAC address or choose an unknown access point, and click Show the estimated area. Korthveil takes every placed radio's reading of it from the last 15 minutes and the radio model with your walls:

Radios that hear it The area
One A ring around that access point (the direction is unknown)
Two A band between them
Three or more A patch

The area is shaded on the plan with a dashed circle around most of it, its size in metres and the age of its readings. It is always an estimate: walls, people and furniture move real signals by several dB, so the area is wide on purpose. Radios that hear it but are not on this plan are listed. Each search is recorded in the audit log (wifi.locate).

Limits

  • Matching needs the addresses to be on your wire: an access point on its own 4G connection, or one that changes its wired address, is listed as unknown but "not seen on your wire".
  • Switches must be added under Network › Switches for a port answer; shutting a port needs SNMPv3 with Allow changes.
  • Client checks and data-frame addresses come from the firewall's own watching radio; the add-in's access points report only the networks they hear.
  • Tested so far with simulated radios, access points and switches. Check it with your own hardware before relying on it.

Download as PDF All guides