On the Correctness of Metadata-Based SBOM Generation: A Differential Analysis Approach
Authors:
- 24 June 2024
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 29-36
Abstract
Amidst rising concerns of software supply chain attacks, the Software Bill of Materials (SBOM) has emerged as a pivotal tool, offering a detailed listing of software components to manage vulnerabilities, dependencies, and licensing. While many SBOM generation tools are extensively used in both commercial and open-source realms, the correctness of these tools remains largely unscrutinized. To date, there has not been a systematic study addressing the correctness of contemporary SBOM generation solutions. In this paper, we conduct a large-scale differential analysis of the correctness of four popular SBOM generators. Surprisingly, our evaluation reveals all four SBOM generators exhibit inconsistent SBOMs and dependency omissions, leading to incomplete and potentially inaccurate SBOMs. Moreover, we construct a parser confusion attack against these tools, introducing a new attack vector to conceal malicious, vulnerable, or illegal packages within the software supply chain. Drawing from our analysis, we propose best practices for SBOM generation and introduce a benchmark to steer the development of more robust SBOM generators.Keywords
Funding Information
- Department of Homeland Security (OTA#70RSAT23T00000013)
This publication has 16 references indexed in Scilit:
- Solar Winds Hack: In-Depth Analysis and Countermeasures2021
- CENTRIS: A Precise and Scalable Approach for Identifying Modified Open-Source Software Reuse2021
- Towards detection of software supply chain attacks by forensic artifacts2020
- Backstabber’s Knife Collection: A Review of Open Source Software Supply Chain Attacks2020
- B2SFinder: Detecting Open-Source Software Reuse in COTS Software2019
- On the impact of security vulnerabilities in the npm package dependency network2018
- Identifying Open-Source License Violation and 1-day Security Risk at Large Scale2017
- VUDDY: A Scalable Approach for Vulnerable Code Clone Discovery2017
- Reliable Third-Party Library Detection in Android and its Security Applications2016
- Finding software license violations through binary code clone detection2011