
SMBv3 vulnerability scanner for CVE-2020-0796 (SMBGhost) that checks SMB dialect 3.1.1 and compression capability via negotiate requests, with fixed RCE payload for testing server vulnerability.
The scanner is for meant only for testing whether a server is vulnerable. It is not meant for research or development, hence the fixed payload.
It checks for SMB dialect 3.1.1 and compression capability through a negotiate request.
A network dump of the scanner running against a Windows 2019 Server (10.0.0.133) can be found under SMBGhost.pcap.
python3 smb_rce_checker.py
python3 smb_rce_checker.py IP
python3 smb_rce_checker.py SUBNET