ATA Sanitize vs ATA Secure Erase: Why the Newer Command Wins
ATA Sanitize vs ATA Secure Erase is a real choice when a SATA drive leaves the organisation, and the two are not equals. The older SECURITY ERASE UNIT command, usually called ATA Secure Erase, has two modes that IEEE Std 2883-2022 places on different sides of the line: Normal Erase mode is Clear, Enhanced Erase mode is Purge, and the standard advises against relying on either until the manufacturer confirms how that model implements it (§8.4.2.3, §8.4.3.2.1). The Sanitize commands (block erase, overwrite and crypto scramble) are Purge options without that model-variability warning, although they carry conditions of their own (§8.4.3.2).
This guide covers where each mode sits, when Sanitize is the better Purge, hidden capacity and verification. For policy context, see what changed in NIST SP 800-88 Rev. 2.
Clear, Purge and where each ATA command sits
NIST SP 800-88 Rev. 2 §3.1 defines Clear, Purge and Destroy. Clear protects user-addressable locations against simple, non-invasive recovery through the host interface (§3.1.1). Purge makes recovery infeasible with state-of-the-art laboratory techniques while leaving media potentially reusable, and should be preferred when possible (§3.1.2). IEEE Std 2883-2022 uses Clear, Purge and Destruct (§6.2 to §6.4). The difference is reach: Clear is not appropriate for sensitive data because it need not remove data from non-addressable locations, and on an SSD old data can survive at its previous physical address (§6.2). Table 8 states that Purge leaves reallocated, overprovisioned and cached data unretrievable, a claim it does not make for Clear.
ATA Secure Erase: Normal versus Enhanced mode
Both modes use the same SECURITY ERASE UNIT command; the erase mode setting decides which runs. Normal Erase appears only among IEEE’s ATA Clear actions (§8.4.2.2, §8.4.2.3). Enhanced Erase is the fourth ATA Purge option, after cryptographic erase, sanitize block erase and sanitize overwrite (§8.4.3.2, §8.4.3.2.1). The drive must support the command and report security state SEC4 or SEC5, meaning security is enabled and the drive is not frozen. If it fails, retry or use another method at the same level, then escalate.
Both clauses add the key caveat: because implementations vary, IEEE does not recommend SECURITY ERASE UNIT without first consulting the manufacturer to confirm the model-specific behaviour meets your organisation’s needs (§8.4.2.3, §8.4.3.2.1). Enhanced mode is Purge on paper, but the evidence burden sits with you, model by model.
How Enhanced Secure Erase runs in practice
Enhanced Secure Erase is not a separate command. The erasure tool first sets a temporary user password through the ATA security feature set, which enables security on the drive, then sends SECURITY ERASE UNIT with the enhanced mode selected. When the erase finishes, the drive clears the password and security is disabled again.
Drives that support enhanced mode say so in their identify data, together with an estimated completion time for each mode. Check that the option is reported before planning around it. Enhanced mode is meant to reach all user data areas, including reallocated sectors the host can no longer address. On many SSDs, though, the manufacturer carries it out by changing an internal encryption key or erasing flash blocks rather than writing a pattern. That may be entirely sound, but it cannot be seen from outside the drive, which is why manufacturer confirmation comes first.
Why model variability is a real risk
NIST Rev. 2 Appendix B warns that similarly named commands can perform very different operations, that a name can imply a capability the command does not deliver, and that users may be unable to tell how sanitisation is implemented. It recommends asking vendors which areas each sanitize command does not address and what validation testing exists. NIST also calls dedicated sanitize commands a trade-off: they reach storage areas more effectively, but require trust that the vendor implemented them as expected (§3.1.1). IEEE, however, reserves its explicit consult-the-manufacturer warning for SECURITY ERASE UNIT and describes the Sanitize techniques with defined requirements.
The three ATA Sanitize options for Purge
IEEE Tables 9 to 11 map each technique to its ATA command: CRYPTO SCRAMBLE EXT, BLOCK ERASE EXT and OVERWRITE EXT. For block erase and overwrite, drives implementing these commands must make media that can no longer be altered, such as bad blocks, inaccessible across the host interface; if that is an unacceptable risk, IEEE says to use Destruct (§8.4.3.6, §8.4.3.7).
Sanitize block erase (BLOCK ERASE EXT)
Block erase suits NAND flash, clearing a whole erase block in one operation, and generally takes much less time than overwriting (§6.5.2). Magnetic media cannot be block erased (§8.4.1), so this is an SSD option. Because overwriting reduces NAND endurance, IEEE says such drives should Purge by Sanitize Block Erase rather than Sanitize Overwrite (§8.4.3.7). For why host-level overwriting falls short on flash, see is overwriting SSDs safe for data erasure.
Sanitize overwrite (OVERWRITE EXT)
Overwrite is Purge when a device command also writes to non-addressable locations such as reallocation pools, overprovisioning and caches; writing only addressable locations is Clear (§6.5.1). IEEE allows one fixed-pattern pass, several passes, or an odd number of passes with the invert option (§8.4.3.7), so one pass is valid. For a hard drive without qualifying encryption, this is the Sanitize option that applies.
Sanitize crypto scramble (CRYPTO SCRAMBLE EXT)
Crypto scramble is the ATA Sanitize cryptographic erase (Table 9). It counts as Purge only when IEEE’s minimum conditions hold, including encryption of all target data before it was recorded and sanitisation of every key copy (§6.5.3). IEEE §8.4.3.5 rules it out where encryption was enabled after sensitive data was stored or some data is unencrypted. See the four conditions that make cryptographic erase a true Purge for the full checks.
One more gate: if the drive supports a TCG Opal family or Enterprise SSC and the Locking SP is owned, IEEE directs you away from Sanitize block erase and overwrite to a different Purge method (§8.4.3.6, §8.4.3.7), such as the TCG cryptographic erase paths in §8.4.3.5.
ATA Secure Erase versus a cryptographic key reset
The two work on different things. Secure Erase acts on the stored data itself, writing over or erasing it. A cryptographic key reset, such as Sanitize crypto scramble or the key change on a self-encrypting drive, leaves the stored data in place and replaces the media encryption key, so what remains can no longer be decrypted.
A key reset usually completes in seconds, where an overwrite-based Secure Erase on a large hard drive can take hours. The trade-off is that a key reset is only as strong as the drive’s encryption. Every user data area must have been encrypted with that key from the start, and no copy of the key can survive. Where any of that is in doubt, follow the key reset with Sanitize block erase on an SSD, or Sanitize overwrite on a hard drive, if the drive supports it.
Verification differs too. After a key reset the drive returns unpredictable data rather than zeros, so the practical check is that known earlier contents are no longer returned. Looking for a blank pattern is not a valid check. Whichever route is used, the record should name the technique that actually ran, not just the command family.
ATA Sanitize vs ATA Secure Erase: how to choose
For a SATA drive holding sensitive data, this is our reading of IEEE Std 2883-2022, not a ranking it publishes.
- SSD without qualifying encryption: Sanitize block erase (Table 10).
- Self-encrypting SSD meeting the CE conditions: crypto scramble (Table 9), or block erase where no owned Locking SP rules it out.
- Hard drive: Sanitize overwrite (Table 11), or crypto scramble on a qualifying self-encrypting model.
- Enhanced Secure Erase: a fallback when no Sanitize option is supported, with the manufacturer’s confirmation on file (§8.4.3.2.1).
- Normal Secure Erase: Clear only, so not for sensitive data (§6.2, §8.4.2.3).
- Nothing supported, or every Purge attempt fails: Destruct (§8.4.3.2, §8.4.4).
Hidden capacity: check HPA, DCO and AMA first
A drive can report less capacity than it holds. IEEE’s first step for ATA Clear is to reset settings that limit access to parts of the media: Host Protected Area, Device Configuration Overlay, Accessible Max Address, Zone Activation, Storage Element Depopulation and TCG locking ranges in a Locked state (§8.4.2.2 a)). That applies directly to Normal mode Secure Erase and to host overwrites, which IEEE describes as running up to the Native Max Address (§8.4.2.2 c)). The ATA Purge steps in §8.4.3.2 do not repeat the list, so treat it as a sensible pre-check rather than a stated Purge requirement. Still, investigate and record any capacity mismatch, and ask the vendor whether its Sanitize implementation reaches every hidden area (NIST Appendix B).
Verification and records
If you will verify, IEEE’s ATA Purge procedure seeds known patterns in random blocks beforehand and checks them afterwards (§8.4.3.2). For Purge, IEEE says full verification of addressable media should be performed (§7.1). After crypto scramble, and some block erase implementations, results are unpredictable, so instead read a location with known previous contents and confirm the old data is not returned (§7.2, §7.4). Areas the host cannot reach stay uninspected (§7.2), so trust in the command still matters.
NIST Rev. 2 splits assurance into verification (completion status, errors and drive health) and validation (the decision to accept or reject the result), and says elaborate sampling is unnecessary unless policy requires it (§4.5.1, §4.5.2). The record of the wipe should include method, technique, tool and version, and verification method (§4.6).
Practical IT checklist
- Identify the media type and the Sanitize commands the drive supports, then match one to the media (IEEE §8.4.1, Tables 9 to 11).
- Use Enhanced mode only with the manufacturer’s confirmation of model behaviour on file, and confirm security state SEC4 or SEC5 first (IEEE §8.4.3.2.1).
- Check for HPA, DCO, Accessible Max Address and locked ranges, reset them where required, and record any capacity mismatch (IEEE §8.4.2.2).
- After crypto scramble, verify with a known-content check (IEEE §7.4).
- On failure, retry or switch Purge technique; if none succeeds, Destruct (IEEE §8.4.3.1, §8.4.4).
- Record method, technique, tool version and verification method on the record of the wipe (NIST §4.6).
Operators also need a dependable way to issue these commands outside the installed operating system. A bootable tool such as RedKey USB can run outside the installed OS on compatible PCs and Intel Macs and can use drive-supported sanitize paths where the hardware exposes them. Confirm which technique ran on each drive.
The bottom line
ATA Sanitize vs ATA Secure Erase is not a close contest under IEEE Std 2883-2022. Normal mode Secure Erase is only Clear, which IEEE says is not appropriate for sensitive data. Enhanced mode is Purge, but IEEE does not recommend either mode without manufacturer confirmation of the model’s implementation (§8.4.2.3, §8.4.3.2.1). Sanitize gives defined Purge techniques: block erase for flash, overwrite for magnetic media, crypto scramble where the cryptographic erase conditions hold (§8.4.3.2, Tables 9 to 11). Check hidden capacity, match the command to the media, verify and record what ran (NIST Rev. 2 §4.5, §4.6), and escalate to Destruct if nothing suitable works.
