In this article, we will use Aircrack-Ng and dictionary attack method with encrypted password taken from the 4-step handshake process.
When Wi-Fi was first developed in the late 1990s, Wired Equivalent Privacy (WEP) was created to secure wireless communications, but it has many bugs and is easily cracked. For that reason, most wireless access points now use Wi-Fi Protected Access II with pre-shared key for wireless security, also known as WPA2-PSK. WPA2 uses encryption algorithm, AES is stronger, so it is difficult to crack, but not impossible. The weakness in WPA2-PSK system is that the encrypted password is shared during 4-way handshake (4-way handshake). When the client authenticates to the access point (AP), the client and AP perform a 4-way handshake to authenticate the user to the AP. This is the time to hack the password.
- Wireless security: Say NO to WEP and YES to WPA
Technical Ella ViswanathFacebook:-:- https://twitter.com/EllaViswanath. Ever thought about getting INFINITE free WiFi at a Hotel, Cruise, Airport or ANYTHING ELSE? Well, me too, and today I'm going to show YOU HOW!
In this article, we will use Aircrack-Ng and dictionary attack method with the password encrypted from the 4-step handshake process.
- How to find Wi-Fi passwords of relatives
How to hack WiFi password with Aircrack-Ng
Step 1: Set up Wi-Fi adapter in Monitor Mode with Airmon-Ng
First, we need to use a wireless network adapter compatible with Kali Linux.
- The best 8 long-range Wifi routers in 2017
This is similar to setting up a wired adapter in mixed mode (promiscuous mode). It allows to see all the wireless traffic going through. Open the Terminal window and type:
airmon-ng start wlan0
Note, airmon-ng renames adapter wlan0 to mon0.
Step 2 : Get traffic information with Airodump-Ng
Now wireless adapter is in Monitor mode, so all wireless traffic can be seen. Get traffic information using the airodump-ng command.
This command takes all the traffic that the wireless adapter can see and displays important information about it such as BSSID (AP's MAC address), power, beacon frame number, data frame number, channel, speed , encryption (if any), and finally ESSID (SSID). Type the following command in the terminal:
airodump-ng mon0
Note, all visible APs are listed at the top of the screen and the clients are listed at the bottom of the screen.
Step 3: Concentrate Airodump-Ng on an access point on a channel
The next step is to focus on one AP on one channel and collect important data from there. To do this need the BSSID and channel, open another Terminal window and type:
airodump-ng --bssid 08: 86: 30: 74: 22: 76 -c 6 --write WPAcrack mon0
- 08: 86: 30: 74: 22: 76 is the AP's BSSID
- -c 6 is the channel in which the AP is operating
- WPAcrack is the file you want to write
- mon0 is a wireless adapter
As shown in the screenshot above, focus on collecting data from an AP with Belkin276's ESSID on channel 6.
Step 4: Aireplay-Ng Deauth
Hack Wifi Password Without Download
In order to get encrypted passwords, we need to have an authentic client for the AP. If it is authenticated, we can remove authentication and the system will automatically confirm it, so that the encrypted password can be retrieved. Please open another terminal window and type:
aireplay-ng --deauth 100 -a 08: 86: 30: 74: 22: 76 mon0
- 100 is the number of un-verified frames
- 08: 86: 30: 74: 22: 76 is the AP's BSSID
- mon0 is a wireless adapter
Step 5: The 4-way handshake process
In the previous step, when they re-authenticate the password, airodump-ng will try to retrieve the password during the 4-way handshake. Go back to the terminal window airodump-ng and check to see if it succeeded.
If on the top right line has ' WPA handshake ' written, it means that the process of obtaining the encrypted password was successful.
Step 6: Now we have the encrypted password in the WPAcrack file. Run the file using a password file, here use the default password list named darkcOde. Now, crack the password by opening a terminal and typing:
aircrack-ng WPAcrack-01.cap -w / pentest / passwords / wordlists / darkc0de
- WPAcrack-01.cap is the file name written in the command airodump-ng
- / pentest / passwords / wordlist / darkc0de is the absolute path to the password file
This process can be relatively slow and tedious. Depending on the length of the password list, you may have to wait a few minutes to a few days. When the password is found, it will appear on the screen. Remember, password files are very important. Try the default password file first and if it fails, proceed to a larger and more complete password file.
Maybe you want to know: How to hack Wifi passwords using Wifiphisher
Hack Wifi Password Using Mac Terminal
I wish you all success!