02 Model in more depth · Beginner to intermediate
Protect your account and your threat models
Turn on two-factor sign-in, then lock a sensitive threat model with a key only you hold.
In this lesson you will learn
- How to turn on two-factor authentication
- What locking a forest encrypts, and what it doesn't
- Why the key file matters, and what happens if you lose it
Two layers
A threat model describes how your system can be attacked, so it deserves protection. Two-factor authentication protects your account. Everything you model is already encrypted at rest, and locking a forest adds a key only you hold: once it is locked, ThreatTree's server holds only ciphertext, so even a breach of everything we store, or a stolen password, leaves it unreadable and unusable.
Steps
-
Turn on two-factor authentication
Open Settings, Security. Under Two-factor authentication, enable Authenticator app (recommended) or Email code, and keep the backup codes somewhere safe. On the same page you can set a session inactivity timeout and see your active sessions.
Two-factor authentication in Security settings. -
Open the forest's settings
On the forest's page, open Settings. Under End-to-end encryption, What gets encrypted lists exactly what is covered: diagram and element names, labels, properties, assets, mitigations and comments. The forest's title stays readable so you can find it. The diagram's shape, meaning node types, positions and connections, stays readable so it can be drawn.
-
Lock and encrypt
Optionally give the forest a code name to show while it is locked, then click Lock & encrypt forest. Your browser creates a fresh AES-256-GCM key, encrypts everything, uploads only the ciphertext and downloads the key file. Leave Also email me a copy of the key unticked for true zero-knowledge encryption.
Locking a forest from its settings. -
Keep the key safe
Anyone with access to the forest sees a lock screen until someone unlocks it with the key file. If the key is lost, the content is gone for good: there is no recovery on ThreatTree's side, by design. Keep the file in a password manager or vault.
Locking is on every plan, and encryption at rest is always on. Some features that need to read the content, such as the risk portfolio, skip locked forests until they are unlocked.
Practice
Try it
Turn on two-factor authentication with an authenticator app and save your backup codes. Then lock a test forest, store the key file safely, and unlock it again.
Open Security settingsQuiz
Check what you learned
Three quick questions. Your answers stay in this browser.