Detection rules › Sigma
HackTool Service Registration or Execution
Detects installation or execution of services
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Execution | T1569.002 System Services: Service Execution |
Event coverage
Rule body yaml
title: HackTool Service Registration or Execution
id: d26ce60c-2151-403c-9a42-49420d87b5e4
status: test
description: Detects installation or execution of services
references:
- Internal Research
author: Florian Roth (Nextron Systems)
date: 2022-03-21
modified: 2023-08-07
tags:
- attack.execution
- attack.t1569.002
- attack.s0029
logsource:
product: windows
service: system
detection:
selection_eid:
Provider_Name: 'Service Control Manager'
EventID:
- 7045
- 7036
selection_service_name:
ServiceName|contains:
- 'cachedump'
- 'DumpSvc'
- 'gsecdump'
- 'pwdump'
- 'UACBypassedService'
- 'WCE SERVICE'
- 'WCESERVICE'
- 'winexesvc'
selection_service_image:
ImagePath|contains: 'bypass' # https://gist.github.com/tyranid/c24cfd1bd141d14d4925043ee7e03c82#file-scmuacbypass-cpp-L159
condition: selection_eid and 1 of selection_service_*
falsepositives:
- Unknown
level: high
Stages and Predicates
Stage 0: condition
selection_eid and 1 of selection_service_*Stage 1: selection_eid
selection_eid:
Provider_Name: 'Service Control Manager'
EventID:
- 7045
- 7036
Stage 2: selection_service_name
selection_service_name:
ServiceName|contains:
- 'cachedump'
- 'DumpSvc'
- 'gsecdump'
- 'pwdump'
- 'UACBypassedService'
- 'WCE SERVICE'
- 'WCESERVICE'
- 'winexesvc'
Stage 3: selection_service_image
selection_service_image:
ImagePath|contains: 'bypass'
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.
| Field | Kind | Values |
|---|---|---|
ImagePath | match |
|
Provider_Name | eq |
|
ServiceName | match |
|