Detection rules › Sigma

WMI Persistence - Script Event Consumer

Status
test
Severity
medium
Log source
product windows, category process_creation
Author
Thomas Patzke
Source
github.com/SigmaHQ/sigma

Detects WMI script event consumers

MITRE ATT&CK coverage

Event coverage

Rule body yaml

title: WMI Persistence - Script Event Consumer
id: ec1d5e28-8f3b-4188-a6f8-6e8df81dc28e
status: test
description: Detects WMI script event consumers
references:
    - https://www.eideon.com/2018-03-02-THL03-WMIBackdoors/
author: Thomas Patzke
date: 2018-03-07
modified: 2022-10-11
tags:
    - attack.persistence
    - attack.privilege-escalation
    - attack.t1546.003
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        Image: C:\WINDOWS\system32\wbem\scrcons.exe
        ParentImage: C:\Windows\System32\svchost.exe
    condition: selection
falsepositives:
    - Legitimate event consumers
    - Dell computers on some versions register an event consumer that is known to cause false positives when brightness is changed by the corresponding keyboard button
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image: C:\WINDOWS\system32\wbem\scrcons.exe
    ParentImage: C:\Windows\System32\svchost.exe

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
Imageeq
  • C:\WINDOWS\system32\wbem\scrcons.exe corpus 2 (sigma 2)
ParentImageeq
  • C:\Windows\System32\svchost.exe corpus 4 (sigma 3, elastic 1)