Skip to content

Cloudtrail remove SNS topic

Author Last Update
Nick Jones 2020-06-18

An adversary may attempt to remove the SNS topic from a trail configuration to degrade log delivery and ingestion

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 --sns-topic-name ''

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 remove SNS topic
id: ff61896f-d9a6-40f8-8bb9-0b8c4d214af0
status: experimental
author: Nick Jones
date: 2020-06-18
description: An adversary may attempt to remove the SNS topic from a trail configuration to degrade log delivery and ingestion
logsource:
  service: cloudtrail
detection:
  selection_source:
    - eventSource: "*.cloudtrail.amazonaws.com"
  events:
    - eventName: "UpdateTrail"
  condition: selection_source AND events
level: low
tags:
  - attack.t1089