Hack Forums
USB driver assembly code modification (WILL PAY IF YOU KNOW) - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45)
+--- Forum: Whitehat • Blue Team • Defensive Security (https://hackforums.net/forumdisplay.php?fid=448)
+---- Forum: Pentesting and Forensics (https://hackforums.net/forumdisplay.php?fid=231)
+---- Thread: USB driver assembly code modification (WILL PAY IF YOU KNOW) (/showthread.php?tid=5935862)



USB driver assembly code modification (WILL PAY IF YOU KNOW) - SkunT3llo - Jan 30, 2019

Hello everyone, I don't know if this is the right place for asking this but
is there anyone who know how to modify assembly code of usb driver and add function to run and decode base64?

So it looks like this in action?
youtube. com/watch?v=EZBDRhWpYvM

Please PM me if You know.  ✌  ✌


RE: USB driver assembly code modification (WILL PAY IF YOU KNOW) - fireswap - Jan 30, 2019

Hi OP

This isn't a driver, but the USB's EEPROM (basically a tiny non-volatile storage device) being flashed to identify itself as a HID and emulate some input (kb/mouse). This wouldn't be driver modification, as the driver is what runs on the host itself.

You can very easily replicate this functionality yourself by purchasing a Rubber Ducky, as flashing the EEPROM with a modified firmware is probably a little more difficult than a device purpose-built for such a task.

If you wanted to go the longer route, you would probably need to get yourself Ida Pro, some ARM or MIPS assembly knowledge, and a SOIC8 clipper cable and EEPROM flasher. Ida Pro you can find a free version of, but the SOIC8 clipper cable you will probably need to order from Taiwan and wait to arrive by boat (lol).