SecureArchive is designed for high‑security, offline environments and follows a conservative, defensive threat model.
- Unauthorized internal users (insider threats)
- External attackers (opportunistic and targeted)
- Forensic analysts with extended read access
- Post‑breach attackers with device access
- Offline brute‑force attempts
- Container manipulation or tampering
- Replay / injection attacks against metadata
- Partial extraction of encrypted blocks
- Forensic analysis of file offsets or metadata
SecureArchive does not protect against:
- Keylogging or memory sniffing on compromised systems
- Weak user passwords
- Social engineering
- Loss of the password (zero‑knowledge model)
- AES‑256‑GCM authenticated encryption
- Full payload authentication
- No legacy modes such as CBC or CTR
- PBKDF2‑SHA512
- Default: 300,000 iterations
- 16‑byte random salt
- Keys exist only in RAM
- Wiped immediately after use
- Never logged or transmitted
- Zero‑knowledge architecture
- Minimal external dependencies
- No debug keys or bypass paths
- Authenticated AAD: SECARC01 magic header
- 128‑bit GCM authentication tag
- Ensures manifest + payload integrity
- Fully encrypted manifest
- No plaintext metadata
- Any tampering triggers failure
- Version mismatch triggers strict rejection
- No fallback to weakened formats
- Passwords are never stored
- No telemetry, logs, or caching
- Password used only for KDF
- Immediately wiped after use
- Minimum length: 12+ characters
- Recommended: 16–24 characters
- Mix of uppercase/lowercase letters, digits, symbols
- Use password rotation for long‑term archives
- Offline‑only operation
- Defense‑in‑depth
- Zero trust for external systems
- Minimal attack surface
- No sensitive debug output
- Strict input validation
- Clear security exception hierarchy
- Routine dependency reviews
.secarccontains only encrypted content- No plaintext metadata outside manifest
- Manifest parsed only post‑decryption
- Cryptographic primitives reviewed routinely
- Backwards compatibility deliberately limited
- New container versions introduced as needed