Detection rules › Sigma

AWS CloudTrail Important Change

Status
test
Severity
medium
Log source
product aws, service cloudtrail
Author
vitaliy0x1
Source
github.com/SigmaHQ/sigma

Detects disabling, deleting and updating of a Trail

Known false positives

  • Valid change in a Trail

MITRE ATT&CK coverage

Telemetry coverage

Rules detecting the same action

These rules filter on the same operation.

Rule body

title: AWS CloudTrail Important Change
id: 4db60cc0-36fb-42b7-9b58-a5b53019fb74
status: test
description: Detects disabling, deleting and updating of a Trail
references:
    - https://docs.aws.amazon.com/awscloudtrail/latest/userguide/best-practices-security.html
author: vitaliy0x1
date: 2020-01-21
modified: 2022-10-09
tags:
    - attack.defense-impairment
    - attack.t1685.002
logsource:
    product: aws
    service: cloudtrail
detection:
    selection_source:
        eventSource: cloudtrail.amazonaws.com
        eventName:
            - StopLogging
            - UpdateTrail
            - DeleteTrail
    condition: selection_source
falsepositives:
    - Valid change in a Trail
level: medium

Stages and Predicates

Stage 0: condition

selection_source

Stage 1: selection_source

selection_source:
    eventSource: cloudtrail.amazonaws.com
    eventName:
        - StopLogging
        - UpdateTrail
        - DeleteTrail

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
eventNameeq
  • DeleteTrail
  • StopLogging
  • UpdateTrail
field:"aws::eventName" kind:eq
eventSourceeq
  • cloudtrail.amazonaws.com
field:"aws::eventSource" kind:eq value:"cloudtrail.amazonaws.com"