• About
  • Contact
  • Cookie
  • Disclaimer
  • Privacy Policy
  • Change the purpose of use

Tnhelearning.edu.vn - Various useful general information portal

  • Photo
  • Bio
  • How To
  • Tech

How to Hack Wi-Fi WPA/WPA2 Using Kali Linux

October 3, 2023 by admin Category: How To

You are viewing the article How to Hack Wi-Fi WPA/WPA2 Using Kali Linux  at Tnhelearning.edu.vn you can quickly access the necessary information in the table of contents of the article below.

In recent years, the availability of wireless networks has become fundamental to our daily lives. We rely on Wi-Fi connectivity for a plethora of activities, from browsing the internet and communicating with others, to streaming our favorite movies and music. However, this increased reliance on wireless networks has also led to new security vulnerabilities. Among the most widely used and secure protocols for Wi-Fi networks are WPA (Wi-Fi Protected Access) and WPA2. Despite their robustness, these protocols can still be exploited by hackers. In this guide, we will delve into the world of hacking Wi-Fi WPA/WPA2 using Kali Linux, a powerful operating system specifically designed for penetration testing and ethical hacking purposes. By exploring the methods and techniques involved in hacking Wi-Fi networks, we aim to raise awareness about the importance of secure network configurations and provide valuable insights for individuals seeking to protect themselves from potential security breaches.

X

wikiHow is a “wiki” site, which means that many of the articles here are written by multiple authors. To create this article, 23 people, some of whom are anonymous, have edited and improved the article over time.

This article has been viewed 43,730 times.

This wikiHow teaches you how to crack (hack) a WPA or WPA2 network password using Kali Linux.

Table of Contents

  • Steps
    • Prepare to hack Wi-Fi
    • Hack Wi-Fi
    • Use aircrack-ng on a computer without a GPU
    • Attack deauth to collect handshake
  • Advice
  • Warning

Steps

Prepare to hack Wi-Fi

Image titled Understandhacwpa

Image titled Understandhacwpa

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/d/d8/Understandhacwpa.jpg/v4-728px-Understandhacwpa.jpg”,”bigUrl”:”https://www.wikihow. com/images/thumb/d/d8/Understandhacwpa.jpg/v4-728px-Understandhacwpa.jpg”,”smallWidth”:460,”smallHeight”:259,”bigWidth”:728,”bigHeight”:410,”licensing” :”<div class=”mw-parser-output”></div>”}
You need to understand when we can legally hack Wi-Fi. In most countries, the only time you can crack a WPA/WPA2 network is when the network belongs to you, or the owner explicitly gave you permission to hack.

  • Hacking the network that does not meet the above criteria is considered illegal and may constitute a crime.
Image titled Hack WPA_WPA2 Wi Fi with Kali Linux Step 2

Image titled Hack WPA_WPA2 Wi Fi with Kali Linux Step 2

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/d/d9/Hack-WPA_WPA2-Wi-Fi-with-Kali-Linux-Step-2-Version-2.jpg/v4- 728px-Hack-WPA_WPA2-Wi-Fi-with-Kali-Linux-Step-2-Version-2.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/d/d9/ Hack-WPA_WPA2-Wi-Fi-with-Kali-Linux-Step-2-Version-2.jpg/v4-728px-Hack-WPA_WPA2-Wi-Fi-with-Kali-Linux-Step-2-Version-2. jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”<div class=”mw-parser-output”></div>”}
Download the Kali Linux disk image. Kali Linux is a commonly used tool to hack WPA and WPA2 networks. You can download the Kali Linux installation image (ISO file) by:

  • Go to https://www.kali.org/downloads/ using a web browser on your computer.
  • Click HTTP next to the Kali version you want to use.
  • Wait for the file download to complete.
Image titled Hack WPA_WPA2 Wi Fi with Kali Linux Step 3

Image titled Hack WPA_WPA2 Wi Fi with Kali Linux Step 3

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/7/7f/Hack-WPA_WPA2-Wi-Fi-with-Kali-Linux-Step-3-Version-2.jpg/v4- 728px-Hack-WPA_WPA2-Wi-Fi-with-Kali-Linux-Step-3-Version-2.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/7/7f/ Hack-WPA_WPA2-Wi-Fi-with-Kali-Linux-Step-3-Version-2.jpg/v4-728px-Hack-WPA_WPA2-Wi-Fi-with-Kali-Linux-Step-3-Version-2. jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”<div class=”mw-parser-output”></div>”}
Plug the USB into the computer. We need to use a flash drive of at least 4 GB for this process.
Bootable image title

