sslscan
Tests SSL/TLS enabled services to discover supported cipher suites. Reports protocol versions, cipher suites, key exchanges, signature algorithms, and certificates to identify weak security parameters.
Description
sslscan is a fast SSL/TLS scanner designed to query SSL/TLS services such as HTTPS. It provides detailed reports on supported protocol versions, cipher suites, key exchanges, signature algorithms, and certificates in use, helping users identify weak parameters from a security standpoint.
The tool is particularly useful for security assessments of web services and other TLS-enabled endpoints. It can output results in XML format for integration with external programs, making it suitable for automated scanning workflows.
sslscan supports various STARTTLS protocols and includes checks for vulnerabilities like Heartbleed, TLS fallback, and renegotiation issues.
How It Works
sslscan connects to SSL/TLS services using specified protocols and options, enumerating supported cipher suites, key exchange groups, signature algorithms, and certificates. It performs targeted checks for vulnerabilities such as Heartbleed (CVE-2014-0160), TLS compression (CRIME), fallback SCSV, renegotiation, and OCSP responses. Results are analyzed against security best practices, with optional XML output for parsing.
Installation
sudo apt install sslscanFlags
Examples
sslscan 127.0.0.1sslscan [::1]sslscan --targets=hosts.txtsslscan --sni-name=example.com www.example.comsslscan --ipv4 example.comsslscan --show-certificate example.comsslscan --tls12 example.comsslscan --xml=results.xml example.com