Cross-source coverage
T1555.006 / ATT&CK
Credentials from Password Stores: Cloud Secrets Management Stores
8 rules across 1 source.
From MITRE ATT&CK 19.2
Adversaries may acquire credentials from cloud-native secret management solutions such as AWS Secrets Manager, GCP Secret Manager, Azure Key Vault, and Terraform Vault.
Secrets managers support the secure centralized management of passwords, API keys, and other credential material. Where secrets managers are in use, cloud services can dynamically acquire credentials via API requests rather than accessing secrets insecurely stored in plain text files or environment variables.
If an adversary is able to gain sufficient privileges in a cloud environment – for example, by obtaining the credentials of high-privileged Cloud Accounts or compromising a service that has permission to retrieve secrets – they may be able to request secrets from the secrets manager. This can be accomplished via commands such as get-secret-value in AWS, gcloud secrets describe in GCP, and az key vault secret show in Azure.
Note: this technique is distinct from Cloud Instance Metadata API in that the credentials are being directly requested from the cloud secrets manager, rather than through the medium of the instance metadata API.
- Tactics
- Credential Access
- Platforms
- IaaS
- Telemetry
-
AWS:CloudTrail
How MITRE says to detect it DET0130
Detect Unauthorized Access to Cloud Secrets Management Stores
IaaS Analytic 0366
Detection of suspicious access to cloud-native secret management systems (AWS Secrets Manager, GCP Secret Manager, Azure Key Vault, HashiCorp Vault). Focuses on abnormal secret retrieval activity, such as secrets being accessed by unusual identities, from unexpected regions, outside business hours, or at high volume. Correlates API calls to secret retrieval with surrounding authentication events, role assumptions, and anomalous execution patterns.
AWS:CloudTrailGetSecretValue
elastic/detection-rules
8 rules| Detection | Severity | Format |
|---|---|---|
| AWS Lateral Movement from Kubernetes SA via AssumeRoleWithWebIdentity | High | Elastic TOML |
| Azure Key Vault Unusual Secret Key Usage | High | Elastic TOML |
| Multiple Cloud Secrets Accessed by Source Address | High | Elastic TOML |
| AWS Secrets Manager Rapid Secrets Retrieval | Medium | Elastic TOML |
| AWS Systems Manager SecureString Parameter Request with Decryption Flag | Medium | Elastic TOML |
| Azure Key Vault Excessive Secret or Key Retrieved | Medium | Elastic TOML |
| Azure Storage Account Keys Accessed by Privileged User | Medium | Elastic TOML |
| First Time Seen AWS Secret Value Accessed in Secrets Manager | Medium | Elastic TOML |