Skip to content


Visit for information related to this tag and others. We look forward to assisting in your tech projects with our in-depth knowledgebase…

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

cd hashcat

git submodule update –init


cd ../

git clone

cd hashcat-utils/src


cp *.bin ../bin

Now you want to download your wordlists

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


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