SSLyze
SSLyze is a fast and full-featured SSL/TLS scanner that analyzes server configurations by connecting to them. It helps identify misconfigurations affecting SSL servers.
Description
SSLyze is a Python tool designed to be fast and comprehensive for analyzing the SSL configuration of servers. It connects directly to the target server to perform various checks, aiding organizations and testers in identifying issues like compression support that could enable attacks such as CRIME, certificate validity problems, and other TLS misconfigurations.
Use cases include auditing SSL/TLS deployments for security weaknesses, verifying certificate trust using Mozilla's CA store, testing session resumption and renegotiation, and scanning cipher suites. The tool supports multiple connectivity options like proxies and StartTLS protocols for broader applicability.
It provides detailed scan results on aspects like compression support, certificate validation, and plugin-based analysis for OpenSSL cipher suites and elliptic curves.
How It Works
SSLyze connects to the target server over SSL/TLS and runs registered plugins such as PluginCompression, PluginCertInfo, PluginSessionResumption, PluginSessionRenegotiation, and PluginOpenSSLCipherSuites. It checks host availability, performs scans like certificate validation against Mozilla's CA store or custom CAs, tests for TLS compression (CRIME vulnerability), session handling, and supports custom TLS configurations via JSON files following Mozilla's format. Results are generated from direct server interactions and can be output in JSON format matching the Python API.
Installation
sudo apt install sslyzeFlags
Examples
sslyze --regular www.example.comsslyze --certinfo www.example.comsslyze --compression www.example.comsslyze --json_out results.json www.example.comsslyze --slow_connection www.example.comsslyze --https_tunnel proxy.example.com:8080 www.example.com--update_trust_stores