SSLSNIFF(1) General Commands Manual SSLSNIFF(1)
sslsniff - SSL/TLS man-in-the-middle attack tool
This manual page documents briefly the sslsniff command.
sslsniff is designed to create man-in-the-middle (MITM) attacks for SSL/TLS connections, and dynamically generates certs for the domains
that are being accessed on the fly. The new certificates are constructed in a certificate chain that is signed by any certificate that is
sslsniff also supports other attacks like null-prefix or OCSP attacks to achieve silent interceptions of connections when possible.
-a Authority mode. Specify a certificate that will act as a CA.
-t Targeted mode. Specify a directory full of certificates to target.
File containing CA cert/key (authority mode) or directory containing a collection of certs/keys (targeted mode)
Port to listen on for SSL interception.
File to log to
Location of any Firefox XML update files.
Location of any intermediary certificates.
Port to listen on for HTTP interception (required for fingerprinting).
Only intercept requests from the specified browser(s).
-d Deny OCSP requests for our certificates.
-p Only log HTTP POSTs
Intercept Mozilla Addon Updates
The sha256sum value of the addon to inject
sslsniff works only on the FORWARD traffic (not on INPUT or OUTPUT).
To intercept traffic on port 8443, start sslsniff on a local port:
sslsniff -a -c /usr/share/sslsniff/certs/wildcard -s 4433 -w /tmp/sslsniff.log
and redirect traffic to this port using the iptables nat table:
iptables -t nat -A PREROUTING -p tcp --destination-port 8443 -j REDIRECT --to-ports 4433
sslsniff was written by Moxie Marlinspike.
This manual page was written by Pierre Chifflier <email@example.com>, for the Debian project (and may be used by others).
August 16, 2009 SSLSNIFF(1)