Evil-twin / rogue-AP attacks (Tier 1) — cloning an ESSID, luring clients (deauth-to-rogue or probe-response), captive-portal credential harvesting, and post-association MITM. Requires AP-capable hardware; deauth and rogue APs impact availability and are strictly RoE-gated. Use to test client-side Wi-Fi trust and user credential handling.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Evil Twin?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-evil-twin)
---
name: evil-twin
description: Evil-twin / rogue-AP attacks (Tier 1) — cloning an ESSID, luring clients (deauth-to-rogue or probe-response), captive-portal credential harvesting, and post-association MITM. Requires AP-capable hardware; deauth and rogue APs impact availability and are strictly RoE-gated. Use to test client-side Wi-Fi trust and user credential handling.
---
# Evil-Twin / Rogue AP
An evil twin impersonates a trusted SSID to capture credentials or MITM traffic. High collateral risk (deauth, impersonation) — only with explicit RoE, minimized scope, and never affecting out-of-scope clients.
## Trigger phrases
`evil twin, rogue ap, captive portal, fake ap, karma, mana, wifi phishing, deauth to rogue, bettercap wifi`
## Pre-reqs & hardware
AP-capable + monitor-mode adapter(s) (often two: one for AP, one for deauth), `eaphammer`, `hostapd-mana`/`hostapd`, `bettercap`, `wifiphisher`, `dnsmasq`. RoE gate: confirm rogue-AP + deauth + credential-harvest are authorized in writing before proceeding; log start/stop times.
## Method
1. **Pick a target ESSID** (from `wifi`/probe-request harvest). Clone exact ESSID (and BSSID if needed).
2. **Stand up the rogue AP:**
- Open/captive: `wifiphisher` (templated captive portals), or `hostapd`+`dnsmasq`+a portal.
- KARMA/MANA (respond to any probe): `hostapd-mana`/`eaphammer --mana` to catch clients seeking known networks.
3. **Lure clients (RoE-gated):** targeted deauth of real AP (→ `deauth-disassoc`) to push clients to the rogue; or rely on stronger signal/MANA. Blocked by 802.11w/PMF on the real AP (clients may still roam to open rogue).
4. **Harvest / MITM:**
- Captive portal → credential/"Wi-Fi password"/corporate-login phishing page (`wifiphisher` templates).
- Post-association MITM with `bettercap` → sslstrip-style downgrade, DNS spoof, credential/cookie capture, inject.
- Enterprise variant → `wpa-enterprise` (EAP capture).
5. **Scope discipline:** restrict by target client MAC where possible; shut down immediately after proof.
## Modern / rare techniques
- **[NEW] MANA/known-beacon attack**: broadcast beacons for SSIDs in clients' preferred-network lists to auto-lure without deauth.
- **[RARE] Captive-portal "update/login" phishing** tailored to the org's branding — tests user awareness + credential reuse.
- **[NEW] Downgrade to open on WPA3-transition** clients that will join an open twin.
## Bypass / evasion
PMF stops deauth-based luring — use stronger signal, MANA/known-beacon, or band steering. HSTS limits sslstrip — target non-HSTS hosts / use DNS spoof to captive portal.
## Escalation / chaining
Harvested Wi-Fi/corporate creds → `network-pentest`/`active-directory`. MITM'd sessions → `web-auth-session`/token theft. Enterprise EAP → `wpa-enterprise`.
## Backend & tooling
Native Kali with two adapters; `eaphammer`, `hostapd-mana`, `wifiphisher`, `bettercap`, `dnsmasq`.
## Verification (background, before reporting)
Confirm a real in-scope client associated and submitted/leaked data (not your test device), and reproduce the capture. For MITM, verify intercepted content is genuine. Tear down and report only confirmed client-trust failures.
## Evidence
Rogue-AP config + runtime log, client association record, captured credentials/portal submissions (redacted), MITM capture. Note RoE authorization, scope limits, and teardown time. Remediation: PMF/802.1X with cert validation, user training, VPN-always, disable auto-join to open networks, WIDS/rogue-AP detection.