Kali Linux

AirStrike : Automatically Grab And Crack WPA-2 Handshakes With Distributed Client-Server Architecture

AirStrike is a tool that automates cracking of WPA-2 Wi-Fi credentials using client-server architecture.

Requirements

Airstrike uses Hashcat Brain Architecture, aircrack-ng suite, entr utility and some helper scripts.

You can use install.sh script to download all dependencies (if you’re on system which has an access to apt or pacman, but if you’re using Gentoo, you’d have to install hcxtools by hand, they’re not available in their repos, or maybe I’ve missed something. Some other uncommon distros are not included, for example Alpine doesn’t have hashcat package, but if you’re distro is exotic, you can use Nix on that, all needed packages are in nixpkgs.)

If you’re using Nix/NixOS, you can jump into Nix-Shell with needed dependencies with: nix-shell -p hashcat hashcat-utils aircrack-ng entr hcxtools

Usage

Run aircrack_server.sh on the machine on which you want to crack passwords. This script builds aircrack_client.sh file, which can be executed on any Linux host that is able to connect with the server started earlier. Upon execution, the client automatically captures handshakes, connects with the server and sends captured data.

Whenever a password is successfully cracked by the server, the watcher.sh script prints it out to terminal on the server side.

The only required option flag for airstrike_client.sh is the -w flag: it specifies the wordlist that should be used by the server. Listening interface can be specified with -i flag. By default, a current wireless interface is automatically selected. Additionally, airstrike_client.sh listens for WPA-2 data without any filter, so it will capture and crack all of the passwords of all Wi-Fi networks in range (whenever handshakes are exchanged).

Navigation

Ctrl + S will send captured assets (Wi-Fi handshakes in .hccapx form) to the server. Ctrl + I displays information about capture progress.

Above shortcuts can be used inside a running instance of airstrike_client.sh

R K

Recent Posts

Bash Scripting Best Practices Every Beginner Should Know

Introduction Bash scripting is a powerful way to automate Linux tasks, but writing a script…

23 hours ago

How To Create A Self-Signed SSL Certificate Using Bash And OpenSSL

Introduction A self-signed SSL certificate is a certificate that is created and signed by the…

24 hours ago

How To Debug Bash Scripts Using bash -x And set Commands

Introduction Debugging is an important part of Bash scripting. When a script does not work…

1 day ago

How To Use Cron Jobs With Bash Scripts For Automation

Introduction Cron jobs are used in Linux to run commands or Bash scripts automatically at…

1 day ago

How To Use Pipes In Bash Scripts For Command Chaining

Introduction Pipes are an important feature in Linux and Bash scripting. A pipe allows you…

1 day ago

How To Use grep, awk, And sed In Bash Scripts

Introduction The grep, awk, and sed commands are powerful text-processing tools in Linux. They are…

1 day ago