Build a CBOM: Cryptographic Bill of Materials in CycloneDX
You can't migrate what you can't find. A CBOM is the machine-readable map — and US policy now asks for one.
CBOM vs SBOM vs "QBOM"
- SBOM — which components ship. Tells you OpenSSL is present; not which algorithms it's used for.
- CBOM — a machine-readable inventory of cryptographic assets (algorithms, keys, certificates, protocols, libraries) and their relationships to the components that use them. Term used in EO 14412, OMB M-26-15 and CycloneDX.
- QBOM — not standardized. Use it to mean "a CBOM enriched with quantum-risk context" (shelf life, Mosca score, priority tier, migration status). Don't present it as a formal standard.
The format: CycloneDX (ECMA-424)
CycloneDX added first-class cryptographic assets in v1.6; v1.7 is current. Same format as your SBOM, so both live in one pipeline. CISA + NIST minimum CBOM elements are due ~March 2027 — be CycloneDX-native so you can map without re-collecting.
{
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"version": 1,
"components": [
{
"type": "cryptographic-asset",
"bom-ref": "crypto/algorithm/ecdh-x25519",
"name": "X25519",
"cryptoProperties": {
"assetType": "algorithm",
"algorithmProperties": {
"primitive": "key-agree",
"curve": "curve25519",
"cryptoFunctions": ["keygen", "keyderive"],
"nistQuantumSecurityLevel": 0
}
}
},
{
"type": "cryptographic-asset",
"bom-ref": "crypto/algorithm/ml-kem-768",
"name": "ML-KEM-768",
"cryptoProperties": {
"assetType": "algorithm",
"algorithmProperties": {
"primitive": "kem",
"parameterSetIdentifier": "768",
"cryptoFunctions": ["keygen", "encapsulate", "decapsulate"],
"nistQuantumSecurityLevel": 3
}
}
}
]
}
Illustrative — validate field names against the CycloneDX version you target. Put quantum-risk annotations in
properties or a risk register keyed by bom-ref.Fields that make it useful
| Group | Fields | Why |
|---|---|---|
| Identity | Asset ID, type, owner, business service | Accountability |
| Crypto detail | Algorithm, parameter set/key size, mode, OID, primitive, library + version, FIPS module/cert # | Vulnerability and fix |
| Location | System, app, repo, host, endpoint, cloud service, HSM, device | Where the fix happens |
| Usage | Purpose (TLS, signing, at-rest, tokens), protocol + version, exposure | Priority and blast radius |
| Lifecycle | Created, expiry, rotation cadence, chain | Natural replacement windows |
| Quantum risk | Vulnerable Y/N, HNDL vs forgery, data shelf life, Mosca score, tier | Turns inventory into a plan |
| Remediation | Target algorithm, path (patch/config/upgrade/replace/isolate/accept), vendor date, status, exception expiry | Tracking to deadlines |
| Provenance | Discovery method, last verified, confidence | Trust in the data |
Discovery: combine methods
| Method | Finds | Misses |
|---|---|---|
| Source scanning | Crypto API calls, hard-coded algorithms | Third-party binaries, runtime config |
| Binary/artifact scanning | Crypto in compiled code, containers, firmware | Runtime negotiation |
| Passive network (TLS/SSH) | What's actually negotiated; rogue endpoints | Data at rest, internal libs |
| Cert & key discovery | Certs (CT logs, stores), keys in KMS/HSM/vaults, secrets in repos | In-app algorithm use |
| Config scanning | LB/VPN/server cipher configs, cloud settings | Embedded/OT |
| Vendor CBOMs | SaaS and closed products | Only as good as the vendor |
| Interviews | OT, mainframe, partner integrations | Scale |
Open-source starting point: the Post-Quantum Cryptography Alliance's CBOMkit. When evaluating commercial tools, score CycloneDX fidelity, discovery breadth and continuous operation.
Keep it alive
- Generate CBOMs in CI alongside SBOMs; fail builds on banned algorithms (crypto-agility).
- Refresh network observations continuously — OMB M-26-15 asks for continuously updated inventories.
- Track CBOM freshness (median days since verification) as a KPI.
- Record confidence and provenance per record: an inaccurate inventory in a regulatory filing is a liability after an incident.