Windows Registry Persistence via AppCompatFlags Layers REGISTERAPPRESTART

Detects registry persistence settings that include the AppCompat layer "REGISTERAPPRESTART" on Windows.

FreeReviewedSigma · Medium · v1
Product
windows
Category
registry_set
Author
Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2024-01-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 writes that set the AppCompat compatibility layer value containing "REGISTERAPPRESTART" under the AppCompatFlags Layers path. Attackers can abuse this restart registration mechanism to maintain execution across reboots. The detection relies on registry set telemetry matching the target path and the presence of the "REGISTERAPPRESTART" string in the written details.

Related detections7 linkedT1546.011 — drag to rearrange
Suspicious Application Shim Database Registration via Registry Set
Suspicious Application Shim Database Installation via sdbinst
Windows sdbinst.exe Installing Shim Database with Uncommon Extension
Windows AppCompatFlags InstalledSDB New Shim Database in Non-Default Path
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 Registry Persistence via AppCompatFlags Layers REGISTERAPPRESTART
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.