Skip to main content

THM | Hashing - Crypto 101

· 2 min read

Cryptography | Hashing - Crypto 101 | Summary:

This series of walkthroughs aims to help out complete beginners with finishing the Complete Beginner path on the TryHackMe website. It is based on the learning content provided in the Hashing - Crypto 101 room.


Disclaimer: Please note that this write-up is NOT intended to replace the original room or its content, but rather serve as supplementary material for those who are stuck and need additional guidance.

Task | 1 | Key Terms

Question 1: Read the words, and understand the meanings! Is base64 encryption or encoding?

encoding

Task | 2 | What is a hash function?

Question 1: What is the output size in bytes of the MD5 hash function?

16

Question 2: Can you avoid hash collisions? (Yea/Nay)

Nay

Question 3: If you have an 8 bit hash output, how many possible hashes are there?

256

Task | 3 | Uses for hashing

Question 1: Crack the hash "d0199f51d2728db6011945145a1b607a" using the rainbow table manually.

basketball

Question 2: Crack the hash "5b31f93c09ad1d065c0491b764d04933" using online tools

tryhackme

Question 3: Should you encrypt passwords? Yea/Nay

Nay

Task | 4 | Recognising password hashes

Question 1: How many rounds does sha512crypt ($6$) use by default?

5000

Question 2: What's the hashcat example hash (from the website) for Citrix Netscaler hashes?

1765058016a22f1b4e076dccd1c3df4e8e5c0839ccded98ea

Question 3: How long is a Windows NTLM hash, in characters?

32

Task | 5 | Password Cracking

Question 1: Crack this hash: $2a$06$7yoU3Ng8dHTXphAg913cyO6Bjs3K5lBnwq5FJyA6d01pMSrddr1ZG

85208520

Question 2: Crack this hash: 9eb7ee7f551d2f0ac684981bd1f1e2fa4a37590199636753efe614d4db30e8e1

halloween

Question 3: Crack this hash: $6$GQXVvW4EuM$ehD6jWiMsfNorxy5SINsgdlxmAEl3.yif0/c3NqzGLa0P.S7KRDYjycw5bnYkF5ZtB8wQy8KnskuWQS3Yr1wQ0

spaceman

Question 4: Bored of this yet? Crack this hash: b6b0d451bbf6fed658659a9e7e5598fe

funforyou

Task | 6 | Hashing for integrity checking

Question 1: What's the SHA1 sum for the amd64 Kali 2019.4 ISO?

186c5227e24ceb60deb711f1bdc34ad9f4718ff9

Question 2: What's the hashcat mode number for HMAC-SHA512 (key = $pass)?

1750