

Pentesting rd schematics
Custom STM32-based USB HID device inspired by a Rubber Ducky
- Size
- 19 × 44 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 22
- Nets
- 48
- Pads
- 114
- Tracks, vias
- 166, 35
- Pours
- 1
- Routed
- Yes
- KiCad
- KiCad 9.0 (file 20241229)
- Created
- 27 Nov 2025
- Updated
- 21 Apr 2026
Overview
Pentesting rd schematics is an open-source printed circuit board by 51n0nGG0, from the 51n0nGG0/pentesting_rd repository on GitHub, published under the MIT licence. It is a 2-layer board of 19 × 44 mm with 22 parts on 48 nets, routed with 166 tracks and 35 vias.
It is built around the STM32F042C6T6, TF-01A and USBLC6-2SC6, with the XC6206P332MR-G among its other parts. Its parts include 10 capacitors, 5 resistors, 3 ICs, 1 connector and 1 fuse. It belongs with the STM32 boards of this library.
Main components
4STM32F042C6T6
LQFP-48(7x7)-40℃~+85℃ 1.65V~3.6V 12bit 32 Bit 32KB 38 48MHz 6KB ARM Cortex-M0 Built-in FLASH LQFP-48(7x7) Microcontrollers (MCU/MPU/SOC) ROHSSTMicroelectronicsMicrocontrollers (MCU/MPU/SOC)TF-01A
SMD1.85mm Connector and Ejector MicroSD Card (TF Card) Push-Push With Locating Pins SMD SD Card / Memory Card Connector ROHSHRO ElectronicsSD Card / Memory Card ConnectorUSBLC6-2SC6
SOT-23-60.35pF、0.8pF 100nA 150W@8/20us 15V 2 5V 6A@8/20us 6V ESD SOT-23-6 ESD and Surge Protection (TVS/ESD) ROHSUMWESD And Surge Protection (TVS/ESD)XC6206P332MR-G
UncategorisedUnknown maker
README
README.md[!WARNING]
Educational Use OnlyThis project is intended solely for educational, research, and personal learning purposes.
It must not be used for malicious activities, unauthorized system access, or any action that could compromise the privacy or security of others.
The author assumes no responsibility for improper or illegal use of this device or its associated software.
Perform any testing only on devices you own or where you have explicit permission, and always comply with applicable cybersecurity laws and regulations.
🚀 About the Project
This project is a custom STM32-based USB HID device, inspired by the Rubber Ducky. It includes firmware, hardware design files, and a simple scripting system for keyboard automation. Its main purpose is to help explore and learn about USB HID implementation, embedded systems development, and authorized security testing.
🧪 Proof of Concept
The Proof of Concept for this project is available inside the repository:
- 📂 PoC files and resources:
/pentesting_rd_poc - 📄 Detailed PoC documentation:
PoC Documentation
Below you can watch a short video demonstrating the PoC in action.
📚 Full Documentation
The complete documentation is available inside the /docs folder:
- Overview
- Hardware Design
- Firmware Architecture (Coming soon)
- Scripting Language (Coming soon)
- Usage Guide (Coming soon)
- Troubleshooting (Coming soon)
- Changelog (Coming soon)
🧰 Features, Software and Hardware
Features
- Keystroke Injection: Execute commands stored in a
script.txtfile. - Supports Rubber Ducky-style Scripts: Commands like "DELAY", "REM", "STRING" and special keypresses.
- Compatible with Spanish Keyboards: Fully supports keystroke injection on systems using the Spanish (ES) layout.
Software
-
STM32CubeMX: Recommended to use the latest available version (tested with v6.16.0).
Download from the official ST website: https://www.st.com/en/development-tools/stm32cubemx.html -
STM32CubeIDE: Recommended to use the latest available version (tested with v2.0.0).
Download from the official ST website: https://www.st.com/en/development-tools/stm32cubeide.html -
KiCad: PCB design done using KiCad 9.0.
Hardware
- Pentesting RD Board: Custom board included in the project schematics and hardware files.
- MicroSD Card: Must be formatted as FAT16 or FAT32 to store the
script.txtfile.
🔮 Future Changes
Future updates may include:
- Power LED Indicator: Add a small LED to show when the device is powered and running.
- MicroSD Script Status LED: An LED that indicates when the card is present, when no script is found, and flashes on each keystroke during script execution.
- Additional Commands: Extend the scripting language with new commands for improved automation and more advanced keystroke control.
©️ License
Distributed under the MIT License. See LICENSE.txt for more information.
📬 Contact
Email: eloyschmidtrodriguez@gmail.com
LinkedIn: https://www.linkedin.com/in/eloyalfredoschmidtr/
Project Link: https://github.com/51n0nGG0/pentesting_rd
Parts
22| Qty | Value | Footprint | References |
|---|---|---|---|
| 7 | 100nF | Capacitor_SMD:C_0402_1005Metric | C1, C2, C3, C4, C5, C7, C10 |
| 5 | 10k | Resistor_SMD:R_0402_1005Metric | R1, R2, R3, R4, R5 |
| 2 | 1uF | Capacitor_SMD:C_0402_1005Metric | C8, C9 |
| 1 | 10uF | Capacitor_SMD:C_0603_1608Metric | C6 |
| 1 | 500mA | Fuse:Fuse_0603_1608Metric | F1 |
| 1 | MOLEX_48037-1000 | MOLEX_48037-1000:MOLEX_48037-1000 | J1 |
| 1 | STM32F042C6T6 | Package_QFP:LQFP-48_7x7mm_P0.5mm | U1 |
| 1 | SW_Push | Button_Switch_SMD:SW_SPST_B3U-1000P | BOOT1 |
| 1 | TF-01A | TF-01A:TF-01A | MICRO_SD1 |
| 1 | USBLC6-2SC6 | Package_TO_SOT_SMD:SOT-23-6 | U2 |
| 1 | XC6206P332MR-G | Package_TO_SOT_SMD:SOT-23-3 | U3 |
Similar boards
- 2 layers54 × 128.6 mm

- 2 layers122.5 × 115.6 mm

- 4 layers20.3 × 61 mm

- 4 layers66 × 71 mm

- 4 layers66.4 × 66.4 mm

Rera
fdiwth/tvc-drone
This repository contains the documentation, hardware designs, and source code for a Thrust Vector Control (TVC) drone.
140 parts34GPL-3.0 - 6 layers100 × 120 mm

Astra piNas
jlcjak/astra_piNas
Six-layer CM5 Lite dual-NVMe carrier with PCIe switch, Ethernet, microSD, USB-C PD and PoE. Review design; fabrication hold documented.
176 parts30 - 4 layers64.1 × 72.8 mm

BeeFASYER SPARROW
beewarden/BeeFASYER_SPARROW
Each BEEFASYER monitoring network is centered on exactly one Sparrow.
142 parts1CERN-OHL-S-2.0 - 2 layers46.1 × 18.7 mm

Questions
How big is the Pentesting rd schematics PCB?
It measures 19 × 44 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Pentesting rd schematics use?
22 parts, built around the STM32F042C6T6, TF-01A, USBLC6-2SC6 and XC6206P332MR-G. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Pentesting rd schematics KiCad files?
From the 51n0nGG0/pentesting_rd repository on GitHub, at the commit this page was made from: the board is pentesting_rd_schematics/pentesting_rd_schematics.kicad_pcb and its schematic pentesting_rd_schematics/pentesting_rd_schematics.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Pentesting rd schematics design in my own project?
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).