Skip to content

Commit

Permalink
SentinelARConverter
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolonsky committed Oct 6, 2024
1 parent fa2980d commit a587142
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions AnalyticRules/Azure_Sentinel_analytic_rule (2).yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
id: 0693eef5-6325-4a20-8963-7c05d506f6ef
name: NRT User elevated access to User Access Administrator for Azure Resources (MCAS)
version: 1.0.0
kind: NRT
description: |-
Entra ID Global Administrators can elevate their access to all subscriptions and management groups in a tenant.
Elevated access is highly privileged access and might be used to laterally move from Entra ID to Azure resouces.
Additional information: https://learn.microsoft.com/en-us/azure/role-based-access-control/elevate-access-global-admin.
severity: Medium
tactics:
- PrivilegeEscalation
- Persistence
relevantTechniques:
- T1078.004
query: |-
// Detect elevation via MCAS
CloudAppEvents
| where RawEventData.operationName == "Microsoft.Authorization/elevateAccess/action"
| extend EvidenceRole = extract_json('$.evidence.role', tostring(RawEventData.authorization))
| project
TimeGenerated,
Actor = AccountId,
OperationName = EvidenceRole,
IPAddress,
Result = RawEventData.status,
LoggedByService = Type
| where Result =~ "Succeeded" // Uncomment to detect attempts
alertDetailsOverride:
alertDynamicProperties: []
customDetails:
OperationName: OperationName
entityMappings:
- entityType: Account
fieldMappings:
- identifier: AadUserId
columnName: Actor
- entityType: IP
fieldMappings:
- identifier: Address
columnName: IPAddress
suppressionEnabled: false
suppressionDuration: 5h
incidentConfiguration:
createIncident: true
groupingConfiguration:
enabled: false
reopenClosedIncident: false
lookbackDuration: 5h
matchingMethod: AllEntities
groupByEntities: []
groupByAlertDetails: []
groupByCustomDetails: []
eventGroupingSettings:
aggregationKind: SingleAlert

0 comments on commit a587142

Please sign in to comment.