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
3related:
4 - id: dd3ee8cc-f751-41c9-ba53-5a32ed47e563
5 type: similar
6status: test
7description: 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)
8references:
9 - https://github.com/hfiref0x/UACME
10 - https://winscripting.blog/2017/05/12/first-entry-welcome-and-uac-bypass/
11 - https://github.com/RhinoSecurityLabs/Aggressor-Scripts/tree/master/UACBypass
12 - https://tria.ge/211119-gs7rtshcfr/behavioral2 [Lokibot sample from Nov 2021]
13author: Christian Burkard (Nextron Systems)
14date: 2021-08-30
15modified: 2022-01-13
16tags:
17 - attack.persistence
18 - attack.privilege-escalation
19 - attack.t1548.002
20 - attack.t1546.001
21logsource:
22 category: registry_event
23 product: windows
24detection:
25 selection1:
26 EventType: SetValue
27 TargetObject|endswith: 'Classes\ms-settings\shell\open\command\SymbolicLinkValue'
28 Details|contains: '\Software\Classes\{'
29 selection2:
30 TargetObject|endswith: 'Classes\ms-settings\shell\open\command\DelegateExecute'
31 selection3:
32 EventType: SetValue
33 TargetObject|endswith:
34 - 'Classes\ms-settings\shell\open\command\(Default)'
35 - 'Classes\exefile\shell\open\command\(Default)'
36 filter_sel3:
37 Details: '(Empty)'
38 condition: selection1 or selection2 or (selection3 and not filter_sel3)
39falsepositives:
40 - Unknown
41level: high
References
Related rules
- Registry Modification of MS-settings Protocol Handler
- Suspicious Shell Open Command Registry Modification
- PowerShell Web Access Feature Enabled Via DISM
- Trusted Path Bypass via Windows Directory Spoofing
- UAC Bypass With Fake DLL