TrustedPath UAC Bypass Pattern

Detects indicators of a UAC bypass method by mocking directories

Sigma rule (View on GitHub)

 1title: TrustedPath UAC Bypass Pattern
 2id: 4ac47ed3-44c2-4b1f-9d51-bf46e8914126
 3related:
 4    - id: 0cbe38c0-270c-41d9-ab79-6e5a9a669290
 5      type: similar
 6status: test
 7description: Detects indicators of a UAC bypass method by mocking directories
 8references:
 9    - https://medium.com/tenable-techblog/uac-bypass-by-mocking-trusted-directories-24a96675f6e
10    - https://www.wietzebeukema.nl/blog/hijacking-dlls-in-windows
11    - https://github.com/netero1010/TrustedPath-UACBypass-BOF
12    - https://x.com/Wietze/status/1933495426952421843
13author: Florian Roth (Nextron Systems)
14date: 2021-08-27
15modified: 2025-06-17
16tags:
17    - attack.privilege-escalation
18    - attack.defense-evasion
19    - attack.t1548.002
20logsource:
21    category: process_creation
22    product: windows
23detection:
24    selection:
25        Image|contains:
26            - 'C:\Windows \System32\'
27            - 'C:\Windows \SysWOW64\'
28    condition: selection
29falsepositives:
30    - Unknown
31level: critical

References

Related rules

to-top