Skip to main content

Verifying Post-Quantum Cryptographic Compliance in Your Network with Forward

  • Nov 30, 2026 5:08 PM UTC
  • 0 replies
  • 9 views
  • Translate All

chrisnaish
Employee
Forum|alt.badge.img

NIST finalized its post-quantum transition report (IR 8547) on October 27, 2026, and Executive Order 14412 moved federal deadlines up to 2030 and 2031. While the deadlines are written for federal agencies, the work applies to any organization running RSA, ECDH or ECDSA on its network, which covers most networks.

 

Our blog, Post-Quantum Cryptography: You Cannot Migrate What You Cannot See, made the case at the policy level. This post is for the engineers - it covers where crypto lives on your devices, how to inventory it with NQE, and how to decide what to fix first.

 

What NIST is asking for

NIST published three PQC standards in August 2024 and wants them in use now. FIPS 203 (ML-KEM) covers key exchange. FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) cover signatures. NIST IR 8547 phases RSA, ECDSA and (EC)DH out of NIST standards by 2035, and EO 14412 pulls federal high-value systems forward to 2030 for key exchange and 2031 for signatures.

  • Key exchange comes first because of “harvest now, decrypt later” concerns. ML-KEM, often paired with a classical algorithm in hybrid mode, is the priority.
  • Symmetric crypto is fine. AES-256 and SHA-2 stay.
  • The handshakes and certificates are the problem.
  • NIST’s NCCoE migration project starts with discovery and inventory, then risk-based prioritization, then migration. CSWP 39 adds that the inventory has to stay current.

Discovery is where networks get hard. A scanner only sees what a device offers on the wire. It won’t see fallback cipher lists, IKE proposals that sit unused, or a backup tunnel that only comes up during a failure. Forward builds its model from configuration and state, so it sees all of them.

 

Where crypto lives on your network

On almost every network protocol, the weak spot is the handshake and the device identity. The bulk cipher is usually fine. Start with the rows marked High.

Protocol

Quantum-vulnerable piece

What to pull from config or state

PQC path

Priority

IPsec / IKEv2 (site-to-site, partner, cloud VPN)

DH/ECDH groups (14, 19, 20, 21), RSA/ECDSA peer auth

IKE proposals, DH group per peer, auth method, cert vs PSK

Hybrid ML-KEM via additional key exchanges (RFC 9370), with PPK mixing (RFC 8784) as a stopgap

High, carries data across trust boundaries

SSH (device management)

KEX (diffie-hellman-group14, ecdh-sha2-nistp*, curve25519), RSA/ECDSA host keys

ip ssh / set system services ssh KEX and host-key algorithm lists, SSH version

Hybrid KEX such as mlkem768x25519-sha256 as vendors ship it

High, protects admin credentials and configs in transit

TLS on the management plane (HTTPS GUI, NETCONF/RESTCONF, gNMI, syslog over TLS, RadSec)

ECDHE/RSA key exchange, RSA/ECDSA certs

TLS version, cipher suites, trustpoints, cert key type and size

X25519MLKEM768 hybrid group, then ML-DSA certs later

Medium to High

Device PKI and certificates

RSA/ECDSA keys and CA chains

Trustpoints, key size, signature algorithm, expiry

ML-DSA (FIPS 204) certs as CAs and devices support them

Medium, needed by 2031 for federal signatures

SSL VPN, load balancer and firewall TLS profiles

Cipher groups, ECDHE curves, server certs

Client-SSL profiles, cipher strings, cert key type

Hybrid TLS groups on the data path

High where traffic leaves the enclave

MACsec

MKA key agreement only if CAK comes from 802.1X EAP-TLS

Key-chain vs EAP mode, EAP cert type

AES-GCM payload is fine, so fix the EAP certs

Low to Medium

SNMPv3, routing auth (BGP TCP-AO/MD5, OSPF/IS-IS HMAC), RADIUS/TACACS+ shared secrets

None, these are symmetric

Algorithm names (DES, MD5, SHA-1)

Not PQC, but log them for crypto agility

Low for PQC, but still hygiene

 

Networks have two quirks that application inventories don’t. Crypto is set per device and per peer, so one firewall can run a current IKE proposal to the cloud and a 2012-era proposal to a partner. And a lot of it is dormant. Backup tunnels, fallback ciphers and break-glass access often never negotiate where a scanner can see them.

 

Building the inventory with NQE

Forward parses every collected config into one normalized model. That turns discovery into a handful of NQE queries that run across every vendor and rerun with every snapshot. The approach is the same one in Using NQE to Perform Configuration Benchmarks. Match a config block, capture the values, and flag what breaks policy.

1. SSH key exchange and host keys

This query pulls the SSH key exchange algorithms allowed on each Cisco IOS and IOS-XE device. It also flags devices with no explicit list, since those fall back to vendor defaults, which are classical today.

kexPattern = `ip ssh server algorithm kex {algorithms:(string*)}`;

