Explore our new Cybersecurity Terms Glossary, explained by our experts.

View the Glossary View the Glossary
PRIVIA

Cybersecurity Terms Glossary

What Is an Evil Twin Attack?

An evil twin is a rogue wireless access point impersonating a legitimate network, so that clients associate with the attacker and hand over traffic, credentials, or enterprise authentication material.

Illustration for the cybersecurity term Evil Twin Attack
Home / Blog / Cybersecurity Terms / What Is an Evil Twin Attack?
17 November 2026

What Is an Evil Twin Attack?

What Is an Evil Twin Attack?

Wi-Fi clients identify networks by name. That is the whole weakness. An evil twin attack stands up an access point broadcasting the same SSID as a network the target trusts, usually with a stronger signal, and waits for devices to associate. Once they do, the attacker is the network: every unencrypted request, every DNS lookup, and every captive portal the user sees is under their control.

The hardware cost is negligible — a laptop with a second adapter, or a purpose-built device such as a WiFi Pineapple. The skill requirement dropped years ago with tools like hostapd-wpe, eaphammer, and wifiphisher, which script the whole sequence.

Running the Attack

  1. Reconnaissance. Capture beacons and probe requests to learn which SSIDs are present and, more usefully, which networks the surrounding devices are actively looking for.
  2. Impersonation. Broadcast a matching SSID. For open networks this is all that is needed; for protected ones the attacker matches the security configuration so the client sees a familiar profile.
  3. Displacement. Force existing clients off the real access point with a deauthentication attack, or simply out-shout it with transmit power and antenna gain.
  4. Harvest. Present a captive portal that asks for credentials, strip or downgrade TLS where the client allows it, and record everything else.

A variant known as a karma attack skips the first step. Devices with saved networks broadcast probe requests asking whether a particular SSID is nearby; the rogue access point answers yes to all of them, and clients configured to auto-join connect without any user action at all.

Enterprise Networks Are Not Immune

WPA2-Enterprise with 802.1X is often assumed to solve this, and it can — but only when configured correctly. In an EAP relay, the rogue access point presents itself as the corporate network and the supplicant begins authentication against it. With PEAP-MSCHAPv2, the attacker receives the challenge-response pair, which is then cracked offline with asleap or hashcat to recover the domain password. Nothing on the client indicates anything unusual.

What prevents it is certificate validation. The supplicant must be configured to verify the authentication server’s certificate, pin the issuing certificate authority, and refuse to prompt the user for exceptions. On Windows this is set through group policy; on managed mobile devices through the configuration profile. Where the organisation deploys EAP-TLS with client certificates, there is no password to relay in the first place.

What It Enables

Defences That Work

For organisations, the practical set is short. Deploy EAP-TLS or enforce server certificate validation with CA pinning across every managed device, including phones and tablets. Enable Protected Management Frames (802.11w) so clients cannot be forced off the real network. Run a wireless intrusion detection system — enterprise controllers from the major vendors will report a duplicate SSID broadcasting from an unknown radio, which is a high-fidelity alert. Use WPA3 where the estate supports it, and offer guest access as Wi-Fi Enhanced Open rather than a genuinely open network, so that traffic is encrypted even without a shared password.

For individuals, the advice is unglamorous but effective: turn off automatic connection to open networks, remove saved public SSIDs, use a VPN on untrusted Wi-Fi, and treat a portal that asks for a work password as hostile. Mobile data is almost always the safer option.

Rogue access point testing forms part of our Penetration Test Services, and in office environments it tends to be the exercise that produces the clearest evidence of how client devices are actually configured.

FAQ – Frequently Asked Questions

How Is an Evil Twin Different from a Rogue Access Point?

A rogue access point is any unauthorised access point attached to a network, often an employee’s own router plugged in for convenience. An evil twin is specifically an access point impersonating a known SSID in order to attract clients. The first is usually a governance failure; the second is a deliberate attack, although a rogue device can of course be used as one.

Does a VPN Protect Me on a Compromised Network?

Largely, yes. Once the tunnel is established, traffic is encrypted and authenticated end to end, so the operator of the wireless network sees only encrypted packets and destination endpoints. The gaps are the moments before the tunnel comes up, captive portal interactions, DNS requests that leak outside the tunnel, and any client that silently falls back when the VPN fails.

Can I Spot an Evil Twin as a User?

Not reliably. The SSID matches, the signal is often stronger, and modern tools reproduce captive portals convincingly. Clues include an unexpected certificate warning, a login page appearing on a network that never asked for one, and a sudden disconnection followed by reconnection. Because these are weak signals, the defence belongs in device configuration rather than user vigilance.

Why Does Certificate Validation Matter So Much for 802.1X?

Without it, the client authenticates to whichever server answers, which is exactly what an attacker needs for an EAP relay. With PEAP-MSCHAPv2 the captured challenge-response can be cracked offline to recover a domain password. Validating and pinning the authentication server’s certificate means the supplicant refuses to continue when the server is not yours, and the attack stops at that point.

Related Terms

You May Be Interested In These

What Is Open Policy Agent?

Cybersecurity Terms

17 November 2026

What Is Open Policy Agent?

Read More
What Happened in the MGM Resorts Attack?

Cybersecurity Terms

17 November 2026

What Happened in the MGM Resorts Attack?

Read More