let threshold = 5;
Bitglass
| where EventType =~ 'cloudaudit'
| where Action =~ 'Action DLPScan'
| where EventMessage has_all ('External', 'Shared', 'DLP')
| summarize f_cnt = makeset(SrcFileName) by User, bin(TimeGenerated, 10m)
| where array_length(f_cnt) >= threshold
| extend AccountCustomEntity = User
description: |
'Detects when multiple files shared with external entity.'
queryPeriod: 1h
severity: Medium
triggerThreshold: 0
queryFrequency: 1h
tactics:
- Exfiltration
version: 1.0.0
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Bitglass/Analytic Rules/BitglassFilesSharedWithExternal.yaml
query: |
let threshold = 5;
Bitglass
| where EventType =~ 'cloudaudit'
| where Action =~ 'Action DLPScan'
| where EventMessage has_all ('External', 'Shared', 'DLP')
| summarize f_cnt = makeset(SrcFileName) by User, bin(TimeGenerated, 10m)
| where array_length(f_cnt) >= threshold
| extend AccountCustomEntity = User
entityMappings:
- entityType: Account
fieldMappings:
- identifier: Name
columnName: AccountCustomEntity
triggerOperator: gt
name: Bitglass - Multiple files shared with external entity
requiredDataConnectors:
- connectorId: Bitglass
dataTypes:
- Bitglass
relevantTechniques:
- T1567
kind: Scheduled
status: Available
id: 09690f9b-33d1-4372-a6aa-eb7d3b3cdebc