Microsoft Sentinel Analytic Rules
cloudbrothers.infoAzure Sentinel RepoToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

PaloAlto - Forbidden countries

Back
Id9fcc7734-4d1b-11ec-81d3-0242ac130003
RulenamePaloAlto - Forbidden countries
DescriptionDetects suspicious connections from forbidden countries.
SeverityMedium
TacticsInitialAccess
TechniquesT1190
T1133
Required data connectorsCefAma
KindScheduled
Query frequency1h
Query period1h
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/PaloAltoCDL/Analytic Rules/PaloAltoCDLUnexpectedCountries.yaml
Version1.0.4
Arm template9fcc7734-4d1b-11ec-81d3-0242ac130003.json
Deploy To Azure
let bl_countries = dynamic(['CH', 'RU']);
PaloAltoCDLEvent 
| where EventResourceId =~ 'TRAFFIC'
| where MaliciousIPCountry  in (bl_countries)
| summarize count() by DstUsername, SrcIpAddr 
| extend IPCustomEntity = SrcIpAddr, AccountCustomEntity = DstUsername
name: PaloAlto - Forbidden countries
relevantTechniques:
- T1190
- T1133
id: 9fcc7734-4d1b-11ec-81d3-0242ac130003
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/PaloAltoCDL/Analytic Rules/PaloAltoCDLUnexpectedCountries.yaml
requiredDataConnectors:
- dataTypes:
  - CommonSecurityLog
  connectorId: CefAma
version: 1.0.4
severity: Medium
triggerThreshold: 0
queryPeriod: 1h
entityMappings:
- fieldMappings:
  - identifier: Name
    columnName: AccountCustomEntity
  entityType: Account
- fieldMappings:
  - identifier: Address
    columnName: IPCustomEntity
  entityType: IP
queryFrequency: 1h
status: Available
query: |
  let bl_countries = dynamic(['CH', 'RU']);
  PaloAltoCDLEvent 
  | where EventResourceId =~ 'TRAFFIC'
  | where MaliciousIPCountry  in (bl_countries)
  | summarize count() by DstUsername, SrcIpAddr 
  | extend IPCustomEntity = SrcIpAddr, AccountCustomEntity = DstUsername  
tactics:
- InitialAccess
kind: Scheduled
description: |
    'Detects suspicious connections from forbidden countries.'
triggerOperator: gt