{
  "model_id": "SOC.028",
  "name": "Python Suspicious -c Payload",
  "description": "Python process launched with -c flag and encoded/base64 payload — common inLiving memory attacks.",
  "threshold": 0.7,
  "evaluations": [
    {
      "name": "Python",
      "type": "comparison",
      "left": "event.raw.comm",
      "operator": "LIKE",
      "right": "python%",
      "weight": 3
    },
    {
      "name": "DashC",
      "type": "comparison",
      "left": "event.raw.cmdline",
      "operator": "LIKE",
      "right": "%-c%",
      "weight": 4
    },
    {
      "name": "HasB64",
      "type": "comparison",
      "left": "event.raw.cmdline",
      "operator": "LIKE",
      "right": "%base64%",
      "weight": 4
    },
    {
      "name": "Logic",
      "type": "logical",
      "operator": "AND",
      "operands": [
        "Python",
        "DashC",
        "HasB64"
      ],
      "weight": 5
    }
  ],
  "actions": [
    {
      "type": "emit_alert",
      "reason": "Python one-liner with base64 payload — investigate."
    }
  ],
  "mitre_tactics": [
    "Execution"
  ],
  "mitre_techniques": [
    "T1059.006"
  ],
  "severity": "high",
  "observables": [
    "event.actor.exe",
    "event.actor.pid"
  ]
}
