Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tethik/luks-remote-wipe

Prototyping remote wipe functionality for linux via LUKS
https://github.com/tethik/luks-remote-wipe

Last synced: 4 days ago
JSON representation

Prototyping remote wipe functionality for linux via LUKS

Awesome Lists containing this project

README

        

# luks-remote-wipe

This program attempts to remove the keyslots used by Linux's CryptSetup disk encryption utility, effectively
leaving a disk encrypted with an unknown master key.

Use cases:

1. Stolen computers that somehow had disk encryption bypassed via e.g. weak passphrase or having been left unlocked.
2. Admins needing to remotely shut down online compromised computers e.g. from rogue employees or hacked.

🚨⚠️ Use with caution! This program will cause you to lose your data. Don't run this with sudo.

# Requirements

This program is currently only intended to run on LUKS-encrypted Linux setups.

# Dependencies

Requires libcryptsetup-dev to compile

```
$ sudo apt install libcryptsetup-dev
```

# Manual wipe of LUKS

```sh
cryptsetup luksDump /dev/nvme0n1p3 # see keyslots
cryptsetup -v luksKillSlot /dev/nvme0n1p3 1 # destroy key at slot 1, etc.
cryptsetup -v luksKillSlot /dev/nvme0n1p3 2
# ..
```