Courses3 levels
Level 1 · Foundations11 courses
Level 2 · Core5 courses
Level 3 · Advanced5 courses
Labs8 topics
Library Practice exams AI Range Pricing Start free

Practice library / Wireless attacks

Workbook · Medium · 4 hoursFree account

Wireless Penetration Testing

WPA2/WPA3, evil twin, deauth attacks, captive portal bypass, and WPS attacks.

  • wi-fi
  • wpa2
  • wpa3
  • evil-twin
  • deauthentication
On this page 5 sections
  1. ·About This Workbook
  2. ·Chapter 1 — Wireless Foundations
  3. Locked: Chapter 2 — Law, Scope and Equipment
  4. Locked: Chapter 3 — Assessment Methodology and Reporting
  5. Locked: Next steps

Wireless security covers the radio layer, the encryption that protects it, and the humans who connect to it. The topic matters because a weak Wi-Fi link can bypass every firewall and reach the internal network from the car park. The workbook covers the full stack: RF basics and channels, WPA2 and WPA3 modes, personal and enterprise authentication, captive portals and the extras around the real network such as Bluetooth. Tools fit together by phase: iw and airmon-ng set the adapter and the monitor interface, Kismet and airodump-ng discover networks, hcxdumptool captures the handshake, and hashcat cracks the key. Legal scope and client authorisation come first, because radio testing touches everyone nearby.

What You'll Learn

  • Explain how Wi-Fi standards, channels and security modes (WPA2, WPA3, personal, enterprise) fit together
  • Write a wireless scope statement and rules of engagement that a client can sign
  • Describe the legal risks of radio testing and keep every action inside the authorised scope
  • Choose and check a wireless adapter, and run passive discovery on a lab network you own
  • Plan a wireless assessment in phases and rank the findings by risk
  • Write a wireless finding with evidence, impact and a fix that the client can act on

About This Workbook

Wireless is different from a wired test. A radio signal does not stop at the client's wall. Your adapter hears the neighbour's network as clearly as the client's network, and a wrong action can affect people who never agreed to the test.

This workbook teaches the methodology of an authorised wireless assessment: scope, law, equipment, phases and reports. It does not give attack scripts. The hands-on techniques are in the labs, and you do them on a lab network that you own:

For the general engagement process, read Penetration Testing Process and Pre-Engagement Setup.

Authorised scope only. Test only networks that you own, or networks for which you hold a signed written permission. Every example here uses invented names (CORP-Staff, lab-ap) and reserved addresses (10.0.0.0/8). Replace them with your own lab values.

Chapter 1 — Wireless Foundations

Objectives

  • Name the Wi-Fi standards and the bands they use
  • Explain what a channel is and why it matters for testing
  • Compare WEP, WPA, WPA2 and WPA3
  • Separate personal mode from enterprise mode and name the main risk of each

Explanation

Wi-Fi is the name for the IEEE 802.11 family of standards. A device that offers a network is an access point (AP). Each network has a name, the SSID, and each radio has a hardware address, the BSSID (for an AP, this is its MAC address). One SSID can be served by many APs. For example, an office can have 40 APs that all announce CORP-Staff.

Bands and channels. Wi-Fi uses three frequency bands. A channel is a slice of a band.

BandCommon standardsNotes
2.4 GHz802.11b/g/n/axChannels 1 to 13 (1 to 11 in the US). Long range, crowded, only 3 channels do not overlap (1, 6, 11).
5 GHz802.11a/n/ac/axMany channels. Shorter range. Some channels share spectrum with radar (DFS).
6 GHz802.11ax (Wi-Fi 6E), 802.11beNeeds WPA3. No old devices.

This matters for the test. A radio listens to one channel at a time. If you scan only the 2.4 GHz band, you miss every 5 GHz network. An adapter that cannot use 5 GHz gives you an incomplete result.