Bootable image title

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/d/d4/Bootable.jpg/v4-728px-Bootable.jpg”,”bigUrl”:”https://www.wikihow. com/images/thumb/d/d4/Bootable.jpg/v4-728px-Bootable.jpg”,”smallWidth”:460,”smallHeight”:259,”bigWidth”:728,”bigHeight”:410,”licensing” :”<div class=”mw-parser-output”></div>”}
Set USB as boot drive . This step is necessary to be able to use the USB as the installation location.

  • You can also use a Mac for this step.
Image titled Hack WPA_WPA2 Wi Fi with Kali Linux Step 5

Image titled Hack WPA_WPA2 Wi Fi with Kali Linux Step 5

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/a/a1/Hack-WPA_WPA2-Wi-Fi-with-Kali-Linux-Step-5-Version-2.jpg/v4- 728px-Hack-WPA_WPA2-Wi-Fi-with-Kali-Linux-Step-5-Version-2.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/a/a1/ Hack-WPA_WPA2-Wi-Fi-with-Kali-Linux-Step-5-Version-2.jpg/v4-728px-Hack-WPA_WPA2-Wi-Fi-with-Kali-Linux-Step-5-Version-2. jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”<div class=”mw-parser-output”></div>”}
Copy the Kali Linux ISO file to the USB. Open the flash drive, then drag the downloaded Kali Linux ISO file and drop it into the USB’s window.

  • You need to make sure that the USB is still connected to the computer after completing this process.
Image titled Hack WPA_WPA2 Wi Fi with Kali Linux Step 6

Image titled Hack WPA_WPA2 Wi Fi with Kali Linux Step 6

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/1/10/Hack-WPA_WPA2-Wi-Fi-with-Kali-Linux-Step-6-Version-2.jpg/v4- 728px-Hack-WPA_WPA2-Wi-Fi-with-Kali-Linux-Step-6-Version-2.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/1/10/ Hack-WPA_WPA2-Wi-Fi-with-Kali-Linux-Step-6-Version-2.jpg/v4-728px-Hack-WPA_WPA2-Wi-Fi-with-Kali-Linux-Step-6-Version-2. jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”<div class=”mw-parser-output”></div>”}
Install Kali Linux. To install Kali Linux on your computer, proceed as follows:

  • Restart the Windows computer.
  • Access the BIOS menu.
  • Set up your computer to boot from the USB drive by looking for “Boot Options” (or similar), selecting the USB name, and moving the drive to the top of the list.
  • Save and exit, then wait for the Kali Linux installation window to appear (you may need to restart your computer again).
  • Follow the Kali Linux installation prompt that appears on the screen.
Image titled Hack WPA_WPA2 Wi Fi with Kali Linux Step 7

Image titled Hack WPA_WPA2 Wi Fi with Kali Linux Step 7

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/5/58/Hack-WPA_WPA2-Wi-Fi-with-Kali-Linux-Step-7-Version-2.jpg/v4- 728px-Hack-WPA_WPA2-Wi-Fi-with-Kali-Linux-Step-7-Version-2.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/5/58/ Hack-WPA_WPA2-Wi-Fi-with-Kali-Linux-Step-7-Version-2.jpg/v4-728px-Hack-WPA_WPA2-Wi-Fi-with-Kali-Linux-Step-7-Version-2. jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”<div class=”mw-parser-output”></div>”}
Buy a Wi-Fi network card that supports monitoring. You can find a Wi-Fi adapter online or in a computer store. The Wi-Fi adapter must support monitoring (RFMON) before you can crack the network.

  • Many computers have a built-in RFMON Wi-Fi adapter, so you should proceed with the first four steps of the next section before purchasing.
  • If you are using Kali Linux on a virtual machine, you will need a Wi-Fi adapter regardless of the type of card in the computer.
Image titled Hack WPA_WPA2 Wi Fi with Kali Linux Step 8

