Airbash is a POSIX-compliant, fully automated WPA PSK handshake capture script aimed at penetration testing. It is compatible with Bash and Android Shell (tested on Kali Linux and Cyanogenmod 10.2) and uses aircrack-ng to scan for clients that are currently connected to access points (AP). Those clients are then deauthenticated in order to capture the handshake when attempting to reconnect to the AP. Verification of a captured handshake is done using aircrack-ng. If one or more handshakes are captured, they are entered into an SQLite3 database, along with the time of capture and current GPS data (if properly configured).
After capture, the database can be tested for vulnerable router models using
crackdefault.sh. It will search for entries that match the implemented modules, which currently include algorithms to compute default keys for Speedport 500-700 series, Thomson/SpeedTouch and UPC 7 digits (UPC1234567) routers.Requirements
WiFi interface in monitor mode aircrack-ng SQLite3 openssl for compilation of modules (optional) wlanhc2hcx from hcxtools
In order to log GPS coordinates of handshakes, configure your coordinate logging software to log to .loc/*.txt (the filename can be chosen as desired). Airbash will always use the output of
cat "$path$loc"*.txt 2>/dev/null | awk 'NR==0; END{print}', which equals to reading all .txt files in .loc/ and picking the second line. The reason for this way of implementation is the functionality of GPSLogger, which was used on the development device.Calculating default keys
After capturing a new handshake, the database can be queried for vulnerable router models. If a module applies, the default keys for this router series are calculated and used as input for aircrack-ng to try and recover the passphrase.
Compiling Modules
The modules for calculating Thomson/SpeedTouch and UPC1234567 (7 random digits) default keys are included in
src/Credits for the code go to the authors Kevin Devine and [peter@haxx.in].
On Linux:
gcc -fomit-frame-pointer -O3 -funroll-all-loops -o modules/st modules/stkeys.c -lcrypto
gcc -O2 -o modules/upckeys modules/upc_keys.c -lcryptoUsage
Running
install.sh will create the database, prepare the folder structure and create shortlinks to both scripts which can be moved to a directory that is on $PATH to allow execution from any location.After installation, you may need to manually adjust
INTERFACE on line 46 in airba.sh. This will later be determined automatically, but for now the default is set to wlan0, to allow out of the box compatibility with bcmon on Android../airba.sh starts the script, automatically scanning and attacking targets that are not found in the database. ./crackdefault.sh attempts to break known default key algorithms.To view the database contents, run
sqlite3 .db.sqlite3 "SELECT * FROM hs" in the main directory.Update (Linux only ... for now):
Airbash can be updated by executing
update.sh. This will clone the master branch into /tmp/ and overwrite the local files.Output
_n: number of access points found__c/m: represents client number and maximum number of clients found, respectively-: access point is blacklistedx: access point already in database?: access point out of range (not visible to airodump anymore)The Database
The database contains a table called
hs with seven columns.id: incrementing counter of table entrieslat and lon: GPS coordinates of the handshake (if available)bssid: MAC address of the access pointessid: Name identifierpsk: WPA Passphrase, if knownprcsd: Flag that gets set by crackdefault.sh to prevent duplicate calculation of default keys if a custom passphrase was used.Currently, the SQLite3 database is not password-protected.
Related posts
- Github Hacking Tools
- Growth Hacker Tools
- Hack Tools For Ubuntu
- Pentest Tools Find Subdomains
- Easy Hack Tools
- Hack Tools Pc
- Hacking Tools Download
- How To Hack
- Hacks And Tools
- Usb Pentest Tools
- Hack Tools For Ubuntu
- Hacking Tools
- Tools 4 Hack
- Hacker Tools Linux
- Top Pentest Tools
- Pentest Tools List
- Hack Tools Github
- Hack And Tools
- Pentest Tools Linux
- Pentest Tools Linux
- Hacking Tools For Beginners
- Wifi Hacker Tools For Windows
- Wifi Hacker Tools For Windows
- Hacker Tools
- Hacker Tool Kit
- Hacker Tools Apk
- Pentest Tools For Ubuntu
- Physical Pentest Tools
- Github Hacking Tools
- Hacker Hardware Tools
- World No 1 Hacker Software
- Hack Tool Apk No Root
- Hack Rom Tools
- Hacking Tools Pc
- Kik Hack Tools
- Hak5 Tools
- Usb Pentest Tools
- Best Hacking Tools 2020
- Hacking Tools
- Github Hacking Tools
- Pentest Reporting Tools
- Hacker Tools Github
- Hackers Toolbox
- Hacker Tools Free Download
- Hak5 Tools
- Hacking Tools Download
- Hacker Tools
- Hackers Toolbox
- Hacker Tools Free Download
- Nsa Hack Tools Download
- Hacking Tools For Pc
- Hacking Tools For Windows 7
- Hacker Tools List
- Hacking Tools For Kali Linux
- Hacker
- How To Hack
- Hacking Tools And Software
- Hacking App
- Pentest Tools Free
- Black Hat Hacker Tools
- Hacking Tools For Windows 7
- Termux Hacking Tools 2019
- Hack Tools Online
- Pentest Recon Tools
- Hackrf Tools
- Hacking Tools Mac
- Hack Tool Apk
- Hacking Tools
- Ethical Hacker Tools
- Hack Tools Mac
- Hacker Tools 2019
- Hacker Tools For Windows
- How To Install Pentest Tools In Ubuntu
- Hack Tools
- Hacker Hardware Tools
- Game Hacking
- Hacker Tools For Pc
- Hacker Tools Windows
- Hack Tools For Ubuntu
- Hacker Tools List
- Pentest Recon Tools
- Pentest Tools Url Fuzzer
- Hackers Toolbox
- Pentest Tools Subdomain
- Game Hacking
- Hack Rom Tools
- Pentest Recon Tools
- Blackhat Hacker Tools
- Growth Hacker Tools
- Hack Tool Apk No Root
- Top Pentest Tools
- Pentest Tools Framework
- Pentest Recon Tools
- Android Hack Tools Github
- Growth Hacker Tools
- Pentest Tools Download
- Pentest Tools Linux
- Pentest Tools For Android
- Pentest Tools Online
- Hacker Tools Hardware
- Hack Tools Download
- Install Pentest Tools Ubuntu
- Hacker Tools 2020
- New Hacker Tools
- Android Hack Tools Github
- Pentest Box Tools Download
- Termux Hacking Tools 2019
- Hack And Tools
- Hack Tools Download
- Hacker Tools Github
- Hackrf Tools
- Hacking Tools 2020
- Underground Hacker Sites
- What Is Hacking Tools
- Pentest Tools Website
- Hacking Tools 2020
- Pentest Tools Subdomain


No comments:
Post a Comment