Skip to content
Software development
ASD ISMISM-1238

ASD ISM 1238 Incorporate threat modelling in software development

What it says

Threat modelling is used in support of the software development life cycle.

Quoted as published. Everything else on this page is written by Control Stack.

In plain English

Use threat modelling to work out how each piece of software could be attacked or misused, and let the results shape its requirements, design and testing.

Threat modelling must be used in support of the software development life cycle. Threat modelling is a structured way of working out how software could be attacked or misused, and what should be done about each threat. In support means its results feed the work, shaping security requirements, design decisions and tests, rather than sitting in a document. It applies to traditional, AI, mobile and web applications. ISM-2039 separately requires the threat model to be reviewed as the software and its threats change.

Why it matters

Without a threat model, teams defend against the threats they happen to think of, so attack paths such as an unauthenticated internal API or an over-trusted external service are missed until exploited. Modelling threats early lets them be designed out or tested for.

How to implement

  1. Choose a threat modelling method and template.

    Use a structured, repeatable method, such as walking a data flow diagram and asking how each part could be impersonated, tampered with, disclosed, disrupted, used to gain higher privileges or misused without leaving a record. The template records the system, trust boundaries (where data passes between parts trusted differently), threats, mitigations and owners.

  2. Model threats before the design is settled.

    For each new product or change adding a component or external connection, map data flows between components, users and external services, then list threats at each trust boundary. Model existing products from their current architecture. For AI applications, include threats such as prompt injection (ISM-1924) and poisoned models or training data (ISM-2086, ISM-2087).

  3. Turn each threat into requirements, design decisions and tests.

    Record each mitigation as a security requirement (ISM-2033) or design decision (ISM-2034), write a test that checks it, and link them in the issue tracking solution so every threat traces to the work that addresses it.

  4. Keep the model with the design and code.

    Store it in the repository or a controlled location next to the design records, so later changes update it; ISM-2039 requires it to be reviewed throughout the life cycle. For contracted development, require the supplier to produce the threat model and share it with you.

Keep it running

Model new features, integrations and AI components as they are designed, not only at project start. A security incident, a penetration test finding or a new attack technique against similar software should prompt a review of the model (ISM-2039).

Evidence and audit

  1. Check 1 of 3What an auditor asks for

    Ask for

    The threat models for a sample of products chosen from the source code platform, including contracted work and AI applications, with each product's architecture.

    Look at

    Whether each sampled product has a threat model, and whether it covers the components, data flows and external connections shown in its architecture.

    Good evidence

    Every sampled product has a threat model covering all the components, data flows and external connections in its architecture, including AI-specific threats for AI applications.

  2. Check 2 of 3What an auditor asks for

    Ask for

    Threats taken from a sampled threat model, traced to security requirements, design decisions and tests.

    Look at

    Whether each threat has a mitigation that appears in the requirements or design, and a test that checks it.

    Good evidence

    Every sampled threat traces to a mitigation in the requirements or design and a test that checks it, or to a recorded decision explaining why no mitigation is needed.

  3. Check 3 of 3What an auditor asks for

    Ask for

    The dates of threat models compared with the dates of design approval for recent new products and changes that added components or external connections.

    Look at

    Whether threat modelling was done in time to shape the design, or only after the software was built.

    Good evidence

    For each sampled product or change, threat modelling was done before the design was approved, so its results could shape the work.

Mappings

Closest match in ISO/IEC 27001: A.8.25, Secure development life cycle, which this control partially meets.

ISO 27001

ISO/IEC 27001: 4 mappings

  • A.8.25Secure development life cyclePartially meets

Mappings show how controls relate across frameworks. They do not imply full equivalence or certification.