Detection rules › Sigma

WmiPrvSE Spawned A Process

Status
stable
Severity
medium
Log source
product windows, category process_creation
Author
Roberto Rodriguez @Cyb3rWard0g
Source
github.com/SigmaHQ/sigma

Detects WmiPrvSE spawning a process

MITRE ATT&CK coverage

Event coverage

Rule body yaml

title: WmiPrvSE Spawned A Process
id: d21374ff-f574-44a7-9998-4a8c8bf33d7d
related:
    - id: 8a582fe2-0882-4b89-a82a-da6b2dc32937
      type: similar
    - id: 692f0bec-83ba-4d04-af7e-e884a96059b6
      type: similar
status: stable
description: Detects WmiPrvSE spawning a process
references:
    - https://threathunterplaybook.com/hunts/windows/190815-RemoteServiceInstallation/notebook.html
author: Roberto Rodriguez @Cyb3rWard0g
date: 2019-08-15
modified: 2023-03-23
tags:
    - attack.execution
    - attack.t1047
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        ParentImage|endswith: '\WmiPrvSe.exe'
    filter_logonid:
        LogonId:
            - '0x3e7'  # LUID 999 for SYSTEM
            - 'null'   # too many false positives
    filter_system_user:
        User|contains: # covers many language settings
            - 'AUTHORI'
            - 'AUTORI'
    filter_wmiprvse:
        Image|endswith: '\WmiPrvSE.exe'
    filter_werfault:
        Image|endswith: '\WerFault.exe'
    filter_null:  # some backends need the null value in a separate expression
        LogonId: null
    condition: selection and not 1 of filter_*
falsepositives:
    - False positives are expected (e.g. in environments where WinRM is used legitimately)
level: medium

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_*

Stage 1: selection

selection:
    ParentImage|endswith: '\WmiPrvSe.exe'

Stage 2: not filter_*

filter_logonid:
    LogonId:
        - '0x3e7'
        - 'null'
filter_system_user:
    User|contains:
        - 'AUTHORI'
        - 'AUTORI'
filter_wmiprvse:
    Image|endswith: '\WmiPrvSE.exe'
filter_werfault:
    Image|endswith: '\WerFault.exe'
filter_null:
    LogonId: null

Exclusions

Top-level NOT(...) conjuncts: predicates this rule actively suppresses.

FieldKindExcluded values
Imageends_with\WerFault.exe
Imageends_with\WmiPrvSE.exe
LogonIdeq0x3e7
LogonIdeqnull
LogonIdis_null(no value, null check)
UsermatchAUTHORI
UsermatchAUTORI

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
ParentImageends_with
  • \WmiPrvSe.exe corpus 8 (sigma 8)