https://github.com/michael-koll/bad-pico
Turn your Raspberry Pi Pico into a Bad-USB
https://github.com/michael-koll/bad-pico
adafruit-hid bad-usb badusb circuitpython cybersecurity demo hidscript powershell-script raspberry-pi-pico tutorial video
Last synced: about 2 months ago
JSON representation
Turn your Raspberry Pi Pico into a Bad-USB
- Host: GitHub
- URL: https://github.com/michael-koll/bad-pico
- Owner: michael-koll
- Created: 2025-03-26T18:01:10.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-08-12T01:52:58.000Z (10 months ago)
- Last Synced: 2025-08-12T03:34:51.274Z (10 months ago)
- Topics: adafruit-hid, bad-usb, badusb, circuitpython, cybersecurity, demo, hidscript, powershell-script, raspberry-pi-pico, tutorial, video
- Language: Python
- Homepage:
- Size: 65.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bad-pico

# Requirements
- Raspberry Pi Pico
- USB-Type-C to USB-Type-A Cable
# Setup
1. Plug the Raspberry Pi Pico into the USB-A port on your computer while pressing the `BOOT` Button
2. Download the circuit python `.UF2` from https://circuitpython.org/board/raspberry_pi_pico/
3. Copy the `.UF2` file into the root directory of `RPI-RP2`
4. Now the `RPI-RP2` should disconnect and reconnect as `CIRCUITPY`
6. To use the German keyboard layout, copy the two files inside the layout_files_win_gr-py into the `lib` folder of `CIRCUITPY`
(for other languages visit https://www.neradoc.me/layouts/)
8. Copy the folder adafruit_hid into the `lib` folder of `CIRCUITPY`
9. At the end the `lib` folder of `CIRCUITPY` should look like this:
10. Copy the content of payload.py into `code.py` of `CIRCUITPY`
11. Change the `command` within the `code.py` to whatever powershell command you want to run
13. Be careful! As soon as you save the `code.py` file, the payload will be executed on your system!
# Poc Videos
## Simple Caculator Demo
https://github.com/user-attachments/assets/a4a637c1-07b4-407a-ac29-768c91c2f24a
## Reverse Shell Setup via Cloud Server
https://github.com/user-attachments/assets/38869f6d-2439-41f1-a105-40536cdcaed2