Windows AppCompatFlags InstalledSDB New Shim Database in Non-Default Path

Flags persistence attempts where a shim database is registered via InstalledSDB with a non-default DatabasePath on Windows.

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 identifies the creation or modification of registry entries that install a new shim database under the AppCompatFlags\InstalledSDB key, specifically when the stored DatabasePath is set to an uncommon location. Attackers may use application shimming to establish persistence by loading malicious behavior through compatibility mechanisms. The detection relies on Windows registry set telemetry, matching the InstalledSDB registry value structure and excluding a known default location pattern.

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 Registry: New AppCompatFlags custom shim databases targeting system processes
Windows Registry Modification of Application Shim Database (InstalledSDB/Custom) for Persistence
Windows Shim Database Persistence via sdbinst.exe with .sdb Payload
Windows AppCompatFlags InstalledSDB New Shim Database in Non-Default Path
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.