marcusjoejoe Posted November 18, 2020 Share Posted November 18, 2020 i have just uploaded a script onto my usb and got nothing. im new and a little stuck here. i have downloaded the usb ducky master and have been using the ducktoolkit.com scripts and nothing. tried a new sd card. can anyone type the walkthrough from start to finish for me plz? much appreciated Link to comment Share on other sites More sharing options...
chrizree Posted November 18, 2020 Share Posted November 18, 2020 Is this the same problem as the one you posted in a thread less than 24 hours ago or is this something else you need the answer for? https://forums.hak5.org/topic/53746-usb-not-recognised/ Download duckencoderhttps://github.com/hak5darren/USB-Rubber-Ducky/blob/master/duckencoder.jar Make sure you have access to java on the PC where the USB Rubber Ducky payload script will be converted to an inject.bin file Create a payload script for the USB Rubber Ducky using a text editor of choice, for example:DELAY 5000 GUI r DELAY 3000 STRING notepad.exe ENTER DELAY 3000 STRING Hello World Save the file as script.txt (or any name of choice) Encode the payload script file to an inject.bin filejava -jar duckencoder.jar -i script.txt -o inject.bin Put an SD card in an SD card adapter/reader Insert the SD card adapter/reader into the PC on which the inject.bin is located Remove any existing inject.bin on the SD card Copy (or move) the newly created inject.bin to the SD card Eject/unmount the SD card safely Since the example Ducky script above is a payload that is to be used on a Windows PC, we need just that, a Windows PC With the Windows PC started and logged on as any user suitable, insert the USB Rubber Ducky in a USB port of the Windows PC Wait for the payload to execute on the USB Rubber Ducky Done! Link to comment Share on other sites More sharing options...
marcusjoejoe Posted November 18, 2020 Author Share Posted November 18, 2020 ok thank you so much. i am doing it on kali linux and will try tommorow. i have java installed. just one question before i do it. when i encode the payload where does it save to a file as an inject.bin? Link to comment Share on other sites More sharing options...
chrizree Posted November 18, 2020 Share Posted November 18, 2020 It will be saved where you tell it to be saved when running java to encode the script. If you run it as in my example above, it will be put in the folder where you are located at the moment when executing java. If you want to direct it elsewhere in the file system, you just add the path before "inject.bin", such as; /root/inject.bin Link to comment Share on other sites More sharing options...
marcusjoejoe Posted November 19, 2020 Author Share Posted November 19, 2020 I've done everything as instructed and the USB went yellow then at bottom right of my windows 10 screen it said USB not recognised. I ran a test on the USB port and it's fine. My USB wireless works fine in the same port. Can you advise plz Link to comment Share on other sites More sharing options...
chrizree Posted November 19, 2020 Share Posted November 19, 2020 What test did you run to verify the USB port? Have you tried the Ducky on several computers or just one? The "howto" I posted previously works, so in that case the Ducky might be faulty. Submit a ticket @ the Hak5 Shop for further assistance. I would try the Ducky on more computers than just one first though. Link to comment Share on other sites More sharing options...
marcusjoejoe Posted November 19, 2020 Author Share Posted November 19, 2020 I've just run the test and also used another USB and it works fine it's the ducky maybe. I will try it on another PC with windows Link to comment Share on other sites More sharing options...
marcusjoejoe Posted November 19, 2020 Author Share Posted November 19, 2020 I've just tried the ducky in the wifes laptop and it's not even flashing red or yellow. I now think maybe the ducky is faulty Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.