Join our Newsletter — 33% off our NHI Course
Home› Guides› Backup Encryption Key Management: Keeping Restore Keys Recoverable…
Guide Resilience & Recovery

Backup Encryption Key Management: Keeping Restore Keys Recoverable and Out of Attackers’ Reach

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 27 November 2026 13 min read
On this page

An encrypted backup is only as recoverable as its key, and only as safe as the identities that can reach that key. Backup encryption keys pull in two directions: they must survive the same disaster that destroyed production, yet stay out of reach of an attacker who already holds production admin rights. Lose the key and the backup is unreadable; let the attacker reach it and they can either decrypt the copies or delete the key and make every backup worthless without touching the data. This guide is for infrastructure and backup administrators and the security architects who design recovery. It covers where backup keys should live, how to separate them from production identity, escrow and offline copies, how rotation must line up with retention, and how to prove key recovery in restore drills. Wider backup design (3-2-1, immutability, air gaps) is in the Backup Security and Immutable Backup Guide and is not repeated here.

Key takeaways

  • The key is a second copy of the backup's fate. Deleting or disabling a key destroys every backup it protects, so key deletion is a ransomware and sabotage path in its own right.
  • Keep keys in a different admin domain from production. A production domain admin or cloud administrator should not be able to read, disable or schedule deletion of backup keys.
  • Hold an offline recovery copy of the root of the key hierarchy. The NCSC suggests out-of-band key backup, even a master key on paper or as a QR code kept somewhere secure, so restore does not depend on a service that may be down or compromised.
  • Retention drives key lifetime. A key cannot be destroyed while any backup encrypted under it is still inside its retention period, otherwise you have crypto-shredded your own recovery.
  • Test key recovery, not only data recovery. A restore drill that uses the live key service proves little: rehearse rebuilding access to keys from the escrow copy in a clean environment.

Why backup keys fail in a crisis

Backup encryption is required by most frameworks: NIST SP 800-53 CP-9(8) calls for cryptographic protection of backup information, and CISA's #StopRansomware Guide recommends keeping offline, encrypted backups of critical data because many ransomware variants look for and delete or encrypt reachable backups. Encryption solves the confidentiality problem of stolen backup media. It creates an availability problem that most teams discover late.

  • Same blast radius: the key service is administered by the identities the attacker has already compromised. The NCSC's principles for ransomware-resistant cloud backups make the point directly: if an attacker can delete or alter the key that protects encrypted backups, they do not need to destroy the data.
  • Circular dependency: the key server runs as a virtual machine that is itself restored from the encrypted backup, or its authentication depends on a directory that is also down.
  • Stolen together: keys or the credentials that unwrap them are stored alongside the backups. In the GoTo breach the attacker took encrypted backups and an encryption key for part of them, so that encryption gave little protection.
  • Retention mismatch: a key rotated and destroyed on a 12-month schedule leaves seven-year archive tapes unreadable.
  • Forgotten secrets: backup software passphrases set at install by an engineer who has since left, never escrowed.

Attackers aim at recovery deliberately: MITRE ATT&CK lists T1490 Inhibit System Recovery alongside T1486 Data Encrypted for Impact and T1485 Data Destruction. Destroying or withholding backup keys achieves the same result as deleting backups.

Where backup keys live

Most backup products use envelope encryption: data is encrypted with data keys, which are wrapped by a key encryption key (KEK) or master key. Managing backup keys mostly means managing that top-level key and the identities that can use or destroy it. The options below differ in how recoverable the key is after a disaster and how exposed it is to an attacker with production rights.

Where the KEK livesRecovery after disasterExposure to an attacker with production adminFits
Inside the backup server or appliance configurationPoor: lost with the server unless the config is exported and escrowedHigh: the backup admin account often equals domain adminSmall sites only, with an escrowed export
Production cloud KMS, same account or subscription as workloadsGood while the account survivesHigh: account administrators can disable keys or schedule deletionAvoid for backups that must survive account compromise
Cloud KMS in a separate recovery account or tenant with its own adminsGood: account survives a production compromiseLow if no production identity has key administration rights and deletion needs a second partyDefault choice for cloud backups
Dedicated HSM or on-premises key manager in a separate admin domainGood if the HSM is clustered or its key material is backed up to a second HSMLow with quorum (M of N) administrationRegulated and large estates, tape and on-premises backup
Externally held key (customer-held or HYOK pattern)Depends entirely on your own key service availabilityLow for the provider; your key service becomes criticalWhere sovereignty or regulation requires it; see the BYOK, HYOK and External Key Management Guide
Offline escrow (sealed media, split paper or smart cards in safes)Strong: independent of any online systemVery low, if physical custody is controlledAlways, as the last-resort copy of the root key

