CISSP-101 · Lesson 10 of 12 · 27 min

Domain 8 and thinking across the domains

The last domain of the CISSP common body of knowledge, Domain 8, Software Development Security, carries 10 % of the exam. It covers how security is built into software from the first requirement to retirement, how development environments are protected, how the security of software is assessed and how software acquired from others is evaluated. Many candidates who are not developers worry about this domain, but it is written for security professionals who work with developers, not for programmers. The second half of this lesson steps back from individual domains to look at the way of thinking the exam rewards across all eight, often called the manager's mindset, and at techniques for scenario questions that cut across domains.

Domain 8 at a glance

The 2024 outline asks candidates to understand and integrate security in the software development life cycle (SDLC); identify and apply security controls in software development ecosystems; assess the effectiveness of software security; assess the security impact of acquired software; and define and apply secure coding guidelines and standards. Its central message is that security is cheapest and most effective when it is designed in from the beginning, rather than tested in or bolted on at the end.

Security in the software development life cycle

Every SDLC, whatever its methodology, moves through similar activities: gathering requirements, design, development, testing, deployment, operation and maintenance, and eventually retirement. Security activities belong in each. During requirements, define security and privacy requirements alongside functional ones. During design, perform threat modelling and design reviews. During development, follow secure coding standards and use static analysis. During testing, run dynamic testing, fuzzing and penetration tests. During deployment, harden configurations and control releases. During operation, monitor, patch and manage changes. At retirement, dispose of data securely.

Development methodologies differ in how they sequence this work. The waterfall model moves through phases in order, with formal sign-off between them; security reviews fit naturally at phase gates. Agile methods deliver small increments in short iterations; security must be built into each iteration, for example through security user stories, abuse cases and automated tests. DevOps combines development and operations with heavy automation and continuous delivery, and DevSecOps adds security to that pipeline through automated scanning, policy checks and infrastructure as code reviews. Other models, such as the spiral model, rapid application development and the integrated product team approach, appear in older study materials and are still examinable.

A circular diagram of the software development life cycle with six stages: requirements, design, development, testing, deployment and operation and maintenance. Each stage is paired with a security activity: security requirements, threat modelling, secure coding and static analysis, dynamic testing and fuzzing, hardening and release control, and monitoring and patching. Retirement with secure disposal leaves the cycle at the end.
Security activities at each stage of the software development life cycle.

Maturity models help organizations measure and improve their development practices. The Capability Maturity Model Integration (CMMI) describes levels from initial (ad hoc) to optimizing. The OWASP Software Assurance Maturity Model (SAMM) and the Building Security In Maturity Model (BSIMM) focus specifically on software security practices. Change management, configuration management and code repositories with access controls protect the integrity of software as it moves from development to production.

Secure coding and common vulnerabilities

Secure coding guidelines translate principles into practical rules: validate all input, encode output, use parameterized queries, handle errors without revealing sensitive details, manage sessions securely, store secrets outside code, apply least privilege to application accounts and log security-relevant events. The OWASP Top 10, a regularly updated list of the most critical web application security risks, is a widely used reference; broken access control, cryptographic failures, injection and insecure design have all featured prominently in recent editions. Application programming interfaces (APIs) need the same care, with authentication, authorization, rate limiting and input validation on every endpoint.

Acquired software and the supply chain

Most organizations run far more software that they bought or downloaded than software they wrote. Domain 8 asks how to assess the security of commercial off-the-shelf software, open-source components, third-party custom software, managed services and cloud services. Approaches include reviewing vendors' security practices, requiring independent assessments, testing products before deployment, negotiating contractual security requirements and monitoring for vulnerabilities after purchase. A software bill of materials (SBOM), a machine-readable inventory of the components in a piece of software, helps organizations find out quickly whether they are affected when a vulnerability is announced in a widely used component.

In Canada, the Canadian Centre for Cyber Security publishes guidance on secure software development and supply chain risk, and Government of Canada departments apply supply chain integrity reviews to significant technology purchases. Canadian organizations often refer to international standards such as ISO/IEC 27034 for application security and to the NIST Secure Software Development Framework as good practice, even though it is not binding in Canada.

Worked problem

Responding to a component vulnerability

A critical vulnerability is announced in a widely used open-source logging library. The security manager needs to know within hours which of the organization's 300 applications are affected. Which practice would help most, and what should happen next?

