{
  "model_id": "SOC.083",
  "name": "Outbound On Non-Standard Port",
  "description": "Outbound connection to a non-standard high port — possible exfil channel.",
  "threshold": 0.6,
  "evaluations": [
    {
      "name": "Conn",
      "type": "comparison",
      "left": "event.type",
      "operator": "==",
      "right": "network.connection.established",
      "weight": 2
    },
    {
      "name": "HighPort",
      "type": "comparison",
      "left": "event.raw.remote_port",
      "operator": "\u003e",
      "right": 30000,
      "weight": 3
    },
    {
      "name": "NotStandard",
      "type": "comparison",
      "left": "event.raw.remote_port",
      "operator": "!=",
      "right": 443,
      "weight": 3
    },
    {
      "name": "Logic",
      "type": "logical",
      "operator": "AND",
      "operands": [
        "Conn",
        "HighPort",
        "NotStandard"
      ],
      "weight": 4
    }
  ],
  "actions": [
    {
      "type": "emit_alert",
      "reason": "Outbound on non-standard port {event.raw.remote_port}."
    }
  ],
  "mitre_tactics": [
    "Exfiltration",
    "Command and Control"
  ],
  "mitre_techniques": [
    "T1041",
    "T1571"
  ],
  "severity": "medium",
  "observables": [
    "event.raw.remote_ip",
    "event.raw.remote_port"
  ]
}
