Microsoft Sentinel Analytic Rules
cloudbrothers.infoAzure Sentinel RepoToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

Digital Guardian - Exfiltration using DNS protocol

Back
Id39e25deb-49bb-4cdb-89c1-c466d596e2bd
RulenameDigital Guardian - Exfiltration using DNS protocol
DescriptionDetects exfiltration using DNS protocol.
SeverityHigh
TacticsExfiltration
TechniquesT1048
Required data connectorsDigitalGuardianDLP
SyslogAma
KindScheduled
Query frequency1h
Query period1h
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Digital Guardian Data Loss Prevention/Analytic Rules/DigitalGuardianExfiltrationOverDNS.yaml
Version1.0.1
Arm template39e25deb-49bb-4cdb-89c1-c466d596e2bd.json
Deploy To Azure
DigitalGuardianDLPEvent
| where DstPortNumber == 53
| extend AccountCustomEntity = SrcUserName
id: 39e25deb-49bb-4cdb-89c1-c466d596e2bd
triggerOperator: gt
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Digital Guardian Data Loss Prevention/Analytic Rules/DigitalGuardianExfiltrationOverDNS.yaml
requiredDataConnectors:
- dataTypes:
  - DigitalGuardianDLPEvent
  connectorId: DigitalGuardianDLP
- datatypes:
  - Syslog
  connectorId: SyslogAma
description: |
    'Detects exfiltration using DNS protocol.'
severity: High
queryPeriod: 1h
kind: Scheduled
tactics:
- Exfiltration
queryFrequency: 1h
query: |
  DigitalGuardianDLPEvent
  | where DstPortNumber == 53
  | extend AccountCustomEntity = SrcUserName  
version: 1.0.1
triggerThreshold: 0
name: Digital Guardian - Exfiltration using DNS protocol
entityMappings:
- entityType: Account
  fieldMappings:
  - columnName: AccountCustomEntity
    identifier: Name
status: Available
relevantTechniques:
- T1048
{
  "$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/39e25deb-49bb-4cdb-89c1-c466d596e2bd')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/39e25deb-49bb-4cdb-89c1-c466d596e2bd')]",
      "properties": {
        "alertRuleTemplateName": "39e25deb-49bb-4cdb-89c1-c466d596e2bd",
        "customDetails": null,
        "description": "'Detects exfiltration using DNS protocol.'\n",
        "displayName": "Digital Guardian - Exfiltration using DNS protocol",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "Account",
            "fieldMappings": [
              {
                "columnName": "AccountCustomEntity",
                "identifier": "Name"
              }
            ]
          }
        ],
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Digital Guardian Data Loss Prevention/Analytic Rules/DigitalGuardianExfiltrationOverDNS.yaml",
        "query": "DigitalGuardianDLPEvent\n| where DstPortNumber == 53\n| extend AccountCustomEntity = SrcUserName\n",
        "queryFrequency": "PT1H",
        "queryPeriod": "PT1H",
        "severity": "High",
        "status": "Available",
        "subTechniques": [],
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "Exfiltration"
        ],
        "techniques": [
          "T1048"
        ],
        "templateVersion": "1.0.1",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}