Most organisations end up with two of these: an online key service in a separate admin domain for day-to-day backup and restore, plus an offline escrow copy of the root. Key lifecycle basics (generation, cryptoperiods, destruction) are covered in the Cryptographic Key Management Guide.

Separating backup keys from production identity

The LastPass breach shows the failure mode: one engineer's vault held both the cloud access keys to reach the backup storage and the keys to decrypt it, so a single compromised identity yielded both. The design goal is that no single identity, human or machine, can both read backup data and decrypt it, and no production identity can destroy the keys.

  • Separate admin domain: put backup keys in a dedicated cloud account, subscription or project (or a separate on-premises key manager) whose administrators are not production administrators and do not sign in through the production directory. Use separate, phishing-resistant credentials for these administrators.
  • Split use from administration: the backup service identity may encrypt and decrypt (use the key) but cannot change key policy, disable or delete the key. Key administrators can manage policy but cannot use the key to decrypt data. CISA's guide suggests this separation of key management duties while noting the overhead.
  • Two-person destruction: require a second approver, out-of-band authorisation or quorum for disabling, deleting or changing the policy of a backup key. The NCSC recommends out-of-band authorisation for destructive actions so that compromising one system is not enough.
  • Use deletion delays: where the key service supports a scheduled deletion waiting period or soft delete with purge protection, turn it on with the longest window your process tolerates, and alert on every scheduling event. Confirm the exact behaviour in your provider's documentation rather than assuming it.
  • Machine identities: the backup service's own credentials are non-human identities. Prefer workload identity or short-lived credentials over static access keys, scope them to the backup keys only, and include them in access reviews. See the Secrets Management Guide.
  • Break-glass that does not depend on the directory: the NCSC asks that customers can still reach the backup service when corporate IT is down, through a separately authorised account or device. The same applies to the key service.

Key escrow and offline recovery copies

Escrow is a protected copy of key material (or of the root that unwraps it) held so it can be recovered when the primary key service is lost. NIST SP 800-57 Part 1 Rev. 5 treats key backup, key archive and key recovery as distinct key management functions; for backups you need all three, because archived data may outlive several key services.

  1. Decide what to escrow: the KEK or HSM root that wraps backup data keys, plus anything needed to use it (backup catalogue encryption passphrase, HSM security world or domain backup and its quorum cards). Escrowing data keys individually rarely scales.
  2. Choose the form: an export wrapped under a separate recovery key, held on removable media; or split knowledge, for example a secret split so that M of N custodians are needed. The NCSC suggests that even a master key committed to paper in human-friendly text encoding or QR code form and kept somewhere secure is a valid out-of-band copy.
  3. Separate custody: store copies in at least two physically separate locations, neither reachable from the production network, with named custodians and deputies.
  4. Record and seal: log every escrow creation, access and replacement; use tamper-evident packaging and check seals on a schedule.
  5. Refresh on change: re-escrow when the root key rotates, when custodians leave, or when the HSM firmware or key format changes.
Escrow approachStrengthWeaknessControl to add
Single sealed export in a safeSimple, independent of ITSingle point of loss or theftSecond copy at another site; dual control on the safe
Split knowledge (M of N custodians)No single person can recover aloneCustodian availability during a crisisN large enough that M are reachable at 3am; deputies
HSM domain backup with quorum smart cardsHardware-protected, vendor-supported restoreNeeds compatible HSM hardware to restoreSpare HSM or contract for replacement; tested restore
Escrow with a third partySurvives a total site lossContract, legal and access delaysDocumented release procedure tested annually

Rotation and retention alignment

