KSEC ARK Posted July 5, 2018 Share Posted July 5, 2018 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 Quote Link to comment Share on other sites More sharing options...
Just_a_User Posted July 6, 2018 Share Posted July 6, 2018 (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 July 6, 2018 by Just_a_User Quote Link to comment Share on other sites More sharing options...
KSEC ARK Posted July 6, 2018 Author Share Posted July 6, 2018 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.