Memcached TLS Enumeration with openssl
If memcached is TLS-wrapped, normal nc probing looks like a dead service. Use openssl s_client to establish the tunnel, then run the same text protocol commands.
Confirm TLS on the port
If ssl-cert returns a certificate, treat it as TLS-wrapped traffic on that port.
Send memcached commands over TLS
What you expect:
A
VERSIONline if the backend speaks the text protocol.STAT ...lines forstats.
Interpretation:
If TLS works but
versionreturnsERROR, you may be talking to a proxy, a non-memcached service, or a SASL/binary-only deployment behind TLS.
References
-
docs.memcached.orgdocs.memcached.org/features/tls (opens in new tab)
memcached TLS support and configuration notes.
Was this helpful?
Your feedback helps improve this page.