Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

VeraCrypt File Protection: Why I Switched

· 6 min read · Home Tech

In this article
  1. Background: Why VeraCrypt Exists
  2. How VeraCrypt Works
  3. How to Choose the Right Encryption Method
  4. Steps to Create a VeraCrypt Container
  5. Common Problems and Misconceptions
  6. Cost and Safety Considerations
  7. Alternatives to VeraCrypt
  8. Frequently Asked Questions

I started using VeraCrypt for file protection because it is a free, open-source tool that creates strongly encrypted virtual disks and can encrypt entire drives, offering a level of security that built-in OS features often lack. After learning how easily unencrypted files can be recovered from a hard drive, I wanted a solution that was both transparent to use and resistant to brute-force attacks, and VeraCrypt delivered on both counts.

Background: Why VeraCrypt Exists

VeraCrypt is a fork of the now-discontinued TrueCrypt project, which was a popular encryption tool until its development abruptly ended in 2014. The VeraCrypt project took the original TrueCrypt code, fixed several security vulnerabilities, and improved the key derivation function to make brute-force attacks more difficult. It is maintained by a team of volunteers and is subject to independent security audits, which is important for anyone trusting it with sensitive data. The software is available for Windows, macOS, and Linux, and it can encrypt files, folders, partitions, or entire system drives.

How VeraCrypt Works

VeraCrypt creates an encrypted container file, which is essentially a virtual disk that you mount like a USB drive. When you mount it, you enter a password (and optionally a keyfile), and the container becomes visible as a new drive letter or mount point. All data written to that drive is automatically encrypted on the fly using AES, Serpent, or Twofish algorithms, or a combination of these. The encryption is transparent to applications, so you can open, edit, and save files just as you would on a normal drive. When you unmount the container, the data is inaccessible without the correct password, and the container file itself looks like random data to anyone who does not have the key.

How to Choose the Right Encryption Method

When creating a VeraCrypt volume, you are asked to choose an encryption algorithm. The most common choice is AES because it is fast and widely supported by hardware acceleration on modern CPUs. However, VeraCrypt also offers Serpent and Twofish, which are slower but considered more resistant to certain theoretical attacks. You can also combine algorithms, such as AES-Twofish-Serpent, which increases security but significantly reduces performance. For most users, AES alone is a solid choice; the real security comes from a strong password, not just the algorithm. If you are paranoid, you can choose a cascade, but be aware of the speed trade-off.

Steps to Create a VeraCrypt Container

Creating your first VeraCrypt container is straightforward. Here is the basic process:

  • Download and install VeraCrypt from the official website.
  • Launch VeraCrypt and click "Create Volume."
  • Choose "Create an encrypted file container" (the default).
  • Select "Standard VeraCrypt volume."
  • Pick a location and filename for the container file (e.g., D:\MyData.hc).
  • Choose an encryption algorithm (AES is a good default) and a hash algorithm (SHA-512 is fine).
  • Set the size of the container (e.g., 5 GB).
  • Enter a strong password. Avoid short or dictionary words; use a passphrase of at least 20 characters.
  • Choose a filesystem (NTFS for Windows, exFAT for cross-platform compatibility).
  • Move your mouse randomly in the window to generate entropy, then click "Format."

After formatting, you can mount the container by selecting the file, clicking "Mount," and entering your password. It will appear as a new drive, and you can copy files into it just like any other drive.

Common Problems and Misconceptions

One common misconception is that VeraCrypt is difficult to use or that it slows down your computer. In practice, with AES hardware acceleration, the speed impact is negligible for most tasks. Another issue is forgetting the password: there is no backdoor, and if you lose the password, your data is unrecoverable. This is by design, but it means you must be disciplined about password management. Some users also confuse VeraCrypt with a file shredder—VeraCrypt encrypts data, but it does not securely delete files that were previously stored unencrypted. If you are moving sensitive files into a container, you should also securely wipe the original copies. Finally, on Windows, you may need to run VeraCrypt as administrator to mount volumes, especially if you are using the "Mount as non-administrator" option is not enabled.

Cost and Safety Considerations

VeraCrypt is completely free and open source, with no premium tiers or hidden costs. The project is funded by donations and is audited by security researchers. However, "free" does not mean "no responsibility." You are responsible for backing up your container file and remembering your password. If the container file is corrupted, you may lose access to all data inside, so regular backups are essential. Also, be aware that while VeraCrypt protects data at rest, it does not protect against malware that runs while the container is mounted. If your system is compromised, an attacker could copy data from the mounted volume. For this reason, it is wise to use VeraCrypt in conjunction with good security practices, such as keeping your OS and antivirus up to date.

Alternatives to VeraCrypt

VeraCrypt is not the only encryption tool available. On Windows, BitLocker is built-in and offers full-disk encryption, but it is only available in Pro or Enterprise editions, and it has had some security controversies. On macOS, FileVault provides similar full-disk encryption. For file-level encryption, you could use 7-Zip's AES encryption for archives, but that requires manual extraction each time. Another alternative is Cryptomator, which is designed for cloud storage and encrypts files individually, making it easier to sync. However, VeraCrypt is often preferred for its simplicity and the fact that it creates a single encrypted container that can be moved or backed up as one file. The choice depends on your needs: if you want to encrypt an entire system drive, BitLocker or FileVault are simpler; if you want to protect a folder of sensitive documents, VeraCrypt is a solid, cross-platform option.

Frequently Asked Questions

Is VeraCrypt safe to use in 2024? Yes, VeraCrypt is considered safe and is regularly audited. The last major audit, completed in 2016, found no critical vulnerabilities, and the project continues to receive updates. However, no software is 100% immune to future attacks, so always use a strong password and keep the software updated.

Can VeraCrypt be cracked? In theory, any encryption can be cracked with enough time and computing power, but with a strong password (e.g., 20+ random characters), brute-forcing is practically impossible. VeraCrypt's key derivation function is designed to slow down brute-force attempts, making it even more resistant.

Does VeraCrypt work on SSD and USB drives? Yes, VeraCrypt can encrypt external drives and SSDs. However, on SSDs, wear leveling can leave copies of encrypted data in cells, which is a theoretical risk. For most users, this is not a practical concern, but if you are ultra-paranoid, you might prefer full-disk encryption with hardware-based features.

What happens if I forget my VeraCrypt password? There is no recovery mechanism. You will lose access to the data permanently. This is why it is crucial to use a password manager and to back up the container file (but not the password in the same place).

Can I use VeraCrypt on multiple devices? Yes, you can copy the container file to any device that has VeraCrypt installed and mount it with the same password. However, you should not mount the same container on two devices simultaneously, as this can cause data corruption.

Is VeraCrypt better than BitLocker? It depends on your needs. VeraCrypt is open source and cross-platform, while BitLocker is proprietary and Windows-only. BitLocker is easier to set up for full-disk encryption, but VeraCrypt offers more flexibility and is often preferred by privacy advocates.