Offensive Security Active educational-only
⚡ Evil Spark
Digispark USB HID attack chain proof-of-concept for educational purposes — demonstrates C++ Arduino sketches, Apache server setup, and PowerShell stagers.
C++ArduinoPowerShellShellApache
Overview
Evil Spark is an educational proof-of-concept demonstrating USB HID (Human Interface Device) attack chains using the Digispark microcontroller. It illustrates how physical access attacks work in real-world red team scenarios.
⚠️ Educational Disclaimer
This project is strictly for educational and authorized security testing purposes. Unauthorized use of HID attack tools against systems you do not own or have permission to test is illegal and unethical.
Attack Chain
- Digispark C++ Sketch — Arduino-based HID payload that types commands at machine speed
- Apache Server Setup — serves the secondary payload for download
- PowerShell Stager — executes the final payload on the target Windows machine
Components
sketch.ino— Digispark Arduino sketch with keystroke injectionserver/— Apache configuration and payload hostingstager.ps1— PowerShell download-and-execute stager
Learning Objectives
- Understanding USB HID attack vectors
- Physical security awareness
- Defense strategies against keystroke injection attacks
- Importance of USB port security policies