Sigma medium test sigma

Powershell WMI Persistence

Adversaries may establish persistence and elevate privileges by executing malicious content triggered by a Windows Management Instrumentation (WMI) event subscription.

View Source

Detection Logic

{
  "selection_ioc": [
    {
      "ScriptBlockText
| contains
| all": [
        "New-CimInstance ",
        "-Namespace root/subscription ",
        "-ClassName __EventFilter ",
        "-Property "
      ]
    },
    {
      "ScriptBlockText
| contains
| all": [
        "New-CimInstance ",
        "-Namespace root/subscription ",
        "-ClassName CommandLineEventConsumer ",
        "-Property "
      ]
    }
  ],
  "condition": "selection_ioc"
}

False Positives

  • ⚠ Unknown

Field Validations

Loading…

Comments (0)

Loading comments...