Subscribe to Windows IT Pro
March 31, 2004 12:00 AM

Wiping Old Hard Disks Clean

Windows IT Pro
InstantDoc ID #42207
Rating: (0)

A component that's typically changed during computer upgrades is the hard disk. Users run out of space and need a larger disk, particularly if their existing disks are somewhat old and therefore probably have less capacity.

Swapping out disks or complete systems is common, but I wonder whether you wipe clean your old disks before sending them off for recycling or resale. If you do wipe the disks, are you sure that data can't be recovered from them?

Some people might think that simply using Fdisk to destroy partitions is a good enough technique for eliminating data. After all, if the partitions are gone, who could recover the data, right? Wrong. Fdisk changes only partition tables--it doesn't touch the other sectors on the drive. So any data that users stored on those other sectors is still there, which means that someone with a little knowledge could recover that data.

Simson Garfinkel wrote the article "Hard Disk Risk" about a year ago for CSO Magazine. In the article, Garfinkel talks about his adventures in purchasing old hard drives at resale shops and the data that he found on them. One drive was formerly used in an ATM machine and contained a year's worth of transaction records; another drive had more than 5000 credit card numbers; yet another had sensitive personal information about an individual Only 10 percent of the drives Garfinkel purchased were properly wiped of data.

http://www.simson.net/clips/2003.CSO.04.hard_disk_risk.htm

To wipe a disk clean, you need to overwrite all sectors on a drive in some fashion. Some disk-wiping tools can overwrite sectors numerous times to better ensure that the magnetic flux (which is the means by which data is recorded) is dramatically changed so that little if any flux remains to be used toward data recovery. Or you might decide that one overwrite process is enough for your needs.

Garfinkel raises an interesting question: If you give your old hardware to resellers or other organizations, do you trust these organizations to satisfactorily delete your data? You might consider wiping your own drives before you release them from your control. To get the job done, you might use Autoclave, LSoft Technologies' Active@KillDisk, Stellar Information Systems' Stellar Wipe Safe Data Eraser, Heidi Computers' Eraser, or any number of other tools designed to destroy disk-based data.

http://staff.washington.edu/jdlarios/autoclave

http://www.killdisk.com

http://www.stellarinfo.com/file-eraser.htm

http://www.heidi.ie/eraser

If you're interested in some facts as well as theory about how someone might recover data from your old drives and how disk-wiping technology can help prevent that from happening, be sure to read Peter Gutmann's extensive article on the subject.

http://www.usenix.org/publications/library/proceedings/sec96/full_papers/gutmann/

Last week, I requested feedback about this newsletter. I've received numerous responses and want to thank those of you who did respond. However, I'd like to hear from even more of you! If you're so inclined, please email me your comments. If you missed last week's editorial, you can read it at the URL below. In essence, I welcomed any suggestions, comments, or critiques regarding this newsletter. Send your response to mark at ntsecurity dot net, and please prefix the subject line with "SECUPD" so that I can more easily identify responses to this request.

http://www.winnetmag.com/article/articleid/42127/42127.html

Related Content:

ARTICLE TOOLS

Comments
  • carlo
    8 years ago
    Jun 15, 2004

    How would i get ahold of some .net sample source code that would show an example on how to do multiple passes on certain sectors?

  • emad a. m. ibrahim
    8 years ago
    Apr 24, 2004

    amaizing

  • andy jewell
    8 years ago
    Apr 21, 2004

    For free in Linux -say Knoppix, a popular cd-bootable distribution...

    #dd if=/dev/random of=/dev/hda bs=1048576

    ...just run multiple times if you're really paranoid!

    hda primary master (Usually drive "C")
    hdb primary slave
    hdc secondary master (often CD/DVD drive)
    hdd secondary slave

    hda1 hda2 / primary partitions
    hda3 hda4 /
    hda5 extended partition
    hda6 hda7 / logical partitions
    hda8 ... /

    To find out what partitions are on a disk, do:

    #fdisk /dev/hda

    and then enter 'p' to print the partition, then 'q' to quit.

  • hans straat
    8 years ago
    Apr 06, 2004

    You can also use the Gdisk.exe or Gdisk32.exe (windows mode). gdisk 1 /diskwipe will erase the data also completely for the real paranoia under us you can use 8 wipes (which will take up to 8 hours depending the harddisk size). Much company's (even ATM) aren't cleaning up there harddisks... this way to Students discoverd over 6000 creditscardnumbers with validation key's from old ATM harddisks which they bought up second hand.

    with kind regards,
    H Straat
    The Netherlands.

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.