Detection rules › Sigma

Potential BlackByte Ransomware Activity

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

Detects command line patterns used by BlackByte ransomware in different operations

MITRE ATT&CK coverage

Telemetry coverage

Rule body

title: Potential BlackByte Ransomware Activity
id: 999e8307-a775-4d5f-addc-4855632335be
status: test
description: Detects command line patterns used by BlackByte ransomware in different operations
references:
    - https://redcanary.com/blog/blackbyte-ransomware/
author: Florian Roth (Nextron Systems)
date: 2022-02-25
modified: 2023-02-08
tags:
    - attack.execution
    - attack.impact
    - attack.stealth
    - attack.t1485
    - attack.t1498
    - attack.t1059.001
    - attack.t1140
    - detection.emerging-threats
logsource:
    category: process_creation
    product: windows
detection:
    selection_1:
        Image|startswith: 'C:\Users\Public\'
        CommandLine|contains: ' -single '
    selection_2:
        CommandLine|contains:
            - 'del C:\Windows\System32\Taskmgr.exe'
            - ';Set-Service -StartupType Disabled $'
            - 'powershell -command "$x =[System.Text.Encoding]::Unicode.GetString([System.Convert]::FromBase64String('
            - ' do start wordpad.exe /p '
    condition: 1 of selection_*
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

1 of selection_*

Stage 1: selection_1

selection_1:
    Image|startswith: 'C:\Users\Public\'
    CommandLine|contains: ' -single '

Stage 2: selection_2

selection_2:
    CommandLine|contains:
        - 'del C:\Windows\System32\Taskmgr.exe'
        - ';Set-Service -StartupType Disabled $'
        - 'powershell -command "$x =[System.Text.Encoding]::Unicode.GetString([System.Convert]::FromBase64String('
        - ' do start wordpad.exe /p '

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • -single
  • do start wordpad.exe /p
  • ;Set-Service -StartupType Disabled $
  • del C:\Windows\System32\Taskmgr.exe
  • powershell -command "$x =[System.Text.Encoding]::Unicode.GetString([System.Convert]::FromBase64String(
field:"CommandLine" kind:match
Imagestarts_with
  • C:\Users\Public\ corpus 2 (sigma 1, elastic 1)
field:"Image" kind:starts_with value:"C:\Users\Public\"