let ip_except = dynamic(['127.0.0.2']); //Add exceptions to this list
CiscoWSAEvent
| where ipv4_is_private(SrcIpAddr) == false
| extend IPCustomEntity = SrcIpAddr
name: Cisco WSA - Internet access from public IP
query: |
let ip_except = dynamic(['127.0.0.2']); //Add exceptions to this list
CiscoWSAEvent
| where ipv4_is_private(SrcIpAddr) == false
| extend IPCustomEntity = SrcIpAddr
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CiscoWSA/Analytic Rules/CiscoWSAPublicIPSource.yaml
queryFrequency: 1h
triggerThreshold: 0
requiredDataConnectors:
- dataTypes:
- CiscoWSAEvent
connectorId: CiscoWSA
version: 1.0.0
status: Available
queryPeriod: 1h
id: 4250b050-e1c6-4926-af04-9484bbd7e94f
triggerOperator: gt
entityMappings:
- fieldMappings:
- identifier: Address
columnName: IPCustomEntity
entityType: IP
relevantTechniques:
- T1189
severity: Medium
description: |
'Detects internet access from public IP.'
kind: Scheduled
tactics:
- InitialAccess
{
"$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/4250b050-e1c6-4926-af04-9484bbd7e94f')]",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/4250b050-e1c6-4926-af04-9484bbd7e94f')]",
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules",
"kind": "Scheduled",
"apiVersion": "2022-11-01",
"properties": {
"displayName": "Cisco WSA - Internet access from public IP",
"description": "'Detects internet access from public IP.'\n",
"severity": "Medium",
"enabled": true,
"query": "let ip_except = dynamic(['127.0.0.2']); //Add exceptions to this list\nCiscoWSAEvent\n| where ipv4_is_private(SrcIpAddr) == false\n| extend IPCustomEntity = SrcIpAddr\n",
"queryFrequency": "PT1H",
"queryPeriod": "PT1H",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0,
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [
"InitialAccess"
],
"techniques": [
"T1189"
],
"alertRuleTemplateName": "4250b050-e1c6-4926-af04-9484bbd7e94f",
"customDetails": null,
"entityMappings": [
{
"fieldMappings": [
{
"identifier": "Address",
"columnName": "IPCustomEntity"
}
],
"entityType": "IP"
}
],
"status": "Available",
"templateVersion": "1.0.0",
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CiscoWSA/Analytic Rules/CiscoWSAPublicIPSource.yaml"
}
}
]
}