Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

TrueCrypt 4.3 Released

Posted by kdawson on Tue Mar 20, 2007 07:12 PM
from the windows-only-alas dept.
RedBear writes "A new update to the best open source transparent encryption software has been released. TrueCrypt is (the only?) open source encryption software capable of creating and mounting encrypted virtual disk images that can then be worked with transparently like any other storage drive, with data encrypted and decrypted in real-time. These virtual disks can be created as files, or entire partitions or physical drives can be encrypted and mounted transparently. Sadly there is still no Linux GUI or Mac OS X port in sight. If you are one of the thronging hordes who have been patiently awaiting ubiquitous multi-platform encryption, please consider donating time or money to the cause, and add your voice to the forum." From the site:"Among the new features [are] full compatibility with 32-bit and 64-bit Windows Vista, support for devices and file systems that use a sector size other than 512 bytes (such as new hard drives, USB flash drives, DVD-RAM, MP3 players, etc.), auto-dismount when a host device (e.g., a USB flash drive) is inadvertently removed, and many more." Read on for more features of TrueCrypt and cached versions of all the links above.

Also including features like plausible deniability, steganographically hidden volumes, unidentifiable partition headers, traveler mode, and your choice of the strongest available encryption algorithms up to and including multi-algorithm cascades. TrueCrypt is practically the Holy Grail for advocates of free ubiquitous encryption. Now, if only it were platform independent.

To reduce load on their servers here are some Coralized versions of all the links:

