Windows Registry: New AppCompatFlags custom shim databases targeting system processes

Alerts on Windows registry writes to AppCompatFlags Custom shim paths targeting common system processes.

FreeReviewedSigma · High · v1
Product
windows
Category
registry_set
Author
Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2023-08-01
Updated
2026-07-30

ATT&CK techniques

Persistence → Priv Esc
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Defense Evasion

  6. Cred Access

  7. Discovery

  8. Lateral Movement

  9. Collection

  10. C2

  11. Exfiltration

  12. Impact

What it detects

This rule flags registry entries created under the AppCompatFlags Custom shim path, where the TargetObject points to shim database activity associated with well-known Windows processes. Attackers may use shim databases to influence process behavior for persistence or process injection. Telemetry relies on Windows registry set events capturing the TargetObject path being written.

Related detections7 linkedT1546.011 — drag to rearrange
Suspicious Application Shim Database Registration via Registry Set
Suspicious Application Shim Database Installation via sdbinst
Windows Registry Persistence via AppCompatFlags Layers REGISTERAPPRESTART
Windows sdbinst.exe Installing Shim Database with Uncommon Extension
Windows AppCompatFlags InstalledSDB New Shim Database in Non-Default Path
Windows Registry Modification of Application Shim Database (InstalledSDB/Custom) for Persistence
Windows Shim Database Persistence via sdbinst.exe with .sdb Payload
Windows Registry: New AppCompatFlags custom shim databases targeting system processes
Pivot detection · T1546.011 · 7 related

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.