USB Army Knife – the ultimate close access tool for penetration testers and red teamers.
🚀 USB Army Knife v2 is steeping — and its going to be a beast
After two years of active development on v1, v2 is planned to turn the USB Army Knife into a full red-team platform in your pocket. A big announcement is coming this autumn but I still wanted to tease:
- Brand-new web UI — smaller, faster, sleeker & multilingual, with a built-in VNC viewer to watch and drive the target straight from your browser. This won't be tied to any web tools like today so anyone can change it.
- New UAK Scripting engine — DuckyScript v3-compatible, but goes way beyond what DuckyScript 3 can do with full string and return code support. This makes writing neater and more robust payloads much easier.
- New cross-platform Agent for Windows, Linux and macOS — live VNC, microphone capture and maybe even network access over the USB serial link.
- Many new capabilities — Brand new functionality across networking, files, captive portal, bluetooth and many more! USB 2.0 for faster throughput with read-only and read-write containers!
- AI-ready — an MCP server with a real UAK script validator so your AIs can write and check payloads before they hit the device.
A ton of this work has now been completed and I've been busy working with hardware that will be powerful enough to run this new platform. What's clear is that the dongle that started this project won't be able to handle the newer V2 features. But I for one love its form factor. What I'm sure of is that v2 will take UAK make one tiny stick that scripts itself, picks its target, controls the device, hears the room, and maybe can even talk to its siblings...
Compact and versatile, this device packs a punch with its extensive capabilities, including USB HID attacks, mass storage emulation, network device impersonation and WiFi/Bluetooth exploits (thanks to our forked version of ESP32 Marauder).
Complete control over how and when your payloads are run. Plug in and execute, leave behind and trigger over WiFi, run on a timer or build a Hollywood-esq UI. Manage and deploy your attacks effortlessly using just a phone using a user-friendly Bootstrap web interface.
Want more? Deploy the agent and execute commands even when the machine is locked. Working over the serial interface egress is incredibly hard to detect. You can even view the victims screen over the devices' dedicated WiFi connection.
Equip yourself with the USB Army Knife and elevate your local access toolkit to the next level.
"Your device is evil. You are doing evil." - Mr. Peoples via X
There is a problem with physical access/USB attacks today. On their own, each attack doesn't provide enough of a solution to meet most objectives.
What was needed is a physical access platform that enables a suitable rogue to take the best bits of each attack and workaround their respective problems with another attack. Ideally this platform would be so cheap and covert that losing one wouldn't be an issue.
This is why I decided to create the USB Army Knife.
This video shows how the ultimate rick roll works
https://github.com/user-attachments/assets/f373e18e-5cad-4871-9f2a-17523fa33398
This video shows how the USB PCAP functionality and has a brief peak at the web interface
https://github.com/user-attachments/assets/0d5b1485-b808-46c6-aaf7-7cf016088b8f
This video shows how to pull the victims machine once the agent has been installed
https://github.com/user-attachments/assets/3c866d29-ef26-4eaf-943b-1206b8c40101
This project implements a variety of attacks based around an easily concealable USB/WiFi/BT dongle. The attacks include sending BadUSB (USB HID commands using DuckyScript), appearing as mass storage devices, appearing as USB network devices, and performing WiFi and Bluetooth attacks with ESP32 Marauder. Attacks are deployed using a Ducky-like language you probably already know and love. This language has been agumented with a raft of custom commands and even the entire ESP32 Marauder capability (improved). Attacks include:
| Name | Description |
|---|---|
| Covert Storage | Example showing how to masquerade as two different USB mass storage devices. The first time the device is plugged in the devices appears with the full contents of the micro SD card. In all subsequence attempts a different 'benign' drive appears. |