Skip to content

Cloudtrail disable trail

Author Last Update
Nick Jones 2020-06-18

An attacker may attempt to disable a cloudtrail instance in order to avoid detection

MITRE IDs

Required Permissions

  • cloudtrail:StopLogging

Required Parameters

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

Attacker Action

aws cloudtrail stop-logging --name example-cloudtrail

Detection Case

ELK query

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

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

Sigma Definition

---
title: Cloudtrail disable trail
id: bf856088-70f3-498b-af19-f061c0bd7740
status: experimental
author: Nick Jones
date: 2020-06-18
description: An attacker may attempt to disable a cloudtrail instance in order to avoid detection
logsource:
  service: cloudtrail
detection:
  selection_source:
    - eventSource: "*.cloudtrail.amazonaws.com"
  events:
    - eventName: "StopLogging"
  condition: selection_source AND events
level: low
tags:
  - attack.t1089