PW.1 Design Software to Meet Security Requirements and Mitigate Security Risks
Practice PW.1 of the Secure Software Development Framework (SSDF) version 1.1, in the group Produce Well-Secured Software (PW). The practice, task and example text and the SP 800-53 references are NIST’s, from the table published with SP 800-218 (February 2022, final).
Practice
Section titled “Practice”Identify and evaluate the security requirements for the software; determine what security risks the software is likely to face during operation and how the software’s design and architecture should mitigate those risks; and justify any cases where risk-based analysis indicates that security requirements should be relaxed or waived. Addressing security requirements and risks during software design (secure by design) is key for improving software security and also helps improve development efficiency.
NIST lists three tasks for this practice. The examples under each are notional: no example or combination of examples is required, and they are not the only feasible options (SP 800-218, section 2).
PW.1.1
Section titled “PW.1.1”Use forms of risk modeling – such as threat modeling, attack modeling, or attack surface mapping – to help assess the security risk for the software.
Notional implementation examples for PW.1.1
- Example 1: Train the development team (security champions, in particular) or collaborate with a risk modeling expert to create models and analyze how to use a risk-based approach to communicate the risks and determine how to address them, including implementing mitigations.
- Example 2: Perform more rigorous assessments for high-risk areas, such as protecting sensitive data and safeguarding identification, authentication, and access control, including credential management.
- Example 3: Review vulnerability reports and statistics for previous software to inform the security risk assessment.
- Example 4: Use data classification methods to identify and characterize each type of data that the software will interact with.
PW.1.2
Section titled “PW.1.2”Track and maintain the software’s security requirements, risks, and design decisions.
Notional implementation examples for PW.1.2
- Example 1: Record the response to each risk, including how mitigations are to be achieved and what the rationales are for any approved exceptions to the security requirements. Add any mitigations to the software’s security requirements.
- Example 2: Maintain records of design decisions, risk responses, and approved exceptions that can be used for auditing and maintenance purposes throughout the rest of the software life cycle.
- Example 3: Periodically re-evaluate all approved exceptions to the security requirements, and implement changes as needed.
PW.1.3
Section titled “PW.1.3”Where appropriate, build in support for using standardized security features and services (e.g., enabling software to integrate with existing log management, identity management, access control, and vulnerability management systems) instead of creating proprietary implementations of security features and services. [Formerly PW.4.3]
Notional implementation examples for PW.1.3
- Example 1: Maintain one or more software repositories of modules for supporting standardized security features and services.
- Example 2: Determine secure configurations for modules for supporting standardized security features and services, and make these configurations available (e.g., as configuration-as-code) so developers can readily use them.
- Example 3: Define criteria for which security features and services must be supported by software to be developed.
SP 800-53 references
Section titled “SP 800-53 references”NIST’s table maps each task to SP 800-53 controls in the “SP80053” entries of its References column, which also maps tasks to other secure development documents (not listed here). Each control’s page lists the tasks that cite it under Methods.
| Task | SP 800-53 references |
|---|---|
| PW.1.1 | SA-8, SA-11(2), SA-11(6), SA-15(5) |
| PW.1.2 | SA-8, SA-10, SA-17 |
| PW.1.3 | None in NIST’s table |
Independent guidance, not an official NIST publication. Control text is from NIST SP 800-53 Rev. 5 and SP 800-53A (public domain). Original content is licensed CC BY 4.0; program templates and the downloadable kit are dedicated to the public domain under CC0 1.0.