BadUSB Security Toolkit

Kode Team
Advanced23 views
securitybadusbduckyscripthid

Advanced security research tool using Kode Dot's native USB and DuckyScript interpreter. For authorized penetration testing only.

Overview

This project transforms the Kode Dot into a BadUSB security research tool. Using the ESP32-S3's native USB HID capabilities, it can emulate a keyboard and execute DuckyScript payloads.

Warning: This tool is intended for authorized security testing only. Always obtain proper permission before testing on any system.

Capabilities

  • USB HID keyboard emulation
  • DuckyScript interpreter
  • Payload management via touchscreen
  • Wi-Fi exfiltration channel

DuckyScript Engine

// DuckyScript interpreter (simplified)
void executeLine(String line) {
  if (line.startsWith("STRING ")) {
    Keyboard.print(line.substring(7));
  } else if (line == "ENTER") {
    Keyboard.press(KEY_RETURN);
    Keyboard.releaseAll();
  } else if (line.startsWith("DELAY ")) {
    delay(line.substring(6).toInt());
  }
}