Image titled Hack WPA_WPA2 Wi Fi with Kali Linux Step 8

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/1/10/Hack-WPA_WPA2-Wi-Fi-with-Kali-Linux-Step-8-Version-2.jpg/v4- 728px-Hack-WPA_WPA2-Wi-Fi-with-Kali-Linux-Step-8-Version-2.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/1/10/ Hack-WPA_WPA2-Wi-Fi-with-Kali-Linux-Step-8-Version-2.jpg/v4-728px-Hack-WPA_WPA2-Wi-Fi-with-Kali-Linux-Step-8-Version-2. jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”<div class=”mw-parser-output”></div>”}
Log in to the Kali Linux computer with privileges (root). Enter root username and password to login.

  • You will need the root account for the whole hacking process.
READ More:   How to Find Telegram Channels on iPhone or iPad
Image titled Hack WPA_WPA2 Wi Fi with Kali Linux Step 9

Image titled Hack WPA_WPA2 Wi Fi with Kali Linux Step 9

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/4/4e/Hack-WPA_WPA2-Wi-Fi-with-Kali-Linux-Step-9-Version-2.jpg/v4- 728px-Hack-WPA_WPA2-Wi-Fi-with-Kali-Linux-Step-9-Version-2.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/4/4e/ Hack-WPA_WPA2-Wi-Fi-with-Kali-Linux-Step-9-Version-2.jpg/v4-728px-Hack-WPA_WPA2-Wi-Fi-with-Kali-Linux-Step-9-Version-2. jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”<div class=”mw-parser-output”></div>”}
Insert the Wi-Fi adapter into the Kali Linux computer. Immediately, the adapter will begin to install and download the necessary drivers; When prompted, follow the on-screen instructions to complete the setup. After completing this step, you can proceed to hack the target network.

  • Even if you have set up the adapter on your computer before, you still have to set up the network card for Kali Linux at this step by inserting it.
  • In most cases, you just need to insert the network card into the computer to proceed with the setup.

Hack Wi-Fi

Image titled 6560850 10

Image titled 6560850 10

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/a/af/6560850-10.jpg/v4-728px-6560850-10.jpg”,”bigUrl”:”https:// www.wikihow.com/images/thumb/a/af/6560850-10.jpg/v4-728px-6560850-10.jpg”,”smallWidth”:460,”smallHeight”:346,”bigWidth”:728,” bigHeight”:548,”licensing”:”<div class=”mw-parser-output”></div>”}
Open Terminal on the Kali Linux computer. Find and click on the Terminal app with the black frame icon with a white “>_” symbol inside.

  • Or you can press Alt + Ctrl + T to open Terminal.
Image titled 6560850 11

Image titled 6560850 11

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/b/bc/6560850-11.jpg/v4-728px-6560850-11.jpg”,”bigUrl”:”https:// www.wikihow.com/images/thumb/b/bc/6560850-11.jpg/v4-728px-6560850-11.jpg”,”smallWidth”:460,”smallHeight”:344,”bigWidth”:728,” bigHeight”:545,”licensing”:”<div class=”mw-parser-output”></div>”}
Enter the command to install Aircrack-ng. Type the command below and press ↵ Enter :

 sudo apt-get install aircrack-ng
Image titled 6560850 12

Image titled 6560850 12

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/8/80/6560850-12.jpg/v4-728px-6560850-12.jpg”,”bigUrl”:”https:// www.wikihow.com/images/thumb/8/80/6560850-12.jpg/v4-728px-6560850-12.jpg”,”smallWidth”:460,”smallHeight”:348,”bigWidth”:728,” bigHeight”:551,”licensing”:”<div class=”mw-parser-output”></div>”}
Enter the password when prompted. Enter the password you use to log into the computer and press ↵ Enter . Root access will be enabled with any other commands executed on the Terminal.

  • If you have to open another Terminal window (as we will do in this article), you may need to execute the sudo command with the password again.
Image titled 6560850 13

Image titled 6560850 13

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/9/95/6560850-13.jpg/v4-728px-6560850-13.jpg”,”bigUrl”:”https:// www.wikihow.com/images/thumb/9/95/6560850-13.jpg/v4-728px-6560850-13.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,” bigHeight”:546,”licensing”:”<div class=”mw-parser-output”></div>”}
Install Aircrack-ng. Press Y when prompted and wait for the program to finish installing.
Image titled 6560850 14

Image titled 6560850 14

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/d/d3/6560850-14.jpg/v4-728px-6560850-14.jpg”,”bigUrl”:”https:// www.wikihow.com/images/thumb/d/d3/6560850-14.jpg/v4-728px-6560850-14.jpg”,”smallWidth”:460,”smallHeight”:346,”bigWidth”:728,” bigHeight”:547,”licensing”:”<div class=”mw-parser-output”></div>”}
Enable airmon-ng. Type the command below and press ↵ Enter .

 airmon-ng
