Skip to content

Crack the Hash Banner

Crack the Hash Logo

Crack the Hash

This guide contains the answer and steps necessary to get to them for the Crack the Hash room.

Level 1

In this task we will start with some easier hashes which can be cracked with online tools such as crackstation. However, I used a combination of online and local tools.

  1. 48bb6e862e54f2a795ffc4e541caed4d

This looks like the classic MD5 hash. We can use multiple ways to identify the right hash. In this case I used 'hash-identifier' and the 'hashcat' auto detect function:

hashcat 48bb6e862e54f2a795ffc4e541caed4d /usr/share/wordlists/rockyou.txt

1

It is indeed MD5. This is mode 0 in hashcat.

hashcat -m 0 48bb6e862e54f2a795ffc4e541caed4d /usr/share/wordlists/rockyou.txt

1 Password

Click for answereasy

  1. CBFDAC6008F9CAB4083784CBD1874F76618D2A97

This time using 'hashcat' it seems this is a SHA-1 hash. This is mode 100 in hashcat.

hashcat CBFDAC6008F9CAB4083784CBD1874F76618D2A97 /usr/share/wordlists/rockyou.txt 

2

hashcat -m 100 CBFDAC6008F9CAB4083784CBD1874F76618D2A97 /usr/share/wordlists/rockyou.txt

2 Password

Click for answerpassword123

  1. 1C8BFE8F801D79745C4631D09FFF36C82AA37FC4CCE4FC946683D7B336B63032

Using hashcat auto detect we can find the hash type.

hashcat 1C8BFE8F801D79745C4631D09FFF36C82AA37FC4CCE4FC946683D7B336B63032 /usr/share/wordlists/rockyou.txt

3

Looks like a SHA-256 hash which is mode 1400 in hashcat.

hashcat -m 1400 1C8BFE8F801D79745C4631D09FFF36C82AA37FC4CCE4FC946683D7B336B63032 /usr/share/wordlists/rockyou.txt

3 Password

Click for answerletmein

  1. $2y$12$Dwt1BZj6pcyc3Dy1FWZ5ieeUznr71EeNkJkUlypTsgbX1H68wsRom

This time neither hashcat nor hash-identifier could give me any hints. So I looked at the hashcat example page.

4

It looks very similar to a bcrypt hash. Running this takes a long time, so I filtered the wordlist per the hint given.

touch rockyou2.txt
awk 'length < 5' /usr/share/wordlists/rockyou.txt > rockyou2.txt

4 Filter

hashcat -m 3200 passwd.hash rockyou2.txt     

4 Password

Click for answerbleh

  1. 279412f945939ba78ce0758d3fd83daa

This password appeared to be MD4. Unfortunately, however, neither hashcat nor john could crack it.

I therefore used crackstation.

5 Password

Click for answerEternity22

Level 2

In this task we will face some more challenging hashes which could be solved with hashcat and the hashcat example page.

  1. Hash: F09EDCB1FCEFC6DFB23DC3505A882655FF77375ED8AA2D1C13F640FCCC2D0C85

Using hashcats auto detect mode, it looks to be a SHA-256 hash.

1

This would be mode 1400 in hashcat.

hashcat -m 1400 F09EDCB1FCEFC6DFB23DC3505A882655FF77375ED8AA2D1C13F640FCCC2D0C85 /usr/share/wordlists/rockyou.txt

1 Password

Click for answerpaule

  1. Hash: 1DFECA0C002AE40B8619ECF94819CC1B

This hash was a little trickier. I got the following suggestions.

2

I had to try multiple types. Eventually, NTLM seemed to do the trick. NTLM is mode 1000 in hashcat.

hashcat -m 1000 1DFECA0C002AE40B8619ECF94819CC1B /usr/share/wordlists/rockyou.txt

2 Password

Click for answern63umy8lkf4i

  1. Hash: $6$aReallyHardSalt$6WKUTqzq.UQQmrm0p/T7MPpMbGNnzXPMAXi4bJMl9be.cfi3/qxIf.hsGpS41BqMhSrHVXgMpdjS6xeKZAs02.

Salt: aReallyHardSalt

This time I used the hashcat example page to find out which hash type this was. It was similar to SHA-512crypt which is mode 1400 in hashcat.

3

However, it would take a long time to crack, so I filtered the list again as per the hint.

touch rockyou3.txt
awk 'length < 7' /usr/share/wordlists/rockyou.txt > rockyou3.txt

3 Wordlist

hashcat -m 1800 passwd.hash rockyou3.txt --force

3 Password

Click for answerwaka99

  1. Hash: e5d8870e5bdd26602cab8dbe07a942c8669e56d6

Salt: tryhackme

The last hash was the most difficult and took some trail and error.

Hash-identifier didn't produce any correct suggestions.

4 Examples

Looking at the example page, multiple candidates were found and tried.

4

Eventually, it appeared to be a HMAC-SHA1 hash.

hashcat -m 160 e5d8870e5bdd26602cab8dbe07a942c8669e56d6:tryhackme /usr/share/wordlists/rockyou.txt --force

4 Password

Click for answer481616481616