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

Grandpa

12 Apr 2017 · 9 min read · root access
Grandpa - maquina de Hack The Box

Executive summary — Grandpa is a «museum-piece» Easy Windows box: an IIS 6.0 (Windows Server 2003) with WebDAV vulnerable to CVE-2017-7269 gives RCE as NETWORK SERVICE; and being an ancient Windows, we escalate to SYSTEM abusing SeImpersonatePrivilege with Churrasco (MS09-012 Token Kidnapping). A WebDAV RCE → NETWORK SERVICE → SYSTEM path, with a detour through a restricted Meterpreter session and a writable staging folder.

PlatformHack The Box
Operating systemWindows
DifficultyEasy
StatusRetired
Target IP10.129.95.233

Attack map

[80] Microsoft IIS 6.0 (Windows Server 2003) · WebDAV
   │  CVE-2017-7269 — ScStoragePathFromUrl overflow (WebDAV) → RCE via Metasploit
   ▼
[SHELL]  NT AUTHORITY\NETWORK SERVICE  (limited Meterpreter — stdapi restricted)
   │  whoami /priv → SeImpersonatePrivilege: Enabled
   │  writable C:\wmpub\ + nc.exe + churrasco.exe → MS09-012 Token Kidnapping
   ▼
[SYSTEM]  NT AUTHORITY\SYSTEM

1. Reconnaissance

nmap -sC -sV -Pn 10.129.95.233
80/tcp  open  http  Microsoft IIS httpd 6.0

The clue: IIS 6.0 belongs to the Windows Server 2003/XP era — ancient by any standard. Its WebDAV service carries CVE-2017-7269, one of the most classic unauthenticated RCEs ever found in IIS, and a single open port 80 is the entire attack surface here.

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