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