SMBv3 Vulnerability Check and Mitigate the SMBGhost Vulnerability SMBv3 CVE 2020 0796

Опубликовано: 03 Март 2026
на канале: Nekkaa Salah edine
331
4

SMBGhost

Simple scanner for CVE-2020-0796 - SMBv3 RCE.

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.
Usage


python3 scanner.py {Target-IP}


Workarounds

ADV200005 | Microsoft Guidance for Disabling SMBv3 Compression
Run below Command in PowerShell
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" DisableCompression -Ty