Welcome (HackSmarter)
A walkthrough of a HackSmarter Active Directory lab where a default password found in a password-protected PDF let the tester spray accounts and take over several users, then abuse a misconfigured certificate template (ESC1) to obtain an Administrator certificate and log in as domain admin. The attacker could escalate from a single low-privileged account to full domain compromise.
Published on medium.com
You are a member of the Hack Smarter Red Team. During a phishing engagement, you were able to retrieve credentials for the client’s Active Directory environment.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a combination of a shared default password left unchanged on multiple accounts and a certificate template that lets low-privileged users request certificates for other identities (ESC1).
Impact
An attacker with one low-privileged account could escalate to full domain administrator access in this lab environment.
What the attacker needed
Starting low-privileged credentials; access to internal network; SMB shares readable by user
How it was found
- Scan the target to find the domain controller and open services
- Use the starting credentials to list and download SMB shares
- Crack the password on the protected PDF to recover a default password
- Export the user list and spray the default password across accounts
- Use BloodHound to map an attack path and reset passwords of higher-privileged users
- Request an Administrator certificate via the vulnerable template and authenticate with it
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
This is a practice lab, not a real bug report. The tester started with one normal user account, found a shared default password inside a locked PDF, and tried it against other accounts. Several people had never changed it, so the tester could reset their passwords and eventually trick the domain's certificate system into issuing an admin-level login certificate.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.