Skip to content

OWASP/O-Saft

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
September 13, 2022 02:30
Net
April 23, 2023 19:44
April 23, 2023 23:42
t
May 21, 2023 20:30
April 23, 2023 23:47
March 4, 2022 20:21
April 23, 2023 23:46
July 27, 2013 17:20
April 23, 2023 23:51
May 21, 2023 19:47
April 23, 2023 19:50
January 14, 2021 01:15
April 23, 2023 19:47
April 23, 2023 19:49
May 21, 2023 16:59
April 23, 2023 23:40
August 9, 2023 17:52

Any use of this project's code by GitHub Copilot, past or present, is done without our permission. We do not consent to GitHub's use of this project's code in Copilot.

O-Saft - OWASP SSL advanced forensic tool

DESCRIPTION

This tools lists information about remote target's SSL certificate and tests the remote target according given list of ciphers.

UNIQUE FEATURES

  • working in closed environments, i.e. without internet connection
  • checking availability of ciphers independent of installed library
  • checking for all possible ciphers (up to 65535 per SSL protocol)
  • needs just perl without modules for checking ciphers and protocols
  • mainly same results on all platforms

WHY?

Why a new tool for checking SSL when there already exist a dozens or more good tools in 2012? Some (but not all) reasons are:

  • lack of tests of unusual ciphers
  • different results returned for the same check on same target
  • missing functionality (checks) according modern SSL/TLS
  • lack of tests of unusual (SSL, certificate) configurations
  • (mainly) missing feasability to add own tests

For more details, please use:

o-saft.pl --help

or read the source ;-)

TARGET AUDIENCE

  • penetration testers
  • administrators

INSTALLATION

o-saft.pl requires following Perl modules:

Module Version
Net::SSLeay (prefered >= 1.51, recommended 1.85)
IO::Socket::SSL (prefered >= 1.37, recommended 2.002)
IO::Socket::INET (prefered >= 2.31)
Net::DNS (prefered >= 0.65, for --mx option only)

O-Saft can be executed from within the unpacked or cloned directory, installation is not necessary. However, a INSTALL.sh script will be provided, which can be called as follows:

INSTALL.sh
INSTALL.sh --clean
INSTALL.sh --check
INSTALL.sh --n /path/to/install --force
INSTALL.sh     /path/to/install --force

There're no dependencies to other perl modules for checkAllCiphers.pl so the test of all ciphers will work with it. The modules Net::SSLinfo, Net::SSLhello are part of O-Saft and should be installed in ./Net .

Following files are optional:

File / Tool Description
.o-saft.pl (private user configuration)
o-saft-dbx.pm (for debugging, tracing)
o-saft-usr.pm (private functions, some kind of API)
o-saft-man.pm (documentation and generation functions)
o-saft.pod (documentation in POD format)
checkAllCiphers.pl (simple script for checking all ciphers)
.o-saft.tcl (private user configuration for GUI)
o-saft-img.tcl (images for buttons in GUI)
contrib/* (additional programs and tools)

QUICK START

o-saft.pl --help
o-saft.pl +check your.tld
o-saft.pl +info  your.tld
o-saft.pl +quick your.tld
o-saft.pl +cipher    your.tld
o-saft.pl --help=commands

o-saft.tcl      # (simple GUI; requires Tcl/Tk 8.5 or newer)

o-saft-docker   # (simple wrapper to call o-saft.pl in docker image)

Get a Copy (latest stable release)

wget https://github.com/OWASP/O-Saft/raw/master/o-saft.tgz

Get a Copy (development version)

git clone https://github.com/OWASP/O-Saft.git
git clone git@github.com:OWASP/O-Saft.git

Get Docker Image (latest stable release)

docker pull owasp/o-saft

VERSION

23.04.23

The version of the tarball o-saft.tgz represents the version listed on top herein. All other files in the repository may be ahead of this tarball version.

SHA256 checksum of o-saft.tgz

14d1e1b202fa07152d6f16af72b520736dac06a2ee135cdf156d94ba321a67a7

SHA256 checksum of owasp/o-saft:latest and owasp/o-saft:18.11.18

b85423d142c186c1cf10494aa0e993f6f2030ab769977aca9584d7d650421697

NOTE that the checksums listed here are the previous versions if this file is from o-saft.tgz itself, or inside the docker image.