CISSP-Domain 8 - Software Development Security

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/54

encourage image

There's no tags or description

Looks like no tags are added yet.

55 Terms

1
New cards

Software Development Lifecycle

The Software Development Lifecycle (SDLC) is a structured process that guides how software is planned, built, tested, deployed, and maintained. It provides a repeatable framework so that security, quality, and business requirements are addressed at every stage of development rather than added as an afterthought.

2
New cards

Waterfall Model

The Waterfall Model is a sequential software development approach where each phase — requirements, design, implementation, testing, and deployment — must be completed before the next begins. It works best when requirements are well-understood and unlikely to change, but it makes incorporating new requirements or fixes late in the process costly and difficult.

3
New cards

Agile Model

The Agile Model is an iterative software development approach that delivers working software in short cycles called sprints or iterations, allowing requirements and solutions to evolve through collaboration. It prioritizes flexibility and continuous feedback over rigid upfront planning, making it well-suited for projects where requirements are expected to change.

4
New cards

DevSecOps

DevSecOps is a software development philosophy that integrates security practices directly into the DevOps pipeline, making security a shared responsibility across development, operations, and security teams. Rather than treating security as a gate at the end of development, DevSecOps embeds automated security testing, code analysis, and compliance checks throughout the entire development and deployment process.

DevSecOps extends the DevOps model by integrating security practices and tooling throughout the entire software development lifecycle (SDLC) rather than treating security as a gate at the end. Key practices include: threat modeling in design, SAST/DAST in CI/CD pipelines, software composition analysis (SCA) for dependency scanning, secrets management, and automated compliance checks. The goal is to shift security left — finding and fixing vulnerabilities when they are cheapest to remediate.

5
New cards

Waterfall Model vs. Agile Model

The Waterfall Model is a linear, sequential process where each development phase is completed before moving to the next, making it rigid but predictable. The Agile Model is iterative and flexible, delivering software in short cycles and welcoming changing requirements. The key distinction is adaptability: Waterfall suits stable, well-defined requirements, while Agile suits dynamic environments where requirements evolve.

6
New cards

Security requirements

Security requirements are specific conditions that a system must meet to protect the confidentiality, integrity, and availability of its data and functions. They are defined early in the development lifecycle and cover areas such as authentication, authorization, encryption, and audit logging, ensuring that security is designed in rather than bolted on.

7
New cards

Threat Modeling

Threat modeling is a structured process used during software design to identify potential threats, vulnerabilities, and attack vectors that could affect an application. The goal is to understand what could go wrong, prioritize the risks, and define countermeasures before development begins, reducing the cost of fixing security issues later.

8
New cards

STRIDE

STRIDE is a threat modeling framework developed by Microsoft that categorizes threats into six types: Spoofing, Tampering, Repudiation, Information Disclosure, Denial of Service, and Elevation of Privilege. It provides a systematic way for development teams to think through different classes of attacks against a system and identify corresponding security controls.

9
New cards

Abuse Case

An abuse case describes how an attacker or malicious user could intentionally misuse a system's legitimate functionality to cause harm. Unlike a use case, which describes how a system should behave, an abuse case explores how that same behavior could be exploited, helping teams design defenses against intentional misuse.

10
New cards

Misuse Case

A misuse case describes unintended or harmful interactions with a system, whether from malicious actors or accidental misuse by legitimate users. It is a broader concept than an abuse case and is used during requirements and design phases to anticipate ways a system might be used incorrectly and build in protections accordingly.

11
New cards

Abuse Case vs. Misuse Case

An abuse case focuses specifically on intentional, malicious exploitation of a system's features by an attacker. A misuse case is broader, covering both intentional attacks and unintentional harmful interactions by legitimate users. The distinction is intent: abuse cases assume a hostile actor, while misuse cases also account for accidental harm.

12
New cards

Input Validation

Input validation is the process of verifying that data provided to an application meets expected format, type, length, and value constraints before it is processed. It is a foundational security control that prevents malicious or malformed data from being used to manipulate application logic or backend systems.

13
New cards

Output Encoding

Output encoding is the practice of converting data into a safe format before it is sent to a browser or another system, so that it is treated as data rather than executable code. It is a primary defense against injection attacks like Cross-Site Scripting, because it ensures that user-supplied content cannot be interpreted as HTML, JavaScript, or other active content.

14
New cards

Parameterized Query

