Detection rules › Sigma

WMI Persistence - Command Line Event Consumer

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

Detects WMI command line event consumers

Known false positives

  • Unknown (data set is too small; further testing needed)

MITRE ATT&CK coverage

Telemetry coverage

ProviderRecord / event type
SysmonEvent ID 7: Image loaded

Rule body

title: WMI Persistence - Command Line Event Consumer
id: 05936ce2-ee05-4dae-9d03-9a391cf2d2c6
status: test
description: Detects WMI command line event consumers
references:
    - https://www.eideon.com/2018-03-02-THL03-WMIBackdoors/
author: Thomas Patzke
date: 2018-03-07
modified: 2021-11-27
tags:
    - attack.privilege-escalation
    - attack.t1546.003
    - attack.persistence
logsource:
    category: image_load
    product: windows
detection:
    selection:
        Image: 'C:\Windows\System32\wbem\WmiPrvSE.exe'
        ImageLoaded|endswith: '\wbemcons.dll'
    condition: selection
falsepositives:
    - Unknown (data set is too small; further testing needed)
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image: 'C:\Windows\System32\wbem\WmiPrvSE.exe'
    ImageLoaded|endswith: '\wbemcons.dll'

Indicators

These rows show field, operator, and value matches.