01 Your first threat model · Beginner
Start your first threat model
Pick one system, write down its scope, and create the forest that will hold its diagram, attack trees and risk register.
In this lesson you will learn
- What a forest is, and why one forest holds one system
- How to write a scope in one or two sentences
- How to start blank, or from a finished example
Why one system at a time
A threat model answers four questions about one system: what are we building, what can go wrong, what are we going to do about it, and did we do a good enough job. In ThreatTree each system gets its own forest. A forest holds the system's data flow diagrams, the attack trees built from them, and the risk register those attack trees fill.
Keeping one system per forest keeps every risk tied to the design it came from. When the design changes, you know exactly which model to open.
Steps
-
Pick the system and write its scope
Choose something you can draw on one page: an app, an API, a pipeline. Write one or two sentences on what is in scope and what is not, for example: "Employees submit expense claims with receipts; managers approve them and payroll pays them out. Out of scope: the payroll provider's own systems."
-
Create the forest
On My Forests, click New Forest. Keep Blank forest selected, give the forest the system's name, and paste your scope into Description. Then click Create Forest.
The New Forest dialog. The description is where your scope goes. -
Or start from an example
If a finished threat model is close to your system, choose Start from an example instead. You get its diagrams, attack trees and scored risks, and you change them to fit. Examples are on every plan; Pro adds 50 industry templates.
-
Add the first data flow diagram
Inside the forest, click Add Tree, choose New DFD, name it (for example Expenses DFD), then click Create Tree. Every threat model starts with a diagram, because threats come from how data moves through the system. The next lesson draws it.
Free plan limits. Free covers up to 3 forests, 3 data flow diagrams per forest and 5 attack trees per diagram. That is plenty for these lessons.
Practice
Try it
Create a forest for a system you work on. If nothing comes to mind, model a small expenses app like the one in these lessons: employees submit claims with receipts, managers approve them and payroll pays them.
Create a free accountQuiz
Check what you learned
Three quick questions. Your answers stay in this browser.