offensive-wpa3-sae
ما الذي تفعله
تشرح هذه المهارة كيفية فحص WPA3، وهو المعيار الأحدث، بحثًا عن إعدادات ضعيفة مثل الشبكات ذات الوضع المختلط. وهي موجهة لمختبري الأمن الذين يحتاجون إلى التأكد هل توفر WPA3 حماية فعلية للشبكة.
متى تستخدمها
- ✓عندما تعلن شبكة أنها تدعم WPA3، وتحتاج إلى فحص هل تسمح أيضًا باتصالات WPA2 القديمة.
- ✓عندما تحتاج إلى معرفة هل برنامج نقطة الوصول الخاص بـ WPA3 متأثر بنتائج بحثية معروفة.
- ✓عندما تنصح عميلًا بأن WPA3 وحده كافٍ أم أن الوضع المختلط يضعفه.
رابط المهارة
https://github.com/SnailSploit/Claude-Red/blob/main/Skills/wireless/offensive-wpa3-sae/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“جهاز التوجيه لدينا يقول إن WPA3 وWPA2 يعملان معًا. هل تستطيع فحص ما إذا كان هذا الإعداد يسمح باتصال أضعف؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تشرح المهارة كيف يمكن دفع الشبكات ذات الوضع المختلط إلى الطريقة الأقدم، وكيف تتحقق من وجود ثغرات معروفة في البرنامج. وتذكر أيضًا أن WPA3 الخالص أصعب كثيرًا في الفحص غير المتصل.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
WPA3 / SAE Attacks
WPA3 fixes the offline-handshake-cracking weakness of WPA2 by replacing the 4-way PSK exchange with SAE (a Dragonfly-derived password-authenticated key exchange). The straightforward offline crack disappears — but transition-mode misconfigurations and the original SAE implementation's side-channel leaks open new paths.
Quick Workflow
- Verify the target advertises WPA3 (RSN IE shows AKM SAE = 8)
- Check for transition-mode (mixed WPA2 + WPA3) — easiest path
- If pure WPA3, fingerprint the AP's hostapd version for Dragonblood applicability
- Side-channel timing or cache attacks if reachable
- Otherwise, accept that offline cracking isn't viable — pivot to other surfaces
Transition-Mode Downgrade
If the AP advertises both WPA2-PSK and WPA3-SAE (transition mode for mixed-client networks), older clients can be forced onto WPA2:
# Identify transition mode in beacon frames
sudo airodump-ng wlan0mon -c <ch> --bssid <BSSID>
# Encryption column shows WPA2 WPA3 (both)
Steps:
- Spoof a beacon advertising only RSN-WPA2 with the same BSSID/SSID
- Client roams to your beacon, performs WPA2 4-way handshake
- Capture handshake exactly like
offensive-wpa2-psk
# Use hostapd-mana or airbase-ng for the WPA2-only AP advertisement
airbase-ng -e CorpWiFi -c 6 -W 1 wlan0mon
# -W 1 enables WPA, configure for WPA2-only RSN element
Why this works: WPA3-SAE clients fall back to WPA2-PSK if the AP only advertises WPA2 — there's no protected downgrade defense in transition mode. WPA3-only mode (no transition) blocks this.
Mitigation defenders use: WPA3-only networks (no WPA2). Wi-Fi 6E (6 GHz) mandates WPA3-only by spec.
Dragonblood (CVE-2019-9494 / 9495 / 13377 / 13456)
Side-channel and downgrade attacks against the SAE Hunting-and-Pecking algorithm in pre-2.10 hostapd / wpa_supplicant.
Cache-Based Side-Channel
The original SAE password-element derivation iterates a variable number of times depending on the password and MAC. Cache hits leak the iteration count.
git clone https://github.com/vanhoefm/dragonblood
cd dragonblood
# Cache-based attack (requires co-located malicious code on target host — limited)
python3 dragontime.py --bssid AA:BB:CC:DD:EE:FF --iface wlan0mon
Timing Side-Channel
The same iteration count leaks via observable timing of the SAE commit phase from outside.
python3 dragontime.py --bssid AA:BB:CC:DD:EE:FF --iface wlan0mon --mode timing
Downgrade to Weak Group
Some implementations accept SAE with the deprecated MODP group 5 if the client requests it. Combined with cache/timing side channels, this enables offline dictionary attack.
python3 dragondrain.py wlan0mon AA:BB:CC:DD:EE:FF
Patched Versions
| Implementation | Fixed |
|---|---|
| hostapd / wpa_supplicant | 2.10 (April 2022) |
| Apple iOS / macOS | 2019 patches |
| Windows | KB-batched 2019-2020 |
| Embedded routers | Often unpatched — high hit rate on consumer SOHO |
Hash-to-Element (H2E)
WPA3 R2 introduced H2E to replace the iteration-leaky Hunting-and-Pecking. H2E is constant-time. If the AP advertises H2E in the RSNXE element, Dragonblood-class attacks don't apply.
# Wireshark filter
wlan.rsnx.field.h2e
If H2E is present and required (no Hunting-and-Pecking fallback), only the spec is left to attack — abandon SAE attacks and pivot to other surfaces (PMF check, evil-twin via EAP if Enterprise, supply-chain via management frames).
SAE Auth Flooding (DoS)
SAE's commit phase requires the AP to do heavy elliptic-curve work per association attempt. Floods can exhaust CPU on lower-end APs, denying service to legitimate clients.
sudo mdk4 wlan0mon a -a AA:BB:CC:DD:EE:FF -m -s 1024
# Auth attack mode -a, multiple per second -s 1024
This is a DoS — only with explicit authorization. Modern enterprise APs use anti-clogging tokens to throttle SAE-flood attacks; consumer routers often don't.
6 GHz / Wi-Fi 6E Implications
The 6 GHz band (Wi-Fi 6E, channels 1–233 in the 5925–7125 MHz range) requires:
- WPA3-only (no transition mode)
- PMF (802.11w) mandatory (deauth/disassoc protected)
- OWE (Opportunistic Wireless Encryption) for open networks
Net effect: most pre-WPA3 attacks (deauth, transition-mode downgrade) don't apply on 6 GHz. Pure SAE side-channel, evil-twin, or out-of-band attacks remain viable.
Detection Considerations
WPA3 is enterprise-defended much l
الأسئلة الشائعة
ما وضع الانتقال؟
هو إعداد يقبل فيه جهاز التوجيه WPA2 وWPA3 معًا، حتى تستطيع الأجهزة القديمة الاتصال. وقد يضعف ذلك الشبكة.
ما ثغرات Dragonblood؟
هي نتائج بحثية معروفة في برامج مصافحة WPA3 المبكرة. ويعتمد تأثر الجهاز على إصدار برنامجه، وتساعد المهارة في التحقق من ذلك.
هل WPA3 الخالص سهل الكسر؟
لا. تقول المهارة إن الفحص غير المتصل البسيط المستخدم مع WPA2 لا يعمل على WPA3 الخالص.
التفاصيل
الوصف الأصلي من المؤلف
WPA3 / SAE (Simultaneous Authentication of Equals) attack methodology — transition-mode (mixed WPA2/WPA3) downgrade, Dragonblood side-channel attacks (CVE-2019-9494, 9495, 13377, 13456), SAE auth flooding for AP CPU exhaustion, Hash-to-Element (H2E) timing analysis, group downgrade, and 6 GHz / Wi-Fi 6E spec implications (PMF mandatory, no transition mode allowed). Use when target advertises WPA3-SAE or WPA3-Personal/Enterprise, or operates in 6 GHz where WPA3 + PMF are required by spec.
repo: SnailSploit/Claude-Red
الشعبية
- نجوم GitHub
- 10k
- الترتيب
- #11990
- الترخيص
- MIT
- آخر تحديث
- 12/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
offensive-active-directory
10kيساعد وكيلك على تخطيط اختبار أمني مصرّح به لـ Active Directory، من رسم الشبكة إلى إيجاد مسارات الهجوم نحو Domain Admin.
offensive-netexec
10kيساعد وكيلك على استخدام أداة NetExec (nxc) في الاختبارات الشبكية المصرّح بها، وتغطي البروتوكولات والمصادقة وفحوص بيانات الاعتماد.
offensive-api-abuse
10kيساعد وكيلك على تخطيط اختبارات أمان API مصرّح بها تبحث عن إساءة منطق العمل ومخاطر GraphQL وحالات السباق.
offensive-api-security
10kيساعد وكيلك على إجراء اختبارات أمان مصرّح بها لواجهات REST وgRPC وWebSocket، استنادًا إلى قائمة OWASP API Top 10.
مهارات مشابهة
reverse-engineer-anything
422kيساعد وكيلك على فحص التطبيقات والحزم المنشورة من الداخل ليشرح الميزات ويقارن الإصدارات ويرشد إلى إعادة البناء، باستخدام أداة REA.
1password
394kيساعد وكيلك على إعداد واجهة سطر أوامر 1Password وتسجيل الدخول، وقراءة الأسرار أو حقنها دون طباعة قيمها في المحادثة.
healthcheck
394kيساعد وكيلك على تدقيق جهاز OpenClaw أو خادمه أمنيًا، مثل SSH والجدار الناري والتحديثات، ويقترح إصلاحات آمنة قابلة للتراجع.