BloodHoundEnterprise
| where data_type == "posture"
| where created_at > ago (7d)
| summarize min(exposure_index), arg_max(created_at, exposure_index) by domain_name
| extend min_exposure = min_exposure_index * 100, latest_exposure = exposure_index * 100
| where latest_exposure - min_exposure > 5
severity: High
name: BloodHound Enterprise - Exposure increase
requiredDataConnectors:
- dataTypes:
- BloodHoundEnterprise
connectorId: BloodHoundEnterprise
id: b1f6aed2-ebb9-4fe4-bd7c-6657d02a0cc8
tactics: []
queryFrequency: 7d
triggerOperator: gt
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/BloodHound Enterprise/Analytic Rules/BloodHoundEnterpriseExposure.yaml
description: |
'The exposure for a domain has increased by more than 5% over the past 7 days.'
triggerThreshold: 0
kind: Scheduled
relevantTechniques: []
query: |
BloodHoundEnterprise
| where data_type == "posture"
| where created_at > ago (7d)
| summarize min(exposure_index), arg_max(created_at, exposure_index) by domain_name
| extend min_exposure = min_exposure_index * 100, latest_exposure = exposure_index * 100
| where latest_exposure - min_exposure > 5
entityMappings:
status: Available
version: 1.0.0
queryPeriod: 7d
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"workspace": {
"type": "String"
}
},
"resources": [
{
"id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/b1f6aed2-ebb9-4fe4-bd7c-6657d02a0cc8')]",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/b1f6aed2-ebb9-4fe4-bd7c-6657d02a0cc8')]",
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules",
"kind": "Scheduled",
"apiVersion": "2022-11-01-preview",
"properties": {
"displayName": "BloodHound Enterprise - Exposure increase",
"description": "'The exposure for a domain has increased by more than 5% over the past 7 days.'\n",
"severity": "High",
"enabled": true,
"query": "BloodHoundEnterprise\n| where data_type == \"posture\"\n| where created_at > ago (7d)\n| summarize min(exposure_index), arg_max(created_at, exposure_index) by domain_name\n| extend min_exposure = min_exposure_index * 100, latest_exposure = exposure_index * 100\n| where latest_exposure - min_exposure > 5\n",
"queryFrequency": "P7D",
"queryPeriod": "P7D",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0,
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [],
"techniques": [],
"alertRuleTemplateName": "b1f6aed2-ebb9-4fe4-bd7c-6657d02a0cc8",
"customDetails": null,
"entityMappings": null,
"status": "Available",
"templateVersion": "1.0.0",
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/BloodHound Enterprise/Analytic Rules/BloodHoundEnterpriseExposure.yaml"
}
}
]
}