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: 2) by looorg on Tuesday April 17 2018, @04:50PM (3 children)

    by looorg (578) on Tuesday April 17 2018, @04:50PM (#668178)

    Is the cat video important somehow? Is cat video data better or more efficient at overwriting data then other some other data? Are cat images better then say Goatse? The whole overwriting thing is like getting a lock on your door, you use it to keep out the amateurs -- the professionals will find a way to by pass your little protection scheme.

    Personally I don't overwrite data for security reasons. I prefer thermite. That is if I had to destroy data and make sure ... I'm sure there is some less invasive and dangerous method around but I doubt it will be as much fun.

    Starting Score:    1  point
    Karma-Bonus Modifier   +1  

    Total Score:   2  
  • (Score: 3, Funny) by bob_super on Tuesday April 17 2018, @05:18PM

    by bob_super (1357) on Tuesday April 17 2018, @05:18PM (#668190)

    The art of recovering data is to line it up and do neat tricks to reveal its secrets.
    I'd say a cat is a pretty good line of defense against this process.

  • (Score: 2) by zocalo on Tuesday April 17 2018, @05:53PM (1 child)

    by zocalo (302) on Tuesday April 17 2018, @05:53PM (#668203)
    I suspect not, but it's a common meme that the Internet consists mostly full of inane cat videos so why not use a bunch of them as a substitute for "junk" data? The real question is "If I overwrite my data with crap, is that enough to render it inaccessible?". Of course it is - that's all tools like BleachBit and so on are doing after all, the only difference is that they are doing it using specific patterns of ones and zeros and random data in multiple passes to achieve the same end. If you fill your drive with cat videos, delete them, then repeat the process a few more times the chances of anyone being able to assemble anything meaningful from the residual encoding becomes exponentially harder and more expensive with each pass. For casual erasing a few passes of that would be good enough, and if you a required to use the DoD spec then you're going to be following a specific procedure with a specific tool anyway.

    No, it's not as fun as thermite or using it as a clay pidgeon, but if you're looking to resell the drive then that's not really an option, is it? Although it'd also be a whole lot easier to just grab a suitable tool like BleachBit of the Internet regardless of your specific usage case, of course.
    --
    UNIX? They're not even circumcised! Savages!
    • (Score: 3, Interesting) by TheRaven on Wednesday April 18 2018, @08:13AM

      by TheRaven (270) on Wednesday April 18 2018, @08:13AM (#668493) Journal
      Not true for SSDs. They often do block-level deduplication to extend the life time of individual cells (if you can avoid doing a write, then it doesn't wear out any of the flash). A specific repeated bit pattern is far worse than random data, because you may end up with the drive reporting writes that don't have corresponding erases. Even with multiple cat videos, depending on the format, you may find common data in the file headers or footers of the files, which can result in some blocks not being erased. In contrast, random data shouldn't have any repeated patterns and so will require the disk to overwrite every cell (ignoring remapped cells, which may still contain sensitive data).
      --
      sudo mod me up