Academy
TermTechnique

UAC bypass

Running code with administrator rights without showing Windows’ User Account Control consent prompt.

Flow

  1. 1Auto-elevating component chosen
  2. 2Its behavior changed
  3. 3Command runs elevated
Related families
—
MITRE ATT&CK
T1548.002 · Bypass User Account Control
Sources
4 sources
01

Overview

User Account Control makes even programs running under an administrator account ask for consent for operations that require elevation. Bypass techniques abuse certain auto-elevating Windows components to skip this consent. Microsoft Learn

Most infostealers make do with user rights; UAC bypass is used more to establish persistence, disable security tools or access other users’ data. MITRE ATT&CK

02

How it works

  1. 1

    Auto-elevating component chosen

    A Windows program that runs with administrator rights without asking for consent is targeted. MITRE ATT&CK

  2. 2

    Its behavior changed

    A registry key or file path the program reads is redirected to the attacker’s command. MITRE ATT&CK

  3. 3

    Command runs elevated

    When the program starts, the attacker’s command runs with administrator rights.

03

How to detect it

  • Command keys belonging to auto-elevating programs being changed in the user registry. MITRE ATT&CK
04

What to do

  • Keep User Account Control at the highest level. MITRE ATT&CK
  • Do not have users use administrator accounts for daily work. MITRE ATT&CK
05

MITRE ATT&CK

06

Related terms

07

Sources

  1. 1Bypass User Account Control (T1548.002) · MITRE ATT&CK
  2. 2How User Account Control works · Microsoft Learn
  3. 3User Account Control (M1052) · MITRE ATT&CK
  4. 4Privileged Account Management (M1026) · MITRE ATT&CK