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 to private email

Back
Idedead9b5-243a-466b-ae78-2dae32ab1117
RulenameDigital Guardian - Exfiltration to private email
DescriptionDetects exfiltration to private email.
SeverityHigh
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/DigitalGuardianFileSentToExternal.yaml
Version1.0.2
Arm templateedead9b5-243a-466b-ae78-2dae32ab1117.json
Deploy To Azure
DigitalGuardianDLPEvent
| where NetworkApplicationProtocol =~ 'SMTP'
| where isnotempty(inspected_document)
| extend s_user = substring(SrcUserName, 0, indexof(SrcUserName, '@'))
| extend d_user = substring(DstUserName, 0, indexof(DstUserName, '@'))
| extend s_domain = extract(@'@(.*)', 1, SrcUserName)
| extend d_domain = extract(@'@(.*)', 1, DstUserName)
| where s_domain != d_domain
| where s_user == d_user
| extend AccountCustomEntity = SrcUserName
queryPeriod: 1h
severity: High
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Digital Guardian Data Loss Prevention/Analytic Rules/DigitalGuardianFileSentToExternal.yaml
status: Available
description: |
    'Detects exfiltration to private email.'
entityMappings:
- fieldMappings:
  - identifier: Name
    columnName: AccountCustomEntity
  entityType: Account
requiredDataConnectors:
- datatypes:
  - Syslog
  connectorId: SyslogAma
name: Digital Guardian - Exfiltration to private email
triggerThreshold: 0
query: |
  DigitalGuardianDLPEvent
  | where NetworkApplicationProtocol =~ 'SMTP'
  | where isnotempty(inspected_document)
  | extend s_user = substring(SrcUserName, 0, indexof(SrcUserName, '@'))
  | extend d_user = substring(DstUserName, 0, indexof(DstUserName, '@'))
  | extend s_domain = extract(@'@(.*)', 1, SrcUserName)
  | extend d_domain = extract(@'@(.*)', 1, DstUserName)
  | where s_domain != d_domain
  | where s_user == d_user
  | extend AccountCustomEntity = SrcUserName  
relevantTechniques:
- T1048
triggerOperator: gt
tactics:
- Exfiltration
id: edead9b5-243a-466b-ae78-2dae32ab1117
version: 1.0.2
kind: Scheduled
queryFrequency: 1h