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