Elastic high stable kql
Azure Key Vault Unusual Secret Key Usage
Identifies secrets, keys, or certificates retrieval operations from Azure Key Vault by a user principal that has not been seen previously doing so in a certain amount of days. Azure Key Vault is a cloud service for securely storing and accessing secrets, keys, and certificates. Unauthorized or excessive retrievals may indicate potential abuse or unauthorized access attempts.
Detection Logic
data_stream.dataset : "azure.platformlogs" and
event.outcome: "success" and
event.action : (
"VaultGet" or
"KeyGet" or
"KeyList" or
"KeyListVersions" or
"KeyGetDeleted" or
"KeyListDeleted" or
"SecretGet" or
"SecretList" or
"SecretListVersions" or
"SecretGetDeleted" or
"SecretListDeleted" or
"CertificateGet" or
"CertificateList" or
"CertificateListVersions" or
"CertificateGetDeleted" or
"CertificateListDeleted" or
"CertificatePolicyGet" or
"CertificateContactsGet" or
"CertificateIssuerGet" or
"CertificateIssuersList"
) and azure.platformlogs.identity.claim.upn: * and azure.platformlogs.properties.id: * False Positives
- ⚠ Service accounts or applications that frequently access Azure Key Vault for configuration or operational purposes may trigger this rule.
- ⚠ Automated scripts or processes that retrieve secrets or keys for legitimate purposes, such as secret rotation or application configuration, may also lead to false positives.
- ⚠ Security teams performing routine audits or assessments that involve retrieving keys or secrets from Key Vaults may trigger this rule if they perform multiple retrievals in a short time frame.
Field Validations
Loading…
Comments (0)
Loading comments...