Detection rules › Sigma

Potential Privilege Escalation via Service Permissions Weakness

Severity
high
Author
Teymur Kheirkhabarov
Source
upstream

Detect modification of services configuration (ImagePath, FailureCommand and ServiceDLL) in registry by processes with Medium integrity level

MITRE ATT&CK coverage

TacticTechniques
PersistenceT1574.011 Hijack Execution Flow: Services Registry Permissions Weakness
Privilege EscalationT1574.011 Hijack Execution Flow: Services Registry Permissions Weakness
Defense EvasionT1574.011 Hijack Execution Flow: Services Registry Permissions Weakness

Event coverage

ProviderEvent IDTitle
Sysmon1Process creation
Security-Auditing4688A new process has been created.

Stages and Predicates

Stage 1: selection

or:
CommandLine|contains: '\FailureCommand'
CommandLine|contains: '\ImagePath'
CommandLine|contains: '\ServiceDll'
IntegrityLevel: [Medium, S-1-16-8192]
CommandLine|contains: ControlSet
CommandLine|contains: services

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
  • ControlSet corpus 3 (sigma 3)
  • \FailureCommand
  • \ImagePath
  • \ServiceDll
  • services
IntegrityLeveleq
  • Medium corpus 3 (sigma 3)
  • S-1-16-8192 corpus 3 (sigma 3)