Hayabusa high test sigma

Disable of ETW Trace - Powershell

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

View Source

Detection Logic

{
  "ps_script": {
    "EventID": 4104,
    "Channel": [
      "Microsoft-Windows-PowerShell/Operational",
      "PowerShellCore/Operational"
    ]
  },
  "selection_pwsh_remove": {
    "ScriptBlockText
| contains": "Remove-EtwTraceProvider "
  },
  "selection_pwsh_set_hex": {
    "ScriptBlockText
| contains
| all": [
      "Set-EtwTraceProvider ",
      "0x11"
    ]
  },
  "selection_pwsh_set_dec": [
    {
      "ScriptBlockText
| contains
| all": [
        "Set-EtwTraceProvider ",
        " 17"
      ]
    },
    {
      "ScriptBlockText
| contains
| all": [
        "Set-EtwTraceProvider ",
        "“'17'”"
      ]
    },
    {
      "ScriptBlockText
| contains
| all": [
        "Set-EtwTraceProvider ",
        "”17”"
      ]
    }
  ],
  "condition": "ps_script and (1 of selection_*)"
}

False Positives

  • ⚠ Unknown

Field Validations

Loading…

Comments (0)

Loading comments...