Skip to content

List Secrets in Secrets Manager

Platform Author Last Update
aws Nick Jones 2023-07-01

An adversary may attempt to enumerate the secrets in secrets manager, in order to find secrets to access.

MITRE IDs

Required Permissions

  • secretsmanager:ListSecrets

Required Parameters

None

Attacker Action

aws secretsmanager list-secrets

Detection Case

ELK query

When logs are ingested into ELK, the following Lucene query can be used to identify relevant events.

eventName:ListSecrets AND eventSource:*.secretsmanager.amazonaws.com  

Sigma Definition

---
title: List Secrets in Secrets Manager
id: 40b578f3-5056-42b8-ae6b-13e5b015d817
status: experimental
author: Nick Jones
date: 2023-07-01
description: An adversary may attempt to enumerate the secrets in secrets manager, in order to find secrets to access.
logsource:
  service: cloudtrail
detection:
  selection_source:
    - eventSource: "*.secretsmanager.amazonaws.com"
  events:
    - eventName: "ListSecrets"
  condition: selection_source AND events
level: low
tags:
  - attack.T1528