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

Lateral Movement Risk - Role Chain Length

Back
Id25bef734-4399-4c55-9579-4ebabd9cccf6
RulenameLateral Movement Risk - Role Chain Length
DescriptionThe policy detects chains of more than 3 roles in the account, this is a misconfiguration that can enable lateral movement.
SeverityInformational
TacticsPrivilegeEscalation
Persistence
TechniquesT1098
Required data connectorsAuthomize
KindScheduled
Query frequency30m
Query period30m
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Authomize/Analytic Rules/Chain_of_3_or_more_roles.yaml
Version1.0.3
Arm template25bef734-4399-4c55-9579-4ebabd9cccf6.json
Deploy To Azure
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
id: 25bef734-4399-4c55-9579-4ebabd9cccf6
eventGroupingSettings:
  aggregationKind: SingleAlert
severity: Informational
name: Lateral Movement Risk - Role Chain Length
version: 1.0.3
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  
entityMappings:
- fieldMappings:
  - identifier: Url
    columnName: URL
  entityType: URL
triggerThreshold: 0
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.
  alertSeverity: Severity
  alertnameFormat: Alert from Authomize - Account can elevate privileges by assuming a role
  alertTactics: Tactics
  alertDynamicProperties:
  - value: URL
    alertProperty: AlertLink
relevantTechniques:
- T1098
tactics:
- PrivilegeEscalation
- Persistence
kind: Scheduled
queryPeriod: 30m
queryFrequency: 30m
incidentConfiguration:
  createIncident: true
  groupingConfiguration:
    groupByCustomDetails: []
    groupByAlertDetails: []
    enabled: true
    groupByEntities: []
    reopenClosedIncident: false
    matchingMethod: AnyAlert
    lookbackDuration: 5h
requiredDataConnectors:
- dataTypes:
  - Authomize_v2_CL
  connectorId: Authomize
triggerOperator: gt
status: Available
description: The policy detects chains of more than 3 roles in the account, this is a misconfiguration that can enable lateral movement.
customDetails:
  EventDescription: Description
  EventName: Policy
  ReferencedURL: URL
  AuthomizeEventID: EventID
  EventRecommendation: Recommendation
suppressionEnabled: false
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Authomize/Analytic Rules/Chain_of_3_or_more_roles.yaml
suppressionDuration: 5h