/SMBCompScan

Scanner script to identify hosts vulnerable to CVE-2020-0796

Primary LanguagePerlMIT LicenseMIT

SMBCompScan

Scanner script to identify hosts vulnerable to CVE-2020-0796

Advisory

Disclaimer

This script can help to identify machines with the SMBv3 vulnerablity by checking for enabled compression. Still, it might return "vulnerable" for machines which have KB4551762 installed.

Requirements

  • Perl 5.12+
  • IO::Socket
  • Net::Netmask

Usage

Scan a single IP address:

./smbCompScan.pl 192.168.0.1

Scan by hostname:

./smbCompScan.pl some.vulnerable.host.tld

Scan a network:

./smbCompScan.pl 192.168.0.0/24