Aug 18
Masters Quite a lot has happened in the last few days, some of it is significant and some of it is just media hype. The Chief asked us to rant about it. In this summary I will try and cut through the hype and see if there are any important lessons or theories that can be taken from this incident.

There is also a Japanese translation of this entry available here, thanks to Keiji Takeda.

Time line

Discussion

Right, now that is out of the way, lets get onto an analysis. Some people have claimed this is the "fastest turnaround from the announcement of a vulnerability to the actual virus." At first I thought this was true, but it isn't. Sasser appeared the day after the exploit was released but the vulnerability was released sixteen days earlier. However the witty worm appeared about 36 hours eEYE's public disclosure of the vulnerability. Therefore, it is not the fastest instance of vulnerability to exploit (0days get that accolade) or exploit to virus or disclosure to worm.

Zytob is a descendant of Mytob and seems to have originated in Turkey having been written by the same author as Mytob.

The blended threat problem seems to have caused the biggest headache. When a new vulnerability is announced, existing worms can be upgraded to use it as a new attack vector. This is exactly what we have seen in this case and should expect more of in the future. There won't be one worm to rule them.

The exploits for Veritas and Apple patches in the middle of the incident could have been a headache for some. To elaborate on joat's point about standardisation, there may be some advantage to minimal vertical integration i.e. linux on both desktops and servers but each with different configurations standardised horizontally.

Implications

A post on the patchmanagement mailing list summarised the problem nicely. This company used to have a 20 day testing cycle, from analysis to full production deployment. After Sasser they pushed for a 7 day testing turnaround. However this demonstrates that they need to move to a 3 day turnaround, if you ignore 0days. Each move requires a re-negotiation with management. Three days to patch is next to impossible, you can't patch that quickly. Then other issues such as the current IE 0day turn patching policies into an impossible race.

This brings us to the mitigation strategies. There were/are multiple ways to block this malware without requiring a patch (although in the long term a patch is the preferred solution). There are two parts to this, actions you can undertake in the situation and long term architecture changes.

