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