Rotation limits how much data one key protects. Retention sets how long you must still be able to decrypt it. For backups, retention wins: a key version must stay usable for decryption until the last backup encrypted under it has expired.

  • Rotate the KEK, keep old versions for decrypt: new backups use the new version; old versions are retained in a decrypt-only state until the retention window of their backups has passed.
  • Map key versions to retention tiers: keep a register of which key version protects which backup sets and media, with the expiry date of the last item. Destroy a key version only after that date, and only through the two-person process.
  • Crypto-shredding is deliberate, never accidental: destroying a key to make data unrecoverable is a legitimate technique for erasure (see the Crypto-Shredding Guide), but the same act by mistake or by an attacker destroys your recovery. Treat any key destruction request for backup keys as a high-risk change with a backup-owner sign-off.
  • Long-term archives: for archives kept many years, plan for the key service itself to be replaced. Include re-wrapping data keys under a new KEK in any key service migration, and verify a restore after re-wrapping before retiring the old service.
  • Post-incident rotation: if production was compromised, rotate backup service credentials and consider re-keying, but never destroy old key versions until clean restores from the new chain are proven.

Testing key recovery in restore drills

Restore tests usually run inside the live environment, with the key service available and production directory sign-in working. That proves the data is intact, not that you can reach the keys after a disaster. Add key recovery to the drill programme in the Restore Testing and Recovery Assurance Guide.

  1. Tabletop first: walk through "production directory and cloud account are compromised; key service admins cannot sign in" and list every step and person needed to decrypt one backup.
  2. Escrow retrieval: at least [annually], retrieve the escrow copy with the custodians, verify seals and confirm the material is complete.
  3. Clean-room restore: in an isolated environment with no trust in production identity, rebuild key access from escrow (import the KEK or restore the HSM domain), then restore and verify a sample backup.
  4. Old media test: restore from the oldest retained backup set to prove its key version still works.
  5. Rollback and clean-up: destroy test copies of key material in the clean room under the two-person process and re-seal escrow.
  6. Record: time taken, people needed, and every gap found, and fix gaps before the next drill.

Detection and measurement

  • Log and alert: key disable, schedule-deletion, policy change and grant creation events on backup keys; decrypt calls from identities other than the backup service; any sign-in to the key administration account. The NCSC recommends alerts for significant changes and attempted privileged actions.
  • Metrics: share of backup sets whose key version is recorded in the register (target 100%); production identities with administration rights on backup keys (target 0); days since last successful clean-room key recovery; time to recover key access from escrow in the last drill; key deletion events without a matching approved change (target 0).

Framework mapping

AreaNIST SP 800-53 Rev. 5NIST CSF 2.0ISO/IEC 27001:2022 Annex ACIS Controls v8.1
Encrypting backupsCP-9, CP-9(8), SC-28PR.DS-11, PR.DS-018.13, 8.2411.3
Key availability and escrowSC-12, SC-12(1)PR.DS-118.2411.3
Separation of key dutiesAC-5PR.AA-055.36.8
Key recovery drillsCP-4RC.RP-035.3011.5
Key event loggingAU-2DE.CM-098.158.2

Common failure patterns

  • Keys and backups in one account: the backup vault and its KMS key share the production cloud account, so one administrator compromise reaches both, as in the GoTo and LastPass cases.
  • Key server restored from its own backup: the key manager is a virtual machine protected by the backups it decrypts, so a full-site loss is unrecoverable.
  • Automated rotation that destroys old versions: a lifecycle rule deletes previous key versions while archives encrypted under them are still in retention.
  • Escrow never tested: the sealed envelope holds an outdated passphrase, or the quorum cards need a PIN nobody recorded.
  • No alert on key deletion: a scheduled deletion sits through its waiting window unnoticed because nobody watches key events.
  • Backup service using a static, broad credential: a long-lived access key with both storage and decrypt rights, stored in an engineer's password vault.

Practitioner checklist

  • Document the key hierarchy for every backup product: data keys, KEK, where each lives and who can use or destroy it.
  • Move backup KEKs into a separate admin domain with no production administrators and separate credentials.
  • Split key use (backup service) from key administration, and require two-person approval for disable, delete and policy change.
  • Turn on deletion delay or soft delete with purge protection for backup keys where the service offers it, and alert on every scheduling event.
  • Escrow the root key offline in two locations with named custodians, tamper evidence and an access log.
  • Keep a register of key versions against backup sets and retention end dates; destroy versions only after the last expiry.
  • Replace static backup credentials with workload identity or short-lived credentials scoped to backup keys only.
  • Run an annual clean-room restore that rebuilds key access from escrow and restores the oldest retained backup.
  • Report the five metrics above to the resilience owner each quarter.

Standards and references

Related NHI Mgmt Group resources: Backup Security and Immutable Backup Guide · Cryptographic Key Management Guide · Restore Testing and Recovery Assurance Guide · Ransomware Response and Recovery Guide

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.