• On MovieTome: The 10 worst movies of 2009 so far!
The Download Blog
advertisement
July 9, 2008 5:01 PM PDT

Encrypt an operating system using TrueCrypt

by Seth Rosenblatt
  • Font size
  • Print
  • 8 comments

TrueCrypt has been the standard for file and folder encryption since 2004, and it doesn't hurt that it's open-source freeware, either. The latest update includes the power to do more than protect the mere output of your work: you can now encrypt and hide an entire operating system using the program's wizard.

TrueCrypt's Hidden Operating System wizard offers a lot of detail on the complicated procedure.

(Credit: CNET Networks)

As the step-by-step guide points out when you start it, one of the reasons you might want to create a hidden OS is in case of extortion. A little paranoia doesn't hurt, either. So, when you create the hidden OS, it also creates signposts to a decoy hidden operating system. The decoy operating system is the only one an outside investigator can discover, since all indicators to the true hidden OS have been removed.

The reason that the decoy is needed is that to boot any system encrypted by TrueCrypt, the hard drive must have the unencrypted TrueCrypt boot loader installed. However, this new version of the program creates the ability for a single boot loader to support more than one encrypted partition. Because the mere existence of the boot loader indicates an encrypted system, the first encrypted volume becomes the dummy one. With no signposts to indicate the second encrypted volume exists, it becomes the hidden one.

The language in TrueCrypt's explanation of how this all works can be a little confusing, but basically the encrypted partition contains two volumes encrypted under different keys, one within the other. The interior volume contains the hidden OS, while the outer one has data that looks sensitive but you're willing to sacrifice to protect the existence of the hidden volume and its operating system.

Here's how it works. The wizard verifies that the necessary partitions exist, with the second one being at least five percent larger than the first. (That number jumps to 110 percent if you're running an NTFS volume.) Assuming you've already partitioned your hard drive, it creates two volumes behind the system partition--an outer one and the hidden one. Eventually, the OS you started the wizard under will become the decoy, but to start you need to copy that handful of super secret-looking files or folders over to the new, second partition.

TrueCrypt then reanalyzes the partition to determine the amount of space needed for the hidden OS, creates the hidden volume, and copies the content of the system partition to it. The process can be interrupted so that users can shut down or reboot their computers. This is important because, TrueCrypt warns, depending on volume size and your computer's performance, the whole process can take anywhere from hours to days.

Yeah, days.

The Hidden Operating System wizard can be accessed from the System menu.

(Credit: TrueCrypt)

The actual copying process will restart, though, if it's interrupted. Still, once it's done, TrueCrypt encrypts the operating system on the first partition, using a different encryption key from the one used to create the hidden OS.

To get started, go to the Menubar and click System, then choose Create Hidden Operating System. The wizard for this option is well detailed, with clear explanations helping you understand what you're doing at each step.

Somebody forcing you to disclose secure files will only find a handful that you've chosen because they look important. These files live on the decoy OS. The wizard creates a new partition and copies the entire OS that exists on the current partition to it. This new partition becomes the hidden OS. In total, users will have three passwords: one for the outer volume, one for the decoy operating system, and one that will allow the hidden operating system to boot.

TrueCrypt is so concerned with your security that it even provides examples of plausible deniability for you to use if your encryption scheme is ever discovered. Given all the recent news about personal data and top-secret government files getting stolen, one would think that companies and the feds would consider investing in TrueCrypt--but it seems like authentic security will have to be left to the casual power user instead.

Seth peers into the deep, dark corners of software so that you don't have to. He has yet to suffer a single nightmare about OS/2. You can follow him on Twitter.
Recent posts from The Download Blog
Get two free audiobooks from Audible
Yahoo Messenger 10 waves bye to 'beta'
Multiple updates for Chrome stable and dev
NBA Basketball and a squishy driving game: iPhone apps of the week
iTunes music library makes its way to the browser
Office 2010 beta leaks early
Google buys Gizmo5 for Google Voice
Microsoft opens online mobile Marketplace
Add a Comment (Log in or register) (8 Comments)
  • prev
  • 1
  • next
by 0zSpit July 9, 2008 5:11 PM PDT
excellent program. aren't the federal agents holding a mans laptop because he won't give them the password to partition z?
Reply to this comment
by x33a July 9, 2008 5:54 PM PDT
excellent post seth, you spent a lot of time on it :)

this program is absolutely a must on multi user systems where privacy might be an issue.
Reply to this comment
by juan jose parodi July 10, 2008 6:40 AM PDT
bien
Reply to this comment
by Aengus_McCallen July 10, 2008 8:55 AM PDT
I am wondering if this would be worth using for a networked school system or if it would turn into an IT nightmare? Any suggestions?
Reply to this comment
by srosenblatt July 10, 2008 11:02 AM PDT
@Aengus:

It sounds like a nightmare, but you might want to check out the TrueCrypt forums and see what they say. Let us know what you find out!
Reply to this comment
by t26l July 10, 2008 9:12 PM PDT
Some please help!! I used TrueCrypt to encrypt a partition on my hard drive (I have three partitions, C: for Vista, D: for my music, and the third encrypted partition). Then using Vista's built-in Disk Management, I removed the drive letter/path to hide the encrypted partition (i.e. You couldn't even see the partition in My Computer until it was mounted in TrueCrypt). This worked beautifully for over a year until last week when a bad install of AnyDVD caused me to need to reinstall Vista, which I did back into the C: partition. Except now, after installing TrueCrypt again, it can no longer see the hidden partition when I attempt to "Select Device" in order to mount it. The encrypted partition is labeled in Disk Management as Unallocated Space, but that doesn't really alarm me because it was like that before when TrueCrypt COULD see it. I think somehow the Vista reinstall hosed my partition map or something... But I really think my files are still there in the "Unallocated Space" since installing Vista in C: should not have touched that space... Anybody have any insight? It would be greatly appreciated!
Reply to this comment
by RHABU July 11, 2008 12:33 PM PDT
i am shoaib form india in gujrat i like this software and satisfied this software thank you very much
Reply to this comment
by Arthur_Douglas November 3, 2009 7:45 AM PST
This is a great tutorial for encrypting the whole system drive. This is the one that I used for just making an encrypted file that you can keep on a flash drive or hidden on your computer to put your personal files in to keep prying eyes away. I keep one of these on the flash drive i carry as well as the usb hdd to keep things safe in case i lose them.
http://smackedbacon.com/?p=146
Reply to this comment
(8 Comments)
  • prev
  • 1
  • next

Search Download Blog posts

About The Download Blog

Download.com editors cover the world of downloadable software and beyond.

Add this feed to your online news reader

The Download Blog topics