Microsoft Threat Modeling Tool & Excel vs. COMPLYD, or: How Much of Your CRA Conformity Do You Want to Do by Hand?
Ask a product security team how they do threat modeling today and the answer is remarkably consistent: the Microsoft Threat Modeling Tool for the diagram, Excel for everything the diagram cannot hold, and Word for whatever must be handed to an auditor. It is free, it is familiar, and it has produced good security engineering for the better part of two decades.
It is also the single most common starting position we encounter in CRA projects. And it is worth being precise about what it does and does not carry you through. This article is not an argument against threat modeling with Microsoft’s tool. As we set out in CRA Insights Part II, threat modeling is the practical engine that turns Article 13 and Annex I from legal text into engineering work. The question is narrower and more uncomfortable: when the Microsoft Threat Modeling Tool has finished its job, how far are you from a conformity file that satisfies the EU CRA?
What the Microsoft Threat Modeling Tool actually is
The Microsoft Threat Modeling Tool is a free, click-to-download Windows desktop application. You draw a Data Flow Diagram, mark trust boundaries, and switch to the analysis view. The tool then generates threats from a template. i.e. the generic SDL TM Knowledge Base, the Azure Threat Model Template, or one you build yourself and maintain yourself. Generated threats are categorized under STRIDE and carry a title, category, description, the interaction they belong to, add a priority and set a status. When you are done, print the model and the threat list.
That is a coherent, well-designed answer to one question. Microsoft’s own documentation is candid about the scope: the approach is a design analysis technique, it is centred on software rather than assets, and it is built for developers. The tool was designed inside the Microsoft SDL roughly a decade before the CRA existed, to help an engineering team find design flaws early.
Note what is not in that description: no product, no manufacturer, no essential requirement, no control catalogue, no declaration of conformity. Not because the tool is bad, but because none of that was ever its job.
The gaps between a threat model and a conformity documentation
1. There is no control catalogue, and therefore no standards evidence
The Microsoft Threat Modeling Tool generates threats with narrative mitigation advice. It does not maintain controls: named security measures, each carrying the threats it counters and the recognised requirements or mitigations that substantiate it.
Annex VII point 5 requires a list of the harmonized standards, common specifications or European cybersecurity certification schemes applied in full or in part and, where they have not been applied, descriptions of the solutions adopted to meet Annex I, including a list of other relevant technical specifications applied. With no harmonized standards yet cited, virtually every manufacturer will be writing that second kind of entry, and will be doing so against IEC 62443-4-2, OWASP ASVS, NIST SP 800-63B, ISO/IEC 27001:2022 Annex A and comparable references.
You can build a custom Microsoft Threat Modeling Tool template with your own threats and mitigation text. What you cannot do is inherit a maintained catalogue in which each control already carries its threat coverage and its standards references, and have that mapping stay current when a standard is revised. You own that maintenance forever, in a template file, in XML, on someone’s laptop.
There is a fit issue underneath this as well. The stock templates are software- and cloud-centric. Manufacturers of connected hardware need device-level threat knowledge of the kind held in MITRE EMB3D, cross-referenced to e.g. CWE where a threat corresponds to a known weakness class. Building that into a custom template is a project in itself, and one that has to be re-run every time the knowledge base moves
2. There is no inheritance, so every variant starts from zero
A manufacturer rarely places one product on the market. It places a platform and five to fifty variants: different radios, different housings, different regional SKUs, one shared firmware base.
In the file-based model, that is five to fifty independent .tm7 files with no relationship to one another. A change to a platform-level control, like a new secure-boot implementation, a revised update mechanism, a control demoted from fully implemented to partly implemented after a test finding, has to be found and re-entered in every one of them, and then re-entered again in every Excel mapping sheet and every Word chapter derived from them. The work is not difficult. It is repetitive, invisible, and easy to leave half-finished on a Friday.
Article 13(3) requires the risk assessment to be documented and updated as appropriate during the support period. Article 3(30) defines a substantial modification as a change following placing on the market that affects compliance with Annex I Part I or modifies the assessed intended purpose. Over multiple years and fifty variants, “we will remember to update the other files” is not a probate process. It is a hope, and it is the single most common way a documentation set silently stops describing the product it certifies.
3. It is a single-user file, not a multi-user system of record
Sharing a threat model means passing a file, via a shared drive, or by checking it into source control and running the review through pull requests. There is no concurrent editing, no review-and-approval workflow, and no audit trail of who changed a risk justification, when, and why.
The practical consequence is that threat modeling stays a specialist activity performed by whoever currently holds the file, rather than a shared record that product management, engineering, quality and compliance all work in. Also, under Annex VIII Part I, the declaration of conformity and technical documentation must be kept at the disposal of national authorities for ten years after placing on the market or for the support period, whichever is longer. Ten years of HomeHub_ThreatModel_v3_final_FINAL_reviewed.tm7 is not a records-management strategy, and the version question, namely “which file is the one we declared against?”, gets harder every year, not easier.
4. There is no operating context, so “not applicable” is hard to defend
Article 13(3) is specific about the inputs to the risk assessment: intended purpose, reasonably foreseeable use, and conditions of use such as the operational environment or the assets to be protected, considering the length of time the product is expected to be in use.
Trust boundaries give you a shape for this, but not the substance. What the CRA reasoning needs is a record of the protective measures the environment provides, e.g. physical access control, network segmentation, a host operating system that verifies signatures before executing software. Assigned boundary by boundary, so that a control which depends on one is shown to rest on it.
This is what makes a non-applicability defensible. Where an essential requirement cannot be fully met because of a product’s intended purpose or interoperability constraints, the manufacturer must identify and document those constraints, assess the associated risks and implement compensatory measures, with the technical documentation and Annex II user information carrying the explanation; and risks originating outside the product must be identified and mitigated through the product’s own design and through user guidance.
Article 13(4) asks for a clear justification in the technical documentation, tied to a requirement, resting on an assessed model and a described environment.
5. Everything is typed by a human, twice
A conformity file for one product carries well over a hundred written rationales; a product line carries thousands. Keeping them coherent in tone, depth and terminology across five engineers and three years is a documentation problem that manual work does not solve, and inconsistency is precisely what a notified body or a market surveillance authority reads as weakness.
The right use of automation here is narrow and supervised: proposing model elements from an architecture description, drafting rationale text from the assessed control states, keeping terminology consistent across a product line, and flagging where a requirement description no longer matches the risk assessment behind it. The manufacturer reviews, edits and signs. Under Annex VIII Part I, conformity is declared on the manufacturer’s sole responsibility. That does not change, and should not. But there is no reason for a compliance engineer to be a transcription service.
A worked example: one interface, one afternoon
A manufacturer places a connected building controller on the market, with four regional variants sharing one firmware base. Eighteen months into the support period, product management adds a USB service port for on-site provisioning.
On the manual path: open the .tm7 file, add the interface as a stencil, draw the flows, re-run the analysis. The template generates twenty-odd new threats. Work them, set statuses, write justifications. Now open the Excel mapping sheet and decide which of the fourteen Annex I Part I requirements the change touches, realistically 2(b) secure by default, 2(d) protection from unauthorised access, 2(j) limit attack surfaces, 2(l) security-related logging, 2(m) secure data removal, and arguably 2(f) integrity. Rewrite six prose descriptions in Word. Ask whether the change is a substantial modification under Article 3(30). Then repeat the entire sequence for the other three variants: The same twenty threats, the same six descriptions, four times. And hope nobody edits a fifth copy in the meantime.
On a automated path: The interface is added once, at platform level. It is placed as an element, linked, conditions assigned to a boundary. The controls attached to that element and its risk categories are re-opened; only those are reassessed. The environment conditions that apply to the boundary it sits behind are already recorded. The requirement descriptions that cite the affected controls are revised and only those. The variants inherit the platform change, each retaining its own deviations. The technical documentation regenerates with the change carried through automatically.
Eight questions to ask of any CRA toolchain
Whether or not COMPLYD is the answer, these are the questions worth asking before you commit a product line to a toolchain:
- Can it produce the elements of Annex VII, or only inputs to them?
- Does it hold controls with standards references, or only threats with advice?
- Can it express a requirement as not applicable with a justification tied to the risk assessment (Article 13(4))?
- Does it record the operating environment as assignable conditions, not just trust boundaries?
- Does it produce impact, likelihood, overall risk and rationale?
- Does a product variant inherit from a platform, or is it a copy?
- Can more than one person work in it at once, with a change history that survives ten years?
Score the your path honestly against those questions. Most teams land at two.
Where the Microsoft Threat Modeling Tool still earns its place
It remains an excellent tool for early design exploration, particularly for teams already fluent in it and for cloud-side architecture where the Azure template is genuinely strong. It costs nothing, it works offline, and its STRIDE-per-interaction generation is a good way to force a team past the threats they were already worried about.
Keep it if you like it, use it where it is strong: At the whiteboard, in design review, for the first pass on a new subsystem. And move the assessment into a system that holds controls, context, risk determinations, requirement mappings and documentation in one traceable structure. The failure mode we see is not teams using the Microsoft Threat Modeling Tool. It is teams believing the gap between its report and Annex VII is an Excel-sized gap.
How COMPLYD Helps You Stay Ahead
COMPLYD is built around exactly the traceability chain the CRA asks you to defend:
Element → Control → Threat → Risk → Annex I Requirement → Technical Documentation.
An assessment runs in three connected stages. The Technical Product Definition builds the model: Elements typed as actor, software or hardware; bidirectional links; boundaries; an explicit in-scope or out-of-scope decision and then records the operating context by completing the environment-condition catalogue and assigning conditions boundary by boundary. The Risk Assessment walks each in-scope element through different categories, records each control with its state and a note, assigns the environment conditions the control relies on, and determines impact, likelihood, overall risk and justification per category. The CRA Compliance Mapping then works through Annex I Part I requirement by requirement, describing how each is met by pointing at assessed control implementations and their assigned conditions or recording, on the basis of the risk assessment, why it does not apply. Different catalogues sit behind this as maintained standard content, so you are not building a knowledge base as a side project: MITRE EMB3D, OWASP ASVS, IEC 62443-4-2 just to name a few.
