00->1
Learning pathStep 41 of 62Network attacks and defence ← All writeups

Evil Twin Wi-Fi Attacks, Explained

If you are reading this, you have probably been told "do not use public Wi-Fi" or heard about fake hotspots at airports and cafés, and you want to know exactly how an evil twin works, what the attacker gets, and what actually protects you.

By the end you will be able to define an evil twin, tell it from a rogue access point, explain why devices connect to it, describe what an attacker can do with it, recall a real case, spot the warning signs, and apply the right defences whether you are a traveller, a business owner or a network administrator. It builds on Spoofing and MITM, and it connects to Deauthentication Attacks and the Wi-Fi section of Handshakes.


1. What an evil twin is

CISA's guide to securing wireless networks describes it this way: "In an evil twin attack, an adversary gathers information about a public network access point, then sets up their system to impersonate it. The adversary uses a broadcast signal stronger than the one generated by the legitimate access point; then, unsuspecting users connect using the stronger signal." Because the victim's connection goes through the attacker's system, "it's easy for the attacker to use specialized tools to read any data the victim sends over the internet."

MITRE ATT&CK lists it as technique T1557.004, Evil Twin, a form of adversary-in-the-middle: attackers "host seemingly genuine Wi-Fi access points to deceive users into connecting to malicious networks", spoof legitimate network names, use stronger signal strength, and may use fake login pages to collect credentials. Wikipedia's definition: a fraudulent Wi-Fi access point that appears legitimate but is set up to eavesdrop on wireless communications.

The name is the whole idea: a twin that looks the same as the genuine network (same name, similar page), and evil because it is run by an attacker.

The key fact: a name proves nothing

A Wi-Fi network announces itself with a name, the SSID, such as Airport_Free_WiFi. Anyone can broadcast any name. Your phone sees a name and a signal, and often decides on that basis alone. On an open network there is no step in which the access point proves who owns it.


2. Evil twin and rogue access point

The two terms overlap, and people use them loosely. A useful way to separate them:

Rogue access point Evil twin
What it is An access point that is not authorized to be on the network or in the area An access point that imitates a specific legitimate network
Typical aim NIST SP 800-153: it can give "a backdoor into the wired network, bypassing perimeter security mechanisms, such as firewalls", and clients that connect to it can have their communications viewed and manipulated Lure users who want a particular network, to eavesdrop and harvest credentials
Who is fooled The organization's security perimeter, and users Users
Can it be both? Yes. NIST's example of a rogue AP is one "configured to appear as part of an organization's WLAN infrastructure", which is also an evil twin

MITRE's mitigation advice treats them together: use wireless intrusion prevention to "scan for evils [sic] twins and rogue access points."


3. How an evil twin attack works

  1. Pick a target network. A busy public one is ideal: an airport, a café, a hotel, a conference, or a company office.
  2. Copy the name. The attacker's equipment broadcasts the same SSID. Small portable devices can do this. MITRE mentions tools such as the Wi-Fi Pineapple.
  3. Be the best signal. A stronger signal nearby makes devices prefer the twin.
  4. Wait, or push. Phones and laptops remember networks they have joined and connect automatically. Wikipedia notes attackers may also run denial-of-service attacks on the genuine access point to push clients toward the fake one (see Deauthentication Attacks).
  5. Present a trap. MITRE describes users encountering fake login pages that harvest credentials. The Australian Federal Police (AFP) say victims in a recent case were sent to fake login pages asking them to sign in with an email or social media account.
  6. Relay or collect. The attacker can monitor victims' traffic while passing it on to the real network, or simply capture what is typed and then claim the network is unavailable, as Wikipedia describes.

What the attacker can get

Target How
Passwords and logins Fake sign-in pages, or capturing unencrypted traffic
Session cookies and unencrypted data CISA: "any data the victim sends" over a plain connection
Control of traffic Redirecting to fake sites, injecting content (MITRE says users may see malware injected)
Corporate credentials On company networks, a twin of the staff Wi-Fi can target the sign-in itself (section 6)

HTTPS limits the damage: the attacker can see that you connect to a site but not what you send. But a fake login page is a different problem, because you hand over the password. That is why the defences include more than HTTPS.


4. A real case: airports and flights (Australia, 2024 to 2025)

The AFP's own descriptions of the case:

  • In April 2024 an airline reported concerns after its employees identified a suspicious Wi-Fi network during a domestic flight.
  • On 19 April 2024, investigators searched a man's baggage at Perth Airport and seized a portable wireless access device, a laptop and a phone.
  • The AFP said he had created "evil twin" free Wi-Fi networks that mimicked legitimate ones, and identified data relating to fake Wi-Fi pages at airports in Perth, Melbourne and Adelaide, on domestic flights, and at locations linked to his previous employment.
  • When people connected they met fake login pages asking them to sign in. By entering credentials, victims let him access their accounts, and he then "unlawfully accessed social media and other online accounts" to steal private images and videos.
  • He was charged on 28 June 2024 and, according to the AFP, sentenced on 28 November 2025 to seven years and four months' imprisonment, with eligibility for parole after five years.

The AFP described the device as a WiFi Pineapple. The lesson is how ordinary it was: a small portable device, a familiar-looking free network name, and a sign-in page.


5. How to tell

