You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Decoy Password to break the authentication header of the disk (Full Disk Encryption) #1978
Geek: (Well the real password is "realpassword" and I set "realpassworx" as decoy, which destroys the backup header & you'll need VC ISO disk to recover it, bi*ch)
The problem is that we can't assume the person examining the disk will use VeraCrypt as we distribute it. Since VeraCrypt is open source, they can build a version that ignores the decoy action.
For the first scenario, someone could copy the encrypted disk before trying any passwords. Destroying a header on the original disk wouldn't affect that copy. The action could work on your own machine before anyone makes a copy, but we couldn't promise that entering the decoy password would leave them without a usable header.
Deleting only a backup header also wouldn't prevent access while the active header remains intact. If you mean destroying the active header as well, recovery would require a backup of that volume's key data, such as the one stored on its VeraCrypt Rescue Disk. Without a usable backup, you could lose access yourself. Having the destructive password differ from the real one by a single character makes an accidental entry a concern too.
Your second scenario has a different problem. If the decoy password unlocks the keys needed to read the real files, a modified program could simply return their full contents instead of pretending they're corrupt. If that password doesn't unlock those keys, the program can't read the real files to show their first few bytes. Making the mounted volume read only doesn't change this.
For the external disk scenario, I would point you to hidden volumes. The outer volume has its own password and contains the files you're prepared to disclose. That password doesn't unlock the hidden volume, even if someone modifies VeraCrypt. The documentation explains the precautions needed to use this feature; it shouldn't be taken as a guarantee that someone applying pressure will accept what you show them.
@idrassi then again, intentional destruction/corruption of the headers could provide a layer of security keeping the encrypted container in insecure environment for backup means. One could then retrieve the deliberately corrupted container when neccessary and restore the headers which are securely kept somewhere else. After all, the slogan is: "VeraCrypt - Free Open source disk encryption with strong security for the Paranoid". Nothing is more amusing than feeding the fears of the Paranoid, it's next best thing since the invention of the wheel :)
I'd say the best design is one in which the owner can reliably recover the data, an unauthorized party cannot, and neither outcome depends on remembering an elaborate ritual years later.
Activity
idrassi commentedon Oct 30, 2026
The problem is that we can't assume the person examining the disk will use VeraCrypt as we distribute it. Since VeraCrypt is open source, they can build a version that ignores the decoy action.
For the first scenario, someone could copy the encrypted disk before trying any passwords. Destroying a header on the original disk wouldn't affect that copy. The action could work on your own machine before anyone makes a copy, but we couldn't promise that entering the decoy password would leave them without a usable header.
Deleting only a backup header also wouldn't prevent access while the active header remains intact. If you mean destroying the active header as well, recovery would require a backup of that volume's key data, such as the one stored on its VeraCrypt Rescue Disk. Without a usable backup, you could lose access yourself. Having the destructive password differ from the real one by a single character makes an accidental entry a concern too.
Your second scenario has a different problem. If the decoy password unlocks the keys needed to read the real files, a modified program could simply return their full contents instead of pretending they're corrupt. If that password doesn't unlock those keys, the program can't read the real files to show their first few bytes. Making the mounted volume read only doesn't change this.
For the external disk scenario, I would point you to hidden volumes. The outer volume has its own password and contains the files you're prepared to disclose. That password doesn't unlock the hidden volume, even if someone modifies VeraCrypt. The documentation explains the precautions needed to use this feature; it shouldn't be taken as a guarantee that someone applying pressure will accept what you show them.
flatstik commentedon Oct 31, 2026
@idrassi then again, intentional destruction/corruption of the headers could provide a layer of security keeping the encrypted container in insecure environment for backup means. One could then retrieve the deliberately corrupted container when neccessary and restore the headers which are securely kept somewhere else. After all, the slogan is: "VeraCrypt - Free Open source disk encryption with strong security for the Paranoid". Nothing is more amusing than feeding the fears of the Paranoid, it's next best thing since the invention of the wheel :)
I'd say the best design is one in which the owner can reliably recover the data, an unauthorized party cannot, and neither outcome depends on remembering an elaborate ritual years later.