Tape is still one of the cheapest ways to keep a copy of data that ransomware cannot reach, but only if the cartridges are encrypted, the keys are kept apart from them, and someone can prove the data will restore. A cartridge on a shelf is offline, yet it is also small, portable and easy to lose in transit, and a tape library is a networked robot with its own admin interface. This guide covers the security of tape backup estates: LTO drive encryption and key management, WORM media, library and backup server hardening, offsite vaulting and custody, restore testing and end-of-life handling. It is for backup administrators, infrastructure and security teams who run or are reconsidering tape. General backup design (3-2-1-1-0, object lock, isolated vaults) is in the Backup Security and Immutable Backup Guide and is not repeated.
Key takeaways
- Turn on drive encryption: LTO drives encrypt with AES-256-GCM at full speed, so there is rarely a performance reason to write cleartext cartridges.
- The key manager is the real backup: without the keys every encrypted cartridge is unreadable, so the key manager needs its own replicated, offline-protected backup kept apart from the tapes.
- Offline only counts if it is out of reach: cartridges left in library slots are online to anyone who controls the backup server or the library interface.
- Custody breaks in transit: serial-level tracking, locked cases and contract limits on subcontracting matter more than the vault itself.
- Restore assurance is the outcome: schedule real restores from vaulted tapes, including key retrieval, and measure them.
Where tape fits and what it protects against
Tape's security value is separation: a cartridge that is ejected and stored away cannot be encrypted, deleted or overwritten by malware on the network. The NCSC advises never having all backups connected or "hot" at the same time; ejected tape is one of the simplest ways to meet that. Tape does not protect against loss or theft of the media, against an attacker who controls the backup catalogue and expires tapes before they leave the library, or against keys going missing.
| Threat | ATT&CK reference | Tape-specific control |
|---|---|---|
| Ransomware encrypting backups | T1486 Data Encrypted for Impact | Eject and vault cartridges; WORM media for retained sets |
| Deleting or expiring backups to stop recovery | T1490 Inhibit System Recovery | Separate admin roles for retention changes; alerts on mass expiry or relabel |
| Overwriting or erasing cartridges | T1485 Data Destruction | WORM cartridges, write-protect tabs on vaulted media, library partition controls |
| Lost or stolen cartridge | n/a (physical) | Drive encryption with keys held separately; tracked transport |
| Key manager lost or compromised | n/a | Replicated key manager, key backup offline, access control on key export |
LTO encryption and key management
Drive-level encryption was added to the LTO specification with LTO-4 (Computerworld), and the LTO Program's current encryption page describes it as available on any vendor's drive or cartridge from LTO-5 onwards, using 256-bit AES in Galois/Counter Mode, which provides confidentiality and integrity. Key management is deliberately outside the drive specification: drives obtain keys from a key manager, an application or the library.
| Management method | Who supplies keys | Good fit | Watch out for |
|---|---|---|---|
| Application-managed | The backup application generates and stores keys in its own database | Single backup platform, smaller estates | Keys live with the backup catalogue; losing or compromising the backup server affects both |
| System-managed | The operating system, device driver or mainframe storage policy calls a key manager | Mainframe and some open systems estates | Policy spread across hosts; harder to audit |
| Library-managed | The tape library requests keys from an external key manager for its drives | Shared libraries used by several applications | Library admin interface becomes a key-use control point |
- Key manager protocol: enterprise key managers commonly talk to libraries using KMIP; KMIP 2.1 is an OASIS Standard. Use mutually authenticated TLS between library and key manager, with certificates issued from your internal CA.
- How keys travel with the media: IBM's documentation describes the drive writing a wrapped (encrypted) copy of the data key to the cartridge memory and other locations on the tape. The cartridge carries what the key manager needs to unwrap it, never the usable key.
- Key separation: hold the key manager, its backups and its recovery credentials in a different location and administrative domain from the tapes. The GoTo breach is the reminder: encrypted backups were stolen together with a key for part of them, and that part lost its protection.
- Key backup: replicate the key manager across sites, export its key store to protected offline media on a schedule, and test that a cold-start rebuild of the key manager can read an old cartridge.
- Key granularity: per-cartridge or per-pool keys limit exposure and allow crypto-shredding of a pool at end of retention.
- Validated modules: where policy requires validated cryptography, confirm the drive and key manager certificate status on the NIST CMVP site for the exact firmware you run.
See the Cryptographic Key Management Guide for key lifecycle, and the Encryption Key Compromise Playbook for what to do if the key manager is exposed.
WORM media and retention
- WORM cartridges: LTO WORM cartridges can be appended to but not overwritten or erased by the drive. Use them for retained compliance sets and the monthly or yearly "last resort" copies, not for daily rotation.
- Write-protect: set the physical write-protect tab on rewritable cartridges once they leave for the vault.
- Catalogue retention: the backup application decides when a tape expires and can be reused. Restrict who can change retention policies, shorten retention or manually expire media, and alert on bulk expiry. An attacker with backup admin rights can expire every tape still in the library in minutes.
- Catalogue protection: back up the backup catalogue itself to a separate tape and keep a copy offsite, so you can rebuild without the original server.
Hardening the library and backup servers
A tape library has a web interface, often SNMP and sometimes a remote service connection. Whoever controls it can move cartridges, eject them, reassign drives between partitions or reset to factory defaults.
- Management network: put library interfaces on the isolated management network, reachable only from backup servers and a jump host. See the Out-of-Band Management Network Design Guide.
- Accounts: change factory credentials, use named accounts or directory authentication where supported, separate operator (load and eject) from administrator (partition, encryption, firmware) roles.
- Protocols: HTTPS only, SNMPv3, no Telnet or FTP. See the SNMP Security Guide.
- Partitions: where a library is shared, use logical partitions so one backup application cannot see or overwrite another's cartridges.
- Import and export station: require operator action for imports, so foreign cartridges are not auto-inventoried into scratch pools.
- Backup servers and media agents: these hold the credentials to every protected system. Patch them promptly, remove them from the general domain where you can, and protect their admin accounts with phishing-resistant MFA. See the Backup Identity Isolation Guide.
- Firmware: library and drive firmware from the vendor only, tested on one drive before the rest.
Offsite vaulting and chain of custody
NIST SP 800-53 Rev. 5 CP-9(3) asks for backup copies of critical information to be stored separately, and CP-6 for an alternate storage site. Moving tapes there is where risk concentrates.
- Tracking: each cartridge by barcode, with a manifest per pickup reconciled by the vault on receipt and by you on return. Any mismatch is an incident.
- Containers: locked cases with numbered seals; the vault provider never needs the case key for routine storage.
- Contract terms: vetting of handlers, a ban or approval process for subcontracting, notification within hours of a missing item, audit rights, environmental conditions in the vault and retrieval times for disaster recovery.
- Access to the vault portal: the provider's portal can schedule retrievals and change delivery addresses. Restrict it to named users with MFA and review its audit log.
- Incident lesson: in 2012 the California Department of Child Support Services reported four backup cartridges lost during an air shipment, after its secure transport contractor used an air courier as a subcontractor. About 800,000 people were affected and the cartridges were not encrypted. Encryption with separate keys would have made it an equipment loss; contract limits on subcontracting would have kept custody where it was agreed.
Restore assurance
NIST CSF 2.0 PR.DS-11 asks that backups are created, protected, maintained and tested, and RC.RP-03 that the integrity of backups is verified before restoration. For tape that means:
- Read verification: enable verify-after-write or post-job verification in the backup application for retained sets.
- Scheduled recall tests: monthly, recall a random cartridge from the vault, restore a defined data set at the recovery site, and record the elapsed time from request to usable data.
- Key path tests: at least twice a year, restore using the secondary key manager or a key manager rebuilt from its offline backup.
- Bare-environment rebuild: annually, rebuild the backup server from its catalogue tape on clean hardware, then restore.
- Scan before return to production: restored data is scanned for malware before it is reconnected. See the Backup and Recovery Testing Checklist.
- Old formats: keep a drive able to read the oldest generation you still retain. LTO drives read a limited number of previous generations, so long retention needs a migration plan.
Media lifecycle and disposal
- Storage conditions: follow the cartridge manufacturer's temperature and humidity ranges in the vault and the library, and acclimatise cartridges before use.
- Retirement: retire cartridges at the manufacturer's load or pass limits, or when the library reports errors.
- Crypto-shredding: for encrypted pools, destroying the keys renders data unreadable; record the key destruction and still dispose of the media physically.
- Physical destruction or degaussing: magnetic tape can be degaussed with a degausser rated for the media's coercivity, or shredded. The UK NCSC recommends degaussing only for purely magnetic media with a degausser confirmed for that technology. Note that degaussing modern LTO destroys servo tracks, so the cartridge cannot be reused. See the Media Sanitisation Guide.
- Certificates: collect a destruction certificate per barcode from the disposal provider.
Implementation: a phased approach
- Assess: inventory libraries, drives, generations, cartridges in library and vault, encryption status per pool and where keys live.
- Protect keys first: stand up or harden the key manager, replicate it, back it up offline and prove a restore before switching encryption on widely.
- Pilot encryption: enable encryption on one pool, write, eject, recall and restore. Confirm the disaster recovery site can read it.
- Roll out by pool: extend to all pools; old cleartext cartridges age out through normal rotation or are re-written.
- Harden and separate: management network, roles, retention change controls and alerts.
- Contract and custody: update vault and transport contracts, manifests and reconciliation.
- Test continuously: start the recall and key path test schedule and report results.
Rollback: encryption can be turned off for new writes on a pool, but already-encrypted cartridges always need the key manager. Never decommission a key manager or delete keys until every cartridge they protect has expired and been destroyed.
Small versus large estates: a single autoloader with application-managed encryption and a monthly vaulted set can be enough for a small organisation, provided the key export is stored offsite separately. Large estates with shared libraries usually need library-managed encryption with an external KMIP key manager, partitions and a formal vault contract.
Detection and measurement
Monitor: library audit logs (eject, import, partition and encryption setting changes), backup application events (retention changes, manual expiry, relabel, catalogue deletion), key manager logs (key export, failed key requests), and vault reconciliation reports.
- Percentage of cartridges written encrypted (target 100% for data above public classification).
- Vault reconciliation discrepancies per quarter (target zero).
- Recall restore success rate and median time from request to restored data.
- Days since last successful key manager recovery test.
- Number of retention changes or manual expiries without a change record.
- Cartridges past retirement limits still in rotation.
Common failure patterns
- Keys stored with the backup server: application-managed keys whose only copy is on the server ransomware has just encrypted.
- "Offline" tapes that never leave the library: every cartridge in the slots is reachable from the backup console.
- Unencrypted legacy pools: encryption enabled for new pools but years of older cleartext tapes still sit in the vault.
- Subcontracted courier: the contracted vault provider hands transport to a third party outside the agreed controls.
- Untested recalls: restores are tested from tapes still in the library, never from the vault and never with key retrieval.
- No drive for old generations: retained tapes outlive any drive that can read them.
Framework mapping
| Control area | NIST SP 800-53 Rev. 5 | NIST CSF 2.0 | ISO/IEC 27001:2022 Annex A |
|---|---|---|---|
| Backup creation and separation | CP-9, CP-9(3), CP-6 | PR.DS-11 | 8.13 |
| Backup encryption and keys | CP-9(8), SC-28(1), SC-12 | PR.DS-01 | 8.24 |
| Restore testing and integrity | CP-9(1), CP-10 | RC.RP-03 | 8.13 |
| Media transport | MP-5 | PR.DS-01 | 7.10 |
| Media sanitisation and disposal | MP-6 | PR.DS-01 | 7.10, 7.14 |
Practitioner checklist
- Every pool holding non-public data writes encrypted cartridges.
- Key manager replicated, backed up offline, held apart from the tapes and tested by cold rebuild.
- Retained sets on WORM media or write-protected once vaulted.
- Retention changes and manual expiry restricted and alerted.
- Library on the management network with named accounts, separate operator and admin roles, HTTPS and SNMPv3.
- Backup catalogue backed up to separate media and vaulted.
- Vault contract covers subcontracting, notification, audit and retrieval times; portal behind MFA.
- Barcode-level manifests reconciled at every pickup and return.
- Monthly recall restore and twice-yearly key path test, with results reported.
- Disposal by degauss or shred with a certificate per barcode.
Standards and references
- LTO Program: Encryption
- Computerworld: The LTO-4 specification adds AES-256 encryption at the drive level
- NIST: SP 800-53 Rev. 5
- NIST: Cybersecurity Framework 2.0
- OASIS: Key Management Interoperability Protocol (KMIP) Technical Committee
- NCSC: Offline backups in an online world
- NCSC: Secure sanitisation of storage media
- IBM Documentation: Managing tape encryption
- BankInfoSecurity: 800,000 Child Support Records Lost
Related NHI Mgmt Group resources: Backup Security and Immutable Backup Guide · Backup Identity Isolation Guide · Cryptographic Key Management Guide · Data Centre Migration and Relocation Security Guide