Aircrack-ng is a tool that comes pre-installed in Kali Linux and is used for wifi network security and hacking. Aircrack is an all in one packet sniffer, WEP and WPA/WPA2 cracker, analyzing tool and a hash capturing tool. It is a tool used for wifi hacking. It helps in capturing the package and reading the hashes out of them and even cracking those hashes by various attacks like dictionary attacks. It supports almost all the latest wireless interfaces.
It mainly focuses on 4 areas:
- Monitoring: Captures cap, packet, or hash files.
- Attacking: Performs deauthentication or creates fake access points
- Testing: Checking the wifi cards or driver capabilities
- Cracking: Various security standards like WEP or WPA PSK.
Working with aircrack-ng
1. To list all network interfaces.
This command will return all the network interfaces available or connected to the system.
2. Stopping the desired network interface.
airmon-ng stop wlan0mon
To stop a network interface enter the above command and replace “wlan0” with the desired network interface.
3. Starting a network interface at a specific channel.
airmon-ng start wlan0 10
To start a network interface at a specific channel enter the above command and replace “wlan0” with the desired network interface and 10 with the desired channel name.
4. Collecting authentication handshake
airodump-ng -c 10 --bssid 00:15:5D:9C:44:00 -w psk wlan0
To collect the authentication handshake enter the above command in terminal and replace “wlan0” with the desired network interface and 10 with the desired channel name and bssid with the bssid of the wifi.
5. Cracking the captured handshake file by means of a wordlist
aircrack-ng -w wordlist psk*.cap
To run a brute force attack and to crack the password enter the above command in the terminal and replace “wordlist” with the desired wordlist to be used and “wpa.cap” with the desired handshake filename.
6. To get the help section of the tool
The above command will display the help section of the aircrack-ng command.
7. To display the # of CPUs and SIMD support
The above command will display the details of the hash of CPUs and SIMD support.
- Difference Between Arch Linux and Kali Linux
- Kali Linux - Password Cracking Tool
- Difference Between Ubuntu and Kali Linux
- How to Install Lazy Script in Kali Linux?
- Kali Linux Tools
- What is Vulnerability Scanning in Kali Linux?
- Introduction to Kali Linux
- How to Change the Mac Address in Kali Linux Using Macchanger?
- How to Hack WPA/WPA2 WiFi Using Kali Linux?
- Kali Linux - File Management
- Kali Linux - Default Passwords
- Kali Linux - Crunch Utility
- How to Create Reverse Shells with Netcat in Kali Linux?
- Kali Linux - Terminal and Shell
- Kali Linux - Command Line Essentials
- How to Change the username or userID in Kali Linux?
- Difference Between Fedora and Kali Linux
- Kali Linux - Exploitation Tools
- Kali Linux - Information Gathering Tools
- Kali Linux - Vulnerability Analysis Tools
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.