Knowledge is Power

Sitewide Search

Search Bare Metal Cyber

Search exact control and technique identifiers, Cyber Wiki articles, framework records, playbooks, books, podcasts, Academy courses, individual lessons, and BMC Cyber Challenge activities.

Complete course · Domain 4 · Cloud Application Security · S01E62

Threat Modeling Cloud Applications Through Attack Paths

A container is released to the wrong carrier even though the brokerage employee is authenticated and the customs notification was valid. What assumption allowed a trusted system message to produce the wrong business decision? This lesson uses a fictional shipping broker to teach…

ISC2 CCSP Transcript available September 8, 2025
Lesson62

Listen Now

Lesson Focus

What this lesson covers

A container is released to the wrong carrier even though the brokerage employee is authenticated and the customs notification was valid. What assumption allowed a trusted system message to produce the wrong business decision? This lesson uses a fictional shipping broker to teach threat modeling as an investigation of trust, authority, data flow, and plausible misuse. It distinguishes risks visible during design from weaknesses found by scanners and shows how an apparently safe operation can fail when a valid message is replayed, a carrier changes, or an outside service receives too much power.

You'll work through the practical roles of STRIDE, DREAD, ATASM, and PASTA without relying on an acronym recital. Each method helps reveal or organize something different: threat categories, uncertain risk estimates, links between architecture and attack surfaces, or complete attack paths tied to business impact. The episode also explains the different first-word expansions of DREAD, cloud-specific service identities, AI-assisted document processing, and how threat findings become requirements, negative tests, and monitoring decisions. The outcome is a usable method for asking whether an action was truly authorized when it occurred. This episode is produced by baremetalcyber.com.

Companion Books

Connect this lesson to the Second Edition guide and Kindle flashcards.

Use the study guide to organize and deepen the audio lesson, then use the separately available Kindle flashcards for active recall and rapid review.

Read the transcript2,341 words · about 12 minutes

A shipping broker approves the release of a refrigerated container. The container belongs to a real customer, the broker's employee has an authorized account, and the customs document has passed its normal format checks. Hours later, the receiving warehouse calls: the container has been directed to a different carrier. Nothing in the visible approval process looked unusual. The security question is whether the software allowed a legitimate user to make a decision using data or authority the user should not have trusted.

This is a fictional brokerage, and the incident is a scenario for learning. Its cloud application accepts shipment requests, processes uploaded documents, verifies customers, calls a third-party customs service, and issues release instructions to carriers. The team has reviewed common code weaknesses and uses a managed cloud platform. Before the next release, a security architect asks the developers to explain how a shipment might be diverted without a stolen administrator account. That question is the beginning of useful threat modeling.

Threat modeling examines how a system could be misused or compromised before a known vulnerability has necessarily been found. A scanner can report an exposed component or a dependency with a published weakness. It may not recognize a business rule that lets an authorized employee approve a shipment after the carrier assignment has changed. A penetration test can explore realistic attacks against an implemented service. Threat modeling also examines planned behavior, missing trust assumptions, and failures that may exist before the service has been built.

Start with the business activity rather than a diagram. A customer requests movement of a container. An employee verifies the documentation. A trusted integration confirms clearance. The application releases the cargo to a named carrier. Between those actions lie identity assertions, records, messages, time delays, approvals, and third parties. A useful model keeps track of which actor can change each fact and which service accepts it as authoritative. The model is incomplete if it names a database but never describes what the database's records are allowed to authorize.

A brief review aid is available in Bare Metal Cyber's independent CCSP flashcard companion. After this lesson, choose a threat-modeling term and apply it to the brokerage's release workflow. Ask what the attacker could control and which business decision would change. This develops a usable scenario instead of treating an acronym expansion as the destination of studying.

Suppose the broker receives a signed clearance notification from the customs service. The signature can help establish that the service sent the notification and that it has not been altered in transit. It does not prove that the shipment identifier inside the message is the one the employee is authorized to release. The application must still connect the notification to the correct transaction, current carrier assignment, and approval state. That is a trust boundary: information received from one system becomes permission for another to act.

A model begins to expose the attack surfaces. An attacker might submit a document through the customer portal, influence a field in an outside service, reuse an old approval message, or compromise a service account that publishes release events. The broker's employee might unintentionally approve a request after another system changes its status. In the model, each of those is a possible entry or influence point, not a declaration that an exploit is already present.

