A detailed walkthrough of the HackTheBox machine 'Bruno', a Windows Active Directory domain controller. The attack chain starts with anonymous FTP access to download a .NET scanning application, which is reverse-engineered to discover a ZipSlip vulnerability in its zip extraction logic. This is exploited to drop a malicious DLL into the application directory, achieving a DLL hijack that yields a shell as the svc_scan service account (whose credentials were first obtained via AS-REP roasting). Privilege escalation to Administrator is accomplished by exploiting the absence of LDAP signing: a Kerberos relay attack via DCOM OXID coercion is used to configure resource-based constrained delegation (RBCD), then S4U2Self/S4U2Proxy are used to impersonate the Administrator and gain full control.

30m read timeFrom 0xdf.gitlab.io
Post cover image
Table of contents
Box InfoReconAuth as svc_scanShell as svc_scanShell as Administrator
211 Impressions