Certopolis

Certified Information Systems Security Professional (CISSP)

Clear vs purge vs destroy: media sanitization (CISSP)

NIST SP 800-88 Rev. 2 defines three sanitization methods. Clear uses logical techniques on all user-addressable storage and protects against simple, non-invasive recovery. Purge makes recovery infeasible with state-of-the-art laboratory techniques and can leave the media reusable. Destroy also defeats laboratory recovery and leaves the media unable to store data.

How do clear, purge and destroy differ?

Clear applies logical techniques, typically the standard read and write commands, to every user-addressable storage location. It protects against recovery through the same interface the user has. Overwriting with non-sensitive data is one clear technique. A factory reset can count as clear on devices that do not support rewriting.

Purge applies physical or logical techniques that make recovery of the target data infeasible using state-of-the-art laboratory techniques, while keeping the media in a potentially reusable state. SP 800-88 Rev. 2 says purge should be used instead of clear when possible. Logical purge techniques include overwrite, block erase and cryptographic erase issued through dedicated, standardized device sanitize commands.

Destroy also makes laboratory recovery infeasible, and afterwards the media cannot be used to store data. The physical techniques NIST lists are disintegrate, incinerate, melt, pulverize and shred. Clear and purge are never appropriate for hard copy. Destroy fits all hard copy and most storage media, but not logical or virtual storage.

Why do overwriting and degaussing fail on SSDs?

Flash devices with spare cells and wear levelling do not let the user address every area where data has been stored through the native read and write interface. SP 800-88 Rev. 2 says this makes it infeasible to sanitize all previous data by overwriting. It also says multi-pass overwrite patterns, such as those once based on DoD 5220.22-M, give very little protection on SSDs with overprovisioning and should be avoided there.

Degaussing should not be used on non-magnetic media such as flash-based SSDs. A degausser can make a drive inoperable and still fail to sanitize the data. NIST adds that degaussing is not considered an approved destroy technique.

Overwriting also cannot be used on media that cannot be rewritten or are damaged to the point of being inoperable. Destruction may be the only option when the media have failed. Bending, cutting or drilling may only partly damage a drive, and pulverizing and shredding should be avoided for all but the lowest security categories of data.

When is cryptographic erase acceptable?

Cryptographic erase (CE) is a purge technique. It sanitizes the keys that encrypt the data, or prevents access to those keys. For logical or virtual storage such as cloud storage, where the owner cannot reach the physical media, CE may be the only viable purge option.

CE has preconditions. No sensitive data may have been stored on the media in plaintext, because CE only sanitizes keys related to encrypted data. CE should not be trusted where keys have been backed up or escrowed, unless the organization has high confidence about how and where those keys were stored and managed outside the media.

After CE the data remains on the media as ciphertext. For information whose confidentiality must last for decades, a future weakness in the algorithm or new computing capability could make it recoverable, so NIST says CE may not be acceptable in those cases.

Where the exam catches people

  • Believing a drive that no longer powers on after degaussing has been sanitized: flash storage does not respond to degaussing.
  • Believing a three-pass overwrite is stronger than a drive's sanitize command on an SSD: overwriting cannot reach spare cells, and multi-pass patterns add very little.
  • Believing cryptographic erase works on any encrypted drive: it fails the precondition if sensitive data was ever written in plaintext or if key copies exist elsewhere.
  • Believing destroy applies to cloud storage: destroy does not fit logical or virtual storage, where cryptographic erase may be the only purge option.
  • Believing the media type decides the method: SP 800-88 bases the decision on the confidentiality of the information, and the media type then decides the technique.

Written from these sources

Try 3 questions on this

Pick an answer to see why each option is right or wrong.

  1. An agency will reissue a solid-state drive from a retired laptop. The drive held sensitive case files for two years before software full disk encryption was turned on last month, and it has not been sanitized since. A technician proposes cryptographic erase to purge it. Under NIST SP 800-88 Rev. 2, how should the proposal be judged?

    Right. In the game that’s Renown for your Domain 2: Asset Security building.

    Not that one: B is right. In the game your Domain 2: Asset Security building would lose a little Renown, and this question would come back later.

    Show the full explanation and doc quotes

    Sensitive plaintext needs another sanitization technique suited to the media. This drive held sensitive files for two years before encryption and has not been sanitized since, so CE alone cannot be relied on.

    Written from nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-88r2.pdf

  2. A disposal contractor runs an agency's retired solid-state drives through a degausser matched to hard disk coercivity. Each run reports success, and afterward the drives no longer power on. Under NIST SP 800-88 Rev. 2, what is the status of the data on these drives?

    Right. In the game that’s Renown for your Domain 2: Asset Security building.

    Not that one: C is right. In the game your Domain 2: Asset Security building would lose a little Renown, and this question would come back later.

    Show the full explanation and doc quotes

    The data on these drives remains unsanitized.

    Written from nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-88r2.pdf

  3. A CISO is revising a drive-reuse standard inherited from an older policy. It requires every magnetic hard drive returning to the spare pool to be overwritten three times with differing patterns, citing DoD 5220.22-M. The drives must stay usable and be protected against simple, non-invasive recovery. Under NIST SP 800-88 Rev. 2, what should the standard require?

    Right. In the game that’s Renown for your Domain 2: Asset Security building.

    Not that one: A is right. In the game your Domain 2: Asset Security building would lose a little Renown, and this question would come back later.

    Show the full explanation and doc quotes

    That counters the obsolete DoD 5220.22-M language, which mandated a number of passes and patterns, so one overwrite of all user-addressable storage is what the standard should require.

    Written from nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-88r2.pdf

Ask for something