Detection rules › Sigma

Service deactivation (command)

Status
experimental
Severity
high
Log source
product windows, category process_creation
Author
mdecrevoisier
Source
github.com/mdecrevoisier/SIGMA-detection-rules

Detects scenarios where an attacker attempts to disable

MITRE ATT&CK coverage

TacticTechniques
ImpactT1489 Service Stop

Event coverage

Rule body yaml

title: Service deactivation (command)
description: Detects scenarios where an attacker attempts to disable 
references:
- https://www.sentinelone.com/labs/black-basta-ransomware-attacks-deploy-custom-edr-evasion-tools-tied-to-fin7-threat-actor/
tags:
- attack.impact
- attack.t1489 # Service Stop 
- attack.defense_evasion
- attack.1562.001 # Impair Defenses: Disable or Modify Tools 
author: mdecrevoisier
status: experimental
logsource:
  product: windows
  category: process_creation
detection:
  selection:
    NewProcessName|endswith: '\sc.exe'
    CommandLine|contains|all:
      - sc
      - config
      - disabled
  condition: selection
falsepositives:
- troubleshooting
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
  NewProcessName|endswith: '\sc.exe'
  CommandLine|contains|all:
    - sc
    - config
    - disabled

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
  • config corpus 16 (sigma 15, splunk 1)
  • disabled corpus 6 (sigma 5, splunk 1)
  • sc corpus 6 (sigma 6)
NewProcessNameends_with
  • \sc.exe corpus 30 (sigma 30)