-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Add Vaikora AI Agent Behavioral Signals — Microsoft Sentinel Solution v1.0.0 #13983
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
mazamizo21
wants to merge
38
commits into
Azure:master
Choose a base branch
from
mazamizo21:feature/vaikora-sentinel-v1.0.0
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
f3ea143
fix: remove testParameters.json from 3.0.1.zip (cert rule 300.4.1.1)
c1fb7ee
feat: add Vaikora AI Agent Signals connector v3.0.0
15f845d
feat: add Vaikora AI Agent Signals connector v3.0.0
28cac8d
feat: add Vaikora AI Agent Signals connector v3.0.0
65bbf3f
feat: add Vaikora AI Agent Signals connector v3.0.0
b9ddbf8
fix: add missing parameters (contentProductId, dcrImmutableId, vaikor…
bca066e
fix: correct solutionId to vaikora-sentinel-connector (matched Partne…
d8cd193
fix: remove stray solutions — keep only Vaikora-Sentinel
mazamizo21 18b6f1c
fix: remove stray solutions — keep only Vaikora-Sentinel
mazamizo21 13f8f42
fix: remove stray solutions — keep only Vaikora-Sentinel
mazamizo21 02402f7
fix: remove stray solutions — keep only Vaikora-Sentinel
mazamizo21 02f5e43
fix: remove stray solutions — keep only Vaikora-Sentinel
mazamizo21 cc0ccc6
fix: remove stray solutions — keep only Vaikora-Sentinel
mazamizo21 f69375c
fix: remove stray solutions — keep only Vaikora-Sentinel
mazamizo21 0faba1a
fix: remove stray solutions — keep only Vaikora-Sentinel
mazamizo21 ebda76a
fix: remove stray solutions — keep only Vaikora-Sentinel
mazamizo21 52197d3
fix: remove stray solutions — keep only Vaikora-Sentinel
mazamizo21 6bbc32c
fix: remove stray solutions — keep only Vaikora-Sentinel
mazamizo21 fcf6828
fix: remove stray solutions — keep only Vaikora-Sentinel
mazamizo21 422e25d
fix: remove stray solutions — keep only Vaikora-Sentinel
mazamizo21 b3f3893
fix: remove stray solutions — keep only Vaikora-Sentinel
mazamizo21 9272f79
fix: remove stray solutions — keep only Vaikora-Sentinel
mazamizo21 f467a23
fix: remove stray solutions — keep only Vaikora-Sentinel
mazamizo21 d3c587e
fix: remove stray solutions — keep only Vaikora-Sentinel
mazamizo21 d2c203c
fix: remove stray solutions — keep only Vaikora-Sentinel
mazamizo21 94c42e3
fix: remove stray solutions — keep only Vaikora-Sentinel
mazamizo21 7d3db5f
fix: bump version to 3.0.0
mazamizo21 7d663af
fix: bump version to 3.0.0
mazamizo21 13d0706
fix: remove stray Vaikora-SentinelOne from Vaikora-Sentinel PR
mazamizo21 42d60cd
fix: remove stray Vaikora-SentinelOne from Vaikora-Sentinel PR
mazamizo21 a24eae6
fix: remove stray Vaikora-SentinelOne from Vaikora-Sentinel PR
mazamizo21 2b0b0f0
fix: remove stray Vaikora-SentinelOne from Vaikora-Sentinel PR
mazamizo21 089116d
fix: remove stray Vaikora-SentinelOne from Vaikora-Sentinel PR
mazamizo21 9266b54
fix: remove stray Vaikora-SentinelOne from Vaikora-Sentinel PR
mazamizo21 ee45338
fix: remove stray Vaikora-SentinelOne from Vaikora-Sentinel PR
mazamizo21 9e1d98f
fix: remove stray Vaikora-SentinelOne from Vaikora-Sentinel PR
mazamizo21 e3f8f09
fix: remove Cyren-SentinelOne changes not part of this PR
9d420a6
fix: address PR review feedback for Vaikora-Sentinel solution
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
63 changes: 63 additions & 0 deletions
63
Solutions/Vaikora-Sentinel/Analytic Rules/Vaikora - Agent Policy Violation.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,63 @@ | ||
| id: c3d4e5f6-a7b8-9012-cdef-123456789012 | ||
| name: Vaikora - Agent policy violation | ||
| description: | | ||
| Identifies AI agent actions explicitly blocked by a Vaikora policy. Repeated violations from the same agent may indicate prompt injection, policy circumvention, or a compromised workflow. | ||
| severity: Medium | ||
| status: Available | ||
| requiredDataConnectors: | ||
| - connectorId: VaikoraSentinel | ||
| dataTypes: | ||
| - Vaikora_AgentSignals_CL | ||
| queryFrequency: 15m | ||
| queryPeriod: 1h | ||
| triggerOperator: gt | ||
| triggerThreshold: 0 | ||
| tactics: | ||
| - Impact | ||
| - DefenseEvasion | ||
| relevantTechniques: | ||
| - T1078 | ||
| - T1562 | ||
| query: | | ||
| Vaikora_AgentSignals_CL | ||
| | where TimeGenerated > ago(1h) | ||
| | where policy_decision_s == "block" | ||
| | summarize | ||
| ViolationCount = count(), | ||
| PolicyIds = make_set(policy_id_s), | ||
| ActionTypes = make_set(action_type_s), | ||
| ResourceTypes = make_set(resource_type_s), | ||
| MaxRiskScore = max(risk_score_d), | ||
| Severities = make_set(severity_s), | ||
| LogHashes = make_set(log_hash_s) | ||
| by AgentId = agent_id_s | ||
| | extend | ||
| PolicyList = strcat_array(PolicyIds, ", "), | ||
| ActionList = strcat_array(ActionTypes, ", "), | ||
| ResourceList = strcat_array(ResourceTypes, ", ") | ||
| | where ViolationCount >= 1 | ||
| suppressionDuration: 15m | ||
| suppressionEnabled: false | ||
| incidentConfiguration: | ||
| createIncident: true | ||
| groupingConfiguration: | ||
| enabled: true | ||
| reopenClosedIncident: false | ||
| lookbackDuration: 1h | ||
| matchingMethod: Selected | ||
| groupByEntities: | ||
| - Account | ||
| eventGroupingSettings: | ||
| aggregationKind: AlertPerResult | ||
| customDetails: | ||
| ViolationCount: ViolationCount | ||
| PolicyIds: PolicyList | ||
| ActionTypes: ActionList | ||
| MaxRiskScore: MaxRiskScore | ||
| entityMappings: | ||
| - entityType: Account | ||
| fieldMappings: | ||
| - identifier: Name | ||
| columnName: AgentId | ||
| version: 1.0.0 | ||
| kind: Scheduled |
61 changes: 61 additions & 0 deletions
61
Solutions/Vaikora-Sentinel/Analytic Rules/Vaikora - Behavioral Anomaly Detected.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,61 @@ | ||
| id: b2c3d4e5-f6a7-8901-bcde-f12345678901 | ||
| name: Vaikora - Behavioral anomaly detected | ||
| 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. | ||
| severity: Medium | ||
| status: Available | ||
| requiredDataConnectors: | ||
| - connectorId: VaikoraSentinel | ||
| dataTypes: | ||
| - Vaikora_AgentSignals_CL | ||
| queryFrequency: 30m | ||
| queryPeriod: 1h | ||
| triggerOperator: gt | ||
| triggerThreshold: 0 | ||
| tactics: | ||
| - DefenseEvasion | ||
| - Execution | ||
| relevantTechniques: | ||
| - T1059 | ||
| - T1027 | ||
| 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, ", ") | ||
| suppressionDuration: 30m | ||
| suppressionEnabled: false | ||
| incidentConfiguration: | ||
| createIncident: true | ||
| groupingConfiguration: | ||
| enabled: true | ||
| reopenClosedIncident: false | ||
| lookbackDuration: 1h | ||
| matchingMethod: Selected | ||
| groupByEntities: | ||
| - Account | ||
| eventGroupingSettings: | ||
| aggregationKind: AlertPerResult | ||
| customDetails: | ||
| MaxAnomalyScore: MaxAnomalyScore | ||
| AvgAnomalyScore: AvgAnomalyScore | ||
| AnomalyCount: AnomalyCount | ||
| AnomalyReasons: ReasonList | ||
| ActionTypes: ActionList | ||
| entityMappings: | ||
| - entityType: Account | ||
| fieldMappings: | ||
| - identifier: Name | ||
| columnName: AgentId | ||
| version: 1.0.0 | ||
| kind: Scheduled |
64 changes: 64 additions & 0 deletions
64
Solutions/Vaikora-Sentinel/Analytic Rules/Vaikora - High Risk AI Agent Action.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,64 @@ | ||||||
| id: a1b2c3d4-e5f6-7890-abcd-ef1234567890 | ||||||
| name: Vaikora - High risk AI agent action detected | ||||||
|
||||||
| name: Vaikora - High risk AI agent action detected | |
| name: Vaikora high-risk AI agent action detected |
107 changes: 107 additions & 0 deletions
107
...ons/Vaikora-Sentinel/Data Connectors/VaikoraSentinel_CCF/Vaikora_ConnectorDefinition.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,107 @@ | ||
| { | ||
| "name": "VaikoraSentinel", | ||
| "apiVersion": "2025-09-01", | ||
| "type": "Microsoft.SecurityInsights/dataConnectorDefinitions", | ||
| "location": "{{location}}", | ||
| "kind": "Customizable", | ||
| "properties": { | ||
| "connectorUiConfig": { | ||
| "id": "VaikoraSentinel", | ||
| "connectorId": "VaikoraSentinel", | ||
| "title": "Vaikora AI Agent Behavioral Signals", | ||
| "publisher": "Data443 Risk Mitigation, Inc.", | ||
| "descriptionMarkdown": "Ingest AI agent behavioral signals from the Vaikora API into Microsoft Sentinel using the Codeless Connector Framework (CCF). Monitor agent actions, policy decisions, anomaly scores, and risk levels to detect suspicious AI activity in your environment.", | ||
| "graphQueriesTableName": "Vaikora_AgentSignals_CL", | ||
| "graphQueries": [ | ||
| { | ||
| "metricName": "Total Vaikora agent signals received", | ||
| "legend": "Vaikora Agent Signals", | ||
| "baseQuery": "Vaikora_AgentSignals_CL" | ||
| } | ||
| ], | ||
| "sampleQueries": [ | ||
| { | ||
| "description": "High-risk agent actions (last 24 hours)", | ||
| "query": "Vaikora_AgentSignals_CL | where TimeGenerated >= ago(24h) | where risk_score_d >= 75 | project TimeGenerated, agent_id_s, action_type_s, severity_s, policy_decision_s, risk_score_d, anomaly_score_d" | ||
| }, | ||
| { | ||
| "description": "Anomalous agent behavior (last 7 days)", | ||
| "query": "Vaikora_AgentSignals_CL | where TimeGenerated >= ago(7d) | where is_anomaly_b == true | summarize AnomalyCount=count(), AvgAnomalyScore=avg(anomaly_score_d) by agent_id_s, action_type_s | order by AnomalyCount desc" | ||
| }, | ||
| { | ||
| "description": "Blocked policy decisions (last 48 hours)", | ||
| "query": "Vaikora_AgentSignals_CL | where TimeGenerated >= ago(48h) | where policy_decision_s == 'block' | project TimeGenerated, agent_id_s, action_type_s, resource_type_s, policy_id_s, log_hash_s" | ||
| } | ||
| ], | ||
| "dataTypes": [ | ||
| { | ||
| "name": "Vaikora_AgentSignals_CL", | ||
| "lastDataReceivedQuery": "Vaikora_AgentSignals_CL | summarize Time = max(TimeGenerated) | where isnotempty(Time)" | ||
| } | ||
| ], | ||
| "connectivityCriteria": [ | ||
| { | ||
| "type": "HasDataConnectors" | ||
| } | ||
| ], | ||
| "availability": { | ||
| "status": "Available", | ||
| "isPreview": false | ||
| }, | ||
| "permissions": { | ||
| "resourceProvider": [ | ||
| { | ||
| "provider": "Microsoft.OperationalInsights/workspaces", | ||
| "permissionsDisplayText": "Read and write permissions are required.", | ||
| "providerDisplayName": "Workspace", | ||
| "scope": "Workspace", | ||
| "requiredPermissions": { | ||
| "write": true, | ||
| "read": true, | ||
| "delete": false | ||
| } | ||
| } | ||
| ], | ||
| "customs": [ | ||
| { | ||
| "name": "Vaikora API Key", | ||
| "description": "A Vaikora API key (vk_xxxxx) with read access to the actions endpoint. Obtain this from your Vaikora dashboard under Settings > API Keys." | ||
| } | ||
| ] | ||
| }, | ||
| "instructionSteps": [ | ||
| { | ||
| "title": "Connect Vaikora AI Agent Behavioral Signals", | ||
| "description": "To enable the Vaikora connector, provide your Vaikora API key and the agent ID you want to monitor, then click Connect.\n\nYour API key is available in the [Vaikora dashboard](https://app.vaikora.com) under **Settings > API Keys**. The agent ID is the UUID shown on your agent's detail page.", | ||
| "instructions": [ | ||
| { | ||
| "type": "Textbox", | ||
| "parameters": { | ||
| "label": "Vaikora API Key", | ||
| "placeholder": "vk_xxxxxxxxxxxxxxxxxxxxxxxx", | ||
| "type": "password", | ||
| "name": "vaikoraApiKey" | ||
| } | ||
| }, | ||
| { | ||
| "type": "Textbox", | ||
| "parameters": { | ||
| "label": "Vaikora Agent ID", | ||
| "placeholder": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", | ||
| "type": "text", | ||
| "name": "vaikoraAgentId" | ||
| } | ||
| }, | ||
| { | ||
| "type": "ConnectionToggleButton", | ||
| "parameters": { | ||
| "connectLabel": "Connect", | ||
| "name": "connect" | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } |
50 changes: 50 additions & 0 deletions
50
Solutions/Vaikora-Sentinel/Data Connectors/VaikoraSentinel_CCF/Vaikora_DCR.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| { | ||
| "name": "dcr-vaikora-agent-signals", | ||
| "apiVersion": "2024-03-11", | ||
| "type": "Microsoft.Insights/dataCollectionRules", | ||
| "location": "{{location}}", | ||
| "properties": { | ||
| "dataCollectionEndpointId": "{{dataCollectionEndpointId}}", | ||
| "streamDeclarations": { | ||
| "Custom-Vaikora_AgentSignals_CL": { | ||
| "columns": [ | ||
| { "name": "TimeGenerated", "type": "datetime" }, | ||
| { "name": "payload", "type": "dynamic" }, | ||
| { "name": "timestamp", "type": "datetime" }, | ||
| { "name": "action_type_s", "type": "string" }, | ||
| { "name": "agent_id_s", "type": "string" }, | ||
| { "name": "status_s", "type": "string" }, | ||
| { "name": "severity_s", "type": "string" }, | ||
| { "name": "policy_decision_s", "type": "string" }, | ||
| { "name": "policy_id_s", "type": "string" }, | ||
| { "name": "risk_score_d", "type": "int" }, | ||
| { "name": "risk_level_s", "type": "string" }, | ||
| { "name": "is_anomaly_b", "type": "boolean" }, | ||
| { "name": "anomaly_score_d", "type": "real" }, | ||
| { "name": "anomaly_reason_s", "type": "string" }, | ||
| { "name": "threat_detected_b", "type": "boolean" }, | ||
| { "name": "threat_score_d", "type": "int" }, | ||
| { "name": "log_hash_s", "type": "string" }, | ||
| { "name": "resource_type_s", "type": "string" }, | ||
| { "name": "action_id_s", "type": "string" } | ||
| ] | ||
| } | ||
| }, | ||
| "destinations": { | ||
| "logAnalytics": [ | ||
| { | ||
| "workspaceResourceId": "{{workspaceResourceId}}", | ||
| "name": "clv2ws1" | ||
| } | ||
| ] | ||
| }, | ||
| "dataFlows": [ | ||
| { | ||
| "streams": [ "Custom-Vaikora_AgentSignals_CL" ], | ||
| "destinations": [ "clv2ws1" ], | ||
| "transformKql": "source | extend p=todynamic(payload) | extend TimeGenerated=todatetime(timestamp), action_type_s=tostring(p.action_type), agent_id_s=tostring(p.agent_id), status_s=tostring(p.status), severity_s=tostring(p.severity), policy_decision_s=tostring(p.policy_decision), policy_id_s=tostring(p.policy_id), risk_score_d=toint(p.risk_score), risk_level_s=tostring(p.risk_level), is_anomaly_b=tobool(p.is_anomaly), anomaly_score_d=toreal(p.anomaly_score), anomaly_reason_s=tostring(p.anomaly_reason), threat_detected_b=tobool(p.threat_detected), threat_score_d=toint(p.threat_score), log_hash_s=tostring(p.log_hash), resource_type_s=tostring(p.resource_type), action_id_s=tostring(p.id) | project TimeGenerated, action_type_s, agent_id_s, status_s, severity_s, policy_decision_s, policy_id_s, risk_score_d, risk_level_s, is_anomaly_b, anomaly_score_d, anomaly_reason_s, threat_detected_b, threat_score_d, log_hash_s, resource_type_s, action_id_s", | ||
| "outputStream": "Custom-Vaikora_AgentSignals_CL" | ||
| } | ||
| ] | ||
| } | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The rule
idlooks like a placeholder/non-generated GUID (patterneda1b2c3...). Even if it matches GUID formatting, these IDs must be globally unique and not reused; please regenerate using a GUID generator. This also applies to the other two analytic rules in this PR (b2c3d4...,c3d4e5...).