We’d like to use cookies to see how visitors use this site and to measure our advertising. Nothing is tracked unless you allow it.

Building a safer AWS ransomware recovery system

Creating an isolated backup approach that protects recovery data if a primary account is compromised.

al=""

Challenge

The payment program needed to strengthen its recovery posture in support of an organization-wide IT objective: establish a full-system recovery plan and backup standard aligned with updated resiliency expectations. Existing backups could address routine data loss or corruption, but they were stored within the same AWS accounts as the applications. If an attacker obtained administrative credentials, both production data and local recovery points could be decrypted or deleted.

A full active/active (blue/green) or multi-cloud disaster recovery setup could have addressed this risk, but the cost and operational overhead of standing up and continuously syncing duplicate environments made that route impractical given the program’s scope and timeline.

Same-account backups supported operational recovery but did not provide sufficient isolation from an account-level compromise. The desired model introduced a second problem: cross-account backup had been disabled at the AWS Organizations level for security reasons. Enabling it globally for a limited, single-program use case could unintentionally allow other accounts to send backups to unauthorized destinations or to the protected ransomware vault.

The solution therefore had to satisfy three controls at the same time: program AWS accounts could copy to the designated ransomware account; program AWS accounts could not copy to other accounts; and accounts outside the program could not copy into the program’s ransomware AWS account.

Team Flexion designed and validated a cross-account ransomware backup capability. Through Automation and Policies, application teams could copy backups into a dedicated recovery account, while access to retrieve, alter, or delete those backups remained with central organization IT administrators. The team also created the organization-level guardrails needed to permit the approved program backup path without opening unrestricted cross-account backup activity across the AWS organization.

Approach

Designed a separate recovery path

The team first built and tested the architecture in a controlled AWS environment, keeping experimentation separate from the client’s production accounts.

Application engineers could continue using same-account backups for routine recovery. For ransomware recovery, the team created a separate backup copy in a dedicated recovery account. This meant that if an attacker gained administrative access to the primary account, that same access could not be used to alter or delete the protected recovery copy.

The dedicated recovery account also lived in a different AWS Region than the primary production environment, so the backup copy stayed out of reach even in the event of a regional disruption or an attacker attempting to pivot across the primary Region.

The team then translated the proof of concept into safeguards the department’s IT team could implement across the organization, including access rules, encryption guidance, and infrastructure setup scripts.

Built and validated the safeguards

The team designed multiple layers of protection around the recovery path. The protected account accepted backups only from approved program accounts, while organization-wide access rules prevented accounts from copying backups elsewhere and blocked accounts outside the program from copying into the protected recovery account.

Controlled encryption keys added another layer of separation, while protections around the recovery copies reserved deletion for the organization’s IT team through a controlled process. The team also accounted for differences in how individual AWS services handle backup and encryption, including specific requirements for RDS and DynamoDB.

Testing covered both sides of the design. An approved program account successfully copied a backup to the designated recovery account. An AWS account outside the program was blocked, even when its account-level settings appeared to allow the action. This confirmed that the organization-wide safeguards took priority over individual account permissions and that the protected recovery path worked as intended.

For broader adoption, the team documented the service-specific requirements and the central policy changes needed when additional programs adopt the capability or replacement accounts are introduced after an incident.

This gives the approach a much cleaner progression: first, establish an isolated recovery model; second, secure it and prove that it works. It also preserves the important technical substance without requiring readers to understand terms like “SCP deny,” “vault access policy,” or “organization-level override.”

The proof of concept validated the core hypothesis. LLMs can meaningfully accelerate modernization by improving understanding of legacy COBOL systems without increasing risk or cost. The team successfully generated plain-language, structured descriptions of COBOL programs that explained system behavior, data usage, outputs, and dependencies in a form teams could trust and act on.

Outcome

With our example and guidance, the client’s IT team implemented the guardrails, enabling the program’s cross-account backup use case while preserving restrictions for the broader AWS organization. The program established an isolated ransomware recovery capability and became the first program in the organization to implement this protected cross-account model.

Because it isolates recovery data across AWS accounts and Regions using AWS-native backup tooling, this model delivers much of the resilience benefit of a full active/active blue/green environment or a multi-cloud failover strategy, without the cost and operational burden of standing up and continuously syncing duplicate infrastructure. For teams that need meaningful ransomware resilience fast and on a limited budget, it’s a low-cost, low-lift starting point that can later be layered with more advanced disaster recovery strategies as needs and budgets grow.

The work produced more than a one-time configuration. It created a reusable implementation package: service control policies, backup vault access policies, KMS policy guidance, CloudFormation test-environment scripts, documented service-specific prerequisites, and evidence from positive and negative tests. Future adopters can use the pattern as a starting point, while accounting for their AWS Organizations structure and requesting controlled updates to central policies.

If your team is looking to build resilient systems, see how we can help you modernize with security, recovery, and adaptability in mind.

Ready to change the way you’re doing business?

Contact us to talk about how Flexion can help your organization drive efficiency, optimize costs, and achieve your technology goals!

blue background