CiscoWSAEvent
| where isnotempty(AmpFileName)
| where AmpScanningVerdict in ('2', '3')
| extend IPCustomEntity = SrcIpAddr, FileCustomEntity = AmpFileName, AccountCustomEntity = SrcUserName
triggerOperator: gt
id: 9b61a945-ebcb-4245-b6e4-51f3addb5248
queryFrequency: 1h
entityMappings:
- entityType: IP
fieldMappings:
- columnName: IPCustomEntity
identifier: Address
- entityType: File
fieldMappings:
- columnName: FileCustomEntity
identifier: Name
- entityType: Account
fieldMappings:
- columnName: AccountCustomEntity
identifier: Name
requiredDataConnectors:
- dataTypes:
- CiscoWSAEvent
connectorId: CiscoWSA
severity: Medium
triggerThreshold: 0
kind: Scheduled
status: Available
queryPeriod: 1h
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CiscoWSA/Analytic Rules/CiscoWSAUnscannableFile.yaml
query: |
CiscoWSAEvent
| where isnotempty(AmpFileName)
| where AmpScanningVerdict in ('2', '3')
| extend IPCustomEntity = SrcIpAddr, FileCustomEntity = AmpFileName, AccountCustomEntity = SrcUserName
description: |
'Detects unscanned downloaded file.'
name: Cisco WSA - Unscannable file or scan error
relevantTechniques:
- T1189
tactics:
- InitialAccess
version: 1.0.0
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"workspace": {
"type": "String"
}
},
"resources": [
{
"id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/9b61a945-ebcb-4245-b6e4-51f3addb5248')]",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/9b61a945-ebcb-4245-b6e4-51f3addb5248')]",
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules",
"kind": "Scheduled",
"apiVersion": "2022-11-01",
"properties": {
"displayName": "Cisco WSA - Unscannable file or scan error",
"description": "'Detects unscanned downloaded file.'\n",
"severity": "Medium",
"enabled": true,
"query": "CiscoWSAEvent\n| where isnotempty(AmpFileName)\n| where AmpScanningVerdict in ('2', '3')\n| extend IPCustomEntity = SrcIpAddr, FileCustomEntity = AmpFileName, AccountCustomEntity = SrcUserName\n",
"queryFrequency": "PT1H",
"queryPeriod": "PT1H",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0,
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [
"InitialAccess"
],
"techniques": [
"T1189"
],
"alertRuleTemplateName": "9b61a945-ebcb-4245-b6e4-51f3addb5248",
"customDetails": null,
"entityMappings": [
{
"fieldMappings": [
{
"identifier": "Address",
"columnName": "IPCustomEntity"
}
],
"entityType": "IP"
},
{
"fieldMappings": [
{
"identifier": "Name",
"columnName": "FileCustomEntity"
}
],
"entityType": "File"
},
{
"fieldMappings": [
{
"identifier": "Name",
"columnName": "AccountCustomEntity"
}
],
"entityType": "Account"
}
],
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CiscoWSA/Analytic Rules/CiscoWSAUnscannableFile.yaml",
"templateVersion": "1.0.0",
"status": "Available"
}
}
]
}