A VeraCrypt hidden volume is an encrypted volume tucked inside the free space of another encrypted volume. Type one password and you get the outer volume, with whatever plausible files you put there. Type the other password and you get the hidden one. Without the second password, the hidden volume looks like the random data that fills every VeraCrypt container's unused space anyway.

That's the theory behind plausible deniability. The practice is messier, and most of this article is about the mess.

VeraCrypt in two paragraphs

VeraCrypt is a free, open source disk encryption tool from IDRIX, forked from TrueCrypt in 2013. TrueCrypt's anonymous developers shut the project down abruptly in 2014 with a strange "not secure" notice, and VeraCrypt became the default successor. It strengthened the key derivation (more iterations, plus the PIM setting), fixed issues raised in audits, and has been reviewed independently since. Downloads are at veracrypt.fr, signed with the developer's PGP key.

It can create file containers (a single file that mounts as a drive), encrypt whole partitions or USB sticks, and on Windows encrypt the system drive. Containers are the most flexible and the easiest to move around, and they're what most people should start with.

Creating a hidden volume

In the main window click Create Volume, choose "Create an encrypted file container", and then "Hidden VeraCrypt volume". Normal mode is fine. The wizard does the outer volume first.

  1. Pick a file location and size. The outer volume's size caps how large the hidden one can be.
  2. Set the outer volume's encryption (AES is the sensible default) and its password.
  3. Format it. FAT or exFAT for the outer volume makes it easier for VeraCrypt to calculate how much space the hidden volume can safely use. With NTFS the maximum hidden size is much smaller.
  4. When the wizard says so, open the outer volume and copy in the decoy files. Then return to the wizard.
  5. Set the hidden volume's size, encryption and a different, strong password.

Done. Mounting with the outer password gives the decoy. Mounting with the hidden password gives the hidden volume. VeraCrypt tries both headers each time; there's no setting that reveals which kind of volume you've opened apart from what shows up.

The way people destroy their own hidden volume

The outer volume doesn't know the hidden one exists. If you mount the outer volume normally and write a lot of files to it, VeraCrypt will happily overwrite the hidden volume's data, because as far as the outer file system knows, that space is empty.

To update decoy files safely, mount the outer volume with protection on. In the Mount dialog, click Mount Options, tick "Protect hidden volume against damage caused by writing to outer volume", and enter the hidden volume's password there too. VeraCrypt will then refuse writes that would land in the hidden area, and tells you if it blocked one.

Of course, typing the hidden password to protect it is exactly what you can't do if someone is watching you mount the outer volume under duress. That's the tension built into the feature.

Why deniability is weaker than it sounds

The container file itself is fine. The problem is everything around it.

Operating systems remember. Windows keeps lists of recently opened files, jump lists, shell bags for folders you've browsed, and thumbnails. If you opened H:\notes\plan.odt last Tuesday and the outer volume contains no such folder, a forensic examiner has a strong hint. Running the hidden volume only from Tails, which writes nothing to the host, helps a lot here.

Decoys go stale. If the outer volume's newest file is from 18 months ago but the container's modification time is yesterday, that's a question you'll be asked. Some people use the outer volume regularly (with protection on) to keep it believable.

Snapshots and cloud copies compare. If an adversary has two versions of the container file from different dates, and blocks changed in the "empty" area between them, that's evidence of a hidden volume. Cloud sync and backup tools create exactly this situation.

SSDs complicate things. Wear levelling and TRIM can leave patterns that differ from what a pure random fill would show. VeraCrypt's own documentation discusses the caveats around hidden volumes on flash storage.

And the law doesn't care about elegance. In some countries, refusing to hand over keys is an offence, and the authorities are well aware that hidden volumes exist. If they believe you have one, saying "that's all there is" may not end the conversation. The EFF and similar groups have written about compelled decryption, and the rules vary a lot by jurisdiction.

Passwords, PIM and keyfiles

The PIM (Personal Iterations Multiplier) changes how many rounds of key derivation are used. Leaving it blank uses the default, which is already slow by design. A custom PIM is another thing you have to remember, and forgetting it locks you out just as surely as forgetting the password.

Keyfiles add a file (any file) as part of the key. They help against keyloggers that only capture typing. They also give you one more thing to lose.

For the passwords themselves, use a long passphrase, and keep the hidden volume's password out of any password manager stored in the outer volume. That seems obvious until you see someone do it.

Cross-platform notes

On Linux and macOS, VeraCrypt works but needs FUSE (macFUSE on Mac, which requires allowing a system extension on Apple Silicon). On Linux, cryptsetup can also open VeraCrypt volumes directly:

sudo cryptsetup open --type tcrypt --veracrypt container.hc myvol
sudo mount /dev/mapper/myvol /mnt

Tails includes a graphical "Unlock VeraCrypt Volumes" utility built on that support, so you can open containers there without installing anything.

If you mainly want to protect a laptop from theft, full-disk encryption built into the OS (BitLocker, FileVault, LUKS) is simpler and good enough. Hidden volumes earn their complexity only when your threat model genuinely includes someone forcing you to unlock things.

#veracrypt #encryption #hidden-volume #plausible-deniability #truecrypt