Skip to main content

WPA/WPA2 cracking using Dictionary Attack with Aircrack-ng.

WPA cracking involves 2 steps-


  1. Capture the handshake
  2. Crack the handshake to get the password

We have already covered WPA-handshake capture in a lot of detail. In this tutorial we will actually crack a WPA handshake file using dictionary attack. Our tool of choice for this tutorial will be aircrack-ng. We will not bother about the speed of various tools in this post. However, in the next post, we will compare various CPU and GPU algorithms for WPA hash cracking. I'd like to add that I already know the password of the network so I'll simply put it into the dictionary that I'm using. A full fledged dictionary attack is quite time consuming.

Also, a lot of people are facing problems with monitor mode in Kali 2.0. I have a post regarding that coming soon.
PS: If you stumbled on this post out of nowhere and find it hard to follow, I recommend you go through some of the easier posts first. How to use this site is a good place to begin.



 

My current state

I have already captured a WPA handshake for my Wifi. The password is fairly strong so one can't rely on any dictionary. So just for the sake of this exercise, I'll put the password in the dictionary myself.
 

My handshake capture


The handshake is captured in a file students2-01.cap (you can name yours whatever you want)
 
wireshark students2-01.cap
This command can be used to go through the packets captured. We will learn more about Wireshark later. I will guide you through a complete EAPoL 4-way handshake. For this tutorial, lets move on.
 

My dictionary file

root@kali:~# cat new.txt
firstpass
secondpass
randompass
************ 
 

The last line has the password.
 

Action!

root@kali:~# aircrack-ng students2-01.cap -w new.txt

It will ask for index number of target network. Select the network you want to hack.
I chose 13

 
 It didn't take any time at all considering Aircrack had to check a total of 4 keys!!!
 
                                 Aircrack-ng 1.2 rc2


                   [00:00:00] 4 keys tested (589.45 k/s)


                           KEY FOUND! [ ***************** ]


      Master Key     : 60 B7 9D 29 26 0F 92 65 ** ** ** ** **

      Transient Key  : 1C F2 23 FE B3 67 ** ** ** *
                      
      EAPOL HMAC     : F9 A1 5D ** ** ** ** **

Comments

Popular posts from this blog

Top 10 Free Instagram Hacker App For iPhone and Android.

Top 10 Free Instagram Hacker App For iPhone and Android Posted by Nagesh ;) Instagram is no doubt one of the most used apps when it comes to uploading and sharing pictures with your friends and families. However, as much as you may like to use Instagram, the fact remains that anyone can access your account with or without your consent. How is this possible you may ask? The answer lies in the Instagram hacker app. Yes!! You heard right. An Instagram hacker app is a type of an app that works by retrieving passwords and other login details from a target account. As it stands, since Instagram is available on both the Android and iOS platforms, these apps can be found on this platforms as well. These Instagram hack apps are efficient when it comes to hacking passwords, so it's best to be guaranteed that they will hack your IG account in a matter of minutes. Part 1: 5 Free Instagram Hacker App For iPhone Part 2: 5 Free Instagram Hacker App For Android Part 3: Using ...

How Hack.chat Makes Private and Disappearing Chatrooms in 5 Seconds

How "Hack.chat" Makes Private and Disappearing Chatrooms in 5 Seconds There is no dearth of instant messaging applications these days and people are addicted to Facebook Messenger, WhatsApp, Snapchat, IM on Twitter, Hangouts and other apps for communicating to each other every moment. Recently, Facebook announced that now  you don’t even need a Facebook account to use Messenger . But if you want to create your own DOS style chatroom right from your web browser that destroys itself when chat’s over,  Hack.chat  is the just the right thing for you. W hen you use  Hack.chat , there’s nothing to worry about privacy breach or sign-ins. Creating a chat room is dead simple and it could be disposed at any point after the completion of chat. I call it disposable as it doesn’t keep record of all unappropriated and private message you’ve ever sent. How to create instant disposable chatrooms with Hack.chat? Creating a private chatroom in  Hack.chat ...

How to Unlock MAC with Android Device’s Fingerprint.

How to Unlock MAC with Android Device’s Fingerprint.                                                                                  May 18, 2017                                Unlock Mac with Android Device's Fingerprint Now you can Unlock Mac with Android Device’s Fingerprint by creating the common authentication platform between both the device to use your Android device as an authenticator for your Mac.   W hile if you are a Mac user, then you might be simply knowing that there are a lot of apps on the iPhone devices that could be used to interact with the Mac system. Many apps could be used to unlock your Mac directly through the iPhone device, and this is what the users p...