Full Disk Encryption - Xen, Windows and Linux?
Bofh To asks: "I'm in an industry that, more or less, requires full disk encryption, and to accomplish this, we use Pointsec on Windows. For the past 8 years, I've been running Linux on my work laptop, and this is the first time I'm running in a Windows only environment. I am interested in changing that, because I want to use Linux as my main platform, and only drop in to Windows when necessary (and use crossover if at all possible). I'm also interested in Xen, and would like to see if I can use that to virtualize Windows under Linux. My thought is that, as long as Pointsec is in dom0 and I use virtual disks for the Windows VM, I should be covered. The problem is that I'd also like a machine that is usable, as opposed to waiting endlessly as the virtual memory, virtual machine, pointsec, and xen all thrash around while I'm working on the machine. Has anyone used Pointsec for Linux, with Xen? "
I know you asked about people using pointsec with Linux, but have you considered using the device mapper to do hard disk encryption for you? On my laptop, I have the entire hd encrypted using aes and sha256, using the kernel's dm-crypt abilities and the cryptsetup program. To do this, you need to have a small partition to boot from that contains the kernel (and an initramfs if you don't build it into the kernel). From there you unencrypt the drive, pivot root, and continue booting. Additionally, if your intent is to run the virtual windows encrypted, you can use cryptsetup to manage the the device or files to keep the windows files on. There are many good tutorials on using dm-crypt, and can definitely tell you more than I can easily explain.
I have not tried out Pointsec yet, but its a solution my company sells so I should learn it :) I certified myself in PGP, which unfortunately does not support full disk encryption on Linux, just Windows and soon OSX... It also does not support dual boot on Windows. (its a shim into ntloader - but after the actual boot loader the 'pgp' os which asks for the decryption key during boot is linux, so I KNOW they have linux expertise...)
I kind of like the roll your own approach to the Linux full disk encryption scenario, but most large organizations balk at anything thats not a commercial solution
Cybie! aka Ralph Bonnell
that if you're using this for business, and it's a piece of software that's fairly prolific within your organization, you might well be able to obtain a trail copy, to experiment with. At the very least registering so you had access to their resource pages would seem like to be something to be explored. Baring that, if you're married to this way of doing things, I would imagine a laptop with a hybrid HD would give you the performance boot to offset the losses from the "thrashing."
The latest version of Debian Stable, codenamed 'Etch', has the ability to set up a fully-encrypted system (except for /boot of course) right from the installer.
It's amazingly simple to use, and great for laptops. (I'm running it on my dual-core laptop)
Check it out: http://www.us.debian.org/CD/
Peace sells, but who's buying?
I always find these types of "Ask Slashdot" amusing. People ask about what security product to use in their enterprise, how it will work with Linux etc etc. All perfectly valid questions, but utterly pointless in a corporate context because guess what? It's the Information Security Policy (& CISO) which will dictate who can and can't authorise new encryption products, changes to production environments, installation of non-standard baseline software (and the list goes on & on). If the OP really does work in an industry where disk encryption is needed (I'm going to take a wild stab in the dark and say s/he's probably in healthcare where HIPPA is concerned, maybe within a financial environment for GLBA/SOX, but even then it's a complex minefield of compensating controls and regulations which don't actually *require* encryption), then s/he should be consulting the Information Security Officer for advice, not asking Slashdot and lining themselves up for being fired for breaching policy.
I have seen a product for FDE for Linux, although its not open sourced at all. CE-Infosys's Compusec. The nice thing, its usable at no charge, so it may be worth a look on a non-production box. However, I don't know much about it, and have not tested it.
I'm also interested in Xen, and would like to see if I can use that to virtualize Windows under Linux.
I'm not sure about that, but I'm sure Xen would be a great place to store backups to keep them from prying eyes. Who needs encryption when you have a low-gravity parallel dimension as a safe-deposit box?
The theory of relativity doesn't work right in Arkansas.
They have a Linux version. Then your virtualized Windows image will also be encrypted. BTW, for virtualizing Windows, I'd recommend you get a copy of VMWare, rather than using Xen. The open source virtualization tools are coming along, but at this point in time VMWare will perform much better.
Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
It kind of sounds like the poster is stuck with pointsec, and bearing in mind his "industry" requires full disk encryption. I'd imagine he probably doesn't get much choice how its done.
Alex
If you can accept just having some partitions encrypted, TrueCrypt is wonderful.
Is full disk encryption a good idea? With the operating system within the encrypted partition, it gives a LARGE amount known plaintext to mount an
attack.
I sort of wish FDE were more common with UNIXs, where the only real point of attack would be the small amount of code in the MBR. With a TPM chip, even that is protected, so an attacker would have to physically disassemble the TPM chip and pull the key out of its physical RAM cells (which is pretty hard on even an unprotected chip, unless you are a large corp or government with an up to date chip fab.) /boot can be compromised fairly easily with a clever keylogger and some way to store the decryption key covertly until picked up by an attacker. Carrying a "trusted" USB stick or a CD with /boot on it is a kludge. There needs to be a solution out there which narrows the amount of code that can be attacked to the small amount of boot code that takes the password (or decrypts the main hard disk key on an eToken or similar) then passes control to the OS for the rest of the boot process. Preferably, this code can use a TPM chip if its present to ensure that that small attack surface isn't tampered with.
This is not to say that FDE programs are easy to write. They need a number of major components to be written, and the components have to be rock solid. First, is the MBR code that takes the password or token, decrypts the volume key, then passes control to the OS for the rest of the boot process. Second is the low level kernel driver that has to be loaded before filesystems get a chance to load, and be 100% transparent with all reads and writes. Lastly, there is the control program which encrypts/decrypts the disk, and allows for password changes. All this needs to be virtually 100% bug free, else people will suffer massive data loss on a routine basis.
However, with all the new corporate regs coming out REQUIRING full disk encryption on not just laptops, but sensitive servers and even some workstations, Linux, BSD, and MacOS will need to start getting a solution to this soon, else they will end up getting edged out of workplaces by Windows, not for technical merit, but legal.
We just finished evaluation of a number of products as we also require full disk encryption. We are purchasing BestCrypt from Jetico. It also handles encryption of pagefile, swap files, swap partitions, and hibernation files.
Here is a general overview of the steps needed to set this up on Debian. Also take note of the responses from Sander.
It is probably more than you are looking for, since it doesn't sound like you want RAID. But that part is easily skipped. The LVM part I would keep, as logical volumes will make managing the virtual machines that much easier.
Actually, a lot of this (the LVM and encryption parts) should be doable from the Debian 4.0 installer.
These are apparently finally shipping
v =1
http://biz.yahoo.com/prnews/070312/sfm025a.html?.
Seagate's Momentus 5400 FDE.2 (Full Disc Encryption) hard drive features perpendicular recording technology to deliver up to 160GB of capacity, a fast Serial ATA interface, and hardware-based AES encryption