Topics in this domain

Applying a Secure Development Life Cycle (Annex A 8.25)

Secure development · 1 min read

The secure life cycle

Software built without security in mind is expensive to fix and easy to attack. Annex A control 8.25 calls for rules for the secure development of software and systems to be established and applied. The diagram shows the life cycle, with the control for each stage.

Requirements set the security requirements (8.26). Design applies secure architecture (8.27). Build follows secure coding (8.28). Test includes security testing (8.29). Deploy goes through change control (8.32). And maintain means patching and monitoring.

Requirements (8.26), design (8.27), build with secure coding (8.28), test (8.29), deploy under change control (8.32), maintain by patching and monitoring.

What the secure development rules cover

ISO/IEC 27002 suggests the secure development rules cover:

  • separation of development, test and production;
  • security in requirements and design;
  • secure coding guidelines and training;
  • security testing at each stage;
  • secure repositories and version control;
  • change control for releases.

These rules apply to anyone building software or systems: in-house developers, low-code teams, data scientists writing scripts, and outsourced developers (8.30).

Shift security left

A design flaw found in requirements costs minutes to fix; the same flaw found in production can cost a breach. Putting security checks early, and automating them in the build pipeline, catches problems when they’re cheap.

Example. A team added automated dependency and code scanning to every pull request. Vulnerable libraries were blocked before merging, instead of being found in an annual penetration test.

How the exam asks about it

If the question asks…The answer is usually…
Control for secure development life cycle8.25
BEST time to address security in developmentFrom the requirements stage
Control for application security requirements8.26
Automated checks in the build pipelineShifting security left

In short

  • Annex A 8.25 calls for rules for the secure development of software and systems to be established and applied.
  • Security belongs in every stage: requirements, design, build, test, deploy and maintain.
  • Each stage has its own control: 8.26 requirements, 8.27 architecture, 8.28 coding, 8.29 testing, 8.32 change.
  • Separate environments (8.31) and protect source code (8.4).
  • Developers need training in secure development, and repositories need protecting.

Exam traps

  • Security testing only at the end, when fixes are most expensive.
  • No secure development rules for low-code or scripting teams.
  • Developers untrained in common vulnerabilities.
  • Production data and credentials in code repositories.

Check yourself

  1. In which stages of development does security belong?

  2. Which control covers security testing in the development life cycle?

  3. What do developers need to follow a secure development life cycle?

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.

ISO 27001 LI · Domain 6 · Secure development

Applying a Secure Development Life Cycle (Annex A 8.25)

How Annex A 8.25 builds security into software and system development from requirements to maintenance, and how the other secure development controls, 8.26 to 8.32, fit into each stage.

1 / 7

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