{
  "model_id": "SOC.019",
  "name": "SSH From Known Bad ASN",
  "description": "SSH login from an IP belonging to a known bulletproof hosting or anonymising ASN.",
  "threshold": 0.8,
  "evaluations": [
    {
      "name": "SSH",
      "type": "comparison",
      "left": "event.type",
      "operator": "==",
      "right": "auth.ssh.success",
      "weight": 3
    },
    {
      "name": "BadASN",
      "type": "comparison",
      "left": "event.actor.ip",
      "operator": "IN",
      "right": [
        "tor-exit",
        "vpn-anon"
      ],
      "weight": 5
    },
    {
      "name": "Logic",
      "type": "logical",
      "operator": "AND",
      "operands": [
        "SSH",
        "BadASN"
      ],
      "weight": 5
    }
  ],
  "actions": [
    {
      "type": "emit_alert",
      "reason": "SSH login from anonymising infrastructure."
    },
    {
      "type": "request_block_ip",
      "reason": "Block source IP."
    }
  ],
  "mitre_tactics": [
    "Initial Access"
  ],
  "mitre_techniques": [
    "T1133",
    "T1078"
  ],
  "severity": "high",
  "observables": [
    "event.actor.ip",
    "event.actor.user"
  ]
}
