容器内部敏感文件压缩编辑

识别使用压缩工具收集已知包含敏感信息的(例如凭据和系统配置)文件,这些文件位于容器内部。

规则类型: eql

规则索引:

  • logs-cloud_defend*

严重程度: 中等

风险评分: 47

: 5m 运行一次

搜索索引时间段: now-6m (日期数学格式,另请参阅 额外的回溯时间)

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

参考资料: 无

标签:

  • 数据源: Elastic Defend for Containers
  • 域: 容器
  • 操作系统: Linux
  • 用例: 威胁检测
  • 策略: 收集
  • 策略: 凭据访问

版本: 2

规则作者:

  • Elastic

规则许可证: Elastic License v2

规则查询编辑

process where container.id: "*" and event.type== "start" and

/*account for tools that execute utilities as a subprocess, in this case the target utility name will appear as a process arg*/
(process.name: ("zip", "tar", "gzip", "hdiutil", "7z") or process.args: ("zip", "tar", "gzip", "hdiutil", "7z"))
and process.args: (
"/root/.ssh/id_rsa",
"/root/.ssh/id_rsa.pub",
"/root/.ssh/id_ed25519",
"/root/.ssh/id_ed25519.pub",
"/root/.ssh/authorized_keys",
"/root/.ssh/authorized_keys2",
"/root/.ssh/known_hosts",
"/root/.bash_history",
"/etc/hosts",
"/home/*/.ssh/id_rsa",
"/home/*/.ssh/id_rsa.pub",
"/home/*/.ssh/id_ed25519",
"/home/*/.ssh/id_ed25519.pub",
"/home/*/.ssh/authorized_keys",
"/home/*/.ssh/authorized_keys2",
"/home/*/.ssh/known_hosts",
"/home/*/.bash_history",
"/root/.aws/credentials",
"/root/.aws/config",
"/home/*/.aws/credentials",
"/home/*/.aws/config",
"/root/.docker/config.json",
"/home/*/.docker/config.json",
"/etc/group",
"/etc/passwd",
"/etc/shadow",
"/etc/gshadow")

框架: MITRE ATT&CKTM