Interact with UAC

JRVSInputs Documentations
User avatar
YiMeng
Author
Posts: 235
Joined: Sat Jul 18, 2020 10:58 pm
Location: NY
Contact:

Interact with UAC

Unread post by YiMeng »

Description

UAC is a windows security feature specifically designed to prevent interactions by applications.
There are many workarounds for privilege escalations/elevation that would not require interaction with UACs.

Our goal here is to interact with UAC when it cannot be avoided.

For JRVSInputs to interact with UAC, following requirements must be met.
  • Secure Desktop must be disabled
  • Macros must be recorded under an escalated recording session
  • Macros/Scripts must be run with SYSTEM privilege
  • Example script (this will open cmd as admin):
    • win+r
      STRING cmd
      ctrl+shift+enter
      focusWin User Account Control
      alt+y
  • Also view RUNAS keyword for scripting
    • Additional note on using user Administrator