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 "AWS role with shadow admin privileges"
| project EventID, Policy, Severity, Description, Recommendation, URL, Category, Tactics
description: The policy detect the creation of new AWS roles with shadow admin privileges. The policy configuration allows limiting the policy to specific accounts.
triggerThreshold: 0
tactics:
- InitialAccess
requiredDataConnectors:
- connectorId: Authomize
dataTypes:
- Authomize_v2_CL
customDetails:
ReferencedURL: URL
EventName: Policy
EventRecommendation: Recommendation
AuthomizeEventID: EventID
EventDescription: Description
eventGroupingSettings:
aggregationKind: SingleAlert
incidentConfiguration:
createIncident: true
groupingConfiguration:
enabled: true
matchingMethod: AnyAlert
reopenClosedIncident: false
groupByCustomDetails: []
groupByEntities: []
groupByAlertDetails: []
lookbackDuration: 5h
alertDetailsOverride:
alertDynamicProperties:
- value: URL
alertProperty: AlertLink
alertTactics: Tactics
alertSeverity: Severity
alertnameFormat: Alert from Authomize - AWS role with shadow admin privileges
alertDescriptionFormat: |
IaaS shadow admin detected. The policy detect the creation of new AWS roles with shadow admin privileges. The policy configuration allows limiting the policy to specific accounts.
queryPeriod: 30m
entityMappings:
- entityType: URL
fieldMappings:
- columnName: URL
identifier: Url
relevantTechniques:
- T1078
status: Available
triggerOperator: gt
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Authomize/Analytic Rules/AWS_role_with_shadow_admin_privileges.yaml
suppressionDuration: 5h
id: 2526079b-3355-4756-a2d1-21e9cd957261
suppressionEnabled: false
version: 1.0.2
kind: Scheduled
name: AWS role with shadow admin privileges
queryFrequency: 30m
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 "AWS role with shadow admin privileges"
| project EventID, Policy, Severity, Description, Recommendation, URL, Category, Tactics
severity: High