All Projects → parazyd → protecc

parazyd / protecc

Licence: GPL-2.0 license
Linux kernel module to fight against police terror

Programming Languages

c
50402 projects - #5 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to protecc

LinuxKernelLearn
Learn Linux Kernel Step by Step, including the Modules, FS, Device Driver etc. --- Linux内核学习,包括Linux各模块,文件系统,设备驱动文件等。
Stars: ✭ 37 (+48%)
Mutual labels:  kernel-module, linux-kernel
Umbra
A LKM rootkit targeting 4.x and 5.x kernel versions which opens a backdoor that can spawn a reverse shell to a remote host, launch malware and more.
Stars: ✭ 98 (+292%)
Mutual labels:  kernel-module, linux-kernel
execmon
Advanced process execution monitoring utility for linux (procmon like)
Stars: ✭ 77 (+208%)
Mutual labels:  kernel-module, linux-kernel
ezEmu
See adversary, do adversary: Simple execution of commands for defensive tuning/research (now with more ELF on the shelf)
Stars: ✭ 89 (+256%)
Mutual labels:  linux-security
mbp-fedora-kernel
No description or website provided.
Stars: ✭ 57 (+128%)
Mutual labels:  linux-kernel
Linux-Kernel-Driver-Programming
Implementation of PCI drivers, kprobe, sysfs, devfs, sensor driver, miscdevices, synchronization
Stars: ✭ 43 (+72%)
Mutual labels:  linux-kernel
linux-4.8.0-netfilter icmp
Anatomy of a linux kernel development
Stars: ✭ 26 (+4%)
Mutual labels:  linux-kernel
dell-xps-15-kernel-config
A minimalist Linux .config for Dell XPS 9560 (2017 edition).
Stars: ✭ 14 (-44%)
Mutual labels:  linux-kernel
lkm-sandbox
Collection of Linux Kernel Modules and PoC to discover, learn and practice Linux Kernel Development
Stars: ✭ 36 (+44%)
Mutual labels:  linux-kernel
awesome-gnu-linux-gaming
A curated list of awesome GNU/Linux tips & tricks, games, tools, and resources - Mirrored from: https://gitlab.com/linuxcafefederation/awesome-gnu-linux-gaming.git
Stars: ✭ 135 (+440%)
Mutual labels:  linux-kernel
linux-insides-ja
Japanese version of linux-insides book
Stars: ✭ 99 (+296%)
Mutual labels:  linux-kernel
ebpfkit-monitor
ebpfkit-monitor is a tool that detects and protects against eBPF powered rootkits
Stars: ✭ 80 (+220%)
Mutual labels:  linux-kernel
gallagher-research
Research on the Gallagher / Cardax access control system
Stars: ✭ 48 (+92%)
Mutual labels:  physical-security
demos-linux
Demos for instruction and exploration of the Linux C/C++ API
Stars: ✭ 78 (+212%)
Mutual labels:  kernel-module
natick
natickOS - A minimal, lightweight, research Linux Distribution
Stars: ✭ 33 (+32%)
Mutual labels:  linux-kernel
linux-insides Turkish
Turkish version of linux-insides book @0xAX
Stars: ✭ 65 (+160%)
Mutual labels:  linux-kernel
kernel pendulum sdm845
Pendulum Kernel (old Rebirth) based on LE.UM.3.2.2.r1.1 CAF with google-common merged in for Xiaomi Poco F1 and Mi 8 with LTO, CFI and SCS enabled.
Stars: ✭ 9 (-64%)
Mutual labels:  linux-kernel
ebpfkit
ebpfkit is a rootkit powered by eBPF
Stars: ✭ 472 (+1788%)
Mutual labels:  linux-kernel
rtw88-usb
rtw88 family usb driver for linux rtl8723du rtl8822bu rtl8821cu rtl8822cu
Stars: ✭ 40 (+60%)
Mutual labels:  linux-kernel
android kernel xiaomi whyred
🐧 Linux kernel sources for Redmi Note 5 Pro/AI (whyred) • https://telegra.ph/Rad-Kernel-Sources-whyred-09-04
Stars: ✭ 31 (+24%)
Mutual labels:  linux-kernel

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].