
Strumento di attacco a forza bruta contro i PIN del registrar WPS per recuperare le passphrase WPA/WPA2, supportando attacchi a forza bruta online e attacchi Pixie Dust offline su punti di accesso vulnerabili.
Reaver implementa un attacco di forza bruta contro i PIN del registrar Wifi Protected Setup (WPS) per recuperare le passphrase WPA/WPA2, come descritto in Forzatura bruta del Wi-Fi Protected Setup quando una progettazione scadente incontra un'implementazione scadente. di Stefan Viehböck.
Reaver è stato progettato per essere un attacco robusto e pratico contro i PIN del registrar Wi-Fi Protected Setup (WPS) per recuperare le passphrase WPA/WPA2 ed è stato testato su un'ampia varietà di punti di accesso e implementazioni WPS.
A seconda del punto di accesso (AP) target, per recuperare la passphrase WPA/WPA2 in chiaro, il tempo medio per il metodo di forza bruta online transitorio è tra 4 e 10 ore. In pratica, di solito ci vuole la metà del tempo per indovinare il PIN WPS corretto e recuperare la passphrase.
Quando si utilizza l'attacco offline, se l'AP è vulnerabile, potrebbe richiedere solo secondi o minuti.
La prima versione di reaver-wps (reaver 1.0) è stata creata da Craig Heffner nel 2011.
reaver-wps-fork-t6x versione 1.6.x è una versione fork della comunità che include diversi bug fix, nuove funzionalità e un metodo di attacco aggiuntivo (come l'attacco offline Pixie Dust).
nel caso in cui il tuo kernel non supporti le estensioni wext (purtroppo è il caso della maggior parte delle distribuzioni moderne), il codice incluso per cambiare i canali wireless non funzionerà. puoi comunque cambiare manualmente il canale prima di eseguire reaver/wash senza usare le opzioni del canale, oppure compilare contro una delle 2 implementazioni libnl riportate di seguito.
quindi usa ./configure --enable-libnl3 o --enable-libnl-tiny.
sudo apt -y install build-essential libpcap-dev aircrack-ng pixiewps
L'esempio utilizza Kali Linux come sistema operativo (OS) poiché pixiewps è incluso.
È necessario avere già installato Pixiewps di Wiire per eseguire un attacco pixie dust; l'ultima versione è disponibile nel suo repository github ufficiale.
Scarica
git clone https://github.com/t6x/reaver-wps-fork-t6x
oppure
wget https://github.com/t6x/reaver-wps-fork-t6x/archive/master.zip && unzip master.zip
Posizionarsi nella directory
cd reaver-wps-fork-t6x*
cd src
Compilare
./configure
make
Installare
sudo make install
Copyright (c) 2011, Tactical Network Solutions, Craig Heffner <[email protected]>
Required Arguments:
-i, --interface=<wlan> Name of the monitor-mode interface to use
-b, --bssid=<mac> BSSID of the target AP
Optional Arguments:
-m, --mac=<mac> MAC of the host system
-e, --essid=<ssid> ESSID of the target AP
-c, --channel=<channel> Set the 802.11 channel for the interface (implies -f)
-s, --session=<file> Restore a previous session file
-C, --exec=<command> Execute the supplied command upon successful pin recovery
-f, --fixed Disable channel hopping
-5, --5ghz Use 5GHz 802.11 channels
-v, --verbose Display non-critical warnings (-vv or -vvv for more)
-q, --quiet Only display critical messages
-h, --help Show help
Advanced Options:
-p, --pin=<wps pin> Use the specified pin (may be arbitrary string or 4/8 digit WPS pin)
-d, --delay=<seconds> Set the delay between pin attempts [1]
-l, --lock-delay=<seconds> Set the time to wait if the AP locks WPS pin attempts [60]
-g, --max-attempts=<num> Quit after num pin attempts
-x, --fail-wait=<seconds> Set the time to sleep after 10 unexpected failures [0]
-r, --recurring-delay=<x:y> Sleep for y seconds every x pin attempts
-t, --timeout=<seconds> Set the receive timeout period [10]
-T, --m57-timeout=<seconds> Set the M5/M7 timeout period [0.40]
-A, --no-associate Do not associate with the AP (association must be done by another application)
-N, --no-nacks Do not send NACK messages when out of order packets are received
-S, --dh-small Use small DH keys to improve crack speed
-L, --ignore-locks Ignore locked state reported by the target AP
-E, --eap-terminate Terminate each WPS session with an EAP FAIL packet
-J, --timeout-is-nack Treat timeout as NACK (DIR-300/320)
-F, --ignore-fcs Ignore frame checksum errors
-w, --win7 Mimic a Windows 7 registrar [False]
-K, --pixie-dust Run pixiedust attack
-Z Run pixiedust attack
-O, --output-file=<filename> Write packets of interest into pcap file
-M, --mac-changer Change the last digit of the MAC Address for each pin attempt [False]
Example:
reaver -i wlan0mon -b 00:90:4C:C1:AC:21 -vv
La descrizione delle opzioni e gli esempi di utilizzo si trovano nel Readme di Craig Heffner. Di seguito viene fornita una descrizione delle nuove opzioni introdotte da allora:
Le opzioni -K e -Z eseguono l'attacco offline, Pixie Dust (pixiewps), passando automaticamente le variabili PKE, PKR, E-Hash1, E-Hash2, E-Nonce e Authkey. pixiewps tenterà quindi di attaccare i chipset rilevati Ralink, Broadcom e Realtek.
Nota speciale: Se stai attaccando un AP Realtek, NON utilizzare l'opzione delle chiavi DH piccole (-S).
L'utente dovrà eseguire reaver con il PIN decifrato (opzione -p) per ottenere la passphrase WPA. Questa è una soluzione temporanea e un'opzione per eseguire un attacco completo sarà implementata presto.
Vedi la nostra wiki: Introduzione a un nuovo modo per decifrare WPS: Opzione p con una stringa arbitraria
Copyright (c) 2011, Tactical Network Solutions, Craig Heffner