Management frames. Before any data moves, devices exchange management frames. An AP sends a beacon about 10 times per second. A beacon holds the SSID, the channel and the security settings. This is why you can list networks without joining them: you only listen. Listening to beacons is passive discovery. Sending frames to get an answer is active testing, and it has a higher legal and operational risk.

Security modes. Each mode fixes problems in the one before it.

ModeStatusMain weakness
OpenNo encryptionAnyone nearby reads the traffic
WEPBroken since 2001The key is recovered from captured traffic in minutes
WPA (TKIP)ObsoleteWeak cipher, kept only for old devices
WPA2Current, widely usedA weak pre-shared key can be guessed offline from a captured handshake
WPA3CurrentUses SAE, which resists offline guessing; implementation flaws and downgrade modes remain

Personal and enterprise. These are two ways to prove who you are.

  • Personal mode (WPA2-PSK, WPA3-SAE) uses one shared passphrase for everybody. When one person leaves, the passphrase must change for all. When it leaks, the whole network is open to the leaker.
  • Enterprise mode (WPA2/WPA3-Enterprise, also named 802.1X) gives every user their own identity. A RADIUS server checks the user. The EAP method decides how: EAP-TLS uses certificates, PEAP uses a password inside a tunnel. The main risk is a client that does not check the server certificate, because then a fake AP can collect the logon.

Protected management frames (PMF). Standard 802.11w signs some management frames, for example the ones that end a connection. WPA3 requires PMF. WPA2 can enable it. Without PMF, an attacker can send fake "disconnect" frames, and the client obeys. Your report must say whether PMF is off, optional or required.

Worked example

A client asks: "Is our guest network secure?" You read the beacon information from a lab AP. The lab AP is your own device and runs the name lab-ap. The outputs in this chapter are examples. Your own lab shows other names and addresses.

Run:

nmcli -f SSID,BSSID,CHAN,SIGNAL,SECURITY dev wifi list

SSID        BSSID              CHAN  SIGNAL  SECURITY
lab-ap      02:00:00:aa:bb:01  6     82      WPA2
lab-ap-5g   02:00:00:aa:bb:02  36    74      WPA3
lab-guest   02:00:00:aa:bb:03  11    68      --

Read the table in this order:

  1. lab-ap uses WPA2. It is acceptable, but the passphrase decides its strength.
  2. lab-ap-5g uses WPA3. It is the best of the three.
  3. lab-guest shows --. The network is open. Anyone nearby can read its traffic.

The first finding is already clear, and you sent no frame to find it. The right answer to the client is not "it is secure" or "it is broken". It is: "The guest network has no encryption. This is acceptable only if the guest users are told, and if the guest network cannot reach internal systems." Guest isolation is a second check for Chapter 3.

Practice questions

  1. An office has 20 APs that all announce CORP-Staff. How many SSIDs and how many BSSIDs are there?
  2. Why does a scan of the 2.4 GHz band alone give an incomplete result?
  3. What is the difference between passive and active discovery? Which one carries more legal risk?
  4. A company uses WPA2-Enterprise with PEAP. Name one client setting that decides if a fake AP can collect logons.
  5. The scan shows WPA2 WPA3 for one SSID. What does this mean for the risk?
Answers
  1. One SSID and 20 BSSIDs (more, if each AP serves more than one radio or band). The SSID is the name; the BSSID is the hardware address of each AP radio.
  2. A radio listens on one channel at a time, and an adapter that does not support 5 GHz cannot hear those networks. Networks on 5 GHz and 6 GHz stay invisible.
  3. Passive discovery only listens to frames that devices send anyway. Active discovery sends frames. Active work has more legal and operational risk, because it can affect other users' devices.
  4. Whether the client validates the server certificate (and which RADIUS server name it trusts). If it does not, the client sends its logon to any AP with the right SSID.
  5. This is a transition mode. Old devices can still use WPA2, so a WPA2 weakness stays in reach, and a downgrade is possible. The network is only as strong as the weakest mode that it allows.

Sign in to continue

3 more sections are for signed-in members. It is free: sign in with Google.

Related