Hack the Box (HTB) machines walkthrough series — Heist

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

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.

The walkthrough

Note: Only write-ups of retired HTB machines are allowed. The machine in this article, named Heist, is retired.

Let’s‌ ‌start‌ ‌with‌ ‌this‌ ‌machine.‌ ‌

1. Download‌ ‌the‌ ‌VPN‌ ‌pack‌ ‌for‌ ‌the‌ ‌individual‌ ‌user‌ ‌and‌ ‌use‌ ‌the‌ ‌guidelines‌ ‌to‌ ‌log in‌‌to the‌ ‌HTB‌ ‌ VPN.‌ ‌

2. The Heist‌ ‌machine‌ ‌IP‌ ‌is‌ ‌10.10.10.149 .

3. We’ll‌ ‌adopt‌ ‌the‌ ‌same‌ ‌methodology‌ ‌of‌ ‌performing‌ ‌penetration‌ ‌testing as we’ve previously used.‌ ‌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‌ ‌gather‌ ‌more‌ ‌information‌ ‌about‌ ‌the‌ ‌services‌ ‌running‌ ‌on‌ ‌this‌ ‌machine.‌ [CLICK IMAGES TO ENLARGE]
<<nmap‌ ‌-sC‌ ‌-sV‌ ‌-oA‌ ‌Heist‌ ‌10.10.10.149>>‌

5. This is a Windows machine with all the general ports available.

6. Let’s start enumeration with port 80. Below is the login screen that browsing port 80 presents.

7. Looking into guest login reveals the following chat page. This shows that user “Hazard” has attached a file.

8. This file contains some usernames and passwords.

9. These Cisco Type 7s can be easily decrypted using an online utility, as shown below.

10. For Cisco Type 5, we will use hashcat and get it cracked.
<<hashcat -a 0 -m 500 type5. (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/KLZ2WXjFGkQ/