# For the paranoid: how to completely scrub a data disk before reuse?

**URL:** <https://boards.straightdope.com/t/for-the-paranoid-how-to-completely-scrub-a-data-disk-before-reuse/412749>\
**Category:** Factual Questions\
**Created:** [July 22, 2007, 3:44pm UTC](https://boards.straightdope.com/t/for-the-paranoid-how-to-completely-scrub-a-data-disk-before-reuse/412749 "2007-07-22T15:44:43Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![velvetjones](https://avatars.discourse-cdn.com/v4/letter/v/5f9b8f/32.png) [@velvetjones](https://boards.straightdope.com/u/velvetjones)\
**Post date:** [July 23, 2007, 2:37pm UTC](https://boards.straightdope.com/t/for-the-paranoid-how-to-completely-scrub-a-data-disk-before-reuse/412749/21 "2007-07-23T14:37:38Z")

</div>

I work for a health insurance company so we are subject to HIIPA and other regulations with regard to protected information. When we donate equipment to charity we use a software called Datagone by a company called Power Quest.

I can’t seem to find a web site for PowerQuest but I did find a link to a news article saying they’re being purchased by Symantec so maybe that’s why.

Good luck with your project.

---

<div class="post-metadata">

**Author:** ![1010011010](https://avatars.discourse-cdn.com/v4/letter/1/ea666f/32.png) [@1010011010](https://boards.straightdope.com/u/1010011010)\
**Post date:** [July 23, 2007, 3:28pm UTC](https://boards.straightdope.com/t/for-the-paranoid-how-to-completely-scrub-a-data-disk-before-reuse/412749/22 "2007-07-23T15:28:43Z")

</div>

[QUOTE=Quartz]  
And don’t forget the cost of the time.  
[/QUOTE]  
Yes, because a multi-pass random data write couldn’t be done by the computer while you’re sleeping or doing your normal daily business as they chug away in the corner unsupervised.

Also, what magical time-free method do you use to remove and destroy hard drives and install new ones?

---

<div class="post-metadata">

**Author:** ![Earthworm\_Jim](https://avatars.discourse-cdn.com/v4/letter/e/f07891/32.png) [@Earthworm\_Jim](https://boards.straightdope.com/u/Earthworm_Jim)\
**Post date:** [July 23, 2007, 7:09pm UTC](https://boards.straightdope.com/t/for-the-paranoid-how-to-completely-scrub-a-data-disk-before-reuse/412749/23 "2007-07-23T19:09:19Z")

</div>

My personal favorite is [Eraser](http://www.heidi.ie/eraser/default.php). It’s free, very easy to use, and includes the (very cool, IMHO) option of shredding your disks free space.

---

<div class="post-metadata">

**Author:** ![Sumisu\_919](https://avatars.discourse-cdn.com/v4/letter/s/b38774/32.png) [@Sumisu\_919](https://boards.straightdope.com/u/Sumisu_919)\
**Post date:** [July 23, 2007, 7:48pm UTC](https://boards.straightdope.com/t/for-the-paranoid-how-to-completely-scrub-a-data-disk-before-reuse/412749/24 "2007-07-23T19:48:20Z")

</div>

So you folks are saying that if one formats a disk and then creates enough cluster optimized files containing random information to fill up a disk that I would be able to recover the information that I erased previsouly? That would be great if it’s true, because my disk could both archive information and handle new information resulting in my drive being twice and big as advertised.

---

<div class="post-metadata">

**Author:** ![gazpacho](https://avatars.discourse-cdn.com/v4/letter/g/6f9a4e/32.png) [@gazpacho](https://boards.straightdope.com/u/gazpacho)\
**Post date:** [July 23, 2007, 10:36pm UTC](https://boards.straightdope.com/t/for-the-paranoid-how-to-completely-scrub-a-data-disk-before-reuse/412749/25 "2007-07-23T22:36:49Z")

</div>

[QUOTE=Sumisu\_919]  
So you folks are saying that if one formats a disk and then creates enough cluster optimized files containing random information to fill up a disk that I would be able to recover the information that I erased previsouly? That would be great if it’s true, because my disk could both archive information and handle new information resulting in my drive being twice and big as advertised.  
[/QUOTE]  
It is a question of reliability. In order to make a drive that people will use you need to be able to read back the data with high reliability relatively quickly. This will dictate the physical area taken on the surface of the platter. In order to guarantee that the drives cannot be read by people with more sensitive electronics and a large amount of time the data must be overwritten with random data several times. If you overwrite only once it may be possible to read back the previous data. But it won’t be guaranteed that you can get the data and in any case you wont be able to get the data quickly.

As a side note the main reason the government physically destroys the drives is that it costs a fair amount to have a technician with security clearance monitor the wiping process.

---

<div class="post-metadata">

**Author:** ![asterion](https://avatars.discourse-cdn.com/v4/letter/a/4da419/32.png) [@asterion](https://boards.straightdope.com/u/asterion)\
**Post date:** [July 23, 2007, 11:54pm UTC](https://boards.straightdope.com/t/for-the-paranoid-how-to-completely-scrub-a-data-disk-before-reuse/412749/26 "2007-07-23T23:54:38Z")

</div>

[QUOTE=Earthworm Jim]  
My personal favorite is [Eraser](http://www.heidi.ie/eraser/default.php). It’s free, very easy to use, and includes the (very cool, IMHO) option of shredding your disks free space.  
[/QUOTE]  
That’s what I like as well. It takes forever to shred 300 gigs with 35 passes, but boy does it work.

---

<div class="post-metadata">

**Author:** ![CaveMike](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/cavemike/32/16379_2.png) [@CaveMike](https://boards.straightdope.com/u/CaveMike)\
**Post date:** [July 24, 2007, 3:58am UTC](https://boards.straightdope.com/t/for-the-paranoid-how-to-completely-scrub-a-data-disk-before-reuse/412749/27 "2007-07-24T03:58:07Z")

</div>

There are a couple of good, free suggestions in this thread. I’d like to add [sdelete](http://www.microsoft.com/technet/sysinternals/Security/SDelete.mspx). It is a single Windows executable that can delete both used and free space. You can specify the number of passes and the algorithm is the “Department of Defense clearing and sanitizing standard DOD 5220.22-M”.

---

<div class="post-metadata">

**Author:** ![Sumisu\_919](https://avatars.discourse-cdn.com/v4/letter/s/b38774/32.png) [@Sumisu\_919](https://boards.straightdope.com/u/Sumisu_919)\
**Post date:** [July 24, 2007, 4:52am UTC](https://boards.straightdope.com/t/for-the-paranoid-how-to-completely-scrub-a-data-disk-before-reuse/412749/28 "2007-07-24T04:52:03Z")

</div>

[QUOTE=gazpacho]  
It is a question of reliability. In order to make a drive that people will use you need to be able to read back the data with high reliability relatively quickly. This will dictate the physical area taken on the surface of the platter. In order to guarantee that the drives cannot be read by people with more sensitive electronics and a large amount of time the data must be overwritten with random data several times. If you overwrite only once it may be possible to read back the previous data. But it won’t be guaranteed that you can get the data and in any case you wont be able to get the data quickly.

[/QUOTE]

Is there any hard evidence to support this? Anyone have any links to some actual studies about this?

---

<div class="post-metadata">

**Author:** ![gazpacho](https://avatars.discourse-cdn.com/v4/letter/g/6f9a4e/32.png) [@gazpacho](https://boards.straightdope.com/u/gazpacho)\
**Post date:** [July 24, 2007, 5:09am UTC](https://boards.straightdope.com/t/for-the-paranoid-how-to-completely-scrub-a-data-disk-before-reuse/412749/29 "2007-07-24T05:09:07Z")

</div>

Hard drives at there heart are an analog media. 1s and 0s are not on the disks. Instead you have contentious analog samples say normalized from -1 to 1. A 0 will be -1 and a 1 will get 1. There is a certain amount of noise when writing and when reading. Also they tend to pack the bits close together so that there is bleeding from one bit to the next.

> **[Magnetic force scanning tunneling microscope imaging of overwritten data](https://ieeexplore.ieee.org/document/179738/;jsessionid=A199E9CA10E288869BD0580A9CB46355?arnumber=179738)**
>
> The MFSTM (magnetic force scanning tunneling microscopy) technique is shown to be a powerful technique for generating images of magnetization patterns. Images of the overwritten data on commercial magnetic disks and images of deliberately written...

is an article about recovering overwritten data.

> [@](#):
>
> The MFSTM (magnetic force scanning tunneling microscopy) technique is shown to be a powerful technique for generating images of magnetization patterns. Images of the overwritten data on commercial magnetic disks and images of deliberately written patterns which serve as benchmark are presented. The usefulness of this method for probing the subtle effects of insufficient erasure during data overwrite. Results demonstrate that, due to the limitations in the electromechanical positioning of the recording head, overwritten data in longitudinal rigid disk recording systems are not necessarily completely erased. As a result, portions of the old data remain and could be retrieved. In the future, this technique can provide some valuable insights into various mechanisms associated with data overwrite, which include questions about the minimum off-track deviation necessary before the old data can persist

I am at home currently and cannot access the full article but I will look at it from work tomorrow.

---

<div class="post-metadata">

**Author:** ![Junior\_Spaceman](https://avatars.discourse-cdn.com/v4/letter/j/eb8c5e/32.png) [@Junior\_Spaceman](https://boards.straightdope.com/u/Junior_Spaceman)\
**Post date:** [July 24, 2007, 5:26am UTC](https://boards.straightdope.com/t/for-the-paranoid-how-to-completely-scrub-a-data-disk-before-reuse/412749/30 "2007-07-24T05:26:28Z")

</div>

[QUOTE=St\_Ides]  
[DBAN](http://dban.sourceforge.net/) is what most paranoid-but-not-destructive people use. It’ll take care of most of the data, and it’s about as close to CIA-level security as you can get (though from what I recall, afterwords they then put it through something similar to a wood-chipper, then thermite the remainders.)  
[/QUOTE]  
I’ve been wondering about this since I heard about the physically shredding/building into a wall somewhere. Why would anyone even bother to do any software based data erasing before this? Is there any conceivable situation in which a hard drive that has literally been shredded to bits could be reassembled?

---

<div class="post-metadata">

**Author:** ![galt](https://avatars.discourse-cdn.com/v4/letter/g/35a633/32.png) [@galt](https://boards.straightdope.com/u/galt)\
**Post date:** [July 24, 2007, 5:38am UTC](https://boards.straightdope.com/t/for-the-paranoid-how-to-completely-scrub-a-data-disk-before-reuse/412749/31 "2007-07-24T05:38:54Z")

</div>

Those DoD folks are pretty fond of redundancy in critical systems. Just because you sent your disk to the Office of Hard Drive Destruction don’t mean it got destroyed.

---

<div class="post-metadata">

**Author:** ![CynicalGabe](https://avatars.discourse-cdn.com/v4/letter/c/3e96dc/32.png) [@CynicalGabe](https://boards.straightdope.com/u/CynicalGabe)\
**Post date:** [July 24, 2007, 7:07am UTC](https://boards.straightdope.com/t/for-the-paranoid-how-to-completely-scrub-a-data-disk-before-reuse/412749/32 "2007-07-24T07:07:20Z")

</div>

[QUOTE=Q.E.D.]  
How much does “impossible” cost these days?  
[/QUOTE]

I’ve spoken with some people from a 3-letter law enforcement agency who claim that they can recover data that has been overwritten past the “magic 7” times.

---

<div class="post-metadata">

**Author:** ![1010011010](https://avatars.discourse-cdn.com/v4/letter/1/ea666f/32.png) [@1010011010](https://boards.straightdope.com/u/1010011010)\
**Post date:** [July 25, 2007, 12:54am UTC](https://boards.straightdope.com/t/for-the-paranoid-how-to-completely-scrub-a-data-disk-before-reuse/412749/33 "2007-07-25T00:54:13Z")

</div>

[QUOTE=Sumisu\_919]  
Is there any hard evidence to support this? Anyone have any links to some actual studies about this?  
[/QUOTE]  
Your ones and zeros aren’t really ones and zeros. There’s a threshold and anything below the threshold is a zero and anything above the threshold is a one.

If you over write your drive with zeros, to a normal read head, it will all come back zeros. However, bits that were formerly ones will be closer to the threshold than bits that were formerly zeros. Forensic read heads return the raw value of the bit. Then they image the disc at lower and lower thresholds until your old data pops back up.

It doesn’t really need to be “all zeros” or “all ones”. The skew from _any_ known data can be filtered out, so even if you’ve deleted a file and over-written the sectors where it was contained, it may still be recoverable.

If you have a source of cryptographically secure random data, fewer passes are acceptable. Is you have only pseudorandom or unsecure random data available, the purpose of multiple passes is to reduce the ghost image from previous data below the limit of detectablility… to a determined attacker, it’s no different from a multi-pass cycle of byte patterns (it just takes longer for you to clean the disk).

---

<div class="post-metadata">

**Author:** ![Harmonious\_Discord](https://avatars.discourse-cdn.com/v4/letter/h/74df32/32.png) [@Harmonious\_Discord](https://boards.straightdope.com/u/Harmonious_Discord)\
**Post date:** [July 25, 2007, 3:08am UTC](https://boards.straightdope.com/t/for-the-paranoid-how-to-completely-scrub-a-data-disk-before-reuse/412749/34 "2007-07-25T03:08:59Z")

</div>

What I find really amusing on the zealous destructive government procedures, is that they lose laptops with security data often. I think if they go to all the trouble to destroy the hard drives like they do, laptops should have drives that melt to sludge if tampered with, and a tracer beacon that tracks them via cell towers at all times.

---

<div class="post-metadata">

**Author:** ![Bryan\_Ekers](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/bryan_ekers/32/183_2.png) [@Bryan\_Ekers](https://boards.straightdope.com/u/Bryan_Ekers)\
**Post date:** [July 25, 2007, 3:29am UTC](https://boards.straightdope.com/t/for-the-paranoid-how-to-completely-scrub-a-data-disk-before-reuse/412749/35 "2007-07-25T03:29:32Z")

</div>

[The only way to be sure.](http://www.youtube.com/watch?v=sQYPCPB1g3o)

---

<div class="post-metadata">

**Author:** ![KarlGauss](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/karlgauss/32/3713_2.png) [@KarlGauss](https://boards.straightdope.com/u/KarlGauss)\
**Post date:** [July 25, 2007, 3:49am UTC](https://boards.straightdope.com/t/for-the-paranoid-how-to-completely-scrub-a-data-disk-before-reuse/412749/36 "2007-07-25T03:49:12Z")

</div>

[QUOTE=1010011010]  
Your ones and zeros aren’t really ones and zeros. There’s a threshold and anything below the threshold is a zero and anything above the threshold is a one.

If you over write your drive with zeros, to a normal read head, it will all come back zeros. However, bits that were formerly ones will be closer to the threshold than bits that were formerly zeros. Forensic read heads return the raw value of the bit. Then they image the disc at lower and lower thresholds until your old data pops back up.

It doesn’t really need to be “all zeros” or “all ones”. The skew from _any_ known data can be filtered out, so even if you’ve deleted a file and over-written the sectors where it was contained, it may still be recoverable.

If you have a source of cryptographically secure random data, fewer passes are acceptable. Is you have only pseudorandom or unsecure random data available, the purpose of multiple passes is to reduce the ghost image from previous data below the limit of detectablility… to a determined attacker, it’s no different from a multi-pass cycle of byte patterns (it just takes longer for you to clean the disk).  
[/QUOTE]  
This was an outstanding explanation. Thank you!

---

<div class="post-metadata">

**Author:** ![CynicalGabe](https://avatars.discourse-cdn.com/v4/letter/c/3e96dc/32.png) [@CynicalGabe](https://boards.straightdope.com/u/CynicalGabe)\
**Post date:** [July 25, 2007, 6:43am UTC](https://boards.straightdope.com/t/for-the-paranoid-how-to-completely-scrub-a-data-disk-before-reuse/412749/37 "2007-07-25T06:43:10Z")

</div>

[QUOTE=1010011010]  
Your ones and zeros aren’t really ones and zeros. There’s a threshold and anything below the threshold is a zero and anything above the threshold is a one.

If you over write your drive with zeros, to a normal read head, it will all come back zeros. However, bits that were formerly ones will be closer to the threshold than bits that were formerly zeros. Forensic read heads return the raw value of the bit. Then they image the disc at lower and lower thresholds until your old data pops back up.

It doesn’t really need to be “all zeros” or “all ones”. The skew from _any_ known data can be filtered out, so even if you’ve deleted a file and over-written the sectors where it was contained, it may still be recoverable.

If you have a source of cryptographically secure random data, fewer passes are acceptable. Is you have only pseudorandom or unsecure random data available, the purpose of multiple passes is to reduce the ghost image from previous data below the limit of detectablility… to a determined attacker, it’s no different from a multi-pass cycle of byte patterns (it just takes longer for you to clean the disk).  
[/QUOTE]

Excellent post.

I’d also like to say that this is the best combination of post and username I’ve ever seen.

---

<div class="post-metadata">

**Author:** ![PatriotX](https://avatars.discourse-cdn.com/v4/letter/p/c4cdca/32.png) [@PatriotX](https://boards.straightdope.com/u/PatriotX)\
**Post date:** [July 26, 2007, 5:04am UTC](https://boards.straightdope.com/t/for-the-paranoid-how-to-completely-scrub-a-data-disk-before-reuse/412749/38 "2007-07-26T05:04:52Z")

</div>

IIRC, the spy plane that went down over China in 2001 degaussed their stuff.

That’s what the law requires around here for hds from state agencies to be made ready for resale.

I’m not sure why this technique hasn’t come up.

---

<div class="post-metadata">

**Author:** ![Q.E.D](https://avatars.discourse-cdn.com/v4/letter/q/51bf81/32.png) [@Q.E.D](https://boards.straightdope.com/u/Q.E.D)\
**Post date:** [July 26, 2007, 5:10am UTC](https://boards.straightdope.com/t/for-the-paranoid-how-to-completely-scrub-a-data-disk-before-reuse/412749/39 "2007-07-26T05:10:36Z")

</div>

[QUOTE=PatriotX]  
I’m not sure why this technique hasn’t come up.  
[/QUOTE]

Because it’s really tough to do without ultra-powerful magnets or exposing the platters (which, unless done in a clean room, is death for the drive). Additionally, even if you’re successful, erasing the data in this manner also erases the servo data, which renders a modern IDE HDD nearly worthless. Only the drive manufaturer can rewrite the servo data and I’m sure they’re not going to do it for free.

---

<div class="post-metadata">

**Author:** ![scotandrsn](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@scotandrsn](https://boards.straightdope.com/u/scotandrsn)\
**Post date:** [July 26, 2007, 6:01am UTC](https://boards.straightdope.com/t/for-the-paranoid-how-to-completely-scrub-a-data-disk-before-reuse/412749/40 "2007-07-26T06:01:31Z")

</div>

[QUOTE=Bryan Ekers]  
[The only way to be sure.](http://www.youtube.com/watch?v=sQYPCPB1g3o)  
[/QUOTE]

I finally clicked on the link.

I had thought for sure it would be something about nuking the hard drive from orbit.

[Previous page](https://boards.straightdope.com/t/for-the-paranoid-how-to-completely-scrub-a-data-disk-before-reuse/412749.md?page=1)

[Next page](https://boards.straightdope.com/t/for-the-paranoid-how-to-completely-scrub-a-data-disk-before-reuse/412749.md?page=3)
