{
  "model_id": "SOC.027",
  "name": "Curl Pipe Bash Dropper",
  "description": "Process executing bash -c with a curl/wget download — classic one-liner dropper pattern.",
  "threshold": 0.85,
  "evaluations": [
    {
      "name": "Proc",
      "type": "comparison",
      "left": "event.type",
      "operator": "==",
      "right": "process.longlived",
      "weight": 2
    },
    {
      "name": "HasCurl",
      "type": "comparison",
      "left": "event.raw.cmdline",
      "operator": "LIKE",
      "right": "%curl%",
      "weight": 4
    },
    {
      "name": "HasBash",
      "type": "comparison",
      "left": "event.raw.cmdline",
      "operator": "LIKE",
      "right": "%bash%",
      "weight": 4
    },
    {
      "name": "HasPipe",
      "type": "comparison",
      "left": "event.raw.cmdline",
      "operator": "LIKE",
      "right": "%|%",
      "weight": 4
    },
    {
      "name": "Logic",
      "type": "logical",
      "operator": "AND",
      "operands": [
        "Proc",
        "HasCurl",
        "HasBash",
        "HasPipe"
      ],
      "weight": 5
    }
  ],
  "actions": [
    {
      "type": "emit_alert",
      "reason": "curl|bash dropper pattern detected."
    },
    {
      "type": "request_kill",
      "reason": "Kill dropper process."
    }
  ],
  "mitre_tactics": [
    "Execution"
  ],
  "mitre_techniques": [
    "T1059.004",
    "T1105"
  ],
  "severity": "critical",
  "observables": [
    "event.actor.exe",
    "event.actor.pid"
  ]
}
