Wireless Security and Wi-Fi Attacks — WEP to WPA3, and Why Captive Portals Lie

Manish Garg
Manish Garg Associate of (ISC)² · RingSafe
Apr 26, 2026
11 min read
Read as

Last updated: May 1, 2026

Wi-Fi has gone through five generations of security: WEP (broken, do not deploy), WPA/WPA2 (still common, still attackable via offline cracking and KRACK), WPA3 (the modern default with SAE replacing PSK), and 802.1X / WPA3-Enterprise for managed environments. This module covers the protocol differences, the attacks (deauth, evil twin, KRACK, FragAttacks, PMKID, KARMA), and the practical wireless security baseline an Indian enterprise should run in 2026.

Wi-Fi is the default network for almost every laptop and phone in India in 2026. WPA2-PSK is still the most-deployed mode and is well-attacked; WPA3 is the proper modern default but adoption is uneven; enterprise networks should be 802.1X with EAP-TLS, but most are not. This module is the practitioner walk-through of the protocols, the attacks, and the deployment patterns that actually defend wireless networks.

A brief history of Wi-Fi security — and why most "WPA2" deployments are still attacked

WEP

1997— broken since 2001, full keystream recovery in minutes, never deploy. WPA
2003— interim TKIP-based fix; do not deploy. WPA2
2004— AES-CCMP-based, still ubiquitous in 2026. The 4-way handshake using a Pre-Shared Key (PSK) gave us PMK, then PTK. Attacker captures the handshake passively, cracks PSK offline with hashcat. WPA3
2018— SAE (Simultaneous Authentication of Equals, “Dragonfly”) replaces PSK handshake with a forward-secret password-authenticated key exchange. Offline crack of captured handshake is no longer feasible. WPA3-Enterprise mandates 192-bit suites for high-security mode. OWE (Opportunistic Wireless Encryption) brings encryption to “open” Wi-Fi without authentication. Reality 2026: most home and small-office Wi-Fi is still WPA2-PSK; most managed enterprise SSIDs are WPA2-Enterprise (PEAP-MSCHAPv2 or EAP-TLS); WPA3 transition mode is widely deployed but mixed-clients still fall back to WPA2.

The attacks every wireless practitioner must know

1Deauthentication — 802.11 management frames are unprotected by default; attacker spoofs deauth from AP, client disconnects. Trivial DoS and forces fresh handshake (which the attacker captures). 802.11w (Protected Management Frames) fixes this; mandatory in WPA3.
2Offline PSK cracking — capture WPA2 handshake, hashcat against rockyou + variations. Works against any PSK below ~12 random chars.
3KRACK
2017— Mathy Vanhoef’s key-reinstallation attack on WPA2 4-way handshake. Patched everywhere; check anyway.
4FragAttacks
2021— same researcher, fragmentation/aggregation issues across WPA, WPA2, WPA3. Patched.
5PMKID attack
2018— capture PMKID from a single frame without needing client traffic; offline crack. Affects most WPA2-PSK APs unless explicitly mitigated.
6Evil twin — attacker stands up an SSID with same name as legitimate network; clients with auto-connect lists join. Defended only by 802.1X-with-server-validation; PSK networks have no defence.
7KARMA — passive attack: AP listens to probe requests for SSIDs, responds as that SSID, harvests connecting clients. Modern OSes randomise probe behaviour but legacy and IoT devices still leak.
8Dragonblood
2019— early SAE side-channel attacks; patched in WPA3 v3 firmware updates.

WPA2-Enterprise vs WPA3-Enterprise — the actual decision

WPA2-Enterprise authenticates clients via 802.1X / EAP, with an authentication server (RADIUS) holding credentials. The four common EAP methods: PEAP-MSCHAPv2 (most-deployed, attackable via rogue RADIUS without proper server-cert validation), EAP-TLS (mutual cert auth, the gold standard), EAP-TTLS (similar to PEAP, slightly different inner auth), EAP-PWD (rare).

