Skip to main content
ThreatsSIEMFirewall

What is Evil Twin Attack?

An evil twin attack is a rogue Wi-Fi access point set up to look like a legitimate one, using the same network name (SSID) so nearby devices connect to it. The attacker then sits between the victim and the internet to capture credentials or traffic. MITRE ATT&CK tracks it as Adversary-in-the-Middle: Evil Twin (T1557.004).

Definition

Evil Twin Attack
An evil twin attack is a rogue Wi-Fi access point set up to look like a legitimate one, using the same network name (SSID) so nearby devices connect to it. The attacker then sits between the victim and the internet to capture credentials or traffic. MITRE ATT&CK tracks it as Adversary-in-the-Middle: Evil Twin (T1557.004).

How Evil Twin Attack Works

How the attack works

The attacker needs a radio, a copy of a network name people trust and a reason for devices to prefer the copy. A portable device is enough, and a Wi-Fi Pineapple, which MITRE describes as a security auditing and penetration testing tool, makes it easier. Your own penetration testers may use the same kit, so check the test calendar before you treat a new rogue radio as hostile. MITRE's description of T1557.004 gives the two ways to win the preference: broadcast a stronger signal than the real access point, or block access to it so devices have nowhere else to go.

What happens next depends on how the real network is secured.

  • An open network, or a venue with a login page. The twin shows a captive portal and asks for an email and password, or a social media login. The victim types the credentials into the attacker's page, which makes it phishing with a radio attached.
  • A network secured with 802.1X (WPA2-Enterprise). The device authenticates against a RADIUS server, and the twin runs its own. Microsoft's documentation is direct about the risk: if the client does not validate the server certificate, it cannot be sure which server it is talking to, and "might unknowingly connect to a rogue network." If no RADIUS server name is configured in the Wi-Fi profile, the client only checks that the certificate chains to a trusted root, so the twin needs a certificate from any trusted root, not from yours.
  • Anything else the victim does next. Once traffic goes through the attacker, ATT&CK lists network sniffing, transmitted data manipulation and input capture as the follow-on behaviors.

Forged management frames are a common way to push a client off the real access point, and Protected Management Frames (PMF) address that. The Wi-Fi Alliance describes them as protection against forging, and says PMF is required for all newly certified devices. They do not stop a victim from choosing the twin on their own, which is why the 802.1X server check matters more.

Real cases, with the frequency in perspective

ATT&CK records that APT group APT28 has used a Wi-Fi Pineapple to set up evil twin Wi-Fi poisoning to capture victim credentials or plant espionage-oriented malware. In 2024 the Australian Federal Police charged a man for allegedly running evil twin networks on domestic flights and at airports in Perth, Melbourne and Adelaide, with fake login pages that asked for email or social media credentials. Airline employees had reported the activity in April 2024. BleepingComputer's coverage also quotes a researcher who calls the attack easy to run in a lab and rarely seen in the wild. Treat it as low frequency and high impact: not a daily alert, but one you need a procedure for when a traveling executive or a branch office reports a strange Wi-Fi login page.

What a SOC can see

Evil twin detection is mostly on the wireless side and the endpoint, not in the SIEM. Three views help, from closest to the radio outward.

  1. The wireless controller. A wireless intrusion prevention system (WIPS) is the technical mitigation ATT&CK lists for this technique (M1031, Network Intrusion Prevention; the other is M1017, user training). The analytic MITRE attaches to T1557.004 looks for a rogue access point broadcasting the same SSID as a legitimate one with a stronger signal, unexpected MAC or BSSID values, or inconsistent encryption settings. Every controller names these alerts differently, so the logic is portable and the query is not.
  2. The endpoint scan. On Windows, netsh wlan show networks mode=bssid adds the BSSID, signal strength, channel and radio type for each visible network, according to Microsoft's wireless troubleshooting guide. That is enough to compare what a user sees against your access point inventory.
  3. The sign-ins that follow. The harvested credentials get used. That use is visible in your identity logs even when the radio side is not.

Simulated example generated by SOCSimulator Research. BSSIDs and names are invented. A user reports a login page on the office Wi-Fi, and the scan from their laptop shows this:

SSID 1 : CORP-WiFi
    Network type            : Infrastructure
    Authentication          : WPA2-Enterprise
    Encryption              : CCMP
    BSSID 1                 : 3c:28:6d:1a:40:01
         Signal             : 62%
         Radio type         : 802.11ac
         Channel            : 36
    BSSID 2                 : 3c:28:6d:1a:40:02
         Signal             : 48%
         Radio type         : 802.11ac
         Channel            : 149
 
SSID 2 : CORP-WiFi
    Network type            : Infrastructure
    Authentication          : Open
    Encryption              : None
    BSSID 1                 : 9a:77:c1:5e:20:b3
         Signal             : 94%
         Radio type         : 802.11n
         Channel            : 6

Read three things in order of weight. The same name is offered with different security: the real network is WPA2-Enterprise and the other one is open, and MITRE lists inconsistent encryption settings among the signs. The second BSSID is not in the inventory: your two radios share the 3c:28:6d prefix, while 9a:77:c1 is a different one. Managed access points from one vendor often share that prefix, so a different one is a quick first filter and not proof. And the signal is the strongest in the room at 94%, where your own radios read 62% and 48%. Any one of the three has a boring explanation. All three together is an evil twin until the network team shows otherwise.

Next, check whether the credentials are already in use. This pivot lists successful sign-ins by the reporting user from addresses they have not used in the last 30 days.

