{
  "model_id": "SOC.063",
  "name": "AWS Credentials File Accessed",
  "description": "Process reading ~/.aws/credentials outside the AWS CLI — credential harvesting.",
  "threshold": 0.7,
  "evaluations": [
    {
      "name": "AwsCreds",
      "type": "comparison",
      "left": "event.raw.path",
      "operator": "LIKE",
      "right": "%.aws/credentials%",
      "weight": 5
    },
    {
      "name": "NotAwsCli",
      "type": "comparison",
      "left": "event.actor.exe",
      "operator": "!=",
      "right": "/usr/local/bin/aws",
      "weight": 3
    },
    {
      "name": "Logic",
      "type": "logical",
      "operator": "AND",
      "operands": [
        "AwsCreds",
        "NotAwsCli"
      ],
      "weight": 5
    }
  ],
  "actions": [
    {
      "type": "emit_alert",
      "reason": "AWS credentials file accessed by non-AWS-CLI process."
    }
  ],
  "mitre_tactics": [
    "Credential Access"
  ],
  "mitre_techniques": [
    "T1552"
  ],
  "severity": "high",
  "observables": [
    "event.raw.path",
    "event.actor.exe"
  ]
}
