Skip to content

This killswitch will carry out chosen actions when a usb change is detected.

License

Notifications You must be signed in to change notification settings

nthpyrodev/usb-killswitch-but-better

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

USB Kill Switch

This project is designed for whistleblowers/journalists in oppressive regimes. Please keep in mind that the Linux version is not ready, so stick with the Windows version for now. It would be great if anyone could contribute to this project though!

The Windows version ends with a w, while the Linux version ends with a l.

How to run

Prerequisites:

  • Python installed
  • These modules installed: tkinter subprocess threading time platform os sys types Note that most of these modules should be there by default
  • Admin access to the computer

First option: Put the Python script onto the designated USB. This script is loaded into RAM, so that once armed, if the designated USB containing the script is pulled out, then the killswitches can still activate.

Second option: Put the Python script anywhere you want. It will detect any type of change, whether it be storage, periphals, etc, and trigger the killswitches. This is useful if a mouse jiggler is inserted to keep the computer awake.

Features

  • Dismount VeraCrypt volumes
  • End specified processes
  • Delete or overwrite specified files
  • Turn off screen
  • Lock OS
  • Shutdown
  • Execute custom commands such as python3 something.py or any command that can be run on Windows
  • Trigger killswitch on specified USB pull
  • Trigger killswitch on any device change
  • Button must be pressed 5 times to disarm any killswitch, to avoid accidental presses.
  • Log for viewing changes.

Notes

If the killswitch gets triggered, then you must disarm then rearm again to reactivate it.

image

About

This killswitch will carry out chosen actions when a usb change is detected.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages