Detection rules › Sigma

Raspberry Robin Subsequent Execution of Commands

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

Detects raspberry robin subsequent execution of commands.

MITRE ATT&CK coverage

Event coverage

Rule body yaml

title: Raspberry Robin Subsequent Execution of Commands
id: d52d2e87-eb03-4fac-961d-eb616da79788
related:
    - id: 2c6bea3a-ef58-4f2e-a775-4928f6b7c58a
      type: similar
status: test
description: Detects raspberry robin subsequent execution of commands.
references:
    - https://redcanary.com/blog/raspberry-robin/
author: '@kostastsale'
date: 2022-05-06
tags:
    - attack.execution
    - attack.t1059.001
    - detection.emerging-threats
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        ParentImage|endswith: '\fodhelper.exe'
        Image|endswith:
            - '\rundll32.exe'
            - '\regsvr32.exe'
        CommandLine|contains|all:
            - 'odbcconf.exe'
            - 'regsvr'
            - 'shellexec_rundll'
        CommandLine|contains:
            - 'installdriver'
            - 'setfiledsndir'
            - 'vkipdse'
        CommandLine|endswith|windash:
            - '/a'
            - '/f'
            - '/s'
    condition: selection
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    ParentImage|endswith: '\fodhelper.exe'
    Image|endswith:
        - '\rundll32.exe'
        - '\regsvr32.exe'
    CommandLine|contains|all:
        - 'odbcconf.exe'
        - 'regsvr'
        - 'shellexec_rundll'
    CommandLine|contains:
        - 'installdriver'
        - 'setfiledsndir'
        - 'vkipdse'
    CommandLine|endswith|windash:
        - '/a'
        - '/f'
        - '/s'

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
CommandLineends_with
  • /a transforms: windash
  • /f transforms: windash
  • /s transforms: windash
CommandLinematch
  • installdriver
  • odbcconf.exe
  • regsvr corpus 2 (sigma 1, splunk 1)
  • setfiledsndir
  • shellexec_rundll corpus 3 (sigma 3)
  • vkipdse
Imageends_with
  • \regsvr32.exe corpus 65 (sigma 65)
  • \rundll32.exe corpus 95 (sigma 95)
ParentImageends_with
  • \fodhelper.exe corpus 2 (sigma 2)