This USB-C charging cable looks identical to a normal charging cable, the only difference is it can execute keystroke injection attacks when connected to a computer!
It automatically registers itself as a keyboard and sends pre-configured key-strikes (payloads) to the machine that it is connected to, allowing you to execute a large number of attacks to harvest information or even gain full control over the target device.
The ATtiny85 is neatly disguised inside an ordinary looking USB-C charging cable.
Manual Installation (Windows)
- Download and install the latest Arduino IDE for your Windows version.
-> Double-click the downloaded file.
-> Agree to the License Agreement
-> Leave the default options checked in the Installation Options step and click Next.
-> Install in the default Destination Folder
-> During the installation you may receive a prompt to install the Arduino USB Driver. Click Install. - Download and install libusb. At the end of the setup uncheck “Launch filter installer wizard” and click Finish.
- Open the Arduino IDE from the Desktop / Start Menu.
- Click File >> Preferences
- Paste the following into the Additional Boards Managers URLs and click ok: http://drazzy.com/package_drazzy.com_index.json
- Go to Tools >> Board >> Boards Manager and search for “ATTinyCore by Spence Konde”. Click install on the entry.
- Tools >> Board >> ATTinyCore select “ATTiny85 (Micronucleus / DigiSpark).
The environment is now set up and ready.
Manual Installation (Linux)
- Download the latest Arduino IDE AppImage for your Operating System.
- Make the downloaded file executable and open the Arduino IDE.
- Click File >> Preferences.
- Paste the following into the Additional Boards Managers URLs and click ok:
http://drazzy.com/package_drazzy.com_index.json
- Go to Tools >> Board >> Boards Manager and search for “ATTinyCore by Spence Konde”. Click install on the entry.
- Tools >> Board >> ATTinyCore select “ATTiny85 (Micronucleus / DigiSpark).
The environment is now set up and ready.
Uploading a payload
Once setup, uploading a payload is very easy.
Simply go to Sketch >> Upload.
Once the Sketch is compiled, you will receive a prompt to plug in the device:
Running Digispark Uploader... Plug in device now... (will timeout in 60 seconds)
Notes:
- The USB cover is easily removable to allow access to the chip. Grip the USB end carefully when inserting and removing.
- USB devices connected to the cable will not be able to send or receive data to or from the target computer.
- Example payloads available here.
Reviews
There are no reviews yet.