15 ms·
VeraCrypt: Free open-source disk encryption for Windows, Mac OS X, Linux
- LWIRVoltage 3y agoI have followed Veracrypt closely over the years and , while it works very well and seems to be a very capable effective option- I wish the MBR/BIOS vs UEFI thing wasn't a limitation For those who don't know, -and this is more of the result of the EFI Boot partition scheme- before that, for MBR systems ,one can use Veracrypt to encrypt the entire System Drive - and this allowed a unique option that I have not seen anything else ever able to replicate- it enables an option that lets one hide an entire OS- The Hidden OS option is restricted to legacy boot mode- and that's being more and more dissuaded in general- So i fear the airtightness of the Hidden-OS capability will no longer be reachable for consumers. I had seen one effort on it - https://portswigger.net/daily-swig/russian-doll-steganography-allows-users-to-mask-covert-drives https://portswigger.net/daily-swig/russian-doll-steganograph... and https://i.blackhat.com/eu-18/Thu-Dec-6/eu-18-Schaub-Perfectly-Deniable-Steganographic-Disk-Encryption.pdf https://i.blackhat.com/eu-18/Thu-Dec-6/eu-18-Schaub-Perfectl... However, I have since then not seen anything on this sort of capability- and no other encryption software has focused on steganography and encryption/plausible deniability capabilities to this level.
- somat 3y agoIt should be a common thing, I am not all that sure about the offerings on linux. But the openbsd project offers full disk encryption and a bootloader that handles it well. Actually, this may be a common mistake I make. On openbsd if the project says something works it will usually be simple to set up and have a nice documentation. So I then think "Well if the tiny openbsd project can do it, it must be this easy everywhere" which is not true at all. The two cases that come to mind were booting off a softraid volume(hopefully this one is fixed) and setting up a netflow source. both of which proved to be trivial on openbsd and a huge pain in the ass on linux. The other common mistake I make is to use the openbsd man pages(they are just better) on linux and wonder why nothing is working right.
- PrimeMcFly 3y agoProbably less of a focus on it because VMs have become so cheap and easy, and you can just encrypt a VM. I am refining an approach that allows for an OS to be hidden via a different method though. Using disk encryption with the key stored in the TPM, and by default booting into a virtualized OS with no hint that it is virtualized, unless a key combo is pressed at the boot screen to boot into the real OS - after a password is entered. Doesn't protect against everything but it can protect against a lot if deniability is the goal.
- faiD9Eet 3y agoLast time I checked the state of TrueCrypt it was 2014. There used to be an audit saying "build chain is outdated, but software is fine" and an hostile fork named VeraCrypt came to be, incorporating a lot of new features. Some people where suspicious how many bugs this code might have and whether to use VeraCrypt at all. How much trust do you put on VeraCrypt?
- snailmailman 3y ago“Hostile fork”? Truecrypt was abandoned. The creator released a “decrypt only” version and recommended all users switch to different software. From what I understand, Veracrypt just continued development where Truecrypt left off
- faiD9Eet 3y agoyou are right, it was abandoned. I forgot about that. From my understanding there never was an official successor, that's why I consider VeraCrypt a fork.
- guraf 3y agoWe're not taking issue with you calling it a fork, which it is. We're taking issue with you calling it an HOSTILE fork, which it isn't.
- distract8901 3y agoI actually really like VeraCrypt. Last time I used it was 5 or 6 years ago and the UI looked like something straight out of the 90s, which is a good thing IMO.
- urbandw311er 3y agoThe reason I knew Trucrypt was watertight was because the source code got fully audited and because the NSA got so squirmy about it. Has there been any equivalent audit of Veracrypt? Or should we basically assume it’s been compromised/backdoored.
- I_Byte 3y agoVeracrypt 1.18 was audited in 2016 by the Open Source Technology Improvement Fund [0]. It is incredibly unlikely that a random NSA backdoor is sitting around on a high profile open source project like Veracrypt. If you are still skeptical you are free to take a look at all of the source yourself [1]. [0] - https://ostif.org/the-veracrypt-audit-results/ https://ostif.org/the-veracrypt-audit-results/ [1] - https://github.com/veracrypt/VeraCrypt https://github.com/veracrypt/VeraCrypt
- vr46 3y agoIIRC this was the fork of the abandoned Truecrypt which had its code verified and basically certified to have no backdoors or major cock-ups, and then given a new (terrible) name before quietly fading into the background… Truecrypt was really great, and I enjoyed their take on plausible deniability, but haven’t used it since maybe 2006.
- NetworkPerson 3y agoI love it, but it’s not an answer to normal people yet. The 0.01% of us who know and understand encryption, cool. But getting ready for the main world? Bitlocker lets people click a button and walk away. Administrators make a few small changes and have the whole fleet bitlockered with centrally managed recovery keys should anyone have an issue. Does Veracrypt offer better security? Yes. Would I be thrilled to roll it to my clients? Yes. Would it be an absolute nightmare to deploy and manage across an organization? Yes. I’m sad because this is great and the answer to much but stands no chance when you move past the “single user who is IT literate” user group.
- Groxx 3y agoBitlocker for an equivalent level of security (password at boot) is way more confusing and way more error prone in my experience. I know what I'm looking for and understand all the terms in use and I had to try three times, and lost access to my drive once. No way in hell would I recommend it to less technical people (except default settings, which works fine but offers near zero security against extremely common things like theft). Bitlocker is by far the least user-friendly OS-provided I've ever seen - it's so bad I have to assume it's being intentionally ruined.
- upon_drumhead 3y agoIs it better? Even truecrypt's developers (which this is based on) recommend moving to bit locker now, https://truecrypt.sourceforge.net https://truecrypt.sourceforge.net
- kijin 3y agoThat was 9 years ago, not "now". BitLocker was the only alternative that they could recommend back then. It's possible that whatever vulnerability the TrueCrypt developers were alluding to still lurks in the VeraCrypt codebase, but the chances seem pretty low. VeraCrypt uses much stronger encryption methods, it has addressed all the issues raised in the original TrueCrypt audit as well as a separate audit of its own code, and the latest version isn't even backward-compatible with TrueCrypt volumes.
- deleted 3y ago[deleted]
- stblack 3y agoI always wonder what really happened with TrueCrypt. What’s the inside story, there? I’m not interested in anybody’s guess. What happened? WTF actually happened?
- lucb1e 3y agoI'm not sure how you're insisting on more than "anybody's guess" when that's all the information that is out there
- eitland 3y agoFor anyone who wonders and can tolerate some guessing, here is an interesting starting point: https://magazine.atavist.com/he-always-had-a-dark-side/ https://magazine.atavist.com/he-always-had-a-dark-side/
- ThePowerOfFuet 3y agoAbsolutely wild. Thank you for contributing this!
- wkat4242 3y agoI had no idea, that explains a lot. Thanks.
- billfruit 3y agoThe the article may have something interesting to say, but it seems to spend paragraphs upon paragraphs on the amateur sleuthing that the article authour did, rather than come to the point quickly.
- mhogomchungu 3y agoIf you are on Linux and prefer a Qt based GUI, then check out zuluCrypt[1]. It can create PLAIN dm-crypt, LUKS, TrueCrypt and VeraCrypt volumes. It can unlock PLAIN dm-crypt, LUKS, TrueCrypt, VeraCrypt and Bitlocker volumes. [1] https://github.com/mhogomchungu/zuluCrypt https://github.com/mhogomchungu/zuluCrypt
- Grimburger 3y agoNot trying to diminish zulucrypt here but I really hope people aren't choosing encryption programs based on the GUI framework they use.
- tetris11 3y agoWell, veracrypt has a random seeding stage where you're required to shake the mouse around to create randomness. Problem is, that it only registers when the mouse is over the actual tiny veracrypt window. Problem with that is, it tells you that in some tiny bold text at the bottom. You can waste literally an hour wondering why the randomness meter goes up only sometimes. A better UI might fix that.
- vlovich123 3y agoAfaik that kind of entropy generation is silly on modern machines. You should just call getrandom (or whatever the equivalent is for the modern OS it’s running on is) and be done with it. Hand rolled entropy like this isn’t necessary anymore - the OSes have very high quality CSPRNGs baked in natively and seeded directly from interrupts and other HW entropy sources.
- tetris11 3y agoGood point. Is entropy built into the kernel, though? Last time I checked this I had to manually enable it as a system service, though this was a fair few years back.
- Grimburger 3y ago
- Ayesh 3y agoUsing it for a few years now, and I'd hesitate not one bit to recommend. It's not as "technical" as said in comments either tbh. But us in HN are not qualified to call it non tech friendly I guess. Performance is great, nearly "metal" SSD speeds. I use it with a hidden partition of an external HDD, and works great too, once I got Windows to stop asking me to formally that partition. The only feature I wish it could have is better Yubikey (and alike) integration. I can use those static passwords as an encryption key, but I'd need something better.
- _d3Xt3r_ 3y ago> Performance is great, nearly "metal" SSD speeds. But how does that compare exactly, performance wise, against Bitlocker and LUKS? (assuming similar strength encryption algorithms are selected)
- Ayesh 3y agoI haven't used BitLocker or anything else, so I can't really compare. Veracrypt has a neat benchmark tool so you know the speed beforehand. I suppose most CPUs have native support for the popular algorithms, so the bottleneck really is the disk, not CPU itself or the software.
- deleted 3y ago[deleted]
- pulse7 3y agoThere is still an open issue in VeraCrypt (https://github.com/veracrypt/VeraCrypt/issues/136 https://github.com/veracrypt/VeraCrypt/issues/136) because of which BitLocker is much faster on SSDs then VeraCrypt... But if you don't need those speads, VeraCrypt is still great...
- huhtenberg 3y agoTo nitpick - on _NVmE_ drives, not SSDs. The principal difference is the native speed of raw IO - NVmEs are an order of magnitude faster than SSDs. TC/VC don't use hardware acceleration, so all the encryption work falls on the CPU. On a machine with a reasonably modern CPU, TC/VC run nearly at drive's native speed.
- paulpauper 3y agoJust use Bitlocker . Despite being proprietary, it has withstood court challenges, indicating no backdoor and much easier and reliable than having to deal with utfi, firmware, compatibility, and secure boot settings and other issues that may arise with VeraCrypt when trying to encrypt the entire drive. Microsoft makes it idiot proof to encrypt the drive. This is one of the few instances in which the closed source option is better than open source.
- self_awareness 3y agoBitlocker is Windows-only
- paulpauper 3y agoif the data is important enough just buy a laptop for bitlocker only and then disconnect from the internet after installing it.
- villedespommes 3y agoYou could use dislocker on Linux.
- PappGaborSandor 3y ago[dead]
- 14 3y agoAs far as I see bitlocker isn’t available for windows 10 home edition. Unless there is something I am missing. That is why I recently started looking at Veracrypt.
- paulpauper 3y agothen buy pro. If the data is important enough, $100 is trivial.
- akvadrako 3y agoIt's certainly on Windows 11 Home edition, but it isn't called Bitlocker and has a less powerful GUI than the Pro version.
- jillesvangurp 3y agoDevelopment seems to have moved to Github. This website has the latest release in 2022. The Github project has much newer releases: https://github.com/veracrypt/VeraCrypt/releases https://github.com/veracrypt/VeraCrypt/releases. Today basically.
- deanc 3y agoOn the downloads page [1] the latest release is in sync with Github [1] https://veracrypt.fr/en/Downloads.html https://veracrypt.fr/en/Downloads.html
- maattdd 3y agoVeraCrypt is good but it doesn't work well with syncing, because changing any bit of the disk image invalidate the whole disk hash. Cryptomator works a bit differently (it changes the structure/names, but store the underlying encrypted files as files) so you can sync file by file.
- ale42 3y agoI think that VeraCrypt and Cryptomator have very different use cases. And VeraCrypt has features like hidden volumes (not that most people would ever need those).
- aborsy 3y agoVeracrypt is a disk encryption tool, not for syncing!
- maattdd 3y agoI don't think you've understood my comment.
- aborsy 3y agoI have done this and been there before. Dropbox syncs the deltas in LUKS and veracrypt disks. A change of a bit in plaintext changes the blocks that are involved, and only those blocks are updated. But most other sync tools don’t handle it properly. That was around a decade ago. Today, one would use cryptomator, rclone, gocryptfs rtc.
- MikusR 3y agoAnd propper syncing tools can sync only the changed parts.
- maattdd 3y agoDo you know a syncing tool which would work with a VeraCrypt image? (rsync algo doesn't for example)
- nuker 3y agoCan it set-up /boot volume encryption and using of TPM for unattended reboots? Thats the deal breaker feature.
- iofiiiiiiiii 3y agoI once asked the developers about this and they did not seem to understand what the point of a TPM even is, unfortunately.
- andersa 3y agoIt's really annoying how none of these tools provide an easy way to activate the properly fast, zero CPU overhead hardware-based encryption that almost all modern SSDs can do, which also makes it work properly with DirectStorage, etc. The only one I'm aware of that can do it is Bitlocker, but the setup is stupidly clunky for no reason (you even have to reinstall windows to activate it - wtf). A while back I used a tool to do it manually called sedutil but it seems to be abandoned now and no longer works with modern processors.
- mschuster91 3y ago> It's really annoying how none of these tools provide an easy way to activate the properly fast, zero CPU overhead hardware-based encryption that almost all modern SSDs can do, which also makes it work properly with DirectStorage, etc. Because the situation is similar to Dr. House: All disks lie. An OS can't trust the quality of the encryption in modern SSDs, there is no way short of dedicated hardware and firmware reverse engineering to make sure it actually encrypts the data. And on top of that comes the issue with using the supposedly "secure" TPM for disk encryption, that in many cases can simply be sniffed on the communication bus [1]. The only way a disk encryption solution can reasonably guarantee security is if it either controls the whole stack (such as Apple's FileVault using the T2 coprocessor on Intel/built-in capabilities on M SoCs) or it does everything in ring 0 inside the OS. [1] https://pulsesecurity.co.nz/articles/TPM-sniffing https://pulsesecurity.co.nz/articles/TPM-sniffing
- andersa 3y ago> Because the situation is similar to Dr. House: All disks lie. An OS can't trust the quality of the encryption in modern SSDs Why is this the job of the OS? If we trust the SSD ourselves, it should simply accept that and proceed using the API as intended. For example, there's no reason to suspect anything wrong with the latest Samsung SSDs, is there? I've so far not understood the purpose of the TPM here. Why can't the key be derived off a password entered during boot? It's not necessary to involve a TPM at all. It seems wild to even consider software encryption for the whole disk at the bandwidth and iops modern SSDs are expected to deliver.
- 8fingerlouie 3y agoI've used countless encryption "schemes" over the years, from True/Vera-Crypt to encrypted sparse bundles/images, and none have ever really felt right. These days i tend to use Cryptomator[0] instead. It accomplishes what none of the others could do, which is transparent encryption across devices. With Cryptomator, i simply create a vault somewhere in the cloud, stuff data in it, and i can access it from my laptop, phone or tablet, and not think much about it. It integrates into the normal file browsing APIs, and doesn't get in the way. Because it does "per file" encryption, it also doesn't need to download a 20-100MB chunk from the cloud before decrypting, so it's rather fast (depending on file size of course). Cryptomator is also open source[1], and free on the desktop, though the mobile apps costs a one time fee. [0]: https://cryptomator.org/ https://cryptomator.org/ [1]: https://github.com/cryptomator https://github.com/cryptomator
- czei002 3y agoDoes Cryptomator also works over sftp? Does it supports concurrent edits to the same vault? Can't find much about it in the docs...
- mock-possum 3y agoYep I use Cryptomator for when I want to sync a bunch of small individual files, and Veracrypt for big local archives. I forget whether I have cryptomator hooked up to Dropbox or google drive, but I’ve never had an issue with it.
- akvadrako 3y agoGocryptfs is another alternative in the same vein. I've switched to it from Cryptomator as it has better Android support and is more ergonomic on the command line.
- alwyn 3y agoWhat I haven't found a solution for, is being able to synchronise and open a gocryptfs with cloud sync on Android. Dropbox/Drive/pCloud folders aren't directly accessible or mounted in Android. One work-around could be to export a zip of the folder from Dropbox/whatever, then extract and open that, but that's one-way. Do you have a solution for this?
- SamFromSpace 3y agoEntirely tangential, but I recently participated in a CTF that included a steganography challenge with a True/VeraCrypt volume embedded inside a MP4 file. The MP4 file could be mounted just as a normal VeraCrypt volume could be. https://keyj.emphy.de/real-steganography-with-truecrypt/ https://keyj.emphy.de/real-steganography-with-truecrypt/
- yashoulda 3y ago>tangential thanks for this, it was useful to me though i reflexively typed up a comment asking you be careful about truecrypt vs veracrypt as i tried to load your article[1] via tor browser. (through no fault of your own, i am having flashbacks to documents referencing "ethereal" and "firebird" far too long -- when the wrong word is used past the change in name, many will use that as a heursistic to discount your words and data, sometimes it's cruel to those who learned english late in life but it's the only way to avoid some very dangerous errors, especially if you are moving from "the cyber" to the physical in terms of the sources you're... pulling) (i can assure you that most stenography is best reserved for key exchange, not hiding any significant amount of data, but most users of this site are concerned with a very US-centric, legalistic threat model where no lies are told to totalitarians.) [1] https://web.archive.org/web/20110916033048/https://keyj.emphy.de/real-steganography-with-truecrypt/ https://web.archive.org/web/20110916033048/https://keyj.emph...
- T3RMINATED 3y ago[dead]
- tjrgergw 3y agoI've been using Truecrypt + syncthing since forever. Serious question: why would I move to veracrypt? It seems just a risk that something breaks.
- AlphaCerium 3y agoApparently Truecrypt has had development shut down in 2014 and the devs are now telling people to migrate to Bitlocker as it may be insecure: https://truecrypt.sourceforge.net/ https://truecrypt.sourceforge.net/
- tjrgergw 3y agoBitLocker - I'm not going to move to some windows-first software.
- ransom1538 3y agoHas anyone seen legal cases involving hidden partitions?
- pollux66 3y ago[flagged]
- yomlica8 3y agoI was sort of surprised to find that standard crypt-setup in linux actually supports opening true/veracrypt volumes. It doesn't support creating them as near as I can tell though.
- dividedbyzero 3y agoLast time I checked you had to disable System Integrity Protection for it to work on Apple Silicon. Hard no for me, using macOS's encrypted sparse bundle disk images now.
- josephcsible 3y agoWhy is disabling tivoization a hard no for you?
- dividedbyzero 3y agoSIP is a useful bit of extra security that doesn't cause any other issues for me, and there's no need to disable it for encrypted volumes either if I use anything but VeraCrypt.
- kdtsh 3y agoNot sure if this was ever necessary or when it stopped being necessary, but you definitely don’t need to disable SIP to use VeraCrypt (anymore). You do need to install macfuse which is effectively closed source, but SIP stays on.
- vishnudeva 3y agoAmazing tool, but I'll always (unreasonably and unfairly) hate it for locking away a bunch of my data because I forgot an absurdly long password which I didn't note down anywhere. Needless to say, lesson learned.
- goombacloud 3y agoFor regular Linux users you can do: sudo touch /etc/udisks2/tcrypt.conf sudo systemctl restart udisks2 and then any veracrypt volumes can be used in Nautilus or GNOME Disks similar to LUKS volumes.
- ciabattabread 3y agoI use VeraCrypt on Windows to store my bank statements and other financial records, but recently, I’ve started moving my files over to the Mac ecosystem. Considering my Mac comes with SSD encryption, is it really necessary for me to continue using VeraCrypt?
- SamuelAdams 3y agoProbably not. What is your threat model? Full disk encryption only solves part of an overall threat model. The biggest difference between VeraCrypt and FileVault is that one is open source and auditable. FileVault does have some publicly available technical whitepapers, however Apple has not released the source code. So aside from black box testing FileVault itself, you’ll just have to trust that the engineers at Apple did a good job. Otherwise the differences are largely the same: how long is your passphrase, where do you store that, etc. https://www.lightbluetouchpaper.org/2012/08/06/analysis-of-f https://www.lightbluetouchpaper.org/2012/08/06/analysis-of-f... https://eprint.iacr.org/2012/374.pdf https://eprint.iacr.org/2012/374.pdf