Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
SMBGhost_AutomateExploitation — SMBGhost(CVE-2020-0796)自动化利用与检测 | Kitploit
工具/GitHubGitHub/barriuso/smbghost_automateexploitation
Payload生成漏洞分析漏洞利用Shellcode渗透测试远程访问工具
GitHubbarriuso/smbghost_automateexploitation

SMBGhost_AutomateExploitation

SMBGhost(CVE-2020-0796)自动化利用与检测

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享
查看仓库
353494年前Kitploit 审核通过

SMBGhost (CVE-2020-0796) 自动化利用与检测

该 Python 程序是对 RCE SMBGhost 漏洞的封装。漏洞利用部分的所有荣誉归功于 chompie1337。扫描器的所有荣誉归功于 ioncodes。

我只是将这些功能自动化到一个程序中。在生成反向 shell 时,你需要考虑 Windows 目标的架构。

该利用 不稳定,请自行承担风险。有时第一次不成功,所以我加入了第二次重试。

如果你要放入自己的 shellcode,请注意 shellcode 的最大大小为 600 字节。

  • 已在 Windows 10 x64(Microsoft Windows [版本 10.0.18362.113]。Build 1903。)上测试通过。
  • 已在 @tijldeneut 提供的 Win10 Enterprise (Eng) x64 v1903 Build 18362.30 上测试通过。

可用于测试该利用的易受攻击 Windows ISO (x64):MEGA 下载

演示

1º 由 msfvenom 生成的无阶段反向 shell (x64)。

演示3

2º 尝试使用自定义 shellcode 在目标中添加用户 "di.security" 作为管理员。shellcode 的荣誉归功于 rastating。

2020-06-12_11h49_05

选项

root@kitploit:~
usage: Smb_Ghost.py [-h] -i IP [-p PORT] [--check] [-e] [--lhost LHOST]
                    [--lport LPORT] [--arch ARCH] [--silent] [--shellcode]
                    [--load-shellcode LOAD_SHELLCODE]

SMBGhost Detection and Exploitation

optional arguments:
  -h, --help            show this help message and exit
  -i IP, --ip IP        IP address
  -p PORT, --port PORT  SMB Port
  --check               Check SMBGhost Vulnerability
  -e                    Directly exploit SMBGhost
  --lhost LHOST         Lhost for the reverse shell
  --lport LPORT         Lport for the reverse shell
  --arch ARCH           Architecture of the target Windows Machine
  --silent              Silent mode for the scanner
  --shellcode           Shellcode Menu to import your shell
  --load-shellcode LOAD_SHELLCODE
                        Load shellcode directly from file

作者

  • Alberto Barriuso (@_Barriuso)

免责声明

任何滥用此软件的行为均不属于作者的责任。请在自己的网络和/或获得网络所有者许可的情况下使用。

待办事项

  • 添加更多 payload。
  • 在其他 Windows 版本(x86)上测试。
  • 提高扫描器的准确性。扫描器仅检测是否使用了 SMBv3.1.1,但如果主机已打补丁,则会给出误报。
下载工具