Image titled 6560850 15

Image titled 6560850 15

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/e/eb/6560850-15.jpg/v4-728px-6560850-15.jpg”,”bigUrl”:”https:// www.wikihow.com/images/thumb/e/eb/6560850-15.jpg/v4-728px-6560850-15.jpg”,”smallWidth”:460,”smallHeight”:346,”bigWidth”:728,” bigHeight”:548,”licensing”:”<div class=”mw-parser-output”></div>”}
Find the monitor name. The monitoring tool name will show up in the “Interface” column.

  • If you are hacking your own network then the monitor is usually named “wlan0”.
  • If you don’t see the monitor name here, the Wi-Fi adapter doesn’t support monitoring.
Image titled 6560850 16

Image titled 6560850 16

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/4/45/6560850-16.jpg/v4-728px-6560850-16.jpg”,”bigUrl”:”https:// www.wikihow.com/images/thumb/4/45/6560850-16.jpg/v4-728px-6560850-16.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,” bigHeight”:546,”licensing”:”<div class=”mw-parser-output”></div>”}
Start network monitoring. You can proceed by entering the command below and pressing ↵ Enter :

 airmon-ng start wlan0
  • Don’t forget to replace “wlan0” with the target network name if you hack another network.
Image titled 6560850 17

Image titled 6560850 17

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/4/4f/6560850-17.jpg/v4-728px-6560850-17.jpg”,”bigUrl”:”https:// www.wikihow.com/images/thumb/4/4f/6560850-17.jpg/v4-728px-6560850-17.jpg”,”smallWidth”:460,”smallHeight”:346,”bigWidth”:728,” bigHeight”:548,”licensing”:”<div class=”mw-parser-output”></div>”}
Enable the monitor mode interface. Enter the following command:

 iwconfig
Image titled 6560850 18

Image titled 6560850 18

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/6/66/6560850-18.jpg/v4-728px-6560850-18.jpg”,”bigUrl”:”https:// www.wikihow.com/images/thumb/6/66/6560850-18.jpg/v4-728px-6560850-18.jpg”,”smallWidth”:460,”smallHeight”:346,”bigWidth”:728,” bigHeight”:547,”licensing”:”<div class=”mw-parser-output”></div>”}
Exclude processes that return errors. In some cases, the Wi-Fi network card will conflict with the service running on the computer. You can remove these processes by entering the following command: [1] X Research Sources

 airmon-ng check kill 
Image titled 6560850 19

Image titled 6560850 19

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/7/72/6560850-19.jpg/v4-728px-6560850-19.jpg”,”bigUrl”:”https:// www.wikihow.com/images/thumb/7/72/6560850-19.jpg/v4-728px-6560850-19.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,” bigHeight”:546,”licensing”:”<div class=”mw-parser-output”></div>”}
Look through the monitoring interface name. In most cases, the monitor interface name will be “mon0”, “wlan0mon” or similar. [2] X Research Source
Image titled 6560850 20

Image titled 6560850 20

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/f/f4/6560850-20.jpg/v4-728px-6560850-20.jpg”,”bigUrl”:”https:// www.wikihow.com/images/thumb/f/f4/6560850-20.jpg/v4-728px-6560850-20.jpg”,”smallWidth”:460,”smallHeight”:347,”bigWidth”:728,” bigHeight”:549,”licensing”:”<div class=”mw-parser-output”></div>”}
Ask the computer to search for nearby routers. To get a list of routers in range, enter the following command:

 airodump-ng mon0
  • You need to replace “mon0” with the name of the monitoring interface in the last step.
Image titled 6560850 21

Image titled 6560850 21

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/c/c5/6560850-21.jpg/v4-728px-6560850-21.jpg”,”bigUrl”:”https:// www.wikihow.com/images/thumb/c/c5/6560850-21.jpg/v4-728px-6560850-21.jpg”,”smallWidth”:460,”smallHeight”:348,”bigWidth”:728,” bigHeight”:550,”licensing”:”<div class=”mw-parser-output”></div>”}
Find the router you want to jailbreak. The router name is at the end of each text string; Find the router name of the network you want to hack.
Image titled 6560850 22

