Detection rules › Sigma

Suspicious Network Connection Binary No CommandLine

Status
test
Severity
high
Log source
category network_connection, product windows
Author
Florian Roth (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects suspicious network connections made by a well-known Windows binary run with no command line parameters

MITRE ATT&CK coverage

TacticTechniques
StealthNo specific technique

Telemetry coverage

ProviderRecord / event type
SysmonEvent ID 3: Network connection

Rule body

title: Suspicious Network Connection Binary No CommandLine
id: 20384606-a124-4fec-acbb-8bd373728613
status: test
description: Detects suspicious network connections made by a well-known Windows binary run with no command line parameters
references:
    - https://redcanary.com/blog/raspberry-robin/
author: Florian Roth (Nextron Systems)
date: 2022-07-03
tags:
    - attack.stealth
logsource:
    category: network_connection
    product: windows
detection:
    selection:
        Initiated: 'true'
        Image|endswith:
            - '\regsvr32.exe'
            - '\rundll32.exe'
            - '\dllhost.exe'
        CommandLine|endswith:
            - '\regsvr32.exe'
            - '\rundll32.exe'
            - '\dllhost.exe'
    filter_no_cmdline:
        CommandLine: ''
    filter_null: # e.g. Sysmon has no CommandLine field in network events with ID 3
        CommandLine: null
    condition: selection and not 1 of filter*
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection and not 1 of filter*

Stage 1: selection

selection:
    Initiated: 'true'
    Image|endswith:
        - '\regsvr32.exe'
        - '\rundll32.exe'
        - '\dllhost.exe'
    CommandLine|endswith:
        - '\regsvr32.exe'
        - '\rundll32.exe'
        - '\dllhost.exe'

Stage 2: not filter*

filter_no_cmdline:
    CommandLine: ''
filter_null:
    CommandLine: null

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
CommandLineis_null(no value, null check)excludes:CommandLine

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLineends_with
  • \dllhost.exe
  • \regsvr32.exe
  • \rundll32.exe corpus 3 (sigma 3)
field:"CommandLine" kind:ends_with
Imageends_with
  • \dllhost.exe corpus 11 (sigma 11)
  • \regsvr32.exe corpus 64 (sigma 64)
  • \rundll32.exe corpus 94 (sigma 94)
field:"Image" kind:ends_with
Initiatedeq
  • true corpus 50 (sigma 50)
field:"Initiated" kind:eq value:"true"