Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
f4cf60e
Upgrading sslyze from v4.1.0 to v5.0.0
secureCodeBoxBot Nov 27, 2021
e923337
Changed sslyze scanner.image.tag to null
Ilyesbdlala Dec 21, 2021
e91d8df
Updating Helm Docs
Ilyesbdlala Dec 21, 2021
0dfb758
Changed how the sslyze parser recognizes failed scans
Ilyesbdlala Dec 22, 2021
38c239e
Changed sslyze appVersion to correspond with the docker image tag
Ilyesbdlala Dec 22, 2021
15fd420
Updating Helm Docs
Ilyesbdlala Dec 22, 2021
6220fcc
Merge branch 'main' into dependencies/upgrading-sslyze-to-v5.0.0
Ilyesbdlala Dec 22, 2021
5816b37
Updating Helm Docs
Ilyesbdlala Dec 22, 2021
6ad94cb
Updated sslyze testfiles to 5.0.0
Ilyesbdlala Dec 22, 2021
e180968
Temporarly commenting out tests using old testfiles in sslyze unit tests
Ilyesbdlala Dec 22, 2021
a98c70a
changes to the sslyze parser
Ilyesbdlala Dec 22, 2021
9f9d53c
Updated expired.badssl test file for sslyze
Ilyesbdlala Dec 28, 2021
10e83b5
Updated sslyze parser tests
Ilyesbdlala Dec 28, 2021
ac4f5e2
Updated sslyze integration-test
Ilyesbdlala Dec 28, 2021
aaa2bb8
Changed scan-type template to match new sslyze docker image entrypoint
Ilyesbdlala Dec 28, 2021
8d66722
Added custom scanner for sslyze using the remote docker image
Ilyesbdlala Dec 29, 2021
a8d21a5
Updating Helm Docs
Ilyesbdlala Dec 29, 2021
bf6ecf4
Upgraded sslyze from 5.0.0 to 5.0.1
Ilyesbdlala Dec 29, 2021
855a01a
Updating Helm Docs
Ilyesbdlala Dec 29, 2021
4578183
Empty commit to trigger CI
Ilyesbdlala Dec 29, 2021
ada0348
Updated docs to include 5.0.1 upgrade
Ilyesbdlala Dec 29, 2021
7449933
Updating Helm Docs
Ilyesbdlala Dec 29, 2021
8e78c6d
Empty commit to trigger CI
Ilyesbdlala Dec 29, 2021
c7ccaa8
Removed unnecessary whitespaces and comments for sslyze
Ilyesbdlala Jan 4, 2022
79b7aff
Re-added sslyze unavailable host test
Ilyesbdlala Jan 4, 2022
21ca41f
Upgraded sslyze from 5.0.1 to 5.0.2
Ilyesbdlala Jan 4, 2022
2dbe3b5
Updating Helm Docs
Ilyesbdlala Jan 4, 2022
4c4b4d5
Updated CLI option in cascading rules and examples
Ilyesbdlala Jan 4, 2022
79fa86c
Updating Helm Docs
Ilyesbdlala Jan 4, 2022
425234d
Removed sslyze's mixed connectivity test
Ilyesbdlala Jan 11, 2022
5f74b8c
Merge branch 'main' into dependencies/upgrading-sslyze-to-v5.0.0
Ilyesbdlala Jan 11, 2022
90c0310
Empty commit to retrigger CI
Ilyesbdlala Mar 9, 2022
dca3725
Merge branch 'main' into dependencies/upgrading-sslyze-to-v5.0.0
Ilyesbdlala Mar 9, 2022
a12b30a
Updating Helm Docs
Ilyesbdlala Mar 9, 2022
1a9926b
Empty commit to trigger CI
Ilyesbdlala Mar 15, 2022
5191c54
Merge branch 'main' into dependencies/upgrading-sslyze-to-v5.0.0
Ilyesbdlala Mar 15, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
105 changes: 54 additions & 51 deletions scanners/sslyze/.helm-docs.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -32,79 +32,77 @@ usecase: "SSL/TLS Configuration Scanner"

