Topics in this domain

Governing the Secure SDLC

Projects and development · 2 min read

Security at every stage

Security costs far less when it’s built in from the start than when it’s added after release. The diagram shows what happens at each stage of the development life cycle.

At requirements, security and privacy requirements are defined and the system is given a risk rating. At design, threat modelling and secure patterns shape the architecture. At build, developers follow secure coding standards, code is reviewed, and static analysis (SAST) and dependency scanning run automatically. At test, dynamic testing (DAST) runs, with penetration tests for high-risk applications. At release and run, there’s a security sign-off, a web application firewall where appropriate, monitoring and patching.

Requirements, design, build, test, release and run, each with security activities.

Application controls (input, processing and output controls) are defined as requirements, not afterthoughts.

Earlier is cheaper

“Shift left” means moving security checks earlier in the life cycle. The diagram shows the checks from earliest to latest.

At design, threat modelling. In code, static analysis and secret scanning. At build, dependency (software composition), container and infrastructure-as-code scans. In the running application, dynamic testing, penetration testing and monitoring. Shifting left adds the early checks; it doesn’t remove the later ones.

Shift left: threat modelling at design, SAST at code, dependency scans at build, DAST and pen testing on the running app.

Governance that works

Without governance, security steps get dropped when deadlines bite. A few mechanisms keep them in place.

  • Secure development standards, approved and trained.
  • Security requirements in every specification.
  • Gates with defined security evidence.
  • Independent review before release.
  • A software bill of materials for components.

Example. A security flaw found in production cost 30 times more to fix than the same flaw would have cost at design. After the review, threat modelling became a mandatory design gate for all customer-facing systems.

How the exam asks about it

If the question asks…The answer is usually…
MOST cost-effective time to add securityRequirements and design
BEST way to make sure security isn’t droppedDefined gates with evidence
Open-source componentsInventory and scan them (SBOM)
Who approves code for releaseSomeone independent of the developer

In short

  • Security built in during requirements and design costs far less than security added after release.
  • Each SDLC stage has security activities: requirements, threat modelling, secure coding, testing and release sign-off.
  • Application controls (input, processing, output) are defined as requirements, not afterthoughts.
  • Governance means defined standards, gates and evidence, not just good intentions.
  • Third-party and open-source components need the same scrutiny as in-house code.

Exam traps

  • Penetration testing just before go-live as the only security activity.
  • No security requirements in the original specification.
  • Ignoring open-source and third-party libraries.
  • Developers approving their own code for release.

Check yourself

  1. Penetration testing before go-live is the only security activity. What is the weakness?

  2. How should open-source components be treated?

  3. When should application controls be defined?

Slides

Click the slide and use the arrow keys. F toggles full screen.

Turn your phone sideways for a bigger view. Tap any diagram to enlarge it.

CRISC · Domain 4 · Projects and development

Governing the Secure SDLC

How security and control requirements are built into each stage of the system development life cycle, and the governance that makes sure they don't get dropped.

1 / 7

Turn your phone sideways or scroll to see all of it.