Detection rules › Sigma
Service Installation in Suspicious Folder
Detects service installation in suspicious folder appdata
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Persistence | T1543.003 Create or Modify System Process: Windows Service |
| Privilege Escalation | T1543.003 Create or Modify System Process: Windows Service |
Event coverage
| Provider | Event |
|---|---|
| Service-Control-Manager | Event ID 7045 |
Rule body yaml
title: Service Installation in Suspicious Folder
id: 5e993621-67d4-488a-b9ae-b420d08b96cb
status: test
description: Detects service installation in suspicious folder appdata
author: pH-T (Nextron Systems)
references:
- Internal Research
date: 2022-03-18
modified: 2024-01-18
tags:
- attack.persistence
- attack.privilege-escalation
- car.2013-09-005
- attack.t1543.003
logsource:
product: windows
service: system
detection:
selection:
Provider_Name: 'Service Control Manager'
EventID: 7045
ImagePath|contains:
- '\AppData\'
- '\\\\127.0.0.1'
- '\\\\localhost'
filter_optional_zoom:
ServiceName: 'Zoom Sharing Service'
ImagePath|contains: ':\Program Files\Common Files\Zoom\Support\CptService.exe'
condition: selection and not 1 of filter_optional_*
falsepositives:
- Unknown
level: medium
Stages and Predicates
Stage 0: condition
selection and not 1 of filter_optional_*Stage 1: selection
selection:
Provider_Name: 'Service Control Manager'
EventID: 7045
ImagePath|contains:
- '\AppData\'
- '\\\\127.0.0.1'
- '\\\\localhost'
Stage 2: not filter_optional_zoom
filter_optional_zoom:
ServiceName: 'Zoom Sharing Service'
ImagePath|contains: ':\Program Files\Common Files\Zoom\Support\CptService.exe'
Exclusions
Top-level NOT(...) conjuncts: predicates this rule actively suppresses.
| Field | Kind | Excluded values |
|---|---|---|
ImagePath | match | :\Program Files\Common Files\Zoom\Support\CptService.exe |
ServiceName | eq | Zoom Sharing Service |
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 |
|