Cracking Files
Protected Files
Many different file extensions can identify these types of encrypted/encoded files. For example, a useful list can be found on FileInfo.
Hunting for Files
A oneliner to search for SOME extensions:
Hunting for SSH Keys
Encrypted SSH Keys
Cracking with John
John The Ripper
has many different scripts to generate hashes from files that we can then use for cracking. We can find these scripts on our system using the following command.
Cracking Documents
Cracking PDFs
Using Hashcat for *2john files
As an example, we have a KeePass database file. We can extract the hash using:
but if we try feeding this to Hashcat, it will not recognize it. Looking at the output it should look something like this:
If we remove the first part of it and leave anything after the : then Hashcat will recognize it (and give us possible modes to use, in this case hashcat -m 13400 hashcat.hash mut_password.list
)
Or possible oneliner to extract the hash:
Last updated