LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 06-15-2005, 11:46 AM   #1
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 48
Encrypted HD, forever?


would it be possible to encrypt the entire HD, from boot to shut down? Like have it encrypted so no one else would be able to do anything w/ it at all? Encrypting all the binaries and stuff, and when you turn on you comp. you get prompted for the password, if unable to give it in 3 tries, the comp. shuts down? I'm thinking about a Sci./Tech. Fair project for physics next year. Would I be able to put something to ask for the password in the boot sector?
 
Old 06-15-2005, 12:14 PM   #2
AlexV
Member
 
Registered: May 2004
Location: New Lenox, IL
Distribution: Fedora Core 4; Ubuntu 5.10 (Breezy Preview); CentOS 4
Posts: 81

Rep: Reputation: 15
Linux Journal has had some good articles on that kind of thing:

Using CFS, the Cryptographic Filesystem
Encrypted File Systems
Encrypt Your Root Filesystem

None of those are quite as extreme as the scenario you suggested, but at least it's a starting point! Google around a bit. I'm sure there's more where this came from...

Hope that helps!
 
Old 06-16-2005, 09:07 AM   #3
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445

Original Poster
Blog Entries: 9

Rep: Reputation: 48
I read those articles, anyone else got ideas about the bootsector? The articles mentioned using an initrd, and carrying that on a thumbdrive. It would then require that you boot off the thumbdrive. I don't necesarilly want to have to plug in a thumbdrive everytime I wanna boot. However, that would allow for plausible deniability. If there was no thumbdrive, it would boot Windows off the HD. Other thoughts? What do you know about StegFs?
 
Old 06-16-2005, 09:31 PM   #4
AlexV
Member
 
Registered: May 2004
Location: New Lenox, IL
Distribution: Fedora Core 4; Ubuntu 5.10 (Breezy Preview); CentOS 4
Posts: 81

Rep: Reputation: 15
Quote:
Originally posted by microsoft/linux
[B However, that would allow for plausible deniability. If there was no thumbdrive, it would boot Windows off the HD. Other thoughts?[/B]
Plausible deniability? Whoa... what exactly are you working on? Just remember: When the men in black come to take you away, I had nothing to do with it

Ah, well. The next PATRIOT ACT revision will most likely ban civilian cryptography in the the Land of the Free, and then it won't matter, now will it?

Last edited by AlexV; 06-16-2005 at 09:32 PM.
 
Old 06-17-2005, 09:46 AM   #5
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445

Original Poster
Blog Entries: 9

Rep: Reputation: 48
Quote:
Ah, well. The next PATRIOT ACT revision will most likely ban civilian cryptography in the the Land of the Free, and then it won't matter, now will it?
Very very true. However, at that point, we move to Canada! I'm not working on anything overly secretive, just something to play w/. Other thoughts? I'm kinda into cryptography, and numbers, and math, and computers in general
 
Old 06-17-2005, 10:46 AM   #6
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
Check the Linux From Scratch hints section - I recall there being an article in there on using GPG to encrypt filesystems.
 
Old 06-17-2005, 11:05 AM   #7
Glas
Member
 
Registered: Aug 2004
Location: Atlanta, GA
Distribution: Slackware, PC-BSD v0.6, FreeBSD v5.3
Posts: 82

Rep: Reputation: 15
The problem is you can't encrypt the files on the MBR or your system wouldn't boot. Doing some research I did find this link. It discusses seeting up LILO passwords and actually removing LILO from your HDD and putting it on a Floppy as well as setting a password on it. There are also hardware solutions to your question. Within some BIOSs there are options to set HDD passwords. These can't be cleared by removing the CMOS battery and are actually encoded within the HDDs firmware.
 
Old 06-17-2005, 06:56 PM   #8
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445

Original Poster
Blog Entries: 9

Rep: Reputation: 48
I appreciate all the help. I haven't looked into BIOSes, that would theoretically replace the need to use a thunbdrive to boot. What about GRUB? Would you be able to set up GRUB's passwords? I'm kind of looking for a way to have the computer not even boot if the incorrect password is given at startup. Other thoughts?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH take FOREVER doralsoral Linux - Software 1 10-19-2005 03:17 PM
Turning off screenblanking FOREVER ? jdaniel Linux - General 9 03-08-2004 11:31 AM
Possible to lock out interrupts forever? skywalker27182 Linux - Newbie 3 02-04-2004 07:12 AM
How to mount forever Thaith Red Hat 3 11-16-2003 07:11 PM
How to imigrate to linux forever Madmanator Linux - Newbie 10 04-17-2003 10:35 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 01:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration