<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>HackTheBox on Hackpuntes</title><link>https://hackpuntes.com/categories/hackthebox/</link><description>Recent content in HackTheBox on Hackpuntes</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Sat, 18 Jul 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://hackpuntes.com/categories/hackthebox/index.xml" rel="self" type="application/rss+xml"/><item><title>Logging WriteUp</title><link>https://hackpuntes.com/posts/hackthebox/machines/logging-writeup/</link><pubDate>Sat, 18 Jul 2026 00:00:00 +0000</pubDate><guid>https://hackpuntes.com/posts/hackthebox/machines/logging-writeup/</guid><description>&lt;p&gt;&lt;a href="https://hackpuntes.com/images/hackthebox/machines/logging/logging-banner.webp"&gt;&lt;img src="https://hackpuntes.com/images/hackthebox/machines/logging/logging-banner.webp" alt="Logging WriteUp" loading="eager" decoding="async" /&gt;
&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Logging&lt;/strong&gt; is a &lt;code&gt;🟧 Medium&lt;/code&gt; difficulty machine on &lt;strong&gt;Hack The Box&lt;/strong&gt;, and it is one of those Active Directory boxes where you keep chaining one flaw after another until you own the whole domain. We start by reading a plaintext password someone left lying around in a log, we abuse permissions over a gMSA account to grab its hash, we jump to another user with a DLL hijacking in a scheduled task, and to finish we request an ADCS certificate via ESC1 and impersonate a WSUS server to run code as SYSTEM on the Domain Controller. It sounds like a lot, but we are going to take it slow and go bit by bit.&lt;/p&gt;</description></item><item><title>CCTV WriteUp</title><link>https://hackpuntes.com/posts/hackthebox/machines/cctv-writeup/</link><pubDate>Sat, 11 Jul 2026 00:00:00 +0000</pubDate><guid>https://hackpuntes.com/posts/hackthebox/machines/cctv-writeup/</guid><description>&lt;p&gt;&lt;a href="https://hackpuntes.com/images/hackthebox/machines/cctv/cctv-banner.webp"&gt;&lt;img src="https://hackpuntes.com/images/hackthebox/machines/cctv/cctv-banner.webp" alt="CCTV WriteUp" loading="eager" decoding="async" /&gt;
&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;CCTV&lt;/strong&gt; is a &lt;code&gt;🟩 Easy&lt;/code&gt; machine on &lt;strong&gt;Hack The Box&lt;/strong&gt;. It chains a SQL Injection in &lt;strong&gt;ZoneMinder&lt;/strong&gt; to obtain SSH credentials, with the discovery of internal video surveillance services after pivoting from the compromised machine. Escalation to root is achieved through an authenticated RCE in &lt;strong&gt;motionEye&lt;/strong&gt;.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;IP&lt;/strong&gt;: &lt;code&gt;10.129.3.35&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Approximate time&lt;/strong&gt;: &lt;code&gt;~1.5h&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="-attack-chain"&gt;🗺️ Attack Chain&lt;/h2&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;Nmap → Port 80 (ZoneMinder 1.37.63)
│
▼
Default credentials admin:admin → panel access
│
▼
CVE-2024-51482 (Boolean SQLi) → sqlmap → mark:opensesame
│
▼
SSH as mark
│
▼
LinPEAS → tcpdump (cap_net_raw) + internal ports
│
▼
Port Forwarding → motionEye 0.43.1b4 on :8765
│
▼
/etc/motioneye/motion.conf → admin:989c5a8ee87a0e9521ec81a79187d162109282f0
│
▼
CVE-2025-60787 (Metasploit RCE) → root 🏴
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id="-reconnaissance"&gt;🔍 Reconnaissance&lt;/h2&gt;
&lt;h3 id="port-scanning"&gt;Port Scanning&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;10.129.3.35 cctv.htb&amp;#34;&lt;/span&gt; &lt;span class="p"&gt;|&lt;/span&gt; sudo tee -a /etc/hosts
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo nmap -p- --open -Pn --min-rate &lt;span class="m"&gt;5000&lt;/span&gt; -oA ports -vvv cctv.htb
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;grep -oP &lt;span class="s1"&gt;&amp;#39;\d+/open&amp;#39;&lt;/span&gt; ports.gnmap &lt;span class="p"&gt;|&lt;/span&gt; cut -d&lt;span class="s1"&gt;&amp;#39;/&amp;#39;&lt;/span&gt; -f1 &lt;span class="p"&gt;|&lt;/span&gt; sort -u &lt;span class="p"&gt;|&lt;/span&gt; tr &lt;span class="s1"&gt;&amp;#39;\n&amp;#39;&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;,&amp;#39;&lt;/span&gt; &lt;span class="p"&gt;|&lt;/span&gt; sed &lt;span class="s1"&gt;&amp;#39;s/,$//&amp;#39;&lt;/span&gt; &amp;gt; ports.txt
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo nmap -sCV -p&lt;span class="k"&gt;$(&lt;/span&gt;cat ports.txt&lt;span class="k"&gt;)&lt;/span&gt; -Pn -oA scan -vvv cctv.htb
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Port&lt;/th&gt;
&lt;th&gt;Service&lt;/th&gt;
&lt;th&gt;Detail&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;22&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;SSH&lt;/td&gt;
&lt;td&gt;OpenSSH 9.6p1 Ubuntu&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;80&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;HTTP&lt;/td&gt;
&lt;td&gt;Apache 2.4.58 → &lt;code&gt;SecureVision CCTV&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Small attack surface. Port 22 is not vulnerable, so we focus on port 80.&lt;/p&gt;</description></item><item><title>DevArea WriteUp</title><link>https://hackpuntes.com/posts/hackthebox/machines/devarea-writeup/</link><pubDate>Sat, 04 Jul 2026 00:00:00 +0000</pubDate><guid>https://hackpuntes.com/posts/hackthebox/machines/devarea-writeup/</guid><description>&lt;p&gt;&lt;a href="https://hackpuntes.com/images/hackthebox/machines/devarea/devarea-banner.webp"&gt;&lt;img src="https://hackpuntes.com/images/hackthebox/machines/devarea/devarea-banner.webp" alt="DevArea WriteUp" loading="eager" decoding="async" /&gt;
&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;DevArea&lt;/strong&gt; is a &lt;code&gt;🟧 Medium&lt;/code&gt; machine on &lt;strong&gt;Hack The Box&lt;/strong&gt;, part of &lt;strong&gt;Season 10&lt;/strong&gt;, created by &lt;strong&gt;EmSec&lt;/strong&gt;. It simulates a development environment with multiple exposed services: a SOAP web service running on Apache CXF/Jetty, an FTP server with anonymous access, and a Hoverfly service virtualization platform. The path chains an arbitrary file read vulnerability with API abuse to gain initial access, then exploits a critical misconfiguration in the system&amp;rsquo;s bash binary to escalate to root.&lt;/p&gt;</description></item><item><title>WingData WriteUp</title><link>https://hackpuntes.com/posts/hackthebox/machines/wingdata-writeup/</link><pubDate>Sat, 27 Jun 2026 00:00:00 +0000</pubDate><guid>https://hackpuntes.com/posts/hackthebox/machines/wingdata-writeup/</guid><description>&lt;p&gt;&lt;a href="https://hackpuntes.com/images/hackthebox/machines/wingdata/wingdata-banner.webp"&gt;&lt;img src="https://hackpuntes.com/images/hackthebox/machines/wingdata/wingdata-banner.webp" alt="WingData WriteUp" loading="eager" decoding="async" /&gt;
&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;WingData&lt;/strong&gt; is an &lt;code&gt;🟩 Easy&lt;/code&gt; difficulty machine on &lt;strong&gt;Hack The Box&lt;/strong&gt;, Season 10, created by &lt;strong&gt;WackyH4cker&lt;/strong&gt;. The attack chain combines exploiting a &lt;strong&gt;vulnerable Wing FTP Server&lt;/strong&gt; for initial access, extracting and cracking credentials from configuration files, and privilege escalation through a vulnerability in Python&amp;rsquo;s &lt;code&gt;tarfile&lt;/code&gt; module.&lt;/p&gt;
&lt;h2 id="-attack-chain"&gt;🗺️ Attack Chain&lt;/h2&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;Reconnaissance → Port 80 + 22
│
▼
Web enumeration → ftp.wingdata.htb (Wing FTP Server v7.4.3)
│
▼
CVE-2025-47812 → Unauthenticated RCE → Shell as wingftp
│
▼
/opt/wftpserver/Data/1/users/wacky.xml → Salted SHA-256 hash
│
▼
Hashcat (mode 1410) → Plaintext password → SSH as wacky
│
▼
sudo -l → restore_backup_clients.py (root) → CVE-2025-4517
│
▼
Malicious tar → path traversal → /etc/sudoers → root 🏴
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id="-reconnaissance"&gt;🔍 Reconnaissance&lt;/h2&gt;
&lt;h3 id="etchosts-setup"&gt;/etc/hosts Setup&lt;/h3&gt;
&lt;p&gt;Before we start, we add the machine IP to &lt;code&gt;/etc/hosts&lt;/code&gt; so we can use the domain name across all tools:&lt;/p&gt;</description></item><item><title>NanoCorp WriteUp</title><link>https://hackpuntes.com/posts/hackthebox/machines/nanocorp-writeup/</link><pubDate>Sat, 20 Jun 2026 00:00:00 +0000</pubDate><guid>https://hackpuntes.com/posts/hackthebox/machines/nanocorp-writeup/</guid><description>&lt;p&gt;&lt;a href="https://hackpuntes.com/images/hackthebox/machines/nanocorp/nanocorp-banner.webp"&gt;&lt;img src="https://hackpuntes.com/images/hackthebox/machines/nanocorp/nanocorp-banner.webp" alt="NanoCorp WriteUp" loading="eager" decoding="async" /&gt;
&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;NanoCorp&lt;/strong&gt; is a &lt;code&gt;🟥 Hard&lt;/code&gt; difficulty machine from the &lt;strong&gt;Hack The Box&lt;/strong&gt; platform. The attack chain starts at a job portal that accepts résumés in ZIP format: by packaging a malicious &lt;code&gt;.library-ms&lt;/code&gt; file (CVE-2025-24071) we get the server, on extraction, to try to authenticate over SMB against our machine, leaking the NetNTLMv2 hash of a service account. After cracking that password, we use &lt;strong&gt;BloodHound&lt;/strong&gt; to map the domain and discover a DACL abuse chain that lets us join a privileged group and reset the password of another service account with WinRM access. The final escalation exploits &lt;strong&gt;CVE-2024-0670&lt;/strong&gt; in the &lt;strong&gt;Checkmk&lt;/strong&gt; monitoring agent, abusing the repair of its MSI installer to run our own script as &lt;code&gt;NT AUTHORITY\SYSTEM&lt;/code&gt;.&lt;/p&gt;</description></item><item><title>VariaType WriteUp</title><link>https://hackpuntes.com/posts/hackthebox/machines/variatype-writeup/</link><pubDate>Sat, 13 Jun 2026 00:00:00 +0000</pubDate><guid>https://hackpuntes.com/posts/hackthebox/machines/variatype-writeup/</guid><description>&lt;p&gt;&lt;a href="https://hackpuntes.com/images/hackthebox/machines/variatype/variatype-banner.webp"&gt;&lt;img src="https://hackpuntes.com/images/hackthebox/machines/variatype/variatype-banner.webp" alt="VariaType WriteUp" loading="eager" decoding="async" /&gt;
&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;VariaType&lt;/strong&gt; is a &lt;code&gt;🟧 Medium&lt;/code&gt; difficulty machine on &lt;strong&gt;Hack The Box&lt;/strong&gt;, Season 10. The attack chain starts by discovering an exposed Git repository on an internal portal, extracting credentials from the commit history, exploiting an arbitrary file write in &lt;strong&gt;fontTools&lt;/strong&gt; to get a shell, moving laterally by abusing command injection in &lt;strong&gt;FontForge&lt;/strong&gt; via a malicious ZIP file, and escalating to root by leveraging a path traversal in &lt;strong&gt;setuptools&lt;/strong&gt; through a misconfigured &lt;code&gt;sudo&lt;/code&gt; rule.&lt;/p&gt;</description></item><item><title>Facts WriteUp</title><link>https://hackpuntes.com/posts/hackthebox/machines/facts-writeup/</link><pubDate>Sat, 06 Jun 2026 00:00:00 +0000</pubDate><guid>https://hackpuntes.com/posts/hackthebox/machines/facts-writeup/</guid><description>&lt;p&gt;&lt;a href="https://hackpuntes.com/images/hackthebox/machines/facts/facts-banner.webp"&gt;&lt;img src="https://hackpuntes.com/images/hackthebox/machines/facts/facts-banner.webp" alt="Facts WriteUp" loading="eager" decoding="async" /&gt;
&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Facts&lt;/strong&gt; is a &lt;code&gt;🟩 Easy&lt;/code&gt; difficulty machine on &lt;strong&gt;Hack The Box&lt;/strong&gt;. It chains the exploitation of a web CMS with a credential leak into a &lt;strong&gt;MinIO&lt;/strong&gt; S3-compatible storage server, from which we extract a password-protected SSH private key. Privilege escalation is achieved by abusing a binary allowed via &lt;code&gt;sudo&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id="-attack-chain"&gt;🗺️ Attack Chain&lt;/h2&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;Nmap → Port 80 (CamaleonCMS 2.9.0) + Port 54321 (MinIO)
│
▼
CVE-2025-2304 → Privilege Escalation + S3 Config Leak
│
▼
MinIO Credentials → Bucket &amp;#34;internal&amp;#34;
│
▼
.ssh/id_ed25519 (encrypted private key)
│
▼
ssh2john + john → passphrase: dragonballz → user: trivia
│
▼
sudo /usr/bin/facter → custom fact (.rb) → /bin/bash as root 🏴
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id="-reconnaissance"&gt;🔍 Reconnaissance&lt;/h2&gt;
&lt;h3 id="port-scanning"&gt;Port Scanning&lt;/h3&gt;
&lt;p&gt;We perform reconnaissance in &lt;strong&gt;two phases&lt;/strong&gt;: fast discovery followed by version detection on the found ports.&lt;/p&gt;</description></item><item><title>Interpreter WriteUp</title><link>https://hackpuntes.com/posts/hackthebox/machines/interpreter-writeup/</link><pubDate>Sat, 30 May 2026 00:00:00 +0000</pubDate><guid>https://hackpuntes.com/posts/hackthebox/machines/interpreter-writeup/</guid><description>&lt;p&gt;&lt;a href="https://hackpuntes.com/images/hackthebox/machines/interpreter/interpreter-banner.webp"&gt;&lt;img src="https://hackpuntes.com/images/hackthebox/machines/interpreter/interpreter-banner.webp" alt="Interpreter WriteUp" loading="eager" decoding="async" /&gt;
&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Interpreter&lt;/strong&gt; is a &lt;code&gt;🟨 Medium&lt;/code&gt; difficulty machine from the &lt;strong&gt;Hack The Box&lt;/strong&gt; platform, Season 10. The attack chain combines the exploitation of &lt;strong&gt;Mirth Connect 4.4.0&lt;/strong&gt; through insecure Java deserialization to obtain unauthenticated RCE, extraction of credentials from the internal database, cracking of a PBKDF2-HMAC-SHA256 hash, and privilege escalation by abusing a Flask service with Python f-string injection.&lt;/p&gt;
&lt;h2 id="-attack-chain"&gt;🗺️ Attack Chain&lt;/h2&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;Reconnaissance → Ports 22, 80, 443
│
▼
Web Enumeration → Mirth Connect 4.4.0 (via JNLP)
│
▼
CVE-2023-43208 → Insecure Java Deserialization → RCE as mirth
│
▼
/usr/local/mirthconnect/conf/mirth.properties → DB Credentials
│
▼
MariaDB (mc_bdd_prod) → PBKDF2-HMAC-SHA256 hash of sedric
│
▼
Hashcat (mode 10900) → snowflake1 → SSH as sedric
│
▼
/usr/local/bin/notif.py → Flask + eval() in f-strings → SSTI
│
▼
SUID bash → root 🏴
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id="-reconnaissance"&gt;🔍 Reconnaissance&lt;/h2&gt;
&lt;h3 id="etchosts-configuration"&gt;/etc/hosts Configuration&lt;/h3&gt;
&lt;p&gt;Before starting, we add the machine&amp;rsquo;s IP to the &lt;code&gt;/etc/hosts&lt;/code&gt; file:&lt;/p&gt;</description></item><item><title>MonitorsFour WriteUp</title><link>https://hackpuntes.com/posts/hackthebox/machines/monitorsfour-writeup/</link><pubDate>Sat, 23 May 2026 00:00:00 +0000</pubDate><guid>https://hackpuntes.com/posts/hackthebox/machines/monitorsfour-writeup/</guid><description>&lt;p&gt;&lt;a href="https://hackpuntes.com/images/hackthebox/machines/monitorsfour/monitorsfour-banner.webp"&gt;&lt;img src="https://hackpuntes.com/images/hackthebox/machines/monitorsfour/monitorsfour-banner.webp" alt="MonitorsFour WriteUp" loading="eager" decoding="async" /&gt;
&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;MonitorsFour&lt;/strong&gt; is an &lt;code&gt;🟩 Easy&lt;/code&gt; difficulty machine on the &lt;strong&gt;Hack The Box&lt;/strong&gt; platform. The attack chain starts by exploiting an IDOR endpoint with PHP loose comparison to leak administrator credentials, continues with remote code execution in &lt;strong&gt;Cacti 1.2.28&lt;/strong&gt; via &lt;strong&gt;CVE-2025-24367&lt;/strong&gt;, and ends by escaping the Docker container by abusing the &lt;strong&gt;daemon API&lt;/strong&gt; exposed without authentication on the internal Docker Desktop subnet (&lt;strong&gt;CVE-2025-9074&lt;/strong&gt;).&lt;/p&gt;
&lt;h2 id="-attack-chain"&gt;🗺️ Attack Chain&lt;/h2&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;Reconnaissance → Ports 80, 5985
│
▼
Subdomain enumeration → cacti.monitorsfour.htb
│
▼
IDOR + PHP Type Juggling → /api/v1/user?token=0 → MD5 hash → marcus:wonderful1
│
▼
CVE-2025-24367 → Cacti 1.2.28 authenticated RCE → www-data in Docker container
│
▼
user.txt → /home/marcus/user.txt
│
▼
CVE-2025-9074 → Docker API on 192.168.65.7:2375 → container with C:\ mounted → root 🏴
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id="-reconnaissance"&gt;🔍 Reconnaissance&lt;/h2&gt;
&lt;h3 id="etchosts-setup"&gt;/etc/hosts Setup&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;10.129.38.79 monitorsfour.htb&amp;#34;&lt;/span&gt; &lt;span class="p"&gt;|&lt;/span&gt; sudo tee -a /etc/hosts
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="port-scanning"&gt;Port Scanning&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Phase 1 - Fast TCP port discovery:&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>Pterodactyl WriteUp</title><link>https://hackpuntes.com/posts/hackthebox/machines/pterodactyl-writeup/</link><pubDate>Sat, 16 May 2026 00:00:00 +0000</pubDate><guid>https://hackpuntes.com/posts/hackthebox/machines/pterodactyl-writeup/</guid><description>&lt;p&gt;&lt;a href="https://hackpuntes.com/images/hackthebox/machines/pterodactyl/pterodactyl-banner.webp"&gt;&lt;img src="https://hackpuntes.com/images/hackthebox/machines/pterodactyl/pterodactyl-banner.webp" alt="Pterodactyl WriteUp" loading="eager" decoding="async" /&gt;
&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Pterodactyl&lt;/strong&gt; is a &lt;code&gt;🟧 Medium&lt;/code&gt; difficulty Linux machine on &lt;strong&gt;Hack The Box&lt;/strong&gt;, part of Season 10 (week 2). The name is no coincidence — the main attack vector is &lt;strong&gt;Pterodactyl Panel&lt;/strong&gt;, a popular open-source game server manager widely deployed on the internet. The attack chain combines an &lt;strong&gt;unauthenticated path traversal&lt;/strong&gt; that exposes PEAR and enables RCE, followed by database credential extraction, bcrypt hash cracking to pivot to an SSH user, and root escalation by chaining &lt;strong&gt;CVE-2025-6018&lt;/strong&gt; (PAM) with &lt;strong&gt;CVE-2025-6019&lt;/strong&gt; (udisks2/libblockdev).&lt;/p&gt;</description></item><item><title>Overwatch WriteUp</title><link>https://hackpuntes.com/posts/hackthebox/machines/overwatch-writeup/</link><pubDate>Sat, 09 May 2026 00:00:00 +0000</pubDate><guid>https://hackpuntes.com/posts/hackthebox/machines/overwatch-writeup/</guid><description>&lt;p&gt;&lt;a href="https://hackpuntes.com/images/hackthebox/machines/overwatch/overwatch-banner.webp"&gt;&lt;img src="https://hackpuntes.com/images/hackthebox/machines/overwatch/overwatch-banner.webp" alt="Overwatch WriteUp" loading="eager" decoding="async" /&gt;
&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Overwatch&lt;/strong&gt; is a &lt;code&gt;🟧 Medium&lt;/code&gt; difficulty machine on the &lt;strong&gt;Hack The Box&lt;/strong&gt; platform. The attack chain involves enumerating an SMB share accessible with a guest account to obtain a .NET binary with embedded credentials, connecting to an MSSQL server on a non-standard port to discover a misconfigured linked server, poisoning the domain DNS (ADIDNS) to intercept cleartext credentials of a service account, accessing via WinRM and escalating privileges by abusing an internal WCF service with command injection in the &lt;code&gt;KillProcess&lt;/code&gt; method.&lt;/p&gt;</description></item><item><title>DarkZero WriteUp</title><link>https://hackpuntes.com/posts/hackthebox/machines/darkzero-writeup/</link><pubDate>Sat, 04 Apr 2026 00:00:00 +0000</pubDate><guid>https://hackpuntes.com/posts/hackthebox/machines/darkzero-writeup/</guid><description>&lt;p&gt;&lt;a href="https://hackpuntes.com/images/hackthebox/machines/darkzero/darkzero-banner.webp"&gt;&lt;img src="https://hackpuntes.com/images/hackthebox/machines/darkzero/darkzero-banner.webp" alt="DarkZero WriteUp" loading="eager" decoding="async" /&gt;
&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;DarkZero&lt;/strong&gt; is a &lt;code&gt;🟥 Hard&lt;/code&gt; difficulty machine on the &lt;strong&gt;Hack The Box&lt;/strong&gt; platform that simulates an enterprise Active Directory environment with &lt;strong&gt;two separate domains&lt;/strong&gt;, multihoming, and advanced attack vectors. The ultimate goal is to fully compromise both Domain Controllers.&lt;/p&gt;
&lt;p&gt;At the start, we are given initial credentials: 🔑 &lt;code&gt;john.w:RFulUtONCOL!&lt;/code&gt;&lt;/p&gt;
&lt;h2 id="-attack-chain"&gt;🗺️ Attack Chain&lt;/h2&gt;
&lt;p&gt;Before diving into the details, here is the full attack chain at a glance:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;john.w credentials
│
▼
MSSQL DC01 (guest) ──linked server──► MSSQL DC02 (sysadmin)
│
▼
xp_cmdshell ► Shell as svc_sql on DC02 (172.16.20.2)
│
▼
Ligolo-MP ► Access to internal network 172.16.20.0/24
│
▼
AD CS (Certify) ► NTLM hash of svc_sql ► Password change
│
▼
RunasCs (LogonType 5) ► SeImpersonatePrivilege
│
▼
SigmaPotato ► NT AUTHORITY\SYSTEM on DC02
│
▼
Rubeus monitor + xp_dirtree ► DC01$ TGT
│
▼
Pass-the-Ticket ► secretsdump ► DC01 Administrator hash
│
▼
evil-winrm ► Administrator on DC01 🏴
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id="-reconnaissance"&gt;🔍 Reconnaissance&lt;/h2&gt;
&lt;h3 id="port-scanning"&gt;Port Scanning&lt;/h3&gt;
&lt;p&gt;We perform reconnaissance in &lt;strong&gt;two phases&lt;/strong&gt;: first we quickly discover open ports, then we run detection scripts against them.&lt;/p&gt;</description></item><item><title>HTB Machine BountyHunter</title><link>https://hackpuntes.com/posts/hackthebox/machines/bountyhunter-writeup/</link><pubDate>Sat, 20 Nov 2021 00:00:00 +0000</pubDate><guid>https://hackpuntes.com/posts/hackthebox/machines/bountyhunter-writeup/</guid><description>&lt;p&gt;&lt;a href="images/htb-machine-bountyhunter/htb-machine-bountyhunter_banner.png"&gt;&lt;img src="images/htb-machine-bountyhunter/htb-machine-bountyhunter_banner.png" alt="Hack The Box - Machine - BountyHunter" loading="eager" decoding="async" /&gt;
&lt;/a&gt;
&lt;/p&gt;
&lt;h1 id="overview"&gt;Overview&lt;/h1&gt;
&lt;p&gt;Welcome to the writeup of the &lt;strong&gt;bountyhunter machine&lt;/strong&gt; of the Hack The Box platform. BountyHunter is a Linux based machine that was active since July 24th to November 20th, on this machine we will find a XXE vulnerability and use it with a php wrapper to read internal files and get sensitive information, with the information gotten we will be able to connect to the machine through SSH, once inside the machine we will analyze a python script to find how we can abuse it to get code execution as root user and finish with the machine.&lt;/p&gt;</description></item><item><title>HTB Machine Explore</title><link>https://hackpuntes.com/posts/hackthebox/machines/explore-writeup/</link><pubDate>Sat, 30 Oct 2021 00:00:00 +0000</pubDate><guid>https://hackpuntes.com/posts/hackthebox/machines/explore-writeup/</guid><description>&lt;p&gt;&lt;a href="https://hackpuntes.com/images/htb-machine-explore/htb-machine-explore_banner.webp"&gt;&lt;img src="https://hackpuntes.com/images/htb-machine-explore/htb-machine-explore_banner.webp" alt="Hack The Box - Machine - Explore" loading="eager" decoding="async" /&gt;
&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;Welcome to the writeup of the &lt;strong&gt;explore machine&lt;/strong&gt; of the Hack The Box platform. Explore is an &lt;strong&gt;easy&lt;/strong&gt; difficulty machine on android.&lt;/p&gt;
&lt;h1 id="before-starting"&gt;Before starting&lt;/h1&gt;
&lt;p&gt;Connect to &lt;strong&gt;Hack The Box VPN&lt;/strong&gt; in background with &lt;code&gt;TMUX&lt;/code&gt;&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;tmux new -s htb
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo openvpn ~/.vpn/htb.ovpn
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;strong&gt;Add&lt;/strong&gt; machine to &lt;code&gt;/etc/hosts&lt;/code&gt; file, &lt;strong&gt;check connection&lt;/strong&gt; with &lt;code&gt;ping&lt;/code&gt; and &lt;strong&gt;create work folders&lt;/strong&gt;&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;10.10.10.247 explore.htb&amp;#39;&lt;/span&gt; &amp;gt;&amp;gt; /etc/hosts
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;ping -c &lt;span class="m"&gt;4&lt;/span&gt; explore.htb
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;mkdir -p ~/htb/explorer.htb/&lt;span class="o"&gt;{&lt;/span&gt;exploits,fuzz,http,nmap&lt;span class="o"&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h1 id="recon"&gt;Recon&lt;/h1&gt;
&lt;p&gt;Check &lt;strong&gt;all open ports&lt;/strong&gt;, detect the service and its version with &lt;code&gt;nmap&lt;/code&gt;&lt;/p&gt;</description></item><item><title>HTB Chaos Writeup</title><link>https://hackpuntes.com/posts/hackthebox/machines/chaos-writeup/</link><pubDate>Sat, 25 May 2019 00:00:00 +0000</pubDate><guid>https://hackpuntes.com/posts/hackthebox/machines/chaos-writeup/</guid><description>&lt;p&gt;&lt;a href="https://hackpuntes.com/images/write-up-htb-chaos/write-up-htb-chaos_001.webp"&gt;&lt;img src="https://hackpuntes.com/images/write-up-htb-chaos/write-up-htb-chaos_001.webp" alt="HTB Chaos Writeup" loading="lazy" decoding="async" /&gt;
&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;Hello everyone,&lt;/p&gt;
&lt;p&gt;With this post we&amp;rsquo;re starting a new series where we&amp;rsquo;ll learn how to exploit vulnerable machines and solve hacking challenges.&lt;/p&gt;
&lt;p&gt;We&amp;rsquo;re kicking things off with the latest retired machine from &lt;a href="https://www.hackthebox.eu/" target="_blank" rel="noopener noreferrer"&gt;Hack The Box&lt;/a&gt;
, &lt;strong&gt;Chaos&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;For those who don&amp;rsquo;t know &lt;strong&gt;HTB&lt;/strong&gt;, it&amp;rsquo;s a pentesting lab that provides different machines and challenges for its users. I usually recommend these types of platforms because they let us learn different technologies by tackling them head on.&lt;/p&gt;</description></item></channel></rss>