Detection rules › Sigma
Service Binary in Suspicious Folder
Detect the creation of a service with a service binary located in a suspicious directory
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Persistence | T1112 Modify Registry |
| Defense Evasion | T1112 Modify Registry |
Event coverage
| Provider | Event ID | Title |
|---|---|---|
| Sysmon | 13 | RegistryEvent (Value Set) |
Stages and Predicates
Stage 1: 1 of selection_service_start
Details: ['DWORD (0x00000000)', 'DWORD (0x00000001)', 'DWORD (0x00000002)']
or:
Image|contains: '\ADMIN$\'
Image|contains: '\Perflogs\'
Image|contains: '\Temp\'
Image|contains: '\Users\Public\'
TargetObject|endswith: '\Start'
TargetObject|startswith: 'HKLM\System\CurrentControlSet\Services\'
Stage 2: 1 of selection_service_imagepath
or:
Details|contains: '\ADMIN$\'
Details|contains: '\Perflogs\'
Details|contains: '\Temp\'
Details|contains: '\Users\Public\'
TargetObject|endswith: '\ImagePath'
TargetObject|startswith: 'HKLM\System\CurrentControlSet\Services\'
Stage 3: not 1 of filter_optional_*
or:
Details|endswith: '\AppData\Local\Temp\MBAMInstallerService.exe"'
Image: 'C:\Windows\system32\services.exe'
TargetObject|endswith: '\CurrentControlSet\Services\MBAMInstallerService\ImagePath'
Image|contains: '\Common Files\'
Image|contains: '\Temp\'
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 |
|---|---|---|
Details | ends_with |
|
Details | eq |
|
Details | match |
|
Image | eq |
|
Image | match |
|
TargetObject | ends_with |
|
TargetObject | starts_with |
|