Skip to content
Pwnversity
WIN-UACadvanced · 6 min · upd. 2026-11

UAC Bypass

T1548.002T1548T1546.015

UAC (User Account Control) makes processes, even for an administrator, run by default with a medium integrity token; a consent prompt appears for privileged operations. A UAC bypass means getting a high integrity process without that prompt, starting from an account that is already a member of Administrators. It’s not a user-to-admin escalation: it’s going from “limited admin” to “full admin” silently. The invariant is that Microsoft does not consider UAC a security boundary, but a convenience, so bypasses abound and are often not patched as vulnerabilities.

flowchart LR
    A["admin process<br/>medium integrity"] -->|"hijack of auto-elevated binary"| B["fodhelper.exe reads<br/>HKCU\\...\\ms-settings"]
    B --> C["high-integrity process<br/>no prompt"]
    C --> D["dump LSASS/SAM, persist"]
  • Who attacks: someone who already controls the session of a user who is a member of Administrators, but with the split token (medium integrity), and wants to self-elevate without alerting with a prompt.
  • What it breaks: the separation between the account’s medium-integrity token and its high one. There’s no real privilege-boundary crossing; that’s why it’s not a “CVE.”
  • What it gains: a silent high-integrity process, as a step before dumping credentials, disabling defenses or persisting.
  • The requirement: the account must belong to Administrators (split token). If not, you don’t need UAC but real privesc.

An administrator with UAC on has two tokens: a medium-integrity one for everyday use and a high one used only after consenting to the prompt. The bypass gets the high one without the prompt.

Windows has signed binaries with autoElevate=true in their manifest that elevate without a prompt. If one of them reads a path or registry key the user controls, code slips in at high integrity. The live, classified catalog is in UACME (dozens of numbered methods).

At the maximum (“Always notify”) many auto-elevation bypasses fail. At the default level, most work.

Technique Mechanism Note
fodhelper hijack of HKCU\...\ms-settings\Shell\Open\command The classic, fileless (UACME #33)
computerdefaults same technique, another key fodhelper variant
eventvwr HKCU\...\mscfile\shell\open\command Historical
sdclt / slui / wsreset other registry-hijack keys Variants
DLL hijacking (IFEO / mock dirs) C:\Windows \System32\ with a space Bypasses path checks
COM elevation moniker duplicate another elevated process’s high token Elevation:Administrator
reg add "HKCU\Software\Classes\ms-settings\Shell\Open\command" /ve /d "cmd.exe /c start cmd.exe" /f
reg add "HKCU\Software\Classes\ms-settings\Shell\Open\command" /v DelegateExecute /t REG_SZ /f
fodhelper.exe

fodhelper.exe self-elevates and, on opening Settings, runs the planted command at high integrity. Clean the key when done.

  • computerdefaults.exe: same technique as fodhelper with another key.
  • eventvwr.exe / sdclt.exe / wsreset.exe: registry-hijack variants (some already patched depending on the build).
  • COM elevation moniker: a COM object with autoElevate lets you duplicate a high-integrity token without touching the registry.
  1. Is the account a member of Administrators (split token)? If not, this doesn’t apply.
  2. Is the UAC level below “Always notify”?
  3. Try fodhelper/computerdefaults (fileless); if patched, another UACME variant.
  4. Verify the method against the specific build: many get patched over time.
  5. Clean the planted registry keys.
  • UACME (hfiref0x): the reference collection of numbered, maintained bypasses.
  • SharpBypassUAC and PowerShell scripts (Invoke-EventVwrBypass, etc.).
  • Metasploit bypassuac_*.

A high-integrity process without a prompt: now you can dump LSASS/SAM, disable defenses with full rights, install services and persist. It’s the silent step between initial admin access and full host control, before tokens and evasion.

  • Auto-elevated binaries launching shells: fodhelper.exe, computerdefaults.exe, eventvwr.exe, sdclt.exe → cmd.exe/powershell.exe (anomalous parent-child chain).
  • Writes to HKCU\Software\Classes\...\shell\open\command and ms-settings/mscfile keys.
  • High-integrity processes without recorded consent.
  • Sysmon event 1 (process create with parent) and 13 (registry set on the hijack keys).
  • Monitoring of HKCU Run/Classes keys.
  • Raise UAC to “Always notify” (cuts many auto-elevation bypasses).
  • App Control for Business / AppLocker to restrict which binaries run, cutting off the bypass LOLBins.
  • Don’t use administrator accounts for daily work: if the session isn’t admin, the UAC bypass doesn’t apply.
  • Remove redundant local admin rights; monitor the registry hijack keys.

Assume compromise at high integrity: treat the host as fully compromised, rotate secrets and review persistence; fix the practice of using interactive admin accounts.

  • Most bypasses get no CVE because Microsoft doesn’t consider UAC a security boundary; they’re catalogued in UACME (method #33 fodhelper, etc.).
  • Used by real malware: Dridex, TrickBot, Emotet, Lokibot use fodhelper/eventvwr to self-elevate (MITRE T1548.002).
  • CMSTP, DiskCleanup, ICMLuaUtil among the COM/LOLBins exploited in documented campaigns.
  • Is the account a member of Administrators (split token)?
  • Is the UAC level below “Always notify”?
  • fodhelper / computerdefaults via ms-settings registry hijack.
  • eventvwr / sdclt / wsreset (depending on the build).
  • COM elevation moniker (token duplication from an elevated process).
  • Does App Control / AppLocker block the bypass LOLBins?
  • Planted registry keys cleaned up when done.