Detectionhightest

Disable of ETW Trace - Powershell

Detects usage of powershell cmdlets to disable or remove ETW trace sessions

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
Nasreddine Bencherchali (Nextron Systems)Created Tue Jun 28Updated Fri Nov 25115fdba9-f017-42e6-84cf-d5573bf2ddf8windows
Log Source
WindowsPowerShell Script
ProductWindows← raw: windows
CategoryPowerShell Script← raw: ps_script

Definition

Requirements: Script Block Logging must be enabled

Detection Logic
Detection Logic2 selectors
detection:
    selection_pwsh_remove:   # Autologger provider removal
        ScriptBlockText|contains: 'Remove-EtwTraceProvider '
    selection_pwsh_set:   # Provider “Enable” property modification
        ScriptBlockText|contains|all:
            - 'Set-EtwTraceProvider '
            - '0x11'
    condition: 1 of selection*
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

MITRE ATT&CK

CAR Analytics

2016-04-002 · CAR 2016-04-002
Rule Metadata
Rule ID
115fdba9-f017-42e6-84cf-d5573bf2ddf8
Status
test
Level
high
Type
Detection
Created
Tue Jun 28
Modified
Fri Nov 25
Path
rules/windows/powershell/powershell_script/posh_ps_etw_trace_evasion.yml
Raw Tags
attack.defense-evasionattack.t1070attack.t1562.006car.2016-04-002
View on GitHub