Hack the Box (HTB) machines walkthrough series — Resolute

Today, we will be continuing with our exploration of Hack the Box (HTB) machines, as seen in previous articles. This walkthrough is of an HTB machine named Resolute.

HTB is an excellent platform that hosts machines belonging to multiple OSes. It also has some other challenges as well. Individuals have to solve the puzzle (simple enumeration plus pentest) in order to log into the platform and download the VPN pack to connect to the machines hosted on the HTB platform.

Note: Only write-ups of retired HTB machines are allowed. The machine in this article, named Resolute, is retired.

The walkthrough

Let’s start with this machine.

  1. Download the VPN pack for the individual user and use the guidelines to log into the HTB VPN.
  2. The “Resolute” machine IP is 10.10.10.169.
  3. We will adopt our usual methodology of performing penetration testing. Let’s start with enumeration in order to learn as much about the machine as possible.
  4. As usual, let’s start with the nmap scan to gather more information about the services running on this machine. [CLICK IMAGES TO ENLARGE]
    <<nmap -sC -sV -p- -oA Resolute 10.10.10.169>>

  5. The enumerated results indicate to run another enumeration of the whole domain via enum4linux. Some of the important information enumerated from it can be seen.
    1. Below, we can see the SID of the back:
    2. A password in the “desc” section:
    3. A list of all the users:
    4. Interestingly enough, a user in contractor’s group explicitly popped up:
  6. Using the above pass for all the users eventually worked for user “melanie.” We’ll log in with evil-winrm to grab user.txt.
  7. Enumerating with current user and got an interesting file, as shown below.
  8. It has a password for user ryan (which, from above enumeration, we know was also part of the contractors (Read more...)

*** This is a Security Bloggers Network syndicated blog from Infosec Resources authored by Security Ninja. Read the original post at: http://feedproxy.google.com/~r/infosecResources/~3/RinwsDugaWs/