Skip to content

establishing a USB kill switch

Warning

The purpose of a USB kill switch is to protect a system from unwanted access. By design, it is capable of shutting a machine down without warning, and is likely to cause data loss.

In Kubuntu, download and extract the USBKill GitHub repository, navigate to it in a terminal, use sudo python setup.py install to install it, verify the installation with sudo usbkill --version, and then run it with sudo usbkill. The USB ports will now be monitored for connections or disconnections, and any changes will trigger a shutdown.

licensing

No rights reserved: CC0 1.0.

prior work

The method of installing and verifying the installation of USBKill was introduced to me by a comment on GitHub by marcus-cr.