Recent Posts
Archives

Posts Tagged ‘ThreatModeling’

PostHeaderIcon [DevoxxFR2026] Threat Modeling: Collaborative Security from Design to Deployment

Lecturer

Barbara Teruggi is a Security Architect with extensive experience in threat modeling and secure system design. Her work emphasizes practical, inclusive approaches to embedding security throughout the development lifecycle.

Abstract

Threat modeling has evolved from a specialized security practice to an essential component of modern product development. As cyber threats intensify and delivery pressures increase, security risks often surface too late—during QA or post-deployment. Barbara Teruggi demonstrates that developers, who best understand application behavior, must participate actively from the outset. Through the four-question framework, STRIDE categorization, data flow diagrams, and risk analysis, she shows how cross-functional teams can identify and mitigate threats collaboratively. Using a “digital house” analogy, the presentation makes complex security concepts accessible and actionable for all participants.

Understanding the Need for Proactive Security in Development

Modern software faces relentless attacks exploiting design flaws rather than implementation bugs. The OWASP Top 10 consistently highlights insecure design as a leading cause of breaches. Traditional approaches—adding security after development—prove costly and ineffective. Threat modeling shifts security left, integrating it into the design phase where changes remain feasible and economical.

The analogy of building a house illustrates the concept perfectly. Moving into a seemingly perfect property only to discover structural problems creates expensive headaches. Similarly, deploying applications with latent vulnerabilities leads to emergency fixes or worse, breaches. Threat modeling acts as the architectural review, identifying weaknesses before construction begins.

Core Concepts: Threats, Vulnerabilities, and Risk

Clear definitions ground effective threat modeling. A threat represents a potential event exploiting weaknesses to cause harm. A vulnerability constitutes the exploitable flaw itself. Risk combines likelihood and impact, measuring potential damage.

The STRIDE framework categorizes threats systematically: Spoofing, Tampering, Repudiation, Information Disclosure, Denial of Service, and Elevation of Privilege. This structured approach ensures comprehensive coverage of potential attack vectors.

Data Flow Diagrams (DFDs) provide visual representations of system architecture, highlighting trust boundaries and data movement. These diagrams prove invaluable for identifying where security controls must be enforced.

The Four-Question Framework for Threat Modeling

Adam Shostack’s methodology organizes threat modeling into four practical questions. “What are we working on?” establishes scope through architecture diagrams, technologies, data flows, and compliance requirements. This phase compiles all relevant security context.

“What can go wrong?” involves enumerating threats using STRIDE or similar taxonomies. Teams brainstorm potential attack scenarios against system components.

“What are we going to do about it?” focuses on risk analysis and treatment. Prioritization considers business impact, likelihood, and mitigation costs. Strategies include avoidance, acceptance, transfer, or mitigation.

“Did we do a good job?” validates the process through testing, documentation updates, and retrospective analysis. This ensures continuous improvement and knowledge capture.

Collaborative Participation and Practical Implementation

Effective threat modeling requires diverse perspectives. Security professionals provide expertise, but developers understand implementation details, architects grasp system structure, product owners represent business needs, and UX designers ensure user experience alignment. This cross-functional involvement produces more robust outcomes than siloed security reviews.

The RACI model (Responsible, Accountable, Consulted, Informed) clarifies roles throughout the process. Regular checkpoints maintain alignment and prevent knowledge gaps.

Implementation need not be overwhelming. Start small with existing applications or new features. Leverage existing diagrams and documentation. Iterate gradually, building institutional knowledge and patterns over time.

Conclusion

Threat modeling transforms security from reactive firefighting to proactive design practice. By involving all stakeholders, using structured methodologies, and maintaining living documentation, teams build more resilient systems. The collaborative nature makes security everyone’s responsibility, ultimately producing better products with fewer “oops” moments. As threats evolve, organizations embracing threat modeling gain significant advantages in security posture and development efficiency.

Links:

PostHeaderIcon [DefCon32] Threat Modeling in the Age of AI

As artificial intelligence (AI) reshapes technology, Adam Shostack, a renowned threat modeling expert, explores its implications for security. Speaking at the AppSec Village, Adam examines how traditional threat modeling adapts to large language models (LLMs), addressing real-world risks like biased hiring algorithms and deepfake misuse. His practical approach demystifies AI security, offering actionable strategies for researchers and developers to mitigate vulnerabilities in an AI-driven world.

