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

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

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

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

工具目录

分类

查看所有分类
Loading categories
CVE-2025-60787-Detection-motionEye-RCE-via-Config-Injection — 用于CVE-2025-60787的检测规则和YARA/KQL签名,这是motionEye中通过配置注入实现未经身份验证的远程代码执行漏洞,包含进程执行和文件创建监控。 | Kitploit
工具/GitHubGitHub/garethmsheldon/cve-2025-60787-detection-motioneye-rce-via-config-injection
危害指标 (IOC) 管理容器安全漏洞分析漏洞利用Web安全威胁情报入侵检测日志分析
GitHub

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享
garethmsheldon/cve-2025-60787-detection-motioneye-rce-via-config-injection

CVE-2025-60787-Detection-motionEye-RCE-via-Config-Injection

用于CVE-2025-60787的检测规则和YARA/KQL签名,这是motionEye中通过配置注入实现未经身份验证的远程代码执行漏洞,包含进程执行和文件创建监控。

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

README.md

CVE-2025-60787 检测:motionEye 配置注入导致的远程代码执行

EDB-ID: 52481 CVE: 2025-60787

motionEye <= 0.43.1b4 中的未认证远程代码执行


漏洞概述

此仓库包含针对 CVE-2025-60787(motionEye 中未认证 RCE 漏洞)的检测规则。

利用方法

注入点:

  • 设置 -> 静态图像 -> 图像文件名

PoC 载荷示例:

root@kitploit:~
$(touch /tmp/test).%Y-%m-%d-%H-%M-%S

当 motion 重启时,Shell 命令将执行并创建 /tmp/test。


检测覆盖范围


YARA 检测

扫描 motionEye 配置目录:

root@kitploit:~
yara -r rules/yara/motioneye_rce_cve_2025_60787.yar /etc/motioneye/

KQL 检测(Microsoft Sentinel / Defender)

包含的查询:

  • 01_web_request_js_bypass_and_shell_payload.kql
  • 02_process_execution_shell_spawned_by_motion.kql
  • 03_file_creation_tmp_by_motion_process.kql
  • 04_docker_exec_and_syslog_motioneye.kql
  • 05_threat_hunting_motioneye_config_file_changes.kql

测试

启动易受攻击的容器:

root@kitploit:~
docker run -d --name motioneye -p 9999:8765 ghcr.io/motioneye-project/motioneye:edge

验证版本:

root@kitploit:~
docker logs motioneye | grep "motionEye server"

访问 Web 界面:

root@kitploit:~
http://127.0.0.1:9999

登录:

root@kitploit:~
admin(空密码)

仓库结构

root@kitploit:~
cve-2025-60787-detection/
├── README.md
├── LICENSE
├── .gitignore
├── rules/
│   ├── yara/
│   │   └── motioneye_rce_cve_2025_60787.yar
│   └── kql/
│       ├── 01_web_request_js_bypass_and_shell_payload.kql
│       ├── 02_process_execution_shell_spawned_by_motion.kql
│       ├── 03_file_creation_tmp_by_motion_process.kql
│       ├── 04_docker_exec_and_syslog_motioneye.kql
│       └── 05_threat_hunting_motioneye_config_file_changes.kql
└── docs/
    └── iocs.md

参考资料

  • Exploit-DB ID: 52481
  • CVE-2025-60787
  • motionEye 项目

致谢

角色作者
漏洞发现与 PoCprabhatverma47
检测工程安全研究社区

许可证

MIT 许可证 - 请参阅 LICENSE 文件。

下载工具
ID检测名称描述
01Web 请求检测识别 JavaScript 绕过尝试和 Shell 载荷
02进程执行检测 motion 生成 Shell 进程
03文件创建检测 /tmp 中的可疑文件
04Docker/Syslog监控容器活动
05威胁狩猎检测配置篡改