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.

Free Lesson 4 of 6 4 min Updated

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

  1. 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.

    ThreatTree Security settings with the two-factor authentication card: Authenticator app, recommended, and Email code, each with an Enable button, and a session timeout setting below.
    Two-factor authentication in Security settings.
  2. 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.

  3. 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.

    ThreatTree forest settings with the end-to-end encryption section: an optional label shown while locked, an Also email me a copy of the key checkbox and a Lock & encrypt forest button, above the danger zone.
    Locking a forest from its settings.
  4. 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 settings

Quiz

Check what you learned

Three quick questions. Your answers stay in this browser.

1 Which two-factor method does ThreatTree recommend?
2 Who holds the key to a locked forest?
3 You lose the key to a locked forest. What can ThreatTree do?