可疑 WMIC XSL 脚本执行编辑

通过对可疑脚本执行进行警报来识别 WMIC 白名单绕过技术。当 WMIC 加载脚本库时,这可能表明存在白名单绕过行为。

规则类型: eql

规则索引:

  • winlogbeat-*
  • logs-endpoint.events.process-*
  • logs-endpoint.events.library-*
  • logs-windows.sysmon_operational-*

严重性: 中等

风险评分: 47

每隔: 5m

搜索索引自: now-9m (日期数学格式,另请参见 附加回溯时间)

每次执行的最大警报数: 100

参考: 无

标签:

  • 域:端点
  • 操作系统:Windows
  • 用例:威胁检测
  • 战术:防御规避
  • 战术:执行
  • 数据源:Elastic Defend
  • 数据源:Sysmon

版本: 109

规则作者:

  • Elastic

规则许可证: Elastic 许可证 v2

规则查询编辑

sequence by process.entity_id with maxspan = 2m
[process where host.os.type == "windows" and event.type == "start" and
   (process.name : "WMIC.exe" or process.pe.original_file_name : "wmic.exe") and
   process.args : ("format*:*", "/format*:*", "*-format*:*") and
   not process.command_line : ("* /format:table *", "* /format:table")]
[any where host.os.type == "windows" and (event.category == "library" or (event.category == "process" and event.action : "Image loaded*")) and
 (?dll.name : ("jscript.dll", "vbscript.dll") or file.name : ("jscript.dll", "vbscript.dll"))]

框架: MITRE ATT&CKTM