Windows Registry COM Hijacking via TreatAs Subkey in CLSID

Alerts on registry modifications to HKU\Classes\CLSID\*\TreatAs that may indicate COM object hijacking/persistence.

FreeReviewedSigma · Medium · v1
Product
windows
Category
registry_set
Author
Kutepov Anton, oscd.community (SigmaHQ), DRL 1.1
Published
2019-10-23
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 Windows Registry entries under HKU\Classes\CLSID\*\TreatAs, which can indicate COM object hijacking. Attackers can use TreatAs subkeys to redirect COM activation to attacker-controlled classes, supporting persistence and potential privilege escalation. It relies on registry set telemetry capturing the TargetObject path that contains HKU\, Classes\CLSID\, and \TreatAs, while excluding events associated with svchost.exe.

Related detections9 linkedT1546.015 — drag to rearrange
Suspicious COM Hijack of ClickOnce Deployment Service CLSID (via registry_set)
Suspicious COM Hijack Via InprocServer32 Modification
Malicious COM Hijacking via TinyTurla CLSID InprocServer32 (via registry_set)
Suspicious dllhost.exe Spawned with CLSID and Anomalous Parent (via process_creation)
Suspicious COM Handler Hijack of MsCtfMonitor CLSID via CharmingCypress
Malicious COM Hijack of PSFactoryBuffer InprocServer32
Malicious APT-C-60 COM Hijack via SpyGlace CLSID InProcServer32 (via registry_set)
Malicious COM Hijack via CLSID InProcServer32 Registry Modification (via registry_set)
Malicious COM Object Hijack Pointing to a User-Writable DLL (via registry_set)
Windows Registry COM Hijacking via TreatAs Subkey in CLSID
Pivot detection · T1546.015 · 9 related

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