let f_cnt_upload_threshold = 5;
let f_upload_size_threshold = 5000000;
CiscoWSAEvent
| where HttpRequestMethod in~ ('POST', 'PUT')
| where isnotempty(AmpFileName)
| where UrlCategory in~ ('IW_fts', 'IW_osb')
| where DstBytes > f_upload_size_threshold
| summarize count() by AmpFileName, SrcUserName, bin(TimeGenerated, 10m)
| where count_ >= f_cnt_upload_threshold
| extend AccountCustomEntity = SrcUserName
name: Cisco WSA - Unexpected uploads
query: |
let f_cnt_upload_threshold = 5;
let f_upload_size_threshold = 5000000;
CiscoWSAEvent
| where HttpRequestMethod in~ ('POST', 'PUT')
| where isnotempty(AmpFileName)
| where UrlCategory in~ ('IW_fts', 'IW_osb')
| where DstBytes > f_upload_size_threshold
| summarize count() by AmpFileName, SrcUserName, bin(TimeGenerated, 10m)
| where count_ >= f_cnt_upload_threshold
| extend AccountCustomEntity = SrcUserName
entityMappings:
- entityType: Account
fieldMappings:
- columnName: AccountCustomEntity
identifier: Name
queryPeriod: 1h
version: 1.0.3
tactics:
- Exfiltration
triggerOperator: gt
kind: Scheduled
triggerThreshold: 0
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CiscoWSA/Analytic Rules/CiscoWSADataExfiltration.yaml
relevantTechniques:
- T1567
id: 32c460ad-2d40-43e9-8ead-5cdd1d7a3163
severity: High
requiredDataConnectors:
- connectorId: SyslogAma
datatypes:
- Syslog
status: Available
description: |
'Detects unexpected file uploads.'
queryFrequency: 1h