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

Sigma rule (View on GitHub)

 1title: Potential Persistence Via Shim Database In Uncommon Location
 2id: 6b6976a3-b0e6-4723-ac24-ae38a737af41
 3status: test
 4description: Detects the installation of a new shim database where the file is located in a non-default location
 5references:
 6    - https://www.fireeye.com/blog/threat-research/2017/05/fin7-shim-databases-persistence.html
 7    - https://andreafortuna.org/2018/11/12/process-injection-and-persistence-using-application-shimming/
 8    - https://www.blackhat.com/docs/asia-14/materials/Erickson/Asia-14-Erickson-Persist-It-Using-And-Abusing-Microsofts-Fix-It-Patches.pdf
 9author: Nasreddine Bencherchali (Nextron Systems)
10date: 2023-08-01
11modified: 2023-08-17
12tags:
13    - attack.privilege-escalation
14    - attack.persistence
15    - attack.t1546.011
16logsource:
17    category: registry_set
18    product: windows
19detection:
20    selection:
21        TargetObject|contains|all:
22            - '\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\InstalledSDB\'
23            - '\DatabasePath'
24    filter_main_known_locations:
25        Details|contains: ':\Windows\AppPatch\Custom'
26    condition: selection and not 1 of filter_main_*
27falsepositives:
28    - Unknown
29level: high

References

Related rules

to-top