Detection rules › Sigma

Script Event Consumer Spawning Process

Status
test
Severity
high
Log source
product windows, category process_creation
Author
Sittikorn S
Source
github.com/SigmaHQ/sigma

Detects a suspicious child process of Script Event Consumer (scrcons.exe).

MITRE ATT&CK coverage

Event coverage

Rule body yaml

title: Script Event Consumer Spawning Process
id: f6d1dd2f-b8ce-40ca-bc23-062efb686b34
status: test
description: Detects a suspicious child process of Script Event Consumer (scrcons.exe).
references:
    - https://redcanary.com/blog/child-processes/
    - https://docs.paloaltonetworks.com/cortex/cortex-xdr/cortex-xdr-analytics-alert-reference/cortex-xdr-analytics-alert-reference/scrcons-exe-rare-child-process.html
author: Sittikorn S
date: 2021-06-21
modified: 2022-07-14
tags:
    - attack.execution
    - attack.t1047
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        ParentImage|endswith: '\scrcons.exe'
        Image|endswith:
            - '\svchost.exe'
            - '\dllhost.exe'
            - '\powershell.exe'
            - '\pwsh.exe'
            - '\wscript.exe'
            - '\cscript.exe'
            - '\schtasks.exe'
            - '\regsvr32.exe'
            - '\mshta.exe'
            - '\rundll32.exe'
            - '\msiexec.exe'
            - '\msbuild.exe'
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    ParentImage|endswith: '\scrcons.exe'
    Image|endswith:
        - '\svchost.exe'
        - '\dllhost.exe'
        - '\powershell.exe'
        - '\pwsh.exe'
        - '\wscript.exe'
        - '\cscript.exe'
        - '\schtasks.exe'
        - '\regsvr32.exe'
        - '\mshta.exe'
        - '\rundll32.exe'
        - '\msiexec.exe'
        - '\msbuild.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
Imageends_with
  • \cscript.exe corpus 73 (sigma 73)
  • \dllhost.exe corpus 11 (sigma 11)
  • \msbuild.exe corpus 10 (sigma 10)
  • \mshta.exe corpus 67 (sigma 67)
  • \msiexec.exe corpus 21 (sigma 21)
  • \powershell.exe corpus 182 (sigma 182)
  • \pwsh.exe corpus 168 (sigma 168)
  • \regsvr32.exe corpus 65 (sigma 65)
  • \rundll32.exe corpus 95 (sigma 95)
  • \schtasks.exe corpus 56 (sigma 56)
  • \svchost.exe corpus 23 (sigma 23)
  • \wscript.exe corpus 75 (sigma 75)
ParentImageends_with
  • \scrcons.exe