Detection rules › Sigma

Service Installed By Unusual Client - Security

Severity
high
Author
Tim Rauch (Nextron Systems), Elastic (idea)
Source
upstream

Detects a service installed by a client which has PID 0 or whose parent has PID 0

MITRE ATT&CK coverage

TacticTechniques
PersistenceT1543 Create or Modify System Process
Privilege EscalationT1543 Create or Modify System Process

Event coverage

ProviderEvent IDTitle
Security-Auditing4697A service was installed in the system.

Stages and Predicates

Stage 1: all of selection_eid

Stage 2: all of selection_pid

or:
ClientProcessId: 0
ParentProcessId: 0

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
ClientProcessIdeq
  • 0 corpus 2 (sigma 1, elastic 1)
ParentProcessIdeq
  • 0 corpus 2 (sigma 1, elastic 1)

Neighbors

Stricter alternatives (narrower than this rule)

The rules below may be useful if you find the current rule is too noisy / lacks specificity.