USB Keystroke Injection Protection Logo

USB Keystroke Injection Protection

0
Free
543
09 Jul 2023
10 September 2025
Visit Website

This tool is a daemon for blocking USB keystroke injection devices on Linux systems. It supports two different modes of operation: monitoring and hardening. In monitor mode, information about a potentially attacking USB device is collected and logged to syslog. In hardening mode, the attacking USB device is ejected from the operating system by unbinding the driver. Installation Prerequisites: The installation is mainly handled by setup.sh, however, there are some prerequisites that need to be adjusted before running the script: Install Python3.7 or later, python dev package, virtualenv (python3-venv) and PIP3 (python3-pip) if not already available on the system. Adjust the KEYSTROKE_WINDOW variable on top of the setup.sh file. This is the number of keystrokes the daemon looks at to determine whether its dealing with an attack or not. The lower the number, the higher the false positives will be (e.g., if the number is 2, the tool looks at only 1 interarrival time between those two keystrokes to determine whether it's an attack or not. Obviously, users sometimes hit two keys almost at the same time, which leads to the aforementioned false positives.

FEATURES

EXPLORE BY TAGS

SIMILAR TOOLS

NordVPN is a commercial VPN service that encrypts internet connections and hides IP addresses through a global network of servers, featuring integrated threat protection and multi-device support.

A free, open-source network protocol analyzer for capturing and displaying packet-level data.

Tor Browser is a free and open-source software that allows users to browse the internet anonymously and privately.

Snort is an open source intrusion prevention system that uses rules to detect and prevent malicious network activity.

A blog sharing packet capture files and malware samples for training and analysis, with archived posts and traffic analysis exercises.

Tcpreplay is a suite of Open Source utilities for editing and replaying captured network traffic.

A Linux command-line tool that allows you to kill in-progress TCP connections based on a filter expression, useful for libnids-based applications that require a full TCP 3-way handshake for TCB creation.

Unfurl is a URL analysis tool that extracts and visualizes data from URLs, breaking them down into components and presenting the information visually.

A Bluetooth 5 and 4.x sniffer using TI CC1352/CC26x2 hardware with advanced features and Python-based host-side software.

PINNED

RoboShadow Logo

A cybersecurity platform that offers vulnerability scanning, Windows Defender and 3rd party AV management, and MFA compliance reporting, among other features.

Vulnerability Management
Proton Pass Logo

Proton Pass is a cross-platform password manager that provides encrypted storage, password generation, and security monitoring features with integrated 2FA and dark web monitoring capabilities.

Data Protection
NordVPN Logo

NordVPN is a commercial VPN service that encrypts internet connections and hides IP addresses through a global network of servers, featuring integrated threat protection and multi-device support.

Network Security
Mandos Logo

Fractional CISO service that helps B2B companies implement security leadership to win enterprise deals, achieve compliance, and develop strategic security programs.

Consulting
CybersecTools logoCybersecTools

Explore the largest curated directory of cybersecurity tools and resources to enhance your security practices. Find the right solution for your domain.

Operated by:

Mandos Cyber • KVK: 97994448

Netherlands • contact@mandos.io

VAT: NL005301434B12

Copyright © 2025 - All rights reserved