Slashdot Mirror


Security Researchers Want To Fully Audit Truecrypt

Hugh Pickens DOT Com writes "TrueCrypt has been part of security-minded users' toolkits for nearly a decade — but there's one problem: no one has ever conducted a full security audit on it. Now Cyrus Farivar reports in Ars Technica that a fundraiser reached more than $16,000 in a public call to perform a full security audit on TrueCrypt. 'Lots of people use it to store very sensitive information,' writes Matthew Green, a well-known cryptography professor at Johns Hopkins University. 'That includes corporate secrets and private personal information. Bruce Schneier is even using it to store information on his personal air-gapped super-laptop, after he reviews leaked NSA documents. We should be sweating bullets about the security of a piece of software like this.' According to Green, Truecrypt 'does some damned funny things that should make any (correctly) paranoid person think twice.' The Ubuntu Privacy Group says the behavior of the Windows version [of Truecrypt 7.0] is problematic. 'As it can't be ruled out that the published Windows executable of Truecrypt 7.0a is compiled from a different source code than the code published in "TrueCrypt_7.0a_Source.zip" we however can't preclude that the binary Windows package uses the header bytes after the key for a back door.' Green is one of people leading the charge to setup the audit, and he helped create the website istruecryptauditedyet.com. 'We're now in a place where we have nearly, but not quite enough to get a serious audit done.'"

