Detection rules › Sigma

Potential Dridex Activity

Status
stable
Severity
critical
Log source
product windows, category process_creation
Author
Florian Roth (Nextron Systems), oscd.community, Nasreddine Bencherchali (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects potential Dridex acitvity via specific process patterns

MITRE ATT&CK coverage

Event coverage

Rule body yaml

title: Potential Dridex Activity
id: e6eb5a96-9e6f-4a18-9cdd-642cfda21c8e
status: stable
description: Detects potential Dridex acitvity via specific process patterns
references:
    - https://app.any.run/tasks/993daa5e-112a-4ff6-8b5a-edbcec7c7ba3
    - https://redcanary.com/threat-detection-report/threats/dridex/
author: Florian Roth (Nextron Systems), oscd.community, Nasreddine Bencherchali (Nextron Systems)
date: 2019-01-10
modified: 2023-02-03
tags:
    - attack.privilege-escalation
    - attack.stealth
    - attack.t1055
    - attack.discovery
    - attack.t1135
    - attack.t1033
    - detection.emerging-threats
logsource:
    category: process_creation
    product: windows
detection:
    selection_svchost:
        Image|endswith: '\svchost.exe'
        CommandLine|contains|all:
            - 'C:\Users\'
            - '\Desktop\'
    filter_svchost:
        ParentImage|startswith: 'C:\Windows\System32\'
    selection_regsvr:
        ParentImage|endswith: '\excel.exe'
        Image|endswith: '\regsvr32.exe'
        CommandLine|contains:
            - ' -s '
            - '\AppData\Local\Temp\'
    filter_regsvr:
        CommandLine|contains: '.dll'
    selection_anomaly_parent:
        ParentImage|endswith: '\svchost.exe'
    selection_anomaly_child_1:
        Image|endswith: '\whoami.exe'
        CommandLine|contains: ' /all'
    selection_anomaly_child_2:
        Image|endswith:
            - '\net.exe'
            - '\net1.exe'
        CommandLine|contains: ' view'
    condition: (selection_svchost and not filter_svchost) or (selection_regsvr and not filter_regsvr) or (selection_anomaly_parent and 1 of selection_anomaly_child_*)
falsepositives:
    - Unlikely
level: critical

Stages and Predicates

Stage 0: condition

(selection_svchost and not filter_svchost) or (selection_regsvr and not filter_regsvr) or (selection_anomaly_parent and 1 of selection_anomaly_child_*)

Stage 1: selection_svchost

selection_svchost:
    Image|endswith: '\svchost.exe'
    CommandLine|contains|all:
        - 'C:\Users\'
        - '\Desktop\'

Stage 2: not filter_svchost

filter_svchost:
    ParentImage|startswith: 'C:\Windows\System32\'

Stage 3: selection_regsvr

selection_regsvr:
    ParentImage|endswith: '\excel.exe'
    Image|endswith: '\regsvr32.exe'
    CommandLine|contains:
        - ' -s '
        - '\AppData\Local\Temp\'

Stage 4: not filter_regsvr

filter_regsvr:
    CommandLine|contains: '.dll'

Stage 5: selection_anomaly_parent

selection_anomaly_parent:
    ParentImage|endswith: '\svchost.exe'

Stage 6: selection_anomaly_child_1

selection_anomaly_child_1:
    Image|endswith: '\whoami.exe'
    CommandLine|contains: ' /all'

Stage 7: selection_anomaly_child_2

selection_anomaly_child_2:
    Image|endswith:
        - '\net.exe'
        - '\net1.exe'
    CommandLine|contains: ' view'

Exclusions

Top-level NOT(...) conjuncts: predicates this rule actively suppresses.

FieldKindExcluded values
ParentImagestarts_withC:\Windows\System32\
CommandLinematch.dll

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
CommandLinematch
  • -s corpus 4 (sigma 3, splunk 1)
  • /all
  • view corpus 2 (sigma 2)
  • C:\Users\ corpus 7 (sigma 7)
  • \AppData\Local\Temp\ corpus 26 (sigma 26)
  • \Desktop\ corpus 13 (sigma 13)
Imageends_with
  • \net.exe corpus 49 (sigma 49)
  • \net1.exe corpus 47 (sigma 47)
  • \regsvr32.exe corpus 65 (sigma 65)
  • \svchost.exe corpus 23 (sigma 23)
  • \whoami.exe corpus 19 (sigma 19)
ParentImageends_with
  • \excel.exe corpus 8 (sigma 8)
  • \svchost.exe corpus 14 (sigma 14)