ETW Logging Disabled In .NET Processes - Sysmon Registry

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Potential adversaries stopping ETW providers recording loaded .NET assemblies.

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Registry value modified" AND ((OBJECTNAME endswith "SOFTWARE\Microsoft\.NETFramework\ETWEnabled" OR (OBJECTNAME endswith "SOFTWARE\Microsoft\.NETFramework" AND OBJECTVALUENAME = "ETWEnabled")) AND (INFORMATION = "DWORD (0x00000000)" OR (CHANGES = 0 AND NEWTYPE = "REG_DWORD"))) OR (OBJECTNAME endswith "\COMPlus_ETWEnabled,\COMPlus_ETWFlags" AND INFORMATION = "0,DWORD (0x00000000)") select Action1.HOSTNAME,Action1.MESSAGE,Action1.OBJECTNAME,Action1.PROCESSNAME,Action1.PREVVAL,Action1.CHANGES

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research)