Detection rules › Sigma
Using SettingSyncHost.exe as LOLBin
Detects using SettingSyncHost.exe to run hijacked binary
MITRE ATT&CK coverage
Telemetry coverage
| Provider | Record / event type |
|---|---|
| Sysmon | Event ID 1: Process creation |
Rule body
title: Using SettingSyncHost.exe as LOLBin
id: b2ddd389-f676-4ac4-845a-e00781a48e5f
status: test
description: Detects using SettingSyncHost.exe to run hijacked binary
references:
- https://www.hexacorn.com/blog/2020/02/02/settingsynchost-exe-as-a-lolbin
author: Anton Kutepov, oscd.community
date: 2020-02-05
modified: 2021-11-27
tags:
- attack.privilege-escalation
- attack.persistence
- attack.execution
- attack.stealth
- attack.t1574.008
logsource:
category: process_creation
product: windows
detection:
system_utility:
Image|startswith:
- 'C:\Windows\System32\'
- 'C:\Windows\SysWOW64\'
parent_is_settingsynchost:
ParentCommandLine|contains|all:
- 'cmd.exe /c'
- 'RoamDiag.cmd'
- '-outputpath'
condition: not system_utility and parent_is_settingsynchost
falsepositives:
- Unknown
level: high
Stages and Predicates
Stage 0: condition
not system_utility and parent_is_settingsynchostStage 1: not system_utility
system_utility:
Image|startswith:
- 'C:\Windows\System32\'
- 'C:\Windows\SysWOW64\'
Stage 2: parent_is_settingsynchost
parent_is_settingsynchost:
ParentCommandLine|contains|all:
- 'cmd.exe /c'
- 'RoamDiag.cmd'
- '-outputpath'
Exclusions
The rule actively suppresses these predicates.
| Field | Kind | Excluded values | Search |
|---|---|---|---|
Image | starts_with | C:\Windows\SysWOW64\ | excludes:Image field:"Image" value:"C:\Windows\SysWOW64\" |
Image | starts_with | C:\Windows\System32\ | excludes:Image field:"Image" value:"C:\Windows\System32\" |
Indicators
These rows show field, operator, and value matches.
| Field | Kind | Values | Search |
|---|---|---|---|
ParentCommandLine | match |
| field:"ParentCommandLine" kind:match |