Back
Ide61258ec-1a7f-454c-95b5-458a6edb1ea4
RulenameVaikora - Behavioral anomaly detected
DescriptionIdentifies AI agent behavioral anomalies flagged by Vaikora with an anomaly score of 0.7 or above, indicating significant deviation from the agent’s established behavioral baseline.
SeverityMedium
TacticsDefenseEvasion
Execution
TechniquesT1059
T1027
Required data connectorsVaikoraSentinel
KindScheduled
Query frequency30m
Query period1h
Trigger threshold0
Trigger operatorGreaterThan
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Vaikora-Sentinel/Analytic%20Rules/Vaikora%20-%20Behavioral%20Anomaly%20Detected.yaml
Version1.0.0
Arm templatee61258ec-1a7f-454c-95b5-458a6edb1ea4.json
Deploy To Azure
Vaikora_AgentSignals_CL
| where TimeGenerated > ago(1h)
| where is_anomaly_b == true
| where anomaly_score_d >= 0.7
| summarize
    AnomalyCount = count(),
    MaxAnomalyScore = max(anomaly_score_d),
    AvgAnomalyScore = avg(anomaly_score_d),
    AnomalyReasons = make_set(anomaly_reason_s),
    ActionTypes = make_set(action_type_s)
  by AgentId = agent_id_s, Severity = severity_s
| extend
    ReasonList = strcat_array(AnomalyReasons, "; "),
    ActionList = strcat_array(ActionTypes, ", ")
incidentConfiguration:
  createIncident: true
  groupingConfiguration:
    groupByEntities:
    - Account
    enabled: true
    matchingMethod: Selected
    reopenClosedIncident: false
    lookbackDuration: 1h
entityMappings:
- entityType: Account
  fieldMappings:
  - columnName: AgentId
    identifier: Name
query: |
  Vaikora_AgentSignals_CL
  | where TimeGenerated > ago(1h)
  | where is_anomaly_b == true
  | where anomaly_score_d >= 0.7
  | summarize
      AnomalyCount = count(),
      MaxAnomalyScore = max(anomaly_score_d),
      AvgAnomalyScore = avg(anomaly_score_d),
      AnomalyReasons = make_set(anomaly_reason_s),
      ActionTypes = make_set(action_type_s)
    by AgentId = agent_id_s, Severity = severity_s
  | extend
      ReasonList = strcat_array(AnomalyReasons, "; "),
      ActionList = strcat_array(ActionTypes, ", ")
suppressionEnabled: false
eventGroupingSettings:
  aggregationKind: AlertPerResult
id: e61258ec-1a7f-454c-95b5-458a6edb1ea4
queryFrequency: 30m
status: Available
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Vaikora-Sentinel/Analytic%20Rules/Vaikora%20-%20Behavioral%20Anomaly%20Detected.yaml
suppressionDuration: 30m
version: 1.0.0
severity: Medium
relevantTechniques:
- T1059
- T1027
name: Vaikora - Behavioral anomaly detected
kind: Scheduled
tactics:
- DefenseEvasion
- Execution
requiredDataConnectors:
- dataTypes:
  - Vaikora_AgentSignals_CL
  connectorId: VaikoraSentinel
description: |
  Identifies AI agent behavioral anomalies flagged by Vaikora with an anomaly score of 0.7 or above, indicating significant deviation from the agent's established behavioral baseline.
customDetails:
  AnomalyCount: AnomalyCount
  ActionTypes: ActionList
  MaxAnomalyScore: MaxAnomalyScore
  AnomalyReasons: ReasonList
  AvgAnomalyScore: AvgAnomalyScore
triggerOperator: GreaterThan
triggerThreshold: 0
queryPeriod: 1h
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "workspace": {
      "type": "String"
    }
  },
  "resources": [
    {
      "apiVersion": "2024-01-01-preview",
      "id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/e61258ec-1a7f-454c-95b5-458a6edb1ea4')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/e61258ec-1a7f-454c-95b5-458a6edb1ea4')]",
      "properties": {
        "alertRuleTemplateName": "e61258ec-1a7f-454c-95b5-458a6edb1ea4",
        "customDetails": {
          "ActionTypes": "ActionList",
          "AnomalyCount": "AnomalyCount",
          "AnomalyReasons": "ReasonList",
          "AvgAnomalyScore": "AvgAnomalyScore",
          "MaxAnomalyScore": "MaxAnomalyScore"
        },
        "description": "Identifies AI agent behavioral anomalies flagged by Vaikora with an anomaly score of 0.7 or above, indicating significant deviation from the agent's established behavioral baseline.\n",
        "displayName": "Vaikora - Behavioral anomaly detected",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "Account",
            "fieldMappings": [
              {
                "columnName": "AgentId",
                "identifier": "Name"
              }
            ]
          }
        ],
        "eventGroupingSettings": {
          "aggregationKind": "AlertPerResult"
        },
        "incidentConfiguration": {
          "createIncident": true,
          "groupingConfiguration": {
            "enabled": true,
            "groupByEntities": [
              "Account"
            ],
            "lookbackDuration": "PT1H",
            "matchingMethod": "Selected",
            "reopenClosedIncident": false
          }
        },
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Vaikora-Sentinel/Analytic%20Rules/Vaikora%20-%20Behavioral%20Anomaly%20Detected.yaml",
        "query": "Vaikora_AgentSignals_CL\n| where TimeGenerated > ago(1h)\n| where is_anomaly_b == true\n| where anomaly_score_d >= 0.7\n| summarize\n    AnomalyCount = count(),\n    MaxAnomalyScore = max(anomaly_score_d),\n    AvgAnomalyScore = avg(anomaly_score_d),\n    AnomalyReasons = make_set(anomaly_reason_s),\n    ActionTypes = make_set(action_type_s)\n  by AgentId = agent_id_s, Severity = severity_s\n| extend\n    ReasonList = strcat_array(AnomalyReasons, \"; \"),\n    ActionList = strcat_array(ActionTypes, \", \")\n",
        "queryFrequency": "PT30M",
        "queryPeriod": "PT1H",
        "severity": "Medium",
        "status": "Available",
        "subTechniques": [],
        "suppressionDuration": "PT30M",
        "suppressionEnabled": false,
        "tactics": [
          "DefenseEvasion",
          "Execution"
        ],
        "techniques": [
          "T1027",
          "T1059"
        ],
        "templateVersion": "1.0.0",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}