let threshold = 2;
CiscoWSAEvent
| where DvcAction =~ 'BLOCK_ADMIN_FILE_TYPE'
| summarize i_src = makeset(SrcIpAddr) by UrlOriginal, bin(TimeGenerated, 15m)
| where array_length(i_src) >= threshold
| extend IPCustomEntity = i_src, UrlCustomEntity = UrlOriginal
name: Cisco WSA - Multiple attempts to download unwanted file
query: |
let threshold = 2;
CiscoWSAEvent
| where DvcAction =~ 'BLOCK_ADMIN_FILE_TYPE'
| summarize i_src = makeset(SrcIpAddr) by UrlOriginal, bin(TimeGenerated, 15m)
| where array_length(i_src) >= threshold
| extend IPCustomEntity = i_src, UrlCustomEntity = UrlOriginal
queryFrequency: 1h
triggerOperator: gt
requiredDataConnectors:
- datatypes:
- Syslog
connectorId: SyslogAma
status: Available
entityMappings:
- entityType: IP
fieldMappings:
- identifier: Address
columnName: IPCustomEntity
- entityType: URL
fieldMappings:
- identifier: Url
columnName: UrlCustomEntity
triggerThreshold: 0
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CiscoWSA/Analytic Rules/CiscoWSAMultipleUnwantedFileTypes.yaml
description: |
'Detects when multiple attempts to download unwanted file occur.'
version: 1.0.2
id: 46b6c6fc-2c1a-4270-be10-9d444d83f027
kind: Scheduled
relevantTechniques:
- T1189
severity: Medium
tactics:
- InitialAccess
queryPeriod: 1h