SelfTaughtDude Posted June 29, 2020 Share Posted June 29, 2020 Hi everyone, I just got my RubberDucky to do some Windows Setup automation (yeah, boring stuff, no hacking sadly) and the first thing I want to do is to run cmd while being in the Windows Out Of Box Experience (OOBE). You can open the cmd with the combination Shift + F10, however when I try to run SHIFT F10 from the Ducky, it doesn't open cmd. Is this Key Combo not supported or am I missing something here? Thanks in advance for the help, Patrick Link to comment Share on other sites More sharing options...
Rkiver Posted June 29, 2020 Share Posted June 29, 2020 Every device has it's own section in the forums. You mentioned Rubber Ducky. https://forums.hak5.org/forum/56-usb-rubber-ducky/ Link to comment Share on other sites More sharing options...
Bob123 Posted June 29, 2020 Share Posted June 29, 2020 Windows has to install drivers to get the duck to work. Are you sure they are being installed during the OOBE? Can you get the duck to do anything during this? Like type your name or anything? If you can get it to do at least something then it's probably a timing issue. Throw a few second delay at the beginning to make sure windows has time to load up the drivers. Link to comment Share on other sites More sharing options...
SelfTaughtDude Posted June 30, 2020 Author Share Posted June 30, 2020 Hi @Bob123, thanks for the reply, yes the Ducky does work, if you press shift + f10 manually and then plugin the ducky it will insert the keystrokes into the console. I am already running DELAY 1000 at the start but I guess I'll try some more delay .. Link to comment Share on other sites More sharing options...
SelfTaughtDude Posted June 30, 2020 Author Share Posted June 30, 2020 I just solved it, seems like SHIFT F10 just isn't supported, however I edited the JSON Keyboard Map so that the Key F10 also has the Modifier 02 (which is shift). Now when I tell the Ducky to press F10 it will press Shift F10 and therefore open the console. Link to comment Share on other sites More sharing options...
Bob123 Posted June 30, 2020 Share Posted June 30, 2020 Sweet! Nice work SelfTaughtDude! Link to comment Share on other sites More sharing options...
Xyvir Posted December 28, 2020 Share Posted December 28, 2020 @Bob123 @SelfTaughtDude Hey I'm having the same issue and new to Rubber Ducky but I'm not sure how to accomplish what SelfTaughtDude is saying. Is the JSON Keyboard map found somewhere in the Rubber Ducky github resources or something? https://github.com/hak5darren/USB-Rubber-Ducky/ Just let me know if someone can help me with this, thanks! Link to comment Share on other sites More sharing options...
Rkiver Posted December 29, 2020 Share Posted December 29, 2020 https://forums.hak5.org/forum/56-usb-rubber-ducky/ Link to comment Share on other sites More sharing options...
Bob123 Posted December 31, 2020 Share Posted December 31, 2020 @Xyvir Sorry I just noticed your post. I don't visit here much anymore as the forums are pretty much dead. 😞 But here's the link that SelfTaughtDude was talking about: https://github.com/hak5darren/USB-Rubber-Ducky/blob/master/Encoder/resources/keyboard.properties Link to comment Share on other sites More sharing options...
chrizree Posted December 31, 2020 Share Posted December 31, 2020 Is that really the mentioned JSON file? Isn't it the Bash Bunny JSON file that is used along with the JS encoder for the Ducky? https://downloads.hak5.org/ducky https://github.com/hak5/bashbunny-payloads/tree/master/languages Line 290 in the jsencoder html file, if using default lang (US) change 'F10': '00,00,43' to 'F10': '02,00,43' Or the line in one of the alternative lang files (json) "F10":"00,00,43" to "F10":"02,00,43" Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.