Detection rules › Sigma

Script Event Consumer Spawning Process

Status
test
Severity
high
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 76 (sigma 76)
  • \dllhost.exe corpus 12 (sigma 12)
  • \msbuild.exe corpus 10 (sigma 10)
  • \mshta.exe corpus 69 (sigma 69)
  • \msiexec.exe corpus 25 (sigma 25)
  • \powershell.exe corpus 186 (sigma 186)
  • \pwsh.exe corpus 172 (sigma 172)
  • \regsvr32.exe corpus 68 (sigma 68)
  • \rundll32.exe corpus 103 (sigma 103)
  • \schtasks.exe corpus 57 (sigma 57)
  • \svchost.exe corpus 28 (sigma 28)
  • \wscript.exe corpus 78 (sigma 78)
ParentImageends_with
  • \scrcons.exe