{"id":"9e8894c0-0ae0-11ef-9d85-1f2942bec57c","title":"Suspicious Shell Open Command Registry Modification","description":"Detects modifications to shell open registry keys that point to suspicious locations typically used by malware for persistence.\nGenerally, modifications to the `*\\shell\\open\\command` registry key can indicate an attempt to change the default action for opening files,\nand various UAC bypass or persistence techniques involve modifying these keys to execute malicious scripts or binaries.\n","author":"Swachchhanda Shrawan Poudel (Nextron Systems)","status":"experimental","level":"medium","date":"2026-01-24","modified":"","tags":["attack.privilege-escalation","attack.persistence","attack.t1548.002","attack.t1546.001"],"technique_ids":["T1546.001","T1548.002"],"logsource":{"category":"registry_set","product":"windows"},"falsepositives":["Legitimate software installations or updates that modify the shell open command registry keys to these locations."],"references":["https://www.trendmicro.com/en_us/research/25/f/water-curse.html"],"source_path":"rules/windows/registry/registry_set/registry_set_susp_shell_open_keys_modification_patterns.yml","source_sha256":"6779ebe84b1630cc5a497f7723cc697d69ffca282bd24b7d7ba80f1b5025b05c","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/registry/registry_set/registry_set_susp_shell_open_keys_modification_patterns.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 Shell Open Command Registry Modification\nid: 9e8894c0-0ae0-11ef-9d85-1f2942bec57c\nstatus: experimental\ndescription: |\n    Detects modifications to shell open registry keys that point to suspicious locations typically used by malware for persistence.\n    Generally, modifications to the `*\\shell\\open\\command` registry key can indicate an attempt to change the default action for opening files,\n    and various UAC bypass or persistence techniques involve modifying these keys to execute malicious scripts or binaries.\nreferences:\n    - https://www.trendmicro.com/en_us/research/25/f/water-curse.html\nauthor: Swachchhanda Shrawan Poudel (Nextron Systems)\ndate: 2026-01-24\ntags:\n    - attack.privilege-escalation\n    - attack.persistence\n    - attack.t1548.002\n    - attack.t1546.001\nlogsource:\n    category: registry_set\n    product: windows\ndetection:\n    selection:\n        TargetObject|contains: '\\shell\\open\\command\\'\n        Details|contains:\n            - '\\$Recycle.Bin\\'\n            - '\\AppData\\Local\\Temp\\'\n            - '\\Contacts\\'\n            - '\\Music\\'\n            - '\\PerfLogs\\'\n            - '\\Photos\\'\n            - '\\Pictures\\'\n            - '\\Users\\Public\\'\n            - '\\Videos\\'\n            - '\\Windows\\Temp\\'\n            - '%AppData%'\n            - '%LocalAppData%'\n            - '%Temp%'\n            - '%tmp%'\n    condition: selection\nfalsepositives:\n    - Legitimate software installations or updates that modify the shell open command registry keys to these locations.\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1546.001","id":"T1546.001","name":"Change Default File Association","page":"techniques/enterprise/T1546.001/"},{"key":"enterprise/T1548.002","id":"T1548.002","name":"Bypass User Account Control","page":"techniques/enterprise/T1548.002/"}],"data_path":"data/detection-rules/9e8894c0-0ae0-11ef-9d85-1f2942bec57c.json","kind":"sigma"}
