Outdated
Executive summary — Outdated is a Windows Medium box built around a domain with sloppy patching and mail hygiene. An anonymous SMB share leaks an internal PDF that, without meaning to, hands over the full hint: send an e-mail link to a support address an internal bot visits automatically, and the document itself flags CVE-2022-30190 (Follina) as a patching priority. An e-mail with a link to a Follina server, delivered without authentication because hMailServer only requires SMTP auth for local senders, gets remote execution as the account running the bot. That account has GenericWrite over a second account, enabling a Shadow Credentials attack via
msDS-KeyCredentialLinkand PKINIT to recover its NT hash —with a clock skew between the bot's host, the DC and the attacker that has to be measured and compensated precisely for the PKINIT certificate to validate. That second account belongs to the WSUS Administrators group, and the DC is its own only WSUS client: approving an "update" that actually runs PsExec (signed by Microsoft, as WSUS requires) gets execution as SYSTEM on the domain controller.
| Platform | Hack The Box |
| OS | Windows (Server 2019, build 17763) |
| Difficulty | Medium |
| Status | Retired |
| Services | 25 (hMailServer SMTP), 445 (SMB), 5985 (WinRM), 8530/8531 (WSUS), standard AD |
| Techniques | Phishing targeting an internal bot, CVE-2022-30190 (Follina), Shadow Credentials with clock-skew compensation, WSUS abuse via SharpWSUS |
Attack map
DC.outdated.htb (anonymous SMB: Shares with NOC_Reminder.pdf)
| hint: e-mail a link to itsupport@outdated.htb
| (a bot visits it) -> CVE-2022-30190 (Follina) listed as a priority
v
Phishing: e-mail with a link to a Follina server
| hMailServer doesn't require auth for an external sender -> local mailbox
v
Bot btables (host CLIENT) opens the link -> RCE as outdated\btables
| btables has GenericWrite over sflowers
v
Shadow Credentials (msDS-KeyCredentialLink) + PKINIT
| clock gotcha: CLIENT=DC+1h, Kali=DC-7h -> exact faketime needed
| btables TGT (Rubeus tgtdeleg, no password) + certipy from Kali
v
sflowers NT hash -> WinRM -> user.txt
| sflowers is in the WSUS Administrators group
v
WSUS abuse (SharpWSUS): malicious update that runs signed PsExec
| approved for the DC itself (its only WSUS client)
v
Execution as SYSTEM on the DC -> root.txt
1. Reconnaissance
The port scan (TTL 127, Windows) shows a full domain controller: 25 (hMailServer SMTP), the standard AD stack (88/135/139/389/445/464/593/636/3268/3269/9389), 5985 (WinRM) and, most notably, 8530/8531 (WSUS). The domain is outdated.htb, with DC.outdated.htb as the controller (Server 2019, build 17763).
An anonymous SMB session (guest) reveals a share named Shares with read access, holding a NOC_Reminder.pdf:
netexec smb <TARGET_IP> -u guest -p '' --shares
smbclient //<TARGET_IP>/Shares -U 'guest%' -c 'get NOC_Reminder.pdf'
pdftotext NOC_Reminder.pdf -
The PDF reminds staff not to e-mail links to internal web applications to
itsupport@outdated.htb, and lists CVE-2022-30190 (MSDT/Follina) as an outstanding patching priority. In other words: a bot visits links received at that mailbox, and the box is likely still unpatched against Follina.
A RID brute with the same anonymous session enumerates the domain's users: Administrator, Guest, krbtgt, DC$, CLIENT$, btables, sflowers. None are AS-REP roastable.
Root Access unlocks the content you can't see — everything else on the site is already open.
See Root Access plansNo account? Create one free then upgrade from your console.