A parameterized query is a database query technique where user input is passed as separate parameters rather than embedded directly into the SQL statement. This separates code from data, preventing attackers from injecting malicious SQL commands because the database treats the input as a value, not as part of the query structure.

15
New cards

Error Handling

Error handling is the way an application responds to unexpected conditions or failures during execution. From a security perspective, proper error handling ensures that detailed system information — such as stack traces, database errors, or internal paths — is never exposed to the user, which could otherwise help attackers understand and exploit the system.

16
New cards

Fail Securely

Fail securely is a design principle stating that when a system encounters an error or failure, it should default to a secure state rather than an open or permissive one. For example, if an access control mechanism fails, it should deny access by default rather than granting it, preventing failures from becoming exploitable vulnerabilities.

17
New cards

SQL injection

SQL injection is an attack where a malicious user inserts SQL code into an input field that is then executed by the application's database. It can allow attackers to bypass authentication, read or modify data, and in some cases execute commands on the underlying server. It is prevented primarily through parameterized queries and input validation.

18
New cards

Cross-Site Scripting

Cross-Site Scripting (XSS) is an attack where an attacker injects malicious scripts into web pages viewed by other users. When the victim's browser renders the page, the script executes in their browser context, potentially stealing session cookies, redirecting users, or performing actions on their behalf. It is mitigated through output encoding and input validation.

19
New cards

Cross-Site Request Forgery

Cross-Site Request Forgery (CSRF) is an attack that tricks an authenticated user's browser into sending an unintended request to a web application on which the user is already logged in. Because the request comes from the user's browser with valid session credentials, the application may execute it as if it were legitimate. It is mitigated using anti-CSRF tokens and same-site cookie attributes.

20
New cards

Buffer Overflow

A buffer overflow occurs when a program writes more data into a memory buffer than it was designed to hold, causing the excess data to overwrite adjacent memory. Attackers can exploit this to corrupt program execution, crash the application, or inject and execute arbitrary code. It is prevented through bounds checking, safe programming languages, and compiler protections.

A buffer overflow occurs when a program writes more data to a fixed-length buffer than it can hold, overwriting adjacent memory. Attackers exploit this to corrupt data, crash the application (denial of service), or overwrite the return address on the stack to redirect execution to attacker-controlled shellcode. Mitigations include input validation, bounds-checking, use of memory-safe languages, compiler protections (stack canaries, ASLR, DEP/NX), and fuzzing during testing.

21
New cards

Race Condition

A race condition occurs when two or more processes access shared resources simultaneously and the outcome depends on the order of execution. Attackers can exploit the window between a security check and the actual use of a resource (called TOCTOU — Time of Check to Time of Use) to manipulate system behavior in unintended ways.

22
New cards

Directory traversal

A directory traversal attack occurs when an attacker manipulates file path inputs (e.g., using '../' sequences) to access files and directories outside the intended scope of an application. This can expose sensitive configuration files, credentials, or system files that the application was never designed to serve.

23
New cards

Insecure Deserialization

Insecure deserialization occurs when an application reconstructs (deserializes) untrusted data into objects without proper validation. Attackers can craft malicious serialized data to manipulate application logic, escalate privileges, or execute arbitrary code on the server.

24
New cards

SQL Injection vs. Cross-Site Scripting

SQL Injection (SQLi) is an attack where malicious SQL code is inserted into an input field to manipulate a backend database — potentially exposing, modifying, or deleting data. Cross-Site Scripting (XSS) injects malicious scripts into web pages viewed by other users, typically targeting the victim's browser rather than the server. SQLi attacks the database; XSS attacks other users of the application.

25
New cards

Unit test

A unit test validates a single, small piece of code — typically one function or method — in isolation from the rest of the application. It is usually written and run by developers to confirm that individual components behave as expected before being integrated into the larger system.

26
New cards

Integration Test

An integration test verifies that multiple components or modules work correctly when combined. After individual units pass their own tests, integration testing checks the interfaces and interactions between them to catch issues that only appear when components are connected.

27
New cards

System test

A system test evaluates the complete, fully integrated application to verify that it meets its specified requirements. It treats the software as a whole and tests end-to-end behavior, performance, and security across the entire system rather than individual components.

28
New cards

Acceptance Test

An acceptance test determines whether a completed system meets the business requirements and is ready for delivery to the end user or customer. It is typically performed by the customer or a business representative — not the development team — and represents formal sign-off that the software does what was agreed upon.

