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 Netmon.
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 Netmon, is retired.
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 Netmon machine IP is 10.10.10.152.
3. We will adopt the same methodology of performing penetration testing as we have previously used. 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 Netmon 10.10.10.152>>
5. As we can see, ports 21 and 80 are available. Also, on port 21, an anonymous login is allowed.
6. Let’s start the enumeration with port 80. It looks like the server is hosting PRTG network monitor. Tried with default creds (prtgadmin/prtgadmin) but it did not work. Note the version in the footer and move on.
7. Let’s try to see what we can find from an anonymous FTP login.
8. Wow. The user.txt flag was easily available.
9. Let’s try to escalate privileges to root. After some Googling about PRTG software, it looks like the version maintains the (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/gWT8eWR8XMc/