{
  "model_id": "SOC.029",
  "name": "Netcat Listener",
  "description": "nc/ncat/socat process running in listener mode — could be a bind shell or data exfil channel.",
  "threshold": 0.7,
  "evaluations": [
    {
      "name": "NC",
      "type": "comparison",
      "left": "event.raw.comm",
      "operator": "IN",
      "right": [
        "nc",
        "ncat",
        "socat"
      ],
      "weight": 4
    },
    {
      "name": "Listen",
      "type": "comparison",
      "left": "event.raw.cmdline",
      "operator": "LIKE",
      "right": "%-l%",
      "weight": 4
    },
    {
      "name": "Logic",
      "type": "logical",
      "operator": "AND",
      "operands": [
        "NC",
        "Listen"
      ],
      "weight": 5
    }
  ],
  "actions": [
    {
      "type": "emit_alert",
      "reason": "Netcat/socat listener detected — possible bind shell."
    },
    {
      "type": "enqueue_evidence",
      "reason": "Capture cmdline + connections."
    }
  ],
  "mitre_tactics": [
    "Execution",
    "Command and Control"
  ],
  "mitre_techniques": [
    "T1059.004",
    "T1095"
  ],
  "severity": "high",
  "observables": [
    "event.actor.exe",
    "event.actor.pid"
  ]
}
