Lateral Movement Risk - Role Chain Length
Id | 25bef734-4399-4c55-9579-4ebabd9cccf6 |
Rulename | Lateral Movement Risk - Role Chain Length |
Description | The policy detects chains of more than 3 roles in the account, this is a misconfiguration that can enable lateral movement. |
Severity | Informational |
Tactics | PrivilegeEscalation Persistence |
Techniques | T1098 |
Required data connectors | Authomize |
Kind | Scheduled |
Query frequency | 30m |
Query period | 30m |
Trigger threshold | 0 |
Trigger operator | gt |
Source Uri | https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Authomize/Analytic Rules/Chain_of_3_or_more_roles.yaml |
Version | 1.0.3 |
Arm template | 25bef734-4399-4c55-9579-4ebabd9cccf6.json |
Authomize_v2_CL
| where ingestion_time() >= ago(30m)
| extend EventID = id_s, Policy = policy_name_s, Severity = severity_s,Description = description_s,Recommendation = recommendation_s,URL = url_s,Tactics = tactics_s
| where Policy has "Chain of 3 or more roles"
| project EventID, Policy, Severity, Description, Recommendation, URL, Category, Tactics
incidentConfiguration:
createIncident: true
groupingConfiguration:
lookbackDuration: 5h
enabled: true
groupByEntities: []
groupByCustomDetails: []
groupByAlertDetails: []
matchingMethod: AnyAlert
reopenClosedIncident: false
id: 25bef734-4399-4c55-9579-4ebabd9cccf6
tactics:
- PrivilegeEscalation
- Persistence
queryPeriod: 30m
eventGroupingSettings:
aggregationKind: SingleAlert
triggerThreshold: 0
name: Lateral Movement Risk - Role Chain Length
query: |-
Authomize_v2_CL
| where ingestion_time() >= ago(30m)
| extend EventID = id_s, Policy = policy_name_s, Severity = severity_s,Description = description_s,Recommendation = recommendation_s,URL = url_s,Tactics = tactics_s
| where Policy has "Chain of 3 or more roles"
| project EventID, Policy, Severity, Description, Recommendation, URL, Category, Tactics
severity: Informational
customDetails:
EventName: Policy
EventDescription: Description
AuthomizeEventID: EventID
ReferencedURL: URL
EventRecommendation: Recommendation
triggerOperator: gt
kind: Scheduled
suppressionDuration: 5h
relevantTechniques:
- T1098
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Authomize/Analytic Rules/Chain_of_3_or_more_roles.yaml
suppressionEnabled: false
queryFrequency: 30m
requiredDataConnectors:
- connectorId: Authomize
dataTypes:
- Authomize_v2_CL
version: 1.0.3
description: The policy detects chains of more than 3 roles in the account, this is a misconfiguration that can enable lateral movement.
status: Available
alertDetailsOverride:
alertDynamicProperties:
- value: URL
alertProperty: AlertLink
alertSeverity: Severity
alertTactics: Tactics
alertnameFormat: Alert from Authomize - Account can elevate privileges by assuming a role
alertDescriptionFormat: Account can elevate privileges by assuming a role. The policy detects chains of more than 3 roles in the account, this is a misconfiguration that can enable lateral movement.
entityMappings:
- fieldMappings:
- columnName: URL
identifier: Url
entityType: URL
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"workspace": {
"type": "String"
}
},
"resources": [
{
"apiVersion": "2024-01-01-preview",
"id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/25bef734-4399-4c55-9579-4ebabd9cccf6')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/25bef734-4399-4c55-9579-4ebabd9cccf6')]",
"properties": {
"alertDetailsOverride": {
"alertDescriptionFormat": "Account can elevate privileges by assuming a role. The policy detects chains of more than 3 roles in the account, this is a misconfiguration that can enable lateral movement.",
"alertDynamicProperties": [
{
"alertProperty": "AlertLink",
"value": "URL"
}
],
"alertnameFormat": "Alert from Authomize - Account can elevate privileges by assuming a role",
"alertSeverity": "Severity",
"alertTactics": "Tactics"
},
"alertRuleTemplateName": "25bef734-4399-4c55-9579-4ebabd9cccf6",
"customDetails": {
"AuthomizeEventID": "EventID",
"EventDescription": "Description",
"EventName": "Policy",
"EventRecommendation": "Recommendation",
"ReferencedURL": "URL"
},
"description": "The policy detects chains of more than 3 roles in the account, this is a misconfiguration that can enable lateral movement.",
"displayName": "Lateral Movement Risk - Role Chain Length",
"enabled": true,
"entityMappings": [
{
"entityType": "URL",
"fieldMappings": [
{
"columnName": "URL",
"identifier": "Url"
}
]
}
],
"eventGroupingSettings": {
"aggregationKind": "SingleAlert"
},
"incidentConfiguration": {
"createIncident": true,
"groupingConfiguration": {
"enabled": true,
"groupByAlertDetails": [],
"groupByCustomDetails": [],
"groupByEntities": [],
"lookbackDuration": "PT5H",
"matchingMethod": "AnyAlert",
"reopenClosedIncident": false
}
},
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Authomize/Analytic Rules/Chain_of_3_or_more_roles.yaml",
"query": "Authomize_v2_CL\n| where ingestion_time() >= ago(30m)\n| extend EventID = id_s, Policy = policy_name_s, Severity = severity_s,Description = description_s,Recommendation = recommendation_s,URL = url_s,Tactics = tactics_s\n| where Policy has \"Chain of 3 or more roles\"\n| project EventID, Policy, Severity, Description, Recommendation, URL, Category, Tactics",
"queryFrequency": "PT30M",
"queryPeriod": "PT30M",
"severity": "Informational",
"status": "Available",
"subTechniques": [],
"suppressionDuration": "PT5H",
"suppressionEnabled": false,
"tactics": [
"Persistence",
"PrivilegeEscalation"
],
"techniques": [
"T1098"
],
"templateVersion": "1.0.3",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0
},
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
}
]
}