Gatekeeping the Built-In Administrator: A Break-Glass Blueprint for the RID-500 Account
-500. Most organizations still have this account enabled, reachable
from ordinary workstations, and known to more people than anyone can list. This note treats it the way
it should be treated: as a break-glass account that is never used for daily work, held under dual custody,
isolated to Tier 0, denied everywhere else by policy, and wired to an alarm that fires the moment anyone touches it.
1. Why the RID-500 account is the crown jewel
In most organizations, the built-in Administrator is still there, still enabled, and often still used — for a scheduled task someone set up years ago, a service that “needs admin,” or simply because it was the first account anyone knew. That makes it the single most valuable credential in the directory:
- It is predictable. Its SID is always
S-1-5-21-<domain>-500. Renaming it changes the name, not the RID, so attackers and their tools find it instantly. - It cannot be deleted. You can rename, disable, and restrict it — but it is always part of the domain.
- It holds the keys to everything. By default it is a member of Administrators, Domain Admins, Enterprise Admins, and Schema Admins in the forest root domain.
- Its credentials travel. Every interactive or RDP logon leaves reusable credential material in the memory of that machine. One logon on a compromised laptop can hand an attacker the whole forest.
The goal is not to delete it (you can’t) but to make it unusable in normal life and loud in an emergency.
2. The break-glass principle
Day-to-day administration belongs to named admin accounts, one per person, each with only the rights that person needs. The RID-500 account is reserved for one scenario: every other path into the directory has failed. Everything below follows from that rule.
3. Dual custody: the two-person rule
- Split the secret. Generate a random password of 30+ characters and split it in two. Give one half to the CISO and the other to the Director of Infrastructure. Neither can sign in alone.
- Seal the vault. Alternatively, print the full password, seal it in a tamper-evident envelope, and keep it in a safe that needs two keys or two combinations. Log every time the safe is opened.
- Reset after every use. Once the envelope is opened or the halves are combined, the password is burned. Rotate it, re-split or re-seal it, and document why it was used.
4. Harden the account itself
| Setting | Why |
|---|---|
| Account is sensitive and cannot be delegated | Stops services from impersonating the account through Kerberos delegation. |
| Smart card is required for interactive logon (optional, see above) | Removes the reusable password from the equation. |
| Rename it | Only slows down casual scripts — the RID stays 500 — but it removes the obvious target name. |
| Disable it when your recovery plan allows | Many organizations keep it disabled until needed. Test the recovery path before you depend on it. |
| Remove every dependency | Nothing — no service, scheduled task, or script — should run as this account. |
Find the account by its RID, whatever it has been renamed to, and check its current state:
Import-Module ActiveDirectory # The domain SID + "-500" always identifies the built-in Administrator $domainSid = (Get-ADDomain).DomainSID.Value $admin = Get-ADUser -Identity "$domainSid-500" ` -Properties Enabled, LastLogonDate, PasswordLastSet, AccountNotDelegated, SmartcardLogonRequired $admin | Select-Object SamAccountName, Enabled, LastLogonDate, PasswordLastSet, AccountNotDelegated, SmartcardLogonRequired
Set-ADUser -Identity $admin -AccountNotDelegated $true # Optional: enforce smart-card logon (this randomizes the password) # Set-ADUser -Identity $admin -SmartcardLogonRequired $true # Optional, once recovery has been tested: # Disable-ADAccount -Identity $admin
5. Tier 0 isolation and Privileged Access Workstations
- Keep it in Tier 0. Tier 0 is anything that controls identity: domain controllers, AD itself, PKI, and the systems that manage them. The RID-500 account should only ever authenticate there.
- Use a Privileged Access Workstation (PAW). A dedicated, hardened device — no email, no web browsing, no standard VPN — is the only place Tier 0 credentials are typed. If an attacker dumps the memory of a normal employee laptop, this account’s credentials are simply not there.
- Block everything else. The policies in the next section make every Tier 1 server and Tier 2 workstation refuse the account outright.
6. Deny-by-default Group Policy
Create a dedicated GPO, link it to the OUs that contain member servers and workstations — not the Domain Controllers OU — and add the account to these User Rights Assignments:
Computer Configuration → Policies → Windows Settings → Security Settings → Local Policies → User Rights Assignment
| User right | Blocks |
|---|---|
| Deny access to this computer from the network | SMB, remote management, and other network logons |
| Deny log on through Remote Desktop Services | RDP sessions |
| Deny log on as a batch job | Scheduled tasks running as the account |
| Deny log on as a service | Services configured to run as the account |
| Deny log on locally | Console logons on those servers and workstations |
7. The kill-switch alert
If the account is vaulted and unused, any activity is either a declared emergency or an intrusion. Configure your SIEM or Microsoft Defender for Identity to raise a high-severity alert on these Security log events (collect them from the domain controllers):
| Event ID | Meaning | Watch for |
|---|---|---|
| 4624 | Successful logon | Target SID ending in -500 |
| 4625 | Failed logon | Password guessing against the account |
| 4648 | Logon with explicit credentials | Someone using runas or similar with the account |
| 4768 / 4769 / 4776 | Kerberos ticket / service ticket / NTLM validation | Any authentication by the account at a DC |
| 4722 | Account enabled | The moment someone re-enables the disabled account |
| 4724 / 4738 | Password reset attempt / account changed | Tampering with the account’s password or settings |
| 4720 | User account created | New accounts appearing outside your provisioning process |
| 4728 / 4732 / 4756 | Member added to a security group | New members of Domain Admins, Administrators, or Enterprise Admins |
SecurityEvent | where EventID in (4624, 4625, 4648, 4722, 4724, 4738) | where TargetSid endswith "-500" | project TimeGenerated, Computer, EventID, Activity, TargetAccount, IpAddress, SubjectAccount
8. After the glass is broken
- Record who opened the vault, when, and why.
- Do only the recovery work required, from a PAW.
- Rotate the password (or re-issue the smart card), then re-split or re-seal it.
- Disable the account again if that is your standard state.
- Review every alert the use generated and close them with the incident record.
9. One-page checklist
| Control | Done when |
|---|---|
| Dual custody | No single person can sign in as RID 500 |
| No dependencies | No service, task, or script runs as the account |
| Account hardening | Cannot be delegated; smart card or vaulted password; disabled if recovery allows |
| Tier 0 only | Logons only on domain controllers from a PAW |
| Deny GPO | All five deny rights applied to servers and workstations |
| Kill-switch alerts | A test logon produces a high-severity alert within minutes |
| Post-use procedure | Rotation and review are written down and rehearsed |
Related
- Active Directory Management: Domain Controllers, FSMO Roles, Replication, DNS & Best Practices
- PowerShell Active Directory Reference
References
- Microsoft — Appendix D: Securing Built-In Administrator Accounts in Active Directory
- Microsoft — Enterprise access model
- Microsoft — Securing devices as part of the privileged access story
- Microsoft — Microsoft Defender for Identity