Detecting Post-Quantum and Hybrid TLS Deployments via Raw TLS Record Inspection
Classifies TLS endpoints as CLASSICAL_ONLY, PQC_ONLY, or HYBRID_CONFIRMED by parsing raw ServerHello key_share group IDs, validated on 38 production endpoints and a three-node testbed.
Schemes: ML-KEM, X25519MLKEM768, TLS 1.3
Findings (quotes checked against the source text)
-
Naive application-layer configuration audits miss real deployment state: a PQC-capable application server was classified CLASSICAL_ONLY until the transport frontend was upgraded.
Phase 1 reveals that all three testbed nodes — including a PQC-capable application server — are correctly classified as CLASSICAL_ONLY, exposing an application-layer versus transport-layer mismatch invisible to configuration auditing.
-
Parsing ServerHello key_share group identifiers at the byte level distinguishes classical, pure PQC, and hybrid key exchange on live endpoints.
By parsing ServerHello messages at the byte level and extracting keyshare group identifiers from the key share extension, the proposed approach enables accurate classification of endpoints into CLASSICAL_ONLY, PQC_ONLY, and HYBRID_CONFIRMED states.
-
After a frontend upgrade, the same server was confirmed as hybrid using group 0x11EC (X25519MLKEM768).
Phase 2, following an OQS-capable TLS frontend upgrade, produces a confirmed HYBRID_CONFIRMED result with group 0x11EC (X25519MLKEM768) on the same physical server, achieving 100% target accuracy across all three nodes.
-
Naive string matching produces false positives, which the byte-level method avoids.
We further document a critical false positive failure mode in naive string-matching approaches and validate correct four-state classification under known ground-truth conditions.
Numbers (as extracted, not quote-checked)
- Production endpoints evaluated: 38
- Testbed nodes: 3
- Target classification accuracy after Phase 2: 100%
- X25519MLKEM768 TLS group identifier: 0x11EC
For builders
Verify PQ/hybrid posture from the negotiated key_share group in live handshakes, not from config files, since the app layer and TLS frontend can disagree.
Limits
Abstract only; full text not reviewed. Scope is TLS key exchange detection, not signatures or chain design; evaluation is small (38 endpoints, 3 testbed nodes).
Topics: kem implementation-sidechannel benchmarks standards-policy