Skip to content
Threat Feed
high advisory

Microsoft .NET Framework: ETW logging disablement via registry

Adversaries may disable Event Tracing for Windows (ETW) for .NET processes by modifying specific registry keys to blind security monitoring tools.

Triage facts

Revision 1
Evidence
Unknown
Severity
High
Action
Elevated
Sources
1 public source
Freshness
Revision 1Nov 10, 03:08 UTC
Detection
1 rule
Source quality
A1Likely

Adversaries can suppress ETW logging for .NET applications by setting registry values to zero. This technique interferes with the ability of security tools to record loaded .NET assemblies, effectively blinding EDR or SIEM telemetry that relies on these ETW providers. This involves modifying global configuration keys under the .NETFramework registry hive or setting environment-specific COMPlus variables via the registry.

Impact

Successful exploitation prevents security products from gaining visibility into .NET assembly loading events, which are critical for detecting the execution of fileless malware, reflective DLL injection, and other memory-resident threats.

Recommendation

Deploy detection rules to monitor for unauthorized modifications to the identified registry keys. Audit the environment for systems that have these keys set to zero.

Attack Chain

  1. Attacker gains administrative access to the target host.
  2. Attacker modifies registry keys to alter .NET runtime behavior.
  3. Attacker sets ETWEnabled or COMPlus_ETWEnabled/Flags to 0.
  4. Subsequent .NET processes launched inherit these configurations.
  5. Security telemetry (ETW) is suppressed for these processes.
  6. Attacker proceeds with malicious actions (e.g., loading malicious assemblies) while bypassing detection.

Immediate actions

Deploy registry monitoring rules for .NET framework hives.

Detection Engineering 48h

Threat Hunt

Search for existing registry values set to 0 for ETWEnabled or COMPlus keys.

T1112 medium high confidence hunt now

Data: Registry inventory/scans

Mitigations

Enforce GPOs to prevent unauthorized modifications to the .NETFramework registry hive.

medium IT Operations

Registry tampering

Detection coverage 1

Detect .NET ETW Logging Disablement

high

Detects tampering with .NET ETW logging by setting ETWEnabled or COMPlus configuration keys to 0 in the registry.

sigma tactics: defense-impairment techniques: T1112 sources: registry_set, windows

Detection queries are available on the platform. Get full rules →