Skip to content
Home » Operating System » Installing and Running Hashcat on Ubuntu Server 18.04

Installing and Running Hashcat on Ubuntu Server 18.04

Hashcat Installation, Configuration and WPA2 Cracking

Once you have installed Ubuntu Server 18.04 onto your cracking station, you can run the following commands to install and configure hashcat.

sudo bash

apt install ocl-icd-libopencl1 git build-essential

mkdir /installs && mkdir /installs/apps && cd /installs/apps

git clone https://github.com/hashcat/hashcat

cd hashcat

git submodule update –init

make

cd ../

git clone https://github.com/hashcat/hashcat-utils

cd hashcat-utils/src

make

cp *.bin ../bin

Now you want to download your wordlists

mkdir /installs/apps/wordlists && cd /installs/apps/wordlists

wget https://github.com/brannondorsey/naive-hashcat/releases/download/data/rockyou.txt

Assuming you already have a WPA2 file to crack, you will now need to move the hccapx file to a directory on the cracking system

cd /installs/apps/hashcat

Cracking the WPA2 file with a wordlist:
./hashcat -m 2500 /crack/wpa2/wpa.hccapx /installs/apps/wordlists/rockyou.txt

Cracking with
To crack up to 8 digits :
./hashcat -m 2500 /crack/wpa2/wpa.hccapx -a 3 ?d,?d?d?d?d?d?d?d?d?d?d?d?d?d?d?d?d –increment-min 1 –increment-max 16 –increment

./hashcat -m 2500 -r rules/best64.rule /crack/wpa2/wpa.hccapx /installs/apps/wordlists/rockyou.txt