Hidden HID v2 - worlds smallest Rubber Ducky
Hidden HID v2 is a tiny single-PCB rubber ducky which fits entirely inside a USB port and can inject keystrokes. Once inserted, it is almost invisible to the untrained eye. The circuit comprises an STM32 microcontroller, an LDO and four IR phototransistors, which hold the PCB in place and allow remote activation/deactivation. All components fit on the bottom side of the PCB, directly below the USB contacts. In v2 I have removed the SWD programming pins and instead rely on ST's inbuilt USB bootloader. This greatly simplifies reprogramming. I have also implemented a simple on-off remote control using the phototransistors. Finally, I have completed the firmware and provide a simple "hello world" example on my github :) Thanks to PCBWay for manufacturing and assembling the PCBs and very kindly covering the costs! For those interested in purchasing this design, I have uploaded it to the PCBWay community where you can order it directly - link on the left!
hackaday.io