Detection rules › Sigma

Potential Persistence Via Shim Database In Uncommon Location

Severity
high
Author
Nasreddine Bencherchali (Nextron Systems)
Source
upstream

Detects the installation of a new shim database where the file is located in a non-default location

MITRE ATT&CK coverage

TacticTechniques
PersistenceT1546.011 Event Triggered Execution: Application Shimming
Privilege EscalationT1546.011 Event Triggered Execution: Application Shimming

Event coverage

ProviderEvent IDTitle
Sysmon13RegistryEvent (Value Set)

Stages and Predicates

Stage 1: selection

TargetObject|contains: '\DatabasePath'
TargetObject|contains: '\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\InstalledSDB\'

Stage 2: not 1 of filter_main_known_locations

Details|contains: ':\Windows\AppPatch\Custom'

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.

FieldKindValues
Detailsmatch
  • :\Windows\AppPatch\Custom
TargetObjectmatch
  • \DatabasePath
  • \SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\InstalledSDB\ corpus 2 (sigma 2)