Open the terminal window in Kali. Use keyboard shortcut Ctrl+alt+t or type terminal in the search. Sometimes you might be frustrated especially when your system detect a wifi network but you are restricted from accessing it due to users password, now i can teach you a simple trick to hack the password. Step one Go to command prompt, click start up menu on your system, click RUN, type Cmd, and click ok to open the command prompt step two.
What is Wi-Fi hacking?
Essentially, Wi-Fi hacking is cracking the security protocols in a wireless network, granting complete access for the hacker to view, store, download, or abuse the wireless network. With all the information gathered from your compromised Wi-Fi, hackers can use your information for their own personal requirements.
How do Wi-Fi hacking works?
This technique functions in the following way:
How To Hack Wifi Password Using Cmd Pdf Download
- Primarily, we will be going to discover targeted Wi-Fi (Access Point) through monitoring the Wi-Fi signals.
- Then, it is essential on our part to send de-authentication packets to the AP which will compel the clients connected to the access point to obtain disconnect from the AP.
- When the client will attempt to reconnect to the AP, we will grab the 4-way handshake file which comprises the password in encrypted form.
- After that, to get the password, we will be going to use aircrack-ng to crack the handshake file
Prerequisites to hack a Wi-Fi password
- Make sure you have Kali installed on your computer or installed as dual-boot or just run kali as live Operating System and you are in the range of Wi-Fi on which you intent to carry out the attack.
- Make sure you have an external Wi-Fi adapter that supports packet injection and monitor mode, If you want to use a virtual machine.
- If you don’t have an external Wi-Fi adapter, install kali as dual-boot on your PC or laptop.
Steps of hacking Wi-Fi password using kali?
The following steps will help you crack a Wi-Fi password using kali.
1. Open the terminal window in Kali
Use keyboard shortcut Ctrl+alt+t or type terminal in the search box to open a terminal window in Kali.
2. Put your Wi-Fi adaptor into monitor mode
You are required to know first the name of your Wi-Fi adaptor before putting your Wi-Fi into monitor mode and for that type in the following command in the terminal.
I am going to perform all the following commands on this adaptor as you can see, I have a single Wi-Fi adaptor(wlan0).
Now to put this adaptor into monitor mode type the subsequent command in the terminal.
While your Wi-Fi is in monitor mode, notice that you can’t use your internet. And my adeptor name is changed from wlan0 to wlan0mon.
We are required to kill background processes, before we start monitoring Wi-Fi signals. So that they will not be able to interrupt while we are working in monitoring mode, for that type following command in the terminal window.
You can start monitoring the Wi-Fi signals near you, after putting your Wi-Fi into monitor mode.
3. Start monitoring Wi-Fi signals
We are going to use airodump-ng command to start monitoring Wi-Fi signals. Just type the subsequent command in the terminal.
On the upper part of the screen, all the visible access points (APs) are shown and all the clients which are connected to the APs are listed below.
4. Let’s target the AP you want to hack
If you came across your target in the list of visible APs and at least one client connected to that AP, we can go further else you require to wait for somebody to get connected to that AP first.
Now open up a new terminal window (don’t close the present window) because we required to copy bssid and channel from the current window.
Type the following command in the terminal window.
5. Capture hand-shake
In order to capture the hand-shake which contains the encrypted password, we need to disconnect the connected clients from the AP. For that open new terminal window and type the following command.
This command will send 10 de-authentication packets to the AP which will cause the clients to disconnect from the AP.
And when they will try to reconnect to the AP we will get the file containing the encrypted password. As you can see in the following image we got a message saying “WPA Handshake: BSSID of target” this message means our attack is successful, and we are able to capture the handshake file.
How To Hack Wifi Password Pdf Download
We can find a capture file on the location we specified in the 4th step, in my case it’s root/WPfile-01.cap.
6. Decrypt the password
Now, to decrypt the password present in our file WPfile-01.cap, we need to run the following command against this file using a password list, in my case, I am using a custom password list named PasswordList.txt.
How to exit monitoring mode?
Type following command.
How to secure your wireless network from getting hacked?
- Change your default password
- Increase the length of your password (min 12 characters)
- Introduce some symbols and numbers in your password
- Restrict access to your network by permitting only registered MAC addresses
If you want daily hacking tutorial and want to learn ethical hacking then Join our telegram channel and also we are sharing free udemy courses, so don't forget to join.
Wifi hacking means you can get free internet. Most people aren’t satisfied with this, they want more.
Hacking router username & password means you can control the internet. Stop over using wifi they you want, block specific devices etc.
Here in this article I will show you step by step tutorial to hack wifi router using cmd also known as command prompt.
Although windows aren’t made for hacking, Linux is the best if you want to become ethical hacker.
However, some simple things such as finding router password is possible by CMD.
Here are your steps.
- First open cmd, press windows key+ r then type cmd and press enter. It will launch cmd as you can see in the screenshot. Make sure to find the router password, you should be connected to the network by cable to the wireless network.
- type ipconfig. It will show a lot of data. You don’t need to understand all of the data. Just see the value front of a Default gateway as shown in the screenshot. If your computer is connected to multiple networks by cable then make you are viewing under the wifi section.
- Now open the browser, type the default gateway IP address in the address bar and press enter.
- It will ask you for a username & password.
- Most of the time, people don’t change the default username password. Here is the list of usernames & passwords that you can try.
On successful login it will look something like this one.
Things You Can Do After Hacking Router Password
Here are things that people love to do after getting router password.
- Discounting other devices for fast speed
- Blocking specific device of their friends for fun
- Changing Wifi Password and Router password for fun
In case default login details didn’t worked then you can apply word list attack method to hack router password.
For apply wordlist attack you need Kali Linux or any other linux distribution. I think this is topic for another article. If you want step by step tutorial on this, let me know by the comment section.
I will happy to write an article for you. In case you have any other question or query let me know by the comment section. We are here for help.
If you are visiting imagediamond first time then don’t forget to check other articles such as how to create instagram phishing page that is undetectable by hosting companiens.
Comments are closed.