Access Secret In Secrets Manager (aws)
| Platform | Author | Last Update | 
|---|---|---|
| aws | Nick Jones | 2024-12-02 | 
An adversary may attempt to access the secrets in secrets manager, to steal certificates, credentials or other sensitive material
MITRE IDs
Required Permissions
- secretsmanager:GetSecretValue
- kms:Decrypt
Required Parameters
| Name | Type | Description | Example Value | 
|---|---|---|---|
| secretid | str | ID of secret to access, either ARN or friendly name | leonidas_created_secret | 
Attacker Action
aws secretsmanager get-secret-value --secret-id leonidas_created_secretDetection Case
ELK query
When logs are ingested into ELK, the following Lucene query can be used to identify relevant events.
eventName:GetSecretValue AND eventSource:*.secretsmanager.amazonaws.comSigma Definition
---title: Access Secret in Secrets Managerid: cbeba6f0-019e-4782-8c7e-e21b10521eedstatus: experimentalauthor: Nick Jonesdate: 2024-12-02description: An adversary may attempt to access the secrets in secrets manager, to steal certificates, credentials or other sensitive materiallogsource:  service: cloudtraildetection:  selection_source:    - eventSource: "*.secretsmanager.amazonaws.com"  events:    - eventName: "GetSecretValue"  condition: selection_source and eventslevel: lowtags:  - attack.T1528
falsepositives:  - Developers making legitimate changes to the environment. Verify whether the user identity, user agent, and/or hostname should be making changes in your environment.