Jump to content
Hak5 Forums
KCSEC

UAC Bypass windows 10

Recommended Posts

Hello,

 

 

So trying to create a script for windows 10,

 

Here is the example code

 

DELAY 1000
GUI r
DELAY 200
REM Prompt UAC for PSH
STRING powershell Start-Process powershell -Verb runAs
ENTER

 

 

Now the UAC prompt starts in the back ground, so need something like

ALT+TAB

ALT LEFT LEFT 

ALT Y 

However Can't get it to work correctly any ideas ?  ALT TAB brings up the menu and then need to keep holding ALT then nav left twice to be on the UAC prompt

Share this post


Link to post
Share on other sites
Posted (edited)
10 hours ago, KCSEC said:

Hello,

 

 

So trying to create a script for windows 10,

 

Here is the example code

 

DELAY 1000
GUI r
DELAY 200
REM Prompt UAC for PSH
STRING powershell Start-Process powershell -Verb runAs
ENTER

 

 

Now the UAC prompt starts in the back ground, so need something like

ALT+TAB

ALT LEFT LEFT 

ALT Y 

However Can't get it to work correctly any ideas ?  ALT TAB brings up the menu and then need to keep holding ALT then nav left twice to be on the UAC prompt

I dont have a windows box in the house but a fair amount if the bashbunny payloads tackle similar ducky issues so its worth checking out some bashbunny payloads for ideas

just for example, might not solve your issue - https://github.com/hak5/bashbunny-payloads/issues/50 or https://github.com/hak5/bashbunny-payloads/tree/master/payloads/library/execution/exe_UACBypassD%26E

Edited by Just_a_User

Share this post


Link to post
Share on other sites

I've got it running on a VM at the moment but  yeah LEFTARROW ENTER does not seem to work anymore on windows 10.

 

Could be the VM, will try a local machine just to be sure.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×