{
  "model_id": "SOC.060",
  "name": "Private SSH Key Accessed",
  "description": "Process reading a private SSH key (~/.ssh/id_rsa, id_ed25519, etc.) outside the SSH client.",
  "threshold": 0.7,
  "evaluations": [
    {
      "name": "ReadKey",
      "type": "comparison",
      "left": "event.raw.path",
      "operator": "LIKE",
      "right": "%.ssh/id_%",
      "weight": 4
    },
    {
      "name": "NotSSH",
      "type": "comparison",
      "left": "event.actor.exe",
      "operator": "!=",
      "right": "/usr/bin/ssh",
      "weight": 3
    },
    {
      "name": "Logic",
      "type": "logical",
      "operator": "AND",
      "operands": [
        "ReadKey",
        "NotSSH"
      ],
      "weight": 5
    }
  ],
  "actions": [
    {
      "type": "emit_alert",
      "reason": "Private SSH key accessed by non-SSH process — possible theft."
    }
  ],
  "mitre_tactics": [
    "Credential Access"
  ],
  "mitre_techniques": [
    "T1552.004"
  ],
  "severity": "high",
  "observables": [
    "event.raw.path",
    "event.actor.exe"
  ]
}