Foundations of Threat Modeling

Adam introduces threat modeling’s four-question framework: what are we working on, what can go wrong, what are we going to do about it, and did we do a good job? This structured approach, applicable to any system, helps identify vulnerabilities in LLMs. By creating simplified system models, researchers can map AI components, such as training data and inference pipelines, to pinpoint potential failure points, ensuring a proactive stance against emerging threats.

AI-Specific Security Challenges

Delving into LLMs, Adam highlights unique risks stemming from their design, particularly the mingling of code and data. This architecture complicates secure deployment, as malicious inputs can exploit model behavior. Real-world issues, such as AI-driven resume screening biases or facial recognition errors leading to wrongful arrests, underscore the urgency of robust threat modeling. Adam notes that while LLMs excel at specific mitigation tasks, broad security questions yield poor results, necessitating precise queries.

Leveraging AI for Security Solutions

Adam explores how LLMs can enhance security practices. By generating mitigation code or test cases for specific vulnerabilities, AI can assist developers in fortifying systems. However, he cautions against over-reliance, as generic queries produce unreliable outcomes. His approach involves using AI to streamline threat identification while maintaining human oversight, ensuring that mitigations address tangible risks like data leaks or model poisoning.

Future Directions and Real-World Impact

Concluding, Adam dismisses apocalyptic AI fears but stresses immediate concerns, such as deepfake proliferation and biased decision-making. He advocates integrating threat modeling into AI development to address these issues early. By fostering a collaborative community effort, Adam encourages researchers to refine AI security practices, ensuring that LLMs serve as tools for progress rather than vectors for harm.

Links:

PostHeaderIcon [DotSecurity2017] Secure Software Development Lifecycle

In the forge of functional fortification, where code coalesces into capabilities, embedding security sans sacrificing swiftness stands as the alchemist’s art. Jim Manico, founder of Manicode Security and erstwhile OWASP steward, alchemized this axiom at dotSecurity 2017, furnishing frameworks for fortifying the software development lifecycle (SDLC) from inception to iteration. A Hawaiian hui of secure coding savant, Jim’s odyssey—from Siena’s scrolls to Edgescan’s enterprise—equips his edicts with empirical edge, transforming tedious tenets into tactical triumphs that temper expense through early engagement.

Jim’s jaunt journeyed SDLC’s stations: analysis’s augury (requirements’ rigor, threats’ taxonomy), design’s delineation (architectural audits, data flow diagrams), coding’s crucible (checklists’ chisel, libraries’ ledger), testing’s tribunal (static sentinels, dynamic drills), operations’ observatory (monitoring’s mantle, incident’s inquest). Agile’s alacrity or waterfall’s wash notwithstanding, phases persist—analysis’s abstraction a month or minute, testing’s tenacity from triage to telemetry. Jim jabbed at jargon: process’s pallor palls without practicality—checklists conquer compendiums, triage trumps torrent.

Requirements’ realm reigns: OWASP’s taxonomy as talisman—access’s armature, injection’s inveiglement—blueprints birthing bug bounties. Design’s domain: threat modeling’s mosaic (STRIDE’s strata: spoofing’s specter to tampering’s thorn), data’s diagram (flows fortified, endpoints etched). Coding’s canon: Manicode’s missives—input’s inquisition (sanitization’s sieve), output’s oracle (encoding’s aegis)—libraries’ litany (npm’s audit, Snyk’s scrutiny). Testing’s tier: static’s scalpel (SonarQube’s scan, Coverity’s critique—rules’ rationing for relevance), dynamic’s delve (DAST’s dart, IAST’s insight). Operations’ oversight: logging’s ledger (anomalies’ alert), patching’s patrol (vulnerabilities’ vigil).

Jim’s jeremiad: late lamentations lavish lucre—early excision economizes, triage tempers toil. Static’s sacrament: compilers’ cognizance, rules’ refinement—devops’ deployment, developers’ deliverance from deluge.

SDLC’s Stations and Security’s Scaffold

Jim mapped milestones: analysis’s augury, design’s diagram—coding’s checklist, testing’s tier. Operations’ observatory: monitoring’s mantle, incident’s inquest.

Tenets’ Triumph and Tools’ Temperance

OWASP’s oracle, threat’s taxonomy—static’s scalpel, dynamic’s delve. Jim’s jewel: early’s economy, triage’s temperance—checklists conquer, compendiums crumble.

Links: