Skip to content

Cloudtrail disable log file validation

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

An adversary may attempt to disable log file validation to enable them to tamper with the logs

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-enable-log-file-validation

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 log file validation
id: e0608025-7e8e-4b26-8ac8-e7711d3df52f
status: experimental
author: Nick Jones
date: 2023-07-01
description: An adversary may attempt to disable log file validation to enable them to tamper with the logs
logsource:
  service: cloudtrail
detection:
  selection_source:
    - eventSource: "*.cloudtrail.amazonaws.com"
  events:
    - eventName: "UpdateTrail"
  condition: selection_source AND events
level: low
tags:
  - attack.T1562