Course contentsShow
← Security
Lesson 534 of 3,05212. Network Security - WirelessFree lesson

Evil Twin Attacks: Mechanics and Execution

How attackers create fake APs mimicking legitimate networks to intercept traffic and capture credentials from unsuspecting users.

Evil Twin Attacks: Mechanics and Execution

What you'll learn: How attackers impersonate legitimate wireless networks to steal your credentials and intercept your traffic.

An evil twin attack takes the concept of a rogue access point (which you just learned) one step further: instead of simply adding an unauthorized AP, the attacker creates a fake copy of a legitimate network. Think of it like a phishing email, but for Wi-Fi—it looks exactly like the real thing, but it's controlled by a malicious actor.

How Evil Twin Attacks Work

The attacker sets up a wireless access point with the same SSID (network name) as a trusted network—perhaps "CompanyWiFi" or "Starbucks_Guest." To make victims connect, attackers often:

  1. Broadcast a stronger signal than the legitimate AP, causing devices to automatically prefer the fake network
  2. Deauthenticate users from the real AP using techniques you've learned, forcing reconnection to the stronger evil twin
  3. Position physically close to targets in cafes, airports, or outside office buildings

Once connected, the victim's traffic flows through the attacker's device. The attacker can:

  • Capture credentials when users log into websites (especially unencrypted HTTP)
  • Perform man-in-the-middle attacks to intercept sensitive data
  • Serve fake login portals (captive portals) harvesting usernames and passwords
  • Inject malicious content into web traffic

Why It's Effective

Users rarely verify they're connecting to the right access point—they just see a familiar network name. Many devices automatically reconnect to previously trusted SSIDs, making evil twins nearly invisible to casual users.

Key Takeaway: Evil twin attacks exploit trust in network names by creating identical fake access points that intercept all victim traffic, enabling credential theft and man-in-the-middle attacks through familiar-looking SSIDs.