288 points · by conductor · 10y ago · 92 comments
Also, the most significant new work - the UEFI support - seems to have quite a few issues.
Note that, despite the color-coding, the list of fixed issues is not the list of critical (red) issues!
So we have Veracrypt as the 'good enough' option right now and ease of use, but you shouldn't happen to know any secure alternatives? You seem to know a bit about this.
Data from prior work indicates it ranges considerably from significantly harder to extremely hard. The LOCK system with an Orange Book A1 development process was highly secure and gave cost breakdown. A1 assurance acyivities added around 37% or so on top of regular, labor cost. Altran/Praxis's Correct-by-Construction that does highly-assured systems with mix of Z specs, Ada, SPARK, reviews, and testing costs 50% premium on top of normal development. Just using SPARK automatically knocks out whole classes of bugs. Galois did and open-sourced CRYPTOL so people can specify algorithms in easy DSL then generate C from it. Also parser and protocol generators.
So, prior evidence shows it takes specialized skill and domain knowledge... at least two extra people unless one has both... but otherwise costs 30-50% more time. Like Cleanroom methodology, it partly achieved this by saving you time debugging and refactoring due to reduced bugs in general plus doing fixes earlier in lifecycle.
Most OSS projects dont do this stuff just because they dont know it's necessary, don't care, or don't have staff for both demanded features and assurance activities. Interestingly, there's more high-assurance products in proprietary than FOSS software despite the huge labor advantage FOSS has. That there's little of even medium-assurance work in majority of both says even worse things about IT's priorities or apathy given medium assurance cost little to nothing. Microsoft is the one exception of big, software houses via SDL and MS Research's work. For FOSS, DJB, OpenBSD, and SQLite come to mind.
It really shows the amount of resources and knowledge required for actually having safe or secure systems.
For disk encryption, use whatever comes with your system. If you have no preference, Microsoft's BitLocker is excellent - it can incorporate hardware security features such as a TPM, self-encrypting (OPAL) SSD, it's somewhat easy to administer, etc.
I think it's probable that both can be broken/bypassed by state actors - I'd be happy to use either as a defence against everyone else though.
I acknowledge this is likely a super-niche problem, but if you want to use an encrypted thumb drive (or external HDD/SDD) to access data from Windows, Mac and Linux machines, there is almost no alternative. Is there any realistic alternative?
And BitLocker, even if you are on Windows is not completely trouble-free - on Windows 7, e.g. to my knowledge only the Ultimate/Enterprise editions support it. Windows 7 Pro does not.
VeraCrypt has always seemed like someone swooped down and forked TrueCrypt the moment it became abandoned, to grab all its faithful users.
Now, that's a bit dramatic, and probably not entirely true. But that's how it always felt to me -- ANYONE can just fork TrueCrypt. Why should I trust these guys in particular?
VeraCrypt 1.0 was released in May,2013[2]. One year prior.
[1] http://truecrypt.sourceforge.net
[2] https://sourceforge.net/u/yanpas/veracrypt/ci/VeraCrypt_1.0b...
TrueCrypt was developed by an anonymous developer that vanished, abandoning the project. Funny how trust works.
The full story about him is fascinating and well worth the read.[1]
[0] http://www.newyorker.com/news/news-desk/the-strange-origins-...
yikes, one hell of an oversight
That some person's weekend project doesn't have an audit like this expressing issues doesn't make it better - it makes it worse. Please consider that when reviewing the context of this paper.
https://ostif.org/top-ostif-donors/
Top OSTIF Donors
These are the individuals and organizations that have given
the most support to the OSTIF.
Individuals:
Derek Zimmer – $1947
Zach Graves – $188
Amir Montazery – $200
Ben W – $30
Nathan N – $10
Groups:
DuckDuckGo – $25,000
VikingVPN – $1000
A special thank you for website support from Mike from
HTPCGuides.com
EDIT: On a second look, is that list really accurate? The fifth highest individual donor gave $10?I read about the founder and long-time developer of a well-known, respected Linux distro, who had to move back to his hometown because he couldn't afford the Bay Area and has no health insurance. Maybe some of his millions of users could chip in a little for the incredible service he provides to them. How depressing.
Don't know how they are collecting money in general, but for me it works best when you do this: "Now we have $xxx, but we still need $yyy to do this fairly specific great thing. Please donate!"
Another problem was finding up-to-date info about whether funding is actually needed and what for. Donors usually want to donate to a project that is needy and in line with their values.
My advice for any OSS project looking for donations is:
* Have a dedicated easy-to-find donations page or donations.md file.
* Explain what you need funding for. Specific is better.
* Indicate how to donate and how to contact you for donation questions.
* Make your tax status clear, even if you're not a non-profit.
* To reduce bureaucracy, consider joining a non-profit umbrella organisation such as OSTIF ( https://ostif.org/ ) or Riseup Labs ( http://riseuplabs.org/ ).
* If you do get donations, report the effect of the funding either publicly or to the donor. This builds trust and increases the chance of repeat donations in future.
* Include non-financial donation ideas and link to your developer page or contributing.md file (or equivalent).
EDIT: The OpenBSD Foundation is a good example of easy-to-access information about donating, activities, and current and past fundraising campaigns: http://www.openbsdfoundation.org/
One critical and almost ubiquitous piece of software and the funding it was getting was ridiculous.
(KDE is a registered entity in Germany, and donations to them can be reclaimed from taxes)
Interesting. Do you remember what distro?
I tend to use FDE for non mission critical working environments, like casually surfing the web, or just messing around with code. FDE can go wrong at the worst of times, and can undo years of work if you let it.
That's why if you're using FDE for anything important, you should be backing up crucial data to containers, or otherwise preparing for the entire disk to be scrambled beyond repair and or bricked.
For day to day, I use the T3 SSD[1]. It is tiny, ultra-resistent and not so expensive considering it's an SSD with USB 3.1 Type C.
[1] https://www.amazon.com/Samsung-T3-Portable-SSD-MU-PT1T0B/dp/...
Now I'm not familiar with the inner workings of OS X as I don't personally use that system. However, with FDE (LUKS) on Linux, this is 100% avoidable if you backed up the LUKS Header: https://calum.org/posts/backup-your-LUKS-header-and-LVM-conf....
This does not negate the need for a real backup tho. So you should backup your data regardless, however you want to do that.
VeraCrypt binary application can unlock TrueCrypt volumes but CAN NOT create them.The application has a setting to default to TrueCrypt volumes and hence if all you do is unlocking your TrueCrypt volumes,you can conveniently use VeraCrypt to unlock your TrueCrypt volumes.
I think it will be better if you switch to VeraCrypt and set this option.Alternative "native linux" tool you could use to manage your TrueCrypt volumes in linux is zuluCrypt[3].
EncFS has its own issues[1] and there are a number of new projects that seeks to replace it and SiriKali[2] is a GUI tool to manage all these newer tools.
[1] https://defuse.ca/audits/encfs.htm
You can mount truecrypt volumes without any special tools on linux (only cryptsetup).
cryptsetup open --type tcrypt [volume] [name]
It even works with hidden partitions.I think that what they mean by "not 100% TrueCrypt compatible" is that it doesn't work the other way — you (probably, I've never tried it) can't decrypt VeraCrypt-encrypted partition with TrueCrypt.
[0] https://www.reddit.com/r/privacy/comments/57yfla/veracrypt_h...
FWIW I'd recommend changing your partition type to mbr and using truecrypt 7.1a instead.
I don't trust veracrypt after such a negative experience.
I should donate to more open source projects. I use them everyday. Yesterday i found "paste" program and almost broke down crying that somebody 40 years earlier provided free solution to problems i didn't even know i had. I love that about free software.
Glad we finally have a security audit of this fork. True/VeraCrypt has been essential in defending the rights and freedoms of many people. Hope this project continues.
This was a third-party audit, and VeraCrypt fixed all of the critical ones that they found. All software has bugs. To find some that are critical is not necessarily indicative of the quality of code on the whole.
auditing a large codebase certainly isn't as easy as proofreading a paper. it's not a "one and done" scenario. especially when you also factor in the security requirements of encryption software. the world won't end if there's a missed spelling mistake or two in a term paper, but if there are critical vulns in VeraCrypt the entire software could be rendered useless
Smoke, fire, yadda yadda.
Critically dangerous, but understandable(complex crypto/ interactions). Those do not indicate low code quality.
Critically stupid/unwise(you know what these are, e.g. the libressl rant list). These do.
This is a form of "slippery slope" argument that holds no weight as to the security of VeraCrypt, one way or another.
Between two pieces of software with the same function, if the same audit process finds 10 critical bugs in software A, and 100 critical bugs in software B, which do you think is more likely to have undiscovered bugs?
I'd say B, since no bug discovery process is perfect. For example, assuming a ~90% hit rate, you'd expect there is ~1 undiscovered bug in A, and ~10 in B.
(Note that I am not saying VeraCrypt is bad or that you shouldn't use it. I have no idea how it compares to similar software. All I'm arguing is that, ceteris paribus, discovering more critical bugs is at least weak evidence that more undiscovered critical bugs exist, since no bug-discovery process is perfect.)
That's the argument being made implicitly, and the argument you're reiterating.
Saying, "Who knows if there are more bugs?" is a useless statement, you simply can't do anything with it. That's the nature of bugs, if you can't identify or find them, you can't claim they exist.
100 bugs in software B does not imply the 101st bug, is my point. There's no such thing as a bug "hit rate".
I would also suggest to take into account the fact that, albeit being open source, it is primarily developed by a French security company whose web pages https://www.idrix.fr/Root/ do not inspire confidence in combination with France's history of dealing with encryption. A conflict of interest can easily arise in such companies between the companies or authorities that pay them and the interests of the general public.
"You'll find below a partial list of those who gave us their full trust, as some of our customers prefer to remain discrete about our collaboration."
About the only really unfortunate thing that I saw in the audit was the addition of the old Soviet 64b block cipher that they need to remove. They shouldn't have added that, noble though the goal of adding non-Western-derived algos might have been. But the remainder of the issues noted in the audit are likely there from TrueCrypt, and as the VC team fixes them, it will mean that VeraCrypt is definitively better than TrueCrypt. That's a good piece of information to know, as I suspect there are lots of people around still using TrueCrypt because nobody has really produced anything better yet.
So which country would inspire confidence then? Reading the news these days it seems most developed countries are equally guilty of mass surveillance and trying to meddle with encryption technologies.
The only way to really be sure is to have independent audits like they just did, and the VeraCrypt developers are apparently keen to keep making these audits happen.
I'm not the kind of guy who compiles the source code himself and vets it against the audited code (who is, frankly speaking?), so I only run encryption software that has been developed by individuals and non-profit groups of individuals that do not run a private security company and that I consider trustworthy based on personal criteria.
In cryptography, private companies have proved again and again that they cannot be trusted. They invariably mess it up due to incompetence or meddling with the government (see e.g. Crypto AG as a typical example). Open source is good, of course, but it is only a necessary, not a sufficient step. Security audits will not help you at all if you download binaries from untrusted sources.
It's fine if you trust Idrix, but it's also fine and fully rational if I don't, based on what I know about France's intelligence apparatus and how they operate.
Yes, I do consider it possible with a low but significant enough subjective probability that Idrix is a government setup.