Stories
Slash Boxes
Comments

SoylentNews is people

posted by janrinok on Tuesday April 17 2018, @04:26PM   Printer-friendly
from the nuke-'em-from-orbit dept.

I once read in a news article (can't find it now... sorry) that apparently if you overwrite data with other data on a hard drive that the previous data is unrecoverable. So, would overwriting the entire hard drive with cat videos be just as effective as all these other "professional" security protocols that are used?

janrinok: Data erasure is important when you want to prevent anyone from recovering whatever was written on the storage device in the first instance. But there are many potential problems including just how secure does the erasure have to be, what hardware is controlling the reading and writing to the disk, are you attempting to delete data on a spinning rust device, a more modern SSD , or a thumb drive, and who are you trying to prevent from reading the data? If you are just trying to prevent a regular Joe Soap from reading what you once securely stored on a hard drive then simple overwriting might be enough. However, if you are concerned that law enforcement or a government agency might be interested in the drive's contents then you will have to take more stringent precautions. Ultimately, many of the highest classifications of data can only be securely erased by full degaussing or the physical destruction of the device. The link details the various standards that are deemed as acceptable to securely erase data to meet specific documented requirements.

Presumably, if you are worried that someone might have access to your data then you have already taken the precautions of encrypting it. However, poor encryption is worse than no encryption at all - at least with the latter you know that your data is vulnerable. With a weak encryption you might incorrectly believe that your data is secure when, in truth, it is not. This might result in you taking risks that you wouldn't otherwise take with the physical protection of the drive itself. The military and government agencies often insist that drives are secured in an approved security container when not actually in use to prevent anyone actually getting to the data in the first instance. If at home you simply leave your drive in the computer or lying around in plain view then anyone entering your home can steal it. How much protection you need to give depends upon the value of the data to you and how much you need to ensure that no-one else can get to it.

Many proprietary encryption programs use an 'in-house' encryption scheme in the incorrect belief that it is more secure than the recognised encryption methods that have been rigorously tested and mathematically proven. Other systems might have back-doors or make the decryption algorithms available to LE or government agencies. I personally would strongly recommend against using these encryption systems because they might only be giving you a false sense of security. However, if your data is already encrypted with a recognised encryption system with a strong pass phrase and salt then you are well on your way to preventing anyone from ever getting access to the data even if they have the drive in their possession. Note that encryption that is 'unbreakable' today might not remain so with advances in computing and perhaps the discovery of encryption flaws. Essentially, if it is considered good enough for the military and government agencies then it is probably sufficient for your needs.

It is important to realise that, any time your data is inside your computer and viewable, then any encryption is already defeated. If you have valuable data that is protected by nothing more than a computer in hibernation then anyone who can awaken the computer has full access to the data.

So now we finally get to the question that the submitter asked. How secure is overwriting as a method of data deletion? If the data is already securely encrypted then perhaps no further action is required, or simply overwriting it with cat videos will probably be enough to prevent anyone but the most determined attacker from ever reading the data. It will certainly be enough to stop the vast majority of people from getting anything useful from the disk drive. If you believe that the data on the drive must never be recovered by anyone else then the physical destruction of the drive might be warranted. The actual requirement probably lies between those 2 extremes. Only you know the value of the data on the disk drive and how important it is that it is not disclosed.

I now invite everyone to contribute their own experiences, tips and advice regarding data erasure....


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 4, Insightful) by tangomargarine on Tuesday April 17 2018, @08:00PM (3 children)

    by tangomargarine (667) on Tuesday April 17 2018, @08:00PM (#668277)

    This whole argument is rather pointless as there's only 2 extremes.

    1) You want to erase it so that short of TLAs nobody can read it. Just dd'ing over the whole disk a single pass of zeroes is more than enough for this. *Old* hard drives from the 80s, no, but now it's fine.
    2) You don't want anyone anywhere to be able to read it ever, in which case you have to physically destroy the platters.

    Any waffling in between is just foolish.

    --
    "Is that really true?" "I just spent the last hour telling you to think for yourself! Didn't you hear anything I said?"
    Starting Score:    1  point
    Moderation   +2  
       Insightful=2, Total=2
    Extra 'Insightful' Modifier   0  
    Karma-Bonus Modifier   +1  

    Total Score:   4  
  • (Score: 2) by bzipitidoo on Wednesday April 18 2018, @12:47AM (2 children)

    by bzipitidoo (4388) on Wednesday April 18 2018, @12:47AM (#668365) Journal

    Funny how we're exhorted to back up data regularly because hard drives are fragile and can corrupt data at any moment, or in a span of a few seconds, crash and lose everything. Better run a RAID, too.

    But, when we want to lose the data, then hard drives are amazingly difficult to clean.

    If it was so easy to recover overwritten data, don't you think hard drive manufacturers would have noticed and seen in that an opportunity to increase capacity? A few overwrites and even TLAs aren't going to get any old data from the drive.

    • (Score: 2) by tangomargarine on Wednesday April 18 2018, @04:38PM (1 child)

      by tangomargarine (667) on Wednesday April 18 2018, @04:38PM (#668631)

      Funny how we're exhorted to back up data regularly because hard drives are fragile and can corrupt data at any moment, or in a span of a few seconds, crash and lose everything.

      We are?

      hard drives are fragile and can corrupt data at any moment

      We have this thing called journaling filesystems to deal with this now.

      or in a span of a few seconds, crash and lose everything.

      From accounts I've heard that Winchester drives don't usually just fail out of the blue; you'll hear warning noises out of them when you powercycle them when they're threatening to fail. This is why it's a good idea to not leave (personal) computers running for years at a time, as the spin-up mechanisms can completely fail but you won't be aware of it until the next time you go to powercycle it and it's just dead.

      --
      "Is that really true?" "I just spent the last hour telling you to think for yourself! Didn't you hear anything I said?"
      • (Score: 2) by tangomargarine on Wednesday April 18 2018, @04:41PM

        by tangomargarine (667) on Wednesday April 18 2018, @04:41PM (#668632)

        I'm much more concerned about user error where *I* accidentally all my data, than my filesystem suddenly deciding to eat itself. But that's why I'm on ext4, not btrfs, after btrfs ate itself twice in the space of a month or two when I tried it years ago.

        --
        "Is that really true?" "I just spent the last hour telling you to think for yourself! Didn't you hear anything I said?"