31 of 233 comments (clear)

  1. Different Source Code for Different Versions? by tysonedwards · · Score: 5, Funny

    I am shocked, and frankly a little pissed off that Version 6 and Version 7 aren't identical.

    --
    Thirty four characters live here.
  2. Re:Typo? by Lunix+Nutcase · · Score: 5, Informative

    Yeah, it's a typo. The privacy report says in the last full paragraph on page 13:

    As it can't be ruled out that the published Windows executable of TrueCrypt 7.0a is compiled from a different source code than the code published in “TrueCrypt 7.0a Source.zip” we however can't preclude that the binary Windows package uses the header bytes after the key for a back door.

    Seems the author retyped the statement themselves rather than just copying and pasting then the summary carried it over.

  3. Re:Typo? by davidbrit2 · · Score: 5, Funny

    Well, we can't trust that copy/paste hasn't been back-doored.

  4. A thought by Anonymous Coward · · Score: 3, Insightful

    TrueCrypt has a custom license and it is unclear how it mixes with other licenses. This makes code-sharing between TrueCrypt and other projects problematical.

    According to TFA nobody knows who wrote TrueCrypt.

    The answer to the problem is simple: relicense TrueCrypt. If there are no known authors, there's nobody to complain.

    1. Re:A thought by Rob+the+Bold · · Score: 5, Informative

      Except copyright law doesn't work that way.

      How does copyright work in the case of anonymous authorship? I found this info which I make no attempt to explain . . .

      In the US, there's this:)

      (c) Anonymous Works, Pseudonymous Works, and Works Made for Hire. — In the case of an anonymous work, a pseudonymous work, or a work made for hire, the copyright endures for a term of 95 years from the year of its first publication, or a term of 120 years from the year of its creation, whichever expires first. If, before the end of such term, the identity of one or more of the authors of an anonymous or pseudonymous work is revealed in the records of a registration made for that work under subsections (a) or (d) of section 408, or in the records provided by this subsection, the copyright in the work endures for the term specified by subsection (a) or (b), based on the life of the author or authors whose identity has been revealed. Any person having an interest in the copyright in an anonymous or pseudonymous work may at any time record, in records to be maintained by the Copyright Office for that purpose, a statement identifying one or more authors of the work; the statement shall also identify the person filing it, the nature of that person's interest, the source of the information recorded, and the particular work affected, and shall comply in form and content with requirements that the Register of Copyrights shall prescribe by regulation.

      And this

      Anonymous Work

      An author's contribution to a work is “anonymous” if that author is not identified on the copies or phonorecords of the work. If the contribution is anonymous, you may:

      * reveal the author's identity even though the work is anonymous, or
      * leave the author fields blank, or
      * give “Anonymous” in the last name field.

      Note that if a work is “made for hire,” you must name the employer as author. In any case, you should check the anonymous box.

      And internationally, there's this advice from wikipedia.

      --
      I am not a crackpot.
    2. Re:A thought by TheCarp · · Score: 3, Interesting

      I have used FreeOTFE before, and kind of forgotten about it. As it happens, I am looking for something just like this now for use with some USB keys I need to use to share data at different places.

      Now that I look at it I see this on Wikipedia:
      "The FreeOTFE website is unreachable as of June 2013 and the domain name is now registered by a new owner."

      So I asked, is it even being maintained? I know its open source but, its good to know if a project is actively maintained too. Apparently the place to go is Sourceforge as freeotfe.org is something else now: http://sourceforge.net/projects/freeotfe.mirror/

      AND the latest release is several months after the original website disappeared, So it looks like somebody is working on it anyway. May be just what I needed.

      --
      "I opened my eyes, and everything went dark again"
  5. Waitaminit... by Shoten · · Score: 3, Interesting

    ...I thought the main point of the "open source is more secure" argument was that this process supposedly happened on its own, organically?

    --

    For your security, this post has been encrypted with ROT-13, twice.
    1. Re:Waitaminit... by Anonymous Coward · · Score: 3, Interesting

      Actually, he makes a good argument that should be taken seriously. Just because it is open source doesn't mean anyone is actually auditing it. If it happened often and spontaneously, there would be no need to raise $16,000 to support an audit.

    2. Re:Waitaminit... by TheRaven64 · · Score: 5, Insightful
      No, the argument is that it can happen if someone decides that it's worth doing. Just making the code open doesn't mean that anyone will read it. It does, however, mean that:
      • You can build it yourself, so you know that the code that is audited is the code that is built (modulo toolchain trojans)
      • You can audit the code, or pay someone else to do it, without permission from the original authors beyond their original license
      • You can fix any security holes that such an audit turns up (or pay someone else to do it, again without requiring permission from the original authors beyond their original license
      --
      I am TheRaven on Soylent News
    3. Re:Waitaminit... by aaaaaaargh! · · Score: 4, Insightful

      The real reason why open source practically always beats closed source in security applications is that the authors have to presume that someone else will take a look at the code later and therefore want to avoid too messy and unclean coding. With closed source the temptation is simply too high to introduce dirty hacks and shortcuts, such as crappy PRNGs where cryptographically secure ones would be required, using no salt or using default initialization vectors - things that would be too embarrasing if anybody could discover them easily.

      Closed source developers can avoid that by independent security auditing, frequent reviews and strict coding guidelines, but that costs a lot of money and is only done when there is an external incentive like having to fulfill some FIPS regulation. In many if not all cases you can and should give a shit about the claims of even the most reputable closed source vendors. They are very likely lying about one thing or another and their managers likely don't even know exactly what they are really selling and how it works (viz., doesn't work).

  6. Re:Typo? by Rob+the+Bold · · Score: 3, Funny

    Yeah, it's a typo. The privacy report says in the last full paragraph on page 13:

    As it can't be ruled out that the published Windows executable of TrueCrypt 7.0a is compiled from a different source code than the code published in “TrueCrypt 7.0a Source.zip” we however can't preclude that the binary Windows package uses the header bytes after the key for a back door.

    Seems the author retyped the statement themselves rather than just copying and pasting then the summary carried it over.

    As I can't make sense of this sentence even as corrected, I however can't preclude that there is still a typo.

    --
    I am not a crackpot.
  7. Problems in the license, and an alternative? by seandiggity · · Score: 5, Insightful
    From http://lists.debian.org/debian-legal/2006/06/msg00295.html:

    ...if you distribute modified versions of TrueCrypt, you cannot charge for copies. That is non-free...
    ...nothing in the license constitutes a promise not to sue for copyright infringement. Our counsel advises that a plain reading of this indicates that if Fedora complies with all the requirements of the TrueCrypt license, we would nonetheless have no assurance that TrueCrypt will not sue me for my acts of copying, distribution, creation of derivative works, and so forth...
    TrueCrypt seems to be reserving the right to sue any licensee for copyright infringement, no matter whether they comply with the conditions of the license or not. Based on this, our counsel advised that above and beyond being non-free, software under this license is not safe to use...
    Our counsel advised us that this license has the appearance of being full of clever traps, which make the license appear to be a sham (and non-free).

    Given all of this, plus the problems with TrueCrypt authorship etc. I think the best course of action is replacing with a free implementation, maybe starting with something like this?

    --
    Geeks like to think that they can ignore politics, you can leave politics alone, but politics won't leave you alone.-rms
    1. Re:Problems in the license, and an alternative? by Mr.+Slippery · · Score: 4, Informative

      From http://lists.debian.org/debian-legal/2006/06/msg00295.html:

      That discussion is about an older version of the TrueCrypt license. While the newer version hasn't been submitted for OSI certification, some say it does meet the Open Source Definition.

      --
      Tom Swiss | the infamous tms | my blog
      You cannot wash away blood with blood
    2. Re:Problems in the license, and an alternative? by mlts · · Score: 3, Interesting

      Truecrypt's main advantage is that it is cross platform. I can make a TC volume on Windows, stash it on Dropbox, then later on open it on my Mac or Linux box.

      However, each of the operating systems generally has some method which doesn't have the hidden volumes and the plausible deniability aspect, but some form of volume encryption.

      OS X has FileVault 2, which can encrypt drives with a couple clicks. OS X also has a utility that makes sparse images, using "bands", which allows one to have an encrypted volume grow and shrink as needed. Of course, there is a loss of security with this feature, but it adds versatility.

      Linux has LUKS and dm-crypt (Android uses a modified version of dm-crypt to protect the /data partition in newer revs.)

      Windows has BitLocker. Windows 8 and newer's implementation of BitLocker allow for it to ask for a password before boot even if a TPM chip isn't present. Of course, not all Windows editions have BitLocker usable.

      Of course, there are third party utilities. PGP (the commercial version owned by Symantec) comes to mind, which can encrypt Windows, Linux, and Mac volumes. I doubt this would ever be possible, but if their code was released with a free license, this likely would be the best Truecrypt replacement, although it wouldn't have hidden volume functionality.

  8. Re:A costly analysis by nharmon · · Score: 3, Informative

    Perhaps the $16,000 could be divided up and paid to multiple researchers who do their own separate analyses. Even better would be researchers on different continents, who pledge not to communicate with each other until their work is complete.

  9. Best encyption ever by Smidge204 · · Score: 5, Funny

    I use the best encryption ever for everything I need to keep secret. The algorithm is a simple bitwise XOR applied to every byte in the file, using the data itself as a one-time pad. Completely uncrackable unless you know the data that was used for the pad.

    The output also compresses really well!
    =Smidge=

  10. Re:No trust without source by mpicker0 · · Score: 5, Informative

    It's not open source.

    Not open source? The source is available for download here.

    You can't compile it yourself. You have no idea what is in the source.

    You certainly can compile it yourself; I built it on my old Linux iBook G4 (PowerPC), since there were no binaries available for that platform. As has been discussed above, it does have a weird license, but it is absolutely open source.

  11. Oh really? by Sperbels · · Score: 3, Interesting

    "TrueCrypt has been part of security-minded users' toolkits for nearly a decade — but there's one problem: no one has ever conducted a full security audit on it except the NSA.

    FTFY

  12. Re:No trust without source by diamondmagic · · Score: 4, Informative

    Not open source? The source is available for download here.

    You can't compile it yourself. You have no idea what is in the source.

    You certainly can compile it yourself; I built it on my old Linux iBook G4 (PowerPC), since there were no binaries available for that platform. As has been discussed above, it does have a weird license, but it is absolutely open source.

    Grandparent probably refers to Open Source Software, which is a formally defined term. It's not enough that you can merely read the source, you have to be able to redistribute it and any changes, too.

  13. Re:Typo? by lxs · · Score: 4, Informative

    This summary is a lot like the header of a Truecrypt volume in that it may contain crucial information in scrambled form.
    The rest of TFA explains that the header of a Truecrypt volume either contains encrypted zeros (using the Linux version) or "random bits" when using the Windows client. The implication is that these "random bits" could actually contain the encrypted key to the volume.

  14. Re:A costly analysis by TWiTfan · · Score: 5, Insightful

    Why do you give a flying **** what the NSA are doing with your data? I don't. I'm more concerned about Russia, China and assorted hackers and scammers the world over who might actually want to do me harm,

    Because as a U.S. resident, I don't worry about Russia, China, etc. kicking my door down and throwing me in jail or putting me on a no-fly list for some joke I made in a private email to a friend.

    --
    The cow says "Moo." The dog says "Woof." The Timothy says "Thanks, valued customer. We appreciate your input."
  15. Re:A costly analysis by emho24 · · Score: 5, Insightful

    Why do you give a flying **** what the NSA are doing with your data?

    Because government entities are being used to punish those of differing political beliefs than those in power. It will only get worse, and it matters not what "side" the current rulers are. The current administrations favorite punishment tool seems to be the IRS. Can't wait to find out how bad it gets with the next administration.

    --
    You must gather your party before venturing forth.
  16. NSA launches project FUD against Trucrypt by Anonymous Coward · · Score: 3, Interesting

    Be in no doubt. You are NOT witnessing an attempt to ensure the security of Truecrypt. You ARE seeing a standard FUD play by NSA people against one of the greatest thorns in their side.

    Put this in the same category as those regular stories that appear on Slashdot and elsewhere, telling you that you CANNOT ever be sure that your erased data on your Hard-drive cannot be recovered by sophisticated forensic analysis of the magnetic surface. The NSA even paid to have a peer-reviewed paper placed in the scientific literature claiming such recovery is possible- despite the fact that such a claim is provably laughable.

    Here's the mathematical proof of NONE recoverability of properly deleted data.
    - let us say that you fill a HDD with target data, and now over-write that data with a RANDOM series of bytes. If the original data CAN be recovered, we have DOUBLED the capacity of the HDD, because logically there can be no distinction between the original data, and the random data used to erase it.
    - now, let's say we wipe again with another random sequence. If the original data can be recovered, we have TRIPLED the capacity of the HDD, for the reason stated above.
    - and again, we wipe with another random wave. If the original data is STILL recoverable, we have quadrupled the functioning capacity of the HDD.
    - repeat, etc.

    The problem is that the HDD is designed, given the head, recording signal, and surface material, to only support the original capacity under the signal theory that covers the current method of recording. It does NOT matter that in theory, the disk material MAY be able to save far more data with a different head, and signal method. Only the current method matters.

    But the owners of Slashdot will allow periodic FUD articles to appear that DISCOURAGE people from using proper file erase tools, on the basis that its actually a waste of time, because the NSA can still get your data no matter how you erase it.

    Much of what the NSA engages in is PSYCHOLOGICAL WARFARE. Major US TV networks and film studios, for instance, have been ordered to NEVER reveal the fact that ALL mobile phones in the USA have their location continually tracked by cell tower triangulation methods. While is is actually LAW in the US that every cell phone must have continuous location tracking ability, the US government believes many criminals are inherently stupid, and will allow their cell phones to produce evidence against them ***IF*** they have false ideas about how cell phone technology works. US Dramas like 'Shameless' (the US remake) and films like 'The Call' have actually informed the audience that ONLY phones with real GPS chips can be location-tracked- a complete and total lie, but a lie designed to sink into the unsophisticated minds of the sheeple.

    The truth about the strength of Truecrypt is the complete LACK of stories about Truecrypt being defeated in practice. Shills will try to tell you that this is because Truecrypt is defeated in super-secret cases you can't be allowed to hear about, but this is a nonsense for two reasons. If you are a high level target of the NSA, nothing can save you, so the security of any encryption system is irrelevant. If systems like Truecrypt are defeated as part of ordinary governmental actions, the government, by law, has to allow this fact to be known (the RIGHT to a fair trial, etc).

    So instead, you get this FUD attack against Truecrypt, which will persuade a certain percentage of suckers to NOT bother using Trucrypt in the first place, give up using it, or transfer to a commercial alternative that is DEFINITELY compromised by the NSA (ALL commercial encryption software is compromised).

    1. Re:NSA launches project FUD against Trucrypt by Anonymous Coward · · Score: 5, Informative

      I have a fair amount of experience in the field (I'll leave it at that, as my credentials are not of relevance to my point). I performed an audit of TrueCrypt 6.0 when it came out, and I was not able to detect anything wrong. A few details of the header format are a little out in the documentation (e.g. GF(256) addition instead of XOR for whitening, but hardly of any security impact, the curious choice of RIPEMD160 in the morning, which actually seems to be due to simple "it fits" criteria) but that's about it. I didn't see any 'back doors' in the copy I had. (Obviously, with the concerns regarding x.509 CAs and TLS, I can't speak for the copy you might have.)

      The only times I've ever seen TrueCrypt cracked by SIGINT or LE agencies, it involved: hardware keyloggers, Firewire DMA attacks, NONSTOP attacks (or 'cold boot' attacks as the open-source security community later dubbed them - they're not as new as you'd think, crackers were doing them in the 80s - when they were, admittedly, easier), or brute-force analysis of short crappy passwords. They used Cell processors in parallel to do that (at one point, literally a cluster of PlayStation 3s running Linux). This is consistent with TrueCrypt's documentation. They have certainly failed to crack TrueCrypt in several high-profile terrorism cases where they would really, really like to do so. It seems reasonable to conclude that in general, they cannot work through it, only around it.

      It also seems likely that if they are unable to crack it, they are likely to dissuade people from using it by social engineering, and perhaps direct them to weaker tools that are easier for them to subvert. I concur with parent on that point.

      But ultimately, you don't have to trust me. You shouldn't. Many eyes do make bugs shallow, as long as the eyes are actually there and actually look. A few more eyes definitely can't hurt on a security-critical project like this. Please, by all means independently audit it. It is good practice that all software with a security impact, particularly high-profile cryptography software, should be audited whenever possible. That is entirely laudable, and we should do it.

    2. Re:NSA launches project FUD against Trucrypt by Kjella · · Score: 4, Insightful

      The problem is that the HDD is designed, given the head, recording signal, and surface material, to only support the original capacity under the signal theory that covers the current method of recording. It does NOT matter that in theory, the disk material MAY be able to save far more data with a different head, and signal method. Only the current method matters. But the owners of Slashdot will allow periodic FUD articles to appear that DISCOURAGE people from using proper file erase tools, on the basis that its actually a waste of time, because the NSA can still get your data no matter how you erase it.

      You sure YOU don't work for the NSA? The recording capability is what it is, but the reading capability is whatever you can put in a $100 consumer drive operating at 100MB/s with 1 error in 10^14 bits accuracy. What you can do with a >$1 million electron microscope at 1/1000th the speed at 1/1000th the accuracy is another matter. You might not want a 0.1 MB/s drive that corrupts a bit every megabyte but for forensics that's plenty. Never mind that all modern drives just pretend to offer you a linear disc, in reality it remaps a whole sector if a single bit fails. How much compromising info can you write in 4023 out of 4024 bits of a 4K sector? It's not useless but everything you hope to achieve with erasing is better achieved with encryption. Nor are they mutually exclusive, if you want to wipe your encrypted drive for that extra unrecoverable feeling go ahead.

      --
      Live today, because you never know what tomorrow brings
  17. Re:A Simple Cheap Way To Do This by Anonymous Coward · · Score: 3, Informative

    Ask the author how they compile it.

    Great idea!

    Now we just need to find the unknown, anonymous author...

  18. Why mention only old versions? by johanw · · Score: 3, Interesting

    The current version of TrueCrypt is 7.1a. Why are they only talking of older versions?

  19. Re:Typo? by blueg3 · · Score: 3, Insightful

    It's not well-written.

    Here's what it's saying:
    * We can audit the TrueCrypt source code.
    * TrueCrypt for Windows is distributed as a binary.
    * We can't verify that the TrueCrypt for Windows binary is actually built from the TrueCrypt source code.
    * Thus, we can't (effectively) audit the TrueCrypt for Windows binary.

    They give an example of one backdoor of concern in the sentence, but really the logic is true for any arbitrary security concern.

  20. Re:A costly analysis by mlts · · Score: 3, Interesting

    Similar with me. The NSA invading privacy is one issue, but I have higher priorities on my list to guard against. I like packing my own parachute so if some criminal organization hacks my remote storage provider [1], the data is still secure.

    Is TrueCrypt insecure? Unknown. Is it good enough to keep a criminal organization out of my old tax papers? More likely than not, although I have been moving to storing data in GnuPG [2] encrypted ZIP archives with an accompanying signature and manifest file (also encrypted) which will allow the contents to be opened up on more platforms than just what TC supports.

    [1]: When deploying a storage service in a private cloud, I deployed it where the data stored on the SAN LUNs were encrypted. This made great internal PR, but it still didn't solve the problem that if someone hacked the client, the data was a sftp command away from being slurped off.

    [2]: Well, on Linux and OS X, GnuPG. On Windows, Symantec's PGP Desktop because it supports my ancient Aladdin (now SafeNet) eTokens.

  21. Re:A costly analysis by rahvin112 · · Score: 3, Interesting

    The only IRS punishment going on is the IRS trying to stop political groups claiming they are charities. Something congress themselves should have fixed rather than leave it to the IRS to try to sort out all the liars. When Crossroads GPS, a superPAC created by Karl Rove of all people is claiming to be a charity there is a WHOLE lot of lying going on.

  22. Re:Typo? by clickety6 · · Score: 3, Funny
    Surely this is proof that copy-paste has been backdoored.

    Between the copy action and the paste action, the NSA was able to get in, read the copied text, parse it and then subtly alter it in order to cause confusion and distrust among us. We must act now!

    I found an apt quotation from Edmund Burke we should all take to heart regarding acting against the NSA. I'll copy it here:

    "The only thing necessary for the triumph of evil is for good men to do something."

    --
    ----------------------------------- My Other Sig Is Hilarious -----------------------------------