Evil Twin Attack Techniques and Tools
You'll learn: Practical methods and tools for creating fake access points that impersonate legitimate networks to intercept credentials and data.
The Core Mechanics
An evil twin attack requires you to set up a convincing fake access point (AP) with the same SSID as the legitimate network. Think of it as opening a fake coffee shop with the exact same name as the real one next door—unsuspecting customers walk into yours instead.
The attack workflow typically involves:
- Deauthenticating clients from the real AP (forcing disconnect)
- Broadcasting your evil twin with stronger signal or better positioning
- Capturing handshakes or credentials when victims reconnect
Primary Tools
airbase-ng creates a fake AP and can be configured to mimic any network:
- Sets SSID, channel, and MAC address
- Captures authentication attempts
- Works with other aircrack-ng suite tools for deauth attacks
hostapd is a more feature-complete solution:
- Full-fledged AP daemon with robust configuration
- Supports WPA2-Enterprise for enterprise network impersonation
- Better stability for longer-term attacks
Captive Portal Attacks
The most effective evil twins use captive portals—those login pages you see at airports or hotels. When victims connect, they're redirected to a fake login page requesting Wi-Fi credentials, email passwords, or payment information. Tools like wifiphisher automate this entire process, including phishing page templates and credential harvesting.
The harvested data gets logged for the attacker's later use, while victims believe they've simply logged into the real network.
Key Takeaway: Evil twin attacks combine fake APs (airbase-ng/hostapd), deauthentication, and captive portals to trick users into revealing credentials—making them powerful social engineering tools that exploit user trust in familiar network names.