Hack the Box (HTB) machines walkthrough series — Sunday

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

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 Sunday, 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 “Sunday” machine IP is 10.10.10.76.

3. We will adopt the same methodology of performing penetration testing as we have used previously. Let’s start with enumeration in order to learn as much information 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 -oA Sunday 10.10.10.76>>

5. We got some juicy information such as finger service, but some common ports such as SSH and HTTP are missing. To make sure we do not miss out on ports, let’s use SPARTA to find out other ports as well.

6. Make sure an Nmap staged scan is selected in SPARTA. As we can see, SPARTA was able to find SSH service on port 22022.

7. Let’s confirm that with Nmap as well.
<<nmap -sC -sV -p 22022 10.10.10.76 >>

8. OK, so if we get the username from finger, we can then try to (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/l6Zm3JZZFbg/