Detection rules › Sigma

Exploitation Attempt Of CVE-2020-1472 - Execution of ZeroLogon PoC

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

Detects the execution of the commonly used ZeroLogon PoC executable.

MITRE ATT&CK coverage

TacticTechniques
Lateral MovementT1210 Exploitation of Remote Services

Event coverage

Rule body yaml

title: Exploitation Attempt Of CVE-2020-1472 - Execution of ZeroLogon PoC
id: dcc6a01e-9471-44a0-a699-71ea96f8ed8b
status: test
description: Detects the execution of the commonly used ZeroLogon PoC executable.
references:
    - https://thedfirreport.com/2021/11/01/from-zero-to-domain-admin/
    - https://thedfirreport.com/2022/02/21/qbot-and-zerologon-lead-to-full-domain-compromise/
author: '@Kostastsale, TheDFIRReport'
date: 2022-02-12
tags:
    - attack.execution
    - attack.lateral-movement
    - attack.t1210
    - cve.2020-1472
    - detection.emerging-threats
logsource:
    product: windows
    category: process_creation
detection:
    selection_main:
        ParentImage|endswith: '\cmd.exe'
        Image|endswith:
            - '\cool.exe'
            - '\zero.exe'
        CommandLine|contains|all:
            - 'Administrator'
            - '-c'
    selection_payloads_1:
        CommandLine|contains|all:
            - 'taskkill'
            - '/f'
            - '/im'
    selection_payloads_2:
        CommandLine|contains: 'powershell'
    condition: selection_main and 1 of selection_payloads_*
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection_main and 1 of selection_payloads_*

Stage 1: selection_main

selection_main:
    ParentImage|endswith: '\cmd.exe'
    Image|endswith:
        - '\cool.exe'
        - '\zero.exe'
    CommandLine|contains|all:
        - 'Administrator'
        - '-c'

Stage 2: selection_payloads_1

selection_payloads_1:
    CommandLine|contains|all:
        - 'taskkill'
        - '/f'
        - '/im'

Stage 3: selection_payloads_2

selection_payloads_2:
    CommandLine|contains: 'powershell'

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
  • -c corpus 7 (sigma 6, splunk 1)
  • /f corpus 7 (sigma 5, splunk 1, kusto 1)
  • /im
  • Administrator corpus 2 (sigma 2)
  • powershell corpus 25 (sigma 24, chronicle 1)
  • taskkill corpus 3 (sigma 2, splunk 1)
Imageends_with
  • \cool.exe
  • \zero.exe
ParentImageends_with
  • \cmd.exe corpus 20 (sigma 20)