Helixsec Posted January 29, 2015 Share Posted January 29, 2015 I was wondering if there was a way to get around a blocked Command prompt? Quote Link to comment Share on other sites More sharing options...
Oli Posted January 29, 2015 Share Posted January 29, 2015 Not really a ducky related problem so I doubt you will get much help here... The ducky is essentially just a keyboard and executes commands, not a magical escalation tool. The magic is in the payload and your question is too vague to provide much meaningful help. Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted January 30, 2015 Share Posted January 30, 2015 You can have it open notepad and write a batch script for your actions you want performed. Close and save notepad as a .bat to the root of C:\ and then use Winkey+R to run the script. That is if permissions that are blocking command prompt don't block the .bat scripts as well. Quote Link to comment Share on other sites More sharing options...
sud0nick Posted January 30, 2015 Share Posted January 30, 2015 In this case you are most likely SOL, but you could always check if PowerShell is available. If it is you can do whatever you need from there. Quote Link to comment Share on other sites More sharing options...
Helixsec Posted January 30, 2015 Author Share Posted January 30, 2015 I was able to get around it using the run command cmd.exe /k and putting that into my inject instead of just cmd worked like a charm. Quote Link to comment Share on other sites More sharing options...
no42 Posted January 31, 2015 Share Posted January 31, 2015 If SRP is in the way sometimes this trick works: DELAY 4000 GUI-R DELAY 100 STRING runas /trustlevel:"Unrestricted" cmd.exe ENTER 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.