{
  "rule_id": "casa-unifi-ips-ameaca",
  "name": "UniFi: ameaça detectada pelo IPS",
  "description": "Evento de segurança da UniFi que não é bloqueio de regra de firewall (IPS/IDS, reputação de IP, honeypot).",
  "type": "query",
  "language": "kuery",
  "query": "cef.extensions.UNIFIcategory:\"Security\" and not cef.extensions.UNIFIpolicyType:\"Firewall\"",
  "index": [
    "logs-cef.log-casa*"
  ],
  "severity": "high",
  "risk_score": 73,
  "threat": [
    {
      "framework": "MITRE ATT&CK",
      "tactic": {
        "id": "TA0011",
        "name": "Command and Control",
        "reference": "https://attack.mitre.org/tactics/TA0011/"
      },
      "technique": [
        {
          "id": "T1071",
          "name": "Application Layer Protocol",
          "reference": "https://attack.mitre.org/techniques/T1071/",
          "subtechnique": []
        }
      ]
    },
    {
      "framework": "MITRE ATT&CK",
      "tactic": {
        "id": "TA0007",
        "name": "Discovery",
        "reference": "https://attack.mitre.org/tactics/TA0007/"
      },
      "technique": [
        {
          "id": "T1046",
          "name": "Network Service Discovery",
          "reference": "https://attack.mitre.org/techniques/T1046/",
          "subtechnique": []
        }
      ]
    }
  ],
  "tags": [
    "Casa",
    "UniFi",
    "Custom"
  ],
  "interval": "5m",
  "from": "now-6m",
  "max_signals": 100,
  "enabled": true,
  "version": 1
}