// Successful Entra ID sign-ins in the last day from IPs this user has not used in the previous 30 days
let reportedUser = "m.silva@contoso.example";
let knownIps = SigninLogs
| where TimeGenerated between (ago(30d) .. ago(1d)) and UserPrincipalName =~ reportedUser
| distinct IPAddress;
SigninLogs
| where TimeGenerated > ago(1d) and UserPrincipalName =~ reportedUser and ResultType == "0"
| where IPAddress !in (knownIps)
| project TimeGenerated, UserPrincipalName, IPAddress, Location, AppDisplayName, AuthenticationRequirement
| order by TimeGenerated desc

The query follows the documented SigninLogs schema and has not been run against a live workspace by SOCSimulator. A new address alone is weak, because people travel. A new address minutes after the Wi-Fi incident, with AuthenticationRequirement showing single-factor authentication, is the case where you revoke sessions and reset the password. With MFA enforced, a harvested password alone does not get in.

Closing the gap

  • Make the device check the server. On managed Windows devices, set the RADIUS server names and the trusted root in the Wi-Fi profile, so a certificate from any public CA does not satisfy the check.
  • Run wireless intrusion prevention or the rogue detection your controller offers, and alert on an SSID of yours that appears with another BSSID or another security type.
  • Tell users what the attack looks like: ATT&CK suggests training them to distrust access points marked Open or Unsecure and to take certificate errors seriously.
  • Layer the controls, as defense in depth says, and do not trust the network a device is on. Treat any Wi-Fi as hostile and rely on identity, device health and encryption above it, which is the zero trust position.

Evil Twin Attack in SOC Operations

Evil twin cases arrive as a user story, not as an alert. Someone on a trip says the hotel Wi-Fi asked for their work password, or a branch office sees a login page that was not there yesterday. Your first move is to get facts the user cannot give you: which SSID, which security type, which BSSID, where they were standing. A scan with netsh wlan show networks mode=bssid pasted from their laptop answers most of that. Then split the work in two. The network team confirms or rules out a rogue radio against the access point inventory. You go to the identity side and check whether the credentials the user typed have been used from a new address, revoke sessions, reset the password and look for mailbox rules or new MFA methods. If the device did the 802.1X handshake without validating the server certificate, the password it sent is exposed too, so reset that account even if the user remembers nothing odd.

Free

Practice Evil Twin Attack in a Real SOC

SOCSimulator provides hands-on training with realistic SIEM, XDR, and Firewall interfaces. Build real analyst skills investigating evil twin attack scenarios with zero consequences, free.

Frequently Asked Questions

What is a rogue access point and how is it different from an evil twin?
A rogue access point is any wireless access point you did not authorize, such as a router an employee plugged into a wall port. An evil twin is a rogue access point that copies a specific legitimate network's name so devices join it on purpose. Not every rogue access point is a twin, and a twin does not need to touch your wired network at all.
How do you detect a rogue access point or an evil twin?
Compare what you see with what you expect. The same network name offered with different security, a BSSID that is not in your access point inventory, and a signal that is stronger than your own radios in that spot are the signs MITRE lists. On Windows, netsh wlan show networks mode=bssid shows the BSSIDs and signal strengths. A login page where there never was one is also a warning.
How do you prevent evil twin attacks?
On the network side, use 802.1X with a certificate-validated RADIUS server and wireless intrusion prevention that flags your SSID on an unknown BSSID. On the device side, name the RADIUS servers and the trusted root in the Wi-Fi profile, so a certificate from any public CA is not accepted, and use MFA so a stolen password is not enough. Train users to distrust open networks and certificate errors.

Sources

More Threats Terms

Career Path

Threat Hunter Career Guide: Salary & Skills

Threat Hunters do not wait for alerts. You develop hypotheses based on threat intelligence and adversary behavior models…

Read more
Career Path

Incident Responder Career Guide: Salary & Skills

Incident Responders lead the technical response when confirmed breaches happen. You coordinate containment, run forensic…

Read more
Career Path

SOC Analyst (Tier 2) Career Guide: Salary & Skills

Tier 2 SOC Analysts handle the investigations that Tier 1 escalates. You dig into multi-stage attacks, coordinate contai…

Read more
Comparison

SOCSimulator vs Hack The Box: Comparison

Different tools for different career paths. SOCSimulator trains defensive analysts. Hack The Box trains offensive securi…

Read more
Tool

SIEM Training Console: SOCSimulator

The SIEM console in SOCSimulator replicates the workflow of enterprise platforms like Splunk Enterprise Security, Micros…

Read more
Tool

Firewall Training Console: SOCSimulator

The Firewall console in SOCSimulator replicates the log analysis experience of enterprise platforms like Palo Alto Netwo…

Read more
Technique

MITRE ATT&CK® Techniques: Detection Training Library

Browse all MITRE ATT&CK® techniques with detection strategies and example alerts.

Read more
Career Path

Cybersecurity Career Paths: 2026 Guide

Explore SOC analyst career paths with salary data, required skills, and certification roadmaps.

Read more
Playbook

SOC Investigation Playbooks: Step-by-Step Guides

Practitioner investigation playbooks with decision trees and real SIEM queries.

Read more
Feature

Shift Mode: Real-Time SOC Simulation

Practice alert triage under realistic time pressure with SLA timers and noise injection.

Read more
Feature

Operations: Guided Training Operations

Structured CTF-style investigation operations covering real-world attack scenarios.

Read more
Blog

SOCSimulator Blog: Security Training Insights

Articles on SOC analyst skills, detection engineering, and career development.

Read more