Welcome, Guest! Log In | Create Account

Data Self-destruct

Encrypting information and help

Moderator: fulgas

Data Self-destruct

Postby untermensch666 » Sat Nov 29, 2008 8:51 am

A few years a go I found the source code for a small program that monitors a serial
port and shutsdown the computer when a button is pushed. I modified it to detach an
encrypted disk in the event that physical security of my file server was breached.

It can be modified to destroy your data, lock sectors, logs and key file.
most will just want to unmount and detach the disk :-)

Code: Select all

/*change the below commands to destroy your data.*/

   system("/sbin/umount /mnt/YOUR DISK");
   system("/sbin/geli detach -f /dev/YOUR DISK");
   exit (0);


Im using gbde, but this can be made to work with GELI
buy changing the detach command to something appropriate
to your setup.

YOU WILL HAVE TO EDIT tripwire.c TO MAKE THIS WORK
ON YOUR SYSTEM!!!

close the circuit for a second or two, to activate your security
measures, hook it up to a bulding alarm system, remote control
a switch on your closet door. Just about anything will work.
Attachments
tripwire.zip
source code (Makefile fixed)
(5.72 KiB) Downloaded 41 times
circuit.gif
circuit diagram.
circuit.gif (2.29 KiB) Viewed 1366 times
Last edited by untermensch666 on Sun Nov 30, 2008 8:07 pm, edited 9 times in total.
untermensch666
 
Posts: 3
Joined: Sat Nov 29, 2008 8:28 am

Re: Data Self-destruct

Postby danmero » Sat Nov 29, 2008 12:11 pm

FreeNAS use /sbin/geli

Note: Edit your post and upload/attach your rar file(you can upload up-to 100KB attachments).
No support via PM system - use the forums please.
Running the latest nightly build of 0.7 embedded(i386).
Regards,
丹 ™
Important: Everyone should read at least once in their lifetime
How To Ask Questions The Smart Way
User avatar
danmero
Moderator
 
Posts: 2740
Joined: Thu Oct 16, 2008 3:56 pm
Location: 25.128 55.147


Return to Encryption

Who is online

Users browsing this forum: No registered users and 1 guest