Shell Open Registry Keys Manipulation
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)
Sigma rule (View on GitHub)
1title: Shell Open Registry Keys Manipulation
2id: 152f3630-77c1-4284-bcc0-4cc68ab2f6e7
3status: test
4description: 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)
5references:
6 - https://github.com/hfiref0x/UACME
7 - https://winscripting.blog/2017/05/12/first-entry-welcome-and-uac-bypass/
8 - https://github.com/RhinoSecurityLabs/Aggressor-Scripts/tree/master/UACBypass
9 - https://tria.ge/211119-gs7rtshcfr/behavioral2 [Lokibot sample from Nov 2021]
10author: Christian Burkard (Nextron Systems)
11date: 2021-08-30
12modified: 2022-01-13
13tags:
14 - attack.persistence
15 - attack.defense-evasion
16 - attack.privilege-escalation
17 - attack.t1548.002
18 - attack.t1546.001
19logsource:
20 category: registry_event
21 product: windows
22detection:
23 selection1:
24 EventType: SetValue
25 TargetObject|endswith: 'Classes\ms-settings\shell\open\command\SymbolicLinkValue'
26 Details|contains: '\Software\Classes\{'
27 selection2:
28 TargetObject|endswith: 'Classes\ms-settings\shell\open\command\DelegateExecute'
29 selection3:
30 EventType: SetValue
31 TargetObject|endswith:
32 - 'Classes\ms-settings\shell\open\command\(Default)'
33 - 'Classes\exefile\shell\open\command\(Default)'
34 filter_sel3:
35 Details: '(Empty)'
36 condition: selection1 or selection2 or (selection3 and not filter_sel3)
37falsepositives:
38 - Unknown
39level: high
References
Related rules
- PowerShell Web Access Feature Enabled Via DISM
- Trusted Path Bypass via Windows Directory Spoofing
- UAC Bypass With Fake DLL
- APT27 - Emissary Panda Activity
- AWS IAM S3Browser LoginProfile Creation