How Wi-Fi works: SSIDs, channels, association, and the security modes
The pieces of an 802.11 network a defender needs to read: access points, SSIDs and BSSIDs, bands and channels, the join sequence from beacon to four-way handshake, and how WPA2, WPA3, and Enterprise modes differ.
Diagram
A client joining a WPA2 or WPA3 network
Step 1 of 4
Beacon
The access point advertises its SSID, BSSID, channel, and security.
$ iw dev wlan0 scan | grep -E "BSS |SSID|freq|RSN|Authentication suites" BSS 3c:52:82:aa:20:11(on wlan0) freq: 5180 SSID: office RSN: * Version: 1 * Authentication suites: SAE
One shared passphrase
Change it for everyone
Device MAC only
The example on the open step is one illustration, or the fix you can paste into an application you own.
What this page is made of
3 pieces. Each one says what fails, who is affected, what you would notice, and what you change.
SSID versus BSSID
- What fails
- The SSID is the network name; the BSSID is the radio’s MAC address.
- Who is affected
- Users who join by name alone.
- What you would notice
- Several BSSIDs with your SSID that are not in the inventory.
- What you change
- Keep an inventory of your BSSIDs and alert on unknown ones.
Bands and channels
- What fails
- 2.4 GHz travels farther through walls; 5 and 6 GHz are faster with less range.
- Who is affected
- Neighbors who can hear your network from outside.
- What you would notice
- Strong 2.4 GHz signal in the parking lot.
- What you change
- Plan power and placement with a site survey.
Security modes in one list
Use this order when choosing a mode for a new network.
- WPA3-Enterprise or WPA2-Enterprise with EAP-TLS: staff
- WPA3-Personal (SAE): small offices and IoT
- WPA2-Personal with a long random PSK: legacy devices only
- OWE (Enhanced Open): encrypted guest networks without a password
- WEP and open WPA-TKIP: never
Looking at your own airspace
iw and nmcli on Linux, the Wireless Diagnostics app on macOS, and netsh wlan show networks mode=bssid on Windows list nearby networks. Kismet and Wireshark with a monitor-mode adapter show management frames in detail on networks you are authorized to monitor.
Check yourself
Recognition and the fix. Nothing here is a procedure.
A scan shows Authentication suites: SAE. Which mode is the network using?
Go deeper
Specific techniques, exercises, and glossary cards for this topic.
- 01Protected management framesManagement frames tell clients to connect, roam, or disconnect. Includes the diagram and a defensive fix.
- 02Guest and IoT isolationA camera, a guest phone, and a finance laptop do not belong in one broadcast domain. Includes the diagram and a defensive fix.
- 03Why WEP fell and how WPA2 and WPA3 passphrases are attackedWEP’s design flaws make it recoverable from traffic alone; WPA2-Personal falls only to weak passphrases guessed offline from a captured handshake; WPA3’s SAE removes offline guessing. Includes the diagram and a defensive fix.
- 04Rogue and evil-twin access points: finding radios you did not installA rogue access point is plugged into your network without approval; an evil twin imitates your SSID to lure clients. Includes the diagram and a defensive fix.
- 05Wireless monitoring: capturing 802.11 frames on networks you ownMonitor mode lets an adapter record every 802.11 frame on a channel, which is how wireless intrusion detection and troubleshooting work. Includes the diagram and a defensive fix.
- 06Bluetooth, BLE, and RFID risks: pairing, tracking, and badge cloningShort-range radios carry real risks: weak Bluetooth pairing, BLE devices that broadcast trackable identifiers, and 125 kHz proximity badges that can be copied. Includes the diagram and a defensive fix.
- 07Wi-Fi Protected Setup (WPS): why the PIN method is broken and how to turn it offWPS was built to make joining easy, but its eight-digit PIN is checked in two halves, so it can be guessed in hours, and some chips leak it offline (Pixie Dust). Includes the diagram and a defensive fix.
- 08Securing wireless cameras and IoT devices: defaults, cloud links, and segmentationCameras and smart devices ship with default passwords, old firmware, and cloud services that reach into your network. Includes the diagram and a defensive fix.
- 09Securing a wireless network: a checklist from configuration to monitoringA practical hardening checklist for office and home-office Wi-Fi: WPA3 or 802.1X with EAP-TLS, protected management frames, separate guest and IoT networks, admin access on the wired side only, firmware updates, and wireless monitoring. Includes the diagram and a defensive fix.
- 10Wardriving and wireless surveys: mapping your own coverage from the outsideWardriving maps Wi-Fi networks from a moving vehicle; organizations use the same method to see how far their networks leak beyond the building. Includes the diagram and a defensive fix.
- 11Kr00k (CVE-2019-15126): the all-zero key bug in Broadcom and Cypress Wi-Fi chipsKr00k let some Wi-Fi chips send a few buffered frames encrypted with an all-zero key after disassociation, so nearby listeners could decrypt them. Includes the diagram and a defensive fix.
- 12Wireless tools and what they are allowed to hearAircrack-ng and its neighbors listen to radio and test Wi-Fi protections. Includes the diagram and a defensive fix.