Skip to content
Threat Feed
medium advisory

Detection of Registry Editor Disablement via Registry Modification

Attackers and malware frequently modify the Windows registry to disable the Registry Editor, preventing incident responders from manually removing malicious persistence mechanisms.

This threat involves the modification of the Windows Registry to disable the built-in Registry Editor (regedit.exe), a technique commonly employed by Remote Access Trojans (RATs) and other malware to hinder administrative troubleshooting and defense efforts. By setting the 'DisableRegistryTools' value to '1' within the 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System' key, an attacker effectively prevents users from launching the registry tool to inspect or delete malicious persistence keys. This activity is a classic indicator of defense evasion and serves as a precursor to or concurrent action with the establishment of long-term system presence. Detecting this modification is critical for identifying active compromise where the adversary is attempting to harden their environment against manual removal.

Impact

Successful execution of this technique prevents IT staff and security responders from using regedit to remediate malicious registry keys. This can result in delayed incident response, prolonged attacker persistence, and decreased visibility into how the malware has integrated itself into the operating system's configuration.

Recommendation

Deploy detection rules to monitor for unauthorized modifications to the 'DisableRegistryTools' registry key using Endpoint Detection and Response (EDR) or Sysmon telemetry.

  • Enable Sysmon Event ID 13 logging on all endpoints to capture registry modifications.
  • Deploy the Sigma rule below to your SIEM/XDR platform to alert on unauthorized changes to this specific registry path.
  • Investigate any processes modifying this key that are not associated with legitimate administrative deployment tools or Group Policy updates.

Immediate actions

Deploy Sigma rule to monitor for registry modification

Detection Engineering 48h

Threat Hunt

Search for instances of DisableRegistryTools = 1 across the fleet

T1112 medium high confidence convert to detection

Data: Registry Event ID 13 logs

Detection coverage 1

Detect Registry Editor Disablement via Registry Modification

medium

Detects modifications to the Windows registry aimed at disabling the Registry Editor (regedit) by setting DisableRegistryTools to 1.

sigma tactics: defense-evasion techniques: T1112 sources: registry_set, windows

Detection queries are available on the platform. Get full rules →