Detection rules › Sigma

Lazarus Group Activity

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

Detects different process execution behaviors as described in various threat reports on Lazarus group activity

MITRE ATT&CK coverage

Event coverage

Rule body yaml

title: Lazarus Group Activity
id: 24c4d154-05a4-4b99-b57d-9b977472443a
related:
    - id: 7b49c990-4a9a-4e65-ba95-47c9cc448f6e
      type: obsolete
status: test
description: Detects different process execution behaviors as described in various threat reports on Lazarus group activity
references:
    - https://securelist.com/lazarus-covets-covid-19-related-intelligence/99906/
    - https://www.hvs-consulting.de/lazarus-report/
author: Florian Roth (Nextron Systems), wagga
date: 2020-12-23
modified: 2023-03-10
tags:
    - attack.g0032
    - attack.execution
    - attack.t1059
    - detection.emerging-threats
logsource:
    category: process_creation
    product: windows
detection:
    selection_generic:
        CommandLine|contains:
            - 'reg.exe save hklm\sam %temp%\~reg_sam.save'
            - '1q2w3e4r@#$@#$@#$'
            - ' -hp1q2w3e4 '
            - '.dat data03 10000 -p '
    selection_netstat:
        CommandLine|contains|all:
            - 'netstat -aon | find '
            - 'ESTA'
            - ' > %temp%\~'
    # Network share discovery
    selection_network_discovery:
        CommandLine|contains|all:
            - '.255 10 C:\ProgramData\IBM\'
            - '.DAT'
    selection_persistence:
        CommandLine|contains|all:
            - ' /c '
            - ' -p 0x'
        CommandLine|contains:
            - 'C:\ProgramData\'
            - 'C:\RECYCLER\'
    selection_rundll32:
        CommandLine|contains|all:
            - 'rundll32 '
            - 'C:\ProgramData\'
        CommandLine|contains:
            - '.bin,'
            - '.tmp,'
            - '.dat,'
            - '.io,'
            - '.ini,'
            - '.db,'
    condition: 1 of selection_*
falsepositives:
    - Unlikely
level: critical

Stages and Predicates

Stage 0: condition

1 of selection_*

Stage 1: selection_generic

selection_generic:
    CommandLine|contains:
        - 'reg.exe save hklm\sam %temp%\~reg_sam.save'
        - '1q2w3e4r@#$@#$@#$'
        - ' -hp1q2w3e4 '
        - '.dat data03 10000 -p '

Stage 2: selection_netstat

selection_netstat:
    CommandLine|contains|all:
        - 'netstat -aon | find '
        - 'ESTA'
        - ' > %temp%\~'

Stage 3: selection_network_discovery

selection_network_discovery:
    CommandLine|contains|all:
        - '.255 10 C:\ProgramData\IBM\'
        - '.DAT'

Stage 4: selection_persistence

selection_persistence:
    CommandLine|contains|all:
        - ' /c '
        - ' -p 0x'
    CommandLine|contains:
        - 'C:\ProgramData\'
        - 'C:\RECYCLER\'

Stage 5: selection_rundll32

selection_rundll32:
    CommandLine|contains|all:
        - 'rundll32 '
        - 'C:\ProgramData\'
    CommandLine|contains:
        - '.bin,'
        - '.tmp,'
        - '.dat,'
        - '.io,'
        - '.ini,'
        - '.db,'

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
  • -hp1q2w3e4
  • -p 0x
  • /c corpus 6 (sigma 4, splunk 2)
  • > %temp%\~
  • .255 10 C:\ProgramData\IBM\
  • .DAT corpus 3 (sigma 3)
  • .bin,
  • .dat data03 10000 -p
  • .dat,
  • .db,
  • .ini,
  • .io,
  • .tmp,
  • 1q2w3e4r@#$@#$@#$
  • C:\ProgramData\ corpus 6 (sigma 6)
  • C:\RECYCLER\
  • ESTA
  • netstat -aon | find
  • reg.exe save hklm\sam %temp%\~reg_sam.save
  • rundll32 corpus 2 (sigma 2)