ETW Logging Tamper In .NET Processes Via CommandLine

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects changes to environment variables related to ETW logging via the CommandLine. This could indicate potential adversaries stopping ETW providers recording loaded .NET assemblies.

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND COMMANDLINE contains "COMPlus_ETWEnabled,COMPlus_ETWFlags" select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

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