Sign Why it matters
A free Wi-Fi network asks you to log in with your email or social media account AFP: to connect to a free Wi-Fi network you should not have to enter personal details such as logging in via email or social media
Two networks with the same name, or a network that appears where it should not (for example on an aircraft) One may be a twin. Airline staff noticed the suspicious network in the AFP case
The captive page looks different from last time, or asks for more than before The genuine one rarely changes
A certificate warning on a site you use A twin that relays traffic may fail to present a valid certificate (see MITM). MITRE advises treating "Open" or "Unsecure" networks and certificate mismatches with suspicion
A device joins a known network without asking when you did not expect it to Auto-connect to a remembered name
Administrators: the same SSID from an unexpected BSSID (access point hardware address), a stronger signal than known access points, or different encryption settings MITRE's detection advice for T1557.004

6. Defences

For everyone, on the road

AFP and CISA's advice, in order of strength:

Do this Why
Prefer your own mobile hotspot or mobile data over public Wi-Fi You control the network. NSA's guidance on wireless devices in public, as reported by Malwarebytes, says to use a corporate or personal Wi-Fi hotspot with strong authentication and encryption whenever possible
Confirm the network name and password with staff before connecting CISA: always confirm the name and password of a public Wi-Fi hotspot prior to use
Switch off Wi-Fi when you are not using it, and turn off auto-connect AFP: this prevents your device from connecting automatically to a hotspot. Also "forget" networks after using them (AFP and NSA both say so)
Do not do anything sensitive on public Wi-Fi (banking, shopping, sign-ins) AFP's advice
Use a reputable VPN AFP recommends one, and NSA's guidance, as reported, advises a VPN and HTTPS when secure networks are unavailable. It encrypts your traffic before it reaches the access point
Never sign in to a "free Wi-Fi" with your social or email account AFP: that should not be needed
Turn off file sharing AFP and CISA
Use HTTPS and heed certificate warnings See MITM
Use phishing-resistant multi-factor authentication A stolen password then cannot be used alone (see Authentication vs. Authorization)

For business and venue owners

Control Why
Tell customers exactly what your network is called, and how to connect They can compare what they see with what you published
Use WPA3 or WPA2 with encryption, not an open network, where practical CISA recommends WPA3 as currently the strongest encryption, with WPA2 acceptable
Remember what "open" and "Enhanced Open" mean The Wi-Fi Alliance says Enhanced Open provides unauthenticated data encryption: it keeps eavesdroppers out but does not prove the access point is yours
A password that everyone knows does not authenticate the venue Anyone who has seen the password on the wall can set up a twin that uses it

For network administrators

Control Source
Use 802.1X (WPA2/WPA3-Enterprise) and make clients validate the authentication server's certificate Microsoft's EAP documentation: if the server certificate is not validated, "the client can't be sure that it's communicating with the correct server" and "might unknowingly connect to a rogue network". It recommends turning off the prompt that lets users trust new servers, "to simplify the user experience and prevent users from mistakenly trusting a server deployed by an attacker". RFC 5216 (EAP-TLS) likewise expects the client to check that the server's certificate was intended for use as a server certificate
Deploy managed settings for Wi-Fi profiles (MDM or Group Policy) So devices connect only to your network name with your server certificate, rather than leaving it to users
Wireless intrusion detection and prevention (WIDS/WIPS) MITRE T1557.004 and NIST SP 800-153: detect rogue APs, impersonation and man-in-the-middle attempts; NIST recommends continuous monitoring and being able to locate a detected threat by triangulation
Enable protected management frames (PMF) WPA3 requires PMF, which protects deauthentication and disassociation frames once keys are established, so forged ones cannot easily be used to push clients away (see Deauthentication Attacks)
Train staff to report unknown SSIDs that copy yours Early warning
Encrypt traffic end to end (TLS, VPN) The network is untrusted by design
Periodic scans for rogue access points NIST: periodic assessments should use mobile WIDPS sensors or WLAN scanners to look for rogue WLANs

7. Common mistakes

Myth The facts
"If the Wi-Fi name looks right, it is right" Anyone can broadcast any name. The name does not authenticate the network
"A network with a password is safe" If the password is shared with everyone (a café, a conference), the attacker has it too
"HTTPS makes public Wi-Fi safe" It protects data in transit, not you from typing a password into a fake page, and not from a rogue root certificate
"A VPN solves everything" It encrypts your traffic to the VPN, but a fake captive portal can still capture what you type into it. Do not sign in to portals with real accounts
"Only hackers in films do this" The 2024 AFP case involved a small portable device and cost victims their accounts and private images
"Evil twin and rogue access point are the same" Related, not identical: a rogue AP is unauthorized; an evil twin imitates a specific network
"My phone will warn me" Phones usually connect automatically to a remembered name. Turn off auto-join where you can
"Enterprise Wi-Fi is automatically immune" Only if the clients check the server's certificate. If they do not, an impostor can collect their credentials

Closing

An evil twin is a fake Wi-Fi access point that copies a real network's name and tries to be the strongest signal, so that devices connect to it and the attacker can watch or steal what passes through. It works because networks are recognised by a name that anyone can copy, and because devices auto-connect. The real 2024 Australian case shows how simply it can be done. Defence is layered: avoid untrusted networks, turn off auto-connect, use a VPN and HTTPS, never sign in to a free Wi-Fi portal with a personal account, and for organizations use 802.1X with certificate validation, protected management frames and wireless intrusion prevention.

Keep these points:

  • Evil twin = fake access point copying a real network's name (MITRE T1557.004).
  • A network name is not proof of identity.
  • Rogue AP = unauthorized AP. An evil twin is a rogue AP that imitates a network.
  • Turn off auto-connect, use your own hotspot or a VPN, and avoid sensitive tasks on public Wi-Fi.
  • A free Wi-Fi that asks for your email or social login is a warning sign.
  • Enterprises: 802.1X with server-certificate validation, PMF, and WIDS/WIPS.