Add TLS Supported Groups (tls_groups) to Nuclei SSL Templates #7961
goosvorbook
started this conversation in
Ideas
Replies: 1 comment
Relationship to Nuclei PR #7680I noticed that PR #7680 recently introduced negotiated TLS key exchange metadata: This is a great addition and provides exactly the response-side visibility needed for PQC assessments. However, the PR explicitly states that no TLS configuration or handshake behavior is changed. The proposed In short:
Together, these capabilities would enable reliable native Nuclei templates for PQC migration and HNDL assessments. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi ProjectDiscovery team,
I'd like to propose exposing configurable TLS Supported Groups in Nuclei's native SSL protocol templates.
This would enable more accurate TLS key exchange testing, particularly for Post-Quantum Cryptography (PQC) readiness and Harvest Now, Decrypt Later (HNDL) exposure assessments.
The problem
Nuclei's SSL protocol currently allows template authors to configure TLS versions and cipher suites, but not the TLS Supported Groups offered during the handshake.
This is important because TLS 1.3 cipher suites do not identify the negotiated key exchange mechanism.
For example, a TLS 1.3 connection using
TLS_AES_128_GCM_SHA256could negotiate either:X25519— classical key exchangeX25519MLKEM768— hybrid post-quantum key exchangeSimply observing the negotiated key exchange does not establish which other groups the server supports.
Existing TLSX implementation
TLSX already supports explicitly configuring TLS Supported Groups through the
-tls-groups(-tg) option.This functionality was implemented in:
projectdiscovery/tlsx#1010
For example:
These commands allow controlled testing of hybrid PQC support and classical key exchange compatibility.
However, Nuclei's native SSL protocol does not currently expose an equivalent configuration option.
Proposed enhancement
Would it be possible to introduce a
tls_groupsfield in Nuclei's SSL protocol?For example:
Note: This is proposed syntax, not a currently supported Nuclei template.
Ideally, the implementation would reuse the existing TLSX
clients.Options.TLSGroupsfunctionality.Expected behavior
ctlsbackend.All reactions