Giter Site home page Giter Site logo

qualys / osslscanwin Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 1.0 2.99 MB

OpenSSL Vulnerability Scanner for Windows

License: Other

Batchfile 0.12% C++ 39.45% C 46.39% Makefile 0.85% M4 0.04% DIGITAL Command Language 0.77% Roff 0.30% CMake 0.71% CSS 0.18% HTML 0.85% JavaScript 0.01% Shell 0.38% SAS 0.05% Ada 2.44% Assembly 3.78% Pascal 2.06% C# 1.48% Module Management System 0.04% Perl 0.11%
cve scanner security-scanner security-tool security-tools vulnerability vulnerability-scanners cve-2022-3602 cve-2022-3786 spookyssl

osslscanwin's Introduction

THIS SCRIPT IS PROVIDED TO YOU "AS IS." TO THE EXTENT PERMITTED BY LAW, QUALYS HEREBY DISCLAIMS ALL WARRANTIES AND LIABILITY FOR THE PROVISION OR USE OF THIS SCRIPT. IN NO EVENT SHALL THESE SCRIPTS BE DEEMED TO BE CLOUD SERVICES AS PROVIDED BY QUALYS

Direct Download Links

https://github.com/Qualys/osslscanwin/releases/download/1.0.1.0/OSSLScan.zip

OSSLScan

Description

The OSSLScan.exe utility helps to detect CVE-2022-3602 and CVE-2022-3786 vulnerabilities. The utility will scan the entire hard drive(s) including archives (and nested JARs) for the OpenSSL libraries that indicates the application contains OpenSSL libraries. The utility will output its results to a console.

QID descriptions can be found here: https://blog.qualys.com/vulnerabilities-threat-research/2022/10/31/qualys-research-alert-prepare-for-a-critical-vulnerability-in-openssl-3-0

Qualys customers should use the following to run the tool on any asset they want to scan, from an elevated command prompt:

OSSLScan.exe /scan /report_sig

Usage

/scan
  Scan local drives for vulnerable files used by various Java applications.
/scan_network
  Scan network drives for vulnerable files used by various Java applications.
/scan_directory "C:\Some\Path"
  Scan a specific directory for vulnerable files used by various Java applications.
/scan_file "C:\Some\Path\Some.jar"
  Scan a specific file for supported CVE(s).
/scaninclmountpoints
  Scan local drives including mount points for vulnerable files used by various Java applications.
/exclude_drive "C:\"
  Exclude a drive from the scan.
/exclude_directory "C:\Some\Path"
  Exclude a directory from a scan.
/exclude_file "C:\Some\Path\Some.jar"
  Exclude a file from a scan.
/knownTarExtension ".tar"
/knownGZipTarExtension ".tgz"
/knownBZipTarExtension ".tbz"
/knownZipExtension ".jar"
  Add additional file type extensions to the scanner.
/report
  Generate a JSON report of possible detections of supported CVE(s).
/report_pretty
  Generate a human readable JSON report of possible detections of supported CVE(s).
/report_sig
  Generate a signature report of possible detections of supported CVE(s).
/lowpriority
  Lowers the execution and I/O priority of the scanner.
/help
  Displays this help page.

Sample Usage (from an elevated command prompt) - The following command helps you scan local drives for vulnerable JAR, WAR, EAR, and ZIP.

OSSLScan.exe /scan

Sample Usage (from an elevated command prompt) - The following command helps you scan local drives for vulnerable files and writes a signature report to C:\ProgramData\Qualys

OSSLScan.exe /scan /report_sig

Output - The following output shows the detection

C:\Src\Qualys\OOB\osslscanwin\build\x64\Release\output>OSSLScan.exe /scan_directory C:\Data\OpenSSL
Qualys OpenSSL Vulnerability Scanner 1.0.0.0
https://www.qualys.com/
Dependencies: minizip/1.1, zlib/1.2.11, bzip2/1.0.8, rapidjson/1.1.0
Supported CVE(s): CVE-2022-3602, CVE-2022-3786

Known TAR Extensions            : .tar
Known GZIP TAR Extensions       : .tgz, .tar.gz
Known BZIP TAR Extensions       : .tbz, .tbz2, .tar.bz, .tar.bz2
Known ZIP Extensions            : .zip, .jar, .war, .ear, .par, .kar, .sar, .rar, .jpi, .hpi, .apk

Scanning 'C:\Data\OpenSSL\'...
OpenSSL Found: 'c:\data\openssl\libcrypto-1_1-x64.dll' ( Product Name: The OpenSSL Toolkit, Product Version: 1.1.1n, File Description: OpenSSL library, File Version: 1.1.1n, CVE Status: Mitigated )
OpenSSL Found: 'c:\data\openssl\libssl-1_1-x64.dll' ( Product Name: The OpenSSL Toolkit, Product Version: 1.1.1n, File Description: OpenSSL library, File Version: 1.1.1n, CVE Status: Mitigated )

Scan Summary:
        Scan Date:                       2022-11-01T07:18:52-0700
        Scan Duration:                   0 Seconds
        Scan Error Count:                0
        Scan Status:                     Success
        Files Scanned:                   2
        Directories Scanned:             0
        Compressed File(s) Scanned:      0
        JAR(s) Scanned:                  0
        WAR(s) Scanned:                  0
        EAR(s) Scanned:                  0
        TAR(s) Scanned:                  0
        Vulnerabilities Found:           0

osslscanwin's People

Contributors

romw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

devkw

osslscanwin's Issues

Scan Error Count Verbose Output

I might be overlooking something, but is there output for any Scan Errors reported? Would be nice to take a closer look at any files or paths that generated errors during a scan.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.