SBN

Hack the Box (HTB) machines walkthrough series — Apocalyst

Today, we’ll be continuing with our series on Hack the Box (HTB) machines. This article contains the walkthrough of an HTB machine named Bounty.

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 Apocalyst, 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 Apocalyst machine IP is 10.10.10.46.

3. We will adopt the same methodology of performing penetration testing we’ve used previously. Let’s start with enumeration in order to gain as much information about the machine as possible.

4. As usual, let’s start with the Nmap scan to learn more about the services running on this machine.

5. As we can see, port 22 and port 80 are opened on this machine. It also looks like there is a WordPress site being hosted. [CLICK IMAGES TO ENLARGE]
<<nmap -sC -sV -oA Apocalyst 10.10.10.46>>

6. We’ll make an entry for the host in /etc/hosts as shown below:

7. Browsing port 80 shows the page below, which seems like a dead end.

8. Since we know that this is a WordPress site, we can use WPScan to enumerate usernames and more.
<<wpscan -u http://apocalyst.htb/ –enumerate p –enumerate u –enumerate t>>

9. As we can see, it was able to find a user named “falaraki.” That is a good start!

10. Another thing we can do (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/gosALJud0nU/