Take the 2-minute tour ×
Information Security Stack Exchange is a question and answer site for Information security professionals. It's 100% free, no registration required.

This question already has an answer here:

i have a 64 gb micro SDXC memory card that has sensitive files on it and i want to completely erase it but i heard it was impossible to be sure that your data was erased because of wear leveling ? The manufacturer (SanDisk) doesn't provide special tool for a secure erase. What if i delete the files then use a software like eraser to erase unused disk space, would this work ?

share|improve this question

marked as duplicate by Xander, TildalWave, Eric G, Steve, Iszi Apr 1 at 19:45

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
You can take a look at this procedures (draft): csrc.nist.gov/publications/drafts/800-88-rev1/… –  woliveirajr Apr 1 at 14:40

2 Answers 2

This topic has already been covered here and there. To sum up:

  • If you simply overwrite the complete disk (as a block) with data (random, null bytes... it does not matter), then there may be parts of surviving data, which could potentially be recovered by extracting the chip and reading from it directly.

  • You cannot know what data has survived without taking the chip apart.

  • Overwriting the whole disk repeatedly should eradicate (almost) all the data, but you cannot be sure of it, and it will severely diminish the lifetime of the card.

It is safer, and (in the long time) cheaper, to simply physically destroy the card. Next time, use disk encryption.

share|improve this answer
    
I just want to point out that overwriting drives with zero bytes may not work if the drive implements compression in the firmware. Apart from that, this is a good answer. rscott.org/ssd/SSDs_and_compression.htm –  user2675345 Apr 1 at 8:23

With basic means (i.e. software to write to the memory card) I am rather doubtful that it is possible to trustedly delete all sensitive data.

Inside of such a SDXC there is a complex microcontroller. Those microcontroller is not known to you and its software/hardware is proprietary. The memory size shown by the SDXC must not reflect the complete data the microcontroller can write to. Even likely there is flash memory for 70, 80, maybe 128GB of flash memory in your device. At first this would look like an extremely wasteful way of memory usage (having 128GB worth of flash memory and only offering 64GB). However it is less wasteful considering that a fair fraction of the flash memory is defective/broken already as the outcome of an ordinary production process.

The real deal is that under the hood such a memory is pretty f***ked up. The microcontroller is to counter the messy "under the hood" by using techniques of error checking to give the appearance that the data on the SDXC card appear to be safe and guarded, while internally memory cells are dying.

share|improve this answer
    
@hippietrail thanks for the edits! –  humanityANDpeace Apr 1 at 8:52
    
Any time, it's one of my hobbies. Note that I didn't fix everything though sorry )-: –  hippietrail Apr 1 at 9:10

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