Software & B2B
Secure software development: what the NIST SSDF requires
The penetration test shortly before launch finds twelve flaws, the deadline wobbles, everyone is annoyed. Secure development means most of those flaws never arise in the first place.
In short
- The NIST SSDF (SP 800-218) describes practices for secure software in four groups: prepare, protect, produce secure software, respond to vulnerabilities.
- It is not a certificate but a catalogue that clients and legislators increasingly use as a reference.
- Pragmatically this means rules, code review, automated checks, secrets out of the code, a bill of materials and a reporting contact.
What it is about
In many projects, security is checked at the end. Shortly before launch the penetration test arrives, finds flaws, and then patching happens under time pressure. That is expensive, nerve-racking and often makes fundamental design errors impossible to fix.
Secure software development reverses this. Security becomes part of every step, from the requirement to the update after launch. The best-known framework for it comes from the US but is also used as a benchmark in Europe.
How it works
The US standards institute NIST published the Secure Software Development Framework, SSDF for short, as SP 800-218, currently in version 1.1 from 2022. It organises practices into four groups. PO, prepare the organisation: roles, rules, training, tools. PS, protect the software: secure code and build environment against tampering, make versions traceable. PW, produce well-secured software: secure design, code review, tests, secure defaults. RV, respond to vulnerabilities: accept reports, assess, fix and learn from them.
The SSDF is not a certificate but a catalogue. To measure your maturity, you can use the OWASP Software Assurance Maturity Model. And for one of the most common mistakes, passwords and keys in source code, OWASP gives concrete rules in its cheat sheet on secrets management.
Where it goes wrong
The biggest obstacle is the impression that this is only for large corporations. In fact, the core can be implemented with little effort if it is automated. Second, credentials end up in code because things had to be quick, and stay in the version history forever.
Third, there is no path for external reports. If a researcher or customer finds a flaw, they do not know where to send it, and the team learns about it from the press. Fourth, dependencies are never updated because no check reports that one of them is vulnerable.
How to proceed
Write down short security requirements for every project. Introduce code review for every change. Build automated checks into the pipeline: static code analysis, dependency checks, secret scanning. Keep keys in a vault instead of in code. Generate a bill of materials for every release. And set up a reporting contact with a fixed process for security updates.
Read more: Cyber Resilience Act: what software manufacturers face now, API security: the open back door of modern software, Patch management: install updates before someone else does it for you and Responsible disclosure: when someone reports a vulnerability to you.
How Airnite helps
Airnite develops software according to these practices, sets up the automated checks in your build pipeline, trains development teams and uses penetration tests to check whether the process delivers what it promises.
Checklist
Sources
Every fact in this article is based on the following publications. Primary sources are marked.
- NISTSP 800-218: Secure Software Development Framework (SSDF) Version 1.1
- OWASP FoundationSoftware Assurance Maturity Model (SAMM)
- OWASP Cheat Sheet SeriesSecrets Management Cheat Sheet
Matching services
Read on
Cyber Resilience Act: what software manufacturers face now
Until now: software is finished when it runs. The Cyber Resilience Act says: it is finished when it runs securely, and stays that way for years. Anyone selling products with software is liable for it.Security3 minAPI security: the open back door of modern software
The website looks tidy and the login is secure. But behind the interface, an API politely answers every question, including the one about other customers' data.Security3 minPatch management: install updates before someone else does it for you
Attackers read the same security advisories as your IT team, just faster. Often only days pass between publication and attack. Patch management is the race you have to win.Security3 minResponsible disclosure: when someone reports a vulnerability to you
One day someone writes: “Your customer data is exposed.” Whether that ends in thanks or a scandal is decided in the first 24 hours. And by one small text file.Current incidents and warnings are covered in the Zero Day magazine. Go to the magazine