For the privacy professional who lacks an engineering or computer science background, an invitation to read a book with the title Threat Modeling: Designing for Security may well provoke an urge to run the other way. That was certainly my first inclination, but I’m glad I overcame it. This book has a lot to offer the threat-modeling neophyte as well as the sophisticated programmer.

The author, Adam Shostack, is a program manager at Microsoft who develops security processes and attack models. He’s also a very able writer and has even developed a card game, "Elevation of Privilege," which is available for free online, to teach threat modeling.

If you’re like me, the first question on your mind is, "what the heck is threat modeling?” Shostack eases the reader into the concept by asserting, “Everyone threat models.” He gives the example of when you’re speeding down the highway and anticipating the “threat” of a police car lurking on a side road.

In the online world, threat modeling involves two types of models, says Shostack. There’s the model of what you’re building, e.g., a website, a program or an app, and there’s a model of the threats, or what can go wrong. In a nutshell, threat modeling is the analytical process of figuring out what might go wrong with the thing you’re building.

Although the reasons to threat model might seem self-evident, Shostack takes pains to explain them. They include:

  • Finding security bugs early, even before a line of code is written. He compares the process to designing a house, where early decisions, for instance, including lots of ground-level windows, will have a dramatic effect on security. Anyone familiar with Privacy by Design will readily see the analogy here.
  • Understanding what security is required. As you think about threats, you think about what security is appropriate to meet those threats, and that flows into design decisions.
  • Engineering and delivering better products. Not only will consumers buy and be happier with more “threat-proof” products, but you can avoid, or at least minimize, a cycle of bug fixes and redesigns and the bad publicity that can follow by dealing with security issues at the outset.

The book’s observations are often provocative. For instance, Shostack disagrees with the “think-like-an-attacker” exhortation, saying that such thinking “may lead you to focus on the wrong threats.” He also emphasizes that some threats can’t be effectively mitigated, which he admits is a painful thought for many security professionals.

Shostack offers an elegant structure for approaching threat modeling by focusing on four simple questions. First you must ask, “What are you building?” and “What can go wrong?” Then, you must determine, “What can you do about the things that can go wrong?” The final question is, “Did you do a decent job of analysis?”

For those with the technical background to follow him, Shostack gets much deeper into the weeds, exploring such topics as trade-offs when addressing threats, e.g., a design change to enhance security may hinder usability; how to validate that threats have been addressed, and specific tools useful for threat modeling. There is a practical bent throughout. For instance, Shostack leads off his discussion of threat-modeling tools by talking about the trusty whiteboard.

Although Shostack’s focus is naturally on security, he doesn’t ignore privacy concerns. His chapter on threat modeling for privacy covers such tools as Daniel Solove’s taxonomy of privacy harms, privacy impact assessments and the “Nymity Slider” developed by Ian Goldberg, which provides a sliding scale of how much information about a person’s identity is revealed by a particular transaction, from “verinymity,” e.g., using a credit card, to “unlinkable anonymity,” e.g., cash payments. Shostack acknowledges, however, that threat modeling for privacy involves judgment calls not required in the security context. Not only do people have very different perceptions of what privacy is, but the designer of a website or app may view lack of privacy not as a threat but as a marketing opportunity—the more personal data collected, the better.  

Even if you’ve never coded a line of software in your life, and you don’t know spoofing from a denial of service attack, you’ll have an excellent understanding of what threat modelers do, and why it’s important, after reading this book.

Written By


1 Comment

If you want to comment on this post, you need to login.

  • Annie Sep 2, 2014

    A good review.  I am persuaded, will read it.  Thanks.


Board of Directors

See the esteemed group of leaders shaping the future of the IAPP.

Contact Us

Need someone to talk to? We’re here for you.

IAPP Staff

Looking for someone specific? Visit the staff directory.

Learn more about the IAPP»

Daily Dashboard

The day’s top stories from around the world

Privacy Perspectives

Where the real conversations in privacy happen

The Privacy Advisor

Original reporting and feature articles on the latest privacy developments

Privacy Tracker

Alerts and legal analysis of legislative trends

Privacy Tech

Exploring the technology of privacy

Canada Dashboard Digest

A roundup of the top Canadian privacy news

Europe Data Protection Digest

