Building Your First CBOM: Hunting Down Shadow Cryptography Before 2027
Step one of the NSA's post-quantum advisory is cryptographic inventory. You cannot migrate cryptography you cannot see. Here is how to build a living CBOM that finds the hardcoded keys, legacy forks and service-mesh TLS hiding classical algorithms.

Every post-quantum roadmap, including the NSA's December 2026 advisory, starts with the same unglamorous step: cryptographic inventory. It is first for a simple reason. You cannot migrate, prioritise or prove anything about cryptography you cannot see. And in a real enterprise, most of your cryptography is invisible.
Shadow cryptography is the default state
Classical algorithms are not confined to the certificates your PKI team manages. They are scattered across the estate in places no one is looking:
- Hardcoded keys and secrets embedded in application binaries and container images.
- Legacy OpenSSL forks and vendored crypto libraries pinned to old versions.
- Third-party SDKs that negotiate their own TLS, outside your gateway policy.
- Service-mesh and internal mTLS where east-west traffic still uses P-256 even though the edge is modern.
- Firmware and device signing that never appears in an application scan at all.
This is shadow cryptography: RSA-2048 and P-256 living deep inside infrastructure that no single team owns. A policy that says "we use strong TLS at the edge" tells you nothing about the mesh.
What a CBOM actually is
A Cryptographic Bill of Materials (CBOM) is a machine-readable inventory of every cryptographic asset in a system: algorithms, key sizes, certificates, protocols and where each is used. CycloneDX added cryptographic asset support precisely so this can be expressed in the same BOM format teams already use for software. The goal is not a one-off spreadsheet; it is a living inventory that updates as the estate changes. See what is a CBOM for the full definition.
The cryptographic discovery funnel
No single technique finds everything, so a practical CBOM pipeline layers three sources and funnels them into one prioritised inventory.
| Discovery source | What it finds | Blind spot |
|---|---|---|
| Network traffic inspection | Live protocols, cipher suites, negotiated key exchange | Dormant code paths, offline devices |
| Static / binary scanning | Linked crypto libraries, hardcoded keys, algorithm constants | Dynamically loaded or obfuscated crypto |
| Certificate and PKI parsing | Signature algorithms, key sizes, expiry | Non-certificate crypto, symmetric keys |
Each source feeds the CBOM, and the overlap is what builds confidence. A P-256 handshake seen on the wire, confirmed by a linked library in the binary and a matching certificate, is a verified finding you can act on. The output is a risk matrix: every instance of RSA-2048 and P-256, ranked by exposure and data shelf-life.
From inventory to migration order
The inventory is only step one because it immediately answers step two: what to fix first. The CBOM lets you sort by the combination that matters, quantum-vulnerable algorithm plus long data shelf-life plus external exposure, so the first systems you migrate are the ones an adversary is most likely already harvesting. For the weak-crypto hunt specifically, see finding weak cryptography with a CBOM, and for the quantum rating layer on top, preparing for post-quantum cryptography.
The takeaway
The 2027 deadline is not really about algorithms; those are standardised and available. It is about discovery. The organisations that will migrate on time are the ones that start the inventory now, because finding every instance of shadow cryptography across binaries, traffic and firmware is the slow part. Build the CBOM first, keep it living, and let it drive the migration order.