Skip to main content

Command Palette

Search for a command to run...

Blue - TryHackMe Write-up

Updated
2 min read
Blue - TryHackMe Write-up

Info

  • Name: Blue
  • Description: Deploy & hack into a Windows machine, leveraging common misconfigurations issues.
  • Difficulty: Easy
  • Room link: https://tryhackme.com/room/blue

Write-up

Task 1

Q: How many ports are open with a port number under 1000?

A: 3

t1_1.png

Q: What is this machine vulnerable to? (Answer in the form of: ms??-???, ex: ms08-067)

A: ms17-010

t1_2.png

Task 2

Q: Find the exploitation code we will run against the machine. What is the full path of the code? (Ex: exploit/........)

A: exploit/windows/smb/ms17_010_eternalblue

t2_1.png

Q: Show options and set the one required value. What is the name of this value? (All caps for submission)

A: RHOSTS

t2_2.png

Task 3

Q: If you haven't already, background the previously gained shell (CTRL + Z). Research online how to convert a shell to meterpreter shell in metasploit. What is the name of the post module we will use? (Exact path, similar to the exploit we previously selected)

A: post/multi/manage/shell_to_meterpreter

t3_1.png

Q: Select this (use MODULE_PATH). Show options, what option are we required to change?

A: SESSION

t3_2.png

t3_3.png

t3_4.png

Task 4

Q: Within our elevated meterpreter shell, run the command 'hashdump'. This will dump all of the passwords on the machine as long as we have the correct privileges to do so. What is the name of the non-default user?

A: Jon

t4_1.png

Q: Copy this password hash to a file and research how to crack it. What is the cracked password?

A: alqfna22

t4_2.png

Task 5

Q: Flag1? This flag can be found at the system root.

A:

t5_1.png

Q: Flag2? This flag can be found at the location where passwords are stored within Windows.

A:

t5_2.png

Q: flag3? This flag can be found in an excellent location to loot. After all, Administrators usually have pretty interesting things saved.

A:

t5_3.png

More from this blog

Untitled Publication

21 posts