News for hackers. Stuff that matters.
Re:German Ministry of Education Throws Away PCs For 190,000 ... by dagw on Tuesday April 30, 2013 @07:36AM (#5631521)
I'm no expert on these things, but my understanding is that simply doing `dd if=/dev/urandom of=/dev/sda1` is not enough to guarantee that the data isn't recoverable. In fact there seems to be some debate if any amount or combination of writes is enough to guarantee that the data is unrecoverable.
Re:German Ministry of Education Throws Away PCs For 190,000 ... by sp332 on Tuesday April 30, 2013 @09:48AM (#5632149)
With modern drives, the problem isn't that you can recover data from "under" an overwrite. The problem is that hard drives have reserved sectors that are only visible to the drive controller itself, used as spare space in case of a bad sector elsewhere on the disk. (SSDs are even worse since they spread data across the "extra" space all the time, to extend the life of the drive.)

The only way to tell the drive to erase everything is to send the ATA Secure Erase command. This tells the controller to wipe the drive in a secure way. It is the only NIST-approved way to securely erase a drive. Lots of info from this discussion http://security.stackexchange.com/questions/5749/how-can-i-r...

Re:German Ministry of Education Throws Away PCs For 190,000 ... by eru on Tuesday April 30, 2013 @07:58AM (#5631597)
Some combination has to be enough. Because otherwise you could use that property (plus error resistance coding) to store arbitrary amounts of data on your hard drive.
Re:German Ministry of Education Throws Away PCs For 190,000 ... by lostnet on Tuesday April 30, 2013 @08:54AM (#5631838)
If you are able to get at the entire physical media then a certain combination of high and low bit writing is necessary or one can read some previous bits with specialized hardware. There is a DoD standard for writing enough combinations.

But with modern drives you are not getting at the physical layout. The drive may detect an error and remap surrounding data for you. Consequently, some data surrounding some badblock(s) in the past will potentially never be overwritten by your process. Someone with separate hardware or an alternate firmware could always retrieve it.

Re:German Ministry of Education Throws Away PCs For 190,000 ... by eru on Tuesday April 30, 2013 @12:03PM (#5632983)
Yes, the badblocks argument is a good one.

I guess the right solution would be to store your data only in encrypted form on your drive. Then you will only have to worry about safely deleting the key.

Re:German Ministry of Education Throws Away PCs For 190,000 ... by dagw on Tuesday April 30, 2013 @08:19AM (#5631673)
The size of the error resistance coding you'll need will quickly dominate the size of your data. Also the argument is a probabilistic one. It's not that certain data will be recoverable, only that there may be a non-zero probability that some data may be recoverable.