Detection rules › Sigma

DarkGate - User Created Via Net.EXE

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

Detects creation of local users via the net.exe command with the name of "DarkGate"

MITRE ATT&CK coverage

TacticTechniques
PersistenceT1136.001 Create Account: Local Account

Event coverage

Rule body yaml

title: DarkGate - User Created Via Net.EXE
id: bf906d7b-7070-4642-8383-e404cf26eba5
status: test
description: Detects creation of local users via the net.exe command with the name of "DarkGate"
references:
    - Internal Research
author: X__Junior (Nextron Systems)
date: 2023-08-27
modified: 2023-10-15
tags:
    - attack.persistence
    - attack.t1136.001
    - detection.emerging-threats
logsource:
    category: process_creation
    product: windows
detection:
    # /c net user /add SafeMode DarkGate0!
    selection:
        Image|endswith:
            - '\net.exe'
            - '\net1.exe'
        CommandLine|contains|all:
            - 'user'
            - 'add'
            - 'DarkGate'
            - 'SafeMode'
    condition: selection
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image|endswith:
        - '\net.exe'
        - '\net1.exe'
    CommandLine|contains|all:
        - 'user'
        - 'add'
        - 'DarkGate'
        - 'SafeMode'

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
  • DarkGate
  • SafeMode
  • add corpus 34 (sigma 26, splunk 4, chronicle 2, kusto 2)
  • user corpus 17 (sigma 11, splunk 4, chronicle 2)
Imageends_with
  • \net.exe corpus 49 (sigma 49)
  • \net1.exe corpus 47 (sigma 47)