Windows Shim Database Persistence via sdbinst.exe with .sdb Payload
Alerts when sdbinst.exe runs and references a .sdb shim database, indicating potential shim-based persistence.
- Product
- windows
- Category
- process_creation
- Author
- Markus Neis (SigmaHQ), DRL 1.1
- Published
- 2019-01-16
- Updated
- 2026-07-30
ATT&CK techniques
Persistence → Priv EscRecon
Resource Dev
Initial Access
Execution
Persistence
Priv Esc
Defense Evasion
Cred Access
Discovery
Lateral Movement
Collection
C2
Exfiltration
Impact
What it detects
This rule flags Windows process creation where sdbinst.exe is executed with a command line containing a .sdb shim database file. Installing a new shim database can help an attacker establish persistence and potentially enable privilege escalation by loading malicious shim behavior. The detection relies on process creation telemetry, including the executable path/name and the command line content.
Reporting behind it
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.
title: Windows Shim Database Persistence via sdbinst.exe with .sdb Payload
id: e67dbd0f-9bf1-41b7-a26d-940516a20a6c
related:
- id: 18ee686c-38a3-4f65-9f44-48a077141f42
type: similar
- id: 517490a7-115a-48c6-8862-1a481504d5a8
type: derived
status: test
description: This rule flags Windows process creation where sdbinst.exe is executed with a command line containing a .sdb shim database file. Installing a new shim database can help an attacker establish persistence and potentially enable privilege escalation by loading malicious shim behavior. The detection relies on process creation telemetry, including the executable path/name and the command line content.
references:
- https://www.mandiant.com/resources/blog/fin7-shim-databases-persistence
- https://github.com/SigmaHQ/sigma/blob/master/rules/windows/process_creation/proc_creation_win_sdbinst_shim_persistence.yml
author: Markus Neis, Huntrule Team
date: 2019-01-16
modified: 2023-12-06
tags:
- attack.persistence
- attack.privilege-escalation
- attack.t1546.011
logsource:
category: process_creation
product: windows
detection:
selection_img:
- Image|endswith: \sdbinst.exe
- OriginalFileName: sdbinst.exe
selection_cli:
CommandLine|contains: .sdb
filter_optional_iis:
ParentImage|endswith: \msiexec.exe
CommandLine|contains:
- :\Program Files (x86)\IIS Express\iisexpressshim.sdb
- :\Program Files\IIS Express\iisexpressshim.sdb
condition: all of selection_* and not 1 of filter_optional_*
falsepositives:
- Unknown
level: medium
license: DRL-1.1