潜在的 JAVA/JNDI 利用尝试
编辑潜在的 JAVA/JNDI 利用尝试编辑
识别 JAVA 到 LDAP、RMI 或 DNS 标准端口的出站网络连接,随后是可疑的 JAVA 子进程。这可能表明试图利用 JAVA/NDI(Java Naming and Directory Interface)注入漏洞。
规则类型: eql
规则索引:
- auditbeat-*
- logs-endpoint.events.*
严重程度: 高
风险评分: 73
每: 5m
从: now-9m (日期数学格式,另请参见 额外回溯时间
)
每次执行的最大警报数: 100
参考:
- https://www.lunasec.io/docs/blog/log4j-zero-day/
- https://github.com/christophetd/log4shell-vulnerable-app
- https://www.blackhat.com/docs/us-16/materials/us-16-Munoz-A-Journey-From-JNDI-LDAP-Manipulation-To-RCE.pdf
- https://elastic.ac.cn/security-labs/detecting-log4j2-with-elastic-security
- https://elastic.ac.cn/security-labs/analysis-of-log4shell-cve-2021-45046
标签:
- 域:端点
- 操作系统: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
-
战术
- 名称:执行
- ID:TA0002
- 参考 URL: https://attack.mitre.org/tactics/TA0002/
-
技术
- 名称:命令和脚本解释器
- ID:T1059
- 参考 URL: https://attack.mitre.org/techniques/T1059/
-
子技术
- 名称:JavaScript
- ID:T1059.007
- 参考 URL: https://attack.mitre.org/techniques/T1059/007/
-
技术
- 名称:客户端执行的利用
- ID:T1203
- 参考 URL: https://attack.mitre.org/techniques/T1203/