Cracking WPA/WPA2 Networks without dictionaries using REAVER
🌐 This is an automatic translation of a topic from Underc0de, the largest Spanish-speaking hacking and IT community. Read the original (Spanish) and reply →
Stiuvert ·
What is reaver? Reaver is a tool that implements a brute-force attack against the WiFi Protected Setup (WPS) PIN registrar used to recover WPA/WPA2 passwords<br /><br />OK, now that we know what Reaver is and what it's used for, let's get into the subject a bit. The 1st thing we must do is put our network card in monitor mode. To do this we open a terminal and type the following command line, see image:<br /><br />Código: text
Airmon-ng start wlan0
<br /><br />Los enlaces son solo para miembros. Registrate o iniciá sesión<br /><br />As we can see in the previous image, we have already put our card in monitor mode, in this case mine will be mon0.<br /><br />Next, what we need for our operation to be successful is to locate a network that has WPS(WiFi Protected Setup) enabled. There are several methods to achieve this, I'm going to use the tool WIFITE, already included in our distribution Backtrack5 and Kali Linux. To run WIFITE, in Kali Linux which is the case, we open a terminal and simply type wifite and press enter, see image:<br /><br />Los enlaces son solo para miembros. Registrate o iniciá sesión<br /><br />Once we have typed wifite and pressed enter, the tool will begin scanning the network on its own and at the same time it will mark the networks that have WPS(WiFi Protected Setup) enabled, see image:<br /><br />Los enlaces son solo para miembros. Registrate o iniciá sesión<br /><br />As we can see in the previous image, it has already scanned the network and I'm going to select the network called wlan_4D55 (since this one is mine)<br /><br />Now that we know that the network we are going to audit has WPS (WiFi Protected Setup) enabled, we know it is vulnerable to the ATTACK with REAVER.<br /><br />The next step we need to crack the network is to discover its BSSID. To do this we will use the tool airodump-ng. To do this the only thing we have to do is open a terminal and type the following command line in it:<br /><br />Código: text
Airodump-ng mon0
<br /><br />And it will automatically start scanning the network and showing us their BSSIDs, among which our network's will be found, see image:<br /><br />Los enlaces son solo para miembros. Registrate o iniciá sesión<br /><br />As we can appreciate in the previous image, we have already discovered the BSSID of the network we are auditing. Now with this data we can begin the attack with REAVER to recover our password without needing to use dictionaries.<br /><br />To run REAVER, we open a terminal and type the following command line in it and press enter:<br /><br />Código: text
Reaver –i mon0 –b A4:52:6F:E2:4D:56 –VV
<br /><br />I'll briefly explain this previous command line –i mon0 =our network card in monitor mode. –b A4:52:6F:E2:4D:56=the BSSID of our network. –vv=verbose mode, to see what is happening it would look something like this.<br /><br />Los enlaces son solo para miembros. Registrate o iniciá sesión<br /><br />Once we have entered the previous command line and pressed enter, the tool will begin working on its own, and the only thing we must do now is wait and be very patient, since this operation can take between 4 and 15 hours, it will all depend on the quality of the network signal and our equipment.<br /><br />Once REAVER has finished working it will show us the following data in the terminal:<br /><br />Los enlaces son solo para miembros. Registrate o iniciá sesión<br /><br />As we can see in the previous image, we have already recovered our password and the PIN of our network. IT IS IMPORTANT TO SAVE THE PIN in a place where we can see it whenever we want, because once we have the network's PIN, with this command line:<br /><br />Código: text
<br /><br />If we notice, we have added to the previous REAVER command the parameter (p) followed by the PIN number, well, this way the cracking won't take more than 10 minutes the next time we lose the password J<br /><br />Now we're going to briefly explain some optional REAVER commands and their functionality:<br /><br /><br />[+] -c to select the network channel<br />[+] -e to select the network name (Essid)<br />[+] -t Thereception timeout by default is 5 seconds, with this command we can set it down to a minimum of 1 second.<br />[+] –fixed with this command we make REAVER change channel consecutively at the same time as the network, "if it were to do so".<br />[+] –lock-delay= with this command we tell REAVER every how many seconds we want it to resume the operation, since some networks block the WPS attack every so often.<br /><br />Finally I want to point out that there are more commands that can be used with REAVER, but no doubt with those named in this brief overview of the tool, it will be quite easy for us to recover (Crack) the password of our router.<br /><br />Source: highsec.es
Cl0udswX ·
Very good @Stiuvert, @rand0m wrote a very detailed one that complements this one you share very well, if you don't mind I'll merge both into a single mega contribution.<br /><br />Regards.<br /><br /><br />Sent from my iPhone using Tapatalk
Stiuvert ·
Sounds perfect Cl0ud! ☺<br /><br />Regards
po6xsecpo ·
Today I'm working from home and there are some university buildings 3 houses away... (auditing neighbors in 3,2,1)<br /><br />As Cloud says, this would be great to add to the wifi networks workshop we have here at undercode.<br /><br />Regards.
ro0tmag ·
Excellent contribution!! I'm going to start doing some lab tests.. ::) ::)
<br /><br />Search for information on Google about cracking networks on Windows, I was able to find a tool for Windows called "Los enlaces son solo para miembros. Registrate o iniciá sesión", then there are others like "Los enlaces son solo para miembros. Registrate o iniciá sesión"<br /><br />Also Chema Alonso on his Blog already talked about WPA/WPA2, Los enlaces son solo para miembros. Registrate o iniciá sesión.<br /><br />Regards
PikachuDorado ·
Excellent tool!! When I recover my netbook I'll test it!<br />A thousand thanks!
Ampamer ·
Good evening, a question, I'm new to using reaver and I wanted to know how I can find out every how long the router blocks so I can set the command, and I also wanted to know the order of the commands, can it be in any order or does a predetermined order have to be followed
Stiuvert ·
In WPS it is possible to set a waiting time if you don't guess right on the first try, but NOT all routers have it. I think if it blocks it's 60 seconds.<br /><br />Regarding the order of commands in the tutorial they are very basic and very few, practically depending on the case the order wouldn't matter, like for example launching airdump-ng first.<br /><br />Regards
cristobal92 ·
hello, thank you very much for your contribution.<br />you know, I have a problem.<br />all the commands work fine, but when I get to run reaver it throws the following error which I'll attach in the image<br />I would greatly appreciate the help.<br /><br />I work with the virtual machine vmware.<br /><br />if you need any other data please point it out to me, thanks in advance.<br /><br />Los enlaces son solo para miembros. Registrate o iniciá sesión<br /><br />Regards,<br /><br />