1. The Threat Model: The $5 Wrench Attack
In classical cryptography, algorithms are designed to withstand adversary computation. However, real-world privacy threats frequently bypass mathematics through coercion:
- Border Inspection: Customs or immigration agents demanding you enter your device or archive password under threat of detention or device confiscation.
- Physical Extortion: Attackers threatening bodily harm unless you unlock your sensitive financial documents (the infamous "$5 wrench attack").
- Subpoena Compulsion: Court orders compelling disclosure of decryption keys.
If your encryption software simply refuses to open or displays an error, the adversary knows you possess an encrypted vault and are withholding the key.
2. What is Plausible Deniability?
Plausible deniability means an adversary who inspects the encrypted file cannot mathematically determine whether hidden data exists beyond what has been revealed.
When compelled to surrender a password, you supply your Duress Passphrase. ZevSafe unlocks a completely convincing, authentic-looking vault containing harmless decoy files (e.g. vacation photos, recipes, old utility bills). The adversary believes they have obtained full access.
3. The Dual-Manifest Architecture (Envelope 0 vs 1)
How does ZevSafe store two completely different directory trees inside a single .zsafe (or legacy .zev) file without creating detectable structural footprints?
At the tail of every ZV3 container resides the encrypted manifest trailer. When Duress mode is armed, ZevSafe constructs two distinct manifest envelopes:
[ ... Chunk 0 ... Chunk 1 ... Chunk N ... ]
======================= TAIL MANIFEST REGION =======================
ENVELOPE 0 (Primary Manifest):
[Salt_A (32B) | IV_A (12B) | PlainLen_A (4B) | Ciphertext_A | Tag_A (16B)]
ENVELOPE 1 (Decoy Manifest):
[Salt_B (32B) | IV_B (12B) | PlainLen_B (4B) | Ciphertext_B | Tag_B (16B)]
====================================================================
- Independent Salts & Keys: Envelope 0 and Envelope 1 are derived using independent CSPRNG salts and separate passphrases.
- Sequential Trial Decryption: When unlocking, ZevSafe tests your entered password against Envelope 0 first. If the AES-256-GCM authentication tag matches, it opens your Primary Vault. If Envelope 0 tag verification fails, it tests Envelope 1 without error logging. If Envelope 1 matches, it opens the Decoy Vault!
4. The V3_FLAG_DURESS Flag Suppression Invariant
In early format designs, developers often set a header flag bit (e.g. V3_FLAG_DURESS = 0x02) to indicate that a decoy was present.
If the header publicly announces a duress flag, an adversary inspecting the file with a hex editor will immediately notice the flag bit and demand the primary password.
In ZevSafe v8.27+, V3_FLAG_DURESS is strictly suppressed from the container header (Byte 5). The dual-envelope trial is conducted transparently. To an external adversary with a hex viewer or statistical analyzer, the tail manifest is indistinguishable from uniform high-entropy pseudo-random noise (IND-CPA security).
5. Operational Tradecraft: Crafting Realistic Decoys
A decoy vault is only effective if its contents appear authentic to an inspector:
- Avoid Obvious Emptiness: Never create a decoy vault containing a single empty text file named
nothing_here.txt. - Include Plausible Content: Add real, non-sensitive personal photos, personal tax filings from 5 years ago, student notes, or household receipts.
- Commit the Passphrase to Muscle Memory: Practice typing your duress passphrase under stress so your reaction remains calm during inspection.