Cracking Protected Files
Overview
Hunting for Encrypted Files
Common File Extensions
# Search for common encrypted file types
for ext in $(echo ".xls .xls* .xltx .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"
doneCommon Protected File Types
Finding SSH Keys
Search for SSH Private Keys
Check if SSH Key is Encrypted
File Cracking Tools
Available 2john Tools
Cracking SSH Keys
Extract and Crack SSH Key
With Hashcat
Cracking Office Documents
Microsoft Office Files
With Hashcat
Cracking PDF Files
Extract and Crack PDF
With Hashcat
Cracking Archive Files
ZIP Archives
RAR Archives
7-Zip Archives
Other Protected Files
KeePass Databases
GPG Files
Common Hashcat Hash Modes
File Type
Mode
Description
Tips for Success
Cracking Protected Archives
ZIP Files (Extended)
OpenSSL Encrypted GZIP Files
BitLocker Encrypted Drives
Mounting BitLocker Drives
Windows
Linux/macOS
Practical BitLocker Example
Common Archive Types
Additional Archive Hash Modes
Archive Type
Tool
Hashcat Mode
Automation Script Example
Last updated