Posts for: #Writeup

HackTheBox Jeeves Writeup

jeeves

Jeeves is a retired medium-difficulty Windows machine and my second box from the CPTS Preparation Track on HackTheBox Labs. The path starts with an unauthenticated Jenkins instance and continues through a KeePass database, Pass-the-Hash and an NTFS Alternate Data Stream.


🕵️ Enumeration

After spawning the machine and connecting to the HTB Labs VPN, I started with a full TCP port and service scan:

🔍 Initial Nmap Scan

nmap -Pn -sT -sC -sV -p- --open --min-rate 1000 -T4 \
  <TARGET_IP> \
  -oA nmap/jeeves-full

The options used here are:

[Read More]

HackTheBox Fluffy Writeup

fluffy

Fluffy is an Easy-rated Windows machine and my first box from the new CPTS Preparation Track on HackTheBox Labs. It’s a great box if you want to get hands-on with modern Active Directory attacks. We start from an assumed-breach perspective, inject a crafted .library-ms file via an SMB share to harvest NTLM hashes, and continue by abusing Generic Write privileges through Shadow Credentials. The final step to Domain Takeover is exploiting an AD CS vulnerability.

[Read More]

HackTheBox CodePartTwo Writeup

codeparttwo

CodePartTwo is an easy difficulty Linux machine featuring a web-based JavaScript editor. The core of this challenge revolves around the “Run Code” functionality - a feature that is inherently dangerous if not properly isolated.


🕵️ Enumeration

After spawning the machine and connecting to the VPN, we start with the initial enumeration.


🔍 Initial Nmap Scan

Like always, we start by running an initial nmap scan to identify open ports:

[Read More]

HackTheBox Editor Writeup

editor

Editor is an easy Linux machine running a vulnerable version of XWiki that allows unauthenticated remote code execution, providing an initial foothold. Enumeration of the system reveals a misconfigured SUID binary, which can be exploited to escalate privileges and gain root access.


🕵️ Enumeration

After spawning the machine and connecting to the VPN, we start with the initial enumeration.


🔍 Initial Nmap Scan

We begin by running an initial nmap scan with the following command:

[Read More]

HackTheBox Cap Writeup

cap

Cap is an easy difficulty Linux machine running an HTTP server that performs administrative functions including performing network captures. Improper controls result in Insecure Direct Object Reference (IDOR) giving access to another user’s capture. The capture contains plaintext credentials and can be used to gain foothold. A Linux capability is then leveraged to escalate to root.


🕵️ Enumeration

After spawning the machine and connecting to the VPN, we start with the initial enumeration.

[Read More]