OWASP SAMM

Layers of Management ThoughtLayer 7: Assessment and Maturity ModelsMaturity modelAlso known as Software Assurance Maturity Model, SAMM, OpenSAMM

From the Software Assurance Maturity Model, whose original model Pravir Chandra wrote in 2009, now an open OWASP project (version 2.0) published under a Creative Commons license.

Gives software organizations a free, open model for assessing their security practices across fifteen practices in five business functions, setting a target for each, and building a roadmap to reach it.

Five business functions scored against a target, and the steps of improvement that remain

The company's five functions are scored from none to the third level. Set the target level and adjust any function's current level. The bars show where each function stands against the target, and the totals show the steps left to climb. Illustrative.

Level 2
Level 1
Level 2
Level 1
Level 1
Level 2
Functions below the target
3
Steps of improvement still to climb
3

Level nowTarget

012321211GovernanceDesignImplementationVerificationOperations012321211GovernanceDesignImplementationVerificationOperations

An example

An e-commerce company's security engineer is asked by the chief technology officer how the company's software security compares with where it should be. He uses the Software Assurance Maturity Model to score five business functions, with the product teams answering the questions for the practices they run. The scores come out at the second of three levels for governance and for implementation, and at the first level for design, verification, and operations.

The weak spots are specific. Teams build features without a threat assessment, testing is ad hoc, and nobody practices incident response. The chief technology officer sets a target of the second level everywhere for the year, which means one step of improvement in each of the three weaker functions instead of a general push on security. The engineer turns each step into a roadmap item with an owner: a threat assessment for new features, a standard test set in the build, and a yearly incident drill. At year end the scorecard shows two of the three steps closed.

The core idea

The model is organized in three layers. Five business functions, governance, design, implementation, verification, and operations, each contain three security practices, for fifteen in all. Each practice has two streams, and each stream rises through three maturity levels. In the Strategy and Metrics practice, for example, the first level identifies objectives and ways to measure them, the second plans and sets targets, and the third aligns the program with the organization's growth and asset values.

The model is used in a repeatable cycle: assess the current state against the practices, define a target, and build an implementation roadmap, with prescriptive advice on how to carry out the activities. What distinguishes it is that it is prescriptive and open: it says what to do next as well as what is typical, and anyone can use and adapt it. Maturity here is not an end in itself. A target can differ by practice, because a company does not need the top level of everything, only the level its risks and customers require.

The thinking behind it

Pravir Chandra Pravir Chandra wrote the original Software Assurance Maturity Model in 2009 to give software security programs a way to assess where they stood, set a target, and plan the steps between. His model had four business functions and twelve practices, each climbing three maturity levels. It became an OWASP project, published under a Creative Commons license that lets others translate and adapt it. Version 2.0, the current one, added a fifth business function, implementation, three more practices, and two streams within each practice, and kept his three levels.

Where it sits in the layers

OWASP SAMM sits in Layer 7, the assessment and maturity models, because its purpose is to place a software security program on a ladder and say what comes next. It rests on the philosophy of DevSecOps in Layer 6, which argues that security belongs inside the delivery process, and it uses the same logic as CMMI, the best-known maturity model, applied to one discipline. Incident management, one of its fifteen practices, connects to Crisis Management in Layer 8. The common mistake is asking it to measure the security of the product. It describes how well the organization practices software security. A program at a high level can still ship a vulnerable application.

How organizations put it to work

The head of application security or the chief information security officer owns it, usually with a champion in each development area. It changes decisions: each practice gets a target level based on risk, and the roadmap decides which investments come first. It changes routines: an assessment every year or so with the same questions, so scores compare over time, and activities such as threat assessment and security testing tied to the roadmap. It changes measures: current and target levels by practice, and the number of roadmap items closed.

Sustaining it takes honest scoring, ideally with someone outside the team to challenge it, and funding for the roadmap items it produces. It also takes the discipline to treat the target as a choice instead of a mandate to reach level three everywhere.

In the first year, a leader should expect the first assessment to take longer than planned, scores that rise partly because questions are better understood, and a roadmap larger than the budget. The business gains in security spending that follows a plan, in fewer surprises from weaknesses in what it builds, and in less reliance on one security expert's sense of what to do.

Where it goes wrong

The first failure is the score as the goal. Teams answer the questions to raise the number, and the evidence is thin. The sign is levels that rise on a scorecard while the same classes of vulnerability keep appearing in testing.

The second is a uniform target. Setting the same level for every practice spreads effort evenly and ignores where the risk is. The sign is a roadmap with the same priority on fifteen practices.

The third is treating the model as a standard for certification. It is a community model with no audit scheme behind it, and it issues no certificates. A further criticism is that the scores are self-assessed and the levels are coarse, so two companies at the same level may differ greatly. The sign is a comparison between firms that rests on scorecards nobody has checked.

Related and rival frameworks

  • Building Security In Maturity Model. Describes what many firms actually do, observed across a set of companies. Pick it to benchmark against peers, and this model to plan a company's own next steps.
  • DevSecOps. The philosophy of building security into delivery. It is the better start when the question is how teams should work more than how to measure the program.
  • NIST Cybersecurity Framework Tiers. Describes how rigorously a firm governs cyber risk overall. It suits a view across the whole company, where this model is limited to software.

Go to the source

Back to the catalog