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

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

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

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

工具目录

分类

查看所有分类
Loading categories
cve-2019-1040-scanner — SMB漏洞扫描器,通过发送无效的NTLM认证数据包检测CVE-2019-1040,实现MIC移除中继攻击,以攻陷域管理员。 | Kitploit
工具/GitHubGitHub/fox-it/cve-2019-1040-scanner
漏洞扫描器漏洞利用网络安全渗透测试身份验证
GitHubfox-it/cve-2019-1040-scanner

cve-2019-1040-scanner

SMB漏洞扫描器,通过发送无效的NTLM认证数据包检测CVE-2019-1040,实现MIC移除中继攻击,以攻陷域管理员。

查看仓库
300585年前Kitploit 审核通过

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CVE-2019-1040 扫描器

通过 SMB 检查 CVE-2019-1040 漏洞。 该脚本将与目标主机建立连接,并发送无效的 NTLM 认证。如果该认证被接受,则说明目标存在 CVE-2019-1040 漏洞,你可以使用 ntlmrelayx 执行 MIC Remove 攻击。

请注意,此操作不会产生失败的登录尝试,因为登录信息本身是有效的,只是缺少 NTLM 消息完整性代码,因此认证被拒绝,且不会增加 badpwdcount 计数。

用法

该脚本需要较新版本的 impacket。应同时支持 Python 2 和 Python 3(Python 3 需要使用来自 git 的 impacket 版本)。

root@kitploit:~
[*] CVE-2019-1040 scanner by @_dirkjan / Fox-IT - Based on impacket by SecureAuth
usage: scan.py [-h] [-target-file file] [-port [destination port]]
               [-hashes LMHASH:NTHASH]
               target

CVE-2019-1040 scanner - Connects over SMB and attempts to authenticate with
invalid NTLM packets. If accepted, target is vulnerable to MIC remove attack

positional arguments:
  target                [[domain/]username[:password]@]<targetName or address>

optional arguments:
  -h, --help            show this help message and exit

connection:
  -target-file file     Use the targets in the specified file instead of the
                        one on the command line (you must still specify
                        something as target name)
  -port [destination port]
                        Destination port to connect to SMB Server

authentication:
  -hashes LMHASH:NTHASH
                        NTLM hashes, format is LMHASH:NTHASH
下载工具