SBN

Hack the Box (HTB) machines walkthrough series — Chatterbox

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 Chatterbox.

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 Chatterbox, 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 Chatterbox machine IP is 10.10.10.74.
  3. We will adopt the usual methodology of performing penetration testing to begin. 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.
    <<nmap -sC -sV -oA Chatterbox 10.10.10.74>>

  5. Oh, wow, all standard nmap ports are filtered! Let’s widen the search a bit more.
    <<nmap -sT -p- -min-rate 4000 –max-retries 1 10.10.10.74>>

  6. Above, we can see that some ports are reflected now. Let’s dig in to see more about that service. It turns out that this an AChat service.
    <<nmap -sV -sC -p 9255 10.10.10.74>>

  7. Turns out we’ve got an exploit for the same in ExploitDB. We will use 36025.py.
  8. Looking into the code for the exploit, we have altered the payload a bit. Rather than spinning up calc.exe, we are going to spawn a reverse shell, as shown below.
  9. Inserting the above (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/bZaMG_0s2D4/