Operation Endgame — Null-Session Enumeration + GenericWrite Abuse to RBCD Domain Compromise | TryHackMe
The domain controller allowed anonymous LDAP and SMB enumeration, exposing all user accounts, and had an enabled Guest account with a blank password. An attacker could use these misconfigurations to obtain credentials through Kerberoasting and then abuse GenericWrite permissions to perform a full domain compromise via Resource-Based Constrained Delegation.
Published on meetcyber.net
Operation Endgame is a hard-difficulty Active Directory room on TryHackMe. The attack surface is a single Domain Controller with no initial credentials provided — just a network connection and a target IP.
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 the domain controller was misconfigured to allow anonymous LDAP/SMB access, the Guest account was enabled with a blank password, and excessive GenericWrite permissions were granted to non-administrative users over user and computer objects.
Impact
An attacker could obtain valid domain credentials and ultimately forge an Administrator ticket to gain full control of the domain controller.
What the attacker needed
Network access to the domain controller; no initial credentials
The fix
The report recommends disabling anonymous LDAP/SMB access, disabling the Guest account, enforcing strong password policies, and removing excessive GenericWrite permissions from non-administrative users on user and computer objects.
How it was found
- Run a null-session SMB check to confirm anonymous access.
- Enumerate LDAP anonymously to retrieve the full user list.
- Attempt AS-REP roasting against all users, but no hashes cracked.
- Authenticate as Guest with an empty password and perform Kerberoasting to obtain a service ticket for CODY_ROY.
- Crack the service ticket offline to recover CODY_ROY's password.
- Use BloodHound data to find that ZACHARY_HUNT has GenericWrite over JERRI_LANCASTER, inject an SPN, and Kerberoast JERRI_LANCASTER to obtain credentials.
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 report describes a series of weaknesses in a Windows domain network. The main problems were that the server let anyone list all user accounts without logging in, and a built-in guest account had no password. Attackers could then use these to guess passwords and eventually take full control of the domain.
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.