Windows UAC Bypass Techniques and Defenses

· Original article ↗

Summary

A lab walkthrough demonstrates UAC bypasses on a default-configured Windows 10 host, elevating a medium-integrity administrator session. It also recommends least privilege, registry monitoring, PowerShell logging, application control and patching.

Key points

  • The walkthrough starts with a local administrator account running at medium integrity on a default-configured Windows 10 host.
  • It demonstrates bypasses using Metasploit modules and auto-elevating binaries including fodhelper.exe, ComputerDefaults.exe, sdclt.exe and SilentCleanup.
  • The lab techniques produce high-integrity sessions without a UAC consent prompt.
  • The article recommends removing standing local administrator rights and raising the UAC prompt level.
  • It advises monitoring relevant registry paths and enabling PowerShell Script Block Logging and AMSI.
  • AppLocker or WDAC enforcement and keeping Windows patched are presented as additional layers of defense.

Article Details

Topic
Windows 10 User Account Control bypass techniques and defenses

Indicators of compromise

TypeIndicatorContext
IPV4192[.]168[.]1[.]17Attacker-controlled lab host used to serve payloads and receive reverse-shell callbacks.
URLhxxp[:]//192[.]168[.]1[.]17/bypass.ps1Attacker-hosted PowerShell wrapper downloaded to perform a registry-based UAC bypass.
URLhxxp[:]//192[.]168[.]1[.]17/improved-fodhelper.ps1Attacker-hosted PowerShell script downloaded to perform the fodhelper UAC bypass.
URLhxxp[:]//192[.]168[.]1[.]17/new.exeAttacker-hosted executable payload downloaded for the ComputerDefaults UAC bypass.
URLhxxp[:]//192[.]168[.]1[.]17/rev.ps1Attacker-hosted reverse-shell payload downloaded and executed during the UAC bypass.

MITRE ATT&CK

Vendors

Products

Tools

Related Articles