Skip to content

armgit / AiSOC

Public Imported from GitHub
0

Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.

2.7 KB
Raw Blame
id: splunk-security-content-5521f8c5-1aa3-473c-9eb7-853701924a06
name: Azure AD Privileged Graph API Permission Assigned
description: The following analytic detects the assignment of high-risk Graph API
  permissions in Azure AD, specifically Application.ReadWrite.All, AppRoleAssignment.ReadWrite.All,
  and RoleManagement.ReadWrite.Directory. It uses azure_monitor_aad data to scan AuditLogs
  for 'Update application' operations, identifying when these permissions are assigned.
  This activity is significant as it grants broad control over Azure AD, including
  application and directory settings. If confirmed malicious, it could lead to unauthorized
  modifications and potential security breaches, compromising the integrity and security
  of the Azure AD environment. Immediate investigation is required.
severity: medium
enabled: false
tags:
  mitre:
  - T1003.002
  categories:
  - cloud
references:
- https://cloudbrothers.info/en/azure-attack-paths/
- https://github.com/mandiant/Mandiant-Azure-AD-Investigator/blob/master/MandiantAzureADInvestigator.json
- https://learn.microsoft.com/en-us/graph/permissions-reference
- https://www.microsoft.com/en-us/security/blog/2024/01/25/midnight-blizzard-guidance-for-responders-on-nation-state-attack/
- https://posts.specterops.io/azure-privilege-escalation-via-azure-api-permissions-abuse-74aee1006f48
logsource:
  product: splunk
detection:
  splunk_spl: '`azure_monitor_aad` category=AuditLogs operationName="Update application"
    | eval newvalue = mvindex(''properties.targetResources{}.modifiedProperties{}.newValue'',0)
    | spath input=newvalue | search "{}.RequiredAppPermissions{}.EntitlementId"="
    1bfefb4e-e0b5-418b-a88f-73c46d2cc8e9" OR "{}.RequiredAppPermissions{}.EntitlementId"
    ="06b708a9-e830-4db3-a914-8e69da51d44f" OR "{}.RequiredAppPermissions{}.EntitlementId"
    ="9e3f62cf-ca93-4989-b6ce-bf83c28f9fe8" | eval Permissions = ''{}.RequiredAppPermissions{}.EntitlementId''
    | fillnull | stats count min(_time) as firstTime max(_time) as lastTime by dest
    user src vendor_account vendor_product Permissions signature | `security_content_ctime(firstTime)`
    | `security_content_ctime(lastTime)` | `azure_ad_privileged_graph_api_permission_assigned_filter`'
provenance:
  source: splunk/security_content
  source_id: 5521f8c5-1aa3-473c-9eb7-853701924a06
  source_commit: 4d4c7ee
  license: Apache-2.0
  license_url: https://github.com/splunk/security_content/blob/develop/LICENSE
  imported_at: '2026-05-04'
  imported_by: splunk_importer
  upstream_path: detections/cloud/azure_ad_privileged_graph_api_permission_assigned.yml
notes:
  splunk_status: production
  splunk_data_source: []
  quarantine_reason: raw SPL — needs translation to AiSOC detection schema