An evil twin attack is a Wi-Fi attack in which a hacker creates a fake access point that copies a legitimate network's name (SSID) to trick people into connecting. Once connected, the attacker can see, intercept, or alter the victim's traffic, steal logins, or serve fake login pages. The best defenses are to confirm the exact network name with staff, avoid unsecured networks, use a VPN, and turn off auto-connect.
Key takeaways
- An evil twin copies a real Wi-Fi network's name and often broadcasts a stronger signal.
- Once connected, the attacker sits in the middle of your traffic and can steal logins or serve fake pages.
- Confirm the exact network name with staff, use a VPN, and turn off auto-connect on public Wi-Fi.
You sit down in a coffee shop, open your laptop, and see the Wi-Fi name you expect. You connect, order your drink, and get to work. Nothing looks wrong — and that is the problem. The network you joined may not be the coffee shop's at all.
What is an evil twin attack?
An evil twin attack is a Wi-Fi-based cyberattack where a hacker creates a counterfeit wireless access point that mimics a legitimate public network. The fake network uses the same name — the SSID — as the real one, so your device cannot tell them apart.
Once you connect, the attacker sits in the middle of your traffic. They can see what sites you visit, intercept unencrypted data, redirect you to fake login pages, and in some cases inject malware. Because the connection itself works normally, most victims never notice anything happened. Okta's evil twin explainer notes that these attacks are easy to execute with off-the-shelf tools and nearly invisible to victims.
That combination — cheap to run, hard to spot — is why evil twins remain a standard tool for attackers in airports, hotels, cafes, and conference venues.
How does an evil twin attack work?
An evil twin attack usually follows four steps. Understanding them shows you exactly where you can break the chain.
1. Scout the real network
The attacker visits the location — a cafe, airport lounge, or hotel lobby — and notes the real network's name, whether it asks for a password, and what its captive portal page looks like. All of this is visible to anyone in range.
2. Clone it with a stronger signal
Using a laptop or a small portable router, the attacker broadcasts a network with the identical SSID, often at a stronger signal than the real access point so devices prefer it. They may also copy the captive portal, the login page that appears after you connect.
3. Lure victims onto the fake network
Devices that have joined the real network before may connect automatically to the twin. Others pick it from the list because it looks identical and has the strongest signal. Some attackers add deauthentication frames that knock devices off the real network, so they reconnect — to the twin.
4. Intercept, redirect, or steal
Once traffic flows through the attacker's access point, they can read anything sent without encryption, redirect victims to fake versions of real sites, and harvest credentials typed into fake login pages. HTTPS limits what they can read on properly encrypted sites, but a fake site with its own certificate can still trick a victim into handing over a password.
How do you spot an evil twin attack?
Evil twins are designed to be invisible, but they leave clues. No single clue proves anything — two or more together should make you disconnect.
- Two networks with the same name. If you see the cafe's Wi-Fi listed twice, or a name with a small variation, one of them is fake. Legitimate venues rarely run two identical networks.
- An unsecured network where you expected security. If the real network asks for a password and the one you see does not — or your device says "unsecured network" — stop.
- A captive portal asking for too much. A real portal asks you to accept terms or enter a room number. A fake one may ask for a payment card for a free network, an account password, or ask you to install something.
- Certificate warnings. If your browser suddenly warns about a site's certificate on a network you just joined, treat it as a stop signal, not a formality.
- Your device disconnects and reconnects on its own. Repeated drops can mean someone is forcing devices off the real network to push them onto a twin.
- An unusually strong signal. A network that is far stronger than the others in the room may be an attacker sitting nearby with a powerful antenna.
The single most reliable check is also the simplest: ask staff for the exact network name and login steps before you connect. CISA's guidance for electronic devices gives exactly this advice — confirm the name of the network and exact login procedures with appropriate staff to ensure that the network is legitimate.
Evil twin vs rogue access point vs man-in-the-middle
These terms overlap, and the distinction helps you understand what you are defending against.
| Attack | What it is | How it differs |
|---|---|---|
| Evil twin | A fake access point copying a real network's name | Impersonates a specific, known network |
| Rogue access point | Any unauthorized access point on a network | Broader term; an evil twin is one kind of rogue AP |
| Man-in-the-middle | An attacker sitting between you and your destination | The general technique; an evil twin is one way to get there |
| Wi-Fi sniffing | Passively listening to traffic on a shared network | No fake network needed; works on the real open network |
An evil twin is dangerous because it combines impersonation with interception: you chose the network yourself, so you have no reason to be suspicious, while the attacker controls the route your traffic takes.
What can an attacker do on an evil twin network?
What the attacker can steal depends on how the traffic is protected. It helps to be precise about the limits, because both panic and complacency are wrong.
- Unencrypted traffic is fully readable. On many public access points, traffic is sent in the clear, and sniffing tools can capture passwords or card numbers from traffic that is not encrypted.
- HTTPS protects real sites. When you visit a genuine HTTPS site, the content is encrypted between your browser and the real server. The evil twin operator can see which site you visited, but not the page contents or the password you typed.
- Fake sites bypass that protection. The FTC warns that scammers create fake websites and encrypt them to make you think they are safe. A padlock means the connection is encrypted, not that the site is honest.
- Session and DNS attacks are possible. An attacker controlling the network can steer you to a fake site, tamper with downloads, or try to strip HTTPS from your connection.
The practical upshot: HTTPS makes casual browsing on public Wi-Fi reasonably safe, which is why the FTC says connecting through a public Wi-Fi network is usually safe. But logging in to a bank, work email, or any account you care about on a network you have not verified is still a risk CISA advises against.
How do you protect yourself from evil twin attacks?
Protection is a short list of habits. None of them is hard, and together they close almost every path an evil twin uses.
Verify before you connect
Ask a member of staff for the exact network name and password. This one step defeats most evil twins, because the fake network almost never matches the real name exactly — or the staff member will tell you the real network is down, which is itself a warning.
Use your own connection for anything sensitive
CISA advises against using open Wi-Fi networks to conduct personal business, bank, or shop online, and says that if you must check your bank balance while traveling, you should turn off Wi-Fi and use your mobile device's cellular data instead. A personal hotspot is the safest option of all.
Use a VPN on public Wi-Fi
A VPN encrypts your traffic before it leaves your device, so the operator of a fake network cannot read it even though the traffic passes through them. Keep the VPN on from the moment you connect, and check for leaks with our free WebRTC leak test.
Turn off auto-connect and file sharing
Disable auto-connect so your device never joins a familiar-looking network without your approval, and turn off file sharing on public networks. CISA warns that an unsecured public network combined with file sharing could let a malicious user reach files you shared by mistake.
Stick to HTTPS and use two-factor authentication
Only enter credentials on sites showing the lock and "https", and turn on two-factor authentication on your important accounts. Even if an attacker captures a password, a second factor can stop them using it. For the full picture on securing your own network, read our guide to securing your Wi-Fi.
How should businesses defend against evil twins?
If you run a venue or an office, your customers and staff are the targets — and your brand is the one being impersonated. Three controls matter most.
- Wireless intrusion detection. A WIDS or WIPS watches for unauthorized access points broadcasting your SSID and can alert you or disconnect them automatically. CISA's Wi-Fi guidance recommends deploying one on every network, even when you do not offer wireless access.
- WPA3 or WPA2-Enterprise. Enterprise authentication ties each user to their own credentials and makes cloning the network far harder than a shared-password or open network.
- Clear signage. Tell customers the exact network name at the counter and on table cards. A customer who knows the real name is much harder to fool.
For a wider starting point, our small business cybersecurity checklist covers wireless security alongside backups, updates, and device security.
What should you do if you connected to an evil twin?
If you realize you may have joined a fake network, act quickly. The window for damage is short, and the fixes are simple.
- Disconnect immediately and tell your device to forget the network so it never rejoins automatically.
- Change the passwords of any accounts you used while connected, starting with email and banking, from a trusted connection.
- Check for new sessions and forwarding rules in your email account, and sign out of all sessions.
- Turn on two-factor authentication anywhere it was missing.
- Watch your accounts and credit reports for unusual activity over the next few weeks, and report fraud to your bank and to the FTC if money was lost.
The bottom line
An evil twin works because public Wi-Fi asks you to trust a name on a list, and anyone can broadcast any name. The fix is not to fear every hotspot — it is to verify the name, prefer your own connection for anything sensitive, and keep a VPN and two-factor authentication switched on.
Before your next trip, turn off auto-connect, forget the old hotel and airport networks, and check your connection for leaks with the free WebRTC leak test.
Frequently asked questions
What is an evil twin attack?
An evil twin attack is a Wi-Fi attack where a hacker sets up a fake access point that mimics a legitimate network, using the same name (SSID). Victims connect thinking it is the real network, and the attacker can then see or alter their traffic.
How can you tell if a Wi-Fi network is an evil twin?
Watch for two networks with the same or nearly identical name, an unsecured network where you expected a secured one, a captive portal asking for unusual personal details, or sudden certificate warnings. When in doubt, ask staff for the exact network name.
Can an evil twin attack steal my passwords?
Yes, if you log in to a site without HTTPS, or if the attacker serves you a fake login page. On properly encrypted HTTPS sites your password is protected in transit, but a fake site can still trick you into typing it in.
Does a VPN protect against evil twin attacks?
A VPN helps a lot: it encrypts your traffic before it leaves your device, so the operator of a fake network cannot read it. It does not protect you if you type your password into a fake website, so a VPN is one layer, not a complete fix.
Is public Wi-Fi safe at all?
The FTC says connecting through a public Wi-Fi network is usually safe today because most websites encrypt data with HTTPS. CISA is stricter: it advises against banking, shopping, or sensitive work on public Wi-Fi, and says a mobile connection is generally more secure.
What is the difference between an evil twin and a rogue access point?
A rogue access point is any unauthorized access point added to a network without the administrator's knowledge. An evil twin is a specific kind of rogue access point that copies a real network's name to lure victims.
What should I do if I connected to an evil twin?
Disconnect immediately, forget the network, change the passwords of any accounts you used while connected, turn on two-factor authentication, and watch your accounts and credit reports for unusual activity.
Can my phone auto-connect to an evil twin?
Yes. If your phone has connected to a network name before, it may reconnect automatically to any network broadcasting the same name — including a fake one. Turning off auto-connect and forgetting old public networks prevents this.
Sources
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against CISA's guidance on public Wi-Fi and electronic devices, and Okta's and Norton's evil twin explainers.
How we write and fact-check →