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

Blackfield

6 Jun 2020 · 9 min read · root access
Blackfield - maquina de Hack The Box

Executive summary — Blackfield is an Active Directory DC (Windows) where SMB guest access leaks a full list of domain users, and one of them (support) has Kerberos pre-authentication disabled: AS-REP roasting plus cracking recovers its password. support has ForceChangePassword over audit2020, an account that unlocks the forensic share holding an LSASS dump: that yields svc_backup's NTLM hash (user flag). With that account's SeBackupPrivilege/SeRestorePrivilege, a shadow copy (DiskShadow) dodges the in-use file lock and copies ntds.dit plus the SYSTEM hive; secretsdump.py dumps Administrator's hash → Pass-the-Hash → root.

PlatformHack The Box
Operating systemWindows Server — Domain Controller (Active Directory)
DomainBLACKFIELD.local
DC hostnameDC01
DifficultyHard
StatusRetired
Target IP10.129.229.17

Attack map

[SMB guest] profiles$ share -> domain user list
   |  AS-REP roasting -> support (pre-auth off) -> crack -> #00^BlackKnight
   v
[support]  BloodHound -> ForceChangePassword over audit2020
   |  rpcclient setuserinfo2 -> reset audit2020 -> forensic share now accessible
   v
[audit2020]  forensic/lsass.zip -> pypykatz -> svc_backup NTLM hash
   v
[svc_backup]  evil-winrm (user.txt) -> SeBackupPrivilege
   |  DiskShadow (shadow copy) + robocopy -> copy ntds.dit + SYSTEM (dodges the lock)
   v
[ADMIN]  secretsdump.py -> Administrator hash -> Pass-the-Hash -> root.txt

1. Reconnaissance

echo "10.129.229.17 blackfield.local dc01.blackfield.local" | sudo tee -a /etc/hosts
nmap -p- --min-rate 10000 -oA nmap-alltcp 10.129.229.17
nmap -sC -sV -p53,88,135,389,445,593,3268,5985 -oA nmap-tcpscripts 10.129.229.17

The open ports (53, 88, 135, 389, 445, 593, 3268, 5985) are typical of a Domain Controller. Nmap and LDAP identify the domain BLACKFIELD.local, and CrackMapExec confirms the hostname DC01.

dig @10.129.229.17 blackfield.local
ldapsearch -h 10.129.229.17 -x -s base namingcontexts

DC=BLACKFIELD,DC=local confirmed: we're facing an Active Directory DC.

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