CVE-2020-0796 - CVE-2020-0796 Pre-Auth POC


(c) 2020 ZecOps, Inc. - https://www.zecops.com - Find Attackers' Mistakes

POC to check for CVE-2020-0796 / "SMBGhost"
Expected outcome: Blue Screen
Intended only for educational and testing in corporate environments.
ZecOps takes no responsibility for the code, use at your own risk.
Please contact [email protected] if you are interested in agent-less DFIR tools for Servers, Endpoints, and Mobile Devices to detect SMBGhost and other types of attacks automatically.


Usage

CVE-2020-0796-POC.exe [<TargetServer>]

If <TargetServer> is omitted, the POC is executed on localhost (127.0.0.1).


Compiled POC

You can get the compiled POC here.


Compiling

Use Visual Studio to compile the following projects:

  1. ProtoSDK\Asn1Base\Asn1Base.csproj
  2. ProtoSDK\MS-XCA\Xca.csproj
  3. ProtoSDK\MS-SMB2\Smb2.sln

Use the resulting exe file to run the POC.


References


CVE-2020-0796 - CVE-2020-0796 Pre-Auth POC CVE-2020-0796 - CVE-2020-0796 Pre-Auth POC Reviewed by Zion3R on 9:47 PM Rating: 5