Class 4 Lab 1 ‐ Encrypt & Decrypt Hashes - Justin-Boyd/Ethical-Hacking-Class GitHub Wiki

Task: Create a Value and Compare It with Its Hash

Step 1

  • Make sure the Kali VM is running on Bridged Adapter or NAT for internet access.

Step 2

  • Create a new file on the desktop called Clear-MD5.txt and write the strings Password and Administrator separated by a line in the nano editor.
  • Note that there are many ways other than nano to edit and create files.

Step 3

  • Browse, using Firefox, to md5decrypt.net/en/ to produce the hash values of the two strings. Enter the strings and click Encrypt. Then, store the hash values in a new text file with the nano editor called Hash-MD5.txt.

Step 4

  • Open FireFox to md5decrypt.net/en/ again to decrypt. Enter the hashes saved in Hash-MD5.txt and click Decrypt to show the strings associated with the two hashes. Compare the results with the file Clear-MD5.txt.

Step 5

  • Make a small change to the original text, like adding a period or changing a letter. Click Encrypt and note the differences in the MD5 hash. Test out a few different changes to the characters.

Step 6

  • There are many sites that can decrypt and encrypt MD5 hashes, which are easily crackable, as demonstrated in this lab. Below are a few examples of these sites.