GeezerVison is showing github.com — DoneZero/docs/THREAT_MODEL.md at master · Ink-dark/DoneZero
/
THREAT_MODEL.md
Copy path 33 lines (25 loc) · 1.59 KB
/
THREAT_MODEL.md
Copy pathFile metadata and controls
33 lines (25 loc) · 1.59 KB
Copy raw file
Download raw file
OutlineEdit and raw actions
| Threat |
Defense |
Confidence |
| LAN MITM (ARP spoofing, DNS hijacking) |
TLS + TOFU cert pinning |
High |
| QR code screenshot replay |
3s rotation + one-code-one-verify |
High |
| Brute-force verification code |
Atomic state machine, max 3 attempts |
High |
| Token leak and reuse |
Channel binding + random expiry |
High |
| Memory dump / cold boot attack |
mlock + zeroize |
Medium-High |
| Concurrent session preemption |
Atomic state transitions |
High |
| Timing side-channel attacks |
ConstantTimeEq |
High |
| Traffic analysis |
Constant-rate padding (optional) |
Medium |
What We Do NOT Defend Against
- Rooted / jailbroken devices: If the OS is compromised, all software defenses are bypassed.
- Camera-based screen spying: If someone can physically see the screen from outside the room, the physical trust anchor breaks.
- Hardware keyloggers: Physical keyloggers can capture the verification code.
- The act of scanning the QR code is private (no one else can see the screen).
- The device OS is not compromised (no root/jailbreak).
- The OS CSPRNG is trustworthy (getrandom / OsRng).
- The TLS implementation (rustls) is secure.
- We accept that a determined attacker with physical access to the device can bypass the physical verification layer.
- We accept that memory forensics on a running process may still reveal some data (mlock only prevents swap, not live memory dumps).
- We do not defend against nation-state actors with hardware-level capabilities.