• Install Arduino from Arduino.cc if not already installed.
  • Open the Arduino IDE and select Arduino Leonardo as the board
  • Copy the script to a text editor

This generates the Arduino code that we will use in the Arduino IDE to upload to the Bad USB device.

  • Now go back to the Arduino IDE and paste in the code from the output in the IDE (user Crlt+A and Crtl+C to copy and Crlt+A and Crtl+V to past the code)
  • Now click the upload button on the Arduino IDE, the code will be compiled and uploaded to the USB stick. (note if you don’t want the code to run on the programming PC, make sure to remove the drive as soon as the upload is complete)
  • The USB is now ready to be used, just needs to be inserted into the target computer.

Your email address will not be published. Required fields are marked *