Detection rules › Sigma

Ursnif Redirection Of Discovery Commands

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

Detects the redirection of Ursnif discovery commands as part of the initial execution of the malware.

MITRE ATT&CK coverage

Event coverage

Rule body yaml

title: Ursnif Redirection Of Discovery Commands
id: 7aaa5739-12fc-41aa-b98b-23ec27d42bdf
status: test
description: |
    Detects the redirection of Ursnif discovery commands as part of the initial execution of the malware.
references:
    - Internal Research
author: '@kostastsale'
date: 2023-07-16
tags:
    - attack.execution
    - attack.t1059
    - detection.emerging-threats
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        ParentImage|endswith: '\explorer.exe'
        Image|endswith: '\cmd.exe'
        CommandLine|contains|all:
            - '/C '
            - ' >> *\AppData\local\temp\*.bin'
    condition: selection
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    ParentImage|endswith: '\explorer.exe'
    Image|endswith: '\cmd.exe'
    CommandLine|contains|all:
        - '/C '
        - ' >> *\AppData\local\temp\*.bin'

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
  • >> *\AppData\local\temp\*.bin
  • /C corpus 4 (sigma 4)
Imageends_with
  • \cmd.exe corpus 130 (sigma 130)
ParentImageends_with
  • \explorer.exe corpus 13 (sigma 13)