29
New cards

Regression test

A regression test re-runs previously passing tests after code changes to confirm that new updates have not broken existing functionality. It is a safety net that catches unintended side effects introduced during bug fixes, new feature development, or refactoring.

30
New cards

CI\CD Pipeline

A CI/CD (Continuous Integration / Continuous Delivery) pipeline is an automated workflow that builds, tests, and deploys software whenever code changes are committed. It enables rapid, repeatable releases by automating quality checks at each stage, and integrating security scanning into the pipeline helps catch vulnerabilities before code reaches production

31
New cards

Shift Left Security

Shift left security is the practice of introducing security activities earlier in the software development lifecycle — during design, coding, and testing — rather than treating security as a final gate before release. Finding and fixing vulnerabilities early is significantly cheaper and less disruptive than addressing them after deployment.

32
New cards

Dependency Scanning

Dependency scanning automatically analyzes the third-party libraries and packages that an application relies on to identify known vulnerabilities. Because modern applications often include dozens of external dependencies, scanning them helps ensure that inherited code does not introduce security weaknesses.

33
New cards

Software Composition Analysis

Software Composition Analysis (SCA) is the practice of identifying and inventorying all open-source and third-party components used within an application, along with their associated licenses and known vulnerabilities. It gives organizations visibility into what their software is actually made of so they can manage risk from external code.

34
New cards

Container Security

Container security refers to the practices and controls used to protect containerized applications and their infrastructure throughout their lifecycle — from building images to runtime. Key concerns include using trusted base images, scanning containers for vulnerabilities, enforcing least privilege, and preventing containers from escaping their isolation boundaries.

35
New cards

Polyinstantiation

Polyinstantiation is a database security technique where the same data appears to exist in multiple forms at different classification levels, allowing users at different clearance levels to see different versions of the same record. It prevents lower-privileged users from inferring the existence of higher-classified data based on null or missing values.

36
New cards

Database Inference

Database inference is the ability to deduce sensitive or classified information by analyzing the results of legitimate, lower-level queries — without being granted direct access to the restricted data. It is a concern in multilevel security databases where patterns in accessible data can reveal what exists at higher classification levels.

37
New cards

Aggregation Attack

An aggregation attack occurs when an individual combines multiple pieces of individually non-sensitive information to derive knowledge that is sensitive when viewed as a whole. Each data point alone may be harmless, but the combination reveals information that should have been protected.

38
New cards

Database Inference vs. Aggregation Attack

Database inference involves deducing sensitive information from patterns or gaps in query results — the attacker draws conclusions from what the database reveals or withholds. An aggregation attack combines multiple individually harmless data points to produce sensitive knowledge. Inference exploits the structure of database responses; aggregation exploits the combination of separately available facts.

39
New cards

API Security

API security refers to the controls and practices used to protect Application Programming Interfaces from unauthorized access, misuse, and attack. APIs expose application functionality and data to other systems, so securing them involves authentication, authorization, input validation, rate limiting, and monitoring to prevent abuse.

40
New cards

Broken Object Level Authorization

Broken Object Level Authorization (BOLA) is an API vulnerability where an application fails to verify that the requesting user is authorized to access a specific object or resource. An attacker can manipulate object IDs in API requests to access or modify data belonging to other users, making it one of the most common and impactful API security flaws.

41
New cards

Version control

Version control is a system that tracks changes to source code over time, allowing developers to see who changed what, when, and why. It enables teams to revert to earlier versions if a change introduces errors and supports secure, auditable software development practices.

42
New cards

Separation of Dev/Test/Prod

Separation of development, testing, and production environments means keeping each stage of the software lifecycle in its own isolated environment. This prevents untested or malicious code from reaching live systems, protects real data from exposure during testing, and reduces the risk of accidental or unauthorized changes to production.

43
New cards

COTS

COTS, or Commercial Off-the-Shelf software, refers to pre-built software products purchased from a vendor rather than developed in-house. Organizations using COTS must still assess security risks, apply vendor patches promptly, and understand that they have limited control over the underlying code

44
New cards

Software Escrow

Software escrow is an arrangement in which a neutral third party holds a copy of a software vendor's source code on behalf of the customer. If the vendor goes out of business or fails to meet contractual obligations, the customer can access the source code to maintain or continue operating the software.

45
New cards

