Detection rules › Sigma

Suspicious Encoded Scripts in a WMI Consumer

Status
test
Severity
high
Log source
product windows, category wmi_event
Author
Florian Roth (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects suspicious encoded payloads in WMI Event Consumers

MITRE ATT&CK coverage

Event coverage

Rule body yaml

title: Suspicious Encoded Scripts in a WMI Consumer
id: 83844185-1c5b-45bc-bcf3-b5bf3084ca5b
status: test
description: Detects suspicious encoded payloads in WMI Event Consumers
references:
    - https://github.com/RiccardoAncarani/LiquidSnake
author: Florian Roth (Nextron Systems)
date: 2021-09-01
modified: 2022-10-09
tags:
    - attack.privilege-escalation
    - attack.execution
    - attack.t1047
    - attack.persistence
    - attack.t1546.003
logsource:
    product: windows
    category: wmi_event
detection:
    selection_destination:
        Destination|base64offset|contains:
            - 'WriteProcessMemory'
            - 'This program cannot be run in DOS mode'
            - 'This program must be run under Win32'
    condition: selection_destination
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection_destination

Stage 1: selection_destination

selection_destination:
    Destination|base64offset|contains:
        - 'WriteProcessMemory'
        - 'This program cannot be run in DOS mode'
        - 'This program must be run under Win32'

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
Destinationmatch
  • This program cannot be run in DOS mode transforms: base64offset
  • This program must be run under Win32 transforms: base64offset
  • WriteProcessMemory transforms: base64offset