{
  "model_id": "SOC.069",
  "name": "Sensitive File Search",
  "description": "find command searching for sensitive filenames (*.pem, *password*, *credentials*, id_rsa).",
  "threshold": 0.7,
  "evaluations": [
    {
      "name": "Find",
      "type": "comparison",
      "left": "event.raw.comm",
      "operator": "==",
      "right": "find",
      "weight": 3
    },
    {
      "name": "Sensitive",
      "type": "comparison",
      "left": "event.raw.cmdline",
      "operator": "LIKE",
      "right": "%.pem%",
      "weight": 4
    },
    {
      "name": "OrSensitive",
      "type": "logical",
      "operator": "OR",
      "operands": [
        "Sensitive",
        "Passwd",
        "IdRsa"
      ],
      "weight": 5
    },
    {
      "name": "Logic",
      "type": "logical",
      "operator": "AND",
      "operands": [
        "Find",
        "OrSensitive"
      ],
      "weight": 5
    },
    {
      "name": "Passwd",
      "type": "comparison",
      "left": "event.raw.cmdline",
      "operator": "LIKE",
      "right": "%passwd%",
      "weight": 4
    },
    {
      "name": "IdRsa",
      "type": "comparison",
      "left": "event.raw.cmdline",
      "operator": "LIKE",
      "right": "%id_rsa%",
      "weight": 4
    }
  ],
  "actions": [
    {
      "type": "emit_alert",
      "reason": "find searching for credential files — harvesting attempt."
    }
  ],
  "mitre_tactics": [
    "Discovery",
    "Credential Access"
  ],
  "mitre_techniques": [
    "T1083",
    "T1552"
  ],
  "severity": "high",
  "observables": [
    "event.actor.user"
  ]
}
