Accessing the firmware of an USB flash drive
Is there any way via which one can read the firmware of an USB flash drive? And if there is really such a way, can one write to that memory area?
USB flash drives usually don't come with programmable or accessible firmware. It's usually just an USB driver chip with some flash memory chips. Just for my own curiosity, why would you want to do this anyway?
Actually, there are utilities out there that do something related to some USB mass storage controllers. "MPTool" is one of them although I don't understand how it works or ever got it to reprogram a drive. I suspect similar utilities are used to create a USB flash disk by unscrupulous people that misreport its capacity, and the capability has to be there for most controllers.
I encountered this site and eventually found an MPTool download, but don't really know how to use it. Maybe you can get further than I did.
I'm still researching the tools for this but a good resource for any sort of usb firmware is from the OEM themselves. In this case review http://www.ftdichip.com/Firmware/Precompiled.htm for the precompiled code.and manuals.
Most devices fall into three catagories:
- USB UART (serial comms, modems, scanners, printers, etc.)
- USB HID (keyboards, headphones, mice, displays)
- USB Memory (thumb drive storages )
An example of this is either the hak5 ducky or your android device where software controls the VDAP firmware by switching a single bit that is reported back to the os.