Overwriting data Multiple times ?

Discussion in 'privacy problems' started by CloneRanger, Aug 30, 2011.

Thread Status:
Not open for further replies.
  1. CloneRanger

    CloneRanger Registered Member

    Joined:
    Jan 4, 2006
    Posts:
    4,978
    Should we, or shouldn't we, that is the question ? A few years ago a number of people started suggesting that one pass was enough, and anything more was a waste of time. I've always believed that more was/is better, if only for peace of mind. So i wonder what you make of this ?

    Note, it says "thwart data recovery" not eliminate ! Also note the "127 times" overwriting advice too !
     
  2. nightrace

    nightrace Registered Member

    Joined:
    Jun 2, 2010
    Posts:
    159
  3. J_L

    J_L Registered Member

    Joined:
    Nov 6, 2009
    Posts:
    8,738
    Way overkill, not to mention shortening the life of your hard drive.

    That is, unless anyone can provide me valid proof that you can recover data from one overwrite in a feasible amount of time.
     
  4. Nebulus

    Nebulus Registered Member

    Joined:
    Jan 20, 2007
    Posts:
    1,635
    Location:
    European Union
    Aside from the fact that I believe that one pass overwriting is enough, I find this part to be very funny. I am supposed to test 127 times overwriting? Yeah, I see it now, it's much safer than 126 times overwriting, the tests clearly show it :rolleyes:
     
  5. PJC

    PJC Very Frequent Poster

    Joined:
    Feb 17, 2010
    Posts:
    2,959
    Location:
    Internet
    Besides, most Home Users have Not the Secrecy-Level that Intelligence/Security Services need to defend...;)
     
  6. noone_particular

    noone_particular Registered Member

    Joined:
    Aug 8, 2008
    Posts:
    3,798
    This subject comes up regularly here and elsewhere. When it does, it seems like "experts" from all over start coming out of the woodwork, saying multiple passes are an overkill and completely unnecessary. Perhaps it's the paranoid side of me, but the quantity and nature of those responses set off alarms for me. The worst that multiple overwrites might do is cause some extra wear on your hard drive. When compared to all the records that Windows keeps and how much it caches during normal usage, this "extra wear" IMO is insignificant at best. If this "extra wear is the only potential problem, why all the emphasis on "once is enough"? Too many "experts" adding their 2 cents on something that, if true, is insignificant. IMO, the extent of the "you don't need to do that" responses are disproportionate if using multiple passes "makes no difference". It's enough to convince me to do the opposite and continue multiple pass overwrites on anything I consider sensitive.

    On my own PC, the browser cache, history, cookies, specific log files, flash storage locations, and any files I choose to erase manually get multiple passes. Locations overwritten I'll use a single pseudorandom overwrite free space, but that's done after individual files and folders are erased. These and other locations are erased on schedule at least daily or more. While my system isn't typical by any means, I haven't had a hard drive fail due to heavy erasing. The only hard drives I've had fail were under 5GB in size, which tells you how old they were. The absolute worst effect I've had from heavy overwriting is when one of the larger overwriting tasks runs at the same time that I'm gaming. Causes some lag if the game activity is also heavy at that moment.
     
  7. Nebulus

    Nebulus Registered Member

    Joined:
    Jan 20, 2007
    Posts:
    1,635
    Location:
    European Union
    Well, I'm going to give you a non-"expert" opinion :). What really matters is what kind of data are you storing on your HDD and who is your potential adversary. If you deem the data extremely sensitive, you could overwrite it as many time as you wish (and frankly I wouldn't worry about HDD wearing too much), although as far as I know nobody proved that multiple overwriting will leave less traces when the HDD is analyzed at physical level. The common sense is suggesting it so, it might be a good extra precaution.
    Also as a non-"expert" opinion, as far as I know all the tools that the police is using when they are investigating your computer are using simple imaging, so a simple overwrite with pseudorandom data or zeros is enough. If a force higher than police is looking for you, I'd say that overwriting your data is the least of your worries :)
     
  8. noone_particular

    noone_particular Registered Member

    Joined:
    Aug 8, 2008
    Posts:
    3,798
    When I said "experts", I wasn't referring to the regular posters here, or to posts, pages, etc from just this site.

    Forces higher than the police are already monitoring and/or sifting internet traffic now, under the guise of national security, catching perverts, anti-piracy, etc. The list of what they're looking for is constantly growing. In some countries, just expressing opinions contrary to what the government says is sufficient reason. It's a safe bet that anyone expressing support for individuals or groups like Anonymous, Wikileaks, and others is being watched here and in other places. When Wikileaks released that "insurance.aes" file, care to bet that they tried to keep tract of who downloaded it? Tools like Tor can cover usage tracks on the web, but those same tracks need to be covered on our PCs as well. I'd also bet that their data recovery abilities far exceed what we think is possible. Since there is no real downside to using multi-pass overwrites, I'll choose multi-pass and (if it is truly of no value) err on the side of caution. I'd rather make certain that it not only can't be recovered, but that it it's impossible to determine anything about it (size, age, type of file, etc). Yes, they can look at your hard drive and know that something was erased, but if they can't tell what it was (whether it was a sensitive file or the result of a scheduled cleaning).
     
  9. x942

    x942 Guest

    One-pass of zeros is enough. Technically even force-macroscopy has a hard time recovering data from that. Why?

    Force Macroscopy works by using magnetic fields in an attempt to revert the HDD's bits to their previous position. The flaw is that if even one bit is off the entire ASCII translation is ruined. (2 bit's per character). Now if the data was encrypted one bit off = corrupted data. The other issue is you have to recover bit for bit which on a modern HDD is very time consuming, because of how dense the platters are.

    So unless you are worried about some with the time and money (they are very expensive too) you can just zero it out, if the data is encrypted you are also fine because worse case is they get encrypted data. (Which just looks like random bits anyways).

    I use NSA 7-Pass wipe or DoD 3-pass wipe. Rarely a gutmann level wipe is used but only for very sensitive data. I use a NSA-7 Wipe to futureproof and incase law enforcement did pay a visit. My HDD is encrypted so they can not prove if it has been wiped or is intact (encrypted). It is overkill but I would use it if you are worried about law enforcement, or are selling equipment.
     
  10. CloneRanger

    CloneRanger Registered Member

    Joined:
    Jan 4, 2006
    Posts:
    4,978
    Yeah, i've always wondered if "some" of those responses were from people who wanted us to keep wipes to one, for "some" reasons ;) Not just on here but other forums/blogs etc over the years !

    I & others did a few threads testing Traces & Recovery etc. I found that by using Directory Snoop even after cleaning & rebooting, "some" evidence was left :eek: If you havn't already, it might be interesting to try it ;) Let us know if you do etc :thumb:
     
  11. J_L

    J_L Registered Member

    Joined:
    Nov 6, 2009
    Posts:
    8,738
    Where are those threads?
     
  12. x942

    x942 Guest

    At least in my case i was referring to DBAN. Does it work in that case as well? I use it with a zero wipe if I am just reinstalling. NSA if something is secret/private or I am paranoid that day. I have tried with photorec and Helix live CD and CAINE. I have even ran HxD over a drive and nothing was left after a DBAN wipe on one pass of zeros.
     
  13. CloneRanger

    CloneRanger Registered Member

    Joined:
    Jan 4, 2006
    Posts:
    4,978
    Hi, here's a couple for you, & i know there are others as well, & from previous years. Other members may remember more threads ;)

    https://www.wilderssecurity.com/showthread.php?t=283335

    https://www.wilderssecurity.com/showthread.php?t=287160

    Never used DBAN, but others mention it & similar etc in the links above :thumb:
     
  14. J_L

    J_L Registered Member

    Joined:
    Nov 6, 2009
    Posts:
    8,738
  15. x942

    x942 Guest

  16. noone_particular

    noone_particular Registered Member

    Joined:
    Aug 8, 2008
    Posts:
    3,798
    Quite some time ago, I read a piece with a title something like "Windows XP is Spyware". Some of it was a bit much but other parts of it were easy to verify. Articles like that Iron Geek page also confirm statements that Windows operating systems are designed to keep records of just about everything the user does, and each new version of Windows takes this farther than the one before. Windows itself obviously doesn't have any need for such usage data, which leads the question:

    Just who does need/want this data and why?

    There aren't many possible answers to that, but there is a lot of circumstantial evidence. The level of usage data collection has steadily increased since the NSA "helped MS secure Windows". This combined with some questionable behavior changes in Windows make it very difficult to come to any other conclusion. IMO, Win-7 and Vista might be more secure against malicious code (for now), but both make the user very vulnerable to surveillance and intrusions by governments and industry. AFAIC, anyone who values their privacy shouldn't use those operating systems, and should treat XP as suspect and strip out the unnecessary components and services.
     
  17. x942

    x942 Guest

    No offense but this sounds paranoid. How can a backdoor like this work? Any router would block remote access to this (NAT), any hardware firewall would block this as well. This would have been discovered by some one (look at defcon and blackhat and all the people analyzing windows for flaws). At most I can see the PRNG being flawed again. not a true backdoor. MS would be sued to death if that happened.
     
  18. CloneRanger

    CloneRanger Registered Member

    Joined:
    Jan 4, 2006
    Posts:
    4,978
    @ noone_particular

    I've also been aware for years of those MS "backdoor" & usage data etc articles. Back in the good ol' 98SE days i made a copy of User.Dat and converted it to a .txt file, BIG one ;) Amongst a host of other things, i was Alarmed to find several peoples email addresses that were Very private to me in there. As i did/do NOT use Outlook/Express or my ISP's email service, only webmail, NO such copies should have been in there. NO such valid reason/s exist, therefore my OS was recording/saving them, Without my approval or knowledge, & for what possible purpose ? Also i Always did/do empty/clean out my cache/history etc etc Every day with several good Apps & Always reboot Every day.

    I was also highly suspicious of the NSA'a involvement with both Vista & W7 :eek:

    @ x942

    Apart from any "possible" coded in backdoor/s, not saying there is though, they actually don't need one. Anybody who uses Windows Auto Update get's whatever MS delivers to them. Many of these Updates include unnanounced/undocumented "fixes" etc, & have for years. Who knows what's in those ? Not saying there is Anything dodgy, but the "possibility" is definately there.
     
  19. noone_particular

    noone_particular Registered Member

    Joined:
    Aug 8, 2008
    Posts:
    3,798
    An actual backdoor isn't needed. Windows doesn't have to send the data, just store it. Searching a persons PC for "evidence" is routine whenever a person is accused of most any crime, whether the alleged crime involved a computer or not. With our present laws, no real "probable cause" is required.

    As for potential backdoors, UPnP comes to mind. There's already been examples of it being used to reconfigure routers. As for network hardware and its ability to be accessed and possibly reconfigured from the web, I've port scanned the last 3 DSL modems my ISP has sent over. Besides the usual remote access and telnet ports that are open on some of them (and easily closed by configuration), each has also had an upper range port (past 20,000) open. I've found no configuration option that closes them and no information regarding what they'd be for or how to deal with them. The port number was different on each modem. I can't say it's a backdoor but I can't rule out the possibility either.

    Regarding backdoors and open ports in Windows itself, look at this thread and explain to me why Win-7 needs to be able to receive incoming traffic on that port. If Windows doesn't need to, why has it been made so difficult to close?

    I have yet to see a reasonable answer to my questions:
    Why does Windows store so much user tracks and data when it's not necessary to its operation? Since Windows doesn't need it, who does it save this data for? What do you call collecting and storing records of every file a user opens, every site they visit, every e-mail, every app they use, etc, and storing it in more places than the user can imagine so that it becomes nearly impossible for the user to delete it? By any definition I know, the process is called spying and the software that engages in this behavior is called spyware.

    CloneRanger,
    I did something very much like that and didn't like what I found either. Fortunately it wasn't hard to defeat that on 9X systems, thanks to DOS and a batch file that ran at bootup. From that point forward, there's been more usage data stored that's harder to find and even harder to get rid of without using 3rd party tools and/or accessing it via another OS.
     
  20. x942

    x942 Guest

    UPnP is easy to disable (and I always do disable it on the router and the service). I am not saying it is impossible but if MS was caught, and there is a high chance of that, they would be sued by every business effected not to mention all the class action suits against them.

    Now storing for physical search: I will buy that. But I use FDE with PGP so good luck retrieving anything from my PC. I have also hardened it with SRP et al. But it is mostly for game developing for windows. I use linux and Mac OS X as my main platform.
     
  21. noone_particular

    noone_particular Registered Member

    Joined:
    Aug 8, 2008
    Posts:
    3,798
    Yes, it's easy to disable, but you shouldn't have to shut down, disable, and/or remove services and components to protect yourself. I would have thought MS would have learned something from Slammer regarding ports being left open unnecessarily, but that thread regarding Win-7 and closing port 135 says otherwise. It shouldn't be necessary to use a firewall to block access to open ports. As for MS being caught, without access to the source code, it would be impossible to tell if it was a legitimate vulnerability or a deliberate opening. It would be labelled a vulnerability, then patched like so many others have before it.
    Using encryption to protect data that you choose to store is one thing. Using it to deny access to usage tracks that you can't get rid of is an entirely different matter. This is a complete reversal of its purpose. Instead of protecting your data on the OS, it's protecting you from the data on your OS. It would be functioning almost like an anti-keylogger, but for usage tracks.
    My approach is somewhat similar. I use XP for some gaming and very casual use. Nothing sensitive. When privacy or near anonymity matters, I steer clear of XP and the newer NT systems. I'll use something that allows me to control, access, and erase usage tracks without having to resort to an extensive search or specialized tools to find it.
     
  22. x942

    x942 Guest


    Agreed 100% :thumb:
     
  23. CloneRanger

    CloneRanger Registered Member

    Joined:
    Jan 4, 2006
    Posts:
    4,978
    Check this out :eek:

    Test set up as thus -

    Eraser v5.8.8US with a DoD 5220.22-M(ECE) 7 pass overwrite method, which uses random data for the last pass. Plus configured to erase the file slack space "Cluster Tips" too.

    Either that version of Eraser is/was faulty, and/or the tester messed up, or worst of all, the 1 pass is OK advice over the years was/is just plain wrong :mad: So now what to do, & not with USB drives/sticks ? I wonder if it ONLY applies to Flash memory/drives etc ?
     
  24. J_L

    J_L Registered Member

    Joined:
    Nov 6, 2009
    Posts:
    8,738
    Only way to find out is to have multiple sources. Why don't you try it yourself?
     
  25. noone_particular

    noone_particular Registered Member

    Joined:
    Aug 8, 2008
    Posts:
    3,798
    I'm not sure how much using a USB stick instead of a hard drive affects the results, but I'd be interested to see that test repeated using Eraser version 5.7.
     
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.