Ahom Cybersecurity logo Ahom CybersecurityPlain-language security for people and small teams
Threats and Attacks

Evil Twin Wi-Fi Attacks and How to Spot the Fake

You sit down in an airport with forty minutes to kill and your phone has already joined something called Airport Free WiFi.

A phone screen in an airport lounge showing two wireless networks with almost identical names beside a laptop bag

You sit down in an airport with forty minutes to kill and your phone has already joined something called Airport Free WiFi. A page opens asking you to sign in with your email address and password, or with your hotel booking reference, and it looks about as rough as every real airport portal you have ever used. That is the whole trick. The page does not have to be convincing, because the genuine ones set the bar on the floor.

An evil twin is a wireless network that copies the name of one people trust, run from a laptop or a small battery powered box within a hundred metres of you. I have set one up in a lab for a training session, with equipment that cost less than a decent router, and the part that unsettled the room was not the technology. It was how little the phones cared which network they joined.

How an evil twin actually works

Nothing about the attack breaks encryption. It exploits a design decision from the 1990s that is still with us: a network name is just a text string a radio broadcasts, and nobody owns it. If a cafe calls its network Bean There Guest, anything nearby can call itself Bean There Guest too, and your phone has no reliable way to tell the difference.

From there it runs in three stages.

  1. Clone the name. The attacker scans for networks in the area, copies the name of a busy one, and broadcasts it with a stronger signal. Devices generally prefer the strongest signal with a known name, which is the behaviour the attack relies on.
  2. Get you off the real one. On older networks the attacker can send deauthentication frames, which are unencrypted management messages that tell your device the access point wants it gone. Your phone drops and reconnects, often to the clone. Hotels and airports also make this easy by running genuinely open networks, so there is no password for the fake to get wrong.
  3. Put something in front of you. Usually a captive portal that harvests whatever you type, sometimes a fake software update prompt, sometimes a DNS redirect that sends one specific domain to a copy. The attacker is the gateway, so every request passes through their machine.

Two protections have landed in the last few years and both matter. WPA3 makes protected management frames mandatory, which kills the deauthentication trick outright. WPA2 networks can enable the same protection, since it has existed as an optional standard since 2009, and most consumer routers still ship with it switched off. The catch is that none of this applies to open networks with no password at all, which is exactly where you are most likely to meet an evil twin.

What the attacker can and cannot see

Here is where I part company with most public Wi-Fi advice. You will still read that joining a cafe network lets strangers read your banking details and watch you type passwords. For a modern phone and a modern site, that is largely out of date, and repeating it does real harm, because people who try it once and come to no obvious harm stop listening entirely.

Somewhere above nine in ten page loads in the major browsers now run over HTTPS, and your banking app pins its own certificates. An attacker sitting in the middle of that traffic sees encrypted bytes. What they do get is still worth caring about:

  • Which sites you visit. DNS lookups and the server name in the opening handshake usually travel in the clear, so the domain names are visible even when the contents are not.
  • Anything you type into their own portal. This is the real prize. A sign in page served by the attacker is not interception, it is just a form, and people hand over a reused email password without hesitating.
  • A chance to push something at you. A full screen prompt claiming your browser or a plugin needs updating, delivered the moment you join, catches people who would never download that file at home.
  • Traffic from anything still using plain HTTP. Old smart devices, some printers, the occasional small forum, and firmware update checks that nobody looked at closely.

So the honest version is narrower and more useful. The danger on a hostile network is almost never someone reading your bank session. It is you typing a password into their page, or installing their file, or clicking through a certificate warning.

Checks that take ten seconds

None of these need an app. They are the ones I use myself.

Look at the list for duplicates. Two entries with the same name, or one with slightly different spacing or capitalisation, is the strongest signal you will get. Attackers often add a character or drop a space because an exact duplicate confuses their own setup.

Ask the staff for the network name and the password. Not because the password protects you from a well resourced attacker, but because a venue with a password at all is one where the clone has to work harder, and because you will find out whether the network called Cafe Guest Free actually belongs to the cafe. In my experience about a third of staff cannot answer immediately, which is itself informative.

Be suspicious of a portal that asks for a password. Legitimate captive portals ask you to accept terms, or for a room number, or for an email address they will never verify. A portal asking for your email password, your social account or a card number to confirm your identity is not a portal, it is a form built for you.

Never click through a certificate warning on a network you do not own. On a clean network that warning is rare. On a hostile one it is the sound of the trap closing. The page that looks almost right is the subject of our notes on spotting a fake site that copies a real one.

And watch for a network you have never joined connecting automatically. That means the name already sits in your saved list, which is why housekeeping matters.