STRIDE is a commonly used way to search the design for overlooked kinds of threats. Its six categories concern identity spoofing, unauthorized changes, inability to attribute actions, exposure of information, denial of service, and gaining excess authority. The categories are prompts for investigation. A useful STRIDE discussion ends with specific attack possibilities and controls, rather than with six labels attached to a system that nobody has questioned.

Spoofing could occur if a hostile system impersonates the customs service or uses a stolen service credential. The broker should establish which identity it accepts, how it verifies that identity, and how quickly a compromised credential can be revoked. A trusted network location is not enough if the sender's identity can be forged or a machine token can be reused elsewhere. Mutual authentication and correctly validated tokens may help, subject to the system's actual integration design.

Tampering concerns an unauthorized change to a document, message, release destination, or application configuration. Consider a document-processing service that extracts a carrier code from a scanned form. Even if the original file is intact, extraction may be wrong or manipulated. The application should know which field is authoritative, which changes require approval, and whether every downstream consumer sees the same approved value. An integrity control protects data against change; it does not choose the right business value when two trustworthy systems disagree.

Repudiation becomes relevant when a carrier claims it never received a release order, or an operator denies approving one. A log saying that a service account performed the action might not identify the human decision behind it. The team needs a chain of attribution from the employee's authenticated session through the approval to the outgoing instruction. Reliable timestamps and protected event records strengthen that evidence. Logging alone does not make a mistaken approval valid, but absent logging may prevent the organization from explaining what happened.

Information disclosure is a separate concern. A shipment record might reveal customer names, routes, values, or contractual relationships. An API could expose another customer's container because it checks whether a person is logged in but not whether that person owns the requested shipment. The proper control is object-specific authorization at the service that provides the record, supported by minimum data sharing. Encryption on the network cannot correct a service intentionally returning unauthorized data to an authenticated user.

Denial of service may be caused by hostile traffic, but the brokerage should also consider legitimate-looking requests that exhaust expensive processing. A customer who repeatedly uploads large documents could delay other releases or create excessive cloud charges. Rate limits, quotas, bounded processing, and graceful handling of overload are useful choices. The organization must decide whether to queue a release, reject it, or suspend automatic action when supporting services cannot respond safely.

Elevation of privilege might let an ordinary employee reach an administrative function or let a document-processing service assume the power to approve cargo release. The system should make a narrow distinction between reading a clearance result and authorizing a shipment. If one compromised integration identity can edit carrier assignments and send final release instructions, a technical foothold can become a business operation with serious consequences. That is an authority design failure, even if each API call appears well formed.

Those six categories help the team discover possibilities. They do not automatically rank the findings. A public demonstration environment might contain a plausible spoofing path with little business impact. A rare authorization weakness affecting high-value cargo might deserve immediate attention. Risk decisions need evidence about reachable attack paths, existing controls, exposure, likelihood, business impact, and uncertainty. The tool used to generate a list should not decide the priorities by itself.

DREAD is a historical threat-rating approach that assesses dimensions such as consequence, reproducibility, exploitability, affected users, and discoverability. Some well-known descriptions use damage potential for the first dimension. The August 2026 CCSP exam outline uses the word disaster instead. These different wordings are worth recognizing, but neither creates a dependable numerical truth. Two analysts can give the same weakness very different scores if they lack evidence about access, existing safeguards, or actual impact.

For the brokerage, a team could estimate that diverting one container has substantial operational impact, while the exploit depends on a very particular timing sequence. That is more meaningful than presenting a precise-looking average without explaining the assumptions. The organization may use a rating method to structure discussion, but it should record the evidence and decision rationale separately. A score cannot replace the authority of the designated business risk owner.

At this point, the optional Cyber Challenge practice questions from Bare Metal Cyber can serve a different purpose from flashcards. After listening, take a scenario involving an application fault and explain why a threat category, a severity estimate, and a business risk decision are different outputs. The available questions are independent practice, not a substitute for an organization's real threat intelligence or a complete adaptive exam simulation.

The outline also names ATASM, shorthand for architecture, threats, attack surfaces, and mitigations. Treat those words as a practical way to keep an assessment anchored. The architecture tells you what the application does and what it depends on. A threat describes a plausible harmful action. The attack surface shows where an adversary could interact with or influence the system. A mitigation changes the opportunity or consequences. Those connections are more useful than writing a long threat list that never identifies where protection will be enforced.

