Sigma rule: Potential Persistence Via Shim Database In Uncommon Location

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-a697d9827382, updated 2023-08-17T00:00:00.000Z.

Rule

Title
Potential Persistence Via Shim Database In Uncommon Location
Status
test
Level
high
Author
Nasreddine Bencherchali (Nextron Systems)
Date
2023-08-01
Modified
2023-08-17
File
rules/windows/registry/registry_set/registry_set_persistence_shim_database_uncommon_location.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

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

Log source

product
windows
category
registry_set

Detection

selection:
    TargetObject|contains|all:
        - '\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\InstalledSDB\'
        - '\DatabasePath'
filter_main_known_locations:
    Details|contains: ':\Windows\AppPatch\Custom'
condition: selection and not 1 of filter_main_*

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.privilege-escalation
  • attack.persistence
  • attack.t1546.011

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/registry/registry_set/registry_set_persistence_shim_database_uncommon_location.yml

Sources and licences

  • SigmaHQ

    "Potential Persistence Via Shim Database In Uncommon Location" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/registry/registry_set/registry_set_persistence_shim_database_uncommon_location.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Potential Persistence Via Shim Database In Uncommon Location",
entity page, dataset version ref-a697d9827382, updated 2023-08-17T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/6b6976a3-b0e6-4723-ac24-ae38a737af41 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 6b6976a3-b0e6-4723-ac24-ae38a737af41, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.