|T1548.001||Setuid and Setgid|
|T1548.002||Bypass User Account Control|
|T1548.003||Sudo and Sudo Caching|
|T1548.004||Elevated Execution with Prompt|
Adversaries may bypass UAC mechanisms to elevate process privileges on system. Windows User Account Control (UAC) allows a program to elevate its privileges (tracked as integrity levels ranging from low to high) to perform a task under administrator-level permissions, possibly by prompting the user for confirmation. The impact to the user ranges from denying the operation under high enforcement to allowing the user to perform the action if they are in the local administrators group and click through the prompt or allowing them to enter an administrator password to complete the action.
If the UAC protection level of a computer is set to anything but the highest level, certain Windows programs can elevate privileges or execute some elevated Component Object Model objects without prompting the user through the UAC notification box. An example of this is use of Rundll32 to load a specifically crafted DLL which loads an auto-elevated Component Object Model object and performs a file operation in a protected directory which would typically require elevated access. Malicious software may also be injected into a trusted process to gain elevated privileges without prompting a user.
Many methods have been discovered to bypass UAC. The Github readme page for UACME contains an extensive list of methods that have been discovered and implemented, but may not be a comprehensive list of bypasses. Additional bypass methods are regularly discovered and some used in the wild, such as:
Another bypass is possible through some lateral movement techniques if credentials for an account with administrator privileges are known, since UAC is a single system security mechanism, and the privilege or integrity of a process running on one system will be unknown on remote systems and default to high integrity.
AppleJeus has presented the user with a UAC prompt to elevate privileges while installing.
APT37 has a function in the initial dropper to bypass Windows UAC in order to execute the next payload with higher privileges.
AutoIt backdoor attempts to escalate privileges by bypassing User Access Control.
Bad Rabbit has attempted to bypass UAC and gain elevated administrative privileges.
BitPaymer can suppress UAC prompts by setting the
BlackEnergy attempts to bypass default User Access Control (UAC) settings by exploiting a backward-compatibility setting found in Windows 7 and later.
BRONZE BUTLER has used a Windows 10 specific tool and xxmm to bypass UAC for privilege escalation.
Bumblebee has the ability to bypass UAC to deploy post exploitation tools with elevated privileges.
Clambling has the ability to bypass UAC using a
Cobalt Group has bypassed UAC.
Cobalt Strike can use a number of known techniques to bypass Windows UAC.
CSPY Downloader can bypass UAC using the SilentCleanup task to execute the binary with elevated privileges.
Downdelph bypasses UAC to escalate privileges by using a custom "RedirectEXE" shim database.
Earth Lusca has used the Fodhelper UAC bypass technique to gain elevated privileges.
Empire includes various modules to attempt to bypass UAC for escalation of privileges.
Gelsemium can bypass UAC to elevate process privileges on a compromised host.
Grandoreiro can bypass UAC by registering as the default handler for .MSC files.
H1N1 bypasses user access control by using a DLL hijacking vulnerability in the Windows Update Standalone Installer (wusa.exe).
InvisiMole can use fileless UAC bypass and create an elevated COM object to escalate privileges.
Koadic has 2 methods for elevating integrity. It can bypass UAC through
KOCTOPUS will perform UAC bypass either through fodhelper.exe or eventvwr.exe.
KONNI has bypassed UAC by performing token impersonation as well as an RPC-based method, this included bypassing UAC set to "AlwaysNotify".
MuddyWater uses various techniques to bypass UAC.
During Operation Honeybee, the threat actors used the malicious NTWDBLIB.DLL and
PipeMon installer can use UAC bypass techniques to install the payload.
Pupy can bypass Windows UAC through either DLL hijacking, eventvwr, or appPaths.
QuasarRAT can generate a UAC pop-up Window to prompt the target user to run a command as the administrator.
RTM can attempt to run the program as admin, then show a fake error message and a legitimate UAC bypass prompt to the user in an attempt to socially engineer the user into escalating privileges.
Saint Bot has attempted to bypass UAC using
Sakula contains UAC bypass code for both 32- and 64-bit systems.
Shamoon attempts to disable UAC remote restrictions by modifying the Registry.
ShimRat has hijacked the cryptbase.dll within migwiz.exe to escalate privileges. This prevented the User Access Control window from appearing.
SILENTTRINITY contains a number of modules that can bypass UAC, including through Window's Device Manager, Manage Optional Features, and an image
hijack on the
A Threat Group-3390 tool can use a public UAC bypass method to elevate privileges.
UACMe contains many methods for bypassing Windows User Account Control on multiple versions of the operating system.
WarzoneRAT can use
WastedLocker can perform a UAC bypass if it is not executed with administrator rights or if the infected host runs Windows Vista or later.
|S0141||Winnti for Windows||
Winnti for Windows can use a variant of the sysprep UAC bypass.
Many ZeroT samples can perform UAC bypass by using eventvwr.exe to execute a malicious file.
Check for common UAC bypass weaknesses on Windows systems to be aware of the risk posture and address issues where appropriate.
|M1026||Privileged Account Management||
Remove users from the local administrator group on systems.
Consider updating Windows to the latest version and patch level to utilize the latest protective measures against UAC bypass.
|M1052||User Account Control||
Although UAC bypass techniques exist, it is still prudent to use the highest enforcement level for UAC when possible and mitigate bypass opportunities that exist with techniques such as DLL Search Order Hijacking.
|ID||Data Source||Data Component||Detects|
Monitor executed commands and arguments that may bypass UAC mechanisms to elevate process privileges on system.
Monitor newly executed processes, such as
Monitor contextual data about a running process, which may include information such as environment variables, image name, user/owner that may bypass UAC mechanisms to elevate process privileges on system.
|DS0024||Windows Registry||Windows Registry Key Modification||
Some UAC bypass methods rely on modifying specific, user-accessible Registry settings. For example:* The