Detection rules › Panther

AWS EC2 EBS Encryption Disabled

Severity
medium
Log types
AWS.CloudTrail
Reference
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#encryption-by-default
Source
github.com/panther-labs/panther-analysis

Identifies disabling of default EBS encryption. Disabling default encryption does not change the encryption status of existing volumes.

MITRE ATT&CK coverage

Rules detecting the same action

Other rules on this platform that filter on the same API call or operation.

Rule body yaml

AnalysisType: rule
Description: "Identifies disabling of default EBS encryption. Disabling default encryption does not change the encryption status of existing volumes. "
DisplayName: "AWS EC2 EBS Encryption Disabled"
Enabled: true
Filename: aws_ec2_ebs_encryption_disabled.py
Reports:
  MITRE ATT&CK:
    - TA0040:T1486
    - TA0040:T1565
Runbook: Verify this action was intended and if any EBS volumes were created after the change.
Reference: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#encryption-by-default
Severity: Medium
Tests:
  - ExpectedResult: true
    Log:
      awsRegion: us-east-1
      eventName: DisableEbsEncryptionByDefault
      eventSource: ec2.amazonaws.com
      recipientAccountId: "123456789"
      sourceIPAddress: 1.2.3.4
      userAgent: Chrome Browser
    Name: DisableEbsEncryptionByDefault Event
  - ExpectedResult: false
    Log:
      awsRegion: ap-northeast-1
      eventName: DescribeInstanceStatus
      eventSource: ec2.amazonaws.com
      eventTime: "2022-09-25 16:16:37"
      eventType: AwsApiCall
      readOnly: true
      sourceIPAddress: 1.2.3.4
      userAgent: Datadog
    Name: Non Matching Event
DedupPeriodMinutes: 60
LogTypes:
  - AWS.CloudTrail
RuleID: "AWS.EC2.EBS.Encryption.Disabled"
Threshold: 1

Detection logic

Condition

eventSource eq "ec2.amazonaws.com"
eventName eq "DisableEbsEncryptionByDefault"

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
eventNameeq
  • DisableEbsEncryptionByDefault
eventSourceeq
  • ec2.amazonaws.com

Output fields

Fields the rule emits when it matches. Chronicle authors list these in the outcome block; they appear on the detection and $risk_score drives alerting. Sentinel / Defender XDR rules build them up through project / summarize / extend stages. Sentinel maps these into alert fields via entityMappings and customDetails; Defender XDR custom detections surface them as alert fields directly.

Field
eventName
eventSource
awsRegion
recipientAccountId
sourceIPAddress
userAgent
userIdentity