foreach device in network.devices
where device.platform.os in [OS.IOS, OS.IOS_XE]
let kexMatches = patternMatches(device.files.config, kexPattern)
let hasExplicitKex = length(kexMatches) > 0
let configuredKexAlgorithms = if hasExplicitKex
then join(" ", order(
foreach match in kexMatches
foreach alg in match.data.algorithms
select alg))
else "NONE — falls back to vendor defaults"
select {
deviceName: device.name,
osType: device.platform.os,
configuredKexAlgorithms: configuredKexAlgorithms,
flagged: !hasExplicitKex
}

2. IKEv2 proposals and DH groups

Every classical DH and ECDH group is quantum-vulnerable, so pass or fail on group number doesn’t tell you much. What you want is a record per proposal that you can tie to tunnels, peers and paths later.

pattern =
```
crypto ikev2 proposal {proposalName:string}
group {dhGroups:(number+)}
```;
foreach device in network.devices
where device.platform.os in [OS.IOS, OS.IOS_XE]
foreach match in blockMatches(device.files.config, pattern)
select {
Device: device.name,
OS: device.platform.os,
"Proposal Name": match.data.proposalName,
"DH Groups": match.data.dhGroups
}

Do the same for Junos (security ike proposal), PAN-OS (ike-crypto-profiles) and FortiOS (config vpn ipsec phase1-interface), then union the results into one table.

3. Live state with custom commands

Config tells you what’s allowed. State tells you what’s actually negotiating. Add custom commands like show crypto ikev2 sa detailed or show ssh to your collection and parse them with parseConfigBlocks or text patterns, the same way the benchmarks post handles the Fortinet show full-configuration output. For load balancers, the F5 client-SSL query in NQE Query to get SSL profiles from Custom Commands on F5 already pulls TLS cipher groups and certificate key sizes.

4. Certificates

Use custom commands for trustpoints too (show crypto pki certificates verbose on IOS) to capture key type, key size, signature algorithm and expiry. Every RSA or ECDSA certificate goes on the 2031 signature list. AricaFN’s post Using the WHEN statement for clean, efficient NQEs shows a clean way to normalize certificate data across vendors.

5. Roll it up

Combine the protocol queries into one crypto inventory query with the device, protocol, algorithm, key size, peer, and whether it’s quantum-vulnerable. Add the OS version and you can sort each finding into reconfigure, upgrade or replace, the same buckets used in the Forward PQC blog. If you want a head start, AI Assist for NQE will draft a first version from a plain-English prompt.

 

Prioritizing with Path Search

Your inventory will show every IKE proposal still on DH group 14. It won’t show which ones protect data worth harvesting. To rank findings you need two things, how long the data has to stay secret and how exposed it is in transit. Forward’s path model handles the second.

  1. Tag high-value enclaves, classified or regulated subnets and partner edges so queries and Path Search can call them by name.
  2. Run Path Search from each high-value enclave to every external or lower-trust destination. Note which hops encrypt and which proposal they use.
  3. Flag paths that leave the enclave over a classical-only tunnel, plus any path where a tunnel ends and traffic keeps going in the clear across a shared segment.
  4. Rank by data lifetime and exposure. A weak proposal on a tunnel carrying long-lived sensitive data off-site goes to the top. The same proposal on an isolated lab segment goes to the bottom.
  5. Export the ranked list through NQE or the Forward API into your ticketing or GRC tool, so the priority you show an assessor matches what the network actually does.

That gives you the defensible priority list the blog talks about, built from computed paths instead of diagrams.

 

Keeping the inventory current

CSWP 39 makes the point that a crypto inventory is never finished. The goal is to make the next algorithm change routine. Here’s how Forward turns the queries above into ongoing checks.

  • NQE Verifications. Save the crypto checks as verifications. Every new snapshot then reports devices that still allow classical-only key exchange, or that drifted back after a fix.
  • Snapshot diffs. Compare snapshots from before and after a change window to confirm the proposal or cipher list changed on every device you targeted.
  • Forward Predict. Model the proposal change before you push it, so you know tunnels and paths stay up when you add ML-KEM groups or pull legacy ones.
  • Burn-down reporting. Schedule an export through the Forward API or the ServiceNow integration and chart quantum-vulnerable findings by bucket over time. That’s the progress evidence OMB reporting and ATO packages ask for.
  • Vendor readiness. Match the inventory against OS versions and vendor PQC support. Some devices need a config change, some need an upgrade, and some are end of support. The BOD 26-02 end-of-support post uses the same approach.

What you can do now

  1. Run the SSH and IKE queries above against your latest snapshot
  2. Tag your high-value enclaves and partner edges
  3. Run Path Search from those enclaves and rank what you find
  4. Reach out to your Forward team for help building the full crypto inventory

 

What has your crypto inventory turned up? Post your queries in the comments, especially for vendors we didn’t cover.