Skip to content
Threat Feed
medium advisory

Detection of Unauthorized System Restore Disablement via Registry

Threat actors, including those deploying Remote Access Trojans such as NjRAT, modify Windows Registry keys to disable System Restore and hinder recovery efforts.

Adversaries often target the Windows System Restore feature to prevent system recovery and hinder incident response activities. By modifying specific registry keys to disable System Restore, threat actors ensure that defenders cannot easily roll back a compromised system to a clean state. This tactic is frequently observed in campaigns utilizing Remote Access Trojans (RATs), such as NjRAT, to maintain long-term persistence and cover tracks after initial infection. The behavior involves updating the DisableSR or DisableConfig values within the SystemRestore registry hive to 1. This modification is a critical indicator of defense evasion and potential system tampering, requiring immediate investigation when observed outside of authorized administrative changes.

Attack Chain

  1. Initial access is gained through methods such as phishing or exploit kits (e.g., weaponized attachments).
  2. The malware executes, often masquerading as a legitimate process to bypass endpoint security controls.
  3. The attacker gains administrative or elevated privileges required to modify sensitive registry keys.
  4. The malware targets Windows Registry paths: SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore or SOFTWARE\Policies\Microsoft\Windows NT\SystemRestore.
  5. The attacker updates DisableSR or DisableConfig values to 0x00000001 to explicitly disable System Restore functionality.
  6. The attacker may further modify additional security settings or install persistence mechanisms to sustain the foothold.
  7. Final objective is achieved, such as data exfiltration, ransomware deployment, or long-term command-and-control communication.

Impact

The primary impact of this activity is the permanent loss of system recovery points, forcing defenders to rely on full imaging or clean builds for remediation. Disabling System Restore is a persistent evasion tactic that creates significant operational friction for security teams responding to RAT infections. If the modification remains undetected, an attacker can maintain persistence across reboots, facilitating ongoing data theft or further malicious activity on the targeted host.

Recommendation

  • Deploy the provided Sigma rule to monitor for unauthorized modifications to System Restore registry keys using Sysmon Event ID 13.
  • Establish a baseline for authorized administrative changes to System Restore settings to tune out legitimate maintenance activity.
  • Audit endpoint configurations for registry-based hardening policies that prevent modification of System Restore registry hives.
  • Investigate instances where DisableSR or DisableConfig are set to 1 by non-privileged or suspicious processes immediately.

Immediate actions

Deploy registry monitoring rules for System Restore paths

Detection Engineering 48h

Threat Hunt

Search for historical registry modifications to SystemRestore keys

T1490 medium high confidence hunt now

Data: Registry modification logs

Mitigations

Restrict write access to HKLM\SOFTWARE\Microsoft\Windows NT\SystemRestore

short_term IT Operations

T1490

Detection coverage 1

Detect System Restore Disablement via Registry Modification

medium

Detects unauthorized modification of registry keys used to disable System Restore functionality

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

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