GCPCloudDNS
| where Query has 'webhook.site'
| extend DNSCustomEntity = Query, IPCustomEntity = SrcIpAddr
relevantTechniques:
- T1567
name: Google DNS - Possible data exfiltration
requiredDataConnectors:
- dataTypes:
- GCPCloudDNS
connectorId: GCPDNSDataConnector
entityMappings:
- fieldMappings:
- identifier: DomainName
columnName: DNSCustomEntity
entityType: DNS
- fieldMappings:
- identifier: Address
columnName: IPCustomEntity
entityType: IP
triggerThreshold: 0
id: 705bed63-668f-4508-9d2d-26faf4010700
tactics:
- Exfiltration
version: 1.0.0
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/GoogleCloudPlatformDNS/Analytic Rules/GCPDNSDataExfiltration.yaml
queryPeriod: 15m
kind: Scheduled
queryFrequency: 15m
severity: High
description: |
'Detects possible data exfiltration.'
query: |
GCPCloudDNS
| where Query has 'webhook.site'
| extend DNSCustomEntity = Query, IPCustomEntity = SrcIpAddr
triggerOperator: gt
{
"$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"
}
]
}