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