Recovering from ransomware on AWS takes more than restoring the latest backup. You need a copy the attacker could not delete, a way to prove which restore point is clean, somewhere safe to restore it, and a rehearsed plan for rebuilding and changing every credential. Backups are one of four parts; on their own, they often restore the problem along with the data.
This Insight covers the four parts, the AWS services that support each, and what UK firms should have in place before they need it.
Why “restore from snapshot” fails after ransomware
An ordinary outage and a ransomware attack look similar on a dashboard, but they need different recoveries:
| Hardware or Region failure | Ransomware or destructive attack | |
|---|---|---|
| Can you trust production? | Yes, once it comes back | No: the attacker may still be inside |
| Are the backups intact? | Usually | The attacker may have deleted or encrypted them first |
| Is the latest backup clean? | Yes | Possibly not: the intrusion often starts well before the encryption |
| Where do you restore? | The same accounts, or a recovery Region | Somewhere the attacker has no route into |
| Credentials | Keep them | Reissue them all |
AWS’s own cyber recovery reference approach starts from the same point: the recovery path “should not share a trust boundary with the environment being recovered”. A pilot light or warm standby helps with the left-hand column. Replication copies encrypted data as faithfully as good data, so the right-hand column needs more.
1. Backups an attacker can’t delete
If stolen administrator credentials can delete your backups, the attacker will. On AWS the answer is a locked vault:
- AWS Backup Vault Lock in compliance mode stops anyone, including the account owner, from deleting recovery points before their retention ends, once its cooling-off period is over.
- A logically air-gapped vault is always locked in compliance mode and keeps recovery points in AWS service-owned accounts, so they can be shared to a separate account for restore.
Our air-gapped backup entry compares the options. The UK’s National Cyber Security Centre sets out the same expectations in its principles for ransomware-resistant cloud backups: resilience to destructive actions, restoring from older versions when later ones are corrupted, protected encryption keys, and alerts on significant changes.
Set retention long enough to reach back past an intrusion you haven’t spotted yet. A seven-day retention is no use if the attacker has been inside for three weeks.
2. Knowing which restore point is clean
The newest backup is the most likely to contain the attacker’s foothold. GuardDuty Malware Protection for AWS Backup scans EBS snapshots, EC2 AMIs and S3 recovery points for malware, automatically as backups are created or on demand, including “verifying a backup before restore”. It scans a read-only copy, so the backup itself is untouched.
AWS’s reference approach then works backwards: establish when the intrusion began from logs, test the most recent recovery point before that boundary, and move to an earlier one if validation fails. Scanning helps, but the event boundary comes from your logs, so keep CloudTrail and other security logs somewhere the attacker can’t alter them.
3. A clean place to restore
Restoring into the compromised accounts invites reinfection. AWS describes an isolated recovery environment: a separate account with no trust relationship to production, no VPC peering and no internet-facing resources, where backups are restored, checked and rebuilt before traffic moves.
For the strongest separation, AWS recommends holding recovery authority in a separate AWS organisation, with multi-party approval to open a read-only restore vault. That design, in AWS’s words, “protects against compromise of the entire organization, including its management account or identity provider”.
4. A playbook: rebuild, restore, rotate
AWS sums up the recovery in three words. Rebuild infrastructure from code, not from images that may be infected; this is where infrastructure as code pays for itself. Restore business data from the validated recovery point. Rotate every credential instead of carrying any forward. Then cut traffic over, typically with DNS health checks.
Write it as a runbook that names who decides, who approves the restore point, and who talks to clients and regulators. Most of the first hours go on decisions, not technology.
Testing it before you need it
AWS Backup restore testing runs scheduled restores, records how long each took, and deletes the restored resources afterwards. Each test has a cost, so start with your most important systems. It proves a backup restores; it doesn’t prove the whole playbook. For that, run a drill as described in How to Test an AWS DR Plan.
The UK angle
For FCA-regulated firms, ransomware that deletes backups is a standard severe but plausible scenario for operational resilience testing, so this design doubles as regulatory evidence. The government is also tightening the rules. On 3 December 2026 it set out plans to ban public sector bodies and critical infrastructure operators from paying ransoms, and to require medium and large organisations to report attacks within 72 hours, as reported by SecurityWeek. The measures are planned for the National Security Bill and are not yet law. Either way, a firm that can recover without paying is in a far stronger position.
A worked example
(Illustrative.) A UK wealth manager is hit on a Monday. Logs show the attacker first got in 16 days earlier.
| Step | What happens | Time |
|---|---|---|
| Event boundary | CloudTrail logs, stored in a separate account, set the intrusion start | 3 hours |
| Backups | Main-account backups deleted by the attacker; copies in a logically air-gapped vault, 35-day retention, are intact | — |
| Clean restore point | Malware scan rejects the newest candidate; the recovery point from 17 days ago passes | 2 hours, alongside the rebuild |
| Rebuild | Infrastructure deployed from code into an isolated recovery account | 4 hours |
| Restore and rotate | Data restored, all credentials reissued, application checked | 5 hours |
| Cutover | DNS switched to the rebuilt environment | 1 hour |
Recovery takes about 13 hours, and 17 days of data must be re-entered from source systems. With a 7-day retention there would have been no clean copy at all. The lesson for the firm: retention length, not backup frequency, decided the outcome. Its next review sets the recovery point objective for this scenario explicitly.
Where to start
- Check whether a stolen admin account could delete your backups today.
- Copy backups into a locked or logically air-gapped vault, with retention measured in weeks.
- Keep security logs out of the attacker’s reach.
- Define the infrastructure as code and write the rebuild, restore, rotate runbook.
- Test a restore into a separate account, and time it.
If you aren’t sure your backups would survive, read why “we have backups” is not a DR plan. Designing and proving a ransomware recovery like this, with timed evidence, is part of a Yemberzal Disaster Recovery Assessment.