{"id":"6b6976a3-b0e6-4723-ac24-ae38a737af41","title":"Potential Persistence Via Shim Database In Uncommon Location","description":"Detects the installation of a new shim database where the file is located in a non-default location","author":"Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"high","date":"2023-08-01","modified":"2023-08-17","tags":["attack.privilege-escalation","attack.persistence","attack.t1546.011"],"technique_ids":["T1546.011"],"logsource":{"category":"registry_set","product":"windows"},"falsepositives":["Unknown"],"references":["https://www.fireeye.com/blog/threat-research/2017/05/fin7-shim-databases-persistence.html","https://andreafortuna.org/2018/11/12/process-injection-and-persistence-using-application-shimming/","https://www.blackhat.com/docs/asia-14/materials/Erickson/Asia-14-Erickson-Persist-It-Using-And-Abusing-Microsofts-Fix-It-Patches.pdf"],"source_path":"rules/windows/registry/registry_set/registry_set_persistence_shim_database_uncommon_location.yml","source_sha256":"19e20c4377205171b34e7c42afb613e8fcfa3fbdde463f537863dd804dff4af5","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/registry/registry_set/registry_set_persistence_shim_database_uncommon_location.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Potential Persistence Via Shim Database In Uncommon Location\nid: 6b6976a3-b0e6-4723-ac24-ae38a737af41\nstatus: test\ndescription: Detects the installation of a new shim database where the file is located in a non-default location\nreferences:\n    - https://www.fireeye.com/blog/threat-research/2017/05/fin7-shim-databases-persistence.html\n    - https://andreafortuna.org/2018/11/12/process-injection-and-persistence-using-application-shimming/\n    - https://www.blackhat.com/docs/asia-14/materials/Erickson/Asia-14-Erickson-Persist-It-Using-And-Abusing-Microsofts-Fix-It-Patches.pdf\nauthor: Nasreddine Bencherchali (Nextron Systems)\ndate: 2023-08-01\nmodified: 2023-08-17\ntags:\n    - attack.privilege-escalation\n    - attack.persistence\n    - attack.t1546.011\nlogsource:\n    category: registry_set\n    product: windows\ndetection:\n    selection:\n        TargetObject|contains|all:\n            - '\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\AppCompatFlags\\InstalledSDB\\'\n            - '\\DatabasePath'\n    filter_main_known_locations:\n        Details|contains: ':\\Windows\\AppPatch\\Custom'\n    condition: selection and not 1 of filter_main_*\nfalsepositives:\n    - Unknown\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1546.011","id":"T1546.011","name":"Application Shimming","page":"techniques/enterprise/T1546.011/"}],"data_path":"data/detection-rules/6b6976a3-b0e6-4723-ac24-ae38a737af41.json","kind":"sigma"}
