June 24, 2019

TryHackMe - Crack The Hash

This post is about TryHackMe where we’ll be solving the CRACK THE HASH challenge.

So let’s dive right into it.


Here we are presented with several tasks where we need to crack the hashes. Several tools can be used for that purpose but I prefer hashcat and the dictionary I’m going to use is the classic rockyou.txt.

The general syntax for hashcat is
hashcat -D <processor-mode> -m <hash-mode> <hash> <dictionary>

Here,
processor-mode will be CPU i.e. 1
hash-mode will be different for each hash
hash will be the path to hash.txt
dictionary will be the path to rockyou.txt

For more help related to syntax, you can use
hashcat --help

The hash-mode requires you to identify the algorithm used.
For that purpose, I’ll use hash-identifier.

The general syntax for hash-identifier is
hash-identifier

Now let’s solve the tasks

TASK 1 - 1 : MD5 HASH
Hash : 48bb6e862e54f2a795ffc4e541caed4d
Command : hashcat -D 1 -m 0 hash.txt rockyou.txt
Answer : easy

TASK 1 - 2 : SHA1 HASH
Hash : CBFDAC6008F9CAB4083784CBD1874F76618D2A97
Command : hashcat -D 1 -m 100 hash.txt rockyou.txt
Answer : password123

TASK 1 - 3 : SHA256 HASH
Hash : 1C8BFE8F801D79745C4631D09FFF36C82AA37FC4CCE4FC946683D7B336B63032
Command : hashcat -D 1 -m 1400 hash.txt rockyou.txt
Answer : letmein

TASK 1 - 4 : BRYPT-BLOWFISH HASH
Hash : $2y$12$Dwt1BZj6pcyc3Dy1FWZ5ieeUznr71EeNkJkUlypTsgbX1H68wsRom
Command : hashcat -D 1 -m 3200 hash.txt rockyou.txt
Answer : bleh

TASK 1 - 5 : MD4 HASH
Hash : 279412f945939ba78ce0758d3fd83daa
Command : hashcat -D 1 -m 900 hash.txt rockyou.txt
Answer : Eternity22

TASK 2 - 1 : SHA256 HASH
Hash : F09EDCB1FCEFC6DFB23DC3505A882655FF77375ED8AA2D1C13F640FCCC2D0C85
Command : hashcat -D 1 -m 1400 hash.txt rockyou.txt
Answer : paule

TASK 2 - 2 : NTLM HASH
Hash : 1DFECA0C002AE40B8619ECF94819CC1B
Command : hashcat -D 1 -m 1000 hash.txt rockyou.txt
Answer : n63umy8lkf4i

TASK 2 - 3 : SHA512CRYPT $6$ HASH
Hash : $6$aReallyHardSalt$6WKUTqzq.UQQmrm0p/T7MPpMbGNnzXPMAXi4bJMl9be.cfi3/qxIf.hsGpS41BqMhSrHVXgMpdjS6xeKZAs02.
Command : hashcat -D 1 -m 1800 hash.txt rockyou.txt
Answer : waka99

TASK 2 - 4 : SALTED-SHA1 HASH
Hash : e5d8870e5bdd26602cab8dbe07a942c8669e56d6:tryhackme
Command : hashcat -D 1 -m 1100 hash.txt rockyou.txt
Answer : 481616481616


This was a super-easy one to solve.
Hope you understood it.

That’s it for this one.
Good Bye !!!