{
  "model_id": "SOC.024",
  "name": "Multiple Successful SSH From Same IP",
  "description": "Three or more successful SSH logins from the same IP within an hour — could be legitimate admin or attacker using stolen credentials across accounts.",
  "threshold": 0.7,
  "evaluations": [
    {
      "name": "Success",
      "type": "comparison",
      "left": "event.type",
      "operator": "==",
      "right": "auth.ssh.success",
      "weight": 3
    },
    {
      "name": "LoginCount",
      "type": "aggregation",
      "aggregation": "COUNT",
      "field": "event.actor.ip",
      "weight": 4
    },
    {
      "name": "ThreeOrMore",
      "type": "comparison",
      "left": "@LoginCount",
      "operator": "\u003e=",
      "right": 3,
      "weight": 5
    },
    {
      "name": "Logic",
      "type": "logical",
      "operator": "AND",
      "operands": [
        "Success",
        "ThreeOrMore"
      ],
      "weight": 5
    }
  ],
  "actions": [
    {
      "type": "emit_alert",
      "reason": "Multiple SSH logins from {event.actor.ip} — verify with users."
    }
  ],
  "mitre_tactics": [
    "Initial Access"
  ],
  "mitre_techniques": [
    "T1078"
  ],
  "severity": "medium",
  "observables": [
    "event.actor.ip"
  ]
}