Situational

  • Firewall the service. If you can proxy it or disable it.
  • Apply recommended mitigating strategies (in this case disable NULL sessions).
  • Update snort signatures to block suspicious traffic, this will create some false positives, but they are easier to deal with that a worm outbreak. The false positives will also help to improve the signature for the community.
  • Update AV signatures to block the malware (this isn't always a solution).
Long-term
  • Quarantine portable devices (e.g. wifi devices, laptops, PDAs) on their own subnet and treat it like the external internet. THis should prevent malware piggy-backing in.
  • Limit VPN access to prevent malware tunneling in. Sometimes a simple webapp can provide the necessary level of access.
  • Implement routing white-lists, and egress filtering. User desktops often only need to talk to a handful of servers. This should reduce propogation speed within your organisation and can allow you to focus on server patching.
  • Reorder your network into zones and focus on the connectivity between them, at the same time try and simplify the organisational network diagram connectivity by centralising services where appropriate (from  tqbf).
  • Execution white-lists could be useful depending on your environment (thanks Axel Ebel). Windows has DEP and work has been done on signed binaries.
  • Keep an eye on security news, particularly the SANS ISC InfoCon threat level. Sometimes you will need to fast track a patch with minimal testing.

These should buy you some time to get the patches tested and deployed. We are still seeing too much of what Bill Cheswick, way back during the Morris worm in this paper, described as "a sort of crunchy shell around a soft, chewy center".

Conclusion

In conclusion, this seems like a lot of noise for something that wasn't that big. However, it wasn't a non-event. The hype can be used to get a patching and threat management policy up to date.

UPDATE: Just cleaned it up a bit, minor corrections.

UPDATE: Whoops the witty worm was faster than Zotob.

UPDATE: Added execution white-lists. Also the entry was reviewed by the SANS ISC and okayed.

UPDATE: Added reccomendations from chargen 19/UDP.

Posted by Dominic White

Last modified on 2005-08-26 10:15

12 Trackbacks

  1. greg hughes - dot - net

    Be informed, be very informed - The facts about the Zotob virus

  2. greg hughes - dot - net

    Be informed, be very informed - The facts about the Zotob virus

  3. toheart

    http://spaces.msn.com/members/toheart/blog/cns!1p3CQ3Bhu69hcdpnLxqqqTEQ!370.entry
    New windows worm spread quickly...

  4. toheart

    http://spaces.msn.com/members/toheart/blog/cns!1p3CQ3Bhu69hcdpnLxqqqTEQ!370.entry
    New windows worm spread quickly...

  5. Ron Crumbaker at myITforum.com

    MS05-039 and the Zotob summary

  6. 武田圭史

    MS05-039 and the Zotob summary(Japanese Translation)
    I translated Dominic's great summary on MS05-039 and the Zotob into Japanese with his approval.

  7. MyITForum - Security

    MS05-039: Great blog link summarizing Zotob virus developments

  8. Microsoft Most Valuable Professional

    MS05-039: Great blog link summarizing Zotob virus developments

  9. www.averyjparker.com

    Zotob aftermath and analysis
    The dust over the zotob worm infection has settled a bit at this point. (You can bet there are still infected machines out there though so if you haven’t patched yet - DO IT and check for signs of infection.) Among other things, The Security Fi...

  10. PenetrationTester.com

    Zotob, MS05-039 and Internal Pen Testing
    This is a very nice summary for the recent remote vulnerability. The remote vulnerability is very timely as I am out onsite next week doing an Internal Attack and Penetration assessment.

  11. MaCtrOn WeBlog

    The Worm Business
    Now that some of the dust has settled from the outbreak(s) of the

  12. MaCtrOn WeBlog

    Zotob aftermath and analysis
    The dust over the zotob worm infection has settled a bit at this point. (You can bet there are still infected machines out there though so if you haven’t patched yet - DO IT and check for...

4 Comments

Display comments as(Linear | Threaded)
  1. John McCann says:

    Hi Dominic
    I am UK based, my company are a Security Consultancy that have specialised in Patch Mgt the last 3 years.
    Like your Zytob summary, it is spot on.
    Please can I send this out to my customers , we do an on-demand news service, and I think your comments will save them a lot of time and panic!
    regards John

  2. Axel Eble says:

    Thanks for the nice summary. I'd like to add another layer of defense dealing, namely stuff like execution control. Instead of blacklisting certain bits of code it might be better to whitelist only a set of executables that are published to the organization. This would even deal with rogue installations (and, besides, this strategy was the first a/v system ever to be designed. Pattern-based a/v systems came later but, despite their inferior technology, took over the market).

  3. Mark says:

    Nice summary. You are dead right when you say "it wasn’t a non-event. The hype can be used to get a patching and threat management policy up to date."

    Although not directly relared to the vulnerabilities detailed in MS05-039 (Plug and Play issue), in terms of the IE 0 day exploit, this is yet another instantiation of a COM object which IE should not be able to use - again the poor security model of ActiveX rears its ugly head.

    Mitigation for this can be additionally provided by the use of IE on XP SP2's 'Add-On Management' feature by using Group Policy to 'white list' only allowed ActiveX controls. This means that all such controls which should never be instantiated in IE never run anyway.

    By using this facility, we have protected our corporate network from 0days for IE of this nature - this also includes the ADODB.Stream vulnerability which was highlighted last year.

    I am consistently surprised that Microsoft are not pushing the 'Add-On Management' features more heavily of XP SP2. Admittedly, it's not easy to set up initially (no ActiveX controls run until whitelisted and this includes everything which uses the ActiveX model including Javascript!) - however, once it's working it provides a good deal of additional protection.

  4. toufeeq says:

    I would like to know what is the turnaround time at Organizations for this particular patch.At my workplace the patches were rolled out after 17 days to the day MS released the original patch.Is that a normal timeframe at other organizations too ?

Add Comment


E-Mail addresses will not be displayed and will only be used for E-Mail notifications

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA