On BNET: Online porn struggles for profits
BNET Business Network:
BNET
TechRepublic
ZDNet

June 15th, 2007

How to REALLY erase a hard drive - Update

Posted by Robin Harris @ 11:11 am

Categories: Disk drives, Security

Tags: ATA, Secure, Hard Drive, Password, Disk, DOS, User Password, Robin Harris

A new version of HDerase.exe has been released
Go direct to UCSD’s Center for Magnetic Recording Research website to download version 3.2.

HDerase.exe accesses an ATA disk drive’s internal Secure Erase commands to wipe a disk clean. Merely deleting a file doesn’t delete your data: the data is still on the disk and can be recovered by anyone with a few readily available tools. Credit card numbers, passwords, emails, medical info, anything on your hard disk is liable to be recovered.

What is Secure Erase?
Secure Erase is built into all ATA-compliant disks drives since 2001. This functionality is recognized by the US Government’s National Institute of Standards and Technologies (NIST) as equivalent to magnetically wiping a drive (degaussing) or physically destroying it. NIST also rates the secure erase commands as more secure than external host-based drive wiping utilities such as Boot and Nuke. Secure Erase complies with HIPAA, Personal Information Protection and Electronic Documents Act (PIPEDA), the Gramm-Leach-Bliley Act (GLBA), and California Senate Bill 1386 for data destruction.

There is no data recovery after running HDerase.exe!
Don’t mess with it if you don’t know what to do with a blank drive.

HDerase.exe is for techies
If you aren’t comfortable working at the DOS command line, formatting disks and installing software, HDerase.exe is not for you. Find someone who is familiar to set it up and train you if you have a lot of disks to erase.

From the readme:

HDDerase.exe is a DOS-based utility that securely erases “sanitizes” all data on ATA hard disk drives in Intel architecture computers (PCs). It offers the option to run the drive internal secure erase command, security erase unit, based on the ATA specification by the T13 technical committee. To run the utility make a floppy, recordable CD-R, or USB DOS bootable disk; then copy HDDerase.exe to the bootable media. Reboot the computer with the floppy, CD-R, or USB inserted, and type “hdderase” at the system DOS prompt. Make sure to set the correct priority boot order in the system BIOS, such as first boot floppy, CD-R, or USB depending on which media is used to run HDDerase.exe. HDDerase.exe must be run from an actual DOS environment and not a Window based DOS command prompt environment.

HDerase.exe improvements
A partial list from the revision history:

  • HDDerase sets user password as “idrive” before performing (enhanced) secure erase. HDDerase also attempts to unlock drive with passwords from previous versions.
  • If selected drive is locked with a non-HDDerase password the user is given the option to: 1) unlock with user password, 2) unlock with master password (if high security), 3) secure erase with user password, 4) secure erase with master password, 5) enhanced secure erase with user password (if supported), 6) enhanced secure erase with master password (if supported). If option 3, 4, 5 or 6 is selected any possible HPA and/or DCO areas will not be reset.
  • If the system BIOS executes a “security freeze lock” command upon drive detection HDDerase attempts to bypass this. A hard reboot is required if the attempt is successful. Afterwards HDDerase should be run once more and the drive should not be in a frozen state. HDDerase will not attempt to bypass if a Host Protected Area is set. NOTE: This internal method may not work on all drives (MAXTOR drives for sure) and the FAQ should be checked for other methods to bypass the BIOS freeze lock.

The Storage Bits take
Given all the stories about data recovered from used computers you’d think people would be a little more paranoid. UCSD’s CMRR is doing good work here. I’d like to see a version for Mac users. Any takers?

Learn more about Secure Erase at How to REALLY erase a hard drive.

Comments welcome.

Robin HarrisRobin Harris has been messing with computers for over 30 years and selling and marketing data storage for over 20 in companies large and small. See his full profile and disclosure of his industry affiliations.


Email Robin Harris

Subscribe to Storage Bits via Email alerts or RSS.

Related Discussions on TechRepublic

Did you know you can take part in these discussions with your ZDNet membership?

  • Talkback
  • Most Recent of 32 Talkback(s)
yep.. no reformat!
reformat DOESN'T do the trick and fresh install only writes over the portion of the disk which is used to install the new OS.... (Read the rest)
Posted by: kimlung Posted on: 04/14/09 You are currently: a Guest | | Terms of Use
happy (nt)  CobraA1 | 06/15/07
With a some mods to your launcher, hard drives make good skeet too.  James T. Kirk | 06/15/07
Reading comprehension  ibabadur1 | 06/15/07
oh come on...  D-T-Schmitz | 06/16/07
..and besides  guiri | 06/18/07
Practise makes perfect  dave@... | 06/18/07
You are correct  jdunigan@... | 06/18/07
dd if=/dev/zero of=/dev/hda  D-T-Schmitz | 06/15/07
dd if=/dev/zero of=/dev/hda won't work.  kraterz | 06/17/07
I don't believe it  D-T-Schmitz | 06/17/07
Believe it  Zeppo9191 | 06/18/07
Nonsense  D-T-Schmitz | 06/18/07
Not Nonsense , _dietrich  dumptux | 06/29/07
Here's the best way to "erase" your drive.  kraterz | 06/17/07
Secure erase not so secure  jerryleecooper | 06/17/07
I'll bet you are a hoot at a party  nyabdns | 06/18/07
Only if you consider Microsoft to be "Everyone". (NT)  Update victim | 06/18/07
Not so bad  cuba_pete@... | 06/18/07
Ahh, the old "million monkeys on a million typewriters" theory...  Zeppo9191 | 06/18/07
However, installing Vista does...  swoopee | 07/12/07
Sorry, it's not random bits  ghughe5 | 06/20/07
I don't know about you but...  drjt87 | 06/18/07
MBR question  Update victim | 06/18/07
MBR answer  ghughe5 | 06/20/07
How to REALLY erase a hard drive  peterhallman@... | 06/18/07
Erasing external USB HD  lgwhitlock@... | 06/21/07
Erasing External USB Hard Drives  dumptux | 06/29/07
Repartitioning and reformating  I. Kidya Knott | 06/18/07
Repartitioning and reformating  ahampson | 06/19/07
yep.. no reformat!  kimlung | 04/14/09
Typically no.  D-cat | 06/24/07
Message has been deleted.  EyeRag | 07/03/07

What do you think?

SponsoredWhite Papers, Webcasts, and Downloads

Click Here
advertisement

Recent Entries

advertisement

Archives

Favorite Links

ZDNet Blogs

White Papers, Webcasts, and Downloads

SmartPlanet

Click Here