Jump to content

Ducky VID PID changer BIN file does not work


Recommended Posts

I am adding the vidpid.bin file to my sd card that was created by the online duck tool kit; but the vid / pid are not changed. The only version of the firmware on the hak5 download page is 1.0-stable from 2011. Does this version allow for vid/pid changing via the aforementioned method? Where did all of the other ducky firmware versions go and why aren't they available on the d/l page? I haven't used this ducky in a while; so, I'm a bit rusty. My scripts are working fine; but I do not know how to check what firmware I am on (I only know it is not twin duck). Any guidance on getting this device to change vid/pid according  to the bin files i created with teh online duck tool kit would be very helpful. Thanks!

Link to post
Share on other sites
Posted (edited)

I attempted to flash the 1.0-stable firmware to test; and i am getting this error when I use the flash tool: "Can't load jvm.dll".
I have the JDK and JRE path added to PATH; but I also place the jvm.dll file from both the JRE and JDK paths (because I don't know which one I need) in the Duck Programming folder one at a time and tried to run the program.bat <firmware_file>.hex command. I still get the same "Can't load jvm.dll" error. That doesn't seem possible. Tried as user and a CMD window as admin. No change.

 

My java is version 10. Do I need a specific older version?

Installed Java JRE_8. This resolved the firmware flashing issue. 

All I need now is to know which f/w version I need to support vid/pid changing via the online tool kit created BIN file. I confirmed the 1.0-stable f/w does not support changing the VID/PID via the online created vidpid.bin.

Edited by TeCHemically
Link to post
Share on other sites
Posted (edited)
9 minutes ago, kdodge said:

The source says version 2 

main.c: line 37, static char *vidpidFile = "A:\\vidpid.bin";

https://github.com/hak5darren/USB-Rubber-Ducky/blob/master/Firmware/Source/Ducky_HID/src/main.c

maybe try "USB_v2.1.hex"

Thank you for your reply! I believe the v2.1 firmware is a twin duck firmware. I am not able to use a twin duck in this situation. It must not be recognized as a USB drive or it will get noticed by monitoring software. The policies around USB drives are very strict in this client's environment. I need solely HID with no USB storage and with VID/PID changing support. 

 

Looks to be a twin duck f/w - UDC_DESC_STORAGE usb_dev_desc_t udc_device_desc;

Not sure if I am reading that incorrectly. The source in one other firmware lists mass storage and HID injection in the comments at the top. I am unsure if that will be listed in all. I will try this one in the lab and report back. thanks for your help!

Edited by TeCHemically
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.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...