Given creds
wallace.everette / Welcome2026@
Let's with the nmap scan
Output
Before doing anything else, map the IP to the domain name. This is critical for Kerberos and virtual hosting to work properly.
Using the provided credentials for wallace.everette, we enumerated the SMB shares. We discovered a non-standard Logs share with global read permissions, which is often used by service accounts to dump debug traces.
Log Analysis & Password Mutation
We exfiltrated the contents of the Logs share and performed a recursive grep for sensitive strings. Inside IdentitySync_Trace_20260219.log, we found a raw LDAP Simple Bind dump containing cleartext credentials for a service account.
The Discovery: The log revealed BindUser: LOGGING\svc_recovery with BindPass: Em3rg3ncyPa$$2025. Recognizing the year-based rotation pattern, we mutated the password to Em3rg3ncyPa$$2026 to match the current system date.
Bypassing Protected Users (Kerberos Pivot)
We attempted to validate the new credentials but were blocked by a STATUS_ACCOUNT_RESTRICTION. We identified that svc_recovery is a member of the Protected Users group, which explicitly forbids NTLM authentication.
To proceed, we had to pivot to Kerberos. Because the Domain Controller's UTC clock was 7 hours ahead of our local environment, we used faketime to synchronize our authentication request and bypass the KRB_AP_ERR_SKEW (Clock Skew) protection.
Shadow Credentials & gMSA Takeover
With our Kerberos TGT loaded, we used BloodHound to map the permissions of svc_recovery. We found a GenericWrite edge over the Group Managed Service Account (gMSA) MSA_HEALTH$.
Since we could not read the 120-character managed password directly, we executed a Shadow Credentials attack. We abused the PKINIT extension to inject a public key into the target's msDS-KeyCredentialLink attribute. This allowed us to authenticate as the gMSA using asymmetric cryptography and extract its NTLM hash from the Kerberos PAC.
Final Execution (Pass-the-Hash)
The attack successfully yielded the NTLM hash for MSA_HEALTH$: 603fc24ee01a9409f83c9d1d701485c5.
We now have the "master key" for the health monitoring account. Our final move is to perform a Pass-the-Hash (PtH) attack to spawn an interactive shell on the Domain Controller.