Skip to content

Enumerate Cloudtrails for a Given Region

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

An adversary may attempt to enumerate the configured trails, to identify what actions will be logged and where they will be logged to. In AWS, this may start with a single call to enumerate the trails applicable to the default region.

MITRE IDs

Required Permissions

  • cloudtrail:DescribeTrails

Required Parameters

None

Attacker Action

aws cloudtrail describe-trails

Detection Case

ELK query

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

eventName:DescribeTrails AND eventSource:*.cloudtrail.amazonaws.com  

Sigma Definition

---
title: Enumerate Cloudtrails for a Given Region
id: 48653a63-085a-4a3b-88be-9680e9adb449
status: experimental
author: Nick Jones
date: 2023-07-01
description: An adversary may attempt to enumerate the configured trails, to identify what actions will be logged and where they will be logged to. In AWS, this may start with a single call to enumerate the trails applicable to the default region.
logsource:
  service: cloudtrail
detection:
  selection_source:
    - eventSource: "*.cloudtrail.amazonaws.com"
  events:
    - eventName: "DescribeTrails"
  condition: selection_source AND events
level: low
tags:
  - attack.T1526