How to Generate an SBOM from a Vendor Firmware Binary (Without Source Code)

Binary composition analysis identifies the open-source components embedded inside a compiled firmware image without requiring access to source code; KhaiCode produces an SPDX or CycloneDX SBOM from an uploaded binary and correlates every identified component against known CVEs and KEVs.

When you buy a network switch, an industrial controller, a medical device, or an IP camera, you get firmware. What you almost never get is a software bill of materials for what is actually inside that firmware. The vendor may publish one on request, or may not. Even when they do, there is no guarantee it reflects what shipped.

For supply chain due diligence, "trust the vendor's word" is not an audit posture. This article walks through why binary-level SBOM generation matters, what the process looks like, and what you can actually do with the output.


Why Vendor-Provided SBOMs Are Not Enough

A vendor SBOM describes what the vendor intended to ship. Build drift, third-party components pulled in during compilation, and SDK layers that do not appear in a product's official dependency list all go unrecorded. The gap between the declared SBOM and the shipped binary is exactly where supply chain risk hides.

If you are a security team evaluating a vendor before procurement, or running due diligence after a vulnerability disclosure, you need to know what is in the binary you are running - not what the vendor says is in it.


What Binary Composition Analysis Actually Does

Binary composition analysis works directly on the compiled artifact: the firmware image, the executable, the container. No source code. No build system access. No cooperation from the vendor beyond handing over the file.

The process fingerprints the binary to identify embedded libraries and open-source components, maps those components to version strings, and correlates them against known vulnerability databases. The output is a structured SBOM in a standard format - SPDX or CycloneDX - that your security tooling, procurement workflow, or compliance process can consume.

KhaiCode takes a firmware binary, runs it through multi-architecture emulation and binary analysis, and produces this SBOM alongside a CVE and KEV correlation. It covers software binaries, firmware images, and containers across IT and OT environments. The emulation layer is built to handle edge devices, IIoT/IoT sensors, embedded systems, and mobile targets - the environments where vendor firmware actually runs.


The Steps: Firmware SBOM Generation for Due Diligence

1. Obtain the firmware image

For pre-procurement due diligence, request the firmware image from the vendor as part of your security evaluation. Many vendors will provide it. If they will not, that is itself a signal worth noting.

For devices already deployed, firmware images can often be extracted from the device directly or downloaded from the vendor's support portal.

2. Upload to a binary analysis platform

KhaiCode accepts the binary upload and handles the analysis without requiring your team to run any on-premises tooling or build environment. The platform fingerprints the components inside the binary.

3. Receive the SBOM

The output is an SBOM in SPDX or CycloneDX format - both are widely supported by security toolchains, compliance frameworks, and procurement workflows. The SBOM lists the components identified inside the binary with version information.

4. Review the CVE and KEV correlation

Beyond the component list, KhaiCode correlates identified components against known CVEs and, critically, against Known Exploited Vulnerabilities (KEVs) - the CISA catalog of vulnerabilities actively used in attacks. This separates theoretical exposure from components with confirmed exploitation history.

5. Validate exploitability

This is where binary-first analysis goes further than a component inventory. KhaiCode's exploit validation step assesses whether a given vulnerability is actually reachable and exploitable in the specific build you uploaded. A CVE affecting a library version may not be triggerable in a particular firmware build due to how the binary was compiled or how the vulnerable code path is configured. Exploit validation reduces the noise so you can focus on what actually matters.


What You Can Do With the Output

Procurement decisions: A firmware SBOM with CVE correlation gives your security team concrete input before signing a contract. If a vendor's firmware contains end-of-life components with unpatched critical CVEs, you can require remediation as a contract condition or factor it into vendor risk scoring.

Ongoing monitoring: The SBOM is a point-in-time snapshot, but it establishes a baseline. When a new vulnerability is disclosed, you can check whether the component appears in your deployed firmware inventory.

Regulatory and compliance documentation: Frameworks including EO 14028, NTIA guidance, and emerging IEC/ISO requirements for OT environments increasingly treat SBOMs as a deliverable, not a nice-to-have. Having a machine-readable SBOM from an independent analysis supports audit documentation independent of vendor claims.

Vendor conversations: A KhaiCode-generated SBOM gives you a concrete, vendor-independent artifact to bring to a vendor conversation. "We analyzed the binary you shipped and found these components at these versions with these CVEs" is a different conversation than a general security questionnaire.


When Source Code Is Not Available (Which Is Most of the Time)

Traditional SCA tools work from source code or build manifests. For third-party vendor firmware, you have neither. Binary-first analysis is not a workaround - it is the only method that reflects what actually shipped.

KhaiCode was built specifically for this constraint. The platform does not ask for source, does not require a build system, and does not depend on vendor disclosure. It works from the artifact you have.


Getting Started

If you are evaluating firmware from a vendor and need an independent SBOM for due diligence, KhaiCode handles the analysis without requiring source code or vendor cooperation. The output is SPDX or CycloneDX, with CVE/KEV correlation and exploit validation built in.

Request a demo at khaicode.com to walk through what the platform surfaces for your specific firmware targets.

This post is about KhaiCode.