Just installed Kali Linux on Your PC and Looking for a guide to hack any WPA / WPA2 / WPA2-PSK protected wifi. Your search ends here, here today i’ll show you two methods by which you’ll be able to hack wifi using kali linux. In the first Method i’ll use Reaver (Brute Force) attack to hack wifi password using kali linux. While in the second method i’ll use word list method in this kali linux wifi hack tutorial.
Note – Before reading this blog post further, please note that hacking any wifi is illegal. No one from gadgetcubes will take any kind responsibility if anything goes wrong with you. Proceed at your own risk. It’s only for educational purposes.
Kali Linux WiFi Hack –
Make sure you’ve installed the latest version of kali linux properly. Boot into kali linux as root user. If you’re using laptop, then it doesn’t require any additional hardware. As most of laptops have inbuilt wifi adapter. But if you’re running kali linux in virtual box or using PC, the you may not have a wifi adapter. So then first of all you need an external wifi adapter, so buy a cheap one from TP link, or DLink etc.
Method 1 –
Hack WiFi Using Kali Linux –
Please do enter all of these following command one by one. Jumping steps, or missing out steps will generate errors.
Step 1 –
Open up terminal window from your linux desktop. Now enter the following command – “ifconfig” and hit enter. This command will show the hardware properties of your pc. From there you’ve to note down the property name of your wireless adapter. In my case, that is wlan0.
In you case, this could be wlan0mon or anything similar. Copy it carefully, otherwise you can’t proceed further.
Step 2 –
Right after that we’ve to disconnect all of the connected wifi network from pc. Here we’ve to use the following command “airmon-ng check kill“. After entering this command, hit enter. You’ll see something “Killing process…591 wpa_supplicant“. You can check that your connected wifi network will be disconnected from your pc. Moreover without restart, you can’t connect to any wifi network.
Step 3 –
To ensure if step 2 worked properly, use this following command – airmon-ng check”. It should return a blank value or blank line.
Step 4 –
In the terminal window, just enter “airmon-ng start wlan0“. (make sure to replace wlan0 with your interface name that you’ve got follwoing the above step before this) . It’ll will show your wireless adapter’s driver and chipset properties. Basically now you need to note down or copy the address listed below Interface. Here it’s wlan0, in your case it might be different.
Step 5 –
Here is the most important step, now we’ll be capturing the wifi packets in the air using airodump command . You need to capture the BSSID of the target wifi or router. BSSID is the physical address of that router. Use this command – “airodump-ng wlan0mon“.
Now on the next screen, in the terminal window you could see all of the nearby available wifi networks. Copy the BSSID of the wifi that you want to hack or crack.
Step 6 –
As soon as the target wifi name appears on your screen simply press ctrl+C from your keyboard. Now enter this command “reaver -i wlan0mon -b (Paste the Copied Bssid) -vv -K 1“. And hit enter. Kali linux will now attempt to crack the wifi password. It could take around 2-3 minutes.
Your inputted command should exactly look like this. So this reaver is a wifi protected setup attack tool. It will only work if someone is using the target wifi, or a device is connected to that wifi network.
After the process ends, just can find the wifi password in the WPA PSK line, it’ll also show up the WPS PIN of that wifi. Now you’ve got the password, and you know what to do now.
In case the above method isn’t working, here’s a secondary method for kali linux wifi hack.
You may watch this video to know how to hack wifi using kali linux using reaver method.
Method 2 –
Hack WPA/WPA2 WiFi With Kali Linux –
Most of the modern routers are secured from all types of attacks. So there are possibilities that the first method may not work. But this second method works flawlessly to hack any WPA, WPA2, WPA2 – PSK wifi network using kali linux. Also this second method is a bit more complicated for beginners.
Step 1 –
Log in as root user in kali linux. And as the first method, enter this command “airmon-ng“. This will list the wireless card properties connected to your pc that supports monitor mode.
Step 2 –
Right click and copy the name of the monitor interface. Again here it’s wlan0. Enter the command “airmon-ng start wlan0.” In you case, you have to replace this wlan0 with your monitor interface property name.
Step 3 –
Now again you will get a new monitor interface property name just right below the Interface option. Copy that, in my case that is wlan0mon. Use this following command “airodump-ng wlan0mon". It'll show up all of the nearby wifi networks in your area within in your reach.
As soon you get your target wifi name listed on your terminal screen, press ctrl+c together to stop the process.
Step 4 –
Now just copy the BSSID of the targeted wifi name of the wifi network that you are going to hack. And use this following command – “airodump-ng -c [channel] –bssid [[aste the copied bssid] -w /root/Desktop/ [monitor interface name that copied before]“.
Your complete command line should like this. Now hit enter. It will create some fils i on our home screen. Now we’ve to capture the handshake.
Step 5 –
The captured handshake will be stored into that newly created 4 files. Now type this command – “aireplay-ng –0 2 –a [paste copied router bssid] –c [paste client bssid] mon0“.
Airplay-ng will start to send packets. Now you’ll need to open a new terminal window.
Step 6 –
In the newly opened terminal window type “aircrack-ng –a2 -b [router bssid] –w /root/wpa.txt /root/Desktop/*.cap”
Now simply wait, aircrack-ng will monitor the wifi and crack its password using the selected wordlist.
This was our tutorial about how to hack wifi using kali linux. We hope this kali linux wifi hack method will be helpful for you. Incase you’re facing any kind of troubles and issues, fell free to comment down below.