Skip to content

Cloudtrail disable global event logging

Author Last Update
Nick Jones 2020-06-18

An adversary may attempt to disable global event logging in order to modify configuration of global services such as IAM

MITRE IDs

Required Permissions

  • cloudtrail:UpdateTrail

Required Parameters

Name Type Description Example Value
trailname str Name of the cloudtrail to be targeted example-cloudtrail

Attacker Action

aws cloudtrail update-trail --name example-cloudtrail --no-include-global-service-events

Detection Case

ELK query

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

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

Sigma Definition

---
title: Cloudtrail disable global event logging
id: e7b423d5-abd1-4685-988a-cf718c4d2f98
status: experimental
author: Nick Jones
date: 2020-06-18
description: An adversary may attempt to disable global event logging in order to modify configuration of global services such as IAM
logsource:
  service: cloudtrail
detection:
  selection_source:
    - eventSource: "*.cloudtrail.amazonaws.com"
  events:
    - eventName: "UpdateTrail"
  condition: selection_source AND events
level: low
tags:
  - attack.t1089