Image titled 6560850 22

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/1/14/6560850-22.jpg/v4-728px-6560850-22.jpg”,”bigUrl”:”https:// www.wikihow.com/images/thumb/1/14/6560850-22.jpg/v4-728px-6560850-22.jpg”,”smallWidth”:460,”smallHeight”:344,”bigWidth”:728,” bigHeight”:545,”licensing”:”<div class=”mw-parser-output”></div>”}
You need to make sure that this router uses the WPA or WPA2 security protocol. If there is a “WPA” or “WPA2” tag directly to the left of the network name, you can continue; otherwise we won’t be able to hack that network.
Image titled 6560850 23

Image titled 6560850 23

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/c/ca/6560850-23.jpg/v4-728px-6560850-23.jpg”,”bigUrl”:”https:// www.wikihow.com/images/thumb/c/ca/6560850-23.jpg/v4-728px-6560850-23.jpg”,”smallWidth”:460,”smallHeight”:348,”bigWidth”:728,” bigHeight”:551,”licensing”:”<div class=”mw-parser-output”></div>”}
Note down the router’s MAC address and channel number. This information is located to the left of the network name:

  • MAC address — The range of numbers to the left of the router’s line.
  • Channel — This is the number (for example, 0, 1, 2, etc.) to the right of the WPA or WPA2 tag.
Image titled 6560850 24

Image titled 6560850 24

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/d/d0/6560850-24.jpg/v4-728px-6560850-24.jpg”,”bigUrl”:”https:// www.wikihow.com/images/thumb/d/d0/6560850-24.jpg/v4-728px-6560850-24.jpg”,”smallWidth”:460,”smallHeight”:344,”bigWidth”:728,” bigHeight”:545,”licensing”:”<div class=”mw-parser-output”></div>”}
Monitor the target network for handshakes. “Handshake” is a term for the process that occurs when a device connects to a network (such as when a computer connects to a router). Enter the code below (remember to replace the required elements in the command with the network information you have)::

 airodump-ng -c channel --bssid MAC -w /root/Desktop/ mon0
  • Replace “channel” with the channel number you recorded in the last step.
  • Replace “MAC” with the MAC address that was recorded in the previous step.
  • Remember to replace “mon0” with your interface name.
  • Here is an example of an address:
     airodump-ng -c 3 --bssid 1C:1C:1E:C1:AB:C1 -w /root/Desktop/ wlan0mon
    
Image titled 6560850 25

READ More:   How to Upload Videos to YouTube

Image titled 6560850 25

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/6/6d/6560850-25.jpg/v4-728px-6560850-25.jpg”,”bigUrl”:”https:// www.wikihow.com/images/thumb/6/6d/6560850-25.jpg/v4-728px-6560850-25.jpg”,”smallWidth”:460,”smallHeight”:346,”bigWidth”:728,” bigHeight”:547,”licensing”:”<div class=”mw-parser-output”></div>”}
Wait for the handshake to appear. After the line with the tag “WPA handshake:” along with the MAC address appears in the upper left corner of the screen, you can continue.

  • If you’re not in the mood to wait, you can force the handshake to appear by attacking the deauth before continuing with this section.
Image titled 6560850 26

Image titled 6560850 26

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/7/79/6560850-26.jpg/v4-728px-6560850-26.jpg”,”bigUrl”:”https:// www.wikihow.com/images/thumb/7/79/6560850-26.jpg/v4-728px-6560850-26.jpg”,”smallWidth”:460,”smallHeight”:342,”bigWidth”:728,” bigHeight”:541,”licensing”:”<div class=”mw-parser-output”></div>”}
Exit airodump-ng, then open the desktop. Press Ctrl + C to exit, then go to the desktop to check if there is a “.cap” file.
Image titled 6560850 27

Image titled 6560850 27

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/4/49/6560850-27.jpg/v4-728px-6560850-27.jpg”,”bigUrl”:”https:// www.wikihow.com/images/thumb/4/49/6560850-27.jpg/v4-728px-6560850-27.jpg”,”smallWidth”:460,”smallHeight”:344,”bigWidth”:728,” bigHeight”:544,”licensing”:”<div class=”mw-parser-output”></div>”}
Rename the file “.cap”. Although not required, this will make it easier to work with the file later. Enter the command below to rename, remember to replace “name” with the name you gave the file:

 mv ./-01.cap name.cap
  • If the file “.cap” is not named “-01.cap” as in this example, replace “-01.cap” with the actual name of the file “.cap”.
