You can download an already modified usbconfig.h here to save you time. Make a copy of usbconfig.h and call it usbconfig_BACKUP.h in case you need to undo the changes.Open packages > digistump > hardware > avr > 1.7.5 (or other version number) > libraries > DigiKeyboard.Click on the Path at the bottom (it's a shortcut).You have to edit the USB Product ID (PID) and Vendor ID (VID) deep in the Arduino Digispark files. But you are free to change the values to whatever you like. In the tutorial below, I will make the Digispark appear as an Apple keyboard so that it can be used for BadUSB attacks on macOS. Websites like have a database that you can search for registered USB devices. Whatever your reasons are, you can spoof the IDs to anything you want. You might also require a USB device with a particular vendor or device ID for testing and developing products. It's particularly useful for BadUSB pentests where you don't want it to appear as a Digispark but as a generic USB Keyboard or an Apple device so that macOS doesn't open the keyboard setup assistant. You can make the Digispark appear as any USB device by setting the USB IDs to a custom value, and I'll show you how.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |