{"id":"115fdba9-f017-42e6-84cf-d5573bf2ddf8","title":"Disable of ETW Trace - Powershell","description":"Detects usage of powershell cmdlets to disable or remove ETW trace sessions","author":"Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"high","date":"2022-06-28","modified":"2022-11-25","tags":["attack.stealth","attack.defense-impairment","attack.t1070","attack.t1685","car.2016-04-002"],"technique_ids":["T1070","T1685"],"logsource":{"product":"windows","category":"ps_script","definition":"Requirements: Script Block Logging must be enabled"},"falsepositives":["Unknown"],"references":["https://medium.com/palantir/tampering-with-windows-event-tracing-background-offense-and-defense-4be7ac62ac63"],"source_path":"rules/windows/powershell/powershell_script/posh_ps_etw_trace_evasion.yml","source_sha256":"6c4f908ce0850656bb0b49df10ec19afc87877681150f5fe11b37125c1f4363a","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/powershell/powershell_script/posh_ps_etw_trace_evasion.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Disable of ETW Trace - Powershell\nid: 115fdba9-f017-42e6-84cf-d5573bf2ddf8\nrelated:\n    - id: a238b5d0-ce2d-4414-a676-7a531b3d13d6\n      type: derived\nstatus: test\ndescription: Detects usage of powershell cmdlets to disable or remove ETW trace sessions\nreferences:\n    - https://medium.com/palantir/tampering-with-windows-event-tracing-background-offense-and-defense-4be7ac62ac63\nauthor: Nasreddine Bencherchali (Nextron Systems)\ndate: 2022-06-28\nmodified: 2022-11-25\ntags:\n    - attack.stealth\n    - attack.defense-impairment\n    - attack.t1070\n    - attack.t1685\n    - car.2016-04-002\nlogsource:\n    product: windows\n    category: ps_script\n    definition: 'Requirements: Script Block Logging must be enabled'\ndetection:\n    selection_pwsh_remove:   # Autologger provider removal\n        ScriptBlockText|contains: 'Remove-EtwTraceProvider '\n    selection_pwsh_set:   # Provider “Enable” property modification\n        ScriptBlockText|contains|all:\n            - 'Set-EtwTraceProvider '\n            - '0x11'\n    condition: 1 of selection*\nfalsepositives:\n    - Unknown\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1070","id":"T1070","name":"Indicator Removal","page":"techniques/enterprise/T1070/"},{"key":"enterprise/T1685","id":"T1685","name":"Disable or Modify Tools","page":"techniques/enterprise/T1685/"}],"data_path":"data/detection-rules/115fdba9-f017-42e6-84cf-d5573bf2ddf8.json","kind":"sigma"}
