Topics in this domain
- Designing Physical Security Perimeters and Controlling Entry (Annex A 7.1–7.2)
- Securing Offices, Rooms and Facilities (Annex A 7.3)
- Physical Security Monitoring and Protection from Environmental Threats (Annex A 7.4–7.5)
- Working in Secure Areas and Applying Clear Desk/Clear Screen Rules (Annex A 7.6–7.7)
- Protecting Equipment On-Site and Off-Site (Annex A 7.8–7.9)
- Managing Storage Media Securely (Annex A 7.10)
- Protecting Supporting Utilities and Network Cabling (Annex A 7.11–7.12)
- Equipment Maintenance and Secure Reuse or Disposal (Annex A 7.13–7.14)
- Securing User Endpoint Devices (Annex A 8.1)
- Managing Privileged Access, Access Restrictions and Source-Code Access (Annex A 8.2–8.4)
- Implementing Secure Authentication (Annex A 8.5)
- Capacity Management and Protection Against Malware (Annex A 8.6–8.7)
- Managing Technical Vulnerabilities and Security Patching (Annex A 8.8)
- Configuration Management and Secure Baselines (Annex A 8.9)
- Information Deletion, Data Masking and Data Leakage Prevention (Annex A 8.10–8.12)
- Information Backup and Redundancy of Processing Facilities (Annex A 8.13–8.14)
- Logging, Monitoring and Clock Synchronization (Annex A 8.15–8.17)
- Controlling Privileged Utility Programs and Software Installation (Annex A 8.18–8.19)
- Network Security, Network Services and Network Segregation (Annex A 8.20–8.22)
- Web Filtering and the Use of Cryptography (Annex A 8.23–8.24)
- Applying a Secure Development Life Cycle (Annex A 8.25)
- Defining and Validating Application Security Requirements (Annex A 8.26)
- Secure System Architecture and Engineering Principles (Annex A 8.27)
- Security Architecture and Architecture Frameworks
- Secure Coding Practices (Annex A 8.28)
- Managing Security Risks in Outsourced Development (Annex A 8.30)
- Security Testing During Development and Acceptance (Annex A 8.29)
- Separating Development, Test and Production Environments (Annex A 8.31)
- Managing Changes to Information Systems (Annex A 8.32)
- Protecting Test Information and Systems During Audit Testing (Annex A 8.33–8.34)
- New Technologies and Information Security: Cloud, Big Data and AI
Applying a Secure Development Life Cycle (Annex A 8.25)
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.
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 cycle | 8.25 |
| BEST time to address security in development | From the requirements stage |
| Control for application security requirements | 8.26 |
| Automated checks in the build pipeline | Shifting 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
-
In which stages of development does security belong?
Security is built in throughout. -
Which control covers security testing in the development life cycle?
8.26 requirements, 8.27 architecture, 8.28 coding, 8.29 testing. -
What do developers need to follow a secure development life cycle?
Secure development needs trained people.
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.