Detect Indicator Blocking in Microsoft Sentinel
Adversaries may attempt to block indicators or events typically captured by sensors from being gathered and analyzed. This includes tampering with Event Tracing for Windows (ETW), disabling crash dumps, modifying syslog configuration, redirecting telemetry, or blocking network traffic to SIEM/logging infrastructure. ETW tampering is particularly impactful as many security tools depend on ETW providers for visibility.
MITRE ATT&CK
- Tactic
- Defense Evasion
- Technique
- T1562 Impair Defenses
- Sub-technique
- T1562.006 Indicator Blocking
- Canonical reference
- https://attack.mitre.org/techniques/T1562/006/
KQL Detection Query
let ETWTampering = dynamic(["Set-EtwTraceProvider", "logman stop", "logman delete", "logman update", "Remove-EtwTraceProvider", "EtwEventWrite", "NtTraceEvent", "NtTraceControl"]);
let CrashDumpTampering = dynamic(["CrashDumpEnabled", "NMICrashDump"]);
let SyslogTampering = dynamic(["systemctl stop rsyslog", "systemctl stop syslog-ng", "service rsyslog stop", "service syslog stop", "esxcli system syslog"]);
let IndicatorBlocking = dynamic(["Set-EtwTraceProvider", "logman stop", "logman delete", "CrashDumpEnabled", "systemctl stop rsyslog", "systemctl stop syslog-ng", "service rsyslog stop"]);
union DeviceProcessEvents, DeviceRegistryEvents
| where Timestamp > ago(24h)
| where ProcessCommandLine has_any (IndicatorBlocking)
or ProcessCommandLine has_any (ETWTampering)
or ProcessCommandLine has_any (SyslogTampering)
or (ActionType == "RegistryValueSet" and RegistryKey has "CrashControl" and RegistryValueName has_any (CrashDumpTampering))
| extend BlockingType = case(
ProcessCommandLine has_any ("Set-EtwTraceProvider", "logman stop", "logman delete", "logman update", "Remove-EtwTraceProvider"), "ETW Tampering",
ProcessCommandLine has_any ("EtwEventWrite", "NtTraceEvent", "NtTraceControl"), "ETW API Patching",
RegistryValueName has "CrashDumpEnabled" or ProcessCommandLine has "CrashDumpEnabled", "Crash Dump Disabled",
ProcessCommandLine has_any ("rsyslog", "syslog-ng", "syslog"), "Syslog Tampering",
"Other")
| project Timestamp, DeviceName, AccountName, BlockingType, ProcessCommandLine, RegistryKey, RegistryValueName, RegistryValueData, InitiatingProcessFileName
| sort by Timestamp desc Detects indicator blocking through ETW provider manipulation (Set-EtwTraceProvider, logman), crash dump disablement (CrashDumpEnabled registry key), and syslog service stopping. APT41 and HUI Loader are known to use ETW bypass techniques, while HermeticWiper disables crash dumps.
Data Sources
Required Tables
False Positives & Tuning
- Performance engineers using logman to manage ETW trace sessions for diagnostics
- System administrators configuring crash dump settings for disk space management on servers
- Security teams intentionally modifying ETW providers during tuning or testing
Other platforms for T1562.006
Testing Methodology
Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.
- Test 1Stop ETW Trace Session with logman
Expected signal: Sysmon Event ID 1: logman.exe with CommandLine 'stop EventLog-Application -ets'.
- Test 2Disable Crash Dumps via Registry
Expected signal: Sysmon Event ID 13: Registry value set for CrashControl\CrashDumpEnabled=0. Sysmon Event ID 1: reg.exe process creation.
- Test 3Stop rsyslog Service on Linux
Expected signal: Auditd execve record for systemctl stop rsyslog. Syslog may capture its own stop (depending on timing). MDE DeviceProcessEvents if deployed.
References (5)
- https://attack.mitre.org/techniques/T1562/006/
- https://medium.com/palantir/tampering-with-windows-event-tracing-background-offense-and-defense-4be7ac62ac63
- https://www.mdsec.co.uk/2020/12/bypassing-user-mode-hooks-and-direct-invocation-of-system-calls-for-red-teams/
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1562.006/T1562.006.md
- https://posts.specterops.io/data-source-analysis-and-dynamic-windows-re-authentication-a-]
Unlock Pro Content
Get the full detection package for T1562.006 including response playbook, investigation guide, and atomic red team tests.