Lesson 1 of 3 Acquired Software and Secure Coding

Assessing Acquired Software

Most software an organisation runs is acquired rather than built. This lesson covers assessing COTS, open-source and third-party software, managed services and cloud services.

Learning outcomes

After completing this lesson, you will be able to:

  • Describe how to assess COTS, open-source and third-party software.
  • Explain the assessment of managed and cloud services.

COTS, open source and third-party software

Commercial off-the-shelf (COTS) software comes without source code, so buyers rely on the vendor's secure development practices, certifications such as Common Criteria, independent test reports, its vulnerability disclosure and patching record, and their own testing in a lab. Contracts can require security updates for a defined period, breach notification and source code escrow, which releases the code to the buyer if the vendor fails.

Open-source software exposes its code to review, but quality, maintenance and response to vulnerabilities vary greatly, and licences carry obligations. Assessment uses software composition analysis, review of project health (maintainers, activity, release frequency), vulnerability history and licence checks. Third-party custom software, built by contractors or partners, needs contractual secure development requirements, delivery of code or escrow, defined intellectual property ownership, right to audit and acceptance testing.

Assessment effort should match the software's role. A note-taking tool used by a few staff needs a basic review; software that will process payment card data or control access to the network needs a much deeper one. A practical assessment for a significant COTS purchase asks the vendor how it develops software securely, for example whether it follows a recognised framework such as the SSDF, how quickly it has fixed past vulnerabilities, whether it will provide a software bill of materials and how long the product will receive security updates. The buyer then tests the product in its own environment, because the vendor's default configuration may not match the buyer's security standards.

Open-source project health is assessed with practical indicators. A library maintained by one volunteer who last released an update two years ago poses a different risk from one maintained by a foundation with many contributors and a security response process. Neither is automatically safe or unsafe, but the first may never fix a vulnerability found tomorrow, so the organisation must be prepared to replace it or maintain it itself.

The following diagram shows how source code escrow works.

How source code escrow protects a customer of acquired software. The vendor deposits the source code with a trusted third party, released to the customer under defined conditions such as bankruptcy or end of support, so the software can still be maintained. Regular checks that the escrowed code is current and buildable make the arrangement useful.
Escrow matters most for small or niche vendors.
Sort into groups

Which kind of acquired software?

Exam skills 8.4.1 · 8.4.2 · 8.4.3

Match each assessment concern with the type of acquired software it applies to most.

Log in to try this activity Interactive activities are free with an account.

Managed and cloud services

Managed services, such as enterprise resource planning or customer relationship management systems operated by a provider, move patching, configuration and monitoring out of the organisation's direct control. Assessment covers the provider's controls and attestations, SLAs, incident notification, data location and ownership, provider staff access and exit arrangements.

For cloud services, the assessment follows the shared responsibility model: in SaaS, evaluate the provider's controls and the customer-configurable security features such as SSO, MFA, logging and data export; in PaaS and IaaS, also assess what the organisation builds and configures. Evidence includes SOC 2 Type II reports, ISO/IEC 27001 certification and FedRAMP authorisation.

For a SaaS application, the customer-configurable features often decide the outcome. Two providers may have equally strong infrastructure, but if one supports single sign-on with the organisation's identity provider, enforces MFA, exports audit logs to the organisation's SIEM and lets administrators restrict data sharing, while the other offers only local passwords and no logs, the organisation can secure its use of the first and not the second. Exit arrangements matter as well: the contract should state how data can be exported in a usable format and that the provider will delete it, with confirmation, when the service ends.

Select all that apply

Choosing a SaaS provider

Exam skills 8.4.4 · 8.4.5

Identify the customer-configurable features and terms that decide whether SaaS use can be secured.

Log in to try this activity Interactive activities are free with an account.
Worked example

Vendor failure

A small company depends on a niche COTS application from a start-up vendor. Its board worries that if the vendor goes out of business, nobody will be able to fix security vulnerabilities in the application. Which contractual control addresses this?

Source code escrow: the vendor deposits the source code with a trusted third party, to be released to the customer under defined conditions such as bankruptcy or end of support, so the customer or another developer can maintain the software. Regular verification that the escrowed code is current and buildable makes the arrangement useful.

Check yourself

What does source code escrow protect against?

Show answer

The vendor going out of business or ending support, leaving no one able to maintain the software.

Exam Tips

Remember for the exam

  • Source code escrow protects buyers if the vendor fails.
  • Open source is neither automatically secure nor insecure.
  • Use SOC 2 Type II and certifications to assess cloud providers.