Detection of Unauthorized AWS Backup Recovery Point Deletion
Unauthorized deletion of AWS Backup recovery points via the DeleteRecoveryPoint API is an anti-recovery technique used by adversaries to prevent data restoration following destructive or ransomware attacks.
Adversaries targeting cloud environments often seek to inhibit system recovery to maximize the impact of data destruction or ransomware campaigns. One primary method within the AWS ecosystem is the unauthorized deletion of recovery points using the 'DeleteRecoveryPoint' API. Recovery points represent restorable backups for protected resources, including EBS volumes, RDS databases, DynamoDB tables, EFS file systems, and S3 buckets.
While the AWS Backup service performs routine lifecycle expirations for backups, deletion by a user or role principal is rare and highly suspicious. Defenders should monitor CloudTrail management events for successful 'DeleteRecoveryPoint' calls where the actor is not the 'AWSService' principal. Such activity serves as a critical indicator of potential sabotage, aiming to eliminate the victim's ability to restore operations without payment or complete manual rebuilding. This behavior often correlates with other destructive actions, such as removing Vault Locks or deleting KMS keys.
Impact
Successful deletion of recovery points prevents the restoration of critical data, which can lead to permanent data loss for an organization. This impact is particularly severe in scenarios involving ransomware or malicious sabotage, where the inability to restore from backups forces organizations to face prolonged downtime or total data destruction. The threat targets any sector utilizing AWS Backup for data resilience, with the severity proportional to the criticality of the data hosted within the AWS environment.
Recommendation
Prioritize the identification of unauthorized backup deletion by monitoring CloudTrail logs for 'DeleteRecoveryPoint' events.
- Deploy the provided detection logic to monitor for non-service principal calls to 'DeleteRecoveryPoint'.
- Restrict the 'backup:DeleteRecoveryPoint' IAM permission to a strictly limited set of highly trusted administrative roles.
- Implement AWS Backup Vault Lock in compliance mode to prevent the deletion of recovery points by any user, including root administrators, for a defined retention period.
- Enable and audit CloudTrail management events specifically for the 'backup.amazonaws.com' provider.
- During investigation, inspect the 'aws.cloudtrail.user_identity.arn' and 'source.ip' to determine if the deletion originates from an unauthorized entity or a compromised credential.
Immediate actions
Deploy detection rule for DeleteRecoveryPoint.
Threat Hunt
Search for mass deletion events of recovery points in CloudTrail.
Data: AWS CloudTrail management logs
Mitigations
Enable AWS Backup Vault Lock in compliance mode.
T1490
Detection coverage 1
Detect Unauthorized AWS Backup Recovery Point Deletion
highDetects successful deletion of AWS Backup recovery points by a principal that is not an AWS Service, indicating potential anti-recovery activity.
Detection queries are available on the platform. Get full rules →