What actually reduces the risk

Three habits do most of the work, and one popular recommendation does less than people think.

Turn off automatic joining for open networks, and clear out your saved list. On both iOS and Android the setting lives under the Wi-Fi options as a prompt before joining known networks. The saved list is the quiet problem: a phone that remembers a hotel network from 2022 will silently rejoin anything broadcasting that name for the rest of its life. I cleared thirty one entries off mine and kept four.

Use your own connection where you can. Tethering to your phone's mobile data costs a little battery and removes the entire class of attack. For anything involving money or account access in an airport, I would always rather spend the data.

Keep the device patched and refuse all prompts that arrive after joining a network. Updates come from your operating system when you ask for them, never from a page that appeared the second you connected.

The one I would downgrade is the VPN. A VPN is genuinely useful here, it hides your DNS lookups and the domains you visit from the network operator, and I run one on untrusted networks. But it does nothing at all about the thing most likely to hurt you, which is typing a real password into the attacker's captive portal, since you have to get through that portal before the tunnel can even come up. Sold as the answer to public Wi-Fi, it quietly replaces a habit that works with a product that only helps partially.

If you run the network in a small business

Being the venue changes your job. Set a WPA2 or WPA3 password on the guest network even if it is printed on every table, because an open network is an invitation. Enable protected management frames if your access point offers them, which removes the deauthentication step. Give the network a name specific enough that a duplicate is obvious, rather than something generic like Guest or Free WiFi. Keep guest traffic on its own isolated network so a compromised laptop cannot reach your till or your office machines.

Then tell your staff what the real network name and password are, and write them somewhere customers can see. A venue where everyone can confirm the name in three seconds is a bad place to run a clone. The same thinking applies to charging cables and public ports, which we covered in the piece on juice jacking and whether public USB chargers are safe. Other attacks worth recognising are collected in the threats section.

FAQ

How can I tell if a Wi-Fi network is fake?

Check for duplicate or near duplicate names in the list, ask the venue for the exact network name and password, and treat any portal that asks for a password or card details as hostile. A network you have never joined that connects by itself is also a warning, because it means the name was already saved on your device.

Can someone see my passwords on public Wi-Fi?

Not from encrypted traffic, which is nearly all of it on a current phone or browser. They can see the domain names you visit, and they can capture anything you type into a page they serve themselves. The risk sits in what you hand over voluntarily rather than in interception.

Does a VPN stop an evil twin attack?

Partly. It hides your lookups and traffic from the network operator, which is worth having. It does not protect you during the captive portal stage, before the tunnel is established, and that is where most victims give up a password. Treat it as one layer rather than the fix.

Is it safer to use mobile data than hotel Wi-Fi?

Yes, for anything sensitive. Mobile networks are not perfect, but they remove the possibility of a stranger nearby pretending to be your gateway. Tethering a laptop to your phone for ten minutes of banking is the simplest version of this and costs very little data.

TL
Tobias Lund

Tobias explains how networks, devices, and the tools that protect them work, aimed at people setting things up for the first time.

More posts by Tobias

More in Threats and Attacks

01doorganico 084goad 3hot8 4465456 after5internprogram ahandfulofblessings ahmadpc allodialresources annodex antiquesandperiodcollectibles aotc asianworldkashmir beedlectrics bloggertemplatefree bluefeatheragency bodyweightsolution campaign08blog carfixadvisor catstreetcollective cbstvsports cnfanspurchasing committeeof500yearsofdignityandresistance covertopsdjs cs-kaiyuangame cuestacomunicaciontotal cxoutlet dancebetgame deskgearhub destinyvillastay detectmagazine di33 diamondsteelbuildings donmo dyanadropship emarsysfinance emimattl escapechan eskitarih evautoplay everythingweddings-orlando farmzone feedviewerapp foxstudiosscratch gamevui123 gleasongrade greetingsday hacklabasu haskell iw-kaiyun jagoanproperti jilidskripsi joltbusinessfinance juegodepokergratis juegospucca kaeru-festival latestmehndidesigns lestanzediottaviano litemagazines localcommunityhero lustrsazan mariashebets menswheels newwebstechs1 nikkit ootheday oxigenvpn plurfitness prefetial probudgetcarpetcleaning psychicmrsmartin pyaten qvantor rejoignezlogis rexzbot riselayouts ruchin rwxqsgd5 sakaltime shibiaowang shop-bot skrtips spotlesshaven strcoding tetapatrium topselller uneplanteartificielle vipertechcr webtech1223411 wo-kygaming yamaha-mekar yeknava yoybuysheets zenunwa yamaha-mekar jilidskripsi ankertoto ankertoto ankertoto