<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Ebs - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/ebs/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Tue, 09 Jan 2024 18:25:00 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/ebs/feed.xml" rel="self" type="application/rss+xml"/><item><title>AWS EBS Encryption Disabled</title><link>https://feed.craftedsignal.io/briefs/2024-01-09-aws-ebs-encryption-disabled/</link><pubDate>Tue, 09 Jan 2024 18:25:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-09-aws-ebs-encryption-disabled/</guid><description>Detects when Amazon Elastic Block Store (EBS) encryption by default is disabled in an AWS region, potentially leading to data exposure and weakening data protection against exfiltration or ransomware.</description><content:encoded><![CDATA[<p>This detection identifies instances where Amazon Elastic Block Store (EBS) encryption by default is disabled within an AWS region. The default encryption ensures that all new EBS volumes and snapshots are automatically encrypted, protecting data at rest. Disabling this setting, detected via CloudTrail logs, introduces a significant security risk.  Attackers may disable encryption to weaken data protection measures before initiating data exfiltration or tampering with EBS volumes and snapshots. This action can serve as a precursor to data theft or ransomware attacks, as unencrypted volumes are easier to compromise. The rule focuses on the <code>DisableEbsEncryptionByDefault</code> event logged by CloudTrail when this configuration change occurs. Elastic has released this rule as part of their detection ruleset on 2026-04-10.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker gains access to an AWS account, potentially through compromised credentials or a misconfigured IAM role.</li>
<li>The attacker uses the AWS CLI or API to execute the <code>DisableEbsEncryptionByDefault</code> command, targeting a specific AWS region.</li>
<li>CloudTrail logs the <code>DisableEbsEncryptionByDefault</code> event, indicating that default EBS encryption has been disabled.</li>
<li>The attacker creates new EBS volumes within the affected region, which are now unencrypted by default.</li>
<li>Sensitive data is stored on these newly created, unencrypted EBS volumes.</li>
<li>The attacker exfiltrates the data from the unencrypted EBS volumes to an external location.</li>
<li>Alternatively, the attacker might deploy ransomware on instances using the unencrypted volumes, encrypting the data and demanding a ransom.</li>
<li>The attacker covers their tracks by deleting or modifying CloudTrail logs, if possible, to hide their activity.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Disabling EBS encryption by default can lead to the creation of unencrypted EBS volumes, exposing sensitive data at rest. A successful attack could result in data theft, data loss, or a ransomware incident. The severity depends on the type and amount of data stored on the affected volumes. Organizations in regulated industries may face compliance violations if sensitive data is stored without encryption. This could potentially impact hundreds or thousands of EBS volumes depending on the period the encryption was disabled.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule provided in this brief to detect instances of <code>DisableEbsEncryptionByDefault</code> in your AWS environment, leveraging CloudTrail logs.</li>
<li>Review IAM policies to restrict the <code>ec2:DisableEbsEncryptionByDefault</code> permission to only authorized administrators.</li>
<li>Enable AWS Config rules and Security Hub controls related to EBS encryption (<code>ec2-ebs-encryption-by-default-enabled</code>) to continuously monitor this setting, per the overview.</li>
<li>After detection, use the investigation steps in the original Elastic rule to identify affected resources and remediate the misconfiguration.</li>
<li>Enable organization-level service control policies (SCPs) to prevent future disabling of encryption-by-default across accounts, as per the original rule documentation.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>aws</category><category>ebs</category><category>encryption</category><category>cloudtrail</category></item><item><title>AWS EC2 EBS Snapshot Access Permissions Removed</title><link>https://feed.craftedsignal.io/briefs/2024-01-aws-ebs-snapshot-access-removed/</link><pubDate>Tue, 09 Jan 2024 15:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-aws-ebs-snapshot-access-removed/</guid><description>Detection of AWS EC2 EBS snapshot access permissions removal can indicate malicious attempts to disrupt data recovery, evade detection, or maintain exclusive backup access, leading to increased attack impact and incident response complexity.</description><content:encoded><![CDATA[<p>This detection identifies the removal of access permissions from shared AWS EC2 EBS snapshots using AWS CloudTrail logs. EBS snapshots are critical for data retention and disaster recovery. Threat actors may attempt to revoke or modify snapshot permissions to prevent legitimate users or processes from accessing backups, which hinders recovery efforts following data loss or destructive actions. This tactic can also be employed to evade detection or maintain exclusive access to sensitive backups, amplifying the impact of attacks and complicating incident response. This behavior matters because successful removal of access can significantly delay or prevent data recovery, leading to prolonged downtime and potential data loss. The rule focuses on identifying <code>ModifySnapshotAttribute</code> events where access is being removed, specifically looking for changes to <code>CREATE_VOLUME_PERMISSION</code> via <code>remove=</code>.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker gains unauthorized access to an AWS account, possibly through compromised credentials or exploiting IAM misconfigurations.</li>
<li>The attacker enumerates available EC2 EBS snapshots within the targeted AWS environment to identify potential targets for disruption.</li>
<li>The attacker uses the <code>ModifySnapshotAttribute</code> API call to remove access permissions from the identified EBS snapshots, specifically targeting the <code>CREATE_VOLUME_PERMISSION</code> attribute.</li>
<li>The request parameters in the CloudTrail logs indicate the removal of access, observed through the presence of <code>&quot;attributeType=CREATE_VOLUME_PERMISSION&quot;</code> and <code>&quot;remove=&quot;</code>.</li>
<li>Legitimate users or automated processes attempting to restore data from the affected snapshots will fail, hindering recovery efforts.</li>
<li>The attacker may repeat the process across multiple snapshots to maximize the impact and disrupt the entire recovery strategy.</li>
<li>The attacker may also delete snapshots entirely using <code>DeleteSnapshot</code> to ensure complete data loss.</li>
<li>The attacker achieves their objective of disrupting business operations, holding data for ransom, or covering tracks by preventing forensic analysis and recovery.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful removal of EBS snapshot access can have significant consequences. Organizations may face extended downtime, data loss, and reputational damage. Depending on the criticality of the affected systems, financial losses and regulatory penalties may also occur. The number of victims and sectors targeted can vary, but any organization relying on AWS for data storage and backup is potentially at risk. If the attack succeeds, the organization's ability to recover from data loss events like ransomware or accidental deletion is severely compromised, potentially leading to irreversible data loss.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule <code>AWS EBS Snapshot Access Removal</code> to detect unauthorized modification of snapshot access permissions in your AWS environment. Enable AWS CloudTrail logging and ensure logs are ingested to your SIEM (Security Information and Event Management) to enable the rule.</li>
<li>Review IAM policies and restrict <code>ec2:ModifySnapshotAttribute</code> permissions to only trusted administrative roles as mentioned in the rule's investigation steps.</li>
<li>Enable AWS Config rules and Security Hub controls such as <code>ebs-snapshot-public-restorable-check</code> to provide continuous monitoring and compliance checks, as recommended in the rule's response section.</li>
<li>Implement backup immutability using AWS Backup Vault Lock or S3 Object Lock to protect against unauthorized modifications, as mentioned in the response section.</li>
<li>Investigate any alerts generated by the Sigma rule, examining <code>aws.cloudtrail.user_identity.arn</code> and <code>source.ip</code> to identify the actor and source of the access removal, as indicated in the rule's triage section.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>aws</category><category>ebs</category><category>snapshot</category><category>impact</category></item></channel></rss>