Securely Destroying Information:
The Issue of Solid-State Drives

There are two issues with Solid-state drives. First, it’s very difficult to erase anything really secure. Second, it’s very difficult to recover information no matter which way it’s been erased. Pretty much everything said above only applies to conventional magnetic hard drives, USB flash drives and older SSD drives with no TRIM support.

Securely Destroying SSD Data

SSD Data Recovery Issues

The very existence of garbage collection and the TRIM command in particular brings havoc to both the recovery and destruction of information stored on TRIM-enabled SSD drives. Indeed, simply deleting a file does not immediately result in the wiping of its content. However, via the TRIM command, the operating system will instruct the controller of the SSD drive that disk space that was previously occupied by the deleted file is now available. Background garbage collection will then pick up newly released disk space and physically erase those data blocks. There are good technical reasons to do so described in one of the previously published articles; today we’re just discussing the effect of this behavior on data recovery and destruction.

So, garbage collection will, at some point, erase data blocks holding the content of a deleted file. But can it be recovered in the meanwhile? The answer is no. SSD controller knows that a particular block is empty by reading a corresponding flag, so it will return all zeroes if an operating system or data recovery tool attempts to read that block. There’s no easy way around it except using a special forensic device.

SSD Secure Data Destruction Issues

The very existence of that special forensic device makes securely destroying information stored on SSD drives a vital issue. The way SSD drives are designed makes traditional file shredding techniques ineffective, as new data will almost inevitable be written into different flash cells due to the implementation of data leveling, a technology designed to extend the life of an SSD drive by evenly distributing writes among different cells.

All modern manufacturers of SSD drives (Corsair, Toshiba, etc) offer more memory than it says on the box. A 120 GB SSD drive can easily come with 130 or even 140 GB of actual flash memory in order to further improve life expectance and performance of the drive. This in turn means that running a tool that writes random data to all accessible sectors is not nearly enough to securely destroy information as remnants of user data may remain in those extra blocks.

SSD Secure Erase

For securely wiping the entire content of an SSD, one must invoke a special Secure Erase command in the disk controller. The result of Secure Erase will be a fresh SSD drive that’s as empty as one that just came from the factory. Secure Erase wipes the entire content of the SSD drive, resetting all flash cells including those that contain hidden and reserved blocks. No remnants of user data will be left after initializing the drive with Secure Erase.

There’s no easy or obvious way to do it; you must use a special tool (such as PartedMagic) and possible boot your PC into a special mode in order to be able to proceed. The situation gets even more complicated as not all SSD drives support Secure Erase, and of those that do not every model supports it in a proper way. There’s simply too much uncertainty at the moment when it comes to SSD drives, but if you’re not working for the military or an unnamed government agency, you’ll be well-served by Secure Erase.

Author: Michael Miroshnichenko

1 Star2 Stars3 Stars4 Stars5 Stars (3 votes, average: 4.33 out of 5)