Detection rules › Sigma

Suspicious Service Installation

Severity
high
Author
pH-T (Nextron Systems), Florian Roth (Nextron Systems)
Source
upstream

Detects suspicious service installation commands

MITRE ATT&CK coverage

TacticTechniques
PersistenceT1543.003 Create or Modify System Process: Windows Service
Privilege EscalationT1543.003 Create or Modify System Process: Windows Service

Event coverage

ProviderEvent IDTitle
Service-Control-Manager7045

Stages and Predicates

Stage 1: selection

or:
ImagePath|contains: ' -nop '
ImagePath|contains: ' -sta '
ImagePath|contains: ' -w hidden '
ImagePath|contains: '&&'
ImagePath|contains: '.downloadfile('
ImagePath|contains: '.downloadstring('
ImagePath|contains: ':\Temp\'
ImagePath|contains: '\ADMIN$\'
ImagePath|contains: '\Perflogs\'
Provider_Name: 'Service Control Manager'

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
ImagePathmatch
  • -nop
  • -sta
  • -w hidden
  • && corpus 4 (sigma 4)
  • .downloadfile(
  • .downloadstring(
  • :\Temp\
  • \ADMIN$\
  • \Perflogs\
Provider_Nameeq
  • Service Control Manager corpus 43 (sigma 43)

Neighbors

Broader alternatives (more inclusive than this rule)

These rules match a superset of what this rule catches. They cover the same events plus more. Use them if you want wider coverage and can absorb more false positives.