How To Hack WEP WiFi Password | Hi guys, in my last post i posted some detail of WiFi encryption and how you can easily hack them with some simplest GUI tools. But today i will show you how you can done same thing with commands line on terminal. Believe me there are more chances of cracking WiFi command lines than GUI.
Alright, i am assuming you have Kali Linux and running on your computer. If not, here is a post on hacking with Kali Linux.
How To Hack WEP WiFi Password Using Kali Linux
To hack WEP WiFi encrypted, just follow these simple steps-
- Find out the name of your wireless adapter.
Alright, your computer has many network adapters; you need to know its name. Open a new terminal and type:
and hit enter.
So there are basically the following results that you need to know-
lo – loopback.
eth – ethernet
wlan0 or wlan1
Note down your wlan(0/1/2) adapter.
- Enable Monitor mode
To enable monitor mode just type:
airmon-ng check killairmon-ng start wlan0
Remember in my wireless adapter is wlan0, vary with your wireless card.
Your new interface called monitoring mode will be created as mon0 in case of Kali Linux version 1.0.
Note: If you are using kali 2.0 then your new interface will be wlan0mon.
- Start capturing packets
Now, we’ll use airodump-ng to capture the packets of the wifi. This tool gathers data from the wireless packets of the wifi.
Type in the terminal:
For Kali 2.0, replace mon0 with wlan0mon.
You’ll see many WiFi as well as the name of the WiFi you want to hack.
- 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
Again for Kali 2.0, replace mon0 with wlan0mon.
Now the captured packets will be stored in name_of_file.cap. You will have to wait till you have enough data (10000 minimum)
Crack the WiFi
When finally you’ve got 10000 packets (don’t stop the packet capture yet). Now, you can use aircrack-ng to crack the password.
In a new terminal type:
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. If you have any question, comment freely.
How To Hack WEP WiFi Password Using Kali Linux 2018