{"id":"152f3630-77c1-4284-bcc0-4cc68ab2f6e7","title":"Shell Open Registry Keys Manipulation","description":"Detects the shell open key manipulation (exefile and ms-settings) used for persistence and the pattern of UAC Bypass using fodhelper.exe, computerdefaults.exe, slui.exe via registry keys (e.g. UACMe 33 or 62)","author":"Christian Burkard (Nextron Systems)","status":"test","level":"high","date":"2021-08-30","modified":"2022-01-13","tags":["attack.persistence","attack.privilege-escalation","attack.t1548.002","attack.t1546.001"],"technique_ids":["T1546.001","T1548.002"],"logsource":{"category":"registry_event","product":"windows"},"falsepositives":["Unknown"],"references":["https://github.com/hfiref0x/UACME","https://winscripting.blog/2017/05/12/first-entry-welcome-and-uac-bypass/","https://github.com/RhinoSecurityLabs/Aggressor-Scripts/tree/master/UACBypass","https://tria.ge/211119-gs7rtshcfr/behavioral2 [Lokibot sample from Nov 2021]"],"source_path":"rules/windows/registry/registry_event/registry_event_shell_open_keys_manipulation.yml","source_sha256":"dad24734711d2b2d78103c57e3cb12cd468e02c758989b5b0896f37803e5cdad","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/registry/registry_event/registry_event_shell_open_keys_manipulation.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Shell Open Registry Keys Manipulation\nid: 152f3630-77c1-4284-bcc0-4cc68ab2f6e7\nrelated:\n    - id: dd3ee8cc-f751-41c9-ba53-5a32ed47e563\n      type: similar\nstatus: test\ndescription: Detects the shell open key manipulation (exefile and ms-settings) used for persistence and the pattern of UAC Bypass using fodhelper.exe, computerdefaults.exe, slui.exe via registry keys (e.g. UACMe 33 or 62)\nreferences:\n    - https://github.com/hfiref0x/UACME\n    - https://winscripting.blog/2017/05/12/first-entry-welcome-and-uac-bypass/\n    - https://github.com/RhinoSecurityLabs/Aggressor-Scripts/tree/master/UACBypass\n    - https://tria.ge/211119-gs7rtshcfr/behavioral2 [Lokibot sample from Nov 2021]\nauthor: Christian Burkard (Nextron Systems)\ndate: 2021-08-30\nmodified: 2022-01-13\ntags:\n    - attack.persistence\n    - attack.privilege-escalation\n    - attack.t1548.002\n    - attack.t1546.001\nlogsource:\n    category: registry_event\n    product: windows\ndetection:\n    selection1:\n        EventType: SetValue\n        TargetObject|endswith: 'Classes\\ms-settings\\shell\\open\\command\\SymbolicLinkValue'\n        Details|contains: '\\Software\\Classes\\{'\n    selection2:\n        TargetObject|endswith: 'Classes\\ms-settings\\shell\\open\\command\\DelegateExecute'\n    selection3:\n        EventType: SetValue\n        TargetObject|endswith:\n            - 'Classes\\ms-settings\\shell\\open\\command\\(Default)'\n            - 'Classes\\exefile\\shell\\open\\command\\(Default)'\n    filter_sel3:\n        Details: '(Empty)'\n    condition: selection1 or selection2 or (selection3 and not filter_sel3)\nfalsepositives:\n    - Unknown\nlevel: high\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/152f3630-77c1-4284-bcc0-4cc68ab2f6e7.json","kind":"sigma"}
