4 ms·
> No, this is not possible neither in theory nor in practice. Then go tell that to Peter Gutmann: https://www.usenix.org/legacy/publications/library/proceeding
by yellowapple 4y ago
> No, this is not possible neither in theory nor in practice.
Then go tell that to Peter Gutmann: https://www.usenix.org/legacy/publications/library/proceedings/sec96/full_papers/gutmann/index.html https://www.usenix.org/legacy/publications/library/proceedin...
The saving grace here is that newer drives are a lot denser than the ones in common use back then, so data recovery in this fashion is prohibitively expensive for anything manufactured in the last decade or so. You basically need to be more precise in your reads than hard drives themselves - and that's a pretty tall order.
Still, technology does march on; there remains a risk that recovery techniques could catch up, and there are indeed folks who need absolute guarantees of erasure - and there ain't much more absolute than physical destruction.
> What 0 and 1 look like isn't even constant. There is variability in what the current value is set to and their is variability in what the previous value was set to.
It's exactly that variability that makes data recovery possible.
> simply wastes people's time and contributes to ewaste from people destroying harddrives.
It doesn't really do either. Again: this is really only relevant if you're being targeted by the sorts of nation-state-level intelligence agencies that have the time, resources, and expertise for this sort of thing - and when you're such a target, guaranteed data destruction matters a lot more than the amount of e-waste you generate.
> If you plan on using the disk for FDE you should overwrite the drive with random bytes so that you don't leak the size of the used disk space.
This doesn't always work - for example, if you want to use TRIM on SSDs, since unused blocks are zero'd out instead of left as-is. The usual recommendation there for maximum security is "just don't use TRIM", with the SSD performance and longevity implications that entails.
- charcircuit 4y ago>Then go tell that to Peter Gutmann: Which is what the authors of "Overwriting Hard Drive Data: The Great Wiping Controversy" did. The highlight of their response is that for the recovery method described in Gutmann's paper to be accurate it requires a copy of the original data. When the authors tested a drive that existed at the time Gutmann wrote that paper in optimal conditions there was only a 92% chance of recovering a bit correctly. The chance to successfully recover exponentially decays with the number of bits you want to recover. >if you want to use TRIM on SSDs We were talking about HDDs. SSDs are out of scope.
- yellowapple 4y ago> When the authors tested a drive that existed at the time Gutmann wrote that paper in optimal conditions there was only a 92% chance of recovering a bit correctly. The chance to successfully recover exponentially decays with the number of bits you want to recover. That's still a non-zero probability. For folks whose tolerance for data exfiltration is "zero", anything non-zero, no matter how infinitesimally small, is non-acceptable - hence: physical destruction rather than relying on overwriting. Thankfully, as mentioned previously, said folks are a pretty tiny minority of the total hard drive market, and are typically the folks encrypting everything at rest anyway. A random pass or two over encrypted data is more than enough to ensure that even if an attacker is able to accurately recover old bits, there's no telling whether or not those old bits are actually data. > We were talking about HDDs. SSDs are out of scope. If we're going to adjust our expectations for "overwriting is sufficient for data destruction" based on changes in technology, then SSDs are absolutely in scope - and indeed have their own set of implications when it comes to data retention after overwrite (like TRIM, as mentioned before, or the general case of two writes to the "same" block not necessarily being written to the exact same set of cells).
- charcircuit 4y ago>That's still a non-zero probability Just as there is a nonzero chance of someone recovering your data by reading /dev/urandom. Technically your data could be outputed but the person reading /dev/urandom would not be able to tell if it was just random data or if it was what was wiped. Even if your tolerance for data exfiltration is 0 you can be okay with a non 0 chance for someone to randomly generate the data. >If we're going to adjust our expectations for "overwriting is sufficient for data destruction" based on changes in technology, then SSDs are absolutely in scope The process of wiping SSDs is different because you don't do it by overwriting all of the data, but instead by initiating a secure erase.
- yellowapple 4y ago> Just as there is a nonzero chance of someone recovering your data by reading /dev/urandom. That variety of non-zero is much closer to zero than the risk of increasingly-sophisticated equipment being able to recover overwritten data - and unlike the non-zero risk of such an "infinite typewriters" sort of attack, mitigating the non-zero risk of recovering overwritten information from media is straightforward: destroy the media. > The process of wiping SSDs is different because you don't do it by overwriting all of the data, but instead by initiating a secure erase. In other words: trusting an opaque blob of SSD firmware to overwrite all of the data for you.