Skip to main content
T1112Defense Evasionmedium difficulty

Modify Registry

Modify Registry covers adversaries reading from or writing to the Windows Registry to hide configuration, erase traces, weaken security settings, or support persistence and execution. Some keys require administrative rights. The detection focus is on high-value keys rather than every change: edits to security policy, Defender configuration, audit and logging settings, and autostart locations, especially when the modifying process and user context do not match how legitimate software touches those keys.

Practice detecting Modify Registry on realistic XDR, SIEM alerts in SOCSimulator Operations.

XDRSIEM

What is Modify Registry?

Modify Registry is documented as technique T1112 in MITRE ATT&CK® v19.1 under the Defense Evasion tactic. Detection requires visibility into XDR, SIEM telemetry.

Detection Strategies

The following detection strategies help SOC analysts identify Modify Registry activity. These methods apply across XDR, SIEM environments and can be implemented as detection rules, correlation queries, or behavioral analytics in your security platform.

  1. 1

    Monitor high-value registry key modifications including security policy settings, Windows Defender configuration, audit policy keys, and network configuration settings that attackers commonly modify to weaken defenses.

  2. 2

    Alert on processes writing binary data or encoded content to registry values in unusual locations, as malware frequently stores encrypted payloads in registry keys to avoid writing files to disk where they could be scanned.

  3. 3

    Detect modifications to registry keys that control security-relevant OS behaviors including LSA protection settings, credential guard configuration, and Protected Users security settings that limit attack surface.

  4. 4

    Monitor for registry key deletions in locations commonly used for forensic evidence including ShellBags, MUICache, UserAssist, and other activity tracking registry keys that attackers delete to remove evidence of their presence.

  5. 5

    Track registry modifications through Sysmon Event ID 13 and Windows audit subcategory "Registry" events, correlating changes with the making process and user context to identify unauthorized modifications from unexpected sources.

Example Alerts

These realistic alert examples show what Modify Registry looks like in your security tools. Use them to tune detection rules and train analysts to recognize true positives versus false positives in live environments.

CriticalXDR

LSA Protection Disabled via Registry Modification

Registry modification detected: HKLM\SYSTEM\CurrentControlSet\Control\Lsa\RunAsPPL changed from 1 to 0, disabling LSASS protected process mode. This protection prevents credential dumping tools from reading LSASS memory. The modification was made by a process running with kernel privileges immediately after a suspicious driver was loaded, indicating the attacker disabled this protection specifically to enable subsequent credential dumping with Mimikatz or similar tools.

HighXDR

Malware Payload Stored in Registry for Fileless Persistence

Suspicious registry write detected: HKCU\Software\Microsoft\Windows\CurrentVersion\Notes value set to a 48KB binary blob. Analysis of the blob reveals it is an XOR-encoded PowerShell script that decodes to a post-exploitation framework stager. A companion scheduled task reads this registry value, decodes it, and executes it in memory. This fileless technique stores the payload in the registry rather than on disk to evade file-based detection.

HighSIEM

Security Audit Policy Disabled via Registry

Registry audit detected changes to HKLM\SYSTEM\CurrentControlSet\Services\EventLog disabling multiple Windows Event Log channels including Security, System, and Application logs. These modifications were made at 02:17 AM by the SYSTEM account following a suspicious privilege escalation event. Disabling event logs removes the primary evidence source for reconstructing attacker activity and is a common defensive evasion step before deploying destructive payloads.

Frequently Asked Questions

How do SOC analysts detect Modify Registry?
Detection centers on XDR, SIEM telemetry for the defense evasion phase of the attack. Monitor high-value registry key modifications including security policy settings, Windows Defender configuration, audit policy keys, and network configuration settings that attackers commonly modify to weaken defenses. Alert on processes writing binary data or encoded content to registry values in unusual locations, as malware frequently stores encrypted payloads in registry keys to avoid writing files to disk where they could be scanned.
What does a Modify Registry alert look like?
A representative XDR detection is "LSA Protection Disabled via Registry Modification" (critical severity): Registry modification detected: HKLM\SYSTEM\CurrentControlSet\Control\Lsa\RunAsPPL changed from 1 to 0, disabling LSASS protected process mode. This protection prevents credential dumping tools from reading LSASS memory. The modification was made by a process running with kernel privileges immediately after a suspicious driver was loaded, indicating the attacker disabled this protection specifically to enable subsequent credential dumping with Mimikatz or similar tools.
Which tools detect Modify Registry, and how can I practice?
Modify Registry (T1112) is best surfaced with XDR, SIEM telemetry, which exposes the defense evasion signals described above. Practice detecting it on those exact consoles in SOCSimulator Operations, free.

Build the Skills Behind Modify Registry

We don't have a dedicated room for Modify Registry yet. Practice the surrounding detection skills across SOCSimulator Operations, free.

Explore Operations
Glossary

What is False Positive? SOC Glossary

A false positive is a security alert that fires on legitimate, benign activity, incorrectly classifying safe behavior as…

Read more
Glossary

What is EDR? SOC Glossary

Endpoint Detection and Response (EDR) is a security technology that continuously monitors endpoint activity, recording p…

Read more
Glossary

What is Threat Hunting? SOC Glossary

Threat hunting is the proactive, human-led process of searching through security telemetry to find hidden threats that e…

Read more
Glossary

What is Log Management? SOC Glossary

Log management is the process of collecting, normalizing, storing, retaining, and analyzing log data from across the IT …

Read more
Career Path

Detection Engineer Career Guide: Salary & Skills

Detection Engineers build the rules, analytics, and automated workflows that determine what the SOC can see. You transla…

Read more
Career Path

Threat Hunter Career Guide: Salary & Skills

Threat Hunters do not wait for alerts. You develop hypotheses based on threat intelligence and adversary behavior models…

Read more
Tool

XDR Training Console: SOCSimulator

The XDR console in SOCSimulator replicates the investigation workflow of platforms like CrowdStrike Falcon, Microsoft De…

Read more
Tool

SIEM Training Console: SOCSimulator

The SIEM console in SOCSimulator replicates the workflow of enterprise platforms like Splunk Enterprise Security, Micros…

Read more
Comparison

SOCSimulator Vs. Letsdefend: Platform Comparison

SOCSimulator wins on operational realism. You get multi-tool shift simulation with SLA pressure, noise injection, and al…

Read more
Glossary

SOC Glossary: Security Operations Terminology

Complete glossary of Security Operations Center terminology for aspiring SOC analysts.

Read more
Feature

Shift Mode: Real-Time SOC Simulation

Practice alert triage under realistic time pressure with SLA timers and noise injection.

Read more
Feature

Operations: Guided Training Operations

Structured CTF-style investigation operations covering real-world attack scenarios.

Read more