Detects the pattern of UAC Bypass using a msconfig GUI hack (UACMe 55)
title: UAC Bypass Using MSConfig Token Modification - Process
id: ad92e3f9-7eb6-460e-96b1-582b0ccbb980
status: test
description: Detects the pattern of UAC Bypass using a msconfig GUI hack (UACMe 55)
references:
- https://github.com/hfiref0x/UACME
author: Christian Burkard (Nextron Systems)
date: 2021-08-30
modified: 2024-12-01
tags:
- attack.privilege-escalation
- attack.t1548.002
logsource:
category: process_creation
product: windows
detection:
selection:
IntegrityLevel:
- 'High'
- 'System'
- 'S-1-16-16384' # System
- 'S-1-16-12288' # High
ParentImage|endswith: '\AppData\Local\Temp\pkgmgr.exe'
CommandLine: '"C:\Windows\system32\msconfig.exe" -5'
condition: selection
falsepositives:
- Unknown
level: high
imProcessCreate
| where (TargetProcessIntegrityLevel in~ ("High", "System", "S-1-16-16384", "S-1-16-12288")) and (ParentProcessName endswith "\\AppData\\Local\\Temp\\pkgmgr.exe" or ActingProcessName endswith "\\AppData\\Local\\Temp\\pkgmgr.exe") and TargetProcessCommandLine =~ "\"C:\\Windows\\system32\\msconfig.exe\" -5"
| Sentinel Table | Notes |
|---|---|
imProcessCreate | Ensure this data connector is enabled |