Duress Decoy Vaults & Coercion Defense: Plausible Deniability

How ZevSafe protects users under physical, legal, or border coercion through cryptographic dual-manifest envelopes and IND-CPA indistinguishability.

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:

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.

🛡️ The Decoy Principle

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:

Binary Structure · Tail Manifest Dual Envelope
[ ... 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)]
====================================================================

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.

⚠️ The Leaky Flag Vulnerability

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:

  1. Avoid Obvious Emptiness: Never create a decoy vault containing a single empty text file named nothing_here.txt.
  2. Include Plausible Content: Add real, non-sensitive personal photos, personal tax filings from 5 years ago, student notes, or household receipts.
  3. Commit the Passphrase to Muscle Memory: Practice typing your duress passphrase under stress so your reaction remains calm during inspection.