samyk/usbdriveby
USBdriveby exploits the trust of USB devices by emulating an HID keyboard and mouse, installing a cross-platform firewall-evading backdoor, and rerouting DNS within seconds of plugging it in. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4277
- days_rel: n/a
- days_push: 3521
- n_releases_24m: 0
Adoption not part of the score
1263 stars · 277 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
USBdriveby is an Arduino/Teensy microcontroller project that emulates a USB HID keyboard and mouse to covertly install a backdoor, evade firewalls, and reroute DNS on an unlocked machine within seconds of being plugged in. It is a security research proof of concept demonstrating the blind trust operating systems place in USB devices.
Use cases
- demonstrate badusb hid keyboard and mouse attacks
- test whether a firewall blocks keystroke-driven backdoors
- learn how usb devices exploit os trust
- build a teensy usb attack payload
- security awareness training on usb drop attacks
- evaluate endpoint defenses against hid emulation attacks
When to choose
- you want a well-known educational proof of concept for USB HID attacks on macOS
- you need reference code for Teensy/Arduino keyboard and mouse emulation payloads
When to avoid
- you need a maintained or updated tool - the last release was 2017
- you want a production penetration-testing toolkit rather than a demonstration
- you target platforms other than macOS without writing your own payload extensions
Facets
application · maturity abandoned
security reverse-engineering penetration-testing embedded security hardware penetration-testing embedded cross-platform badusb hid-emulation teensy arduino usb-exploit hardware-hacking proof-of-concept macos
2 sources
- readme: https://github.com/samyk/usbdriveby · fetched 2026-08-28 · b1d824f2cc11
- homepage: https://samy.pl/usbdriveby/ · fetched 2026-08-29 · 0306cdd5d676
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| samyk/usbdriveby | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="samyk/usbdriveby")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem