Max

16 responses to “Disk Wiping – One Pass is Enough – Part 2 (this time with screenshots)”

  1. Excellent article! Thank you for sharing.

  2. hot article.

  3. [...] Disk Wiping – One Pass is Enough – Part 2 (this time with screenshots) [...]

  4. Yup.
    That’s what dd if=/dev/zero of=/dev/hda does to a hard drive.
    Provided you work in a shell in UNIX or Linux.
    Or you could use,

    for (( i = 0;i<10;i++ )); do
    dd if=/dev/urandom of=/dev/hda
    done
    dd if=/dev/zero of=/dev/hda

    Or

    Shred -n 5 -z -v /dev/hda

    Or just take a large sledge hammer to it and pretend it's a rail road spike.

  5. Just saw this, and thought I’d comment on: “In many instances, using a MFM (magnetic force microscope) to determine the prior value written to the hard drive was less successful than a simple coin toss.”

    If this is actually true, then whoever was doing the analysis was interpreting the results backwards. (IE, if the results were intepreted the opposite way, MFM would outperform the coin flip)

    Sorry for the… pedant-ness, but when you’re talking about bits… that one should be obvious.

  6. Thank you very much for this article you sure saved a lot of us a lot of hours just giving us this great piece of information!
    Im no IT in fact Im just a nurse who knows enough about computers and this really helped me have a little peace of mind and a lot more hours of sleep… thanks!

  7. Good article mate!

    I’ve used wiping programs and encryption for years! Typically, I’d set the disks for a three-pass wipe, zeros,ones,zeros and then a file-slack wipe using the same pattern.

    BCwipe for Linux is a fantastic product – I’ve a cron than wipes every disk, every night on my main file servers as it saves much hassle…

    I’ll re-adjust my schedules now, save some wear and tear on my drives…

  8. Yeah you’ll save a lot of wear and tear on your disks. BCWipe for Windows is really great as well. They make an excellent product.

    If you’re using the bourne-again shell (bash) on those servers remember to wipe the .bash_history file under each user profile as well. Especially if it resides on an unencrypted partition. I think it can be disabled as well. I came across a warez server at one point which had encrypted partitions for file storage and log files had been moved to the encrypted partitions. Unallocated filespace was being wiped as well. The only thing is, the operators were not cleaning up their bash history and it wasn’t much of a secret what the server was being used for at that point.

  9. I dont know if its truth, if it is then why top secret data has to be phisically destroyed?

  10. I think it’s a combination of paranoia and ignorance mainly. I bet there’s also that fear of the unknown. What if someone somewhere has a working method or what if in the future a working method is found that is more reliable than MFM. You know it’s quicker and easier for the feds to just destroy the physical media and use their unlimited purchasing power to buy new hard drives as well.

  11. Ok, so the test was done on a jump drive. Would the results from a HDD with platters have the same result? I’d love to see that test.

  12. Hey Tim,

    Yep, the exact same results. What it comes down to is that the data is all just bits or “1′s and 0′s”, a binary value. When you modify these 1′s and 0′s you change all data that is interpreted from those strings of 1′s and 0′s.

    Take the ASCII character “A” for example. Maybe you have a text document that starts with the letter “A”. This ASCII character is made up of 8 bits in this order: 01000001

    This is how the data will be interpreted from the HDD with platters or flash drive or whatever digital media you’re talking about. Now if you change those two bits with the binary value “1″ to “0″, then you’ve no more letter “A”. It is gone. If you do this to your entire digital media (HDD, Floppy Drive, flash drive, etc.), then you’ve effectively “wiped” all data.

    There are advanced techniques for attempting to determine the previous state of the actual magnetized material on the platters of a hard drive but the success rate with modern hard drives and restoring just one bit successfully was less successful than flipping a coin. That reference is at the end of the article. Just think, you’d need 8 successful bit recoveries in a row to even recover the letter “A”. Now how about recovering more complex data stored in a complex structure such as a database or even just an image?

  13. This all is very good and I have no doubts, that it works on either flash or HDD. But the problem is, that it is more often necessary to wipe only free space of a working HDD so, that in case if it comes into hands of a specialist, 1)no old (deleted) data can be restored from space marked as free and 2)no log files and different temp files are found. And I’m not sure if entire encripted HDD can help for 100%…

  14. Yes you’re right, there are plenty other articles on here about deleting various logs and other active data on a Windows system and more often than not you’ll just need to wipe free space and logs.

  15. Max, thanks for your efforts on this. Excellent!

  16. maybe you’re right that one pass is impossible to recover erased data.
    but then… why are there many data wipe software that do this in multiple passes? they lie to us?
    the most recent example are the options that were added recently in the latest versions of CCleaner.
    I use a combination of TrueCrypt, CCleaner, Active@ Zdelete, Active@ Eraser and some reg files to delete Flashget and other softwares history folder.

Leave a Reply

Archives