Detection of Registry Modifications Disabling Password Changes
Attackers, particularly ransomware actors, modify the Windows registry to disable the Change Password feature, preventing users from regaining control of their accounts and impeding incident response.
Adversaries often target the Windows registry to disable the user's ability to change their passwords, a technique categorized under Defense Evasion. By modifying the registry key 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\DisableChangePassword' and setting its value to '0x00000001', attackers can effectively lock out users from modifying security credentials. This activity is commonly associated with ransomware operations, where maintaining persistent control over a compromised host is critical for the attacker's objectives. By inhibiting password changes, attackers frustrate user-led remediation efforts and complicate administrative incident response, allowing more time for lateral movement or data exfiltration. Defenders should monitor registry modifications targeting this path to identify unauthorized attempts to weaken host security controls.
Attack Chain
- Initial access is established on the victim system via phishing or exploitation.
- The attacker gains administrative or SYSTEM level privileges required to modify sensitive registry keys.
- The adversary identifies the 'DisableChangePassword' registry value within the Windows Policies hive.
- The attacker executes a command (e.g., reg.exe or PowerShell) to set the 'DisableChangePassword' value to '1'.
- The change is persisted in the registry, immediately disabling the Change Password function in the Windows Security (Ctrl+Alt+Del) menu.
- The attacker prevents the user from successfully resetting credentials, maintaining unauthorized control over the compromised session.
- Final objective is achieved, such as the encryption of user files or the extraction of sensitive data from the host.
Impact
This technique impacts organizations by neutralizing a primary mechanism for users to protect their accounts after detecting a security incident. Successful exploitation results in persistent control for the attacker, enabling prolonged access to the system. While the total number of victims is not publicly quantified for this specific registry modification, it is a known tactic utilized in various ransomware campaigns to increase the operational friction for security teams attempting to re-secure endpoints.
Recommendation
- Deploy the Sigma rule provided in this brief to detect unauthorized registry modifications to the 'DisableChangePassword' key.
- Enable Sysmon Event ID 13 (RegistryEvent) logging to capture registry set operations across all workstations and servers.
- Create a whitelist in your SIEM to filter out legitimate administrative tools or software deployment scripts that may legitimately set this policy for security hardening.
- Monitor for suspicious process execution (e.g., reg.exe) occurring in conjunction with the registry write event to identify the process responsible for the modification.
Immediate actions
Deploy Sigma detection rule to SIEM
Mitigations
Review Group Policy Objects (GPO) to ensure only authorized changes to the 'DisableChangePassword' registry key are permitted.
T1112
Detection coverage 1
Detect Windows Disable Change Password Registry Modification
mediumDetects modifications to the 'DisableChangePassword' registry key, which disables the ability for users to change their Windows passwords.
Detection queries are available on the platform. Get full rules →