{
  "model_id": "SOC.097",
  "name": "Process Running From Deleted Binary",
  "description": "Long-lived process whose exe path shows as '(deleted)' in /proc — running malware that was deleted from disk to evade file scanning.",
  "threshold": 0.8,
  "evaluations": [
    {
      "name": "Proc",
      "type": "comparison",
      "left": "event.type",
      "operator": "==",
      "right": "process.longlived",
      "weight": 3
    },
    {
      "name": "Deleted",
      "type": "comparison",
      "left": "event.actor.exe",
      "operator": "LIKE",
      "right": "%(deleted)%",
      "weight": 5
    },
    {
      "name": "Logic",
      "type": "logical",
      "operator": "AND",
      "operands": [
        "Proc",
        "Deleted"
      ],
      "weight": 5
    }
  ],
  "actions": [
    {
      "type": "emit_alert",
      "reason": "Process running from deleted binary — fileless malware indicator."
    },
    {
      "type": "request_kill",
      "reason": "Kill the process."
    },
    {
      "type": "enqueue_evidence",
      "reason": "Capture /proc/\u003cpid\u003e/maps + cmdline."
    }
  ],
  "mitre_tactics": [
    "Defense Evasion",
    "Execution"
  ],
  "mitre_techniques": [
    "T1027",
    "T1620"
  ],
  "severity": "critical",
  "observables": [
    "event.actor.exe",
    "event.actor.pid"
  ]
}
