How To Hack Wifi Password Using Kali Linux?
Hello Friends! Today in this tutorial we’re going to discuss “how to hack wifi password using Kali Linux”. I generally use the Bruteforce attack to crack Wi-Fi password. In this attack, we make a monitor mode in the air by some commands that capture Wi-Fi password in the hash form.
After capturing that hash form password we need to download a wordlist file, you can get it, by clicking here . This list contains so many simple passwords. After doing this we use aircrack-ng tool to match the hashes of capture file with the password list. Once it finds a match, it will show you the correct password.
It is an attack in which an attacker create a password list which is full of common passwords. There is a tool present in Kali called aircrack-ng which try each and every password present in the wordlist very fast.
It will show you the present wireless cards attached to your system for Wi-Fi.
ifconfig wlan0 down
airmon-ng check kill
iwconfig wlan0 mode monitor
ifconfig wlan0 up
This command will start the monitor mode which is then used to capture the Wi-Fi password.
This command for Wifi sniffing, This will shows the SSID, MAC , CH, Details.
airodump-ng wlan0 — bssid EE:AD:E0:24:D4:5B -c 2 — write wpa_crack-08
So, this airodump-ng command captures the information of the Wi-Fi and then type channel no. to give it the information about the router on which we have to perform this attack. Similarly, I give ssid to airodump and then I type -w which shows the location in which I have to save the captured files. So, I saved captured files to root file and then I typed Wireless interface name.
I cant get Hand shake, So this is the command to send unauthenticated packets to the router.
sudo aireplay-ng -3 -b EE:AD:E0:24:D4:5B -h E4:19:C1:9D:99:31 wlan0 — ignore-negative-one
It will disconnect all the devices which are connected to that router. Once it accomplishes its task. Then disconnected devices will send a request to the router for reconnection to the router.
When a device sends the packet to reconnect, your monitor mode will capture the password. While it captures the password, in the first terminal window you see at the top right corner there is a handshake present.
From wireshark make sure eapol paket is available or not, This eapol packet is required for crack the password.
But the problem is that the password is in the hash form. We have to decrypt it. So, there are so many methods to decrypt the password.
here I use aircrack-ng to match with saved .cap file
aircrack-ng wpa_crack-08.cap -w /usr/share/wordlists/rockyou.txt
Successfully we cracked the wifi password.