Slashdot Mirror


Estimating the Time-To-Own of an Unpatched Windows PC

An anonymous reader notes a recent post on the SANS Institute's Internet Storm Center site estimating the time to infection of an unpatched Windows machine on the Internet — currently about 4 minutes. The researcher stipulated that the sub-5-minute estimate was valid for an unpatched machine in an ISP netblock with no NAT or firewall. The researcher, Lorna Hutcheson, called for others to post data on time-to-infection, and honeypot researchers in Germany did so the same day. They found longer times to infection, an average of 16 hours. Concludes the ISC's Hutchinson: "While the survival time varies quite a bit across methods used, pretty much all agree that placing an unpatched Windows computer directly onto the Internet in the hope that it downloads the patches faster than it gets exploited are odds that you wouldn't bet on in Vegas."

19 of 424 comments (clear)

  1. Offline updates by Fallen+Andy · · Score: 5, Informative
    For XP/Office/Vista, you owe it to yourself to use the Heise offline updates.

    Back in '04 the time to live was (claimed to be) around 20 minutes. I wonder what the time is for an unpatched Vista (the figures in the article are for XP). Heh - I bet '98SE survives forever (nobody would want to exploit that).

    Andy

  2. Re:Doesn't make sense by thona · · Score: 4, Informative

    That makes a lot of sense - because that is exactly what happens. Tons of bots around trying to get into "known and patched for years" exploits. They jsut scan IP Address ranges for computer to come online. So, really - no browsing required. No user action required. They happily come to you. This is why a simple firewall like the one you have now on Windows (allow only outgoing connections by default) or simple NAT ALREADY raises quite a bar in security - there ARE, HAVE BEEN and WILL BE exploits that do not require any user interaction.

  3. Re:Doesn't make sense by kitgerrits · · Score: 4, Informative

    No, this type of infection is sent to random computers all over the Internet.
    If one computer on the same IP range as you if infected, it will try to infect all computers on the same IP range and continue to try until someone either turns off the PC or formats the harddrive.

    Try installing a firewall, connecting a computer directly to the Internet (don't -do- anything, just connect it) and then Wireshark to look at your Network Interface.
    You'll be surprised at the stuff you get without asking.

    --
    "I was in love with a beautiful blonde once, dear. She drove me to drink. It's the one thing I am indebted to her for."
  4. Re:How is this measured by Spad · · Score: 4, Informative

    I know that last time I put a new install of XP SP2 straight onto the internet without firewall or antivirus (A tiny oversight - plugged in the wrong cable) it was owned in under 5 minutes without any interaction on my part.

  5. That's why you slipstream by Toreo+asesino · · Score: 3, Informative

    You can bundle all the patches & service-packs you want into a slipstream image and install everything at the same time.

    Otherwise, there's WSUS (http://en.wikipedia.org/wiki/Windows_Server_Update_Services).

    (Not that I disagree XP was horribly insecure when it came out)

    --
    throw new NoSignatureException();
  6. Re:Um, what version? by IntlHarvester · · Score: 3, Informative

    XP SP2 comes with a firewall on by default. Vista comes with a firewall on by default.

    This is only seems interesting if you're installing from your vintage 2001 XP disk.

    --
    Business. Numbers. Money. People. Computer World.
  7. Re:Doesn't make sense by sowth · · Score: 4, Informative

    I'm going to jump in, because I don't think anyone explained this.

    Windows runs lots of services (server programs) by default, some of which have vulnerabilities. Some of which can't be turned off, because of the way MS programmed them. If you wonder why they are there, this is how things like filesharing works: it has a server program which will reply when someone else on the lan broadcasts asking for other shares. If someone creates specially formed packets, they can break into those vulnerable services, and you are rooted.

    There could also be vulnerablilities in the kernel (main system), but they are rare. You could also be infected if you opened up a shared folder, and someone / a program uploads a hostile program to it, and you run that program.

    This is in addition to getting infected by visiting a hostile site with an insecure browser.

    I may not have explained this very well, but hopefully you get the idea.

  8. 7 months and counting by petes_PoV · · Score: 3, Informative
    At the end of last year (just before christmas) I reconfigured an old laptop with W2k/SP4 for use receiving weather satellite pix and acting as a weather station. Since it only has a 150MHz processor and 96MB memory I decided not to include any anti-virus or spam filtering on the box itself. It does sit behind my Netgear DG834GT, which only lets through selected ports - mainly for the benefit of the other machines I run.

    While the laptop itself has very little internet presence (just downloading patches, drivers and s/w updates) I've occasionally remote-mounted it's disk to another box that runs Norton. I've never detected any spam, viruses, trojans or other nasties.

    My conclusion is that with some basic precautions and common-sense (plus no email and only visiting "well known" websites) it's quite feasible to run a windows box for dedicated applications 24*7 without the overheads of virus protection.

    --
    politicians are like babies' nappies: they should both be changed regularly and for the same reasons
  9. Re:Um, what version? by EvanED · · Score: 3, Informative

    Which is exactly my point. We know those machines get pwned quickly, so why is this news? The /. summary presents it as if it's a current measurement of a current OS and not one that was superseded almost four years ago? (Assuming they are using a pre-SP2 install. Which, since the site doesn't give any actual information, I don't know.)

  10. Re:Time-to-0wn with dumb NAT firewall by totally+bogus+dude · · Score: 4, Informative

    You should be perfectly safe, as a dumb NAT firewall won't be sending your PC any traffic that it didn't originate. The only possible vectors would be: a) if its connection tracking code gets confused and lets in traffic which it thinks is associated with another connection but really isn't, b) bugs in the NAT firewall device (pretty much the same thing), or c) an attacker gets very lucky with spoofing connections that happen to be in the NAT table (tremendously unlikely).

    All up, the chances of anything getting through are pretty much negligible.

    The caveat is that stuff on your PC may be making connections without your knowing; and in particular, some programs may use UPnP to open a listening port for incoming traffic. This shouldn't be an issue with an out-of-the-box install.

    This is of course assuming the common NAT device setup, where you have your modem/router which gets a public IP address and then NATs all outbound traffic. Inbound traffic will hit the router and not go any further unless the user has explicitly set up forwarding rules on it.

    Pretty much everyone with broadband in Australia will be behind such a device, as this is the kind of device most every ISP recommends or sells. Not sure what the norm is elsewhere in the world.

  11. Re:How is this measured by Opportunist · · Score: 3, Informative

    I did exactly the same kind of "research" (for a documentation about online threats for our local TV network), here is what I did.

    I installed XP SP1 (bear with me, it was the pre-Vista days), the way you got it delivered on a CD. I did nothing else (XP SP1 came without the firewall preinstalled). I turned on a network monitor to document and show what happens. Then I patched in an Ethernet cable to the local network which had unfiltered access to the internet (pretty much what the average cable user, or the average DSL user has after dialup).

    Time to infection through the RPC hole was less than 2 minutes.

    I did essentially NOTHING to faciliate it (besides, well, not having the machine patched at least to SP2), I just let the machine sit there, connected to the internet.

    In a nutshell, if you're using XP and have one of those SP1 install discs, download SP3 before you kick the system in the gutter, put the service pack on a USB stick or external drive and install it before you connect that machine anywhere.

    --
    We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  12. Any OS will get owned post-install by ptashek · · Score: 3, Informative

    I took about 2 minutes the last time I remember this was *accidentally* tested on our /16 network (XP SP2, way down in mid-2006). But this is not a Windows problem per-se. Any other OS, in a post-install state, will eventually get compromised. It's just a matter of time. Solution: build + patch + secure offline, then deploy.

  13. Re:How is this measured by Mistlefoot · · Score: 5, Informative

    Absolutely. SP2 firewall is enabled by default.

    And from the article "This older guide was written based on Windows XP pre SP2. One of its main feature
    was step by step instructions on how to enable the Windows XP firewall."

    XP SP2 was released in August of 2004. Why are we talking about 4 year old software? Heck, Firefox 1.0 hadn't even been released yet. And Ubuntu's first release was in October 2004.

    Why is an OS older than Ubuntu or Firefox being tested? And I mean 4 years older then Ubuntu - even with SP2 it would still be older then Ubuntu or Firefox.

  14. Re:How is this measured by Anonymous Coward · · Score: 3, Informative

    The best thing to do would be to download and burn an offline SP3 updater on a good PC, and install that before connecting to the net.

    Sadly this is not very well known especially amongst those who need it the most, and MS doesn't go out their way to make it very clear either. So geeks, do your duty and inform those who you suspect could use it.

  15. Re:How is this measured by CastrTroy · · Score: 5, Informative

    Because the last OS put out previous to Vista was Windows XP. That's why we are talking about such old software. It's only 1 version behind current. The biggest problem, is that there's a lot of people who have XP discs with no service pack incorporated. When you reinstall from these discs, and try to connect to the internet to download SP2, your computer is owned before you can even download the service pack. That's a major problem.

    --

    Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
  16. Funny thing is that Zone Alarm has had vulns by George_Ou · · Score: 5, Informative

    Funny thing is that Zone Alarm has had some serious remote exploit vulnerabilities where if you hadn't installed a 3rd party FW in to your Windows XP computer, you'd be safe. Here's an example of one http://secunia.com/advisories/10921/. Windows XP, Vista, Server 2003 and 2008 Firewall has been rock solid and secure. You're simply talking out of your ass and you're giving the typical knee jerk reaction against Microsoft products. You do not have a single example of where Windows XP SP2 firewall is vulnerable to a remote exploit and there isn't a single example of hackers getting through it if all ports are closed.

    1. Re:Funny thing is that Zone Alarm has had vulns by KGIII · · Score: 5, Informative

      To add to this I have helped write both the Outpost Personal Firewall and Kaspersky's Anti-Virus application. As the NDA is up I can admit to the latter. Simply put, you're full of shit. (Not the parent but the grandparent. George is right on.) The reality is that if one doesn't try to pretend they are smarter than the system than the Windows firewall works really well at INBOUND protection. Let me state this another way... If you have a clean system AND don't go screwing with the system's settings the Windows firewall will do just fine at getting you online safely. If your OS installation media predates this than you should really look at slipstreaming or a newer OS. Windows firewall sucks at outbound protection, a lot... As for inbound? It is fine and I will happily toss an image and an IP address up to those who disagree [no carrier] (Just kidding of course, it really DOES do the job of inbound protection. Safe hex and JUST the Windows firewall behind a NAT enabled router has served me well for a long time though outside of that I simply use Outpost.)

      --
      "So long and thanks for all the fish."
    2. Re:Funny thing is that Zone Alarm has had vulns by rabbit994 · · Score: 3, Informative

      Article isn't clear but they didn't say what version of Windows they put on Internet. If you install slipstreamed XP SP2 or greater, the firewall would be on by default and I imagine time to owned would be much higher then 4 minutes. If you put XP no SP on internet, yea, owned in 4 minutes. Server 2003 SP2 R2 locks down all incoming connections till you say go ahead and open them up after install to let you have time to patch.

      As for shipping with patches, they do. All the new Dells at work have been coming with XP SP3 on reinstall CD and there is directions on how to create your own slipstream install CDs. Try googling "XP Slipstream" . Ditto for Windows 2003 Server.

      Lastly, they do continue to fix it. Windows Update still has patches for XP as needed. The rate of required patches has slowed down but that's a good thing. They haven't had OMG WE MUST PATCH NOW patch in a while.

       

  17. Re:How is this measured by Gumbercules!! · · Score: 5, Informative

    I know it was pwned because during the installation I got an angry phone call from the Cisco Comms boys, who wanted to know why one of our servers was suddenly flooding the network with traffic matching the signature of the Code Red worm.

    Once the installation finished (now with the cable unplugged), sure enough, the box was infected with Code Red. No doubt because IIS installs by default (set to on) and my leaving the cable in allowed it to get infected.

    I was then embarrassingly the reason for a new policy stating all installations must be done with the network cable unplugged.