STRIDE threat modeling in Threat Modeler¶
Threat Modeler checks every flow in your diagram against STRIDE rules and lists the threats in one click. The switches on each shape and flow decide which threats apply. An accurate diagram gives a short, accurate list.
In-browser
Nothing to install. Microsoft Threat Modeling Tool is a Windows desktop app.
Private by default
Models stay in your browser until you share one.
Shareable when you choose
Invite a colleague by email. Edits show live for everyone.
Three export formats
Export Threats CSV, SARIF 2.1.0 or Model JSON (.tm.json).
Bring your own controls
Switch on the protections you run, such as source authentication. The threats they answer drop out.
Open Threat Modeler Free, at tmt.accuknox.com
The Design View Has a Library, a Canvas and a Properties Panel¶
- Library switch. Pick Standard, Azure or AI. Search filters the list below it.
- Quick-add bar. Add a process, external entity, data store or trust boundary, tidy the canvas with Clean diagram, or delete the selected shape or flow. Delete shows only while something is selected.
- Analyze diagram. Runs the analysis and opens the Analysis view.
- Properties panel. Shows the model name, owner and description, or the settings of the selected shape or flow.
Four Building Blocks Describe Any System¶
| Shape | Meaning | Examples |
|---|---|---|
| Process (circle) | Something that runs code | Web app, API, service, serverless function |
| External entity (rectangle) | Someone or something outside your control | A user, a browser, a third-party service |
| Data store (two lines) | Where data rests | Database, file storage, cache, log |
| Trust boundary (dashed red box) | A zone whose contents trust each other | The internet, a corporate network, a cloud account |
A flow is an arrow from one shape to another. It shows data moving between them.
Most threats appear where a flow crosses a trust boundary
An attacker gets in the way at a boundary crossing. A diagram with no trust boundary produces few threats.
| Library | Contents |
|---|---|
| Standard | 32 shapes: 10 processes, 6 external entities, 9 data stores, 7 trust boundaries |
| Azure | 46 Azure services, grouped by category, each with its own Azure settings |
| AI | 22 AI building blocks, covered in MAESTRO for AI systems |
Draw the System in Three Moves¶
Add Shapes by Drag, Quick-Add Bar or Right-Click¶
- Drag a shape from the library onto the canvas.
- Choose a shape in the quick-add bar above the canvas.
- Double-click or right-click the canvas and pick a shape from the menu (1). The shape appears where you clicked (2).
Connect Two Shapes With a Named Flow¶
- Drag from a dot on the edge of one shape to another shape. A flow appears.
- Select the flow and name it after the data it carries, for example "Create order".
Arrange and Tidy the Diagram¶
- Drag a shape to move it. Hold Shift and click to select several shapes.
- Move a trust boundary and the shapes inside it move too. Select a boundary to resize it.
- Choose Clean diagram to spread shapes apart. Connections and boundary membership stay the same.
- Hide the library or the properties panel with the panel buttons at each end of the canvas toolbar.
Shape and Flow Switches Decide Which Threats Apply¶
Select a shape or flow and answer its switches as the system really is. Each answer adds or removes threats. A protection you switch on, such as Authenticates source, removes the threats it answers. A property such as Stores credentials or Carries JSON adds the threats that come with it.
Describe Each Shape¶
- Select the shape. Here it is Orders API.
- Set its Subtype, for example Web Service.
- Answer its switches. Examples: Implements authentication scheme, Implements custom authorization, Stores credentials, Stores log data, Out of scope.
Describe Each Flow¶
- Select the flow. Here it is Create order.
- Set its Protocol, for example HTTPS.
- Answer its switches: Authenticates source, Authenticates destination, Provides confidentiality, Provides integrity, Carries JSON, Carries XML, CSRF protection.
Use Azure Settings for Azure Services¶
- Switch the library to Azure.
- Drag in a service, such as Azure Key Vault, Azure SQL Database or Azure Storage.
- Set the Azure settings for that service. Azure Key Vault, for example, asks for firewall settings, audit logging and how callers authenticate.
Mark Items Out of Scope With a Reason¶
Switch Out of scope on for a shape or flow you do not want analyzed, and write the reason. The item stays on the diagram for context.
Fix What Messages Reports¶
Messages (1) checks the drawing as you work. It warns about unconnected shapes, duplicate names, out-of-scope items with no reason, and diagrams with no trust boundary (2). Click a message to select the item. Notes holds free text for the model.
Analyze Diagram Lists STRIDE Threats per Flow¶
Choose Analyze diagram. Threat Modeler checks every flow and opens the Analysis view, with the diagram on the left and the threat list on the right.
| Letter | Category | Plain meaning |
|---|---|---|
| S | Spoofing | Pretending to be someone or something else |
| T | Tampering | Changing data or code without permission |
| R | Repudiation | Denying an action because nothing recorded it |
| I | Information Disclosure | Exposing data to people who should not see it |
| D | Denial of Service | Making the system slow or unavailable |
| E | Elevation of Privilege | Gaining rights that were never granted |
Each row shows a colored category letter, an ID, the title, the flow it applies to, the priority and the status.
- Status counts. Show progress. Click one to show only that status.
- Search. Finds threats by text.
- S T R I D E buttons. Show one or more categories.
- Priority and grouping. Filter by High, Medium or Low, and group by category or by interaction (flow).
- Add threat. Records a threat the rules cannot know about.
Triage Each Threat With a Priority, a Status and a Reason¶
- Click a threat row. The details panel opens with the full description.
- The diagram zooms to the shapes and flow involved and highlights them.
- Set the Priority (High, Medium or Low) and the Status.
- Write the Justification / mitigation: what you decided and why.
| Status | Meaning |
|---|---|
| Not Started | Nobody has looked at it yet |
| Needs Investigation | Someone must check before deciding |
| Not Applicable | Does not apply to this system. Say why in the justification |
| Mitigated | A control is in place. Describe it in the justification |
Filter to the Threats You Want to Review¶
- Choose T to show only Tampering threats.
- Choose By interaction to group threats by flow.
- Choose Clear to reset every filter.
- The count shows how many threats match, here 5 of 29.
Click the Title header to sort by title.
Bulk Edit Changes Only the Rows You Can See¶
- Tick the rows you want to change.
- Use Set status or Set priority in the bar that appears.
Bulk edit changes only visible rows. A filter protects every row it hides.
Resize the Diagram and the List¶
Drag the divider (1) to give the diagram or the list more room. This browser remembers the position. Double-click the divider to reset it. Hide the diagram with the button in its toolbar, and bring it back with Diagram.
Add Your Own Threat for What the Rules Cannot Know¶
A penetration test finding or a business risk has no rule behind it. Record it in the same list.
- In the Analysis view, choose Add threat. Enter a Title.
- Pick a STRIDE Category and a Priority.
- In Applies to, pick one flow or the whole model.
- Write a Description, then choose Add threat.
Manual threats carry the Manual label. You can edit or delete them, they survive re-analysis, and every export includes them.
Re-Analysis Keeps Decisions and Marks Outdated Threats Stale¶
Change the diagram in the Design view, then choose Analyze diagram again.
- Priority, status and justification stay on every threat that still matches.
- Manual threats stay.
- New threats appear as Not Started.
- Threats that no longer match the diagram show as Stale. Review each one and close it.
Eight Keyboard Shortcuts Cover Drawing and Editing¶
| Keys | Action |
|---|---|
| Ctrl+Z or Cmd+Z | Undo |
| Ctrl+Shift+Z or Cmd+Shift+Z | Redo |
| Ctrl+D or Cmd+D | Duplicate the selected shape |
| Del or Backspace | Delete the selected shape or flow |
| Shift + click | Select several shapes |
| Double-click or right-click the canvas | Add a shape at that spot |
| Double-click the divider | Reset the diagram and list split |
| Esc | Close the open panel or dialog |
Too few threats? Check that the diagram has at least one trust boundary and that flows cross it. Read Messages under the diagram.
Threats that do not apply? Check the switches on the shape and flow involved. If the threat still does not apply, set it to Not Applicable and say why.











