PASTA is a threat modeling method whose result is measured in money. The name stands for Process for Attack Simulation and Threat Analysis. The method has seven stages. In the first, the team writes down what the business needs an application to do and what a failure would cost. In the last, the team ranks the attacks that would work by the loss they would cause, and weighs each countermeasure against the loss it removes.
Tony UcedaVélez and Marco Morana created PASTA and call it risk-centric. Their publisher's description explains the term: a methodology "aimed at applying security countermeasures that are commensurate to the possible impact that could be sustained from defined threat models, vulnerabilities, weaknesses, and attack patterns." In plain terms, you spend on a defence in proportion to what the attack would cost you.
Why PASTA threat modeling matters
Most threat models produce a list. You draw the system, ask what could go wrong with each part, and write the answers down with a severity beside each. The severity is a technical judgment of how bad the flaw is in a system of that kind. It says nothing about what the business would lose, because nobody asked the business.
PASTA asks the business first. Before anyone looks at the technology, stage I records the objective, the impact of failing it, and how much loss the organisation will tolerate. Every later stage uses those figures, so the final list can be sorted by loss. Sorting by severity and sorting by loss often give different orders. A team that spends by the severity order can fund the wrong fixes.
Ordered by severity rating
Ordered by expected loss
Ordered by expected loss
Accounts taken over
$300,000 a year
One password moves points. Rated medium, third by severity.
Member details harvested
$180,000 a year
Lookup shows any member. Rated high, second by severity.
Points forged with the key
$45,000 a year
Old partner key still works. Rated critical, first by severity.
Agent credits own account
$20,000 a year
One agent can credit points. Rated low, fourth by severity.
The finding rated medium accounts for more than half of the expected loss. The finding rated critical accounts for less than a tenth. A severity rating describes the flaw. The loss depends on who wants to exploit the flaw, how often, and what the business pays each time. Stages I and IV of PASTA establish those figures.
The request for a PASTA threat model usually comes from outside the security team. A chief financial officer wants to know what a new way of moving value could cost before it launches. An audit and risk committee wants the top three exposures of a system in figures it can compare with other risks. A bank, a payment scheme or a large customer asks how you decided which threats to fix. A security lead has eighty findings from a design review, budget for ten, and no defensible way to choose.
Without a link back to a business objective, teams choose by severity label, by who found the flaw, or by which fix is easiest. UcedaVélez stated the problem at the start of his 2012 talk: "You can't mitigate all of your threats." PASTA helps you decide which threats to fix, and gives reasons a finance director can check.
That thoroughness has a cost. The Software Engineering Institute's 2018 survey of threat modeling methods calls PASTA a "laborious and extensive process", and the book's walk-through of a single online banking application fills more than 150 pages. Use PASTA only where the answer is worth that effort.
Where PASTA comes from
PASTA came out of application security work in banking. When the book was published, Morana managed architecture risk analysis and threat modeling at Citigroup and UcedaVélez was chief executive of VerSprite, a security firm in Atlanta. Their first public walk-through used an online banking application under attack from banking malware.
2011
Threat Modeling of Banking Malware-Based Attacks
Marco Morana and Tony UcedaVélez, OWASP AppSec EU, Dublin
The talk of 10 June 2011 introduces PASTA as a risk-based threat modeling method, states the goal of each of its seven stages, and applies them to an online banking application.
2012
The date usually given
Real World Threat Modeling Using the PASTA Methodology
Tony UcedaVélez, OWASP AppSec Research, Athens
Later summaries cite this July 2012 talk. It is the reason most sources date the method to 2012.
2015
The reference text
Risk Centric Threat Modeling: Process for Attack Simulation and Threat Analysis
Tony UcedaVélez and Marco M. Morana, Wiley
Published in May 2015, the book sets out the full method: the stages, their numbered activities, and a walk-through of every stage on one application.
2018
Threat Modeling: A Summary of Available Methods
Software Engineering Institute, Carnegie Mellon University
An independent survey of twelve methods, dated July 2018. Most later descriptions repeat its short stage names and its 2012 date.
Most sources date the method to 2012. The Software Engineering Institute gives that year, describing PASTA as "a risk-centric threat modeling framework developed in 2012", and cites the talk UcedaVélez gave in Athens that July. PASTA is a year older than that. The slides the two authors presented at OWASP AppSec EU in Dublin on 10 June 2011 already introduce PASTA and name seven stages. Wiley published the book most descriptions rely on, Risk Centric Threat Modeling: Process for Attack Simulation and Threat Analysis, in May 2015.
How PASTA works, stage by stage
The shape of the method
Seven stages are easier to remember as three points of view. PASTA opens with the business, looks at the system, looks at it again as an attacker would, and returns to the business with a figure. The Software Engineering Institute's summary says much the same: PASTA is "widely regarded as a risk-centric framework", it "has an attacker-centric perspective", and it "produces an asset-centric output".
- I
The business
Objectives
What must not fail?
- II
The system
Technical scope
What is it built from?
- III
The system
Decomposition
How does data move?
- IV
The attacker
Threats
Who would attack it?
- V
The system
Weaknesses
Where is it weak?
- VI
The attacker
Attacks
Which attacks work?
- VII
The business
Risk
What is the loss?
The lanes are this guide's reading of the method, and the stage labels are shortened to fit. Stage V is in the system lane because it examines your own design and code. The stage IV threats decide which weaknesses are worth recording.
The stages come in a fixed order for a reason. Each stage uses the output of the stage before it, and the book calls the result "a linear threat model". A threat in stage IV counts because it targets something stage I said the business cares about. A weakness in stage V counts because a stage IV threat would use it. An attack in stage VI is built from both. By stage VII every line in the ranking can be traced back to an objective.
The seven PASTA threat modeling stages
The stage names below come from the book's summary figure, "PASTA Threat Modeling: Stages and Activities". Each stage has numbered activities. The list gives the activities that produce each stage's output.
- 01
Definition of the Objectives
Document the business requirements, define the security and compliance requirements, define the business impact, and set the risk profile. Stage I asks what a failure would cost and how much loss is tolerable.
Output: Objectives and impact statement
- 02
Definition of the Technical Scope
Enumerate what the application is built from and runs on: software components, actors, data sources, system services and third-party infrastructure. The book calls this stage a large enumeration project.
Output: Technical scope list
- 03
Application Decomposition and Analysis
Enumerate the use cases, draw the data flow diagrams, and analyse where the security functions and trust boundaries are. The scope list becomes a picture of how data moves.
Output: Data flow diagram with trust boundaries
- 04
Threat Analysis
Gather threat information from inside (incidents, logs) and outside (advisories, intelligence), map threat agents to the assets they want, and assign each threat a probability. Each threat should rest on evidence.
Output: Threat scenarios, each with its evidence
- 05
Weakness and Vulnerability Analysis
Review known vulnerabilities, look for weak design patterns in the architecture, map each threat to the weaknesses it would use, and test the ones that matter.
Output: Weakness map: threats joined to weaknesses
- 06
Attack Modeling and Simulation
Analyse the attack scenarios, identify the attack surface, complete the attack tree, derive test cases from it, and run them. The tests show which attacks would work and which only look plausible on paper.
Output: Attack tree and the results of testing it
- 07
Risk Analysis and Management
Calculate the risk of each threat, identify countermeasures, calculate the residual risk, and recommend how to manage what is left.
Output: Risk ranking and treatment plan
You will meet more than one set of names for these stages. Most summaries use the short forms in the Software Engineering Institute's survey. Its figure is adapted from case studies UcedaVélez published through OWASP in 2017. The book itself varies the names from chapter to chapter. Stage VII, for one, appears in the book as "Risk Analysis and Management", "Residual Risk Analysis & Management" and "Risk and Impact Analysis".
| Stage | Name in the book's summary figure | Short name in most summaries |
|---|---|---|
| I | Definition of the Objectives | Define objectives |
| II | Definition of the Technical Scope | Define technical scope |
| III | Application Decomposition and Analysis | Application decomposition |
| IV | Threat Analysis | Threat analysis |
| V | Weakness and Vulnerability Analysis | Vulnerability and weaknesses analysis |
| VI | Attack Modeling and Simulation | Attack modeling |
| VII | Risk Analysis and Management | Risk and impact analysis |
One attack tree, built across three stages
PASTA has no notation of its own. It borrows the data flow diagram for stage III, weakness catalogues such as MITRE's CWE for stage V, and the attack tree for stages IV to VI.
The team does not draw the tree in one sitting. In the book, the tree starts during threat analysis. Stage V adds the weaknesses each threat would use. Stage VI adds the attack patterns, taken from a catalogue such as MITRE's CAPEC. The book states the priority plainly: "This stage's key objective is to complete the attack tree." In stage VII, the team draws the countermeasures onto the same tree.
Stage VI also tests what the tree shows. Its last two activities derive test cases from the tree and conduct "attack driven security tests and simulations". If a branch fails in testing, you can stop worrying about it. If a branch works, you have evidence nobody can argue with.
Who takes part
The security team cannot write a PASTA threat model alone, because it does not have the inputs. The business owner states the objective and the tolerance. Architects and developers supply the scope and the decomposition. Security operations and the fraud or incident teams supply the evidence for stage IV. Testers run stage VI. The 2012 talk lists who benefits: business managers, architects, developers, testers, project managers and the chief information security officer, who "can make informed risk management decisions".
A PASTA threat model example: a retailer's loyalty programme
Wexcombe is a homewares retailer with 64 stores and an online shop. Its loyalty programme, Wexcombe Rewards, has 1.4 million members who hold $21 million in unspent points at one cent a point. Until now, points could be spent only at a till. From 1 March 2027 members will spend and transfer points in a new app and in the online shop. The chief financial officer asked what the change could cost. The security architect ran all seven stages in November 2026.
Stage I, the objectives. The head of loyalty, the chief financial officer and the architect wrote one page. It says what the change is for, what must stay true, what each kind of failure costs, and how much loss the business will accept.
Wexcombe Rewards · points online and in the app
Objectives and impact statement
- Objective
- From 1 March 2027, members spend and transfer points in the app and the online shop.
- What must hold
- Only a member spends that member's points.
- Points exist only because a purchase earned them.
- Member details are seen only by the member and the staff who serve them.
- Impact if it fails
- A member's points are taken$50 an account$38 in points restored on average, and $12 to handle the case.
- Points are created with no purchase behind them1 cent a pointFace value, once the points are spent.
- Member details are exposed$900,000 an eventNotifying members, extra contact-centre staff and legal advice.
- Risk profile
- High. The service faces the internet, holds personal details of 1.4 million members and has $21 million in unspent points on its books.
- Tolerance
Under $150,000 a year
Expected loss from the programme, all causes. Set by the chief financial officer.
- Owner
- Head of loyalty. Agreed with the chief financial officer and the security architect.
Stage VII multiplies by the costs in the third row and compares its total with the tolerance. The security team cannot supply either figure later.
Every later stage is measured against the tolerance. Agreeing it took an hour. It is the only number in the exercise that the security team did not produce.
Stage II, the technical scope. The architect listed everything the change touches: the new app, the account pages of the online shop, the API gateway, the sign-in service, the loyalty service, the points ledger, the member profile store, the support console the contact centre uses, and the message provider that sends balance emails. The tills earn and redeem points through the same loyalty service. Their flows do not change, so the list includes them, marked as unchanged.
The book says stage II deals with a common complaint: "I didn't know that we were running/using that technology in our app." Wexcombe found its own example on the second day. The loyalty service still accepts earn requests from a partner system set up for a 2024 promotion. The requests are signed with a shared key that nobody ever withdrew.
Stage III, the decomposition. The architect redrew the scope list as a data flow diagram of eight elements. The two places where trust changes are drawn as trust boundaries.
- External entity
- Process
- Data store
- The flow nobody had listed
Outside TB1
EE1Member, app or browser
EE2Partner system, 2024 promotion
TB1 · Internet edge
C1API gateway
C2Sign-in service
C3Loyalty service
DS1Points ledger
DS2Member profiles
TB2 · Staff network
C4Support console
What each flow carries
- DF1EE1 to C1
- Sign-in, balance, redeem and transfer requests from the app or the browser. Crosses TB1.
- DF2C1 and C2
- The password check, and the session it returns. Inside TB1.
- DF3C1 to C3
- Redeem and transfer requests, with the member number the session belongs to. Inside TB1.
- DF4C3 and DS1
- Balance reads, and the entries that move points. Inside TB1.
- DF5C3 to DS2
- Profile lookups by member number. Inside TB1.
- DF6EE2 to C3
- Earn requests signed with the shared key from the 2024 promotion, sent straight to the loyalty service. Crosses TB1 without passing C1.
- DF7C4 to C3
- Balance adjustments made by a support agent. Crosses TB2.
The drawing showed two things the list had hidden. The partner flow goes straight into the loyalty service and never passes the gateway. And three different callers can change a balance (the member, the partner and a support agent), and each one is checked in a different way.
Stage IV, the threat analysis. The fraud team and security operations brought evidence before anyone proposed a threat. Sign-in logs for the twelve months to October 2026 show about 6,000 member accounts opened with a correct password during bursts of failed sign-ins from rotating addresses. Nothing was taken, because there was nothing to take online. Two retailers in Wexcombe's fraud-sharing group reported drained loyalty balances in the same period. Personnel records show one agent dismissed in each of the past two years for crediting an account they controlled.
The team wrote four threat scenarios, each with a probability the evidence supports. T1: criminals take over member accounts and move the points out, expected on 6,000 accounts a year. T2: a support agent credits points to an account they control, expected once a year. T3: someone forges earn requests with the partner key, judged at one event in two years once points can be spent online. T4: someone harvests member details through the profile lookup, judged at one event in five years.
Stage V, the weaknesses. The team reviewed the last penetration test, read the design for weak patterns, and joined each threat to the weaknesses it would use. Where a weakness matched an entry in MITRE's CWE catalogue, the map cites the entry.
- Threat scenario, with its yearly rate
- Weakness in the design today
T1
Criminals take over member accounts and move the points out
6,000 accounts a year
W1 · CWE-307
Sign-in accepts unlimited password guesses
W2 · CWE-308
One password is enough to move points out
W3 · Design gap
Nothing watches for unusual movements of points
T2
A support agent credits an account they control
Once a year
W3 · Design gap
Nothing watches for unusual movements of points
W4 · Process gap
One agent can credit any account, with no approval
T3
Someone forges earn requests with the partner key
Once in two years
W3 · Design gap
Nothing watches for unusual movements of points
W5 · Key management
The 2024 partner key is still accepted
T4
Someone harvests member details through the lookup
Once in five years
W6 · CWE-639
The lookup returns any member's profile
Three of the four threats would use W3, so one fix to W3 helps against all three. The last penetration test reported eleven other weaknesses. No threat on the left would use any of them, so they are not on the map.
The team also recorded the testers' severity ratings. The live partner key was rated critical and the profile lookup high. The sign-in and transfer weaknesses were rated medium, because each works as designed. The agent adjustment was rated low.
Stage VI, the attacks. The team built one attack tree for the goal the business fears most: spending points the attacker did not earn. The tree uses the standard notation: a node's children are alternatives unless the node is marked AND. The leaves cite the weaknesses from stage V. Leaf 1.1 is the pattern CAPEC lists as CAPEC-600, Credential Stuffing. T4 has a different goal, reading member details, so the team gave it a separate small tree. That tree is not drawn here.
- The goal
- The route the test ran end to end
ANDevery child is needed.No mark is OR: any one child is enough.
Goal
Spend points the attacker did not earn
1 · T1AND
Take over a member's account and move its points
1.1
Sign in with a reused password
Uses W1Proven
1.2
Move the points to another account
Uses W2, W3Proven
2
Create points from nothing
2.1 · T3
Forge an earn request with the partner key
Uses W5, W3Proven
2.2 · T2
Credit an account from the support console
Uses W4, W3Walked through
What the simulation showed, leaf by leaf
- 1.1Proven
- The test environment held 500 member accounts, 40 of them given passwords from a public breach list. A script tried the list against all 500 and opened all 40 in nine minutes. Nothing slowed it.
- 1.2Proven
- From each opened account the script transferred the whole balance to one collecting account. All 40 transfers settled at once and no alert was raised.
- 2.1Proven
- One earn request signed with the 2024 partner key was accepted and credited 5,000 points. The test stopped there.
- 2.2Walked through
- Not run as an attack. The contact-centre lead confirmed at the console that any agent can credit any account, with no second approval and no report.
Tests in the test environment settled most of the arguments. A script opened every account that had a breached password and emptied each one into a collecting account. Nothing slowed the script or raised an alert. One forged earn request was accepted. Testing proved three of the four leaves. The team confirmed the fourth by walking through the console with the contact-centre lead.
Stage VII, the risk. The book does not fix the arithmetic: "The risk of a threat can be calculated based upon different factors and methodologies." Wexcombe used the simplest method that gives an answer in money: the number of events expected in a year, multiplied by the loss from each event. The loss per event came from the stage I statement and the events per year from the stage IV evidence. For the two threats that create points, the team estimated how many points one event would create before the fraud team noticed. The estimates were 9 million points through the partner key and 2 million from the support console, or $90,000 and $20,000 at face value.
- Expected loss a year today
- After the countermeasure
- The tolerance from stage I
1 · T1Accounts taken over
6,000 accounts × $50
Today$300,000After$30,000A one-time code before points leave an account, a 24-hour hold on a first transfer, a limit on sign-in attempts. $85,000 to build, $20,000 a year to run. Residual: 600 accounts × $50.
2 · T4Member details harvested
One event in 5 years × $900,000
Today$180,000After$18,000The lookup returns only the caller's own profile. $15,000 to build. Residual: one event in 50 years × $900,000.
3 · T3Points forged with the partner key
One event in 2 years × $90,000
Today$45,000After$0The key is withdrawn and the endpoint retired. $2,000 to build. No loss remains.
4 · T2Agent credits own account
One event a year × $20,000
Today$20,000After$4,000A second approval on agent credits, and a daily report of unusual movements to the fraud team. $12,000 to build. Residual: one event in 5 years × $20,000.
All four threats, against the tolerance
Countermeasures: $114,000 to build and $20,000 a year to run. The chief financial officer accepts the $30,000 a year that remains on T1. It is entered on the risk register, with the head of loyalty as owner and a review on 31 August 2027.
Ranked by loss, the order is T1, T4, T3, T2. The weaknesses the testers rated medium account for $300,000 of the $545,000 expected each year. The critical finding accounts for $45,000. The total expected loss is more than three times the tolerance.
Four countermeasures bring the total under the tolerance. For T1, a one-time code before any points leave an account, a 24-hour hold on the first transfer to a new recipient and a limit on sign-in attempts cut the rate from 6,000 accounts a year to an estimated 600: the members who can be talked into reading out a code. Restricting the lookup to the caller's own profile takes T4 to one event in fifty years. Withdrawing the partner key and retiring the endpoint closes T3. A second approval on agent credits, with a daily report of unusual movements to the fraud team, takes T2 to one event in five years.
Together they cost $114,000 to build and $20,000 a year to run. They cut the expected loss from $545,000 a year to $52,000. The book's test is that a countermeasure's cost should be commensurate with the impact it removes, and all four pass. Withdrawing the partner key took a day, and the team did it the same week.
The chief financial officer accepted the $30,000 a year that remains on T1. It went on the risk register as a residual risk, with the head of loyalty as owner and a review date of 31 August 2027, six months after launch. The team drew the countermeasures onto the attack tree and filed the seven artefacts together. Each artefact cites the identifiers of the one before it.
Common mistakes
Teams make the same eight mistakes, and each has a plain fix.
- Starting at stage IV. Threats are the interesting part, so teams begin there and treat the first three stages as paperwork. The fix is to refuse to list a threat until the impact statement and the diagram exist.
- An objective with no number in it. "Protect member data" cannot rank anything. The fix is a figure for each kind of failure and a tolerance signed by someone who owns a budget.
- Threats based on imagination. Stage IV asks for incident records, logs and intelligence. The 2012 talk's heading for the stage is "Threat Enumeration Based upon Good Intel". The fix is to write the evidence beside every threat and to mark the threats that have none.
- Copying all the scanner output into stage V. The book warns that "outputs from vulnerability assessment programs are riddled with false positives". The fix is to keep only the weaknesses a stage IV threat would use, and to test the ones the ranking will depend on.
- Modeling attacks and never running them. The method has simulation in its name. The fix is to derive test cases from the tree and run them, or to say in writing which branches rest on judgment.
- Ranking by technical severity in stage VII. A severity label measures the flaw. The fix is to rank by the loss the attack would cause, using the figures from stage I.
- Running all seven stages on every change. GitLab's public handbook, which uses PASTA as its base, says that "a full PASTA threat model is usually not required" and that "in many cases only the steps 4, 5, and 6 are needed". The fix is to reuse the first three artefacts while the system is unchanged, and to save the full run for new systems and material changes.
- Seven documents that do not cite each other. If the ranking cannot be traced to an objective, the run has produced paperwork and nothing more. The fix is an identifier on every threat, weakness and leaf, cited by the stage that uses it.
The first mistake does the most damage, and it is easy to draw.
Before · the first three stages skipped
- I
- II
- III
- IV
- V
- VI
- VII
Stage IV has no statement of what matters, so every threat is as important as the next. Stage VII has no cost per event to multiply by and no tolerance to compare with, so its list is sorted by severity rating. The result is a longer design review with a risk heading.
After · stage VII checked against stage I
Stage VII tests the ranking against the cost per event and the tolerance set in stage I
- I
- II
- III
- IV
- V
- VI
- VII
Every stage uses the output of the one before it, and the last stage also uses the first. You can follow any line in the ranking back through an attack, a weakness and a threat to an objective. That trail lets people check the figure beside each line and argue with it.
PASTA compared with its neighbours
People most often ask how PASTA compares with STRIDE. The two are different kinds of thing. STRIDE is a set of six threat categories that you check against each element on a diagram. PASTA is a process that starts before anyone draws the diagram and continues after the threat list is written. The authors made the same point in their 2011 slides: "STRIDE & DREAD are not methodologies, threat and risk classification respectively".
So teams seldom have to choose one or the other. OWASP's cheat sheet gives a working rule: "Start with STRIDE for a technical design, and select another technique when the scope requires a different view." It lists PASTA as the technique for "Application threats with business impact". A team running PASTA can use STRIDE as its checklist inside stage IV. GitLab's handbook describes that approach. Our comparison of STRIDE, PASTA and LINDDUN covers the choice in full, and the STRIDE walkthrough covers the six categories.
The other neighbours are easier to place once you see that most of them do the work of one PASTA stage.
- PASTA
- A technique used inside a stage
PASTA
The whole run, in order. Stages I to VII.
Business impact analysis
Rates what a failure costs the business. Stage I.
Data flow diagram
Shows how data moves and where trust changes. Stage III.
STRIDE
Six categories of threat, asked of each element. Stage IV.
LINDDUN
The same walk, for threats to privacy. Stage IV.
CWE and CVSS
Name the weaknesses and score them. Stage V.
Attack tree
Started in stage IV, completed in stage VI. Stages IV to VI.
CAPEC
A catalogue of attack patterns for the leaves. Stage VI.
DREAD
Scores a threat on five factors. Stage VII.
PASTA is the only row that covers all seven stages. Each of the others answers one stage's question well, and a team running PASTA uses it for that stage. This guide placed STRIDE and LINDDUN in stage IV, because that is where a team using them inside PASTA would do that work.
| Term | What it is | Reach for it when |
|---|---|---|
| PASTA | A seven-stage threat modeling process that runs from business objectives to a ranking of attacks by impact. | The system moves value or holds data whose loss would be a matter for the board, and someone will ask what a threat costs. |
| STRIDE | Six categories of threat (spoofing, tampering, repudiation, information disclosure, denial of service, elevation of privilege) checked against each element on a diagram. | You want to cover a design in hours. STRIDE is the default for every design review. |
| Attack tree | A drawing of the ways one attacker goal can be reached, with AND and OR between the steps. | One outcome matters enough that you want every route to it. Inside PASTA, the team builds it across stages IV to VI. |
| LINDDUN | A privacy threat modeling method that asks privacy-specific questions of the same data flow diagram. | The system processes personal data and the harm in question is to the people the data describes. |
| DREAD | A scoring scheme for threats already found: damage, reproducibility, exploitability, affected users, discoverability. | A quick relative score is enough and you can live with raters disagreeing. The book includes a DREAD calculation in its stage VII walk-through. |
| OCTAVE | A method for assessing risk to an organisation's critical assets and planning a security strategy for them. | The question is about the organisation, not one application. |
| Cyber risk assessment | The organisation-wide process of identifying, analysing and evaluating risks for the risk register. | You are deciding across systems. A PASTA run supplies the figures for one application. |
A PASTA model and a cyber risk assessment connect at stage VII. The assessment covers the whole organisation and adds entries to the risk register. The PASTA model covers one application in far more depth and adds a few entries to the register, each backed by figures.
Standards and references
Tony UcedaVélez and Marco M. Morana, Risk Centric Threat Modeling: Process for Attack Simulation and Threat Analysis, Wiley (May 2015, 696 pages). The full method. Chapters 6 and 7 describe the stages and their activities, and chapter 8 walks one online banking application through all seven. The stage names in this guide are from its figure 8.1.
Marco Morana and Tony UcedaVélez, "Threat Modeling of Banking Malware-Based Attacks", OWASP AppSec EU, Dublin (10 June 2011). The earliest presentation of PASTA found for this guide, with the goals of all seven stages.
Tony UcedaVélez, "Real World Threat Modeling Using the PASTA Methodology", OWASP AppSec Research 2012, Athens (July 2012). The talk most summaries cite for the method's date. It gives each stage a walk-through of its own.
Shevchenko, Chick, O'Riordan, Scanlon and Woody, "Threat Modeling: A Summary of Available Methods", Software Engineering Institute, Carnegie Mellon University (July 2018). An independent survey of twelve methods. It is the usual source for the 2012 date and for the short stage names.
OWASP Threat Modeling Cheat Sheet (read 2 December 2026). A short guide to choosing a technique, with PASTA, STRIDE, attack trees, LINDDUN and OCTAVE in one table.
GitLab Handbook, "Threat Modeling" (read 2 December 2026). A public account of an engineering organisation that adopted PASTA as its base and scaled it down for routine work.
MITRE, Common Weakness Enumeration and Common Attack Pattern Enumeration and Classification (read 2 December 2026). The catalogues the book uses to name weaknesses in stage V and attack patterns in stage VI. MITRE revises both regularly, so cite the version you read.
How Alvor helps
A PASTA run produces seven artefacts and a handful of decisions. With Alvor, a team keeps the artefacts and the decisions on one design record, where the next review can find them.
Stage I fits at the start of a Secure by Design project. Each project opens with a business impact analysis that rates the impact of a failure on operations, health and safety, reputation, finances and legal or regulatory standing, using your organisation's own questions and thresholds. That rating sets how much control and review the design gets. Stage I has the same purpose in PASTA.
Stages II and III are recorded on the diagram. You model the system on a canvas, and Alvor registers its components, data stores, external entities, data flows and trust boundaries from the drawing. The scope list and the decomposition are then one record.
You record stages IV to VI as threats on that diagram, and you choose whether the threat model uses STRIDE or freeform. Freeform suits threats from a PASTA run, because you add each threat as you found it, on the element it targets, with a severity and a status. The threat library describes each threat by attacker and method, with the controls that deal with it. You can edit the library, and your changes are kept when it is updated.
Stage VII ends in decisions. In Alvor every threat gets one of three: it applies and named controls deal with it, it does not apply and you record why, or the risk is accepted. To accept a high or critical threat, you must record a residual risk in the register. The loss you chose to accept, like the $30,000 a year in the example, then has an owner and a rationale.
The AI Assistant can do the drafting. The AI Design Studio draws the architecture as editable shapes from a written description. The AI Threat Modeling Studio registers elements and proposes threats from your library. Each batch it proposes waits on an approval card until a person approves or rejects it. The AI Assistant runs on the model you bring.
Every module runs in every deployment: a dedicated single-tenant instance in the region you choose, the same containerised platform on your own servers, or fully air-gapped with a self-hosted model such as vLLM or Ollama inside the boundary. Threat Modeling in Alvor covers the diagram, the guided session and the library in more detail.