Image titled 6560850 28

Image titled 6560850 28

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/3/3a/6560850-28.jpg/v4-728px-6560850-28.jpg”,”bigUrl”:”https:// www.wikihow.com/images/thumb/3/3a/6560850-28.jpg/v4-728px-6560850-28.jpg”,”smallWidth”:460,”smallHeight”:346,”bigWidth”:728,” bigHeight”:548,”licensing”:”<div class=”mw-parser-output”></div>”}
Change the “.cap” file extension to “.hccax” format. You can do so using Kali Linux’s conversion program. Enter the following command (remember to replace “name” with the filename):

 cap2hccax.bin name.cap name.hccax
  • You can also go to https://hashcat.net/cap2hccapx/ and upload the “.cap” file to an online converter by clicking Choose File and selecting the file. Once the file is uploaded, click Convert to convert the file and download the new version to your computer before continuing.
Image titled 6560850 29

Image titled 6560850 29

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/2/20/6560850-29.jpg/v4-728px-6560850-29.jpg”,”bigUrl”:”https:// www.wikihow.com/images/thumb/2/20/6560850-29.jpg/v4-728px-6560850-29.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,” bigHeight”:546,”licensing”:”<div class=”mw-parser-output”></div>”}
Install naive-hashcat. This is the service that we will use to crack the password. Start typing the following commands in order:

 sudo git clone https://github.com/brannondorsey/naive-hashcat
cd naive-hashcat
curl -L -o dicts/rockyou.txt https://github.com/brannondorsey/naive-hashcat/releases/download/data/rockyou.txt
  • If your computer doesn’t have a GPU, you need to use aircrack-ng instead.
Image titled 6560850 30

Image titled 6560850 30

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/0/0e/6560850-30.jpg/v4-728px-6560850-30.jpg”,”bigUrl”:”https:// www.wikihow.com/images/thumb/0/0e/6560850-30.jpg/v4-728px-6560850-30.jpg”,”smallWidth”:460,”smallHeight”:343,”bigWidth”:728,” bigHeight”:543,”licensing”:”<div class=”mw-parser-output”></div>”}
Launch naive-hashcat. After installing the service, enter the following command (remember to replace all sentences with “name” with your filename “.cap”):

 HASH_FILE = name.hccax POT_FILE = name.pot HASH_TYPE = 2500 ./naive-hashcat.sh
Image titled 6560850 31

Image titled 6560850 31

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/7/74/6560850-31.jpg/v4-728px-6560850-31.jpg”,”bigUrl”:”https:// www.wikihow.com/images/thumb/7/74/6560850-31.jpg/v4-728px-6560850-31.jpg”,”smallWidth”:460,”smallHeight”:343,”bigWidth”:728,” bigHeight”:543,”licensing”:”<div class=”mw-parser-output”></div>”}
Wait for the network password to be cracked. After the password is cracked, the string will be added to the “name.pot” file in the “naive-hashcat” directory; The word or sentence after the last colon is the password.

  • It can take anywhere from a few hours to several months for a password to be cracked.

Use aircrack-ng on a computer without a GPU

Image titled 6560850 32

Image titled 6560850 32

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/4/49/6560850-32.jpg/v4-728px-6560850-32.jpg”,”bigUrl”:”https:// www.wikihow.com/images/thumb/4/49/6560850-32.jpg/v4-728px-6560850-32.jpg”,”smallWidth”:460,”smallHeight”:346,”bigWidth”:728,” bigHeight”:547,”licensing”:”<div class=”mw-parser-output”></div>”}
Download the dictionary file. The most commonly used dictionary file is “Rock You”. You can download it by entering the following command:

 curl -L -o rockyou.txt https://github.com/brannondorsey/naive-hashcat/releases/download/data/rockyou.txt
  • Note: aircrack-ng will not be able to crack a WPA or WPA2 password if the password is not in the wordlist.
Image titled 6560850 33

Image titled 6560850 33

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/3/39/6560850-33.jpg/v4-728px-6560850-33.jpg”,”bigUrl”:”https:// www.wikihow.com/images/thumb/3/39/6560850-33.jpg/v4-728px-6560850-33.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,” bigHeight”:546,”licensing”:”<div class=”mw-parser-output”></div>”}
Tell aircrack-ng to start cracking the password. Enter the command below (remember to substitute the necessary network information):

 aircrack-ng -a2 -b MAC -w rockyou.txt name.cap
  • If you are cracking a WPA network instead of WPA2, replace “-a2” with -a .
  • Replace “MAC” with the MAC address you wrote down in the previous section.
  • Replace “name” with the name you gave the file “.cap”.
