<?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>Backup - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/backup/</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>Wed, 03 Jul 2024 12:00:00 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/backup/feed.xml" rel="self" type="application/rss+xml"/><item><title>AWS RDS Snapshot Deletion Detected</title><link>https://feed.craftedsignal.io/briefs/2024-07-aws-rds-snapshot-deletion/</link><pubDate>Wed, 03 Jul 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-07-aws-rds-snapshot-deletion/</guid><description>The deletion of AWS RDS DB snapshots or disabling backups via configuration changes can inhibit recovery, destroy forensic evidence, and prepare for destructive actions by adversaries.</description><content:encoded><![CDATA[<p>This rule detects the deletion of AWS RDS DB snapshots or configuration changes that effectively remove backup coverage for a DB instance. RDS snapshots contain full backups of database instances, and disabling automated backups by setting &quot;backupRetentionPeriod=0&quot; has a similar impact by preventing future restore points. A threat actor with sufficient AWS permissions may delete snapshots or disable backups to inhibit recovery, destroy forensic evidence, or prepare for follow-on destructive actions such as instance or cluster deletion. The rule focuses on successful snapshot deletions and backup disabling events within AWS RDS. The scope includes any AWS environment utilizing RDS for database services.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker gains access to an AWS account with sufficient permissions to manage RDS instances and snapshots, possibly through compromised credentials or an IAM role with excessive privileges.</li>
<li>The attacker enumerates available RDS DB instances and snapshots within the target AWS account using AWS CLI or API calls (e.g., <code>DescribeDBSnapshots</code>, <code>DescribeDBInstances</code>).</li>
<li>The attacker identifies target DB instances and their associated snapshots that are critical for recovery or contain valuable forensic data.</li>
<li>The attacker deletes RDS DB snapshots using the <code>DeleteDBSnapshot</code> API call, effectively removing restore points.</li>
<li>Alternatively, the attacker modifies the DB instance configuration using the <code>ModifyDBInstance</code> API call, setting <code>backupRetentionPeriod</code> to 0 to disable automated backups and prevent future restore points.</li>
<li>The attacker may then delete the RDS instance itself using DeleteDBInstance.</li>
<li>The attacker attempts to cover their tracks by deleting relevant CloudTrail logs or disabling CloudTrail logging.</li>
<li>The attacker's objective is to prevent restoration to a known-good state and destroy forensic evidence of attacker actions, potentially as part of a ransomware attack or data exfiltration attempt.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful deletion of RDS snapshots or disabling of backups can lead to significant data loss and prolonged downtime, making recovery from security incidents or operational failures difficult or impossible. This can impact business continuity, data integrity, and regulatory compliance. The precise impact depends on the criticality of the affected databases and the availability of alternative backup mechanisms. If successful, this can result in total data loss for the organization.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the provided Sigma rule to your SIEM to detect suspicious <code>DeleteDBSnapshot</code>, <code>DeleteDBClusterSnapshot</code>, or <code>ModifyDBInstance</code> events setting <code>backupRetentionPeriod=0</code> in AWS CloudTrail logs.</li>
<li>Restrict IAM permissions for <code>rds:DeleteDBSnapshot</code>, <code>rds:DeleteDBClusterSnapshot</code>, and <code>rds:ModifyDBInstance</code> (especially backup and deletion-related parameters) to a small set of privileged roles, as described in the remediation steps.</li>
<li>Use AWS Config rules and/or Security Hub controls to detect instances with <code>backupRetentionPeriod=0</code>, as recommended in the hardening and preventive controls section.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>aws</category><category>rds</category><category>snapshot</category><category>backup</category><category>datadestruction</category></item></channel></rss>