The most common deployment failurePEAP-MSCHAPv2 with clients that do not validate the RADIUS server certificate. An attacker stands up a rogue AP + rogue RADIUS server, captures MSCHAPv2 challenge/response, cracks NTLM offline.

Defenceenforce certificate validation in your client GPO (Windows: “verify server cert” + specific CA + specific server name). For new builds, EAP-TLS with device certificates from your internal CA is the right default; WPA3-Enterprise raises the bar further (mandates server cert validation, 192-bit suites, mandatory PMF).

Captive portals — the lie that keeps coming back

Hotel, airport, café Wi-Fi all use captive portals: open SSID, intercept HTTP, redirect to a sign-in page. The protocol design is fundamentally insecure: you connect to an unencrypted SSID, the captive portal can be MITMed by anyone in radio range, your traffic is observable until you tunnel it. Modern OSes detect captive portals via well-known endpoints (captive.apple.com, connectivitycheck.gstatic.com) and route the portal interaction through a sandboxed mini-browser, but the underlying network remains untrusted.

The right user behaviouralways-on VPN before any captive-portal Wi-Fi traffic, plus verify TLS certs even on benign-looking sites.

The right enterprise behaviourprohibit corporate use of public captive portals without VPN; provide secure cellular tethering or eSIM-managed devices for travelling staff.

Wi-Fi for IoT — the other half of the problem

IoT devices (cameras, thermostats, smart plugs) have terrible Wi-Fi security: hard-coded WPA2 PSKs, no firmware updates, weak password rotation, often broadcasting every credential they have. The right architecture: separate IoT VLAN, separate SSID with isolation enabled, no inter-device communication, perimeter blocking outbound except to known cloud endpoints, periodic firmware audit. The wrong architecture: IoT on the same Wi-Fi as your laptops. WPA3-Personal Easy Connect (DPP) is the modern provisioning standard for headless IoT — pre-shared keys via QR code, public-key device identity. Adoption is slow but growing. For India, where smart-home and smart-meter deployments are accelerating, IoT segmentation discipline is increasingly an audit-relevant control under DPDP and sectoral cybersecurity frameworks.

Tooling — what professionals run for wireless audits

Aircrack-ng suite — the legacy standard; airodump-ng captures, aireplay-ng injects, aircrack-ng cracks. Still works on WPA2. hcxdumptool — modern PMKID + handshake capture; pairs with hashcat. hashcat -m 22000 — modern WPA*-PMKID/EAPOL hash format. Bettercap — Wi-Fi MITM and rogue-AP framework. Kismet — wireless surveillance; spectrum analysis, BLE, Wi-Fi simultaneously. Wifite — automation wrapper around aircrack/hcx; quick PSK audits.

For defendersWireless IDS/IPS (Cisco WIDS/WIPS, Aruba ClearPass + AirGuardian, open-source Kismet) detect rogue APs, deauth floods, evil twins, mass probe-floods. Allocation: in a campus environment a wireless IDS pays for itself within months — most lateral movement starts from a “guest” device that found its way onto the wrong VLAN.

Operator checklist — the wireless baseline an Indian enterprise should run in 2026

1Disable WEP, WPA, and TKIP everywhere — only WPA2-CCMP and WPA3 SSIDs.
2Enable 802.11w (PMF) — required by WPA3, optional but recommended on WPA2.
3For corporate SSID: 802.1X EAP-TLS with device certificates; explicit RADIUS-server-cert validation in client config.
4Separate guest SSID with VLAN isolation, client-isolation, internet-only egress, captive portal explicitly disclosing data handling under DPDP.
5Separate IoT SSID with the same posture, no internet egress beyond device-vendor endpoints.
6Wireless IDS/IPS with alerting on rogue APs, deauth floods, and SSID broadcasting your corporate name.
7Quarterly site survey + audit: passive capture, look for PMKID leakage, unmonitored access points, weak PSKs, default credentials on AP management.
8Acceptable-use policy explicitly covering employee personal devices and DPDP/IT Act language.

Wi-Fi 6/6E/7 — what changes (and does not) for security

