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.5 KB
Raw Blame
id: splunk-security-content-dc02c0ee-6ac0-4c7f-87ba-8ce43a4e4418
name: Azure AD Tenant Wide Admin Consent Granted
description: The following analytic identifies instances where admin consent is granted
  to an application within an Azure AD tenant. It leverages Azure AD audit logs, specifically
  events related to the admin consent action within the ApplicationManagement category.
  This activity is significant because admin consent allows applications to access
  data across the entire tenant, potentially exposing vast amounts of organizational
  data. If confirmed malicious, an attacker could gain extensive and persistent access
  to sensitive data, leading to data exfiltration, espionage, further malicious activities,
  and potential compliance violations.
severity: medium
enabled: false
tags:
  mitre:
  - T1098.003
  categories:
  - cloud
references:
- https://attack.mitre.org/techniques/T1098/003/
- https://www.mandiant.com/resources/blog/remediation-and-hardening-strategies-for-microsoft-365-to-defend-against-unc2452
- https://learn.microsoft.com/en-us/security/operations/incident-response-playbook-app-consent
- https://learn.microsoft.com/en-us/azure/active-directory/manage-apps/grant-admin-consent?pivots=portal
- https://microsoft.github.io/Azure-Threat-Research-Matrix/Persistence/AZT501/AZT501-2/
logsource:
  product: splunk
detection:
  splunk_spl: '`azure_monitor_aad` operationName="Consent to application" | eval new_field=mvindex(''properties.targetResources{}.modifiedProperties{}.newValue'',4)
    | rename properties.* as * | rex field=new_field "ConsentType:(?<ConsentType>
    [^\,]+)" | rex field=new_field "Scope:(?<Scope> [^\,]+)" | search ConsentType
    = "*AllPrincipals*" | rename userAgent as user_agent | fillnull | stats count
    min(_time) as firstTime max(_time) as lastTime by dest user src vendor_account
    vendor_product ConsentType Scope signature | `security_content_ctime(firstTime)`
    | `security_content_ctime(lastTime)` | `azure_ad_tenant_wide_admin_consent_granted_filter`'
provenance:
  source: splunk/security_content
  source_id: dc02c0ee-6ac0-4c7f-87ba-8ce43a4e4418
  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_tenant_wide_admin_consent_granted.yml
notes:
  splunk_status: production
  splunk_data_source: []
  quarantine_reason: raw SPL — needs translation to AiSOC detection schema