From a96d2c90c5cdb7f702ad166d81657b399598d540 Mon Sep 17 00:00:00 2001 From: egieb <93350544+beigeworm@users.noreply.github.com> Date: Wed, 12 Jun 2024 18:17:14 +0000 Subject: [PATCH] Add files via upload --- BadUSB-Detect-and-Protect/README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 BadUSB-Detect-and-Protect/README.md diff --git a/BadUSB-Detect-and-Protect/README.md b/BadUSB-Detect-and-Protect/README.md new file mode 100644 index 0000000..3f172ea --- /dev/null +++ b/BadUSB-Detect-and-Protect/README.md @@ -0,0 +1,17 @@ +# 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 30 seconds. +If there are 13 or more keypresses detected within 200 milliseconds it will pause all input for 10 seconds and attempt to disable the most recently connected USB device + +**USAGE** + +1. Run the script and follow instructions +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. + +**REQUIREMENTS** + +Admin privlages are required for removing any suspected devices (you can re-enable devices too)