Detection rules › Sigma

FakeUpdates/SocGholish Activity

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

Detects initial execution of FakeUpdates/SocGholish malware via wscript that later executes commands via cmd or powershell.

MITRE ATT&CK coverage

Event coverage

ProviderEventTitle
SysmonEvent ID 1Process creation

Rule body yaml

title: FakeUpdates/SocGholish Activity
id: 97805087-93ab-4203-b5cb-287cda6aecaa
status: test
description: Detects initial execution of FakeUpdates/SocGholish malware via wscript that later executes commands via cmd or powershell.
references:
    - https://twitter.com/th3_protoCOL/status/1536788652889497600
    - https://twitter.com/1ZRR4H/status/1537501582727778304
author: '@kostastsale'
date: 2022-06-16
modified: 2024-08-23
tags:
    - attack.execution
    - attack.t1059.001
    - detection.emerging-threats
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        ParentImage|endswith: '\wscript.exe'
        ParentCommandLine|contains|all:
            - '\AppData\Local\Temp'
            - '.zip'
            - 'update'
            - '.js'
        ParentCommandLine|contains:
            - 'Chrome'
            - 'Edge'
            - 'Firefox'
            - 'Opera'
            - 'Brave' # Not seen in campaigns
            - 'Vivaldi' # Not seen in campaigns
        Image|endswith:
            - '\cmd.exe'
            - '\powershell.exe'
            - '\pwsh.exe'
    condition: selection
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    ParentImage|endswith: '\wscript.exe'
    ParentCommandLine|contains|all:
        - '\AppData\Local\Temp'
        - '.zip'
        - 'update'
        - '.js'
    ParentCommandLine|contains:
        - 'Chrome'
        - 'Edge'
        - 'Firefox'
        - 'Opera'
        - 'Brave'
        - 'Vivaldi'
    Image|endswith:
        - '\cmd.exe'
        - '\powershell.exe'
        - '\pwsh.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
  • \cmd.exe corpus 130 (sigma 130)
  • \powershell.exe corpus 182 (sigma 182)
  • \pwsh.exe corpus 168 (sigma 168)
ParentCommandLinematch
  • .js corpus 2 (sigma 2)
  • .zip
  • Brave
  • Chrome
  • Edge
  • Firefox
  • Opera
  • Vivaldi
  • \AppData\Local\Temp corpus 2 (sigma 2)
  • update
ParentImageends_with
  • \wscript.exe corpus 19 (sigma 19)