容器内搜索AWS凭证

编辑

此规则检测使用系统搜索实用程序(如 grep 和 find)在容器内搜索 AWS 凭证的情况。对这些敏感文件的未授权访问可能导致进一步破坏容器环境或促进容器突破到底层云环境。

规则类型: eql

规则索引:

  • logs-cloud_defend*

严重性: 中等

风险评分: 47

每隔: 5 分钟运行

搜索索引自: 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