TrueCrypt home page
Future development goals
Forum thread about Mac OS X version
Donations page
General forum
Plausible deniability
Hidden volumes
Traveler mode
Encryption algorithms
Multi-algorithm cascades
Version history
+ -
story
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • The coolest part. (Score:3, Insightful)

    by Lumpy (12016) on Tuesday March 20 2007, @07:15PM (#18423299) Homepage
    you dont have to install it. so there is no way that any researcher can discover it was used.

    I can not believe that the other encryption software out there is not even 1/20 as good as truecrypt.

    you can hide your data pretty easy with it.
    • Re:The coolest part. (Score:5, Informative)

      by Eddi3 (1046882) on Tuesday March 20 2007, @07:24PM (#18423379) Homepage Journal
      "you dont have to install it. so there is no way that any researcher can discover it was used."

      That's not entirely true. When TrueCrypt opens, it installs a driver (in Windows). This driver remains there unless you remove it. In fact, I just had to manually remove it because the old version of the driver was already installed, and the new version of it couldn't override it.

      Don't get me wrong, I absolutely LOVE TrueCrypt, I use it everyday, however it's not entirely true that it leaves no footprint. At least, not in my experience.

        -Eddie
      • Pet Peeve (Score:3, Interesting)

        Driver versions being incompatible and not overwritable. For example the thumb drive I carry around uses True Crypt but now next time I plug it into my desktop I'll get the incompatible driver error.
      • Re: (Score:3, Interesting)

        And in Linux it is NOT possible to use it in any computer unless you have ROOT access (to install it). I have a 2GB USB stick and I wanted to use half of it as an encrypted drive. In Windows environments I could use it without problems but there is *no* way to access the drive in Linux unless you have root access to mount the device, or unless the computer you are using has got FUSE *AND* you are allowed to mount this file system (sheesh in FC6 I am not allowed to mount a simple USB device unless I've got r
    • Re: (Score:3, Informative)

      by Anonymous Coward
      there is no way that any researcher can discover it was used.

      wrong, if you read the info on the site about "traveller mode"

      After examining the registry file, it may be possible to tell that TrueCrypt was run (and that a TrueCrypt volume was mounted) on a Windows system even if it is run in traveller mode.

      so it still writes to the registry and so can be discovered by forensics in an instant
      why it writes to the registry really needs to be addressed, i wish apps went back to the old .ini method of storing conf
      • Re:The coolest part. (Score:4, Informative)

        by Eddi3 (1046882) on Tuesday March 20 2007, @08:01PM (#18423649) Homepage Journal
        Generally, Windows itself keeps the names of files that have run recently, and that's probably what they're refering to, not TrueCrypt's settings. In that aspect, no executable on Windows can leave absolutely NO footprint. Of course, these registry entries can be removed manually.

        In fact, TrueCrypt's settings are maintained in a file called Configuration.xml in the same directory as TrueCrypt.exe, in order to remain truly portable.
      • Re: (Score:3, Interesting)

        windows writes last ran items to the registry. Simply renaming the executable to notepad.exe will solve that problem. If truecrypt writes anything to the registry then it does have a major flaw, I need to look further into that.
    • Re:The coolest part. (Score:5, Informative)

      by Anonymous Coward on Tuesday March 20 2007, @07:33PM (#18423453)
      from the truecrypt site:

      Traveller Mode

      TrueCrypt can run in so-called 'traveller' mode, which means that it does not have to be installed on the operating system under which it is run. However, there are two things to keep in mind:

              * You need administrator privileges in order to able to run TrueCrypt in 'traveller' mode.
              * After examining the registry file, it may be possible to tell that TrueCrypt was run (and that a TrueCrypt volume was mounted) on a Windows system even if it is run in traveller mode.

      If you need to solve these problems, we recommend using BartPE for this purpose. For further information on BartPE, see the question "Is it possible to use TrueCrypt without leaving any 'traces' on Windows?" in the section Frequently Asked Questions.

        • Re: (Score:3, Informative)

          But if you have to run it from the command line, you probably need to give it command-line arguments. Do truecrypt's typical arguments look like typical vi arguments?

          $ unset HISTFILE
  • No OS X Port? (Score:3, Insightful)

    by CheeseburgerBrown (553703) on Tuesday March 20 2007, @07:17PM (#18423315) Homepage Journal
    What are the advantages of this software over using an encrypted disk image created with Tiger's build-in Disk Utility?

    • Re:No OS X Port? (Score:5, Informative)

      by Mr2001 (90979) on Tuesday March 20 2007, @07:27PM (#18423407) Homepage Journal
      Hidden volumes, for one. A single image can have two volumes in it, with different passwords, encryption methods, etc., and you can't even tell the hidden one is there unless you know the key.

      You can also use any file as the key, instead of (or in combination with) a password.

      And you can encrypt an entire partition, instead of putting the image inside another filesystem and letting it get copied around by the defragmenter (which may have security implications for the ultra-paranoid).
        • Re:No OS X Port? (Score:5, Informative)

          by Mr2001 (90979) on Tuesday March 20 2007, @09:48PM (#18424469) Homepage Journal
          Nope.

          When you create the (main) volume, it's filled with random data. Formatting overwrites some of that, but the empty space is still full of random bytes. So, let's say you create a main volume on a 100 MB partition, and copy over some "cover" files, leaving 75 MB of free space at the end.

          Then you create a 50 MB hidden volume, which is stored at the end of the partition. You put your top secret files in there, dismount it, and remount the main volume. The main volume still says "100 MB total, 75 MB free", and the free space still appears to be full of random bytes (since the hidden volume is encrypted), but they're different random bytes than they were at first.

          So no, you can't tell just by looking at the mounted main volume that there's a hidden volume. All you can do is suspect that there might be something hidden in that free space, but you can't prove it - there are no plaintext headers, so both volumes are completely encrypted and appear random without the correct key. TrueCrypt will even let you reformat the main volume, destroying the hidden volume in the process, unless you specifically tell it to protect the hidden volume (using the correct key) when you mount the main one.

          OTOH, you might be able to make a snapshot of the entire encrypted partition (without alerting the owner), then come back later and look for changes once you've gotten him to give up the key to the main volume. If the changes are in the main volume's free space, and they can't be explained by creating and deleting files, then you know there's a hidden volume. However, this requires covert monitoring over a period of time while the system is in active use; you can't detect the hidden volume simply by seizing a drive and examining it all at once.
            • Re: (Score:3, Insightful)

              by Anonymous Coward

              I might just be naive (as I have never used TrueCrypt), but I don't understand why you can't just look for the true TrueCrypt driver, run the appropriate TrueCrypt version and brute-force the user password until you get to see everything.

              Brute forcing true crypt takes a LONG TIME. Just using the standard truecrypt executable, it takes about 2.26 seconds per guess on my Athlon 2500+. To put that in perspective, it would take my machine nearly 70 days to brute force a 4 charactor password (Aprox 14 million

            • Re: (Score:3, Interesting)

              No.. in fact, that would just make it more obvious that you've got a hidden partition. Here's how the covert monitoring might work:

              Monday morning, the attacker sneaks in and records a snapshot of your 100 MB partition.

              Friday evening, he comes back with guns blazing and forces you to reveal a key. He uses it to mount both copies of your main volume, the current one and the snapshot, and then compares them byte-for-byte. Some of the changes are in files present on the main volume, but other changes are in fre
        • by toadlife (301863) on Wednesday March 21 2007, @02:14AM (#18425951) Journal

          "Nevermind the 15 megs of "unused" space at the end of the volume."
          If "Secret Homo-Erotic Transvestite Fetish" is the mild stuff, I'm not sure if I'd want to see the porn on the 15meg drive.
    • Re:No OS X Port? (Score:5, Insightful)

      by Simon Garlick (104721) on Tuesday March 20 2007, @08:15PM (#18423777)
      Why don't you download the source code for Truecrypt, and the source code for OS X Disk Utility, and compare how they implement their respective algorithms. The advantage will be pretty obvious.
        • Re:No OS X Port? (Score:4, Insightful)

          by Sancho (17056) * on Tuesday March 20 2007, @10:25PM (#18424729) Homepage
          Ah ha! Therein lies the obvious advantage!
        • Re:No OS X Port? (Score:5, Insightful)

          by Simon Garlick (104721) on Tuesday March 20 2007, @11:57PM (#18425301)
          That, believe it or not, is my point. We have no way of knowing how secure OS X Disk Utility is. For all we know every encrypted .dmg can be decrypted with one master passphrase. For all we know the algorithms are deliberately crippled. We'll never know, because we can't audit the source.
          • Re:No OS X Port? (Score:5, Interesting)

            by Solra Bizna (716281) on Wednesday March 21 2007, @04:45AM (#18426455) Homepage Journal

            Blew mod points to respond to this.

            Disk Utility, the graphical application, is not open source. diskutil and hdiutil, the command-line programs it is a front-end for, are open source. I don't know whether the DiskImages framework (which hdiutil could be considered a front-end for) is open source, though. (my guess is "yes")

            -:sigma.SB

      • Re:No OS X Port? (Score:4, Insightful)

        by fbjon (692006) on Tuesday March 20 2007, @07:26PM (#18423401) Homepage Journal
        It has some advantages: it's portable, and it has plausible deniability (hidden partitions).
      • Re: (Score:3, Informative)

        TrueCrypt provides device-level encryption, so it doesn't need to be aware of HFS+ or any other filesystem you use with an encrypted volume. It also provides a few important features that are not built into OS X.
          • Re: (Score:3, Informative)

            I did list them earlier [slashdot.org], and they're listed on TrueCrypt's site as well as all over the rest of this thread. The main feature is hidden volumes.
  • by tabo_peru (582809) on Tuesday March 20 2007, @07:19PM (#18423329) Homepage
    "from the windows-only-alas dept."

    Not really, you can download ubuntu binaries from their download section [truecrypt.org].
    • by GenKreton (884088) on Tuesday March 20 2007, @08:52PM (#18424079) Journal
      Except, the summary implies it is the only opensource method of doing this when, in fact, linux has several others and a few of them are superior (like a few luks implementations using dm-crypt).
      • by ink (4325) on Tuesday March 20 2007, @10:30PM (#18424759) Homepage
        Yep, I've been using luks under Linux for ages. It works transparently, and is portable from system to system. I don't think that the article submitter has ever used OSX or Linux; both have nice, mature encrypted block systems.

        Hell, I used PGPdisk back in the '90s, and it was "all that".

          • Re: (Score:3, Insightful)

            plausible deniability, hidden volumes and all that other good stuff talked about on the TrueCrypt site.
            That is because real security experts know that plausible deniability and hidden volumes are script kiddie features that don't work in the real work. Both "features" assume unrealistic attackers. In the real world there is little point in pretending that an encrypted volume isn't. The attacker is going to assume that it is regardless of what you claim.
  • Why do you need a linux GUI for something like this? I installed debian etch a while ago and noticed encrypted partition was a an option along with normal filesystems, RAID, and LVM. So I tried it out. It was quite simple to setup. I made an encrypted / and an encrypted swap partition. Then when I booted into freshly installed system I had to enter my passphrase for each partition and after that it was just like a normal system. I didn't even notice any I/O performance loss. (Although I still went back to a RAID system after the experiment since I am not paranoid enough to sacrifice any performance or space yet :)
  • by Kpt Kill (649374) on Tuesday March 20 2007, @07:28PM (#18423411) Homepage
    Only pirates, terrorists, and criminals need encryption. :)
    • by wile_e_wonka (934864) on Tuesday March 20 2007, @08:05PM (#18423697)
      I keep the family meatloaf recipe on a TruCrypt partition. No one has discovered it yet!

      Anyway--I think there are legitimate reasons to want to encrypt data. How about a doctor wanting to ensure patient records are private? Or a corporation that has done some research that it doesn't want to get out? Or what about your personal diary (some people, believe it or not, don't think MySpace is the best place for a private diary)? Or what if you work for the CIA and have been stealing data from a small quiet--a little too quiet--Scandinavian company for a couple years...and they find you out and take your computer after breaking your legs? (ok, that last one's a stretch).

      I'm sure commenters will add many more legitimate items to this list.
    • Re: (Score:3, Insightful)

      Only pirates, terrorists, and criminals need encryption. :)
      ...which according to the media industry and the US government is just about everyone. :-D
  • FreeOTFE? (Score:5, Informative)

    by Lawrence_Bird (67278) on Tuesday March 20 2007, @08:04PM (#18423681) Homepage
    I have been using this and have no association other than as a happy user. From the description I don't
    think TrueCrypt is "the only" one.

    Clipped (and truncated) from the website: [freeotfe.org]

    FreeOTFE: A free "on-the-fly" transparent disk encryption program for MS Windows 2000/XP/Vista PCs and Windows Mobile 2003/2005 PDAs Using this software, you can create one or more "virtual disks" on your computer - anything written to these disks is automatically, and securely, encrypted before being stored on your computers hard drive.

    Features

            * Source code freely available
            * "Portable mode" included; FreeOTFE doesn't need to be installed before it can be used - making it ideal for carrying your data securely on USB drives!
            * Operates under both PC (MS Windows 2000/XP) and PDA (Windows Mobile 2003/2005) platforms
            * Linux compatibility (Cryptoloop "losetup", dm-crypt and LUKS supported)
            * "Hidden" volumes may be concealed within other FreeOTFE volumes, providing "plausible deniability"
            * FreeOTFE volumes have no "signature" to allow them to be identified as such
            * Encrypted volumes can be either file or partition based.

            • Re: (Score:3, Interesting)

              I just use commandline gpg. sure, anyone can tell there are encrypted files on my USB 'disk', but so what? I'm not a secret agent, nor a corporate informant, I don't actually need plausible deniability.

              It doesn't need admin privs, leaves no tracesif set up properly, and is open source. If you want to store multiple files under one encrypted file, slap them in a zip file and encrypt that.
              Don't get me wrong, I'm sure there are legitimate purposes for transparent volume encryption, and plausible deniability, b
  • by schweini (607711) on Tuesday March 20 2007, @08:12PM (#18423741)
    I just wanted to point out that TrueCrypt differs from most other disk-encryption-tools mentioned by my fellow posters in that it also supports 'hidden volumes', which allows a user (for example if forced to give out a password, since the existence of an encrypted volume seems suspicious) to give out a password, which simply shows a 'bogus' partition - but there is no way to prove that the password that was provided is not the 'important' one, or for that matter it's impossible to prove that such a hidden volume even exists.
      • Re: (Score:3, Insightful)

        If you're going to be indefinitely held while being tortured, until you die or are killed, all the software features in the world aren't going to help you. It's more useful in places where "plausible deniability" can be used to get you out of trouble, not in countries or organizations where the concept is irrelevant.

  • I use truecrypt because I need to be able to hand over my laptop to a gun wielding thug if it ever comes up. This got me to thinking, if its a virtual filesystem, and seen as such by Linux, what would happen if I put my entire virtual machine on an encrypted partition. Would it then be possible for me to use Linux with TS + Xen (or VMWare if you prefer) to provide an entirely encrypted OS, including its filesystem? I'd assume that I'd need to have no swap (or file based swap, also on an encrypted partition) but that seems pretty doable to me. If my machine gets stolen, then is everything on the encrypted partition as safe as my password?
  • eCryptfs (Score:4, Informative)

    by omnirealm (244599) on Tuesday March 20 2007, @09:20PM (#18424273) Homepage
    If you don't necessarily need plausible deniability, and if you're looking for per-file encryption with just as much transparency and a lot more flexibility, check out eCryptfs. It can be used directly on top of your existing mounted filesystem in Linux. eCryptfs has been in the mainline Linux kernel since 2.6.19. Here is a section in the eCryptfs FAQ that compares and contrasts block device encryption with stacked filesystem encryption:

    http://ecryptfs.sourceforge.net/ecryptfs-faq.html# compare [sourceforge.net]
    • Re:Raarrgh (Score:4, Funny)

      by gardyloo (512791) on Tuesday March 20 2007, @07:29PM (#18423421)
      Shit. And here I originally read it as "thonging hores" and I was all excited that, finally, here was a post worth reading.

          So much for education.
    • Re: (Score:3, Informative)

      Exactly as described? Does Disk Utility let you create hidden volumes (indistinguishable from the main encrypted volume unless you know the key), or encrypt an entire partition, or use a file instead of a password as the key?
        • Maybe because the tinfoil hat crowd usually doesn't buy Apple computers.

          Errrr right - did you not read the linked thread where all the os x users were asking for a truecrypt port?

          While I support a lot of what the F/OSS movement does, I think this is a good example of the overall trend -- it (over)fills very small niches very well, but doesn't do much for the masses.

          Right dude, apart from the craploads of FOSS stuff you use on your mac every day? OS X is built on F/OSS - absolutely nothing on the system woul
    • Re: (Score:3, Funny)

      by Anonymous Coward
      They're too busy moving their pr0n collections to new TrueCrypt disks.
    • by Copid (137416) on Tuesday March 20 2007, @08:12PM (#18423749)

      I am, actually, a mathematician (though not a cryptographer), but I could've sworn that doing "cascades" like this is actually a bad idea, mathematically? I seem to remember times where it can actually *weaken* the overall level of protection if you just do it carelessly without regard to the mathematics.
      My understanding is that in the general case, there's no truly compelling reason to believe that cascades are either stronger or weaker. I believe that there are special cases with certain algorithms, but the people who maintain TrueCrypt are aware of them. I don't recall the exact details, but it's discussed fairly frequently on sci.crypt.
      • Re: (Score:3, Informative)

        If multi-algorithm cascades weakened the protection, that's what the codebreakers would do: encrypt the data again and crack the "weakened" data.

        There's a special case you're not considering: Multi-algorithm cascade with the same key. Arbitrary (and dumb) example: A single cipher in CTR mode. Encrypt once with key k and you're in good shape. Run the algorithm again with key k and your data is plaintext again. It's an extreme case, but one can come up with other more reasonable thought experiments.

    • by Binestar (28861) on Tuesday March 20 2007, @08:30PM (#18423891) Homepage
      If you have a container X big, one can have smaller containers inside that. The key opens the outer container, but exposes the inside (to use their language). Even if these hidden volumes dont have publically readable containers, one can still see them and delete them.

      Incorrect, there is no container file inside the first container, and if you don't enter the password for the second container the same time as the first container you *CAN* overwrite the data in the second container, thus corrupting it.

      From the website (If only people would RTFM (no, I'm not new here)):

      Protection of Hidden Volumes Against Damage
      As of TrueCrypt 4.0, it is possible to write data to an outer volume without risking that a hidden volume within it will get damaged (overwritten).

      When mounting an outer volume, the user can enter two passwords: One for the outer volume, and the other for a hidden volume within it, which he wants to protect. In this mode, TrueCrypt does not actually mount the hidden volume. It only decrypts its header and retrieves information about the size of the hidden volume (from the decrypted header). Then, the outer volume is mounted and any attempt to save data to the area of the hidden volume will be rejected (until the outer volume is dismounted).

      Note that TrueCrypt never modifies the filesystem (e.g., information about allocated clusters, amount of free space, etc.) within the outer volume in any way. As soon as the volume is dismounted, the protection is lost. When the volume is mounted again, it is not possible to determine whether the volume has used hidden volume protection or not. The hidden volume protection can be activated only by users who supply the correct password (and/or keyfiles) for the hidden volume (each time they mount the outer volume).
    • Re: (Score:3, Informative)

      How I would attack this stego: I would obtain a sector-logger via ICE or somesuch driver first. Then I would mount the container and proceed to do a "DOD 7 times rewrite" via eraser or somesuch tool. I then would watch what sectors arent affected. Those would be the hidden ones. Essentially I would show hidden places by what isnt touched.

      More terse version of another response you've seen already: If you do this, TrueCrypt will happily overwrite the hidden sectors and you will get nothing. TrueCrypt will

    • Or is the word rsunc ? Regardless, a lot of people do not realize that a truecrypt volume, although it is a single encrypted file, can be successfully kept up to date with the rsync tool. This is because the entire file is NOT reorganized every time it is unmounted. Therefore, if you only change a few files in a truecrypt volume, you can rsync it to a remote system in an efficient (changes only) manner.

      It should be noted that this is not necessarily a good idea if you have a hidden volume and like to writ

    • Yes. Seriously. You've been able to do this in FreeBSD for ages.

      dd if=/dev/zero of=image_name bs=1k count=lenth
      mdconfig -a -t vnode -f image_name -u 0
      geli init -a hmac/sha256 /dev/md0
      geli attach /dev/md0
      dd if=/dev/random of=/dev/md0.eli bs=1m
      newfs /dev/md0.eli
      mount /dev/md0.eli /mnt/secret

      okay its a bunch of commands, but I'm basically reading out of the man page. And this setup has tamper detection.
    • echo 0 `/sbin/blockdev --getsize /dev/md0` crypt aes-cbc-essiv:sha256 0102030405060708090A0B0C0D0E0F 0 /dev/md0 0 | /usr/sbin/dmsetup create encrypted_raid

      This will take /dev/md0, create an encrypted volume from it using the supplied 16 byte password in hex, and create /dev/mapper/encrypted_raid to mount as your root file system. Replace /dev/md0 and /dev/mapper paths with the appropriate locations your devices for your distro. A combination of pivot_root and chroot can be used to move the mounted encrypt