Documentation Index
Fetch the complete documentation index at: https://docs.bytejmp.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Every DC has a local DSRM administrator account set during AD DS promotion. Its NTLM hash can be extracted and used to authenticate to the DC.Get DSRM Password Hash
Administrator account hash.
Enable Network DSRM Login
By default, DSRM account can only log in during DSRM boot mode. Change registry to allow network logon:| Value | Behavior |
|---|---|
| 0 | Only in DSRM boot (default) |
| 1 | When AD DS is stopped |
| 2 | Always (what we want) |
Authenticate with DSRM Hash
./ (local) not DOMAIN/ — DSRM is local account.
Notes
- DSRM password rarely changed → long-term persistence
- Local account — use
.\Administratoror hostname - Survives reboots
- Requires registry change for remote access
- Detection: monitor DsrmAdminLogonBehavior registry key
Quick Reference
| Task | Command |
|---|---|
| Get hash | mimikatz # lsadump::sam on DC |
| Enable remote | Set DsrmAdminLogonBehavior = 2 |
| Login | PtH with ./Administrator (local, not domain) |