body { background-image: url('') !important; }

Thursday, 29 September 2016

Hacking wep

Hacking wep (wireless equilvalent protocol)

1. Fire up kali 
(the most advanced hacking os ever built). If u haven't install kali yet then read this article to install kali now.

2. Find out the name of your wireless adapter.
Alright, now, your computer has many network adapters, so to scan one, you need to know its name. So there are basically the following things that you need to know-
  • lo - loopback. Not important currently.
  • eth - ethernet
  • wlan - This is what we want.
Now, to see all the adapters, type ifconfig on a terminal. See the result. Note down the wlan(0/1/2) adapter.

3. Enable Monitor mode
Now, we use a tool called airmon-ng to  create a virtual interface called mon. Just type 

airmon-ng start wlan0

Your monitoring interface will be created

4. Start capturing packets

Now, we'll use airodump-ng to capture the packets in the air. This tool gathers data from the wireless packets in the air. You'll see the name of the wifi you want to hack.

 airodump-ng mon0

5. Store the captured packets in a file
This can be achieved by giving some more parameters with the airodump command.
 airodump-ng mon0 --write name_of_file

6. Now the captured packets will be stored in name_of_file.cap. You will have to wait till you have enough data (10000 minimum)

7. Crack the wifi

Now, you can use aircrack-ng to crack the password. (in a new terminal)
 aircrack-ng name_of_file-01.cap 
 The program will ask which wifi to crack, if there are multiple available. Choose the wifi. It'll do its job. If the password is weak enough, then you'll get it in front of you. If not, the program will tell you to get more packets. The program will retry again when there are 15000 packets, and so on.

You'll get the key, probably in this format-

Remove the colons
xxxxxxxxxx is the password of the wireless network

In next tutorial i will show you how to hack a wps enabled wifi within 10 hours.


Copyright Tips-N-Tricks 2012-2016. Powered by Blogger.