Detectionhightest

Potential Persistence Via Shim Database In Uncommon Location

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

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
Nasreddine Bencherchali (Nextron Systems)Created Tue Aug 01Updated Thu Aug 176b6976a3-b0e6-4723-ac24-ae38a737af41windows
Log Source
WindowsRegistry Set
ProductWindows← raw: windows
CategoryRegistry Set← raw: registry_set
Detection Logic
Detection Logic2 selectors
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
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

Rule Metadata
Rule ID
6b6976a3-b0e6-4723-ac24-ae38a737af41
Status
test
Level
high
Type
Detection
Created
Tue Aug 01
Modified
Thu Aug 17
Path
rules/windows/registry/registry_set/registry_set_persistence_shim_database_uncommon_location.yml
Raw Tags
attack.privilege-escalationattack.persistenceattack.t1546.011
View on GitHub