{
  "model_id": "SOC.085",
  "name": "Data Uploaded To File-Sharing Service",
  "description": "curl/wget PUT/POST to a known file-sharing service (transfer.sh, gofile.io, etc.).",
  "threshold": 0.7,
  "evaluations": [
    {
      "name": "Curl",
      "type": "comparison",
      "left": "event.raw.comm",
      "operator": "IN",
      "right": [
        "curl",
        "wget"
      ],
      "weight": 3
    },
    {
      "name": "Upload",
      "type": "comparison",
      "left": "event.raw.cmdline",
      "operator": "LIKE",
      "right": "%--upload-file%",
      "weight": 4
    },
    {
      "name": "OrTarget",
      "type": "logical",
      "operator": "OR",
      "operands": [
        "Upload",
        "TransferSh",
        "GoFile"
      ],
      "weight": 5
    },
    {
      "name": "Logic",
      "type": "logical",
      "operator": "AND",
      "operands": [
        "Curl",
        "OrTarget"
      ],
      "weight": 5
    },
    {
      "name": "TransferSh",
      "type": "comparison",
      "left": "event.raw.cmdline",
      "operator": "LIKE",
      "right": "%transfer.sh%",
      "weight": 5
    },
    {
      "name": "GoFile",
      "type": "comparison",
      "left": "event.raw.cmdline",
      "operator": "LIKE",
      "right": "%gofile.io%",
      "weight": 5
    }
  ],
  "actions": [
    {
      "type": "emit_alert",
      "reason": "File uploaded to file-sharing service — exfiltration."
    }
  ],
  "mitre_tactics": [
    "Exfiltration"
  ],
  "mitre_techniques": [
    "T1567",
    "T1048"
  ],
  "severity": "critical",
  "observables": [
    "event.raw.cmdline"
  ]
}