The following security scan configuration example are based on the [SSLyze Documentation], please take a look at the original documentation for more configuration examples.

The command line interface can be used to easily run server scans: `sslyze --regular www.example.com`
The command line interface can be used to easily run server scans: `sslyze --mozilla_config=intermediate www.example.com`

```bash
Usage: sslyze [options] target1.com target2.com:443 target3.com:443{ip} etc...
Usage: python -m sslyze [options] target1.com target2.com:443 target3.com:443{ip} etc...

Options:
--version show program's version number and exit
-h, --help show this help message and exit
--regular Regular HTTPS scan; shortcut for --sslv2 --sslv3
--tlsv1 --tlsv1_1 --tlsv1_2 --tlsv1_3 --reneg --resum
--certinfo --hide_rejected_ciphers --compression
--heartbleed --openssl_ccs --fallback --robot
--mozilla_config {modern,intermediate,old}
Shortcut to queue various scan commands needed to check the server's TLS configurations against one of Mozilla's recommended TLS configuration. Set to
"intermediate" by default.

Trust stores options:
--update_trust_stores
Trust stores options:
--update_trust_stores
Update the default trust stores used by SSLyze. The
latest stores will be downloaded from https://github.c
om/nabla-c0d3/trust_stores_observatory. This option is
meant to be used separately, and will silence any
other command line option supplied to SSLyze.

Client certificate options:
--cert=CERT Client certificate chain filename. The certificates
must be in PEM format and must be sorted starting with
Client certificate options:
--cert CERTIFICATE_FILE
Client certificate chain filename. The certificates
must be in PEM format and must be sorted starting with
the subject's client certificate, followed by
intermediate CA certificates if applicable.
--key=KEY Client private key filename.
--keyform=KEYFORM Client private key format. DER or PEM (default).
--pass=KEYPASS Client private key passphrase.

Input and output options:
--json_out=JSON_FILE
Write the scan results as a JSON document to the file
JSON_FILE. If JSON_FILE is set to "-", the JSON output
will instead be printed to stdout. The resulting JSON
--key KEY_FILE Client private key filename.
--keyform KEY_FORMAT Client private key format. DER or PEM (default).
--pass PASSPHRASE Client private key passphrase.

Input and output options:
--json_out JSON_FILE Write the scan results as a JSON document to the file
JSON_FILE. If JSON_FILE is set to '-', the JSON output
will instead be printed to stdout. The resulting JSON
file is a serialized version of the ScanResult objects
described in SSLyze's Python API: the nodes and
described in SSLyze's Python API: the nodes and
attributes will be the same. See https://nabla-c0d3.gi
thub.io/sslyze/documentation/available-scan-
commands.html for more details.
--targets_in=TARGETS_IN
--targets_in TARGET_FILE
Read the list of targets to scan from the file
TARGETS_IN. It should contain one host:port per line.
--quiet Do not output anything to stdout; useful when using
--json_out.
TARGET_FILE. It should contain one host:port per line.
--quiet Do not output anything to stdout; useful when using
--json_out.

Connectivity options:
--slow_connection Greatly reduce the number of concurrent connections
Connectivity options:
--slow_connection Greatly reduce the number of concurrent connections
initiated by SSLyze. This will make the scans slower
but more reliable if the connection between your host
and the server is slow, or if the server cannot handle
many concurrent connections. Enable this option if you
are getting a lot of timeouts or errors.
--https_tunnel=HTTPS_TUNNEL
Tunnel all traffic to the target server(s) through an
HTTP CONNECT proxy. HTTP_TUNNEL should be the proxy's
URL: 'http://USER:PW@HOST:PORT/'. For proxies
--https_tunnel PROXY_SETTINGS
Tunnel all traffic to the target server(s) through an
HTTP CONNECT proxy. HTTP_TUNNEL should be the proxy's
URL: 'http://USER:PW@HOST:PORT/'. For proxies
requiring authentication, only Basic Authentication is
supported.
--starttls=STARTTLS
Perform a StartTLS handshake when connecting to the
target server(s). StartTLS should be one of: auto,
--starttls PROTOCOL Perform a StartTLS handshake when connecting to the
target server(s). StartTLS should be one of: auto,
smtp, xmpp, xmpp_server, pop3, imap, ftp, ldap, rdp,
postgres. The 'auto' option will cause SSLyze to
deduce the protocol (ftp, imap, etc.) from the
postgres. The 'auto' option will cause SSLyze to
deduce the protocol (ftp, imap, etc.) from the
supplied port number, for each target servers.
--xmpp_to=XMPP_TO Optional setting for STARTTLS XMPP. XMPP_TO should be
the hostname to be put in the 'to' attribute of the
--xmpp_to HOSTNAME Optional setting for STARTTLS XMPP. XMPP_TO should be
the hostname to be put in the 'to' attribute of the
XMPP stream. Default is the server's hostname.
--sni=SNI Use Server Name Indication to specify the hostname to
connect to. Will only affect TLS 1.0+ connections.
--sni SERVER_NAME_INDICATION
Use Server Name Indication to specify the hostname to
connect to. Will only affect TLS 1.0+ connections.

Scan commands:
Scan commands:
--tlsv1_1 Test a server for TLS 1.1 support.
--tlsv1_2 Test a server for TLS 1.2 support.
--robot Test a server for the ROBOT vulnerability.
Expand All @@ -116,15 +114,19 @@ Options:
--tlsv1_3 Test a server for TLS 1.3 support.
--certinfo Retrieve and analyze a server's certificate(s) to
verify its validity.
--certinfo_ca_file=CERTINFO_CA_FILE
Path to a file containing root certificates in PEM
format that will be used to verify the validity of the
server's certificate.
--heartbleed Test a server for the OpenSSL Heartbleed
--certinfo_ca_file CERTINFO_CA_FILE
To be used with --certinfo. Path to a file containing
root certificates in PEM format that will be used to verify
the validity of the server's certificate.

--heartbleed Test a server for the OpenSSL Heartbleed
vulnerability.
--resum_rate Measure a server's session resumption rate when
attempting 100 resumptions using session IDs.
--resum Test a server for session resumption support using
--resum Test a server for TLS 1.2 session resumption support using

--resum_attempts RESUM_ATTEMPTS
To be used with --resum. Number of session resumptions
(both with Session IDs and TLS Tickets) that SSLyze should attempt. The default value is 5, but a higher
value such as 100 can be used to get a more accurate measure of how often session resumption succeeds or fails with the server.
session IDs and TLS tickets.
--http_headers Test a server for the presence of security-related
HTTP headers.
Expand All @@ -134,7 +136,8 @@ Options:
--compression Test a server for TLS compression support, which can
be leveraged to perform a CRIME attack.
--openssl_ccs Test a server for the OpenSSL CCS Injection
vulnerability (CVE-2014-0224).
vulnerability (CVE-2014-0224).
--elliptic_curves Test a server for supported elliptic curves.
```
{{- end }}

Expand Down
2 changes: 1 addition & 1 deletion scanners/sslyze/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: A Helm chart for the SSLyze security scanner that integrates with t
type: application
# version - gets automatically set to the secureCodeBox release version when the helm charts gets published
version: v3.1.0-alpha1
appVersion: "v4.1.0"
appVersion: "5.0.2"
kubeVersion: ">=v1.11.0-0"
annotations:
versionApi: https://api.github.com/repos/nabla-c0d3/sslyze/releases/latest
Expand Down
1 change: 1 addition & 0 deletions scanners/sslyze/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

include_guard = set
scanner = sslyze
custom_scanner = set

include ../../scanners.mk

Expand Down
Loading