What is an Evil Twin attack?
The Evil Twin is a rogue WiFi access point that impersonates a legitimate network by copying its name (SSID). Victims connect believing it's the real network — at a café, airport or office — and all their traffic passes through the attacker's device, which can spy on it, modify it, or steal credentials.
How is it carried out?
The attacker clones the target network's SSID and sometimes forces users off the legitimate network (deauth) so they reconnect to the twin, which usually broadcasts with a stronger signal. With a fake captive portal it can ask for the WiFi password or service credentials, phishing over the connection itself.
How to protect yourself?
Always use a VPN on public networks, verify the network's authenticity before connecting, disable auto-connect to known WiFi, and prefer HTTPS sites. In corporate environments, WPA2/WPA3-Enterprise with 802.1X and rogue access point detection systems (WIPS).
How it gets the device to connect by itself
Phones and laptops remember the networks they have joined and actively look for them. The attacker stands up an access point with the same name as a known network and, if the signal is stronger, many devices associate with no user action at all. In the more aggressive variants, deauthentication frames are sent to kick clients off the legitimate network and force a reconnection — and on reconnecting they pick the strongest signal, which is the attacker's.
What the attacker sees once connected
Controlling the gateway, they see all the metadata: which domains are visited, at what times, from which applications. Encrypted content stays protected, but they can try downgrading connections to HTTP, presenting a fake captive portal asking for corporate email credentials, or injecting content into whatever unencrypted traffic remains. The captive portal is the most effective part: nobody suspects a screen asking them to sign in to a hotel's Wi-Fi.
How to protect yourself in practice
Turn off automatic joining of open networks and delete saved ones you no longer use. Distrust any portal asking for corporate credentials in exchange for Wi-Fi. Use a VPN on networks that are not yours, which encrypts traffic end to end and makes it irrelevant who controls the gateway. And in corporate environments, WPA3 or WPA2-Enterprise with certificates, where the client verifies the server's identity and a rogue access point cannot complete authentication.



