COMP-221 · Lesson 10 of 12 · 20 min

Wireless reconnaissance

▶ Video coming soon A video version of this lesson is on the way.

The physical test of Branch 07 was scheduled for Thursday, October 22, and the wireless survey came first. Dario and Tobias arrived at opening time with the authorization letter in a folder, a laptop with two wireless adapters, and a printed floor plan Felix had sent. The branch manager had been told by head office that two visitors from Ironwhistle would be walking the floor for an hour; she had not been told why in detail, which was deliberate. Within ten minutes the laptop showed eleven networks, and only two of them were supposed to be there.

This lesson covers objective 2.2's wireless enumeration and objective 2.4's wireless tools: Aircrack-ng, inSSIDer and WiGLE.net, along with Wireshark for wireless captures. Wireless attacks, such as capturing handshakes for offline password testing or setting up a rogue access point, belong to COMP-223; this lesson is about finding and describing wireless networks accurately and lawfully.

Why wireless matters

Wireless networks extend an organization's network beyond its walls. A signal that reaches the car park reaches anyone in the car park. Wireless reconnaissance answers several questions at once: which networks the organization operates and how they are secured; whether any unauthorized access points have appeared; whether guest and staff networks are properly separated; and how far signals travel. It also has a defensive twin: organizations should survey their own airspace regularly for exactly the same reasons.

Wi-Fi basics for reconnaissance

Wi-Fi networks follow the IEEE 802.11 family of standards and operate in the 2.4 GHz, 5 GHz and, with Wi-Fi 6E and Wi-Fi 7, 6 GHz bands. Each band is divided into channels; in 2.4 GHz only channels 1, 6 and 11 do not overlap in North America, which is why most networks there use one of those three. An access point advertises one or more networks, each identified by an SSID, the network name people see, and a BSSID, the hardware address of the radio interface serving it.

802.11 frames that wireless reconnaissance relies on.
Frame typeSent byWhat it reveals
BeaconAccess points, several times a secondSSID (unless hidden), BSSID, channel, supported rates and security settings
Probe requestClient devices looking for networksSometimes the names of networks the device has joined before
Probe responseAccess points answering probesThe SSID, even for hidden networks
Authentication and associationClients joining a networkWhich clients connect to which access points
Data framesConnected devicesTraffic, encrypted on protected networks

A hidden SSID is a network whose beacons leave the name blank. Hiding the name does not hide the network: the BSSID, channel and security settings still appear in beacons, and the name appears in probe requests and responses whenever a client connects. Hidden networks are therefore no more secure, and they are often a sign of a network someone set up quietly.

Security modes

Recording each network's security mode accurately is the core of wireless enumeration, because it determines what risks apply.

Wi-Fi security modes and what to record.
ModeHow clients authenticateReconnaissance note
OpenNo authentication or encryptionOften with a captive portal; traffic is visible unless the application encrypts it
Enhanced Open (OWE)No password, but encrypted individuallyBetter for guest networks than plain open
WEPShared key with broken encryptionObsolete; any WEP network is a finding
WPA2-Personal (PSK)Shared passphraseStrength depends entirely on the passphrase; one key for everyone
WPA3-Personal (SAE)Passphrase with a handshake resistant to offline guessingNote whether transition mode also allows WPA2
WPA2 or WPA3-Enterprise802.1X with individual credentials or certificates through a RADIUS serverNote the EAP method and whether clients validate the server certificate
WPS enabledPIN or push-button setupLegacy PIN method has known weaknesses; note any network advertising it

Monitor mode and the Aircrack-ng suite

A wireless adapter normally works in managed mode, joining one network and receiving traffic addressed to it. Monitor mode lets an adapter receive every 802.11 frame on its channel, from any network, without joining any of them. Wireless reconnaissance depends on it, and not every adapter or driver supports it, which is why testers carry adapters chosen for that purpose.