Wi-Fi 6 (802.11ax), 6E (6 GHz extension), and 7 (802.11be) brought OFDMA, BSS coloring, MU-MIMO, and dramatically higher throughput. For security, the changes are modest but specific:

1WPA3 is mandatory for Wi-Fi 6E certification; effectively forcing the deprecation curve of WPA2.
2PMF (Protected Management Frames) becomes mandatory; deauth attacks lose their easy form.
36 GHz operation is in a contention-free band in many countries (in India still being finalised by WPC/DoT) reducing interference but not changing protocol-level security.
4Wi-Fi 7’s Multi-Link Operation lets a client use multiple bands simultaneously — increases throughput and complicates capture (an analyst must capture all bands simultaneously). For practitioners: the hardware refresh that comes with 6E/7 is a natural moment to insist on WPA3-Enterprise and EAP-TLS. Do not deploy 6E with WPA2 transition just because it is easier; the security posture upgrade is the main payoff alongside throughput.

Pentesting your own wireless — the structured methodology

A defensible wireless pentest follows a structured methodology:

1Reconnaissance — passive capture for 24-48 hours; discover SSIDs, BSSIDs, channels, clients, manufacturer (OUI).
2Rogue AP discovery — compare to the official inventory; investigate any unknown.
3Encryption audit — list each SSID with its protocol (WEP / WPA / WPA2 / WPA3) and report on weak modes.
4PSK cracking attempt — capture PMKID and 4-way handshakes; offline-crack with hashcat against rockyou + corporate-likely candidates.
5Evil-twin test — stand up a clone of the corporate SSID; observe if any client auto-connects (indicates client cert validation failure).
6Deauth test — verify PMF is enforced; baseline deauth rejects.
7Captive portal review — identify which SSIDs use one and review the privacy notice for DPDP alignment.
8Reporting — findings, evidence, recommended remediation. Schedule annually; major architecture change triggers an extra cycle.

Wireless deployment patterns for Indian campuses

Three deployment patterns we see succeed in Indian campus environments:

1Greenfield enterprise — Wi-Fi 6 / 6E APs, WPA3-Enterprise with EAP-TLS, RADIUS via NPS or FreeRADIUS, dynamic VLAN assignment by AD group, Aruba/Cisco/Juniper centralised controllers; ~₹20-50k per AP including controller licensing; mature ops.
2Mid-market upgrade — replacing aging WPA2-PSK with WPA3-Personal + better PSK rotation, plus a dedicated Wi-Fi 6 SSID for managed devices using WPA2-Enterprise PEAP-MSCHAPv2 (acknowledged compromise; better than open PSK); ~₹5-15k per AP.
3Branch / SMB — cloud-managed APs (Meraki, Cambium, Mist) with WPA3 transition mode, simple SSO, no on-prem RADIUS; minimal local IT effort. India-specific operational considerations: power reliability — AP placement avoiding generators / inverters that introduce switchovers; humidity — outdoor APs with proper IP rating in coastal cities; spectrum — 5 GHz channel planning around radar avoidance (DFS) which differs by Indian region; DoT/WPC frequency allocation rules for unlicensed bands.

Wireless incident response — what to do when an evil twin appears

Suppose your wireless IDS alerts on a rogue AP broadcasting your corporate SSID. Response playbook:

1Verify — confirm the BSSID, channel, and signal-strength location with the wireless controller heatmap.
2Locate — physically triangulate using signal-strength readings from multiple APs; in 15-30 minutes you typically narrow to a building / floor.
3Isolate — if the rogue is connected to your wired network (a “rogue-on-wire” scenario), trace the MAC via switch CAM tables and shut down the port. If it is wireless-only (battery-powered or external power), physical removal is the answer.
4Forensics — capture frames before action: any clients connected to the rogue, their MAC addresses, the credentials they may have leaked.
5Notification — affected users notified to change passwords / regenerate device certs as appropriate.
6Post-incident — root cause (employee device misconfigured? hostile placed?), control gaps (was MAC ACL on switch ports enabled?), update detection. Kismet + commercial wireless IDS make this workflow practical.

Diagrams

