Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm about to trade in a 2010 MacBook Pro with an SSD. However, I'm unable to do a Secure Erase from the recovery disk (as I used to do with mechanical hard drives before selling or giving away a computer) since the "Security Options" button is grayed out.

Based on an article in Apple's knowledge base, the button is intentionally disabled for SSD's because:

Note: With an SSD drive, Secure Erase and Erasing Free Space are not available in Disk Utility. These options are not needed for an SSD drive because a standard erase makes it difficult to recover data from an SSD.

This sounds good to me, and this view was confirmed both at the Genius Bar and by calling Apple.

The problem is that almost every article I can find on this subject contradicts Apple's optimistic view about erasing an SSD. Because SSD's dynamically remap blocks on write and because they have large chunks of free space inaccessible to the OS, it's impossible to overwrite the entire drive.

The single explanation that could reconcile these two perspectives is that MacBook SSD's are "self-encrypting", i.e. they generate a random key and store it in the disk's metadata and encrypt all data stored to the drive with that key (additional explanation here). When I use Disk Utility's Erase button on an SSD, the Mac clears out that key, so even though the data hasn't been overwritten, it's all inaccessible ciphertext now that the key is gone, and is as good as zeroed-out.

The problem is that all I can find to back this view up is a post by a knowledgeable member of the Apple Support Forums. Does anyone know if this is really true? Could you point me to something verifying that Apple's SSD's do this?

share|improve this question
    
Sidenote from my own experience: speaking strictly in terms of technical expertise, Linc Davis is without a doubt the most knowledgable member of the ASC. He can be rude and abrasive, but I've contributed to those forums for years and can say, without exaggeration, I've never seen him supply incorrect information - at this point, I take his answers as reliable source material. – njboot Sep 24 '14 at 4:26
    
I thought I read somewhere that those options disappear if you have an SSD and filevault enabled. Do you? – Harv Sep 24 '14 at 9:32
    
@njboot Agreed, Linc seems very knowledgeable, but I'd still like to see something more concrete. – Bill Sep 24 '14 at 11:05
    
@Harv No, I didn't have FileVault on. – Bill Sep 24 '14 at 11:05

The problem that I see with "almost every article" is that they're 3-4 years old. Some of them even mention attempting degaussing the drives as a means of clearing out data. That implies a lack of understanding of how Flash storage works in the first place. Seriously. Degaussing?

"ATA Secure Erase" is a means of telling the drive to zero out all the blocks. As well, simply mounting an SSD and deleting all the files with TRIM enabled will cause all the pages to be zeroed on any block that contained data. Of course, that assumes that TRIM has been correctly implemented. Usually, TRIM erase commands are completed by an SSD controller in a few minutes.

http://en.wikipedia.org/wiki/Write_amplification

http://en.wikipedia.org/wiki/Data_remanence#Data_on_solid-state_drives

It's worth noting that this business of recovering data from erased SSDs is not possible by your garden-variety hackers. The techniques the white papers generally describe involve disemboweling the drives and examining individual memory components.

From a consumer-grade perspective, it should be more than sufficient to boot to your recovery partition, delete the primary data partition, repartition the volume and format. It's hard to imagine anybody buying a used MacBook and hunting for data. If you really want to go the distance, you can encrypt your drive with FileVault prior to removing the partitions. At that point, even if a would-be cracker were to hack apart the drive to hunt for data, anything they found would be encrypted anyway.

I just don't consider that to be likely. If you really cannot take the chance, then purchase a replacement HDD and trade it in keeping the SSD.

I also agree with njboot: Linc knows his stuff.

share|improve this answer
1  
Unfortunately, as I mentioned, my SSD is just over four years old. So outdated articles might apply to me. And (also unfortunately) I already used the Erase tool in Disk Utility, so it's too late for me to delete the files and let TRIM work. – Bill Sep 24 '14 at 11:06
    
I ran into a lot of articles about ATA Secure Erase, but there doesn't seem to be a straightforward way to do perform one on a Mac. – Bill Sep 24 '14 at 11:07
    
If you have already wiped a drive that is not encrypted - your options are limited because if you tell the SSD to zero the drive - it will just ignore you. So I am filling up the drive with movies - I will then encrypt it (file vault) and then wipe it. – niico Jun 7 at 9:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.