HackTheBox Misc Challenge - 0ld is g0ld
For any HackTheBox Challenge you need to first look for Files that can be downloaded or Start instances with a given port on docker.hackthebox.eu and for any zip file first password is always hackthebox.
So, I downloaded the zip file for this challenge and opened it with "hackthebox" password.
Now, you will find a pdf file with name 0ld is g0ld.pdf. So, to crack the password we need a pdfcracker which can be installed on terminal by using "apt-get install pdfcrack command".
Now use command "pdfcrack -f "0ld is g0ld.pdf" -w /root/Downloads/rockyou.txt" to crack the pdf.
And it will show the results like
root@kali:~/Downloads# pdfcrack -f "0ld is g0ld.pdf" -w /root/Downloads/rockyou.txt
PDF version 1.6
Security Handler: Standard
Encrypted Metadata: True
Average Speed: 37797.7 w/s. Current Word: 'welkome'
Average Speed: 37991.6 w/s. Current Word: 'maveric01'
Average Speed: 38139.1 w/s. Current Word: '356412pod'
Average Speed: 27344.3 w/s. Current Word: 'walterka'
Average Speed: 30443.0 w/s. Current Word: 'sxinxs42'
Average Speed: 32466.8 w/s. Current Word: 's53156p'
Average Speed: 32844.1 w/s. Current Word: 'pedrex01'
Average Speed: 33868.3 w/s. Current Word: 'momdeslan04'
Average Speed: 37083.6 w/s. Current Word: 'lissy79'
found user-password: 'jumanji69'
Congrats, we find out that jumanji69 is the password of the PDF.
Now, inside PDF you will find a photo of "Samuel Morse" and below his photo there is Morse code. Now, go to google and find an online tool to convert Morse code to text.
After conversion you will get a flag and submit this flag on the hackthebox.
Please share your comments and If you enjoyed this blog post, share it with a friend! See you guys in next post soon.