USBkill is a small Python script that users can download and run on any machine. The script monitors the computer for changes in state on the USB ports, like when someone removes or plugs in a USB drive. If a state change is detected, the script then will disable the machine immediately. The tool could have a wide range of uses, especially for anti-forensics applications. The possibility of needing to protect against forensic examination of a laptop has become quite real in recent years for many people.
Source: https://threatpost.com/usbkill-script-can-render-computers-useless/112622/