Install any skill in seconds. Free to start, no credit card required.
Get Started Free →An adversary may attempt to block indicators or events typically captured by sensors from being gathered and analyzed.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-03 | ✗→✓ | ▲ Improved | 51% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 40% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 91% | 0% |
| case-13 | ✗→✓ | ▲ Improved | 59% | 0% |
| case-14 | ✗→✓ | ▲ Improved | -1% | 0% |
> Sub-technique of: T1562
An adversary may attempt to block indicators or events typically captured by sensors from being gathered and analyzed. This could include maliciously redirecting or even disabling host-based sensors, such as Event Tracing for Windows (ETW), by tampering settings that control the collection and flow of event telemetry. These settings may be stored on the system in configuration files and/or in the Registry as well as being accessible via administrative utilities such as PowerShell or Windows Management Instrumentation.
For example, adversaries may modify the File value in <code>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Security</code> to hide their malicious actions in a new or different .evtx log file. This action does not require a system reboot and takes effect immediately.
ETW interruption can be achieved multiple ways, however most directly by defining conditions using the PowerShell <code>Set-EtwTraceProvider</code> cmdlet or by interfacing directly with the Registry to make alterations.
In the case of network-based reporting of indicators, an adversary may block traffic associated with reporting to prevent central analysis. This may be accomplished by many means, such as stopping a local process responsible for forwarding telemetry and/or creating a host-based firewall rule to block traffic to specific hosts responsible for aggregating events, such as security information and event management (SIEM) products.
In Linux environments, adversaries may disable or reconfigure log processing tools such as syslog or nxlog to inhibit detection and monitoring capabilities to facilitate follow on behaviors. ESXi also leverages syslog, which can be reconfigured via commands such as esxcli system syslog config set and esxcli system syslog config reload.
Platforms: Windows, macOS, Linux, ESXi
The following tests are from Atomic Red Team and provide actionable ways to test this technique:
Emulates modification of auditd configuration files
Supported Platforms: linux Elevation Required: Yes
bashsed -i '$ a #art_test_1562_006_1' /etc/audisp/#{audisp_config_file_name} if [ -f "/etc/#{auditd_config_file_name}" ]; then sed -i '$ a #art_test_1562_006_1' /etc/#{auditd_config_file_name} else sed -i '$ a #art_test_1562_006_1' /etc/audit/#{auditd_config_file_name} fi sed -i '$ a #art_test_1562_006_1' /etc/#{libaudit_config_file_name}
Emulates modification of auditd configuration files
Supported Platforms: linux Elevation Required: Yes
bashecho '#art_test_1562_006_1' >> /etc/security/#{auditd_config_file_name}
Emulates modification of syslog configuration.
Supported Platforms: linux Elevation Required: Yes
bashif [ -f "/etc/#{syslog_config_file_name}" ]; then sed -i '$ a #art_test_1562_006_2' /etc/#{syslog_config_file_name} fi if [ -f "/etc/#{rsyslog_config_file_name}" ]; then sed -i '$ a #art_test_1562_006_2' /etc/#{rsyslog_config_file_name} fi if [ -f "/etc/syslog-ng/#{syslog_ng_config_file_name}" ]; then sed -i '$ a #art_test_1562_006_2' /etc/syslog-ng/#{syslog_ng_config_file_name} fi
Emulates modification of syslog configuration.
Supported Platforms: linux Elevation Required: Yes
bashif [ -f "/etc/#{syslog_config_file_name}" ]; then echo '#art_test_1562_006_2' >> /etc/#{syslog_config_file_name} fi
This test was created to disable the Microsoft Powershell ETW provider by using the built-in Windows tool, logman.exe. This provider is used as a common source of telemetry in AV/EDR solutions.
Supported Platforms: windows Elevation Required: Yes
powershellcmd /c "#{ps_exec_location}" -accepteula -i -s cmd.exe /c logman update trace "#{session}" --p "#{provider}" -ets
Dependencies:
If Atomic Red Team tests are not applicable, manually verify the technique by:
Ensure event tracers/forwarders , firewall policies, and other associated mechanisms are secured with appropriate permissions and access controls.
Consider automatically relaunching forwarding mechanisms at recurring intervals (ex: temporal, on-logon, etc.) as well as applying appropriate change management to firewall rules and other related system configurations.
Ensure event tracers/forwarders , firewall policies, and other associated mechanisms are secured with appropriate permissions and access controls and cannot be manipulated by user accounts.
| Finding | Severity | Impact | | --------------------------------------- | -------- | --------------- | | Indicator Blocking technique applicable | Low | Defense Evasion |
| CWE ID | Title | | ------- | ---------------------------- | | CWE-693 | Protection Mechanism Failure |
Other measured skills in the registry, with their headline benchmark lift.