Image titled 6560850 34

Image titled 6560850 34

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/7/72/6560850-34.jpg/v4-728px-6560850-34.jpg”,”bigUrl”:”https:// www.wikihow.com/images/thumb/7/72/6560850-34.jpg/v4-728px-6560850-34.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,” bigHeight”:546,”licensing”:”<div class=”mw-parser-output”></div>”}
Wait for Terminal to display the results. When the title “KEY FOUND!” It means that aircrack-ng has found the password. The password will be in brackets to the right of the “KEY FOUND!” heading.

Attack deauth to collect handshake

You need to understand what a deauth attack means. The deauth method sends a re-authentication packet to the router you are jailbreaking, causing a disconnection from the Internet that causes the user to log in again. After the user logs back in, you will collect the handshake.
Image titled 6560850 36

Image titled 6560850 36

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/b/b3/6560850-36.jpg/v4-728px-6560850-36.jpg”,”bigUrl”:”https:// www.wikihow.com/images/thumb/b/b3/6560850-36.jpg/v4-728px-6560850-36.jpg”,”smallWidth”:460,”smallHeight”:344,”bigWidth”:728,” bigHeight”:545,”licensing”:”<div class=”mw-parser-output”></div>”}
Monitor the target network. Enter the following command (remember to replace the network information in the necessary places):

 airodump-ng -c channel --bssid MAC
  • For example:
     airodump-ng -c 1 --bssid 9C:5C:8E:C9:AB:C0
    
Image titled 6560850 37

Image titled 6560850 37

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/e/ec/6560850-37.jpg/v4-728px-6560850-37.jpg”,”bigUrl”:”https:// www.wikihow.com/images/thumb/e/ec/6560850-37.jpg/v4-728px-6560850-37.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,” bigHeight”:546,”licensing”:”<div class=”mw-parser-output”></div>”}
Wait for a device to connect to the network. As soon as you see the two MAC addresses appear side by side (and the text string including the manufacturer’s name), we can continue.

  • This indicates that a client (such as a computer) has just connected to the network.
READ More:   How to Stop Being Too Strict
Image titled 6560850 38

Image titled 6560850 38

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/7/7a/6560850-38.jpg/v4-728px-6560850-38.jpg”,”bigUrl”:”https:// www.wikihow.com/images/thumb/7/7a/6560850-38.jpg/v4-728px-6560850-38.jpg”,”smallWidth”:460,”smallHeight”:346,”bigWidth”:728,” bigHeight”:548,”licensing”:”<div class=”mw-parser-output”></div>”}
Open a Terminal window. You can quickly open it by pressing Alt + Ctrl + T . Make sure airodump-ng is still running under the Terminal window.
Image titled 6560850 39

Image titled 6560850 39

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/9/97/6560850-39.jpg/v4-728px-6560850-39.jpg”,”bigUrl”:”https:// www.wikihow.com/images/thumb/9/97/6560850-39.jpg/v4-728px-6560850-39.jpg”,”smallWidth”:460,”smallHeight”:343,”bigWidth”:728,” bigHeight”:543,”licensing”:”<div class=”mw-parser-output”></div>”}
Send the authentication packet again. Enter the following command (remember to change the network information in the necessary places): [3] X Research source

 aireplay-ng -0 2 -a MAC1 -c MAC2 mon0
  • “2” is the number of packets that you will send. You can increase or decrease it, but be aware that sending more than 2 packets can cause a noticeable security hole.
  • Replace “MAC1” with the leftmost MAC address at the bottom of the background Terminal window.
  • Replace “MAC2” with the MAC address on the far right at the bottom of the background Terminal window.
  • Remember to replace “mon0” with the interface name you specified at the beginning when the computer looked for the router.
  • An example of a command:
     aireplay-ng -0 3 -a 9C:5C:8E:C9:AB:C0 -c 64 :BC:0C:48:97:F7 mon0
    
Image titled 6560850 40

