βš™οΈCrackable Software

KeePass

A KeePass database can be cracked in 3 steps.

Transform the kdbx file

Get the kdbx file and transform it using keepass2john.

keepass2john database.kdbx > keepass.hash

Remove the header

keepass2john adds the file's name at the beginning of the result (in this case, it will add "database:").

Removing this header is mandatory to crack the hash.

Crack it

Using hashcat

To know the code to use:

hashcat --help | grep -i "KeePass"

Then, just need to crack it (in this case, rules are used)

hashcat -m 13400 keepass.hash /usr/share/wordlists/rockyou.txt -r /usr/share/hashcat/rules/rockyou-30000.rule --force

Using john

SSH Private Key

Passphrase of a private key can be cracked in 3 steps.

Transform the private key file

Remove the header

ssh2john adds the file's name at the beginning of the result (in this case, it will add "id_rsa:").

Removing this header is mandatory to crack the hash.

Crack it

Using hashcat

To know the code to use:

Then, just need to crack it (in this case, rules are used).

Using john

Last updated