Jump to content

Archived

This topic is now archived and is closed to further replies.

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
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

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

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...