Detection rules › Sigma

WMI Persistence - Security

Status
test
Severity
medium
Log source
product windows, service security
Author
Florian Roth (Nextron Systems), Gleb Sukhodolskiy, Timur Zinniatullin oscd.community
Source
github.com/SigmaHQ/sigma

Detects suspicious WMI event filter and command line event consumer based on WMI and Security Logs.

Known false positives

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

MITRE ATT&CK coverage

Telemetry coverage

Rule body

title: WMI Persistence - Security
id: f033f3f3-fd24-4995-97d8-a3bb17550a88
related:
    - id: 0b7889b4-5577-4521-a60a-3376ee7f9f7b
      type: derived
status: test
description: Detects suspicious WMI event filter and command line event consumer based on WMI and Security Logs.
references:
    - https://twitter.com/mattifestation/status/899646620148539397
    - https://www.eideon.com/2018-03-02-THL03-WMIBackdoors/
author: Florian Roth (Nextron Systems), Gleb Sukhodolskiy, Timur Zinniatullin oscd.community
date: 2017-08-22
modified: 2022-11-29
tags:
    - attack.persistence
    - attack.privilege-escalation
    - attack.t1546.003
logsource:
    product: windows
    service: security
detection:
    selection:
        EventID: 4662
        ObjectType: 'WMI Namespace'
        ObjectName|contains: 'subscription'
    condition: selection
falsepositives:
    - Unknown (data set is too small; further testing needed)
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    EventID: 4662
    ObjectType: 'WMI Namespace'
    ObjectName|contains: 'subscription'

Indicators

These rows show field, operator, and value matches.