容器内搜索 AWS 凭据编辑

此规则检测使用 grep 和 find 等系统搜索实用程序在容器内搜索 AWS 凭据的行为。对这些敏感文件的未经授权访问会导致进一步危害容器环境或促进容器突破到底层云环境。

规则类型: eql

规则索引:

  • logs-cloud_defend*

严重程度: 中等

风险评分: 47

每运行一次: 5m

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

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

参考资料:

标签:

  • 数据源: Elastic Defend for Containers
  • 领域: 容器
  • 操作系统: Linux
  • 用例: 威胁检测
  • 战术: 凭据访问

版本: 1

规则作者:

  • Elastic

规则许可证: Elastic License v2

规则查询编辑

process where event.module == "cloud_defend" 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 : ("grep", "egrep", "fgrep", "find", "locate", "mlocate") or process.args : ("grep", "egrep", "fgrep", "find", "locate", "mlocate")) and
process.args : ("*aws_access_key_id*", "*aws_secret_access_key*", "*aws_session_token*", "*accesskeyid*", "*secretaccesskey*", "*access_key*", "*.aws/credentials*")

框架: MITRE ATT&CKTM