潜在的 JAVA/JNDI 利用尝试编辑

识别 JAVA 到 LDAP、RMI 或 DNS 标准端口的出站网络连接,随后是可疑的 JAVA 子进程。这可能表明试图利用 JAVA/NDI(Java Naming and Directory Interface)注入漏洞。

规则类型: eql

规则索引:

  • auditbeat-*
  • logs-endpoint.events.*

严重程度: 高

风险评分: 73

: 5m

: now-9m (日期数学格式,另请参见 额外回溯时间)

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

参考:

标签:

  • 域:端点
  • 操作系统:Linux
  • 操作系统:macOS
  • 用例:威胁检测
  • 战术:执行
  • 用例:漏洞
  • 数据源:Elastic Defend

版本: 104

规则作者:

  • Elastic

规则许可证: Elastic 许可证 v2

规则查询编辑

sequence by host.id with maxspan=1m
 [network where event.action == "connection_attempted" and
  process.name : "java" and
  /*
     outbound connection attempt to
     LDAP, RMI or DNS standard ports
     by JAVA process
   */
  destination.port in (1389, 389, 1099, 53, 5353)] by process.pid
 [process where event.type == "start" and

  /* Suspicious JAVA child process */
  process.parent.name : "java" and
   process.name : ("sh",
                   "bash",
                   "dash",
                   "ksh",
                   "tcsh",
                   "zsh",
                   "curl",
                   "perl*",
                   "python*",
                   "ruby*",
                   "php*",
                   "wget")] by process.parent.pid

框架: MITRE ATT&CKTM