module

Windows Privilege Escalation via TokenMagic (UAC Bypass)

Disclosed
2017-05-25
Created
2021-05-15

Description

This module leverages a UAC bypass (TokenMagic) in order to spawn a process/conduct a DLL
hijacking attack to gain SYSTEM-level privileges. Windows 7 through Windows 10 1803
are affected.

Authors

James Forshaw
Ruben Boonen ( Ruben Boonen (@FuzzySec)
bwatters-r7
jheysel-r7

Platform

Windows

Module Options

To display the available options, load the module within the Metasploit console and run the commands ‘show options’ or ‘show advanced’:


msf > use exploit/windows/local/tokenmagic
msf exploit(tokenmagic) > show targets
...targets...
msf exploit(tokenmagic) > set TARGET < target-id >
msf exploit(tokenmagic) > show options
...show and set options...
msf exploit(tokenmagic) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.