A roundup of the top European data protection news

Asia-Pacific Dashboard Digest

A roundup of the top privacy news from the Asia-Pacific region

Latin America Dashboard Digest

A roundup of the top privacy news from Latin America

IAPP Westin Research Center

Original works. Groundbreaking research. Emerging scholars.

Get more News »

IAPP Communities

Meet locally with privacy pros, dive deep into specialized topics or connect over common interests. Find your Community in KnowledgeNet Chapters, Sections and Affinity Groups.

IAPP Job Board

Looking for a new challenge, or need to hire your next privacy pro? The IAPP Job Board is the answer.

Join the Privacy List

Have ideas? Need advice? Subscribe to the Privacy List. It’s crowdsourcing, with an exceptional crowd.

Find a KnowledgeNet Chapter Near You

Talk privacy and network with local members at IAPP KnowledgeNet Chapter meetings, taking place worldwide.

Find more ways to Connect »

Find a Privacy Training Class

Two-day privacy training classes are held around the world. See the complete schedule now.

The Privacy Core™ Library Has Evolved

Privacy Core™ e-learning essentials just expanded to include seven new units for marketers. Keep your data safe and your staff in the know!

Online Privacy Training

Build your knowledge. The privacy know-how you need is just a click away.

Upcoming Web Conferences

See our list of upcoming web conferences. Just log on, listen in and learn!

Train Your Team

Get your team up to speed on privacy by bringing IAPP training to your organization.

Let’s Get You DPO Ready

There’s no better time to train than right now! We have all the resources you need to meet the challenges of the GDPR.

Learn more »

CIPP Certification

The global standard for the go-to person for privacy laws, regulations and frameworks

CIPM Certification

The first and only privacy certification for professionals who manage day-to-day operations

CIPT Certification

The industry benchmark for IT professionals worldwide to validate their knowledge of privacy requirements

FIP Designation

Recognizing the advanced knowledge and issue-spotting skills a privacy pro must attain in today’s complex world of data privacy.

Certify Your Staff

Find out how you can bring the world’s only globally recognized privacy certification to a group in your organization.


The IAPP’S CIPP/E and CIPM are the ANSI/ISO-accredited, industry-recognized combination for DPO readiness. Learn more today.

Learn more about IAPP certification »

Are You Ready for the GDPR?

Check out the IAPP's EU Data Protection Reform page for all the tools and resources you need.

IAPP-OneTrust PIA Platform

New U.S. Government Agency privacy impact assessments - free to IAPP members!

IAPP Communities

Meet locally with privacy pros, dive deep into specialized topics or connect over common interests. Find your Community in KnowledgeNet Chapters, Sections and Affinity Groups.

Privacy Vendor List

Find a privacy vendor to meet your needs with our filterable list of global service providers.

More Resources »

Europe Data Protection Intensive 2017

The Intensive is sold out! But cancellations do happen—so hurry and get on the wait list in case more seats become available.

Global Privacy Summit 2017

The world’s premier privacy conference returns with the sharpest minds, unparalleled programs and preeminent networking opportunities.

Canada Privacy Symposium 2017

The Symposium returns to Toronto this spring and registration has opened! Take advantage of Early Bird rates and join your fellow privacy pros for another stellar program.

The Privacy Bar Section Forum 2017

The Privacy Bar Section Forum returns to Washington, DC April 21, delivering renowned keynote speakers and a distinguished panel of legal and privacy experts.

Asia Privacy Forum 2017

The Forum returns to Singapore for exclusive networking and intensive education on data protection trends and challenges in the Asia Pacific region. Call for Speakers open!

Privacy. Security. Risk. 2017

This year, we're bringing P.S.R. to San Diego. The Call for Speakers is now open. Submit today and be a part of something big! Submission deadline: February 26.

Europe Data Protection Congress 2017

European policy debate, multi-level strategic thinking and thought-provoking discussion. The Call for Speakers is open until March 19.

Sponsor an Event

Increase visibility for your organization—check out sponsorship opportunities today.

More Conferences »

Become a Member

Start taking advantage of the many IAPP member benefits today

Corporate Members

See our list of high-profile corporate members—and find out why you should become one, too

Renew Your Membership

Don’t miss out for a minute—continue accessing your benefits

Join the IAPP»