AWS CloudTrail Log Created

Identifies the creation of an AWS log trail that specifies the settings for delivery of log data.

Elastic rule (View on GitHub)

 1[metadata]
 2creation_date = "2020/06/10"
 3integration = ["aws"]
 4maturity = "production"
 5min_stack_comments = "AWS integration breaking changes, bumping version to ^2.0.0"
 6min_stack_version = "8.9.0"
 7updated_date = "2024/04/14"
 8
 9[rule]
10author = ["Elastic"]
11description = "Identifies the creation of an AWS log trail that specifies the settings for delivery of log data."
12false_positives = [
13    """
14    Trail creations may be made by a system or network administrator. Verify whether the user identity, user agent,
15    and/or hostname should be making changes in your environment. Trail creations by unfamiliar users or hosts should be
16    investigated. If known behavior is causing false positives, it can be exempted from the rule.
17    """,
18]
19from = "now-60m"
20index = ["filebeat-*", "logs-aws.cloudtrail-*"]
21interval = "10m"
22language = "kuery"
23license = "Elastic License v2"
24name = "AWS CloudTrail Log Created"
25note = """## Setup
26
27The AWS Fleet integration, Filebeat module, or similarly structured data is required to be compatible with this rule."""
28references = [
29    "https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_CreateTrail.html",
30    "https://awscli.amazonaws.com/v2/documentation/api/latest/reference/cloudtrail/create-trail.html",
31]
32risk_score = 21
33rule_id = "594e0cbf-86cc-45aa-9ff7-ff27db27d3ed"
34severity = "low"
35tags = ["Domain: Cloud", "Data Source: AWS", "Data Source: Amazon Web Services", "Use Case: Log Auditing", "Tactic: Collection"]
36timestamp_override = "event.ingested"
37type = "query"
38
39query = '''
40event.dataset:aws.cloudtrail and event.provider:cloudtrail.amazonaws.com and event.action:CreateTrail and event.outcome:success
41'''
42
43
44[[rule.threat]]
45framework = "MITRE ATT&CK"
46[[rule.threat.technique]]
47id = "T1530"
48name = "Data from Cloud Storage"
49reference = "https://attack.mitre.org/techniques/T1530/"
50
51
52[rule.threat.tactic]
53id = "TA0009"
54name = "Collection"
55reference = "https://attack.mitre.org/tactics/TA0009/"

Setup

The AWS Fleet integration, Filebeat module, or similarly structured data is required to be compatible with this rule.

References

Related rules

to-top