Detection rules › Sigma

Script Event Consumer Spawning Process

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

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

MITRE ATT&CK coverage

Telemetry coverage

Rule body

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

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • \cscript.exe corpus 72 (sigma 72)
  • \dllhost.exe corpus 11 (sigma 11)
  • \msbuild.exe corpus 9 (sigma 9)
  • \mshta.exe corpus 66 (sigma 66)
  • \msiexec.exe corpus 20 (sigma 20)
  • \powershell.exe corpus 179 (sigma 178, kusto 1)
  • \pwsh.exe corpus 165 (sigma 164, kusto 1)
  • \regsvr32.exe corpus 64 (sigma 64)
  • \rundll32.exe corpus 94 (sigma 94)
  • \schtasks.exe corpus 55 (sigma 55)
  • \svchost.exe corpus 23 (sigma 22, kusto 1)
  • \wscript.exe corpus 74 (sigma 74)
field:"Image" kind:ends_with
ParentImageends_with
  • \scrcons.exe
field:"ParentImage" kind:ends_with value:"\scrcons.exe"