Detection rules › Sigma

Service Installed By Unusual Client - System

Status
test
Severity
high
Log source
product windows, service system
Author
Tim Rauch (Nextron Systems), Elastic (idea)
Source
github.com/SigmaHQ/sigma

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

MITRE ATT&CK coverage

Telemetry coverage

Rule body

title: Service Installed By Unusual Client - System
id: 71c276aa-49cd-43d2-b920-2dcd3e6962d5
related:
    - id: c4e92a97-a9ff-4392-9d2d-7a4c642768ca
      type: similar
status: test
description: Detects a service installed by a client which has PID 0 or whose parent has PID 0
references:
    - https://www.elastic.co/guide/en/security/current/windows-service-installed-via-an-unusual-client.html
author: Tim Rauch (Nextron Systems), Elastic (idea)
date: 2022-09-15
modified: 2023-01-04
tags:
    - attack.persistence
    - attack.privilege-escalation
    - attack.t1543
logsource:
    product: windows
    service: system
detection:
    selection:
        Provider_Name: 'Service Control Manager'
        EventID: 7045
        ProcessId: 0
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Provider_Name: 'Service Control Manager'
    EventID: 7045
    ProcessId: 0

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
ProcessIdeq
  • 0 corpus 3 (elastic 2, sigma 1)
field:"process_id" kind:eq value:"0"
Provider_Nameeq
  • Service Control Manager corpus 50 (sigma 50)
field:"Provider_Name" kind:eq value:"Service Control Manager"