News for hackers. Stuff that matters.
Re:Truecrypt report by toothbrush on Thursday April 02, 2015 @11:20AM (#9311196)
Explained for a layperson: should i be using TrueCrypt, or is LUKS okay? Anyone here use TrueCrypt for whatever reason?
Re:Truecrypt report by sdevlin on Thursday April 02, 2015 @11:33AM (#9311303)
Report coauthor here.

No significant issues were found in either phase of the TrueCrypt audit. If you're using it today (or have used it in the past), I don't think you have anything to worry about.

But it is an unmaintained piece of software, and for that reason I would migrate away from it. If I were setting up a new laptop today, I wouldn't consider installing it. If I had an existing laptop using it, I would think about transitioning when I had some spare time.

Not a hair-on-fire problem, though.

Re:Truecrypt report by Lawtonfogle on Thursday April 02, 2015 @11:39AM (#9311345)
All else being equal it would make sense to move. But all else isn't equal and having an audit and knowing the programmer knew their stuff enough to pass the audit (especially since this is in the crypto field) seems to be a huge benefit that other projects can't match right now.
Re:Truecrypt report by tptacek on Thursday April 02, 2015 @11:48AM (#9311422)
BitLocker and Filevault were almost certainly reviewed more carefully than Truecrypt was (I didn't participate in either audit, but can confirm that both of those companies allocate significant resources to third-party audits).
Re:Truecrypt report by Lawtonfogle on Thursday April 02, 2015 @03:48PM (#9312738)
Certainly reviewed more and certainly infected by the NSA more. Until the taint of the NSA has been removed those are outright no gos.
Re:Truecrypt report by tptacek on Thursday April 02, 2015 @04:00PM (#9312814)
I feel like a lot of people probably think the way you do: that software for which source code isn't available is trivially backdoored by NSA. In fact, huge chunks of the billion-dollar software security industry are premised on the idea that this isn't true at all: that you can, for instance, recover the control flow graph from a binary compiled program, and then from that recover an intelligible IR, and then examine that for security flaws.

Where, exactly, do you suggest that NSA could have tainted Bitlocker in a manner that wouldn't also implicate Truecrypt?

Re:Truecrypt report by Karunamon on Thursday April 02, 2015 @04:54PM (#9313142)
Possibly contrived example: An airgapped Windows machine. We've eliminated the possibility of any data exfiltration (all the software vulnerabilities in the world can't transmit on a downed interface), but that does not mean that the encryption itself is not defeated in some way by the existence of a "master key" or some other flaw that allows an attacker to access the data offline.

Truecrypt has now been proven to have no such flaws.

It's unlikely that Bitlocker will ever be proven in the same way.

Anyone that has a legitimate fear of that kind of attack, the bad guys with guns coming in and seizing your stuff, would use Truecrypt over Bitlocker out of an abundance of caution.

Re:Truecrypt report by tptacek on Thursday April 02, 2015 @04:55PM (#9313148)
Why exactly is it hard for reverse engineers to discover how Bitlocker is keyed? If it's because it colludes with compromised hardware, why isn't that just as problematic for Truecrypt?
Re:Truecrypt report by Karunamon on Thursday April 02, 2015 @05:01PM (#9313183)
It isn't necessarily - but there's a lot of places to hide in a large set of binary blobs. Can any effort spent reverse engineering any program (let alone an operating system!) compete with a line-by-line audit of the source of a single program?

Compromised hardware is another matter entirely. The old rule is, "if an attacker has physical access to your machine, it's not your machine anymore", and it's no less true here.

Re:Truecrypt report by tptacek on Thursday April 02, 2015 @05:03PM (#9313200)
It's funny you should mention it, because the Windows kernel is among the more comprehensively reverse-engineered codebases in the industry.
Re:Truecrypt report by pm24601 on Thursday April 02, 2015 @04:50PM (#9313130)
It goes like this:

NSA: "Hi, can you please let us see your source code."

(The conversation below happens in your head): <thought-bubble>

"Do I want to spend the next 15 years and all my money and life trying to stay out of jail?"

"Do I want the IRS to know about trips to the Cayman Islands?"

"Do I want my wife to know about my mistress?"

</thought-bubble>

Me/You: "Sure no problem!"

I know its nice to think about that we would the moral high ground.

Try doing it alone with just a nice government official.

Re:Truecrypt report by tptacek on Thursday April 02, 2015 @04:53PM (#9313138)
This is in no way responsive to my comment, which wasn't about whether the USG would coerce Microsoft.
Re:Truecrypt report by thesimon on Thursday April 02, 2015 @12:29PM (#9311718)
Yeah, better trust US companies who are subject to NSA, which has been proven to require no backdoors in software /s
Re:Truecrypt report by sdevlin on Thursday April 02, 2015 @12:40PM (#9311779)
If those companies wanted to subvert your TrueCrypt installation, they would have an easy time of it.
Re:Truecrypt report by mafribe on Thursday April 02, 2015 @01:16PM (#9311990)
Could you sketch how, so we can think about countermeasures?
Re:Truecrypt report by tedunangst on Thursday April 02, 2015 @01:50PM (#9312233)
MITM the http connection you used to download truecrypt?
Re:Truecrypt report by Buge on Thursday April 02, 2015 @01:55PM (#9312283)
I assume MITM your https connection by manipulating CAs.

Or use one of their 0days to breaking into your machine and get your data while it is decrypted in memory or just steal your password.

Re:Truecrypt report by Lawtonfogle on Thursday April 02, 2015 @03:53PM (#9312768)
I would assume both Windows and Mac are compromised to the level of C&C by the NSA. In a threat model that includes them I would not use either. But I would still think Windows + TrueCrypt is better than Windows + BitLocker.
Re:Truecrypt report by tptacek on Thursday April 02, 2015 @04:08PM (#9312861)
Do you mean "NSA has stockpiled vulnerabilities they've discovered in Win8 that would enable them to quickly enroll a networked Win8 box into a C&C"? If so: sure, I agree.

Do you mean "NSA has implanted backdoors into Win8 that would enable them to directly enroll a Win8 box into a C&C"? If so: virtually nobody who does professional vulnerability research, myself included, agrees.

The distinction matters here, because if all you're saying is the former thing, that impacts Truecrypt just as much as Bitlocker, because it's equally true of every operating system, including Linux, FreeBSD and OpenBSD.

Re:Truecrypt report by Lawtonfogle on Thursday April 02, 2015 @04:42PM (#9313082)
Does it have an implanted back door? I don't know. Can it give one to Microsoft and say push it out as an update for these individuals and if you say anything you'll end up in prison? That is the problem with secret courts.
Re:Truecrypt report by mapt on Thursday April 02, 2015 @04:32PM (#9313021)
This seems silly, but Microsoft appears, on the surface, to have purchased Skype with the intention of selling surveillance to the NSA. They immediately replaced the whole network architecture and encryption setup with something that had weaker security and was subject to compromise of Microsoft.

That's the sort of player we're dealing with, and that's why Bitlocker is not just improvably secure, it is best to simply assume that there are deliberate backdoors, whether any particular employee knows of them or not.

Re:Truecrypt report by astrange on Friday April 03, 2015 @02:00AM (#9314566)
Skype's peer-to-peer networking was entirely unsuitable for running on mobile devices, the new default market. I was never able to leave it logged in on my phone before, or else I'd only have half the usual battery life.
Re:Truecrypt report by sliken on Friday April 03, 2015 @02:54AM (#9314673)
And that's a justification for changing the way non-mobile devices handled skype?
Re:Truecrypt report by Lawtonfogle on Friday April 03, 2015 @09:23AM (#9315684)
Easy, but not as easy. I'm not saying that something is 100% secure, I'm saying that option A is better than option B.
Re:Truecrypt report by fluidcruft on Thursday April 02, 2015 @01:46PM (#9312194)
Of course. I mean once your threat model includes secret shadowy intelligencia overlords that can bend corporations to their will, there's just no way they could tamper an audit.
Re:Truecrypt report by malka on Thursday April 02, 2015 @02:03PM (#9312330)
They could even force the CPU makers to include backdoors directly in the silicon ;)
Re:Truecrypt report by Lawtonfogle on Thursday April 02, 2015 @03:50PM (#9312750)
That one layer of security may be compromised with no possible recourse does not mean that one should abandon considerations of compromisation of other layers that do have recourse.
Re:Truecrypt report by tracker1 on Thursday April 02, 2015 @04:06PM (#9312849)
See: Trusted Platform Module (TPM)

Between China and the USA, there's almost certainly hardware backdoors in place for some systems. IIRC there has been evidence of router tampering for ISP hardware shipping across borders.

Re:Truecrypt report by dijit on Thursday April 02, 2015 @02:28PM (#9312513)
truecrypt had a software AES implementation you could enable.. if seriously paranoid.

performance impacting though.

Re:Truecrypt report by sdevlin on Thursday April 02, 2015 @11:49AM (#9311436)
I would just use the built-in disk encryption solutions your platform offers. This is also what the TrueCrypt developer recommends.
Re:Truecrypt report by diminoten on Thursday April 02, 2015 @03:17PM (#9312568)
What's your opinion of XTS in general for disk encryption?

Are there any known exploitations of weakness in XTS that might work their way back to TrueCrypt?

Most folks use TrueCrypt's disk encryption as a "file container", when they effectively want to encrypt files. Do you know of any tools (cross-platform or otherwise) that would provide the same UX as TrueCrypt while not relying on FDE?

Re:Truecrypt report by sdevlin on Thursday April 02, 2015 @03:45PM (#9312725)
I think it's fine. For the limited threat model FDE is equipped to handle, XTS does the job.

I'm not sure what the best answer is to your second question. I wouldn't use TC for that. I would typically use PGP, but I don't think it has a good UX for general consumption. There may be room for someone to build a better product.

Re:Truecrypt report by peter_tonoli on Friday April 03, 2015 @03:39AM (#9314773)
Coincidentally (?), You Don't Want XTS (2014) https://news.ycombinator.com/item?id=9312599 was re-posted today, opining on this question.
Re:Truecrypt report by huhtenberg on Thursday April 02, 2015 @01:09PM (#9311952)
> This is also what the TrueCrypt developer recommends.

You can't be seriously deferring to that? The end-of-the-line announcement was so completely out of sync with all previous communications from the TC devs, so un-TrueCrypt like, that everything it said should be taken with a huge grain of salt. _Especially_ any advice pertaining to better managing one's security needs.

Re:Truecrypt report by tptacek on Thursday April 02, 2015 @01:37PM (#9312119)
I'm not sure I know of a professional cryptography engineer who believes that what happened with Truecrypt is anything more than what that developer said. Can you cite one?
Re:Truecrypt report by compbio on Thursday April 02, 2015 @11:07PM (#9314253)
But maybe what they did today makes that impossible. They set the whole thing on fire, and now maybe nobody is going to trust it because they’ll think there’s some big evil vulnerability in the code. But now this decision makes me feel like they’re kind of unreliable. Also, I’m a little worried that the fact that we were doing an audit of the crypto might have made them decide to call it quits. - Matthew Green

TrueCrypt's developers chose not to graciously turn their beloved creation over to a wider Internet development community, but rather, ... to attempt to kill it off by creating a dramatically neutered 7.2 version ... - Steve Gibson

I have no idea what's going on with TrueCrypt, Speculations include a massive hack of the TrueCrypt developers, some Lavabit-like forced shutdown, and an internal power struggle within TrueCrypt. I suppose we'll have to wait and see what develops. - Bruce Schneier.

Re:Truecrypt report by tptacek on Monday April 06, 2015 @09:34AM (#9327973)
Matthew Green does not believe there is a Truecrypt conspiracy. Source: I've discussed this with him at length as an advisor to the TC audit project.

Steve Gibson isn't a cryptographer, and your quote doesn't respond to my question.

Bruce Schneier I'll have to accept as a totally valid rebuttal to my implied point. This is something that really irritates me about Schneier, for what it's worth. He's also behind a meme that elliptic curve cryptography is less safe than RSA, when the reality is almost the opposite.

Re:Truecrypt report by compbio on Monday April 06, 2015 @10:17AM (#9328171)
I think those quotes were a bit snotty, especially considering your stature and knowledge on this. I don't think I was trying to rebut you, as much as I was simply trying my luck at advocating that user's view. Sorry for that.
Re:Truecrypt report by LordKano on Thursday April 02, 2015 @07:42PM (#9313823)
What convinces me that there is more to the story is what they haven't said.
Re:Truecrypt report by huhtenberg on Thursday April 02, 2015 @01:48PM (#9312219)
They believe that, huh? Interesting wording.
Re:Truecrypt report by sdevlin on Thursday April 02, 2015 @01:37PM (#9312126)
I wouldn't say I'm "deferring" to it. It does align with what I think is the best option.
Re:Truecrypt report by huhtenberg on Thursday April 02, 2015 @01:52PM (#9312250)
> This is also what the TrueCrypt developer recommends.

Given the context of the thread, how is this not using developer's recommendation as an endorsement? What TC dev said bears absolutely zero weight regardless of whether it aligns with your opinion or not.

Re:Truecrypt report by sdevlin on Thursday April 02, 2015 @02:15PM (#9312417)
The context of the thread is a report with my name on it.

My professional opinion is my own. The developer's opinion is also relevant (to people who don't buy into nonsensical conspiracy theories), so I mentioned it.

Re:Truecrypt report by compbio on Thursday April 02, 2015 @12:52PM (#9311867)
As far as I can gather the Dutch authorities are not able to retrieve TrueCrypt keys. I can not say the same about BitLocker and FileVault. If the US knows how to get into TrueCrypt volumes then at least they are not sharing that knowledge with foreign allied agencies.
Re:Truecrypt report by bhayden on Thursday April 02, 2015 @11:48AM (#9311427)
Any input on the cryptic message the TrueCrypt developer left on their website, essentially saying we should all assume TrueCrypt to be insecure?
Re:Truecrypt report by LLWM on Thursday April 02, 2015 @12:47PM (#9311840)
The developers themselves have clarified. Software that is not actively maintained should be assumed to be insecure.
Re:Truecrypt report by 0x0 on Thursday April 02, 2015 @01:53PM (#9312261)
link/source?
Re:Truecrypt report by LLWM on Thursday April 02, 2015 @03:57PM (#9312787)
The Security Now show from the week after the event had a pretty thorough recounting of what happened. I'd recommend starting there.
Re:Truecrypt report by darkstar999 on Thursday April 02, 2015 @04:25PM (#9312970)
Security Now! episode #458 - 10 Jun 2014

Skip to 2 minutes in if you don't want to hear the drawn out intro

https://media.grc.com/sn/sn-459.mp3

https://www.grc.com/sn/sn-459.htm

Re:Truecrypt report by sdevlin on Thursday April 02, 2015 @11:55AM (#9311489)
I don't have any inside knowledge, but I don't think there's any cloak-and-dagger stuff here. I think he just didn't want to maintain it anymore (for whatever reason), and he wanted to warn people away from using unmaintained software.

Again, this is just my perception.

Re:Truecrypt report by antjanus on Thursday April 02, 2015 @11:58AM (#9311507)
out of curiosity then, what would you use? I've been trying to figure out an alternative.
Re:Truecrypt report by sdevlin on Thursday April 02, 2015 @12:03PM (#9311544)
I'm primarily a Mac user, and I use FileVault. If I were on Windows, I would use BitLocker. I'm not sure about Linux.
Re:Truecrypt report by ion201 on Thursday April 02, 2015 @01:50PM (#9312236)
For Linux, dm-crypt/LUKS for full-disk encryption (this is already the default on many distros) and eCryptfs for less complete or individual file/directory encryption.
Re:Truecrypt report by Quiark on Thursday April 02, 2015 @11:21AM (#9311201)
The benefit of TrueCrypt over LUKS is that it's portable to Windows and Mac.
Re:Truecrypt report by nbaksalyar on Thursday April 02, 2015 @11:25AM (#9311226)
And it seems that LUKS supports full disk encryption only, while TrueCrypt allows to use encrypted containers (i.e. single files).
Re:Truecrypt report by ryan-c on Thursday April 02, 2015 @11:33AM (#9311305)
LUKS supports encryption of block devices. Linux has robust support for using regular files as block devices via the loopback driver, so you can have a file as an encrypted container just fine.
Re:Truecrypt report by 0x0 on Thursday April 02, 2015 @11:30AM (#9311276)
Surely you can use LUKS on a loopback device backed by a single file?
Re:Truecrypt report by krylon on Thursday April 02, 2015 @11:49AM (#9311429)
I did so before moving to TrueCrypt. Mounting and dismounting was a bit convoluted compared to TrueCrypt (or encfs), I remember I wrote a Python script to make it a little more convenient.

But it did work fine about five years ago, and I do not think the situation has become worse.

Re:Truecrypt report by ryan-c on Thursday April 02, 2015 @03:44PM (#9312721)
From http://manpages.ubuntu.com/manpages/trusty/man5/crypttab.5.h...

    The second field, source device, describes either the block special
    device or file that contains the encrypted data. Instead of giving the
    source device explicitly, the UUID is supported as well, using
    UUID=<luks_uuid>.
That covers the init scripts, and it looks like recent versions of cryptsetup will "do the right thing" if pointed at a file rather than a block device.
Re:Truecrypt report by dmix on Thursday April 02, 2015 @01:28PM (#9312068)
Tomb is better for this purpose than LUKS on Linux machines https://www.dyne.org/software/tomb/

More of a direct competitor to Truecrypt.