cscli scenarios install sigmahq/proc_creation_win_logman_disable_eventlog
1type: trigger2name: sigmahq/proc_creation_win_logman_disable_eventlog3description: |4 Detects the execution of "logman" utility in order to disable or delete Windows trace sessions5filter: |6 (evt.Meta.service == 'sysmon' && evt.Parsed.EventID == '1') && ((evt.Parsed.Image endsWith '\\logman.exe' || evt.Parsed.OriginalFileName == 'Logman.exe') && (evt.Parsed.CommandLine contains 'stop ' || evt.Parsed.CommandLine contains 'delete ') && (evt.Parsed.CommandLine contains 'Circular Kernel Context Logger' || evt.Parsed.CommandLine contains 'EventLog-' || evt.Parsed.CommandLine contains 'SYSMON TRACE' || evt.Parsed.CommandLine contains 'SysmonDnsEtwSession'))7blackhole: 2m8#status: test9labels:10 service: windows11 confidence: 112 spoofable: 013 classification:14 - attack.t1562.00115 - attack.t1070.0011617 label: "Suspicious Windows Trace ETW Session Tamper Via Logman.EXE"18 behavior : "windows:audit"19 remediation: false2021scope:22 type: ParentProcessId23 expression: evt.Parsed.ParentProcessId2425