WPA2-PSK 4-way handshake — the capture every cracker wants
AP                                                Client
  | Beacon (SSID, RSN info, MAC)  ───────────────▶ |
  | Probe req/response (assoc, auth)  ◀──▶          |
  | EAPoL key 1: ANonce  ────────────────────────▶ |
  |                                                |
  | EAPoL key 2: SNonce + MIC  ◀────────────────── |
  |   (here PMK has been derived from PSK on both)  |
  | EAPoL key 3: GTK + MIC  ───────────────────▶ |
  | EAPoL key 4: ACK + MIC  ◀────────────────── |

Attacker captures keys 1+2 → has all material to brute force PSK
offline (hashcat -m 22000).  The PSK is the ONLY secret.
Evil twin + rogue RADIUS — why client cert validation matters
  Legitimate environment:
     Client ── 802.1X ──▶ AP ── RADIUS ──▶ AAA server (validates cert)

  Evil-twin attack:
     Client ── 802.1X ──▶ Rogue AP ── ──▶ Rogue RADIUS
          (same SSID name as corp)         (issues fake server cert)
          Without client-side cert validation:
            client gives MSCHAPv2 chall/response
            attacker NTLMv1-cracks → AD password

  Defence: GPO sets "validate server cert" + specific CA + specific server name.
          Without these, every PEAP deployment is potentially vulnerable.

References & deeper reading

FAQ

Is WPA3 actually rolled out widely in 2026?

Most new APs and Wi-Fi 6/6E/7 client devices support it; many sites run “WPA3 transition mode” so older clients still work via WPA2. Pure WPA3 deployments are still rare. The right strategy is to require WPA3 for sensitive SSIDs (corporate, restricted) while running mixed-mode for guest.

Should I prefer EAP-TLS or PEAP-MSCHAPv2?

EAP-TLS, always, for new corporate networks. The complexity is real (managing device certificates) but the security gap with PEAP-MSCHAPv2 is enormous and Microsoft has been signalling deprecation of NTLM-derived authentication in Windows networks for years.

Are MAC randomisation features a problem for me?

Modern Android/iOS randomise MACs per SSID, breaking MAC-allowlist controls. The right answer: do not rely on MAC allowlists for security; use 802.1X. MAC randomisation also has DPDP-relevant privacy benefits — collect minimal device info on guest networks.

How long should a WPA2 PSK be?

Long enough that offline brute force is computationally infeasible. 20+ characters of high entropy is the practical floor for WPA2-PSK. Better: switch to WPA3-Personal (SAE) where offline cracking is no longer the dominant threat. Best: WPA2/3-Enterprise with EAP-TLS and skip PSKs entirely.

Do I need wireless IDS or is the AP enough?

In a small office, AP-built-in detection covers most. In a large campus or sensitive site, dedicated wireless IDS (with sensors that observe but do not transmit) catches rogue APs, evil twins, and deauth attacks the production APs would miss. The cost is moderate; the value is regulator-defensible.

What about Wi-Fi 7 in India?

802.11be is shipping in 2025-2026 client devices; 6 GHz spectrum allocation is still in process with DoT/WPC. Initial enterprise deployments started in 2025 with 5 GHz-only Wi-Fi 7 to capture MLO benefits even before 6 GHz is officially available.

Is WPS still a problem?

Yes on consumer routers — WPS PIN brute-force (Reaver) still works on many SOHO devices. Enterprise APs typically have WPS disabled by default; verify in your audit. Treat enabled WPS as a finding.


⚖️ Legal: Use any techniques described here only on networks you own or have explicit written authorisation to test. In India, unauthorised access is punishable under IT Act §66 (up to 3 years + fine). Pair offensive testing with a signed Statement of Work / Rules of Engagement; pair forensic activity with §65B-aligned chain of custody.

Need a real pentest?

Get a VAPT scoping call

Senior practitioner-led VAPT — not a checklist run by juniors. CVSS-scored findings, free retest, attestation letter. India's SMBs and SaaS teams.

Book VAPT scoping call Replies in 4 working hrs · India-only · Senior consultants