openSUSE Forums > Applications » Server disk encryption - feasible?

Go Back   openSUSE Forums > Applications
Forums FAQ Members List Search Today's Posts Mark Forums Read


Applications Questions about desktops (KDE, Gnome, XFCE, etc.), software applications (configuration, usage, bugs, documentation)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-Aug-2009, 06:01
Puzzled Penguin
 
Join Date: Aug 2009
Posts: 33
CanOfWires hasn't been rated much yet
Question Server disk encryption - feasible?

I'm relatively new to Linux disk encryption theory and practice, and am researching it, but would like to hear from experienced users as well.

Disk encryption on a remote server?

The setup I'm considering involves encrypting a partition which will hold Postgres database, on a Xen powered OpenSuse VPS.

What am I trying to accomplish? Prevent curious datacenter techies from seeing the data, if they mount the Xen image. Also, who knows where the discs that fail in RAIDs end up...

I don't know, and so I'm asking, if something like that is worth the trouble, in your experience?

Please note I am concerned here only with protecting from physical access. The data will be available to clients through a webapp, and that's entirely different security story involving strong passwords, SSL, webappsec, etc...

Also note that the sensitivity of data is relative. If I can help it, I'd like to prevent any leakage. If the leakage happens, well, the data is really in the class of Business Secrets, no CC data that would, if leaked, harm a number of people.

I'm just wondering if I should bother at all. One big drawback I see here is that I'd have to manually mount the partition and start the database after each reboot... Not good if the server restarts while I'm not within 5 minutes from logging back in...
Reply With Quote
  #2 (permalink)  
Old 03-Aug-2009, 06:26
Student Penguin
 
Join Date: May 2009
Location: Jakarta, Beijing
Posts: 77
maill hasn't been rated much yet
Default Re: Server disk encryption - feasible?

Hi,
I using luks dm-crypt for disk encryption with RAID, no problem so far.
i don't know whether openSUSE has now supported automount for encrypted disk or not,
but you can do it with debian and ubuntu.
check this page
http://wejn.org/how-to-make-password...ryptsetup.html

HTH
__________________
"And just as you want men to do to you, you also do to them likewise."
Luke 6:31 NKJV
Reply With Quote
  #3 (permalink)  
Old 03-Aug-2009, 06:49
Puzzled Penguin
 
Join Date: Aug 2009
Posts: 33
CanOfWires hasn't been rated much yet
Default Re: Server disk encryption - feasible?

Quote:
Originally Posted by maill View Post
Hi,
I using luks dm-crypt for disk encryption with RAID, no problem so far.
Since the setup I'm considering is a Xen VPS Guest, RAID is really hidden from it, implemented on the host, so the guest does not see it. The issue is then whether guest OS encryption through Xen host RAID is troublesome.


Quote:
i don't know whether openSUSE has now supported automount for encrypted disk or not,
but you can do it with debian and ubuntu.
That kinda defeats the purpose. If the encrypted partitions are automounted, then anyone can simply mount the disk image and boot it.

Thanks for your input, though.
Reply With Quote
  #4 (permalink)  
Old 08-Oct-2009, 04:10
growbag's Avatar
Parent Penguin
 
Join Date: Jun 2008
Location: Köln, Deutschland
Posts: 997
growbag hasn't been rated much yet
Default Re: Server disk encryption - feasible?

lol, no, it asks for the passphrase on boot/mounting.

The only problem with that is rebooting/restarting the server remotely, although I did see someone address that issue somewhere and got it to work.

You can also use a passkey file apparently, ie keep the "key" on, say, a USB stick, and (in theory) it can read the passphrase from there. No USB "key" - no boot!

On my server I use an encrypted /home partition and have my webserver and any other web-related stuff in a sub-folder of /home.

So if someone steals the server, it can boot, but none of the data will be available.

You can also use the "encrypted home folder" option when adding a user through yast (or yast2 gui). That simply creates a great big file of a specified size, but that only mounts when a user logs in. You can get around that by simply mounting it manually if you like. That can also be done remotely.

And thinking about the remote mounting issue, I guess you could also do that for a standard encrypted /home partition quite simply by mounting it manually after boot! Because the prompt asking for the passphrase times-out after about 30 seconds (as a guess), and the machine then continues to boot normally apart from mounting the encrypted partition.

As long as you can get remote access (ssh or even telnet!), then you can manually mount the encrypted partition .
__________________
HP dv6645, Nvidia 8400m-gs, KDE 4.
Reply With Quote
Reply

Bookmarks

Tags
disk encryption, server


Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2