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

Digital Guardian - Bulk exfiltration to external domain

Back
Id5f75a873-b524-4ba5-a3b8-2c20db517148
RulenameDigital Guardian - Bulk exfiltration to external domain
DescriptionDetects bulk exfiltration to external domain.
SeverityMedium
TacticsExfiltration
TechniquesT1048
Required data connectorsSyslogAma
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/DigitalGuardianFilesSentToExternalDomain.yaml
Version1.0.2
Arm template5f75a873-b524-4ba5-a3b8-2c20db517148.json
Deploy To Azure
let threshold = 10;
let corp_domain = dynamic(['example.com']);
DigitalGuardianDLPEvent
| where NetworkApplicationProtocol =~ 'SMTP'
| where isnotempty(inspected_document)
| extend s_domain = extract(@'@(.*)', 1, SrcUserName)
| extend d_domain = extract(@'@(.*)', 1, DstUserName)
| where s_domain in~ (corp_domain)
| where d_domain !in (corp_domain)
| summarize f = dcount(inspected_document) by SrcUserName, DstUserName, bin(TimeGenerated, 30m)
| where  f >= threshold
| extend AccountCustomEntity = SrcUserName
relevantTechniques:
- T1048
queryFrequency: 1h
description: |
    'Detects bulk exfiltration to external domain.'
severity: Medium
entityMappings:
- fieldMappings:
  - identifier: Name
    columnName: AccountCustomEntity
  entityType: Account
triggerThreshold: 0
tactics:
- Exfiltration
requiredDataConnectors:
- datatypes:
  - Syslog
  connectorId: SyslogAma
queryPeriod: 1h
id: 5f75a873-b524-4ba5-a3b8-2c20db517148
triggerOperator: gt
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Digital Guardian Data Loss Prevention/Analytic Rules/DigitalGuardianFilesSentToExternalDomain.yaml
query: |
  let threshold = 10;
  let corp_domain = dynamic(['example.com']);
  DigitalGuardianDLPEvent
  | where NetworkApplicationProtocol =~ 'SMTP'
  | where isnotempty(inspected_document)
  | extend s_domain = extract(@'@(.*)', 1, SrcUserName)
  | extend d_domain = extract(@'@(.*)', 1, DstUserName)
  | where s_domain in~ (corp_domain)
  | where d_domain !in (corp_domain)
  | summarize f = dcount(inspected_document) by SrcUserName, DstUserName, bin(TimeGenerated, 30m)
  | where  f >= threshold
  | extend AccountCustomEntity = SrcUserName  
name: Digital Guardian - Bulk exfiltration to external domain
version: 1.0.2
kind: Scheduled
status: Available