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

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

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

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

工具目录

分类

查看所有分类
Loading categories
CVE-2021-42292 — 一个用于检测 CVE-2021-42292(一种 Microsoft Excel 本地权限提升漏洞利用)的 Zeek 包。 | Kitploit
工具/GitHubGitHub/corelight/cve-2021-42292
漏洞分析漏洞利用网络安全威胁情报入侵检测事件响应
GitHubcorelight/cve-2021-42292

CVE-2021-42292

一个用于检测 CVE-2021-42292(一种 Microsoft Excel 本地权限提升漏洞利用)的 Zeek 包。

查看仓库
1864年前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CVE-2021-42292

该包将检测针对 CVE-2021-42292(一个 Microsoft Excel 本地权限提升漏洞)的利用行为,并为其在 notice.log 中生成一条 notice 记录。

https://corelight.com/blog/detecting-cve-2021-42292

检测方法:

当触发漏洞的 Excel 电子表格下载第二个电子表格时,该包即可检测到此漏洞。第二个电子表格将以提升的权限执行。借助此脚本,我们可以检测 Microsoft Excel 下载 Microsoft Excel 文件的行为。在我们监控的一些真实网络测试中,这种组合极为罕见,截至目前我们未发现任何误报。

用法:

root@kitploit:~
$ zeek -Cr excelsploit_1.pcap packages

$ cat notice.log
#separator \x09
#set_separator  ,
#empty_field    (empty)
#unset_field    -
#path   notice
#open   2021-11-10-10-56-50
#fields ts      uid     id.orig_h       id.orig_p       id.resp_h       id.resp_p       fuid    file_mime_type  file_desc       proto   note    msg     sub     src     dst     p       n       peer_descr      actions email_dest      suppress_for    remote_location.country_code    remote_location.region  remote_location.city    remote_location.latitude        remote_location.longitude
#types  time    string  addr    port    addr    port    string  string  string  enum    enum    string  string  addr    addr    port    count   string  set[enum]       set[string]     interval        string  string  string  double  double
1636433584.277654       CeV1DA2EM1pRTfgWkc      127.0.0.1       51543   127.0.0.1       80      -       -       -       tcp     CVE_2021_42292::CVE_2021_42292  127.0.0.1 may be compromised by CVE-2021-42292, MS Office Excel download using Office from 127.0.0.1 detected. See sub field for additional triage information  host='127.0.0.1', method='HEAD', user_agent='Microsoft Office Excel 2014', CONTENT-TYPE='application/vnd.ms-excel', uri='/replica.xls'      127.0.0.1       127.0.0.1       80      -       -       Notice::ACTION_LOG      (empty) 3600.000000     -       -       -       -       -
1636433584.311236       CgKWSM1bhhl7K8B6n8      127.0.0.1       51545   127.0.0.1       80      -       -       -       tcp     CVE_2021_42292::CVE_2021_42292  127.0.0.1 may be compromised by CVE-2021-42292, MS Office Excel download using Office from 127.0.0.1 detected. See sub field for additional triage information  host='127.0.0.1', method='GET', user_agent='Mozilla/4.0 (compatible; ms-office; MSOffice 16)', CONTENT-TYPE='application/vnd.ms-excel', uri='/replica.xls'  127.0.0.1       127.0.0.1       80      -       -       Notice::ACTION_LOG      (empty) 3600.000000     -       -       -       -       -
#close  2021-11-10-10-56-50

此外,还提供了与 Zeek 包检测方法相一致的 Suricata 规则。

链接:

  • 包含代码元素讲解的相关博客:
    • https://corelight.com/blog/detecting-cve-2021-42292
  • MIME 类型:
    • https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types
  • Excel 用户代理:
    • https://developers.whatismybrowser.com/useragents/explore/software_name/excel/
下载工具