-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fa2980d
commit a587142
Showing
1 changed file
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|