Kali Linux Hacking Tutorials - Hack WPA - WPA2 WPS - Reaver - Kali Linux
Kali Linux Hacking Tutorials - Hack WPA - WPA2 WPS - Reaver - Kali Linux
KaliLinuxHackingTutorials:HackWPA/WPA2WPSReaverKaliLinux
GENERAL
WIRELESS
PENETESTING
WEB HACKING
KALI LINUX
STARTERS GUIDE
KaliTutorials
3,624likes
LikePage
UseApp
Bethefirstofyourfriendstolikethis
SPONSORED
Here's what wikipedia says about WPSCreated by the Wi-Fi Alliance and introduced in 2006, the goal of the protocol is to allow home
users who know little of wireless security and may be intimidated by the available security
options to set up Wi-Fi Protected Access, as well as making it easy to add new devices to an
existing network without entering long passphrases. Prior to the standard, several competing
solutions were developed by different vendors to address the same need. A major security flaw
was revealed in December 2011 that affects wireless routers with the WPS feature, which most
recent models have enabled by default. The flaw allows a remote attacker to recover the WPS
PIN in a few hours with a brute-force attack and, with the WPS PIN, the network's WPA/WPA2
pre-shared key. Users have been urged to turn off the WPS feature, although this may not be
possible on some router models.
Working Of WPS
Now while most of the things are the same as in WPA, there is a new concept of using pins for
authentication. So basically, the client sends 8 digit pins to the access point, which verifies it and
then allows the client to connect. Now a pin has 8 digits, and only contains numbers, so its a
possible target for bruteforece. Under normal bruteforcing of WPA passwords, you have to
consider the fact that there may be number, alphabets, and sometimes symbols (and more than
8 letters). This make the task a billion billion times tougher. However, we can try thousands of
keys per second, which make it a tad bit easier. Now in WPS, there is a delay because we have to
wait for APs response, and we may only try a few keys per second (practically the best I've seen
on my PC is 1 key per 2 sec). Basically, 8 digits and 10 possibilities per digit (0-9) make it 10^8
(interpret ^ as raised to the power of)seconds if we assume one key per second. Now that'll be
years. So, where is this taking us? The answer is, there are flaws in this technology that can be
used against it.
The 8th digit is a checksum of first 7 digits. 10^7 possibilities, i.e. one-tenth time. Two
months, still a way to go.
The pin number for verification goes in two halves, so we can independently verify the
first four and the last four digits. And believe me, its easy to guess 4 digits correct two
times, than to guess 8 correct digits at once. Basically, the first half would take 10^4
guess and the second would take 10^3.
Now the guesses would be 10^4+ 10^3 (not 10^4 *10 ^3). Now we need 11,000 guesses.
http://www.kalitutorials.net/2014/04/hackwpawpa2wpsreaverkalilinux.html
POPULAR POSTS
10/28/2015
KaliLinuxHackingTutorials:HackWPA/WPA2WPSReaverKaliLinux
So that'll take 3 hours approximately. And that's all the combinations, and most probably the
correct pin will not be the last combination, so you can expect to reach the result earlier.
However, the assumption is that bruteforcing will take place at a key per second. My personal
best is a key every 2 seconds, and yours might drop to as low as a key every 10 seconds.
Start Download
Convert Any File to a PDF. Get the Free From Doc to Pdf App!
And if you are already familiar with hacking WEP, then just go to your Kali Linux terminal and
type the above command (replacing what needs to be replaced). Leave your machine as is, come
back 10 mins later, check the progress (must be 1% or something), and go take a nap. However,
if you're a newbie, then tag along.
Kali Linux
First off, you need to have Kali linux (or backtrack) up and running on your machine. Any other
Linux distro might work, but you'll need to install Reaver on your own. Now if you don't have Kali
Linux installed, you might want to go to this page, which will get you started on hacking with Kali
Linux. (Reaver has a known issue : Sometimes it doesn't work with Virtual Machines, and you
might have to do a live boot using live CD or live USB of Kali Linux. See the last section of this
post on = troubleshooting by scrolling down a bit)
Information Gathering
Now you need to find out the following about you target networkDoes it have WPS enabled. If not, then the attack will not work.
The BSSID of the network.
Now to check whether the network has WPS enabled or not, you can either use wash or just use
the good old airodump-ng. Wash is specifically meant to check whether a network has WPS
enabled or not, and thereby is much easier to use. Here are the stepsSet your wireless interface in monitor mode-
airmonngstartwlan0
Alright,thispostiswritten
assumingyouhaveKaliLinuxup
andrunningonyourcomputer.Ifnot,hereisa
postonhackingwithkalilinu...
Use wash (easy but sometimes unable to detect networks even when they have wps
enabled). If any network shows up there, it has WPS enabled.
GOOGLE+ BADGE
washimon0
Shashwat Chaudhary
This will show all the networks with WPS enabled
google.com/+ShashwatChaudhary1
1st year CSE @ IIIT Delhi
Follow
484 followers
http://www.kalitutorials.net/2014/04/hackwpawpa2wpsreaverkalilinux.html
2/17
10/28/2015
KaliLinuxHackingTutorials:HackWPA/WPA2WPSReaverKaliLinux
This is an error which I haven't figured out yet. If you see it, then you'll have to do some howework, or move on to
airodump method. Update : washimon0ignorefcsmightsolvestheissue.
Use airodump-ng. It will show all networks around you. It tells which of them use
WPA. You'll have to assume they have WPS, and then move to next steps.
airodumpngmon0
BSSID of the network - Now irrespective of what you used, you should have a BSSID column in
the result that you get. Copy the BSSID of the network you want to hack. That's all the
information you need.
So by now you must have something like XX:XX:XX:XX:XX:XX, which is the BSSID of your target
network. Keep this copied, as you'll need it.
Reaver
Now finally we are going to use Reaver to get the password of the WPA/WPA2 network. Reaver
makes hacking very easy, and all you need to do is enterreaverimon0bXX:XX:XX:XX:XX:XX
Explanation = i - interface used. Remember creating a monitor interface mon0 using airmon-ng
start wlan0. This is what we are using. -b species the BSSID of the network that we found out
earlier.
This is all the information that Reaver need to get started. However, Reaver comes with many
advanced options, and some are recommended by me. Most importantly, you should use the -vv
option, which increases the verbosity of the tool. Basically, it writes everything thats going on to
the terminal. This helps you see whats happening, track the progress, and if needed, do some
troubleshooting. So final command should bereaverimon0bXX:XX:XX:XX:XX:XXvv
After some hours, you will see something like this. The pin in this case was intentionally
12345670, so it was hacked in 3 seconds.
Here is an extra section, which might prove useful (or more like consoling, to let you know you
are not the only one who is having troubles)
3/17
10/28/2015
KaliLinuxHackingTutorials:HackWPA/WPA2WPSReaverKaliLinux
stage.
3. Sometimes it never associates with the target AP.
4. Sometimes the response is too slow, or never comes, and a (0x02) or something error is
displayed.
In most cases, such errors suggest1. Something wrong with wireless card.
2. AP is very choosy, won't let you associate.
3. The AP does not use WPS.
4. You are very far from the AP.
Possible workarounds1. Sometimes, killing naughty processes helps. (see pictures below)
2. Move closer to target AP
3. Do a fakeauth using aireplay-ng (Check speeding up WEP hacking) and tell Reaver not to
bother as we are already associated using -A (just add -A at the end of your normal reaver
code)
4. If you are using Kali Linux in Vmware, try booting into Kali using USB. I don't know why, but
sometimes internal adapters work wonders, and can't be used from inside of a VM. In my
case, booting up from USB and using internal adapter increased the signal strength and
speeded up the bruteforce process. Update : It has nothing to do with internal adapter.
I have verified my observation with various hackers, and it is now a known problem
with Reaver. It does not work well inside Virtual machines. It is recommended that
you do a live boot.
All that I have written above (the troubleshooting section) is based on personal experience, and
might not work. All the problems mentioned above, are well known on forums, and no 100%
working solution could be found anywhere (I do my homework before posting). If you are aware
of solution to any of these, do comment (anonymous comments are enabled)
Update: For some people the reason Reaver is not working is because the version of
Libpcap you are using is not compatible with the version of Kali you are using.
Share !
Suka
168
Tweet
11
11
85 comments:
Anonymous
Are there any another ways of wpa/wpa2 except reaver and aircrack?tx
Reply
Replies
SHASHWAT CHAUDHARY
March 13, 2015 at 12:17 AM
Wifite is there. It also uses Reaver only, except it types the commands
for you.
http://www.kalitutorials.net/2014/04/wifite-hacking-wifi-easy-waykali-linux.html
http://www.kalitutorials.net/2014/04/hackwpawpa2wpsreaverkalilinux.html
4/17
10/28/2015
KaliLinuxHackingTutorials:HackWPA/WPA2WPSReaverKaliLinux
ALEX RODRIGUES
ALEX RODRIGUES
Friends , I'm from Brazil , very pleased . Would have a solution for
this? - WARNING : Detected AP rate limiting , waiting 60 seconds .
Thanks for listening
Anonymous
SHASHWAT CHAUDHARY
The only notable thing about Fern is the GUI. It makes stuff easy for
beginners, but honestly, that's no way of becoming a hacker. GUI
should be avoided most of the time.
SHUBHAM TOMAR
Yes i used fern foe wep security it takes 30 minuts to break the WEP
password
Anonymous
SHASHWAT CHAUDHARY
http://www.kalitutorials.net/2014/04/hackwpawpa2wpsreaverkalilinux.html
5/17
10/28/2015
KaliLinuxHackingTutorials:HackWPA/WPA2WPSReaverKaliLinux
Anonymous
Is possible to hack a wpa2 network with a random alphanumerical 15 characters password? I think
this kind of psw does not exist in any dictionary..
Reply
Anonymous
Hi there, i m trying to do it on my college wifi, although network supports wps but on giving the reaver
command as you said, it reverts me a kind of note "failed to retrieve a MAC address ".
Also i m not able to successfully getting a WPA handshake with the command "aireplay-ng --deauth 1 a mon0". Plz can u solve these problems
Reply
Replies
Anonymous
Anonymous
SUDHARSAN VISWA
i used crunch to create a word list for brute force,but for only numerical word list it tooks 100's of
gb,how can a get word list for less than 10 gb
Reply
SUDHARSAN VISWA
thank you
Reply
SUDHARSAN VISWA
http://www.kalitutorials.net/2014/04/hackwpawpa2wpsreaverkalilinux.html
6/17
10/28/2015
KaliLinuxHackingTutorials:HackWPA/WPA2WPSReaverKaliLinux
b 58:98:35:CB:A2:77 -w -"
Reply
Replies
SHASHWAT CHAUDHARY
Anonymous
Can you tell me how to boot kali linux from CD? Currently i am using in virtual box.
Reply
Replies
SHASHWAT CHAUDHARY
ARINDAM MARL-E
got a power iso..and then use the tool option where u can fing Creat
bootable pendrive.Then select the iso file ...then after the complete,
restart the pc from pendrive..All done..Select the boot method.thats
st
WELL WISHER
Can any one tell me about how can we change the channel of any network which is appearing on
airodump terminal. As sometimes my mon0 is fixed to channel 1 so may be i can receive a network on
1 which previously coming on channel 6 or 7 whatever
Reply
Replies
SHASHWAT CHAUDHARY
WELL WISHER
http://www.kalitutorials.net/2014/04/hackwpawpa2wpsreaverkalilinux.html
7/17
10/28/2015
KaliLinuxHackingTutorials:HackWPA/WPA2WPSReaverKaliLinux
Please Shashwat, can u provide me a good wordlist, because i have one wordlist which is about 22 MB
of .txt file but i have tried it on a network with fern, finally result came out, 'the list does not contain
the password'. So please give a link of wordlist which u think that would be enough break the pass.
Reply
SUDHARSAN VISWA
SHASHWAT CHAUDHARY
SUDHARSAN VISWA
SHASHWAT CHAUDHARY
HJGJK HJGHJ
http://www.kalitutorials.net/2014/04/hackwpawpa2wpsreaverkalilinux.html
8/17
10/28/2015
KaliLinuxHackingTutorials:HackWPA/WPA2WPSReaverKaliLinux
I get the 0x03 and the 0x04 error all the time "WPS transaction failed, re-trying last pin". I had tried
with different networks but is always the same . One of them says "WARNING: Detected AP rate
limiting, waiting 60 seconds before re-checking, but that is all it does. What can I do? :'(
Reply
HJGJK HJGHJ
I get the 0x03 and the 0x04 error all the same ("WPS transaction failed, re-trying last pin"). I have tried
with different networks, but is always the same. One of them says: "WARNING: Detected AP rate
limiting, waiting 60 seconds before re-checking", but that is all it does. What can I do? :'(
Reply
MATTHEW BARNARD
SHASHWAT CHAUDHARY
Glad it worked.
Reply
TOBBYHUSH
Since I have only 150GB for Kali installation, I use Reaver all the time. Is one of the best tools I used. It
doesn't consume disk space or hardware resources. Is just what everyone who's testing want.
One thing I do and could help someone, is to make Reaver start from a specified number. If you know
the WPS default first numbers and you may think that WPS wasn't changed, you can Google to find
the first 1, 2, 4 numbers... Then, you give all the information to Reaver you would put normaly, and, in
the attribute -P put the first numbers you may know. Execute the command and stop it a few seconds
later by pressing CTRL+C. Don't be scared if you saw that the WPS PIN sent is 4 numbers long. Now,
you should run again the same command but erasing -P this time. Now, program will think that it
checked the previous PINs and will take less time. Or more, if the password is not default... But if you
have no patience, you could try it out. I.e., if you give to the app 4 first numbers, the scan will take only
1:30h with 999 tries.
This is also a way to avoid the manual edit of './usr/local/etc/reaver/*.wpc'.
Sorry for my poor English lvl, I did not sleep and I'm even worse. :c
Reply
Replies
SHASHWAT CHAUDHARY
December 21, 2014 at 7:51 AM
Thank you for sharing this with us. Your English is fine by the way.
MUBASHIR
hi when we trying 2 or 3 pins in kali linux using reaver its getting error occur just like that ( WARNING:
Detected AP rate limiting, waiting 60 seconds before re-checking)
Reply
SATYARTH PRATEEK
http://www.kalitutorials.net/2014/04/hackwpawpa2wpsreaverkalilinux.html
9/17
10/28/2015
KaliLinuxHackingTutorials:HackWPA/WPA2WPSReaverKaliLinux
I keep on getting this WPS transaction failed (code: 0x02), re-trying last pin
[+] Trying pin 12345670
[+] Switching mon0 to channel 11
[+] Sending EAPOL START request
[+] Received identity request
[+] Sending identity response
[!] WARNING: Receive timeout occurred
[+] Sending WSC NACK
[!] WPS transaction failed (code: 0x02), re-trying last pin
[+] Trying pin 12345670
[+] Sending EAPOL START request
[+] Received identity request
[+] Sending identity response
[!] WARNING: Receive timeout occurred
[+] Sending WSC NACK
[!] WPS transaction failed (code: 0x02), re-trying last pin
[+] Nothing done, nothing to save.
[+] 0.00% complete @ 2015-02-01 11:32:53 (0 seconds/pin)
[+] Max time remaining at this rate: (undetermined) (11000 pins left to try)
[+] Trying pin 12345670
Why is it trying the same pin again and again..??
Reply
Replies
MOEIN BAZARGAN
SHASHWAT CHAUDHARY
February 21, 2015 at 11:52 PM
Maybe you're too far from the AP (signal strength?). Maybe you need
a better wireless adapter (are you using laptop's internal card?).
Maybe the AP does not have WPS enabled (does the AP appear in
wash?)
MOEIN BAZARGAN
Yes it does!
I'm using laptop's internal wireless adapter.
I think I should use an external adapter becuase sometimes ARP
injection (WEP) doesn't work too
SHASHWAT CHAUDHARY
February 24, 2015 at 11:37 PM
Yes you should use external adapter. The internal ones do a good job
in receiving messages from AP but they aren't so good at (and are
not designed to) inject packets into the AP (i.e. they aren't as good in
transmitting packets as they are in recieving them).
http://www.kalitutorials.net/2014/04/hackwpawpa2wpsreaverkalilinux.html
10/17
10/28/2015
KaliLinuxHackingTutorials:HackWPA/WPA2WPSReaverKaliLinux
48D44572-AD42-11E4-ACF5-6FA66024793B
every time I try either wash or airodump-ng it comes up saying that it fails to open mon0 for
capturing. Do I need to use a wifi adapter or use alive version of kali linux from USB?
Reply
Anonymous
Then you cannot hack it. WPS must be enabled in order to attack the
AP via pin attempts.
Anonymous
Anonymous
I have made a modification in reaver to automatize the process for the pixie dust attack, here is the
github
(https://github.com/t6x/reaver-wps-fork-t6x),
here
is
the
discussion
topic
(https://forums.kali.org/showthread.php?25123-Reaver-modfication-for-Pixie-Dust-Attack)
Reply
Anonymous
http://www.kalitutorials.net/2014/04/hackwpawpa2wpsreaverkalilinux.html
11/17
10/28/2015
KaliLinuxHackingTutorials:HackWPA/WPA2WPSReaverKaliLinux
Reply
Anonymous
MUSHTAQ KHAN
MUSHTAQ KHAN
RAM KEERTHANA
Is there any free online book or pdf for kali linux hacker beginner?
Reply
Hello, i am facing a lot of errors when i'm usin kali linux, actually i can't do anything because it comes
with errors every time i try cracking wpa og creating Payloads.
When using reaver i ger this error code: 0x04 i am typing in this
reaver -i mon0 -b "BSSID" -d "delayed time" -S -N -vv
where -S should increase cracking speed and -N should stop the nacking
I have tried with -d 5/10/15/20/25/30 and also tried with and without -S i have tried with and without N i have tried -c that specifies the channel.
But it keeps saying WPS transaction failed error code: 0x04
http://www.kalitutorials.net/2014/04/hackwpawpa2wpsreaverkalilinux.html
12/17
10/28/2015
KaliLinuxHackingTutorials:HackWPA/WPA2WPSReaverKaliLinux
Why is that?
And when i try out this specific command
reaver -i mon0 -A -b 00:30:4F:XX:XX:XX - c 6 -d 10 -vv --no-nacks --win7
It comes up with the error [!] WARNING: Receive timeout occurred
Why is that, and how does i fix these reaver problems i am facing?
I have researched on google for 2 days now, and no one has the answer i am looking for.
Also when i use the wash command the RSSI = 0 on all the networks that i can find.
I think this is the main problem for why reaver doesn't work
And just another thing, when i try using the setoolkit, when i have pressed 1 - 10 and try pressing 1 for
social engineering tool it says something about ratte_module not defined. if someone has a link to fix
that, i would be soooo happy :-)
Reply
Replies
Anonymous
I have followed everything but when I start the reaver I am getting "WPS transaction failed (code:
0x03), re-trying last pin" I am using an external wlan.
Reply
Replies
SHASHWAT CHAUDHARY
Did you check with wash if WPS is enabled? Maybe they are using
rate limiting measures.
HEMANT KOHLI
DR. AWKWARD
When I use reaver to attack it stops when it outputs waiting for a beacon. If I don't specify which
channel the network is it will just flip through the channels over and over. Any advice?
Reply
Replies
SHASHWAT CHAUDHARY
http://www.kalitutorials.net/2014/04/hackwpawpa2wpsreaverkalilinux.html
13/17
10/28/2015
KaliLinuxHackingTutorials:HackWPA/WPA2WPSReaverKaliLinux
Fix a channel on your wlan0 and mon0 interface. The beacon frame
issue resolved itself in my case (one day it was there, then it was not).
I suspect it might have something to do with signal strength.
Anonymous
Does Reaver still works? or has most companies already patched their WPS so that this method
doesn't work anymore? If it works which external wireless card would work? Thank you.
Reply
Anonymous
i need help with external adapters for my vm for my mac 10.10 do you know any i could get
Reply
Anonymous
please help i cant find a adapter that will work with my computer
Reply
Anonymous
this error ("detecting ap limit rate") keeps comming after 10 pin test what to do about it any solution
and it dosn't
go for a whole day
Reply
Anonymous
Is it possible to try to find out the password of a wifi network that you're connected to ? Because I am
just trying to test my own connection.Thanks
Reply
Replies
Anonymous
http://www.kalitutorials.net/2014/04/hackwpawpa2wpsreaverkalilinux.html
14/17
10/28/2015
KaliLinuxHackingTutorials:HackWPA/WPA2WPSReaverKaliLinux
Anonymous
If network-manager is being used in ubuntu you get error "SIOCSIFFLAGS: Name not unique on
network" first stop network-manager.
/etc/init.d/network-manager stop
Reply
Anonymous
Please help me. im using tplink tl-wn722n according to recommended wireless adapter.. But unable to
work with reaver again... What i have to to.. The problm is ap rate limit of 60 sec.. And in pixiewps
unable to crack wps. It just stoped automatically without trying any pin..
Reply
Anonymous
i connected with wifi .How i get wps pin of this wifi.So that i get password al the time easily when
password will change.
Reply
Anonymous
I bet every last one of you geeks has long hair, a heavy metal t-shirt and a complexion that has never
seen the sun. Grep a life!
Reply
Anonymous
oops! I have a problem,when i enter "reaver -i mon0 -b xx:xx:xx:xx:xx -vv" this command writes over
and over and nothing will happen,please help me!
[+] Trying pin 12345670
[+] Sending EAPOL START request
[!] WARNING: Receive timeout occurred
[+] Sending EAPOL START request
[!] WARNING: Receive timeout occurred
[+] Sending EAPOL START request
[!] WARNING: Receive timeout occurred
[+] Sending EAPOL START request
[!] WARNING: Receive timeout occurred
[+] Sending EAPOL START request
Reply
Replies
TALHA BALAJ
same here
Anonymous
http://www.kalitutorials.net/2014/04/hackwpawpa2wpsreaverkalilinux.html
15/17
10/28/2015
KaliLinuxHackingTutorials:HackWPA/WPA2WPSReaverKaliLinux
Reply
Anonymous
Any ideas on what to do when you get wps pin but wpa psk is '' (empty brackets)?
What other tools or techniques could be used to obtain wpa psk?
Reply
SCOTT
Once you get pin do you just enter it in place of the password key when logging in ?
Reply
Replies
DUSTIN AGEE
#headslap
Anonymous
what to do with wps pin as i know the wps pin of wifi?? how to hack password??
Reply
XSUKAX
TALHA BALAJ
i just wanna know this way will work on the LIVE BOOTED KALI LINUX 1.1 OR 2.0 . I have both
Reply
Enteryourcomment...
Commentas:
Publish
AlifAkbarArifin(Google)
Preview
http://www.kalitutorials.net/2014/04/hackwpawpa2wpsreaverkalilinux.html
Signout
Notifyme
16/17
10/28/2015
KaliLinuxHackingTutorials:HackWPA/WPA2WPSReaverKaliLinux
http://www.kalitutorials.net/2014/04/hackwpawpa2wpsreaverkalilinux.html
17/17