root@thehacksparrow:~/writeups$ SYSTEM ONLINE
root@sparrow:~/writeups$ cat optimum.md
// writeups

Optimum

18 Mar 2017 · 7 min read · root access
Optimum - maquina de Hack The Box

Executive summary — Optimum is a classic-chain Easy Windows box: a Rejetto HTTP File Server (HFS) 2.3 vulnerable to RCE (CVE-2014-6287) gives a shell as user kostas; then an unpatched Windows falls to a local exploit, MS16-032 (Secondary Logon, CVE-2016-0099), up to SYSTEM. A HFS RCE → user → local exploit suggester → SYSTEM path.

PlatformHack The Box
Operating systemWindows
DifficultyEasy
StatusRetired
Target IP10.129.9.132

Attack map

[80] Rejetto HFS 2.3 (HttpFileServer)
   │  CVE-2014-6287 — null byte in the macro parser → RCE
   ▼
[SHELL]  meterpreter as OPTIMUM\kostas  (user.txt.txt)
   │  local_exploit_suggester → MS16-032 (Secondary Logon, CVE-2016-0099)
   ▼
[SYSTEM]  NT AUTHORITY\SYSTEM  (root.txt)

1. Reconnaissance

We start with a targeted port scan: we only care about what's behind 80/tcp.

nmap -sC -sV -p80 10.129.9.132
80/tcp  open  http  HttpFileServer httpd 2.3

The key detail: the server identifies as HFS 2.3 (Rejetto HTTP File Server), a lightweight file-sharing application and, more importantly, a version with a well-known critical RCE dating back to 2014 — fingerprint the exact version (-sV) and half the box is solved.

🔒 Clearance required

This content is Root Access only. Everything else on the site — the free tier, the whole public library — stays open.

See Root Access plans

No account? Create one free then upgrade from your console.