Show solution
  1. Without an inventory, teams must search code and servers manually, which can take days.
  2. An up-to-date SBOM for each application lets the team query which applications include the vulnerable library and version.
  3. Next steps: prioritize internet-facing and critical applications, apply vendor patches or mitigations, monitor for exploitation attempts and confirm remediation.
  4. Afterwards, review lessons learned, such as adding automated dependency scanning to the build pipeline.

Answer: Maintaining SBOMs (with automated dependency scanning) would let the team identify affected applications quickly, followed by risk-based patching, monitoring and verification.

The manager's mindset

The CISSP is written for professionals who advise organizations, so many questions are best answered from the point of view of a security manager or trusted adviser rather than a technician. This is often summarized as 'think like a manager', although 'think like a risk adviser' might be more accurate. A few principles guide this mindset.

  • Human safety comes first, always, ahead of data, systems and money.
  • Security serves the business. Controls exist to support the organization's mission and objectives within its risk appetite.
  • Senior management owns risk. Security professionals advise; executives decide and accept residual risk.
  • Governance before technology. Policies, roles, processes and management support usually come before specific tools.
  • Understand before acting. Identify assets, assess risk and gather facts before choosing controls or taking drastic action.
  • Follow process. Use established incident, change and escalation processes rather than acting alone.
  • Prefer root causes and lasting solutions over quick fixes, while still containing immediate harm.
  • Balance cost and benefit. The best control is not the strongest one but the one that reduces risk appropriately at a justified cost.

Reading scenario questions

Many items describe a situation and ask what should be done FIRST, what is the BEST or MOST important action, or which option is LEAST appropriate. These qualifiers matter. Several options may be good actions; the question asks for priority. A reliable approach is to read the final question sentence first, identify the role you are being asked to play, note key facts and constraints in the scenario, eliminate options that are wrong or out of scope, and then compare the remaining options against the mindset principles above. If two options remain, ask which one comes earlier in the logical sequence or which one has the broader, longer-lasting effect.

Common qualifiers in scenario questions.
Question wordingWhat it usually signals
What should be done FIRST?The earliest step in the correct process, often assessment, containment or notifying the right authority
What is the BEST control?The option that most fully addresses the risk at a justified cost
What is MOST important?The option with the highest priority, often safety or senior management support
Which is LEAST appropriate?The one option that does not fit; read every option carefully
What is the PRIMARY purpose?The core reason, not a secondary benefit

Worked problem

A cross-domain scenario

A company plans to move its customer database to a new cloud service next month. The project manager asks the newly hired security manager to approve the move. No risk assessment has been done, the data includes personal information and the cloud contract is not yet signed. What should the security manager do FIRST?

Show solution
  1. Several domains are involved: risk management and privacy (Domain 1), data classification and ownership (Domain 2), cloud architecture and shared responsibility (Domain 3) and supplier assessment (Domain 8).
  2. Approving immediately would ignore unknown risks to personal information.
  3. Blocking the project outright would ignore business needs and is not the security manager's decision alone.
  4. Configuring encryption or reviewing the provider's SOC 2 report are useful, but they are parts of a broader assessment.
  5. The first step is to perform, or arrange, a risk assessment of the move, including privacy obligations and contract requirements, and present the results to the data owner and management to decide.

Answer: Conduct a risk assessment of the proposed move, covering privacy and contract requirements, and report the findings to the data owner and management for a decision.

How the domains connect

Although the exam outline divides the material into eight domains, real problems do not respect the boundaries. A ransomware incident involves risk management and business continuity (Domain 1), backups and data classification (Domain 2), architecture and segmentation (Domain 3), network defences (Domain 4), privileged access (Domain 5), testing of recovery plans (Domain 6), incident response and recovery (Domain 7) and software patching (Domain 8). Studying the domains as separate silos can leave you unprepared for questions that combine them. As you study each domain in later courses, keep asking how it links to the others; lesson 12 suggests ways to build this into your study plan through mixed practice.

A diagram with a ransomware incident in the centre connected to eight boxes representing the CISSP domains, each labelled with the aspect of the incident it covers: risk and continuity, backups and classification, segmentation, network defences, privileged access, recovery testing, incident response and patching.
One incident, eight domains: how a ransomware attack touches the whole common body of knowledge.

