Open-source TLS scanners tested on known post-quantum servers
In short
- Georgios Feretzakis and Alexandros Papaspyridis of securagen.ai (Athens) released a small lab dataset for testing whether TLS scanners report post-quantum key exchange correctly. The dataset has twelve nginx servers whose behaviour was confirmed from packet captures, and the authors scored four open-source scanners on it.
- On the capability and version questions, sslscan 2.2.3 and testssl.sh 3.2.5 gave no wrong scored answer. SSLyze 6.1.0 does not test ML-KEM groups and so omitted them, and pqaudit 0.2.0 could not validate the lab's private certificate authority and gave no scorable answer. No scanner reported a post-quantum group a server did not support.
- Captured traffic showed that sslscan 2.2.3 and testssl.sh 3.2.5 each sent a malformed ClientHello (the first message of a TLS connection) in one of their checks. Both are fixed upstream.
- This is a preprint (not peer reviewed). Its authors work for a company that sells post-quantum migration software; they say none of its software was tested.
Why test a TLS scanner at all?
Organisations moving to post-quantum cryptography need to show which of their servers now use it. In practice that evidence often comes from scanners: tools that connect to a server and print which key-exchange groups it supports. If the scanner is wrong, an audit built on it is wrong too, and without a server whose behaviour is known in advance nobody can tell. The authors say scanners "are rarely tested against servers whose behaviour is known".
A known-answer test (our term for it) fixes that: build servers where the right answer is certain, run the tool, and mark each of its answers right, wrong or missing.
What is hybrid key exchange?
In TLS 1.3, the client and server agree a shared secret through a "group". A hybrid group such as X25519MLKEM768 runs a classical exchange (X25519) and a post-quantum one (ML-KEM-768, standardised in NIST's FIPS 203) together, so the secret stays safe if either one holds. A "pure" ML-KEM group such as MLKEM768 uses only the post-quantum part.
A server that supports a hybrid group does not always use it. The paper's lab shows two cases where a hybrid-capable server gives a client a classical group: one where the server lists a classical group first, and one where it forces a retry to the classical secp256r1. So "what does this server support?" and "what did this client actually get?" are different questions, and a scanner can answer one without the other.
What the lab contains
All twelve endpoints run nginx 1.30.4 with OpenSSL on an isolated Docker network and a lab-only certificate authority. Eleven of the twelve use OpenSSL 3.5.7; the twelfth, a control, uses OpenSSL 3.5.5, a build from before the fix for CVE-2026-2673, with the same configuration as one fixed endpoint.
(Table abridged by us: the paper's Table 1 also lists KX-02-t13, KX-03a and PV-01.)
Six client offers probe each endpoint, using OpenSSL's s_client and Go's crypto/tls. A label counts only if two capture parsers agree and the client's own report matches, in at least two separate executions. Across six recorded runs the lab holds 1,764 handshakes. The authors froze their scoring adapters before reading the main scored output (after a scored pilot they disclose), and captured all 27,387 port-443 connections the scanners made.
- 12 | lab endpoints
- 1,764 | recorded handshakes over six runs
- 27,387 | scanner connections captured
- 4 | open-source scanners scored
How the four scanners scored
The authors ask four accuracy questions per endpoint and score each answer as correct, wrong or abstained. The table gives the paper's primary results under its strict policy, which counts an omitted group as a negative answer (48 cells per tool).
Three points the table hides:
- SSLyze's nine "wrong" answers are omissions. SSLyze 6.x uses an elliptic-curve check that does not cover ML-KEM. Its 7.0.0 release, on 29 November 2026 after the authors' measurements, replaced it with a supported-groups check; the authors did not test that release. They did test a pinned development commit with nassl 7, and it answered those nine cells correctly.
- pqaudit failed on trust, not on key exchange. It trusts only its bundled public roots and in 0.2.0 offers no CA override, so certificate validation failed in all 36 invocations. Version 0.3.0 adds a --ca-file option; it gave 18 correct, 2 wrong and 16 abstained answers on the four accuracy questions. The two wrong ones are KX-03 and RT-02, where the server supports the hybrid group but chose a classical one for pqaudit's offer, and the scanner reported classical-only.
- No false positives. Under both strict and lenient scoring, no scanner claimed support for X25519MLKEM768 or MLKEM768 where it was absent.
What did the scanners not show?
A further question asked what a defined client would actually obtain (the "P1" offer, a fixed test offer rather than a real browser). Under the authors' strict same-connection rule, no claim from sslscan, testssl.sh or SSLyze could be tied to a connection carrying that offer. None of the 22,845 initial ClientHellos the parser could list exactly matched P1's three ordered offer fields. The authors say this is a property of their rule, "not evidence that the tools cannot report negotiated groups".
Bugs found in the captured traffic
Because every connection was recorded, the authors could inspect what the scanners themselves sent.
- sslscan 2.2.3: its TLS 1.3 check wrote twelve group identifiers into the supported_groups extension while both length fields described eleven (24 and 22 instead of 26 and 24). The twelfth, 0x6399 (X25519Kyber768Draft00), was parsed as the start of the next extension. All 36 sslscan invocations sent it, and the authors saw no effect on its scored answers. Upstream fixed it on 14 November 2026 in sslscan 2.2.4; the authors' bounded search found no earlier report.
- testssl.sh 3.2.5: eighteen connections to the six TLS 1.3-only endpoints carried a malformed 153-byte ClientHello from its CCS-injection check. The authors reconstructed the cause offline and the fix was merged on 17 November 2026.
Rerunning the lab on sslscan 2.2.4 and a testssl.sh 3.3dev commit confirmed both fixes. One side effect: the authors' pre-set rule discards testssl.sh output after any nonzero exit, and every 3.3dev run exited nonzero for reasons outside key exchange, so its primary view shows 0 correct, 0 wrong and 48 abstained. Counting completed sections instead gives the same 48 correct as before.
Caveats
- The setting is non-adversarial and small: twelve servers, one server software (nginx) and four tools in default invocation. The authors say it is narrower than existing benchmarks and claim no priority; several results repeat earlier work.
- Commercial scanners, online services such as Qualys SSL Labs, Nmap's ssl-enum-ciphers and newer post-quantum scanners such as pqscan and pqcscan were not evaluated. Nothing here applies to them.
- Results apply to the pinned versions. pqaudit 0.4.0 (22 November 2026) was not tested.
- The authors disclose that AI tools helped with code and editing; they say the results can be re-derived offline from the published evidence.
Terms in plain English
- ML-KEM: the post-quantum key-encapsulation method standardised as FIPS 203, meant to resist attacks by quantum computers.
- Hybrid key exchange: a classical and a post-quantum exchange combined, so both must be broken to recover the secret.
- ClientHello: the first message a client sends to start a TLS connection, listing the groups it supports.
- HelloRetryRequest: a server's reply asking the client to retry with a key share for a group the server picked.
- Ground truth (our wording): the confirmed correct answer a tool's output is checked against.
Where things stand
The data, code and evidence are released for byte-for-byte replay: the GitHub repository securagenai/pqc-tls-benchmark-dataset (code Apache-2.0, data CC BY 4.0) and a Zenodo archive. The authors hope scanner developers will use it as a regression suite. Commercial and newer open-source scanners are named as candidates for a later release.
Sources
- A Ground-Truth Lab Dataset for Testing How TLS Scanners Report ML-KEM Key Exchange, Feretzakis and Papaspyridis, arXiv preprint, 3 December 2026 (CC BY 4.0)
- Dataset archive, Zenodo (listed in the paper; not opened)
Sources
- A Ground-Truth Lab Dataset for Testing How TLS Scanners Report ML-KEM Key Exchange
- https://doi.org/10.5281/zenodo.24372080
Related stories
- IETF starts four working groups, two for AI-agent protocols
- Let's Encrypt aims to offer post-quantum certificates by Feb 2027
- Cloudflare brings full post-quantum switch forward to 2027
- OpenSSL fixes Encrypted Client Hello bug allowing impersonation
- Anthropic posts quantum algorithms its authors call impractical
- Belfort says encrypted computing can pseudonymise health data
More from Wi-Fi Wizards
- Open-source 4G phone software accepts a replayed message
- One programmable metasurface panel can sense a person or send data
- AR display carries perovskite LED light through bendable fibre
- Metasurface layer cuts eye-tracking compute 47% for AR/VR headsets
- IETF defines Quality of Outcome, a 0-100% network score per app