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
description: |
    'Detects suspicious connections from forbidden countries.'
kind: Scheduled
tactics:
- InitialAccess
requiredDataConnectors:
- connectorId: CefAma
  dataTypes:
  - CommonSecurityLog
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/PaloAltoCDL/Analytic Rules/PaloAltoCDLUnexpectedCountries.yaml
severity: Medium
name: PaloAlto - Forbidden countries
triggerThreshold: 0
queryPeriod: 1h
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  
relevantTechniques:
- T1190
- T1133
id: 9fcc7734-4d1b-11ec-81d3-0242ac130003
queryFrequency: 1h
status: Available
triggerOperator: gt
version: 1.0.4
entityMappings:
- entityType: Account
  fieldMappings:
  - columnName: AccountCustomEntity
    identifier: Name
- entityType: IP
  fieldMappings:
  - columnName: IPCustomEntity
    identifier: Address