AWS EC2 Encryption Disabled

Identifies disabling of Amazon Elastic Block Store (EBS) encryption by default in the current region. Disabling encryption by default does not change the encryption status of your existing volumes.

Elastic rule (View on GitHub)

 1[metadata]
 2creation_date = "2020/06/05"
 3integration = ["aws"]
 4maturity = "production"
 5updated_date = "2024/05/21"
 6
 7[rule]
 8author = ["Elastic"]
 9description = """
10Identifies disabling of Amazon Elastic Block Store (EBS) encryption by default in the current region. Disabling
11encryption by default does not change the encryption status of your existing volumes.
12"""
13false_positives = [
14    """
15    Disabling encryption may be done by a system or network administrator. Verify whether the user identity, user agent,
16    and/or hostname should be making changes in your environment. Disabling encryption by unfamiliar users or hosts
17    should be investigated. If known behavior is causing false positives, it can be exempted from the rule.
18    """,
19]
20from = "now-60m"
21index = ["filebeat-*", "logs-aws.cloudtrail-*"]
22interval = "10m"
23language = "kuery"
24license = "Elastic License v2"
25name = "AWS EC2 Encryption Disabled"
26note = """## Setup
27
28The AWS Fleet integration, Filebeat module, or similarly structured data is required to be compatible with this rule."""
29references = [
30    "https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html",
31    "https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/disable-ebs-encryption-by-default.html",
32    "https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DisableEbsEncryptionByDefault.html",
33]
34risk_score = 47
35rule_id = "bb9b13b2-1700-48a8-a750-b43b0a72ab69"
36severity = "medium"
37tags = [
38    "Domain: Cloud",
39    "Data Source: AWS",
40    "Data Source: Amazon Web Services",
41    "Data Source: AWS EC2",
42    "Tactic: Impact",
43]
44timestamp_override = "event.ingested"
45type = "query"
46
47query = '''
48event.dataset:aws.cloudtrail and event.provider:ec2.amazonaws.com and event.action:DisableEbsEncryptionByDefault and event.outcome:success
49'''
50
51
52[[rule.threat]]
53framework = "MITRE ATT&CK"
54[[rule.threat.technique]]
55id = "T1565"
56name = "Data Manipulation"
57reference = "https://attack.mitre.org/techniques/T1565/"
58[[rule.threat.technique.subtechnique]]
59id = "T1565.001"
60name = "Stored Data Manipulation"
61reference = "https://attack.mitre.org/techniques/T1565/001/"
62
63
64
65[rule.threat.tactic]
66id = "TA0040"
67name = "Impact"
68reference = "https://attack.mitre.org/tactics/TA0040/"

Setup

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

References

Related rules

to-top