Azure Key Vault Multi-Vault Secret Retrieval Burst by Application

Last updated 2 days ago on 2026-11-04
Created 3 days ago on 2026-11-03

About

Identifies a burst of successful Azure Key Vault secret retrievals by the same principal and application across multiple vaults. Adversaries with compromised application credentials may collect stored secrets at scale to access additional services or move laterally.
Tags
Domain: CloudDomain: IdentityData Source: AzureData Source: Azure Platform LogsUse Case: Threat DetectionTactic: Credential AccessRule Type: ES|QLPlatform: AzureService: Azure Key VaultLanguage: esql
Severity
medium
Risk Score
47
MITRE ATT&CK™

Credential Access (TA0006)(external, opens in a new tab or window)

False Positive Examples
Authorized inventory jobs, secret migration tools, and multi-vault deployment pipelines may retrieve many secrets across several vaults within 15 minutes.
License
Elastic License v2(external, opens in a new tab or window)

Definition

Integration Pack
Prebuilt Security Detection Rules
Related Integrations

azure(external, opens in a new tab or window)

Query
text code block:
from logs-azure.platformlogs-* metadata _id, _index | where data_stream.dataset == "azure.platformlogs" and event.action == "SecretGet" and azure.platformlogs.identity.claim.iss is not null and azure.platformlogs.identity.claim.iss != "" and azure.platformlogs.identity.claim.oid is not null and azure.platformlogs.identity.claim.oid != "" and azure.platformlogs.identity.claim.appid is not null and azure.platformlogs.identity.claim.appid != "" and azure.resource.id is not null and azure.resource.id != "" and KQL("azure.platformlogs.properties.httpStatusCode:200") | eval Esql.time_window = date_trunc(15 minutes, @timestamp) | stats Esql.secret_read_count = count(*), Esql.vault_count = count_distinct(azure.resource.id), Esql.vaults = values(azure.resource.id), Esql.source_ips = values(source.ip), Esql.first_seen = min(@timestamp), Esql.last_seen = max(@timestamp) by Esql.time_window, azure.platformlogs.identity.claim.iss, azure.platformlogs.identity.claim.oid, azure.platformlogs.identity.claim.appid | where Esql.secret_read_count >= 20 and Esql.vault_count >= 3 | keep azure.platformlogs.identity.claim.iss, azure.platformlogs.identity.claim.oid, azure.platformlogs.identity.claim.appid, Esql.*

Install detection rules in Elastic Security

Detect Azure Key Vault Multi-Vault Secret Retrieval Burst by Application in the Elastic Security detection engine by installing this rule into your Elastic Stack.

To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(external, opens in a new tab or window).