Windows Registry Set: .NET COR/CORECLR Profiling Environment Variables Enabled

Alerts on registry writes enabling .NET CLR/CORECLR profiling variables like COR_ENABLE_PROFILING and COR_PROFILER.

FreeReviewedSigma · Medium · v1
Product
windows
Category
registry_set
Author
Jose Rodriguez (@Cyb3rPandaH), OTR (Open Threat Research), Jimmy Bayne (@bohops) (SigmaHQ), DRL 1.1
Published
2020-09-10
Updated
2026-07-30

ATT&CK techniques

Execution → Defense Evasion
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Defense Evasion

  5. Cred Access

  6. Discovery

  7. Lateral Movement

  8. Collection

  9. C2

  10. Exfiltration

  11. Impact

What it detects

This rule flags Windows registry writes where .NET CLR and .NET Core CLR profiling environment variables are set, specifically COR_ENABLE_PROFILING and COR_PROFILER (and their CORECLR equivalents). Attackers can use CLR profiling configuration to influence runtime behavior and load attacker-controlled components early in process execution. It relies on registry_set telemetry and matches the TargetObject naming and path contents for the relevant variable entries, including CORECLR_PROFILER_PATH.

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