Image titled 6560850 40

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/d/d6/6560850-40.jpg/v4-728px-6560850-40.jpg”,”bigUrl”:”https:// www.wikihow.com/images/thumb/d/d6/6560850-40.jpg/v4-728px-6560850-40.jpg”,”smallWidth”:460,”smallHeight”:344,”bigWidth”:728,” bigHeight”:545,”licensing”:”<div class=”mw-parser-output”></div>”}
Reopen the original Terminal window. Return to the background Terminal window after you send the re-authentication packets.
  • Image titled 6560850 41

    Image titled 6560850 41

    {“smallUrl”:”https://www.wikihow.com/images_en/thumb/7/72/6560850-41.jpg/v4-728px-6560850-41.jpg”,”bigUrl”:”https:// www.wikihow.com/images/thumb/7/72/6560850-41.jpg/v4-728px-6560850-41.jpg”,”smallWidth”:460,”smallHeight”:346,”bigWidth”:728,” bigHeight”:547,”licensing”:”<div class=”mw-parser-output”></div>”}
    Find handshakes. Once you see the “WPA handshake:” tag and the address next to it, you can proceed to crack the network.
  • Advice

    • Using this method to test your Wi-Fi for weaknesses before launching the server is a good way to guard against similar attacks.

    Warning

    • Hacking someone else’s Wi-Fi without permission is against the law in most countries. You should only do the above steps on someone’s home or Wi-Fi network that has allowed you to check.
    • Sending more than two reconfirmation packets can cause the target computer to crash and raise suspicion.
    X

    wikiHow is a “wiki” site, which means that many of the articles here are written by multiple authors. To create this article, 23 people, some of whom are anonymous, have edited and improved the article over time.

    This article has been viewed 43,730 times.

    This wikiHow teaches you how to crack (hack) a WPA or WPA2 network password using Kali Linux.

    In conclusion, hacking Wi-Fi networks, specifically those secured with WPA/WPA2, using Kali Linux can be a complex and potentially illegal task. It is important to note that hacking into someone’s Wi-Fi network without their permission is against the law in many jurisdictions. Additionally, attempting to hack Wi-Fi networks can have serious consequences, including legal repercussions and damage to personal relationships.

    While Kali Linux is a popular distribution for security professionals and ethical hackers, it is essential to use it responsibly and ethically to ensure the privacy and security of others. Understanding the vulnerabilities and weaknesses in Wi-Fi networks can be valuable for improving their security, but it should always be done legally and with proper authorization.

    Individuals interested in learning about Wi-Fi network security and ethical hacking are encouraged to pursue educational programs offered by reputable institutions. These programs can provide a comprehensive understanding of network security and ethical hacking, along with knowledge of legal and ethical standards.

    Ultimately, it is essential to prioritize privacy, security, and ethical considerations when it comes to Wi-Fi hacking. By taking a responsible and ethical approach, we can contribute to a safer and more secure digital environment for everyone.

    Thank you for reading this post How to Hack Wi-Fi WPA/WPA2 Using Kali Linux at Tnhelearning.edu.vn You can comment, see more related articles below and hope to help you with interesting information.

    Related Search:

    1. Step-by-step guide: Hack Wi-Fi WPA/WPA2 with Kali Linux
    2. Kali Linux tutorial: Cracking WPA/WPA2 Wi-Fi passwords
    3. Advanced techniques to hack Wi-Fi using Kali Linux
    4. Hacking Wi-Fi passwords with WPA/WPA2 encryption using Kali Linux
    5. Best tools in Kali Linux for cracking WPA/WPA2 Wi-Fi passwords
    6. Kali Linux commands for Wi-Fi hacking WPA/WPA2
    7. Kali Linux penetration testing: Wi-Fi hacking WPA/WPA2 using Aircrack-ng
    8. Wi-Fi hacking: Using Kali Linux to crack WPA/WPA2 encryption
    9. Kali Linux Wi-Fi password cracking: WPA/WPA2 attack methods
    10. Ethical hacking: Using Kali Linux to hack WPA/WPA2 Wi-Fi networks

    Related Posts

    How to Create Curved Text in Photoshop
    How to fall asleep faster
    How to Install FBReader to Read eBooks

    Category: How To

    Previous Post: « Top 999+ Clueless Wallpaper Full HD, 4K✅Free to Use
    Next Post: Top 999+ Daisy Duck Wallpaper Full HD, 4K✅Free to Use »

    Copyright © 2025 · Tnhelearning.edu.vn - Useful Knowledge