Jump to content
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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...