GithubHelp home page GithubHelp logo

parazyd / protecc Goto Github PK

View Code? Open in Web Editor NEW
28.0 4.0 2.0 10 KB

Linux kernel module to fight against police terror

License: GNU General Public License v2.0

Makefile 6.45% C 93.55%
police-terror killswitch physical-security kernel-module linux-security linux-kernel

protecc's Introduction

protecc

protecc is a Linux kernel module that will shut down your computer when a predefined USB device is removed from the system.

It is based on silk-guardian which itself is based on usbkill. However, it operates in an inverse way to its predecessors: instead of panicking based on any USB activity, protecc is designed to only watch for the removal of one defined USB key before going into panic mode.

Installation

First edit config.h with your preferred setings. Most importantly, make sure you set your chosen USB's device ID correctly. Then compile and install the kernel module:

make
insmod protecc.ko

Why?

https://web.archive.org/web/20180613183514/https://www.ccn.com/fbi-illegally-stole-ross-ulbrichts-laptop-brought-silk-road/

Usage

Using protecc properly requires some physical availability to remove the USB key even when distracted, or the device is being forcefully removed from you.

In theory, it is possible to have a USB device tied around your wrist with some wire or string and then forcefully shut down the computer by moving your arm - making the USB device unplug.

Feature List

  • Shutdown the computer when chosen USB key is removed.
  • Remove files before shutdown.
  • Secure deletion of chosen files before shutdown.
  • No dependencies.

Future extension ideas (exclusive and/or optional)

  • Verification
    • Perhaps some change of USB identify over time
    • Status bits in USB can be changed for steganography
    • All states in USB can be used to make sure the device is the true device
  • Timetracking (allow only certain time of day when the device is allowed to be attached, for a certain amount of time)
  • The device should be disconnected for a certain amount per day

protecc's People

Contributors

parazyd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

xanoni icodein

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.