The Aircrack-ng suite is named in objective 2.4. Its tools cover the whole wireless testing process; for reconnaissance, two matter. airmon-ng puts an adapter into monitor mode and can stop processes that interfere with it. airodump-ng hops across channels capturing frames and displays a live table of access points and clients. Other parts of the suite deal with injecting frames and testing keys, which are attacks and need specific authorization.

A passive survey with airmon-ng and airodump-ng. Hardware addresses use the documentation range reserved for examples.
# Put the survey adapter into monitor mode
sudo airmon-ng start wlan1

# Survey all bands, writing results to files for the evidence record
sudo airodump-ng --band abg --write BR07-survey-20261022 --output-format csv,pcap wlan1mon

# Then focus on the client's own networks only, by BSSID and channel
sudo airodump-ng --bssid 00:00:5E:00:53:10 --channel 36 --write BR07-staff-20261022 wlan1mon
An abbreviated airodump-ng table. MGT means 802.1X enterprise authentication; length 0 marks a hidden SSID; one station is connected to it.
sudo airodump-ng --band abg wlan1mon
Output
 BSSID              PWR  Beacons  #Data  CH   MB   ENC   CIPHER  AUTH  ESSID
 00:00:5E:00:53:10  -41     212     87   36  1201  WPA2  CCMP    MGT   PFCU-Staff
 00:00:5E:00:53:11  -42     209     14   36  1201  WPA2  CCMP    MGT   PFCU-Staff
 00:00:5E:00:53:20  -45     198     63    6    54  OPN                 PFCU-Guest
 00:00:5E:00:53:31  -52     176     22   11   130  WPA2  CCMP    PSK   <length:  0>
 00:00:5E:00:53:40  -61     150      0    1    54  OPN                 BAS-Setup-4F2A
 00:00:5E:00:53:77  -78      61      3    6   130  WPA2  CCMP    PSK   (neighboring business)

 BSSID              STATION            PWR   Rate   Lost  Frames  Probes
 00:00:5E:00:53:31  00:00:5E:00:53:A2  -48   1e-1e     0     140

Reading the table: PWR is signal strength in dBm, so -41 is strong and -78 is weak. Beacons and #Data count frames seen. CH is the channel, ENC, CIPHER and AUTH give the security mode, and ESSID is the network name. The lower half lists client stations and the access points they are associated with, along with any networks those clients have probed for.

What the Branch 07 survey found

A dashed outline of the Branch 07 floor plan containing three access points with signal rings: PFCU-Staff using WPA2-Enterprise on channel 36; PFCU-Guest, open with a captive portal, on channel 6; and a hidden SSID using WPA2-PSK on channel 11. Beside the plan, three boxes: record per network SSID, BSSID, channel, band, security, signal and clients; compare with the client's approved list, where unknown or hidden networks are findings; and nearby networks of others, log, never probe.
The Branch 07 survey: two approved networks and one that should not have been there.

Felix had supplied the approved list: PFCU-Staff on enterprise authentication and PFCU-Guest, open with a captive portal, both served by the same managed access points. Everything else needed explaining.

Assessment of each network seen at Branch 07.
NetworkAssessmentAction
PFCU-Staff, WPA2-Enterprise, two BSSIDsApproved; 802.1X with certificate-based authenticationPositive control; recommend WPA3-Enterprise when hardware allows
PFCU-Guest, open with portalApproved; guest traffic unencrypted over the airRecommend Enhanced Open; confirm separation from staff network during internal testing
Hidden SSID, WPA2-PSK, strongest near a teller stationUnknown; a client connectedLocate and identify with the branch manager and Felix
BAS-Setup-4F2A, openUnknown; vendor prefix of a building automation manufacturerMatch with the controller found by ARP in lesson 4; ask facilities
Seven networks of nearby businesses and residencesNot Prairiefold'sLog SSID and BSSID only for the survey record; never connect or probe

Signal strength led Tobias to the hidden network: walking the floor with the survey running, the signal peaked at -38 dBm beside a teller station, where a small consumer router sat under the counter, plugged into the wall port. Its hardware address matched one of the found-not-known devices from internal discovery. The branch manager explained that a teller had brought it in months earlier because the staff wireless did not reach the back office well, and nobody had thought twice. It bridged a personal-grade network with a shared passphrase straight onto the branch's wired network. Under the rules of engagement, Ironwhistle did not attempt to connect to it; the evidence of its presence, location, security mode and wired connection was enough. Felix had it removed that afternoon.

The open BAS-Setup network belonged to the building automation controller, whose wireless setup interface the heating contractor had never disabled. Anyone in range could connect to an unauthenticated setup network on a device that also sat on the branch's wired network. That became the second wireless finding.

Recording the survey

Ana's evidence rules applied to radio work as much as to scans. Each survey file was named with the site, date and adapter used, and the survey log recorded where in the building each reading was taken, because signal strength means little without a location. For every network belonging to the client, the record held the SSID, all BSSIDs, channel and band, security mode and EAP method where visible, whether protected management frames were required, the strongest signal and where it was measured, and the number of clients seen. For every network not belonging to the client, the record held only the SSID, BSSID and channel, enough to show that it had been seen and set aside.

The record also noted what was not found. No WEP networks, no networks advertising the legacy WPS PIN method and no imitation of the guest network were seen at Branch 07. Negative results like these let the client know which risks were checked and absent, which is as much a part of an honest report as the findings.

inSSIDer and site surveys

inSSIDer is a Wi-Fi scanning tool, popular on Windows, that displays nearby networks with their channels, signal strength, security and channel overlap in a graphical view. It works with an ordinary adapter in managed mode and is designed for planning and troubleshooting, which makes it a good tool for coverage and interference checks and for spotting unexpected networks quickly. Professional site survey tools go further, mapping signal strength across a floor plan. Ironwhistle used inSSIDer to show the branch manager, in plain terms, how far the guest network reached into the car park, which was well beyond the building.

WiGLE.net

WiGLE.net is a crowdsourced database of wireless networks recorded by volunteers who drive or walk with survey software (an activity called wardriving), with each network's SSID, BSSID, security type and approximate location. Searching it is passive: it shows where networks with a given name or hardware address have been seen, without going anywhere near them.

Before the site visit, Tobias searched WiGLE for SSIDs beginning with PFCU. Most results matched branch addresses. One record showed a network called PFCU-Staff observed at a location two kilometers from the nearest branch, using WPA2-Personal rather than enterprise authentication. It might have been an employee who had named a home router after the work network, an old test access point, or an attempt to imitate the staff network so that devices would connect to it automatically. Ironwhistle did not visit or test it; it went into the report as a hypothesis with the recommendation that staff devices be configured to validate the enterprise network's server certificate, which defeats imitation networks of that kind.

Wireshark for wireless captures

Captures written by airodump-ng can be opened in Wireshark, which decodes 802.11 management frames in detail. Display filters such as wlan.fc.type_subtype == 0x08 for beacons, or wlan.fc.type_subtype == 0x04 for probe requests, separate frame types. Inspecting beacons from the client's access points confirms security settings precisely, including whether protected management frames are required, a WPA3 feature that defends against forged disconnection frames. Probe requests show which network names client devices are searching for, which can reveal names of networks staff devices have joined elsewhere.

Beyond Wi-Fi

Wireless reconnaissance can extend to other radio technologies within scope: Bluetooth and Bluetooth Low Energy devices, which can be discovered with suitable adapters and often reveal device types; and the RFID and NFC badges and readers used for door access, which belong to the physical assessment covered in COMP-222. At Branch 07, a Bluetooth scan found nothing unexpected; the door access readers were noted for the physical team.

Lawful and ethical wireless work

Radio signals cross property lines, so wireless reconnaissance always picks up networks that are nothing to do with the client. Ironwhistle's rules were strict. The survey recorded only the identifiers needed to show that other networks existed and to separate them from Prairiefold's. Detailed captures were restricted to Prairiefold's own BSSIDs. Nobody connected to, probed, or attempted to decrypt any network that did not belong to the client, and the survey files were handled as evidence and destroyed after the engagement. Testers must also be aware that laws on intercepting radio communications apply even when the airwaves are easy to receive; the authorization covers the client's networks, never anyone else's.

