{"id":"bf344fea-d947-4ef4-9192-34d008315d3a","title":"Suspicious Shim Database Patching Activity","description":"Detects installation of new shim databases that try to patch sections of known processes for potential process injection or persistence.","author":"Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"high","date":"2023-08-01","modified":"2023-12-06","tags":["attack.privilege-escalation","attack.persistence","attack.t1546.011"],"technique_ids":["T1546.011"],"logsource":{"category":"registry_set","product":"windows"},"falsepositives":["Unknown"],"references":["https://www.trustwave.com/en-us/resources/blogs/spiderlabs-blog/pillowmint-fin7s-monkey-thief/","https://www.fireeye.com/blog/threat-research/2017/05/fin7-shim-databases-persistence.html"],"source_path":"rules/windows/registry/registry_set/registry_set_persistence_shim_database_susp_application.yml","source_sha256":"919c5cce336da04f7b68c98b6a64a559722bb08ab3991c34ac896521e5d23107","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/registry/registry_set/registry_set_persistence_shim_database_susp_application.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Suspicious Shim Database Patching Activity\nid: bf344fea-d947-4ef4-9192-34d008315d3a\nstatus: test\ndescription: Detects installation of new shim databases that try to patch sections of known processes for potential process injection or persistence.\nreferences:\n    - https://www.trustwave.com/en-us/resources/blogs/spiderlabs-blog/pillowmint-fin7s-monkey-thief/\n    - https://www.fireeye.com/blog/threat-research/2017/05/fin7-shim-databases-persistence.html\nauthor: Nasreddine Bencherchali (Nextron Systems)\ndate: 2023-08-01\nmodified: 2023-12-06\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: '\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\AppCompatFlags\\Custom\\'\n        TargetObject|endswith:\n            # Note: add other application to increase coverage\n            - '\\csrss.exe'\n            - '\\dllhost.exe'\n            - '\\explorer.exe'\n            - '\\RuntimeBroker.exe'\n            - '\\services.exe'\n            - '\\sihost.exe'\n            - '\\svchost.exe'\n            - '\\taskhostw.exe'\n            - '\\winlogon.exe'\n            - '\\WmiPrvSe.exe'\n    condition: selection\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/bf344fea-d947-4ef4-9192-34d008315d3a.json","kind":"sigma"}
