Hack the Box (HTB) machines walkthrough series — Nibbles
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 Nibbles.
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 Nibbles, 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 Nibbles machine IP is 10.10.10.75.
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 learn more about the services running on this machine. [CLICK IMAGES TO ENLARGE]
<<nmap -sC -sV -oA nibbles 10.10.10.75>>
5. As we can see, ports 22 and 80 are opened. Let’s start enumeration on these.
6. Below is the page for port 80. Looking into the source code reveals a directory called /nibbleblog.
7. Below is the nibbleblog page.
8. Let’s start with directory enumeration with Gobuster.
9. We found some interesting directories, but the most enticing is the admin one.
<<gobuster -u http://10.10.10.75/nibbleblog -w /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt -t 20>>
10. Browsing to the admin directory reveals the following page, which requires us to log in to access.
11. After much thought, I tried the credentials admin/nibbles and it worked. We’re in!
*** 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/mGgEvDxpZhU/