{
  "model_id": "SOC.067",
  "name": "Network Service Discovery",
  "description": "netstat or ss run repeatedly — attacker mapping outbound/inbound connections.",
  "threshold": 0.5,
  "evaluations": [
    {
      "name": "Netstat",
      "type": "comparison",
      "left": "event.raw.comm",
      "operator": "IN",
      "right": [
        "netstat",
        "ss"
      ],
      "weight": 4
    },
    {
      "name": "Count",
      "type": "aggregation",
      "aggregation": "COUNT",
      "field": "event.raw.comm",
      "weight": 3
    },
    {
      "name": "Many",
      "type": "comparison",
      "left": "@Count",
      "operator": "\u003e=",
      "right": 5,
      "weight": 4
    },
    {
      "name": "Logic",
      "type": "logical",
      "operator": "AND",
      "operands": [
        "Netstat",
        "Many"
      ],
      "weight": 4
    }
  ],
  "actions": [
    {
      "type": "emit_alert",
      "reason": "Network discovery burst — netstat/ss enumeration."
    }
  ],
  "mitre_tactics": [
    "Discovery"
  ],
  "mitre_techniques": [
    "T1049",
    "T1046"
  ],
  "severity": "low",
  "observables": [
    "event.actor.user"
  ]
}
