GCPCloudDNS
| where Query has 'webhook.site'
| extend DNSCustomEntity = Query, IPCustomEntity = SrcIpAddr
name: Google DNS - Possible data exfiltration
severity: High
queryFrequency: 15m
triggerOperator: gt
relevantTechniques:
- T1567
version: 1.0.0
description: |
'Detects possible data exfiltration.'
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/GoogleCloudPlatformDNS/Analytic Rules/GCPDNSDataExfiltration.yaml
requiredDataConnectors:
- connectorId: GCPDNSDataConnector
dataTypes:
- GCPCloudDNS
entityMappings:
- fieldMappings:
- identifier: DomainName
columnName: DNSCustomEntity
entityType: DNS
- fieldMappings:
- identifier: Address
columnName: IPCustomEntity
entityType: IP
tactics:
- Exfiltration
queryPeriod: 15m
query: |
GCPCloudDNS
| where Query has 'webhook.site'
| extend DNSCustomEntity = Query, IPCustomEntity = SrcIpAddr
kind: Scheduled
triggerThreshold: 0
id: 705bed63-668f-4508-9d2d-26faf4010700
{
"$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/705bed63-668f-4508-9d2d-26faf4010700')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/705bed63-668f-4508-9d2d-26faf4010700')]",
"properties": {
"alertRuleTemplateName": "705bed63-668f-4508-9d2d-26faf4010700",
"customDetails": null,
"description": "'Detects possible data exfiltration.'\n",
"displayName": "Google DNS - Possible data exfiltration",
"enabled": true,
"entityMappings": [
{
"entityType": "DNS",
"fieldMappings": [
{
"columnName": "DNSCustomEntity",
"identifier": "DomainName"
}
]
},
{
"entityType": "IP",
"fieldMappings": [
{
"columnName": "IPCustomEntity",
"identifier": "Address"
}
]
}
],
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/GoogleCloudPlatformDNS/Analytic Rules/GCPDNSDataExfiltration.yaml",
"query": "GCPCloudDNS\n| where Query has 'webhook.site'\n| extend DNSCustomEntity = Query, IPCustomEntity = SrcIpAddr\n",
"queryFrequency": "PT15M",
"queryPeriod": "PT15M",
"severity": "High",
"subTechniques": [],
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [
"Exfiltration"
],
"techniques": [
"T1567"
],
"templateVersion": "1.0.0",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0
},
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
}
]
}