Proactive threat modeling

Threat modeling carried out during design and development, before a system is deployed, so that threats are identified and designed out while changes are still cheap to make.

Proactive threat modeling is threat modeling performed early in the software development lifecycle, while a system is being designed and built. The team decomposes the planned system, often with data flow diagrams, identifies where threats could arise at each component and trust boundary, and changes the design before code reaches production. Some study sources call this the defensive approach. It is one form of shift left.

Its counterpart is reactive threat modeling, carried out after a system is deployed, for example through penetration testing, code review or analysis of an incident, which the same sources call the adversarial approach. The proactive form is commonly described as cheaper and more effective, because a flaw removed from a design costs less to fix than one patched in a live system, but it can only anticipate the threats the team imagines. Reactive work finds what the design missed, so many programmes use both, and a proactive model is revisited as the system changes.

Exam relevance: a scenario is likely to describe threat analysis at a particular stage of a project and ask which approach it is, or to ask when threat modeling gives the most value. Candidates are expected to link proactive modeling to the design phase and reactive modeling to systems already in operation.