Cert EspressoLearn. Practise. Find your flow.

A LITTLE FOCUS.
A BIG NEXT STEP.

Your pace. Your space.
CompTIA · SecurityX CAS-005

Threat modeling

SecurityX CAS-005 · Lesson 4 of 24 · 21:44

YouTube loads only after you press play. This chapter opens at its timestamp in the full course. Watch on YouTube ↗

Learning with these videos? Subscribe for new courses and exam-style questions.

In this lesson

Prepare for the CompTIA SecurityX (CAS-005) exam. In this lesson: threat actor characteristics, MITRE ATT&CK, CAPEC, the Cyber Kill Chain, the Diamond Model, STRIDE, and OWASP, determining the attack surface, and abuse cases, antipatterns, and attack trees, with or without an existing system. Includes three original practice questions, with Thornbury Biotech, a fictional biotech company whose security architect designs and runs its security, as the example.

Study notes

The text of this lesson, to read at your own pace. Information as of November 2026.

Who would attack us, and how?

Thornbury Biotech is designing a portal where research partners upload trial results. Before writing any code, the security architect asks three questions: who would attack this portal, how would they do it, and where are the weak points? Threat modeling answers them on paper, when fixing a design flaw still costs almost nothing.

Threat actors

Start with the actors. Their motivation can be financial, geopolitical, activism, notoriety, or espionage, and for a biotech, espionage against research data is a real concern. Their resources, in time and money, decide how long and how hard they can push. And their capabilities range from using public tools, to creating exploits, finding new vulnerabilities, or getting access to the supply chain, the mark of a well-funded group.

Threat frameworks

Several frameworks describe attacks, each from a different angle. MITRE ATT&CK catalogs real adversary behavior: tactics are the why, and techniques are the how. CAPEC, also from MITRE, is a catalog of attack patterns, describing how attackers exploit known weaknesses in applications and systems. The Cyber Kill Chain, from Lockheed Martin, splits an intrusion into seven phases, from reconnaissance to actions on objectives, so you can break the chain early. The Diamond Model links four points of every intrusion event: the adversary, its capability, its infrastructure, and the victim. And STRIDE, from Microsoft, checks each element of a design for spoofing, tampering, repudiation, information disclosure, denial of service, and elevation of privilege, while OWASP publishes the main risks for web applications and APIs.

The attack surface

Next, map the attack surface. Architecture reviews, data flow diagrams, and trust boundaries show where data crosses from one level of trust to another, and code reviews find weaknesses inside. User factors matter too, like shared accounts or a habit of approving every prompt. Organizational change can grow the surface overnight: mergers, acquisitions, divestitures, and staffing changes bring new systems and accounts. So keep enumerating: internal and external assets, third-party connections, unsanctioned assets and accounts, cloud services, and your public digital presence, like domains and leaked credentials.

Modeling methods

Three methods help you think like an attacker. Abuse cases describe how a feature could be misused, like a partner uploading a file that is really a script. Antipatterns are common bad designs to avoid, like trusting data because it comes from inside the network. And attack trees, or attack graphs, put the attacker's goal at the root, and break it into every path that reaches it, so you can block the cheapest paths first.

With or without a system

Threat modeling works in two situations. With an existing system in place, you check which threats apply to what is really deployed, and select the controls that close the gaps. Without an existing system, at the design stage, you model the threats first, and build the controls in from the start, which is far cheaper.

Recap

Let's recap. Threat actors differ by motivation, resources, and capabilities. ATT&CK catalogs real tactics and techniques, CAPEC catalogs attack patterns, the Cyber Kill Chain has seven phases, and the Diamond Model links adversary, capability, infrastructure, and victim. STRIDE checks each design element for six threat categories, and OWASP lists the main web and API risks. The attack surface comes from architecture, data flows, trust boundaries, code, users, organizational change, and constant discovery. And abuse cases, antipatterns, and attack trees help you model threats, with or without a system in place.

Quick checks for this lesson

The 3 questions of this lesson, as plain text. The button above runs them with shuffled choices and the reason behind every choice.

  1. For the new partner portal, the architect wants to check each data flow that crosses a trust boundary, for spoofing, tampering, and elevation of privilege. Which method fits?

    • The Diamond Model
    • STRIDE
    • CVSS
    • The Cyber Kill Chain
    Show the answer

    STRIDE

    STRIDE checks each element of a design for those threat categories. “The Diamond Model” only analyzes intrusions that already happened, by linking four points. “CVSS” only scores the severity of known vulnerabilities. And “The Cyber Kill Chain” is about the phases of an intrusion, not the threats to each element of a design.

  2. Thornbury’s security team studies a past intrusion by linking the adversary, the capability it used, its infrastructure, and the victim. Which model is the team using?

    • STRIDE
    • CAPEC
    • An attack tree
    • The Diamond Model
    Show the answer

    The Diamond Model

    The Diamond Model links the adversary, capability, infrastructure, and victim of an intrusion event. “STRIDE” only checks a design for threat categories, before an attack. “CAPEC” is a catalog of attack patterns, not a model of one event. And “An attack tree” would break an attacker's goal into the paths that reach it.

  3. Thornbury acquires a small startup, and plans to connect the two networks. What should the security architect do first?

    • Connect the networks, then scan the new subnets
    • Copy Thornbury’s firewall rules to the startup
    • Enumerate the startup’s assets, accounts, and connections
    • Rely on the startup’s last audit report
    Show the answer

    Enumerate the startup’s assets, accounts, and connections

    An acquisition grows the attack surface, so enumerate the startup's assets, accounts, third-party connections, and cloud services first. “Connect the networks, then scan the new subnets” would connect unknown systems before anyone knows what they are. “Copy Thornbury’s firewall rules to the startup” would copy rules written for different systems, without knowing what the startup runs. And “Rely on the startup’s last audit report” would rely on a past report, which may not match what is running today.