Take the customs integration. The architecture includes an external clearance service and a release processor. The threat is that a replayed clearance message triggers a new release. The attack surface is the incoming message interface and its stored processing state. Possible mitigations include binding messages to the correct transaction, checking current authorization, rejecting stale or duplicate events, and preserving an event history sufficient to investigate an attempted replay. A firewall may reduce some exposure, but it cannot determine whether a release message is being used for the right business transaction.

PASTA, the Process for Attack Simulation and Threat Analysis, takes a broader risk-oriented approach. Its commonly described seven stages begin with business objectives and technical scope, move through application analysis and threat analysis, examine weaknesses and attack scenarios, and finish with risk and impact considerations. The value of this progression is that an attack path gets evaluated against what the organization is trying to protect. It can be especially useful when several components and business teams contribute to a consequential decision.

In the brokerage, the business objective is reliable, accountable cargo release. The architecture includes customer requests, employee approval, customs clearance, carrier assignment, and an outbound release service. A plausible attacker wants a container diverted or a legitimate shipment held up. The team analyzes which identity or message path could be manipulated and whether existing controls interrupt the sequence. The resulting risk discussion addresses fraud, service delay, customer contracts, and recovery work, not just whether a vulnerability has an alarming technical name.

Attack simulation does not require the team to attack a production customs service. A credible scenario can be reasoned through during design and tested later in an authorized environment. A security tester might submit a valid but stale clearance message to a test application and verify that no release occurs. Another test could reassign the carrier during approval and verify that the final operation rechecks the current record. Those tests connect the model to observable behavior without requiring the listener to operate any tools.

The four named approaches do different work, and a team may combine them. STRIDE can reveal classes of problems in a design. DREAD can structure a discussion about priority, provided its limitations are acknowledged. ATASM keeps threats connected to architecture and control locations. PASTA provides a deeper path from business purpose to attack consequences. A useful model is chosen to answer a real question; choosing a famous acronym and completing its template is not a security outcome.

Cloud architecture adds several hazards to every approach. A managed database may remove access to host controls while leaving the customer responsible for query authorization. A serverless function can be triggered by an event created outside the application team. A deployment pipeline may have authority to replace code that later processes customs instructions. Provider support accounts and control-plane operations may change the application without following the normal business interface. The threat model must include these authorized but powerful paths.

Think about a service identity that publishes the final release instruction. If it can also alter customer records, the compromise of one credential could both create a fraudulent request and approve it. Restricting the service's permissions separates the steps. Requiring independent approval for exceptional changes may add another barrier. Yet if both approval functions depend on the same compromised administrative account, the separation may be weaker than it looks. The model should identify shared control dependencies rather than assume independent names imply independent security.

AI-assisted document extraction introduces another possible boundary. A model may misread a field, respond to hostile instructions embedded in a document, or produce a confident but unsupported classification. The application should not allow model output alone to approve a shipment. It needs validation against authoritative records, limited tool permissions, review proportional to the consequence, and a controlled response when uncertainty remains. A model's accuracy score does not prove that every specific release is authorized.

Threat modeling also needs people with different knowledge. Developers understand actual checks and failure behavior. Operations staff know which logs can be obtained and which services fail together. Business owners know the cost of delayed or misdirected cargo. Privacy and legal specialists can identify handling obligations the engineers may otherwise miss. The discussion should expose disagreements about what a service guarantees rather than silently choosing the most optimistic assumption.

The resulting model should change work. An overlooked trust boundary becomes an authorization requirement. A possible replay becomes a negative test. Missing audit attribution becomes a logging design decision. A dependency that cannot be inspected becomes a provider-assurance question. A high-risk attack path may justify changing the workflow before release. When the design changes, the model changes too; otherwise, it describes a system that no longer exists.

Return to the diverted container. The developers might discover that a signed clearance message could be accepted again after the carrier had been reassigned. They can repair the rule, test the timing case, and record which evidence would reveal an attempted abuse. A valid signature is still useful, and so is a strongly authenticated employee. Neither answers whether the release operation was authorized at the moment it occurred. Threat modeling earned its place in the development lifecycle by revealing that missing decision before it became a real shipment failure.