Code Review

Code review is the systematic examination of source code by one or more reviewers (peers, security specialists, or automated tools) to identify defects, logic errors, and security vulnerabilities before software is deployed. Security-focused reviews look for issues such as hardcoded credentials, improper input validation, insecure cryptographic usage, and race conditions. Reviews can be manual (walkthrough, inspection) or automated via Static Application Security Testing (SAST) tools.

46
New cards

Threat Modeling

Threat modeling is a structured process performed during the design phase to identify, enumerate, and prioritize potential threats to a system before code is written. Common frameworks include STRIDE (Spoofing, Tampering, Repudiation, Information disclosure, Denial of service, Elevation of privilege) and PASTA. The output is a threat model document listing threats, attack vectors, mitigations, and residual risk — enabling security requirements to be built in rather than bolted on.

47
New cards

SBPM (Software Bill of Materials)

An SBOM is a formal, machine-readable inventory of all components, libraries, and dependencies in a software product, including their versions and licensing. SBOMs enable organizations to quickly determine exposure when a new vulnerability (e.g., Log4Shell) is disclosed by identifying which products contain the affected component. Executive Order 14028 (US, 2021) mandated SBOMs for software sold to the federal government, making them a key supply chain security control.

48
New cards

Injection Attack

An injection attack occurs when untrusted data is sent to an interpreter as part of a command or query, causing the interpreter to execute unintended commands. SQL injection (SQLi) is the most prevalent form — an attacker inserts SQL syntax into user input to manipulate database queries. Other forms include OS command injection, LDAP injection, and XML injection. Prevention relies on parameterized queries / prepared statements, input validation, and least-privilege database accounts.

49
New cards

AI-Assisted Coding Risks

Security vulnerabilities introduced when developers use AI code generation tools (e.g. GitHub Copilot, LLM-based assistants) without adequate review. Risks include: suggestions containing known-vulnerable patterns from training data, hallucinated dependencies (non-existent packages that could be typosquatted), insecure defaults, and inadvertent reproduction of licensed code. Requires security review of AI-generated code as a mandatory step in the development workflow.

50
New cards

LLM Code Hallucination

The generation by an AI coding assistant of syntactically plausible but factually incorrect code — including references to non-existent APIs, incorrect function signatures, invented package names, or subtly insecure implementations. Security risk: developers who trust AI-generated code without review may ship hallucinated vulnerable patterns or import malicious packages registered to match hallucinated names.

51
New cards

Model Hijacking

An attack in which a threat actor gains unauthorised control over an AI model's behaviour — typically by compromising the model supply chain (substituting a malicious model for a legitimate one), exploiting insecure model loading mechanisms, or poisoning fine-tuning data. A hijacked model may perform its stated function normally while also executing hidden malicious behaviour (a backdoor), making detection difficult.

52
New cards

Inference Attacks (ML)

Attacks that extract sensitive information about training data from a deployed ML model without direct access to the training set. Membership inference attacks determine whether a specific record was part of the training data. Model inversion attacks reconstruct approximate training samples from model outputs. Training data extraction attacks recover verbatim training content from language models. These attacks violate the privacy expectations of individuals whose data was used to train the model.

53
New cards

AI/ML Supply Chain Security

The identification and management of security risks in the components, tools, and services that make up an AI development pipeline: ML frameworks (TensorFlow, PyTorch), pre-trained base models from public repositories, third-party datasets, labelling services, and inference infrastructure. Compromised components at any stage can introduce vulnerabilities, backdoors, or data integrity issues that persist through to production. Requires provenance verification, integrity checking, and vendor assessment for all pipeline components.

54
New cards

AI Security Testing in CI/CD

The integration of automated AI-specific security checks into continuous integration and deployment pipelines. Includes SAST and DAST for AI-generated code, dependency scanning for ML libraries, model integrity verification before deployment, adversarial robustness tests as part of the model validation gate, and prompt injection testing for LLM-integrated applications. Ensures AI security checks are continuous and automated rather than one-time pre-launch assessments.

55
New cards

AI Security in the SDLC

The embedding of AI-specific security considerations into each phase of the software development lifecycle: threat modelling for AI components during design, secure data handling requirements during development, AI-specific code review checklists, adversarial testing during QA, supply chain integrity checks before deployment, and model drift monitoring post-release. Prevents AI security from being treated as an afterthought addressed only after deployment.