Cracking Files

Protected Files

Hunting for Encoded Files

Hunting for Files

for ext in $(echo ".xls .xls* .xltx .csv .od* .doc .doc* .pdf .pot .pot* .pp*");do echo -e "\\nFile extension: " $ext; find / -name *$ext 2>/dev/null | grep -v "lib\\|fonts\\|share\\|core" ;done

Hunting for SSH Keys

grep -rnw "PRIVATE KEY" /* 2>/dev/null | grep ":1"

Cracking with John

# John Hashing Scripts
locate *2john*

# generating the corresponding hashes for encrypted SSH keys.
ssh2john.py SSH.private > ssh.hash

# Cracking SSH Keys
john --wordlist=rockyou.txt ssh.hash

john ssh.hash --show

Cracking Documents

Cracking Microsoft Office Documents

Cracking PDFs

Protected Archives

Cracking Archives

Cracking ZIP

Using zip2john

Cracking the Hash with John

Viewing the Cracked Hash

Cracking OpenSSL Encrypted Archives

Using file

Using a for-loop to Display Extracted Contents

Cracking BitLocker Encrypted Drives

Using bitlocker2john

Using hashcat to Crack backup.hash

Last updated