brandonlw / Psychson

Phison 2251-03 (2303) Custom Firmware & Existing Firmware Patches (BadUSB)
MIT License
4.11k stars 1.28k forks source link

usb memory is not accessible , after Hello world ! #22

Open faridtm opened 9 years ago

faridtm commented 9 years ago

i run hello world, but i have question ! after running the payload the thump drive memory appearing in windows explorer, but i can't access the usb memory space ! is it my fault, or in normal condition it is not accessible after payload injection in firmware ?

cubic3d commented 9 years ago

See https://github.com/adamcaudill/Psychson/blob/master/firmware/main.c

The custom firmware does not implement any flash memory access and controls just the PS2303. The memory chips are not identical in different PS2303 devices. It would be necessary to create a custom firmware for every single device.

faridtm commented 9 years ago

Thanks for you help, and by any chance, don't you have a firmware that do this for patriot super sonic 8GB, or is there any document, about how to make a custom firmware that implement access to flash memory and act as keyboard ? because i don't have any idea about how to change the main.c for this purpose !

cubic3d commented 9 years ago

Unfortunately not. This isn't that easy, you really have to implement the whole communication part with the memory unit and processing data.