Insider Risk_Sensitive Data Access Outside Organizational Geo-location
| Id | b81ed294-28cf-48c3-bac8-ac60dcef293b |
| Rulename | Insider Risk_Sensitive Data Access Outside Organizational Geo-location |
| Description | This alert joins Azure Information Protection Logs (InformationProtectionLogs_CL) with Microsoft Entra ID Sign in Logs (SigninLogs) to provide a correlation of sensitive data access by geo-location. Results include User Principal Name, Label Name, Activity, City, State, Country/Region, and Time Generated. Recommended configuration is to include (or exclude) Sign in geo-locations (City, State, Country and/or Region) for trusted organizational locations. There is an option for configuration of correlations against Microsoft Sentinel watchlists. Accessing sensitive data from a new or unauthorized geo-location warrants further review. For more information see Sign-in logs in Microsoft Entra ID: Location Filtering |
| Severity | High |
| Tactics | Exfiltration |
| Techniques | T1567 |
| Required data connectors | AzureActiveDirectory AzureInformationProtection |
| Kind | Scheduled |
| Query frequency | 6h |
| Query period | 6h |
| Trigger threshold | 0 |
| Trigger operator | gt |
| Source Uri | https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/MicrosoftPurviewInsiderRiskManagement/Analytic Rules/InsiderRiskSensitiveDataAccessOutsideOrgGeo.yaml |
| Version | 1.1.3 |
| Arm template | b81ed294-28cf-48c3-bac8-ac60dcef293b.json |
InformationProtectionLogs_CL
| extend UserPrincipalName = UserId_s
| where LabelName_s <> ""
| join kind=inner (SigninLogs) on UserPrincipalName
| extend City = tostring(LocationDetails.city)
// | where City <> "New York" // Configure Location Details within Organizational Requirements
| extend State = tostring(LocationDetails.state)
// | where State <> "Texas" // Configure Location Details within Organizational Requirements
| extend Country_Region = tostring(LocationDetails.countryOrRegion)
// | where Country_Region <> "US" // Configure Location Details within Organizational Requirements
// | lookup kind=inner _GetWatchlist('<Your Watchlist Name>') on $left.UserPrincipalName == $right.SearchKey
| summarize count() by UserPrincipalName, LabelName_s, Activity_s, City, State, Country_Region, TimeGenerated
| sort by count_ desc
| extend AccountName = tostring(split(UserPrincipalName, "@")[0]), AccountUPNSuffix = tostring(split(UserPrincipalName, "@")[1])
relevantTechniques:
- T1567
name: Insider Risk_Sensitive Data Access Outside Organizational Geo-location
triggerThreshold: 0
tactics:
- Exfiltration
severity: High
id: b81ed294-28cf-48c3-bac8-ac60dcef293b
incidentConfiguration:
groupingConfiguration:
groupByEntities:
- Account
reopenClosedIncident: true
lookbackDuration: 3d
enabled: true
matchingMethod: Selected
createIncident: true
requiredDataConnectors:
- dataTypes:
- InformationProtectionLogs_CL
connectorId: AzureInformationProtection
- dataTypes:
- SigninLogs
connectorId: AzureActiveDirectory
kind: Scheduled
query: |
InformationProtectionLogs_CL
| extend UserPrincipalName = UserId_s
| where LabelName_s <> ""
| join kind=inner (SigninLogs) on UserPrincipalName
| extend City = tostring(LocationDetails.city)
// | where City <> "New York" // Configure Location Details within Organizational Requirements
| extend State = tostring(LocationDetails.state)
// | where State <> "Texas" // Configure Location Details within Organizational Requirements
| extend Country_Region = tostring(LocationDetails.countryOrRegion)
// | where Country_Region <> "US" // Configure Location Details within Organizational Requirements
// | lookup kind=inner _GetWatchlist('<Your Watchlist Name>') on $left.UserPrincipalName == $right.SearchKey
| summarize count() by UserPrincipalName, LabelName_s, Activity_s, City, State, Country_Region, TimeGenerated
| sort by count_ desc
| extend AccountName = tostring(split(UserPrincipalName, "@")[0]), AccountUPNSuffix = tostring(split(UserPrincipalName, "@")[1])
description: |
'This alert joins Azure Information Protection Logs (InformationProtectionLogs_CL) with Microsoft Entra ID Sign in Logs (SigninLogs) to provide a correlation of sensitive data access by geo-location. Results include User Principal Name, Label Name, Activity, City, State, Country/Region, and Time Generated. Recommended configuration is to include (or exclude) Sign in geo-locations (City, State, Country and/or Region) for trusted organizational locations. There is an option for configuration of correlations against Microsoft Sentinel watchlists. Accessing sensitive data from a new or unauthorized geo-location warrants further review. For more information see [Sign-in logs in Microsoft Entra ID: Location Filtering](https://docs.microsoft.com/azure/active-directory/reports-monitoring/concept-sign-ins)'
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/MicrosoftPurviewInsiderRiskManagement/Analytic Rules/InsiderRiskSensitiveDataAccessOutsideOrgGeo.yaml
triggerOperator: gt
queryPeriod: 6h
queryFrequency: 6h
eventGroupingSettings:
aggregationKind: SingleAlert
version: 1.1.3
entityMappings:
- entityType: Account
fieldMappings:
- columnName: UserPrincipalName
identifier: FullName
- columnName: AccountName
identifier: Name
- columnName: AccountUPNSuffix
identifier: UPNSuffix