Supporting development teams as a security professional

Security professionals who are not developers can still add a great deal of value to software projects. They can help define security requirements in plain language, run threat modelling workshops with architects and developers, choose and tune automated scanning tools so that developers are not flooded with false positives, and translate findings into business risk for product owners. They can also champion training, set up a security champions program in which a developer on each team takes on extra security responsibilities, and make sure that security exceptions are documented and approved at the right level. The goal is to make the secure path the easy path for developers, rather than acting as a gate that slows every release.

Measuring progress helps. Useful indicators include the share of applications with up-to-date threat models, the time taken to fix critical vulnerabilities, the proportion of builds that pass automated security checks and the number of security defects found in production compared with those found earlier. Trends matter more than single values: falling numbers of production defects and shorter fix times show that security is moving earlier in the life cycle, which is exactly what Domain 8 encourages.

Artificial intelligence and software security

The 2024 outline asks candidates to consider the security implications of artificial intelligence and machine learning across all domains, and Domain 8 is where many of those issues arise. Organizations now build software that uses machine learning models, integrate third-party AI services through APIs and use AI coding assistants in development. Each creates new risks: training data can be poisoned, models can be manipulated through crafted inputs such as prompt injection, sensitive data can leak through model outputs, and code suggested by an assistant may contain vulnerabilities or licensing problems. The core principles still apply. Treat AI components as part of the software supply chain, validate inputs and outputs, apply least privilege to what AI systems can access and do, test for misuse and review generated code as carefully as any other code.

Common mistakes

  • MistakeSkipping Domain 8 because you are not a developer.

    InsteadIt is written for security professionals who work with developers.

  • MistakeTreating security testing as the main software control.

    InsteadBuild security into requirements, design and coding from the start.

  • MistakeChoosing the most technical answer by habit.

    InsteadConsider safety, governance, risk and process first.

  • MistakeMaking risk decisions yourself as a security professional.

    InsteadAdvise management, which owns and accepts risk.

  • MistakeIgnoring words such as FIRST, BEST and LEAST.

    InsteadRead the final sentence first and note the qualifier.

Summary and key terms

  • Domain 8 (10 %) covers security in the SDLC, development ecosystems, software assessment, acquired software and secure coding.
  • Security activities belong in every SDLC phase, whatever the methodology.
  • DevSecOps automates security in delivery pipelines; maturity models such as SAMM and BSIMM measure practice.
  • OWASP Top 10 and secure coding guidelines address common vulnerabilities; SBOMs support supply chain response.
  • The manager's mindset puts safety first, serves the business and leaves risk decisions to management.
  • Scenario questions hinge on qualifiers such as FIRST, BEST and MOST.
  • Real problems cross domains, so practise integrating them.
SDLC
Software development life cycle, from requirements to retirement.
DevSecOps
Integrating security practices into DevOps pipelines.
Threat modelling
Systematic identification of threats to a design.
Static analysis
Examining code for flaws without running it.
Fuzzing
Testing software with unexpected or random input.
OWASP Top 10
List of the most critical web application security risks.
SBOM
Software bill of materials, an inventory of software components.
SAMM
OWASP Software Assurance Maturity Model.
Manager's mindset
Risk-based, business-focused approach the CISSP rewards.
Qualifier
Word such as FIRST or BEST that sets the question's priority.

Practice problems

Work each problem on paper first, then reveal the answer to check.

  1. What is the weighting of Domain 8?

    Show answer

    10 %.

  2. Why is security cheaper early in the SDLC?

    Show answer

    Design flaws are easier to fix before code is written and deployed.

  3. What does DevSecOps add to DevOps?

    Show answer

    Automated security practices in the delivery pipeline.

  4. What is an SBOM?

    Show answer

    A machine-readable inventory of software components.

  5. Name two secure coding practices.

    Show answer

    Input validation and parameterized queries.

  6. Name two software security maturity models.

    Show answer

    OWASP SAMM and BSIMM.

  7. What comes first in the manager's mindset?

    Show answer

    Human safety.

  8. Who accepts residual risk?

    Show answer

    Senior management.

  9. What should you read first in a scenario question?

    Show answer

    The final question sentence.

  10. Why practise mixed-domain questions?

    Show answer

    Real problems and many exam items combine domains.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz