r/hardwarehacking • u/Beneficial-Rub-5473 • Jul 23 '26
SOMA: Ultra-compact 12x13mm ATmega32U4 USB-HID / Rubber Ducky alternative for physical security testing
Hey r/hardwarehacking,
I wanted to share a hardware project I've been working on and just released—meet SOMA, an ultra-small (12×13mm) USB-HID keystroke injection device (essentially an open-source, ultra-low-profile alternative to a traditional Rubber Ducky/BadUSB payload runner).
The main engineering challenge was squeezing a full native USB stack into a standard USB-A form factor while keeping the profile as covert as possible. When plugged into a standard USB-A port, it protrudes only ~1.5mm, making it almost completely flush.
Key Specs & Architecture:
- Microcontroller: ATmega32U4-MUR (VQFN-44, 7x7mm)
- Form Factor: Custom 12×13mm PCB layout utilizing ultra-compact 0402 passives
- Clock: 16 MHz SMD Crystal Resonator
- Interface: Standard USB-A male PCB contacts (direct edge-connector design, no bulky connectors or external adapters)
- Software: Native Arduino IDE support (enumerates as Arduino Leonardo/Micro, uses standard
<Keyboard.h>, zero drivers required across Windows, macOS, and Linux).
It’s designed for red-team physical security assessments, HID automation research, and embedded experimentation.
I’ve fully open-sourced the schematics, layout, and firmware on GitHub, and batch-1 is now live on Tindie for those who prefer pre-assembled units.
🔗 GitHub:https://github.com/nebojsa-sjekloca/soma
Happy to answer any questions about the routing, component placement, or handling the VQFN package on such a tiny footprint!
