Skip to content
Back to skills

Krack Fragattacks

ASecurity

KRACK and FragAttacks awareness and detection (Tier 1) — key-reinstallation (CVE-2017-13077+) and fragmentation/aggregation design+implementation flaws (CVE-2020-24586/24587/24588 and others) in 802.11. Requires monitor-mode hardware for the test scripts. Use to assess whether in-scope APs/clients are patched; mostly version/patch confirmation plus the published PoC testers.

  • 16 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 17, 2026
securitypythongoawstestingbackend

Works with

  • cli

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill krack-fragattacks --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Krack Fragattacks?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Krack Fragattacks
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-krack-fragattacks/badge)](https://www.skillsdirectory.com/skills/anandjogawade-krack-fragattacks)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: krack-fragattacks
description: KRACK and FragAttacks awareness and detection (Tier 1) — key-reinstallation (CVE-2017-13077+) and fragmentation/aggregation design+implementation flaws (CVE-2020-24586/24587/24588 and others) in 802.11. Requires monitor-mode hardware for the test scripts. Use to assess whether in-scope APs/clients are patched; mostly version/patch confirmation plus the published PoC testers.
---

# KRACK & FragAttacks (detection & awareness)

KRACK reinstalls an already-in-use key during the 4-way/group handshake, enabling nonce reuse → decryption/replay. FragAttacks are 802.11 frame-fragmentation/aggregation flaws (design + widespread implementation bugs) allowing injection/exfil. Both are largely patched by 2017–2021 updates — the test here is patch confirmation + published PoCs. Authorized devices only.

## Trigger phrases
`krack, key reinstallation, fragattacks, frame fragmentation, aggregation attack, cve-2017-13077, cve-2020-24588, 4-way handshake replay`

## Pre-reqs & hardware
Monitor-mode adapter with injection, a dedicated test client, `krackattacks-scripts` (Vanhoef), `fragattacks` test suite (`fragattack.py`), patched Python/driver per the tool READMEs. Availability caveat: the PoCs actively interact with a target AP/client and can disrupt the test device.

## Method
1. **Inventory & version-check first:** identify AP firmware and client OS/driver versions (from `wifi`, banners, DHCP fingerprint). Map against KRACK (vendor advisories, Oct 2017) and FragAttacks (May 2021) patch levels — unpatched = candidate.
2. **KRACK testing (client-side focus):** run `krack-test-client.py` against an in-scope client connecting to a test AP you control — detects whether the client reinstalls the PTK/GTK (accepts retransmitted handshake msg3). Also `krack-test-ap` variants for 802.11r FT.
3. **FragAttacks testing:** `fragattack.py wlan0 --ap/--sta <test>` runs the categorized checks — plaintext injection, A-MSDU/aggregation (CVE-2020-24588), mixed-key fragmentation (CVE-2020-24587), fragment cache (CVE-2020-24586), and the implementation tests (plaintext frames, EAPOL forwarding, etc.). Record which test IDs pass/fail.
4. **Scope to detection:** confirm vulnerable vs patched; do not weaponize decryption against live third-party traffic.

## Modern / rare techniques
- **[RARE] FragAttacks implementation bugs** are more impactful than the design flaws — e.g., accepting plaintext frames or forwarding EAPOL pre-auth; test even "modern" APs.
- **[NEW] A-MSDU injection (CVE-2020-24588)** can smuggle packets past the network — note firewall/segmentation implications.
- **[RARE] 802.11r Fast-Transition KRACK variants** on roaming-enabled enterprise networks.

## Escalation / chaining
A confirmed unpatched device supports decryption/injection → feeds MITM (`evil-twin`) and downstream traffic attacks. Vulnerable firmware → `vulnerable-components` for remediation tracking.

## Backend & tooling
Native Kali with injection-capable adapter; Vanhoef `krackattacks-scripts` and `fragattacks` suites (follow their driver/patch prerequisites). Version data from `wifi` recon + vendor advisories.

## Verification (background, before reporting)
Confirm via the official test scripts' explicit VULNERABLE/OK output (not inference), and corroborate with the device's patch level. Re-run to avoid flaky RF false results. Report confirmed unpatched devices only; otherwise record "patched/not reproducible".

## Evidence
Device versions, test-script output with the specific test IDs and verdicts, and the mapped CVEs. Remediation: apply vendor KRACK (2017) and FragAttacks (2021) patches to APs, clients, and drivers; enforce WPA3/PMF and HTTPS/VPN as defense-in-depth.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.