Hack WPA/WPA2 Wi-Fi With Kali Linux & Aircrack-ng (noob friendly) - By Paid Hackers
amit
15:19
Kali Linux can be utilized for many things, however it likely is best known for its capacity to penetration test, or "hack," WPA and WPA2 systems. There are many Windows applications that claim they can hack WPA; don't get them! They're just tricks, utilized by expert programmers, to bait beginner or wannabe programmers into getting hacked themselves. There is stand out way that programmers get into your system, and that is with a Linux-based OS, a remote card equipped for screen mode, and aircrack-ng or comparative. Likewise take note of that, even with these hacking tools, Wi-Fi hacking is not for begginers or for noobs. Playing with it obliges fundamental information of how WPA authentication functions, and moderate commonality with Kali Linux and its devices, so any programmer who obtains entrance to your system likely is no learner!
These are things that you'll require:
Essential notification: Hacking into anybody's Wi-Fi without consent is viewed as an unlawful demonstration or wrongdoing in many nations. We are performing this excercise for the purpose of penetration testing, hacking to wind up more secure, and are utilizing our own test network and router.
This will list the majority of the remote cards that supports monitor mode. On the off chance that no cards are listed, have a go at detaching and reconnecting the card and watch that it supports monitor mode. You can check if the card backings monitor mode by writing ifconfig in another terminal, if the card is listed in ifconfig, however doesn't appear in airmon-ng, then the card doesn't supports it.
You can see here that the card supports monitor mode and that its recorded as wlan0.
Step 5:
These are things that you'll require:
- A successful install of Kali Linux (which you probably already have done). If not, follow the tutorial here: installing kali linux
- A wireless adapter capable of monitor mode.
- A wordlist to try and “crack” the handshake password once it has been captured
- Time and patients
Essential notification: Hacking into anybody's Wi-Fi without consent is viewed as an unlawful demonstration or wrongdoing in many nations. We are performing this excercise for the purpose of penetration testing, hacking to wind up more secure, and are utilizing our own test network and router.
Step 1:
Start Kali Linux and login as a root.
Step 2:
Plugin your monitor mode wireless adapter, (Unless your computer card supports it). If you’re using Kali in VMware, then you might have to connect the card via the
icon in the device menu.
Step 3:
Disconnect from all wireless networks, open up a Terminal, and type airmon-ng
(if you are not logged in using root then type "sudo airmon-ng, then just give username and password being asked and then you will be able to use that terminal as a root user)
You can see here that the card supports monitor mode and that its recorded as wlan0.
Step 4:
Type airmon-ng start followed by the interface of your wireless card. In this tutorial , the name is wlan0, so the command would be: airmon-ng start wlan0
The “(monitor mode enabled)” message means that the card has successfully been put into monitor mode. Note the name of the new monitor interface, mon0.
EDIT:A bug recently discovered in Kali Linux makes airmon-ng set the channel as a fixed “-1” when you first enable mon0. If you receive this error, or simply do not want to take the chance, follow these steps after enabling mon0:
Type: ifconfig [interface of wireless card] down and hit Enter.
Replace [interface of wireless card] with the name of the interface that you enabled mon0 on; probably called wlan0. This disables the wireless card from connecting to the internet, allowing it to focus on monitor mode instead.
After you have disabled mon0 (completed the wireless section of the tutorial), you’ll need to enable wlan0 (or name of wireless interface), by typing: ifconfig [interface of wireless card] up and pressing Enter.
Replace [interface of wireless card] with the name of the interface that you enabled mon0 on; probably called wlan0. This disables the wireless card from connecting to the internet, allowing it to focus on monitor mode instead.
After you have disabled mon0 (completed the wireless section of the tutorial), you’ll need to enable wlan0 (or name of wireless interface), by typing: ifconfig [interface of wireless card] up and pressing Enter.
Step 5:
Type airodump-ng followed by the name of the new monitor interface, which is mon0.
If you receive a “fixed channel –1” error, see the Edit above.
Step 6:
Airodump command will now list all of the wireless networks in your location or area, and the useful information about them. Locate your network or the network that you have permission to penetration test. Once you’ve found your network on the list, hit Ctrl + Con your keyboard to stop the process. Note down the channel of your target network on leafpad or on any paper.
Step 7:
Note down the BSSID of the target network
Now type this command:
airodump-ng -c [channel] --bssid [bssid] -w /root/Desktop/ [monitor interface]
Replace [channel] with the channel of your target network. Paste the network BSSID where [bssid] is, and replace [monitor interface] with the name of your monitor-enabled interface, (mon0).
A complete command should look like this in this tutorial case:
airodump-ng -c 10 --bssid 00:14:BF:E0:E8:D5 -w /root/Desktop/ mon0
Now press enter.
Step 8:
Airodump with now monitor only the target network which you selected, allowing you to capture more specific information about it. What we’re really doing now is waiting for a device to connect or reconnect to the network, forcing the router to send out the four-way handshake that we need to capture in order to crack the password of wifi using kali linux.
Also, four files should show up on your desktop, this is where the handshake will be saved when captured, so don’t delete them!
However, we're not by any means going to sit tight for a gadget to join, no, that is not what eager hacker do. We're really going to utilize another cool-device that has a place with the aircrack suite called aireplay-ng, to accelerate the procedure. As opposed to sitting tight for a gadget to hack, hackers utilize this device to drive a device to reconnect by sending deauthentication (deauth) packets to the device, making it surmise that it needs to reconnect with the router. Also, four files should show up on your desktop, this is where the handshake will be saved when captured, so don’t delete them!
Obviously, all together for this apparatus to work, there must be another person joined with the system first and foremost, so watch the airodump-ng and sit tight for a customer to appear. It may take quite a while, or it may just take a second prior to the first shows. On the off chance that none appear after a long hold up, then the system may be discharge at this time, or you're to far from the network.
You can see in this picture, that a client has appeared on our network, allowing us to start the next step.
Step 9:
leave airodump-ng running and open a second terminal. In this terminal, type this command:
aireplay-ng –0 2 –a [router bssid] –c [client bssid] mon0
aireplay-ng –0 2 –a [router bssid] –c [client bssid] mon0
The –0 is a short cut for the deauth mode and the 2 is the number of deauth packets to send.
-a indicates the access point (router)’s bssid, replace [router bssid] with the BSSID of the target network, which in my case, is 00:14:BF:E0:E8:D5.
-c indicates the clients BSSID, noted in the previous picture. Replace the [client bssid] with the BSSID of the connected client, this will be listed under “STATION.”
And of course, mon0 merely means the monitor interface, change it if yours is different.
My complete command looks like this:
aireplay-ng –0 2 –a 00:14:BF:E0:E8:D5 –c 4C:EB:42:59:DE:31 mon0
aireplay-ng –0 2 –a 00:14:BF:E0:E8:D5 –c 4C:EB:42:59:DE:31 mon0
Step 10:
Upon hitting Enter, you’ll see aireplay-ng send the packets, and within moments, you should see this message appear on the airodump-ng screen!
This means that the handshake has been captured, the password is in the hacker’s hands, in some form or another. You can close the aireplay-ng terminal and hit Ctrl + C on the airodump-ng terminal to stop monitoring the network, but don’t close it yet just incase you need some of the information later.
Step 11:
This concludes the external part of this tutorial. From now on, the process is entirely between your computer, and those four files on your Desktop. Actually, the .cap one, that is important. Open a new Terminal, and type in this command:
aircrack-ng -a2 -b [router bssid] -w [path to wordlist] /root/Desktop/*.cap
-a is the method aircrack will use to crack the handshake, 2=WPA method.
-b stands for bssid, replace [router bssid] with the BSSID of the target router, mine is 00:14:BF:E0:E8:D5.
-w stands for wordlist, replace [path to wordlist] with the path to a wordlist that you have downloaded. I have a wordlist called “wpa.txt” in the root folder.
/root/Desktop/*.cap is the path to the .cap file containing the password, the * means wild card in Linux, and since I’m assuming that there are no other .cap files on your Desktop, this should work fine the way it is.
-b stands for bssid, replace [router bssid] with the BSSID of the target router, mine is 00:14:BF:E0:E8:D5.
-w stands for wordlist, replace [path to wordlist] with the path to a wordlist that you have downloaded. I have a wordlist called “wpa.txt” in the root folder.
/root/Desktop/*.cap is the path to the .cap file containing the password, the * means wild card in Linux, and since I’m assuming that there are no other .cap files on your Desktop, this should work fine the way it is.
My complete command looks like this:
aircrack-ng –a2 –b 00:14:BF:E0:E8:D5 –w /root/wpa.txt /root/Desktop/*.cap
aircrack-ng –a2 –b 00:14:BF:E0:E8:D5 –w /root/wpa.txt /root/Desktop/*.cap
Now press Enter.
Step 12:
hacking the password may take quite a while relying upon the extent of the wordlist. Our went rapidly.
The passphrase to our test-network was “notsecure,” and you can see here that aircrack found it.
If you find the password without a decent struggle, then change your password, if it’s your network. If you’re penetration testing for someone, then tell them to change their password as soon as possible.
Sincerely Paid hackers
Hack WPA/WPA2 Wi-Fi With Kali Linux & Aircrack-ng (noob friendly) - By Paid Hackers
Reviewed by amit
on
15:19
Rating:
Reviewed by amit
on
15:19
Rating:
