Skip to content

Files

Latest commit

 

History

History

BadUSB-Detect-and-Protect

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

BAD USB DETECTION AND PROTECTION

SYNOPSIS

This script runs passively in the background waiting for any new usb devices. When a new USB device is connected to the machine this script monitors keypresses for 60 seconds. If there are 13 or more keypresses detected within 200 milliseconds it will pause all inputs for 20 seconds.

USAGE

  1. Edit Options below (optional) and Run the script
  2. A pop up will appear when monitoring is active and if a 'BadUSB' device is detected
  3. logs are found in 'usblogs' folder in the temp directory.
  4. Close the monitor in the system tray

REQUIREMENTS

Admin privlages are required for pausing keyboard and mouse inputs