Defending the airspace

Organizations can do everything Ironwhistle did, routinely. Wireless intrusion detection, built into many enterprise access point systems, flags rogue and imitation access points automatically. Periodic surveys catch devices that slip through. Wired network access control stops a consumer router plugged into a wall port from reaching the internal network at all. Enterprise authentication with certificate validation, WPA3 where hardware allows, protected management frames, Enhanced Open or proper isolation for guests, and disabled setup networks on devices all reduce exposure. Policy matters too: the Branch 07 router existed because staff had a real coverage problem, and fixing the coverage removed the reason for it.

Worked problem

Classifying an unknown network

During a survey at head office, Tobias sees a network named PFCU-Staff with WPA2-Personal security on a BSSID not on the approved list, strongest in the car park. What should he do?

Show solution
  1. Record the SSID, BSSID, channel, security mode, signal strength and location.
  2. Compare with the approved list: the name matches the staff network, but the security mode and BSSID do not.
  3. Do not connect to it or interact with any device that connects to it.
  4. Report it to Dario immediately; a network imitating the staff SSID near the building could be an attack in progress, which is a stop condition under the rules of engagement.
  5. Let the client decide on investigation, providing the evidence.

Answer: Treat it as a possible imitation network and potential real attack: record, do not engage, escalate immediately as a stop condition.

Common mistakes

  • MistakeBelieving a hidden SSID is hard to find.

    InsteadHidden networks still appear in beacons, and their names appear in probe traffic.

  • MistakeCapturing everything in range in detail.

    InsteadFilter detailed captures to the client's BSSIDs and log others minimally.

  • MistakeConnecting to an unknown network to identify it.

    InsteadIdentify it from signal, location, vendor prefix and the client's knowledge.

  • MistakeRecording only network names.

    InsteadRecord SSID, BSSID, channel, band, security mode, signal and clients.

  • MistakeTreating WiGLE results as current facts.

    InsteadTreat them as historical observations and hypotheses.

Summary and key terms

  • Wireless reconnaissance identifies the organization's networks, their security, unauthorized access points and signal reach.
  • Beacons, probes and association frames reveal SSIDs, BSSIDs, channels, security and clients; hidden SSIDs are still discoverable.
  • Security modes range from open and WEP to WPA3 and enterprise 802.1X; each implies different risks.
  • Monitor mode lets airodump-ng capture all frames; airmon-ng enables it.
  • inSSIDer shows networks, channels and signal for surveys; WiGLE.net is a passive crowdsourced database of observed networks.
  • Only the client's networks are examined in detail; others are logged minimally and never touched.
  • Defenses include wireless intrusion detection, wired access control, enterprise authentication with certificate validation and regular surveys.
SSID
The name of a wireless network.
BSSID
The hardware address of the access point radio serving a network.
Beacon frame
A frame an access point broadcasts regularly to advertise its network.
Monitor mode
An adapter mode that receives all wireless frames on a channel without joining a network.
Rogue access point
An access point connected to an organization's network without authorization.
Wardriving
Recording wireless networks while moving through an area.
Enhanced Open
Opportunistic Wireless Encryption, which encrypts open network traffic without a password.
Protected management frames
A feature that authenticates management frames to prevent forged disconnections.

Practice problems

Work each problem on paper first, then reveal the answer to check.

  1. In airodump-ng output, what does AUTH MGT indicate?

    Show answer

    Enterprise authentication using 802.1X, rather than a pre-shared key.

  2. Why are channels 1, 6 and 11 common in the 2.4 GHz band in North America?

    Show answer

    They are the only non-overlapping channels in that band there.

  3. What defensive control would have stopped the Branch 07 consumer router from reaching the internal network?

    Show answer

    Network access control on wired switch ports, which blocks unapproved devices.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz