Skip to content

BugFix: enumerate groups | Narrow TLS1.2-TLS1.0 group-scan cipher list to ECDHE/DHE suites only - #364

Open
jalilm wants to merge 1 commit into
rbsec:masterfrom
jalilm:chore/narrow-group-scan-cipherlist
Open

BugFix: enumerate groups | Narrow TLS1.2-TLS1.0 group-scan cipher list to ECDHE/DHE suites only#364
jalilm wants to merge 1 commit into
rbsec:masterfrom
jalilm:chore/narrow-group-scan-cipherlist

Conversation

@jalilm

@jalilm jalilm commented Aug 23, 2026

Copy link
Copy Markdown

Replace the 170-byte (85-suite) hardcoded cipher list in testSupportedGroups for TLS 1.2 with a 50-byte (24-suite + SCSV) ephemeral-only list. Only ECDHE/DHE suites cause SSL_get_server_tmp_key to succeed and produce a named group in sslscan output — static-KX suites (RSA, DH, ECDH) never issue a ServerKeyExchange with group parameters and are useless in this scan path. Also removes deprecated algorithms (RC4, 3DES, SEED, Camellia). Original comment updated to document the reasoning.

Only ECDHE and DHE suites cause SSL_get_server_tmp_key to succeed and
produce a group/curve in sslscan output. Static-KX suites (RSA, DH, ECDH)
never generate a ServerKeyExchange with group parameters and are therefore
useless in this scan path. Also removes deprecated algorithms (RC4, 3DES,
SEED, Camellia). Reduces list from 85 suites (170 bytes) to 24 + SCSV (50 bytes).
@jalilm
jalilm force-pushed the chore/narrow-group-scan-cipherlist branch from fd89ab0 to 3055505 Compare August 23, 2026 22:19
@jalilm jalilm changed the title Narrow TLS1.2 group-scan cipher list to ECDHE/DHE suites only BugFix: enumerate groups | Narrow TLS1.2-TLS1.0 group-scan cipher list to ECDHE/DHE suites only Aug 24, 2026
@rbsec

rbsec commented Aug 26, 2026

Copy link
Copy Markdown
Owner

Thanks for submitting this. @jtesta I think you were involved in (or possibly wrote) this code - any comments?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants