Stories
Slash Boxes
Comments

News for nerds, stuff that matters

MS SQL Server Worm Wreaking Havoc

Posted by pudge on Sat Jan 25, 2003 07:43 AM
from the no-man-will-know-the-day-or-the-hour dept.
defile writes "Since about midnight EST almost every host on the internet has been receiving a 376 byte UDP payload on port ms-sql-m (1434) from a random infected server. Reports of some hosts receiving 10 per minute or more. internetpulse.net is reporting UUNet and Internap are being hit very hard. This is the cause of major connectivity problems being experienced worldwide. It is believed this worm leverages a vulnerability published in June 2002. Several core routers have taken to blocking port 1434 outright. If you run Microsoft SQL Server, make sure the public internet can't access it. If you manage a gateway, consider dropping UDP packets sent to port 1434." bani adds "This has effectively disabled 5 of the 13 root nameservers."
This discussion has been archived. No new comments can be posted.
MS SQL Server Worm Wreaking Havoc | Log In/Create an Account | Top | 964 comments (Spill at 50!) | Index Only | Search Discussion
Display Options Threshold:
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
(1) | 2
  • Who did this I wonder????? (Score:4, Funny)

    by amigaluvr (644269) on Saturday January 25 2003, @07:46AM (#5156231) Journal
    Kevin Mitnick is allowed back on the net and the net goes fubar
  • Terrorism, must be (Score:5, Interesting)

    by isorox (205688) on Saturday January 25 2003, @07:47AM (#5156233) Homepage Journal
    In South Korea internet services were shut down nationwide for hours on Saturday, the country's Yonhap news agency reported.

    It said the shutdown was triggered by "apparent cyber terror committed by hackers".


    http://news.bbc.co.uk/1/hi/technology/2693925.stm [bbc.co.uk]
  • As I said in a previous post... (Score:5, Informative)

    by caluml (551744) <slashdotNO@SPAMspamgoeshere.calum.org> on Saturday January 25 2003, @07:48AM (#5156237) Homepage
    I find it lucky that the worm writer didn't make the worm fire out random traffic on random udp ports with spoofed addresses.

    It's only the fact the traffic is all destined for a certain destination port that makes it easy to filter.
    You are filtering it out on your firewalls, aren't you?
    /sbin/iptables -I FORWARD -p udp --dport 1434 -j DROP

    This could have been a lot lot harder to filter out. I expect we'll see ThisWorm v2 soon.

    I dread the day someone finds a hole in Apache, Sendmail or something really popular and writes a worm like this...
    • Re:As I said in a previous post... (Score:5, Informative)

      by bwalling (195998) on Saturday January 25 2003, @07:55AM (#5156261) Homepage
      It's only the fact the traffic is all destined for a certain destination port that makes it easy to filter.
      You are filtering it out on your firewalls, aren't you? /sbin/iptables -I FORWARD -p udp --dport 1434 -j DROP


      Exactly. From the MS Security bulletin:

      The risk posed by the vulnerability could be mitigated by, if feasible, blocking port 1434 at the firewall.

      What the heck was it doing open in the first place?
      [ Parent ]
      • Re:As I said in a previous post... (Score:5, Insightful)

        by caluml (551744) <slashdotNO@SPAMspamgoeshere.calum.org> on Saturday January 25 2003, @08:02AM (#5156289) Homepage
        Wouldn't it be nicer if the owners of these machines bother patching the fucking things though?

        As far as I'm concerned, boxes SHOULD be able to stand on their own without firewalls. A firewall just adds another layer.

        Sounds like you're advocating armadillo security to me - hard on the outside, soft on the inside.
        [ Parent ]
        • Re:As I said in a previous post... by Dr. Photo (Score:2) Saturday January 25 2003, @12:23PM
        • Re:As I said in a previous post... (Score:5, Insightful)

          by Tassach (137772) on Saturday January 25 2003, @01:35PM (#5157625) Homepage
          There's no good reason whatsoever for a database server to connect directly to the internet - it should only accept connections from trusted hosts. You never let an untrusted application talk directly to the database - if they need to query the database it should be proxied by a piece of middleware. Any DBA who says otherwise is an incompetent idiot.

          You put your webserver on a DMZ, and let it (and only it) talk to the database server through the firewall. Any 2-tier client-server app should be going through a VPN or other secure tunnel.

          The only way to do security is to have multiple layers, and to ruthlessly apply the priciple of least privilidge (you get only those permissions you ABSOLOUTELY need and nothing more).

          [ Parent ]
        • Re:As I said in a previous post... by Anonymous Coward (Score:1) Saturday January 25 2003, @01:37PM
          • No they don't... by kwenda (Score:2) Saturday January 25 2003, @03:07PM
          • Re:As I said in a previous post... (Score:4, Interesting)

            by duffbeer703 (177751) on Sunday January 26 2003, @12:20AM (#5160265) Homepage
            One of the big problems with applying Microsoft patches, is that Microsoft uses patches to push unpopular and/or useless software on people.

            For example, applying security hotfixes to Windows XP causes MSN Messenger to be installed, even if it was previously removed. This practice got a Microsoft infantry mobile-computing solution to be disqualified when Outlook Express and MSN Messenger were installed to Army XP-Embedded machines.

            If you blindly apply MS patches to a mission-critical system, you're nuts. If you have the time to verify the multitude of MS patches as they come, you are probaly soon to be unemployed.
            [ Parent ]
        • Re:As I said in a previous post... by obiwan2u (Score:1) Sunday January 26 2003, @12:07AM
        • Re:As I said in a previous post... (Score:5, Insightful)

          by caluml (551744) <slashdotNO@SPAMspamgoeshere.calum.org> on Saturday January 25 2003, @08:24AM (#5156377) Homepage
          Firewalls promote softer security.

          "Oh, it's OK because it's behind the firewall..."

          I think firewalls make people lazy. Imagine if we didn't have firewalls. We'd have to keep our passwords good, our services minimal, and make sure we were running the latest, most secure daemons.
          [ Parent ]
          • Re:As I said in a previous post... (Score:5, Interesting)

            by Zeinfeld (263942) on Saturday January 25 2003, @11:08AM (#5156938) Homepage
            Firewalls promote softer security.

            I have argued for many years that people tend to get the idea that a firewall is some kind of +8 amulet of protection they just strap on which will protect them from pretty much anything.

            However there are real benefits to using firewalls and NAT boxes. Unfortunately there are some members of the IESG who are confused on this point but thats because they are blinkered by the end-to-end dogma. I'll note here that Steve Bellovin, the new security AD knows a thing or two about firewalls.

            There are actually two end-to-end principles. Applied to networking it meant put the intelligence at the ends, not in the middle of a communication. This was applied to security to mean the same thing.

            End-to-end is appropriate to the design of network protocols, it is inappropriate as a guide to operational security. Many protocols are not designed securely, most protocol implementations have flaws.

            Another dogma that is inappropriate to operational security is the 'security through obscurity' trope. A design that relies on security through obscurity is broken. This does not mean that operators should divulge all the details of their operations to attackers in the hope this will improve security, it will not. Argument of this type was used to block the introduction of shadow passwords on UNIX for years after the vulnerability to dictionary attacks was widely known and being exploited by attackers.

            A firewall and NAT box provides a significant degree of security at low cost. NAT provides a means of concealing the internal structure of the network. This does not eliminate the possibility of attack but raises the bar significantly. If you are running a site that is considered attractive to hackers a technology that weeds out the knob turners and dimmer script kiddies has value.

            What we need to move to is security in depth, recognizing that design security and operational security are different and that both are important.

            [ Parent ]
            • Re:As I said in a previous post... (Score:5, Insightful)

              by DavidTC (10147) <slfoeei.vadiv.vadiv@neverbox.com> on Saturday January 25 2003, @11:55AM (#5157160) Homepage
              One of the best thing you can do with a firewall is something it's hard to do with a desktop machine...LOG.

              This adds a third layer of security, in addition to the 'secure firewall' and the 'secure desktop'. If, god forbid, someone gets through your firewall, you'll at least know it.

              And I'm talking about logging outgoing traffic, also. After all, if your firewall is set up correctly you can't have any random incoming traffic...but you'll have lots of outgoing. They have NIDS to detect suspicious traffic, or you can just get a huge dump and start filtering out things you know are okay.

              And it's about the only way you'll ever catch that some idiot is running an ICQ from three years ago with a known buffer overflow or something stupid. Neither firewalls nor updated desktop machines can protect you from your own users, only log files of network traffic can do that.

              [ Parent ]
              • Re:As I said in a previous post... (Score:4, Interesting)

                by Zeinfeld (263942) on Saturday January 25 2003, @01:14PM (#5157518) Homepage
                One of the best thing you can do with a firewall is something it's hard to do with a desktop machine...LOG.

                The problem with logging is that it is usless unless you actually review the logs. This rarely happens until after a site has been compromised.

                Much more useful is to have the firewall connected up to a 24x7 monitoring, or better management service like Counterpane, VeriSign or whatever.

                Over time I expect that cost of high end firewalls to drop significantly. I have two firewalls at home, neither cost more than $200 and they are both pretty adequate for my needs. So why does an enterprise setup cost $80K rather than $4K or so?

                [ Parent ]
              • Re:As I said in a previous post... by MikeFM (Score:1) Sunday January 26 2003, @05:01AM
            • Re:As I said in a previous post... by XO (Score:1) Saturday January 25 2003, @08:15PM
            • Security should be at the edge, not the core by Limax Maximus (Score:1) Sunday January 26 2003, @07:22AM
            • Re:As I said in a previous post... by GWmailman (Score:1) Monday January 27 2003, @07:23PM
          • Re:As I said in a previous post... (Score:5, Interesting)

            by Dudio (529949) on Saturday January 25 2003, @11:33AM (#5157044)
            I wouldn't say firewalls make people lazy; it's more a problem of people not understanding security.

            These people are just as likely to say things like "I'm 3DES encrypting my data, so there's no way anybody can read it", because they fail to understand the meaning of statements like "cracking 3DES is computationally infeasible". When you try to explain to them that their webserver and applications are much more likely to be their weakness than their encryption algorithm, they give you blank looks and mutter about the Computerworld article that said 3DES is "unbreakable encryption". It's not a problem with 3DES (or any strong algorithm); it's a problem with people not understanding that any security measure can be negated by poor design in other parts of their architecture.

            It's the same thing with firewalls. Only the unknowledgable would drop in a firewall and then go off to the bar to celebrate their newly "secure" network. That doesn't mean that the firewall is useless; it is still a crucial tool for securing one's network. The problem is the people who have no idea how to use the tool properly, and no concept of what a real-world attack actually looks like.
            [ Parent ]
          • by DarkZero (516460) on Saturday January 25 2003, @11:37AM (#5157064)
            Imagine if we didn't have firewalls. We'd have to keep our passwords good, our services minimal, and make sure we were running the latest, most secure daemons.

            Locks promote softer security.

            "Oh, I'm OK because I have locked doors and windows..."

            I think door locks make people lazy. Imagine if we didn't have deadbolts, or doors for that matter. We'd have to sit in front of the front door, with a shotgun, never sleeping for more than a few moments.
            [ Parent ]
          • Re:As I said in a previous post... by sverrehu (Score:2) Saturday January 25 2003, @02:01PM
          • 1 reply beneath your current threshold.
        • Re:waiting for patches is hardly good security pol by juhaz (Score:1) Saturday January 25 2003, @02:11PM
          • by sjames (1099) on Saturday January 25 2003, @05:25PM (#5158692) Homepage

            Sounds like a damn good advice to me. Why the hell should either of those be exclusive?

            It's very BAD advice! What happens when you blindly apply the patch and find out your mission critical app won't run anymore? A little QA testing would show you that on a test system instead of your live servers. If a firewall rule can protect you, use that, then QA the patch and apply if it is safe.

            Consider that sometimes, the 'security patch' just disables a feature that 'nobody uses anyway' (except for your mission critical app, that is). Other times, it doesn't fix the hole, it just changes it's shape a little. In that case, you go from a hole you know about and can guard against at the firewall to one you don't know exists that has less information about it available.

            It's not purely a dig at MS (though their track record for quality patches is spotty), any sudden change to widely deployed software runs the risk of causing a problem for sombody's configuration.
            [ Parent ]
        • 3 replies beneath your current threshold.
      • Re:As I said in a previous post... by blowdart (Score:3) Saturday January 25 2003, @08:03AM
      • Re:As I said in a previous post... (Score:5, Informative)

        by Anonymous Coward on Saturday January 25 2003, @08:08AM (#5156319)
        What the heck was it doing open in the first place?

        When the SQL Server 2000 client Net-Libraries connect to an instance of SQL Server
        2000, only the network name of the computer running the instance and the instance
        name are required. When an application requests a connection to a remote computer,
        Dbnetlib.dll opens a connection to UDP port 1434 on the computer network name
        specified in the connection. All computers running an instance of SQL Server 2000
        listen on this port. When a client Dbnetlib.dll connects to this port, the server
        returns a packet listing all the instances running on the server. For each instance,
        the packet reports the server Net-Libraries and network addresses the instance is
        listening on. After the Dbnetlib.dll on the application computer receives this
        packet, it chooses a Net-Library that is enabled on both the application computer and
        on the instance of SQL Server, and makes a connection to the address listed for that
        Net-Library in the packet.

        So the UDP 1434 port is open when the SQL Server is started to listen all the clients
        with any IP address on this port. SQL Server only receives the packet from the client
        on this port to determine which instance the client attempts to access and return the
        related information of the SQL Server to the clients. Then, the clients can create
        the connection to the SQL Server with the protocol enabled on the server side.
        [ Parent ]
        • Re:As I said in a previous post... (Score:5, Informative)

          by bwalling (195998) on Saturday January 25 2003, @09:58AM (#5156662) Homepage
          So the UDP 1434 port is open when the SQL Server is started to listen all the clients
          with any IP address on this port. SQL Server only receives the packet from the client
          on this port to determine which instance the client attempts to access and return the
          related information of the SQL Server to the clients. Then, the clients can create
          the connection to the SQL Server with the protocol enabled on the server side.


          There is a difference between a port being open on the machine the service is on and the port being open to the world. You should not leave this port open to the world. If people outside your firewall need access to your internal MSSQL server, you leave TCP 1433 open to selective hosts.
          [ Parent ]
      • leaving that port open... by smartfart (Score:3) Saturday January 25 2003, @08:14AM
      • Re:As I said in a previous post... by nehril (Score:2) Saturday January 25 2003, @09:35AM
      • Re:As I said in a previous post... by Servo (Score:2) Saturday January 25 2003, @12:56PM
      • 1 reply beneath your current threshold.
    • re: "a hole in something really popular..." by ites (Score:2) Saturday January 25 2003, @07:56AM
    • Re:As I said in a previous post... (Score:5, Informative)

      by sql*kitten (1359) on Saturday January 25 2003, @07:57AM (#5156271)
      You are filtering it out on your firewalls, aren't you? /sbin/iptables -I FORWARD -p udp --dport 1434 -j DROP

      I bloody hope no-one is specifically blocking this port. That's not how firewalls are supposed to be used. First you block everything then only open the specific ports you need. In most cases, these are 80 and 22 and maybe 25. There's no reason a database server's protocol port should ever be exposed to the public Internet!
      [ Parent ]
    • Re:As I said in a previous post... by Anonymous Coward (Score:3) Saturday January 25 2003, @08:02AM
    • Re:As I said in a previous post... by zmooc (Score:2) Saturday January 25 2003, @09:35AM
    • Re:As I said in a previous post... (Score:5, Interesting)

      by giel (554962) on Saturday January 25 2003, @09:43AM (#5156599) Journal
      I find it lucky that the worm writer didn't make the worm fire out random traffic on random udp ports with spoofed addresses.

      As far as I can see that's nonsense. If he or she had the worm wouldn't work as well as it did.

      • Using random ports it doesn't work. You need a specific port because that's the one you know how to exploit. A different port might be closed, safe or exploitable in a different way.
      • I think spoofing the return address wouldn't work very well either because the traffic payload the worm generates is caused by packets travelling between two machines. A spoofed address would cause the effect to die.
      [ Parent ]
    • Re:As I said in a previous post... (Score:5, Interesting)

      by davew (820) on Saturday January 25 2003, @09:49AM (#5156623) Homepage Journal
      I dread the day someone finds a hole in Apache, Sendmail or something really popular and writes a worm like this...

      Um, like the original Internet Worm [nasa.gov] which started all this trouble in the first place? :-)

      This was the incident that sparked the creation of CERT/CC [cert.org]. Every time I see another worm, I wonder why we still haven't learned [mit.edu].

      Dave

      [ Parent ]
    • Re:As I said in a previous post... by essdodson (Score:2) Saturday January 25 2003, @09:54AM
    • Re:As I said in a previous post... by cel4145 (Score:1) Saturday January 25 2003, @10:56AM
    • Re:As I said in a previous post... by wheeda (Score:1) Saturday January 25 2003, @12:29PM
    • Re:As I said in a previous post... by miah (Score:1) Saturday January 25 2003, @01:51PM
    • Re:As I said in a previous post... by MattBurke (Score:1) Saturday January 25 2003, @03:36PM
    • Re:As I said in a previous post... by Bakaneko (Score:1) Saturday January 25 2003, @04:10PM
    • Re:As I said in a previous post... by BuckaBooBob (Score:1) Saturday January 25 2003, @05:15PM
    • Re:As I said in a previous post... by wkcole (Score:1) Saturday January 25 2003, @06:56PM
    • Re:As I said in a previous post... by roybadami (Score:2) Sunday January 26 2003, @08:23AM
    • 6 replies beneath your current threshold.
  • bah by vicviper (Score:1) Saturday January 25 2003, @07:49AM
  • been watching this all night (Score:5, Informative)

    by h2odragon (6908) on Saturday January 25 2003, @07:49AM (#5156240) Homepage
    the fun's almost over now

    Collected a packet disasembly and some urls here [freedom.org].

    Everyone seems to be assuming this is a new use of an old (July) hole; I'm not certain of that. Any facts welcomed, see above url.

  • Patch (Score:5, Informative)

    by sql*kitten (1359) on Saturday January 25 2003, @07:50AM (#5156243)
    Microsoft released a patch [microsoft.com] for this 24th July, 2002.
    • Re:Patch by Fastball (Score:2) Saturday January 25 2003, @08:41AM
    • Re:Patch (Score:5, Funny)

      by Anonymous Coward on Saturday January 25 2003, @11:01AM (#5156914)
      I found it amusing that the two current headlines on the front page under the technology section at CNN are:

      Gates pledges better software security
      Electronic attack slows Net

      Now if they would only address security before they released their products we might not see these issues.
      [ Parent ]
      • Re:Patch by finarfinjge (Score:1) Sunday January 26 2003, @04:42PM
      • 1 reply beneath your current threshold.
    • Re:Patch by rakerman (Score:2) Saturday January 25 2003, @12:40PM
    • Re:Patch by 3waygeek (Score:2) Sunday January 26 2003, @12:18AM
    • Re:Patch by Fastball (Score:2) Saturday January 25 2003, @08:50AM
      • 1 reply beneath your current threshold.
    • 1 reply beneath your current threshold.
  • wow yeah! (Score:5, Interesting)

    by matth (22742) on Saturday January 25 2003, @07:50AM (#5156245) Homepage
    Where I work we ended up with quiet the excitement. Around 1am I lost connectivity on my DSL modem at my house.. and I just figured something was up with the DSL so I fooled around with that for a while.... but then I realized the data light on the hub for the DSL modem was blinking a WHOLE lot and nothing else on the hub was (ie broadcasts were coming through)... I couldn't ping our core router, nothing... YIKES! So I hiked into work... only to find that 3 machines had been compromised. A co-lo we have, and some other ones. Nothing bad mind you.. easy to fix.. install Service Pack, and then firewall the ports out.. but still.... it was interesting.. I walked into the server room and was greated with a ton of orange lights (that are normally just blinking!) That thing can really cook out the damage!

    Someone really has carefully crafted this worm to try to bring down the net.. and what better time then on a Saturday morning when all admins are away and not planing to work the next day!
    • Re:wow yeah! (Score:5, Insightful)

      by sporty (27564) on Saturday January 25 2003, @08:36AM (#5156409) Homepage

      Someone really has carefully crafted this worm to try to bring down the net.. and what better time then on a Saturday morning when all admins are away and not planing to work the next day!


      AND verisign will be down for certain hours while .org transitions to PIR/Affilias.
      [ Parent ]
      • Re:wow yeah! by PhreakOfTime (Score:1) Sunday January 26 2003, @01:03AM
        • Re:wow yeah! by sporty (Score:2) Sunday January 26 2003, @07:56AM
    • Re:wow yeah! by Electric Eye (Score:1) Saturday January 25 2003, @08:38AM
      • Re:wow yeah! by larien (Score:2) Saturday January 25 2003, @10:20AM
    • Re:wow yeah! by Gothmolly (Score:3) Saturday January 25 2003, @08:42AM
      • Re:wow yeah! by Sycraft-fu (Score:3) Saturday January 25 2003, @11:43AM
        • Re:wow yeah! by jonbelson (Score:1) Saturday January 25 2003, @12:36PM
          • Re:wow yeah! by Sycraft-fu (Score:3) Saturday January 25 2003, @01:28PM
            • Re:wow yeah! by rodgerd (Score:2) Saturday January 25 2003, @02:42PM
              • 1 reply beneath your current threshold.
            • Re:wow yeah! by bobbozzo (Score:1) Saturday January 25 2003, @07:35PM
        • Re:wow yeah! by j3ss (Score:2) Saturday January 25 2003, @02:08PM
          • Re:wow yeah! by len_harms (Score:1) Saturday January 25 2003, @03:22PM
          • Re:wow yeah! by Sycraft-fu (Score:2) Saturday January 25 2003, @05:28PM
          • 1 reply beneath your current threshold.
      • Heh heh heh... by immanis (Score:1) Saturday January 25 2003, @02:49PM
      • Re:wow yeah! Fucktard... by bubbha (Score:1) Saturday January 25 2003, @03:40PM
      • Re:wow yeah! by Harik (Score:1) Saturday January 25 2003, @04:05PM
      • 1 reply beneath your current threshold.
    • Re:wow yeah! by Anonymous Coward (Score:1) Saturday January 25 2003, @09:09AM
    • Re:wow yeah! (Score:5, Funny)

      by dangermouse (2242) on Saturday January 25 2003, @09:33AM (#5156565) Homepage
      and what better time then on a Saturday morning when all admins are away and not planing to work the next day

      What's it matter? It's not like you people have gone to work since last July [microsoft.com] anyway.

      [ Parent ]
      • Re:wow yeah! by frigate (Score:2) Saturday January 25 2003, @12:49PM
        • Re:wow yeah! by Mr. Firewall (Score:1) Saturday January 25 2003, @02:28PM
          • 1 reply beneath your current threshold.
        • I am sure... by jotaeleemeese (Score:1) Sunday January 26 2003, @05:59AM
        • 4 replies beneath your current threshold.
      • 2 replies beneath your current threshold.
    • Re:wow yeah! by silas_moeckel (Score:2) Saturday January 25 2003, @10:02AM
    • Re:wow yeah! by wheany (Score:1) Saturday January 25 2003, @10:32AM
    • Re:wow yeah! by StarTux (Score:2) Saturday January 25 2003, @10:51AM
    • Re:wow yeah! by AnalogDiehard (Score:2) Saturday January 25 2003, @06:38PM
    • Re:wow yeah! by friday2k (Score:2) Sunday January 26 2003, @02:50AM
    • Re:wow yeah! by fjordboy (Score:2) Sunday January 26 2003, @10:22AM
    • Re:wow yeah! by nikmal (Score:1) Monday January 27 2003, @04:42AM
    • 4 replies beneath your current threshold.
  • Ok now tell me (Score:5, Funny)

    by vicviper (140480) on Saturday January 25 2003, @07:51AM (#5156246)
    how many quries at the root level are unnecessary. :)
  • First hand report (Score:5, Interesting)

    by AirLace (86148) on Saturday January 25 2003, @07:51AM (#5156247)
    Waking up at 2AM after falling asleep at work on a Friday evening, to be greeted by a wall full of router racks lit up like a wall-shaped christmas tree is a sobering experience indeed. Needless to say I've been working since then to apply appropriate firewall rules accross our network to block port 1434. Once this blows over, it's time to start some real PostgreSQL advocacy..
  • One at our site cut itself off from the net... by weave (Score:2) Saturday January 25 2003, @07:51AM
  • ZDNet and Yahoo stories (Score:3, Informative)

    by tigress (48157) <rot13.fcnzgenc03@8in.net> on Saturday January 25 2003, @07:51AM (#5156250)
    ZDNet [zdnet.co.uk] and Yahoo.
  • Whoever puts their database server (Score:5, Insightful)

    by cscx (541332) on Saturday January 25 2003, @07:53AM (#5156253) Homepage
    Outside a firewall for no apparent reason is a tool. That being said, we live in a world of idiots. Why?

    NGSSoftware alerted Microsoft to this problem on the 17th of May 2002 and
    they have produced a patch that resolves these issues.


    This is January 25 2003 if I'm not mistaken. Are these the same people that leave their cars unlocked with the keys in the ignition?
  • how bad is it? (Score:3, Interesting)

    by chevelleSS (594683) on Saturday January 25 2003, @07:54AM (#5156257) Homepage
    What does this worm rank compared to other DDOS in the past?
    • 1 reply beneath your current threshold.
  • What's inside ? by koh (Score:1) Saturday January 25 2003, @07:55AM
    • Re:What's inside ? (Score:5, Informative)

      by AirLace (86148) on Saturday January 25 2003, @08:27AM (#5156383)
      There are no SQL commands in the worm. It just initiates a bouncing ping between two MS SQL servers that continues until the network or one of the servers is brought down. An annotated dissection of the worm is provided here [boredom.org].
      [ Parent ]
    • Re:What's inside ? by Anonymous Coward (Score:1) Saturday January 25 2003, @08:31AM
    • This is inside... by dark-br (Score:3) Saturday January 25 2003, @08:36AM
  • CNN & AP Beat Slashdot (Score:3, Interesting)

    by Anonynmous Cow (637479) on Saturday January 25 2003, @07:55AM (#5156260) Homepage Journal
    I was very surprised to discover both AP and CNN beat Slashdot to this story.

    Very disappointing.

    Timely is as important as accurate SlashEditors. Many of us look to you when big events occur...

    Especially considering this all began about 8 hours ago!
  • Information about the worm (Score:5, Informative)

    by Anonymous Coward on Saturday January 25 2003, @07:56AM (#5156268)
    This site has a disassembly with an explanation: http://www.boredom.org/~cstone/worm-annotated.txt [boredom.org]
  • What next? by Big Mark (Score:2) Saturday January 25 2003, @07:56AM
  • Turn your SQL server off? by blowdart (Score:2) Saturday January 25 2003, @08:00AM
    • Who said anything about turning it off? by Chuck Chunder (Score:3) Saturday January 25 2003, @08:16AM
    • Re:Turn your SQL server off? by amorsen (Score:2) Saturday January 25 2003, @08:20AM
    • Re:Turn your SQL server off? (Score:5, Insightful)

      by Zocalo (252965) on Saturday January 25 2003, @08:32AM (#5156396) Homepage
      What a pathetic overkill response.

      No, it's a very reasonable one. Yes, you still need to patch, use non-blank SA passwords and the other things you suggest, but if you have an SQL server (any SQL server) directly visible to the Internet then you are either a fscking moron or have a very abnormal circumstance. A database server is a backend server, and should be completely hidden from the Internet by not one but two layers of firewalls.

      Basically, in this day and age, your setup from the Internet in to your internal LAN, should be (as a minimum):

      Internet router(s) => Firewall(s) => Web servers (HTTP, mail relays, proxies, VPN termination, etc.) => Firewall(s) => backend servers (SQL, internal mail etc..) => Internal network.

      Some of these networks can quite easily be different ports on the same physical firewall, but I'm limited by ASCII. Alternatively, if you have no backend servers, that segment can obviously be omitted altogether.

      Firewall rulesets can, and should, apply to outbound as well as inbound traffic and allowing traffic to flow cleanly accross multiple firewalls should be limited as much as possible. At a pinch, you could put your backend servers (if any) directly on the internal LAN, and get by with a single, three port firewall, but this should be the absolute minimum setup if you are hosting connections from the Internet. Sticking a two port firewall between your network and the Internet is simply not good enough anymore.

      With resonable DMZ capable firewalls available for less than $500, either as a dedicated box, or old PC running the open source apps of your choice, there is no fiscal reason for even the smallest of companies not to be secure. As ever, the real reason is lack of a clue when it comes to matters of security.

      [ Parent ]
    • Re:Turn your SQL server off? by sporty (Score:2) Saturday January 25 2003, @08:40AM
    • Re:Turn your SQL server off? (Score:4, Insightful)

      by bruthasj (175228) <bruthasj@y a h oo.com> on Saturday January 25 2003, @08:48AM (#5156445) Homepage Journal
      When the last set of bind exploits came out no-one said "Unplug all your DNS servers", why is this any different?

      Maybe because bind was built with the Internet in mind. Besides, who in their right mind (I know its redundant), would expose a database server to the Internet, whether that be Oracle, MySQL, PostgreSQL, MSSQL or anything of this nature. It should be hidden completely behind an application layer, preferrably behind a firewall.

      Remember to all: This isn't about bashing Micro$oft per se, but rather bashing sysadmins who expose a database out on the net.
      [ Parent ]
    • Re:Turn your SQL server off? by Curt Cox (Score:2) Saturday January 25 2003, @08:59AM
    • Re:Turn your SQL server off? by hqm (Score:2) Saturday January 25 2003, @09:17AM
    • maybe you could provide an example? by CausticPuppy (Score:2) Saturday January 25 2003, @09:43AM
    • Re:Turn your SQL server off? by biobogonics (Score:1) Saturday January 25 2003, @03:17PM
    • Re:Turn your SQL server off? by bubbha (Score:1) Saturday January 25 2003, @09:49AM
    • 2 replies beneath your current threshold.
  • June 2002? by drfrogsplat (Score:1) Saturday January 25 2003, @08:00AM
  • Another look at the worm (Score:3, Informative)

    by valdezjuan (83925) on Saturday January 25 2003, @08:01AM (#5156282)
    From digitaloffense: A new worm which exploits a vulnerability in MS SQL Server is bringing the core routers to a grinding halt. The speed of the propagation can be attributed to the attack method and simplicity of the code. The worm sends a 376-byte UDP packet to port 1434 of each random target, each vulnerable system will immediately start propagating itself. Since UDP is connection-less, the worm is able to spread much more quickly than those using your standard TCP-based attack vectors (no connect timeouts). Some random screen shots and information about the worm can be found HERE. [digitaloffense.net]
  • Whoever... (Score:5, Insightful)

    by wulffi (176311) on Saturday January 25 2003, @08:01AM (#5156284) Homepage
    Whoever puts a database outside a firewall? and then leave its external port open???

    Sysadmins like that should be dragged into the street and shot.
    • Re:Whoever... by cyb97 (Score:1) Saturday January 25 2003, @08:22AM
      • Re:Whoever... by wulffi (Score:1) Saturday January 25 2003, @08:25AM
      • Re:Whoever... (Score:5, Insightful)

        by radish (98371) on Saturday January 25 2003, @09:10AM (#5156493) Homepage
        I have three letters for you:

        V P N

        There is NO excuse for leaving BACKEND services like DBs, appservers, or whatever else visible on the public net. NONE WHATSOEVER. I work on a major website with multiple different data servers and backend applications, all distributed (and load balanced) over 4 physical sites on 2 continents. We use private circuits to handle the inter-site traffic, you could use VPN just as well. But everything vulnerable is buried from the internet behind several layers of firewall. Anything else is sheer lunacy.

        Crappy admins bring this kind of attack on themselves, and alas, on the rest of us too.
        [ Parent ]
        • firewall by Fuzzums (Score:2) Saturday January 25 2003, @10:21AM
        • Re:Whoever... by JordanH (Score:1) Saturday January 25 2003, @12:09PM
          • Re:Whoever... by Billly Gates (Score:2) Saturday January 25 2003, @08:59PM
          • 1 reply beneath your current threshold.
        • 1 reply beneath your current threshold.
      • 1 reply beneath your current threshold.
    • Re:Whoever... by KliX (Score:1) Saturday January 25 2003, @08:32AM
      • Re:Whoever... by Querty (Score:2) Saturday January 25 2003, @09:18AM
        • Re:Whoever... by Tony-A (Score:2) Saturday January 25 2003, @11:53AM
          • Re:Whoever... by Querty (Score:2) Saturday January 25 2003, @07:19PM
      • 1 reply beneath your current threshold.
    • Firewalls are not a magic elixir by ergo98 (Score:1) Saturday January 25 2003, @11:23AM
    • Re:grep -c 1434 log_firewall by anticypher (Score:3) Saturday January 25 2003, @12:25PM
    • Re:Whoever... by barryfandango (Score:1) Saturday January 25 2003, @02:03PM
    • Re:Whoever... by Wolfgang (Score:1) Saturday January 25 2003, @02:08PM
    • Re:Whoever... by bdan (Score:1) Saturday January 25 2003, @03:00PM
    • 1 reply beneath your current threshold.
  • Been waiting for this (Score:4, Funny)

    by tigress (48157) <rot13.fcnzgenc03@8in.net> on Saturday January 25 2003, @08:02AM (#5156285)
    ...the Slashdot article, that is. I've been watching this since I got up this morning (about five hours ago, local time). There's been plenty of discussions about this on various mailinglists, including NANOG [nanog.org] and NordNOG [nordnog.org], as well as several IRC channels I frequent. I'm surprised it took this long for Slashdot to post anything about it.

    According to unconfirmed sources on NANOG, the worm seems to eat up bandwidth at line rate (even at GigE links), is rumored to amplify itself via Cisco routers, and is the creation of Saddam Hussein.

    My journal [slashdot.org] on the worm.
  • best writeup (Score:5, Informative)

    by numatrix (242325) on Saturday January 25 2003, @08:02AM (#5156286)
    Best writeup I've seen is over at iss.net [iss.net]. They were the first to update their internet status homepage alerting of the vulnerability as far as I can tell.
    • Re:Some Links by Kalgash (Score:1) Saturday January 25 2003, @09:05AM
    • 2 replies beneath your current threshold.
  • problem still around (Score:3, Interesting)

    by Dynamic Drive (636263) on Saturday January 25 2003, @08:05AM (#5156302) Homepage
    I've been watching this havoc unfold all night as well. I wonder how long it's going to take for the entire problem to clear. Most sites that were previously unaccessible are for me are now, except some of our own. Makes me wonder if something else is going on in these datacenters.
  • Collected info: (Score:5, Informative)

    by Anonymous Coward on Saturday January 25 2003, @08:06AM (#5156306)
    There's a stream of related info in the comments of Slashdot's Cross-Site TRACE [slashdot.org] story.

    Some snippets from there:

    Mabu's message says: Here's what we've been able to learn, at 4:30am Central time.

    We have reason to believe that something called the "SQL Worm" is in play. Some sort of DDOS attack which creates overwhelming traffic on port 1434. This is all preliminary stuff, so take it as such but I have one link up and 3 others down.

    I don't have confirmation or details on what systems are affected but we have information to indicate that the following networks are currently affected: Quest, Cable & Wireless, Broadwing, Sprint (partially). My Worldcom link seems to be unaffected (which is why I can post). Note that the connectivity interruptions may be regional but that's what we are dealing with in the South Central area of the US. This has been going on now for about 4-5 hours.

    What we are seeing is a major outage due to DDOS on port 1434, on portions of the Internet backbone. At this point, the exact pattern of the outage has not been clarified.

    Expect the problem to potentially be addressed when the backbone providers start filtering port 1434. However, it's taken them at least four hours to figure this out.

    We just got notice (a few moments ago) that Quest finally started filtering port 1434 and everything went back up. So now we need to figure out what vulnerability this was. My information indicates that port 1434 is MS SQL server resolution service (see related CERT advisory [cert.org]. My initial impression is that while this vulnerability was discovered awhile back, someone just recently figured out a very effective exploit using the vulnerability. I am looking forward to hearing more about what people find out.

    The issue currently happening, from what anyone can tell at any rate is that a flaw in MSSQL has been found, due to everyone noticing a lot of traffic on 1434.. MSSQL port anyhow, I was running MSSQL earlier and my dns crapped out ctrl+alt+del'd and saw 85% cpu used by mssql server, killed it and boom everything was okay, possibly a worm traveling around, http://internethealthreport.com/ UUnet seems absolutely destroyed ;)

    I'm watching my firewall logs fill up even as I type, and all the 1434 hits are coming from different IPs... no dupes yet that I can see (maybe there are... but I'm not planning on sitting here all night reading logs).

    http://www.nextgenss.com/advisories/mssql-udp.txt [nextgenss.com] is an advisory about port 1434

    http://average.matrix.net/Daily/markR.html [matrix.net] shows a vivid picture of overall net health due to this

    SQLServer listens to 1434 to accept incomming connections. SQLServer 7 would then normally transfer these connections to 1433 by default. SQLServer 2000 would transfer the connection to a random port.

    It's best to 'hide' the SQLServer from the internet, and/or disable TCP/IP listening for SQLServer totally when it's connected to the Internet. MS also suggests SQLServer should never be exposed to the Internet directly. You can hide SQLServer (2000) directly, using the Server network utility, shipped with SQLServer. You can there first deselect TCP/IP as a protocol that's active, and if you need it, you can select 'hide' to hide the server on the internet, however it's better to disable TCP/IP totally, since you do not need it when you work with SQLServer from the same box (f.e. a website running on the same box accessing the SQLServer).

    Oh, of course it should be mentioned, there is a patch for this available at MS' technet site.

    http://www.kb.cert.org/vuls/id/370308 [cert.org] may be the CERT article related to this vuln.

    Resent-From: mbac@romulus.netgraft.com
    From: Michael Bacarella Date: Fri Jan 24, 2003 11:11:41 PM America/Los_Angeles
    Resent-To: bugtraq@securityfocus.com
    To: nylug- talk@nylug.org, wwwac@lists.wwwac.org, linux-elitists@zgp.org
    Subject: MS SQL WORM IS DESTROYING INTERNET BLOCK PORT 1434!

    I'm getting massive packet loss to various points on the globe. I am seeing a lot of these in my tcpdump output on each host.
    02:06:31.017088 150.140.142.17.3047 > 24.193.37.212.ms-sql-m: udp 376
    02:06:31.017244 24.193.37.212 > 150.140.142.17: icmp: 24.193.37.212 udp port ms-sql-m unreachable [tos 0xc0

    It looks like there's a worm affecting MS SQL Server which is pingflooding addresses at some random sequence. All admins with access to routers should block port 1434 (ms-sql-m)!

    Everyone running MS SQL Server shut it the hell down or make sure it can't access the internet proper! I make no guarantees that this information is correct, test it out for yourself!

    -- Michael Bacarella 24/7
    phone: 646 641-8662
    Netgraft Corporation http://netgraft.com/
    "unique technologies to empower your business"
    Finger email address for public key. Key fingerprint: C40C CB1E D2F6 7628 6308 F554 7A68 A5CF 0BD8 C055

  • Al-Qaeda by tigress (Score:2) Saturday January 25 2003, @08:07AM
    • Re:Al-Qaeda by fidros (Score:1) Saturday January 25 2003, @02:25PM
  • Every Server, eh? by thefluxster (Score:1) Saturday January 25 2003, @08:08AM
  • Such floods can be easily stopped. by Krapangor (Score:2) Saturday January 25 2003, @08:08AM
  • the problem is monoculture again (Score:3, Insightful)

    by g4dget (579145) on Saturday January 25 2003, @08:10AM (#5156326)
    While part of the problem is that Microsoft software sucks particularly badly when it comes to security, something like this can happen with other software as well. The real problem is that we have a software monoculture: we need many more, different, independently implemented software systems. They will all have bugs, but as long as they all have different bugs, we are mostly OK. And that's the real reason why Microsoft's market dominance, in particular on large numbers of small machines run by non-experts, is a problem.
  • Open the gates... (Score:4, Insightful)

    by Tyreth (523822) on Saturday January 25 2003, @08:11AM (#5156327)
    ...let the mandatory "this wouldn't happen if sysadmins upgraded" comments begin!

    Seriously though, you should have upgraded!

  • How to get control of your box again by rolandbm (Score:2) Saturday January 25 2003, @08:14AM
  • Mitnick... by Zibu (Score:1) Saturday January 25 2003, @08:16AM
  • No mention in media? by Anonymous Coward (Score:1) Saturday January 25 2003, @08:16AM
  • Is anyone seeing a change? by caluml (Score:2) Saturday January 25 2003, @08:19AM
  • Voyager Alpha Force, that´s it by dark-br (Score:1) Saturday January 25 2003, @08:21AM
  • Dissassembled & annotated (Score:3, Informative)

    by ediron2 (246908) on Saturday January 25 2003, @08:22AM (#5156368) Journal
    http://www.boredom.org/~cstone/worm-annotated.txt [boredom.org] has a great annotated geeks-eye-view of this worm.

    Kudos to cstone@boredom. Interesting & educational, with a nutty crunchy flavor.

  • Do ya REALLY think all servers have active SA's? by caboosesw (Score:2) Saturday January 25 2003, @08:23AM
  • Yow! Good call /. (Score:5, Funny)

    by JasonUCF (601670) <jason-slashdawt@ ... ro.com minus bsd> on Saturday January 25 2003, @08:35AM (#5156405) Homepage
    I groggily stumble up to my computer, it being a normal enough sort of Saturday AM, and as I sit down I cast a lazy eye at my firewall counter.

    Woah! What's.. uh.. 150 inbound requests.. doing.. today.. worm?

    I start to fire up /. -- a lengthy process due to my dumbass ISP not having reverse DNS entries -- so I sniff around my logs.

    *clickity click*

    1434? The hell is 1434. Worm?

    *slashdot shows*

    Ah ha! Ve haf comprehension.

    *groggily shuffle off to get coffee, oooo black gold*

    For what it's worth, a majority of the packets so far have been mostly US servers -- .edu's with cute names like 'staging3', 'testing1', and, no joke, 'snoogans'.
  • Internet Traffic Report by egoff (Score:1) Saturday January 25 2003, @08:38AM
  • Fox News (Score:5, Funny)

    by avalys (221114) on Saturday January 25 2003, @08:39AM (#5156419)
    Heh...on the Fox News Channel's ticker, they had the following tidbit of information:

    "The virus spreads using a Microsoft vulnerability known as "SQL Server""

    • Re:Fox News (Score:5, Funny)

      by Kashif Shaikh (575991) <k2shaikh@Nospam.yahoo.com> on Saturday January 25 2003, @11:37AM (#5157069)
      Heh...on the Fox News Channel's ticker, they had the following tidbit of information:

      Well, on CNN's headline newsticker they have:

      "[Microsoft][ODBC SQL Server Driver]Operation canceled

      [Microsoft][ODBC SQL Server Driver]Timeout expired

      ODBC: Msg 0, Level 16, State 1

      Communication link failure

      Connection Broken"

      [ Parent ]
      • Re:Fox News by BroncoInCalifornia (Score:1) Saturday January 25 2003, @06:33PM
    • Re:Fox News by Saeger (Score:2) Saturday January 25 2003, @07:39PM
    • 1 reply beneath your current threshold.
  • Sleepy eyed he wakes up ... by bryanp (Score:2) Saturday January 25 2003, @08:47AM
  • What's the DNS connection? (Score:3, Interesting)

    by Alien Being (18488) on Saturday January 25 2003, @08:50AM (#5156448)
    Is this thing directly targetting root/tld servers? Is the worm doing dns lookups as opposed to just picking an ipaddr? Is it the PTR servers which are being hammered by loggers doing reverse lookups?

    Did someone jump to a bad conclusion based on ping stats?

  • Has this affected Microsoft? (Score:3, Interesting)

    by Raven-sama (527194) on Saturday January 25 2003, @08:50AM (#5156449)
    I don't know if anyone else has had the same problem, but xxx@msn.com email addresses seem to not be working on Hotmail. I doubt they're related, but has anyone else had the same problem, and is this likely to be the cause? By the way, xxx@hotmail.com accounts work fine.
  • It is possible to be okay with these things... by voodoopriestess (Score:1) Saturday January 25 2003, @08:54AM
  • So that's what's up? by aliens (Score:1) Saturday January 25 2003, @08:54AM
  • What end of the world ? by Anonymous Coward (Score:1) Saturday January 25 2003, @08:55AM
  • The whole Internet has been Slashdotted by Runny (Score:2) Saturday January 25 2003, @08:58AM
  • totally deserved... by smash (Score:2) Saturday January 25 2003, @09:00AM
    • 1 reply beneath your current threshold.
  • 50% from Colleges??? (Score:5, Interesting)

    by Gothmolly (148874) on Saturday January 25 2003, @09:04AM (#5156484)
    About half of the sources I've seen have been either .edu sites or sites in other countries which belong to colleges (ualberta.ca, etc.). Is there some sinister corellation here? Perhaps colleges get free MS-ware, and let the students run the networks?
  • within a day of TLD using ProstgreSQL? by SailFly (Score:1) Saturday January 25 2003, @09:07AM
  • by weave (48069) on Saturday January 25 2003, @09:13AM (#5156499) Journal
    A post to bugtraq by George William Herbert, notes that the floods caused by this worm is causing many cisco routers to shut down, which helps contain the damage ironically enough. I've seen this happen at one of my work sites that is admined by someone else. The infected box, according to MRTG, was nailing its closest router at 100 megabits/sec for about an hour, then the router itself went down. Sweet...

    "...the volume from this triggers the Cisco netflow switching bug and is causing routers to lock up at places, etc."

  • Agggghhhhh! by KliX (Score:1) Saturday January 25 2003, @09:29AM
  • UUNET woes? by hyrdra (Score:2) Saturday January 25 2003, @09:33AM
    • Re:UUNET woes? (Score:5, Interesting)

      by RazzleDazzle (442937) on Saturday January 25 2003, @11:38AM (#5157072) Journal
      I work for an ISP and I just got home from work where we had to deal with this madness. It was absoultely horrible people. We got word from UUNET that it is port 1434/udp traffic and they are adding that to their egress filters. We just blocked 1434/udp altogether, at least initially.

      We have many many colocated customers, many of whom run msql. This issue is horrible in that it is causing massive packet loss and when packets do get through the latency is around 500ms and up and that is for an all ethernet network segment. Our core router was getting slammed and cpu utilization would hang out at around 100%.

      When we started unplugging switches from the routers, traffic would return to normal. We then pinpointed it down to all of our colo customers and disconnected just the sql servers from the network. Effing pain in the ass though.

      Goddamned MS and their crappy no-password-requirement for the sql admin user and the moron admins who don't patch their system. Are people this trusting of MS that their servers are safe and/or this stupid they just don't apply patches until they get screwed?

      Whatever, I am soooo tired... g'night
      [ Parent ]
    • Re:UUNET woes? by RazzleDazzle (Score:2) Sunday January 26 2003, @07:28AM
    • 1 reply beneath your current threshold.
  • Not so bad by csnydermvpsoft (Score:2) Saturday January 25 2003, @09:34AM
  • by HighOrbit (631451) on Saturday January 25 2003, @09:36AM (#5156577)
    What was that about mission critical applications?
  • This will continue (Score:5, Insightful)

    by NineNine (235196) on Saturday January 25 2003, @09:43AM (#5156600) Homepage
    Worms that do this sort of thing will continue ad infinitum. The reason is that there's no financial detriment to having one of your own boxes act as a zombie and send out tons and tons of packets. None whatsoever. There's no central accountability. That's the way the Net is set up. I don't see any way around it.
  • Why use MSQL? by FingerBoneHoop (Score:1) Saturday January 25 2003, @09:44AM
  • by kipple (244681) on Saturday January 25 2003, @09:47AM (#5156615) Homepage Journal
    given also this [slashdot.org] previous slashdot story, the root servers must join and sue microsoft for DDOS attacks against them.
    Windows clients send TOO much shit to any dns - check your dnscache log to see that. Don't have a dnscache? Bad! You're flooding your preferred DNS server with a shitload of useless or meaningless queries.
    Looks like they have read some websites some years ago and then decided to steal words like "domain", thus confusing a nt-domain and a REAL domain name. The rest is pure mess because nt-domains are queried with DNS. Pretty crappy isn't it?

    Look at that (dnscache log):
    @400000003e329b973170f1bc tx 0 33 _kerberos._tcp.dc._msdcs.[mydomain]. . 97010201
    @400000003e329b973874c81c tx 0 33 _kerberos._tcp.dc._msdcs.[mydomain]. . 97010201 97010101
    @400000003e329b981c3f8394 tx 0 33 _kerberos._tcp.dc._msdcs.[mydomain]. . 97010101

    this is a laptop trying to find a network share on the server (which is called server2000.[mydomain].it). It is querying [mydomain], not [mydomain].it as I set up the laptop (default domain, network identification). Imagine if I did not have a dnscache but set up all PCs to use an external dns server....
  • Doh! by privacyt (Score:1) Saturday January 25 2003, @09:59AM
  • Ah the irony..... by dr0n3 (Score:1) Saturday January 25 2003, @10:03AM
  • It can get inside a firewall (Score:4, Informative)

    by codepunk (167897) on Saturday January 25 2003, @10:09AM (#5156704) Homepage
    Yes it can indeed get inside a firewall. Say you got bonehead web developer front page dude at home running the developer version. It is no doubt infected with the worm since said developer is using front page and MS SQL on his home xpeeee box. He thanks you by logging in via VPN into your network and spreads the joy. Priceless.....

  • W32.SQLExp.Worm by bfries (Score:1) Saturday January 25 2003, @10:12AM
  • *sigh* by athlon02 (Score:1) Saturday January 25 2003, @10:16AM
  • Ironic timing... (Score:5, Informative)

    by weave (48069) on Saturday January 25 2003, @10:19AM (#5156745) Journal
    Gates pledges better software security [cnn.com] (btw, isn't this basically a repeat of what he spammed out last July?)

    Gates acknowledged that the technology industry must make significant improvements, adding that, "Microsoft has a responsibility to help its customers address these concerns, so they no longer have to choose between security and usability."

    How about easier ways to apply hotfixes remotely to desktop computers? (There are ways apparently, but requires installing IIS and SQL ironically, to run something called SUS.) I'd prefer the hotfix to simply have an option like '-m\\machine' to apply to domain machines in a domain admin context so I can script the installs to my tastes and needs. No need to get overly complex. Besides, I'd rather not have an IIS server at my site if I can help it. Apache runs everything. Just another damn thing to learn for something that should be simple.

    Also, the hotfixes themselves only have about 10 different ways of applying at the command line unattended. How about standardizing the hotfix installers too...

    Example, this is what is run after an XP desktop install with SP1 at our location...

    q329834 -u -n -z
    q323255 -u -n -z
    q329048 -u -n -z
    start /wait q328310 -u -n -z
    start /wait vm-sfix3 /q /r:n
    start /wait q324929 /q /r:n
    q329115 -u -n -z
    q329390 -u -n -z
    q810565 -u -n -z
    It doesn't include latest javavm fix, which for some reason won't install right during the guirunonce part of an install, so I have to script to reboot the machine TWICE before running...

    start /wait msjavwu.exe /q /r:n
    Think that's bad? Here's some pre sp1 hotfix command lines from an earlier script..

    Msjavx86.exe /c:"javatrig.exe /exe_install /l /qq" /q:a /r:n
    vbs56nen /q /r:n
    msxm /q /r:n
    start /wait q318202 /q /c:"dahotfix /q /n"
    And the syntax to install unattended is never easy to find on their site. I usually have to use google to search microsoft.com to find what I need, their search engine really sucks. Others must feel the same way since there is a dedicated google page for this at http://www.google.com/microsoft [google.com]
  • by Anonymous Coward on Saturday January 25 2003, @10:22AM (#5156758)
    I've been a call all morning and we are sure now that SP2 does NOT protect your server from this attack...YOU MUST APPLY MS-039 to protect your server
  • Worm killed? by Fuzzums (Score:2) Saturday January 25 2003, @10:25AM
  • How about a Stupid Admin List? by Anonymous Coward (Score:1) Saturday January 25 2003, @10:26AM
    • 1 reply beneath your current threshold.
  • well? by wobblie (Score:1) Saturday January 25 2003, @10:29AM
    • Re:well? by KarMannJRO (Score:1) Saturday January 25 2003, @11:09AM
  • Hey MS.... by StarTux (Score:2) Saturday January 25 2003, @10:36AM
    • 1 reply beneath your current threshold.
  • annotated disassembly by meshko (Score:1) Saturday January 25 2003, @11:01AM
  • Hmmmmm by SCHecklerX (Score:2) Saturday January 25 2003, @11:04AM
  • Report from Europe by skillet-thief (Score:2) Saturday January 25 2003, @11:18AM
  • postgresql, mysql, slightly offtopic by _outcat_ (Score:2) Saturday January 25 2003, @11:26AM
  • 10 packets per minute, my ass !!! (Score:3, Interesting)

    by CptMatt (644683) on Saturday January 25 2003, @11:27AM (#5157018)
    I slapped a line on our access list in our BGP routers this morning at around 8:30 A.M. Even though our firewall was blocking this port, figured it would be better to block in silicon rather than at the O/S level. In almost 2 hours, we have recieved over 190,000 packets from this wurm. I have a feeling its going to get a lot worse before it gets better
  • So how come... by Cally (Score:2) Saturday January 25 2003, @11:28AM
    • 1 reply beneath your current threshold.
  • While there are some dumb admins (Score:3, Insightful)

    by RodeoBoy (535456) on Saturday January 25 2003, @11:36AM (#5157060) Homepage
    There are a lot of home users/business that have SQL server installed and no firewall set up. Just like code red this thing is infecting personal boxes, therefore adding to the high volumes we see. I have SQL on one of my machines at home, behind two linux based firewalls, and when I use any tool to connect to a database I am given all sorts of choices. Most of the IP addys I see belong to other cable users. I wonder how many have kept up on their patches? The problem is any fool without any training can install this stuff on their computers, I think home users are the main reason that simple worms like this are so successful.
  • .org and postgress must be smiling today by endrek (Score:1) Saturday January 25 2003, @11:39AM
  • Slightly ironic . . . (Score:3, Funny)

    by aaronhurd (630047) <slashdot.aaronhurd@com> on Saturday January 25 2003, @12:13PM (#5157242) Homepage

    I guess even Gates saw this coming. ;-)

    "New security risks have emerged on a scale that few in our industry fully anticipated," Gates wrote in a 1,500-word e-mail distributed late Thursday to about 1 million people. (Full article at CNN.com [cnn.com])

    DOH!

  • Heh, heh... by Theoden (Score:1) Saturday January 25 2003, @12:13PM
  • hehe by glenstar (Score:2) Saturday January 25 2003, @12:23PM
  • Who's fault? by Zebra_X (Score:1) Saturday January 25 2003, @12:27PM
  • Hit Counts From 66.192.31.140 by lanner (Score:1) Saturday January 25 2003, @12:31PM
  • Improving by tmuller (Score:1) Saturday January 25 2003, @12:49PM
  • Did you fetch your trojaned codec yet? by Anonymous Coward (Score:1) Saturday January 25 2003, @12:54PM
  • Removal Instructions by RedWolves2 (Score:2) Saturday January 25 2003, @12:58PM
  • Gotcha! by cyclist1200 (Score:1) Saturday January 25 2003, @01:01PM
    • 1 reply beneath your current threshold.
  • by constantnormal (512494) on Saturday January 25 2003, @01:05PM (#5157477)
    ... I wonder if evil-doers might be mining the Microsoft patch libraries, looking for exploits that already have fixes, but depending upon the cluelessness of Microsoft site admins to fail to implement them...

    Why go to all the trouble to invent a problem, when there is a large population of targets and a database of vulnerabilities?
  • Appropriate response by stonecypher (Score:1) Saturday January 25 2003, @01:20PM
  • IBM got hit hard... by domenic v1.0 (Score:1) Saturday January 25 2003, @01:25PM
  • Port 1433? by n-baxley (Score:2) Saturday January 25 2003, @01:38PM
    • Re:Port 1433? by moncyb (Score:2) Saturday January 25 2003, @09:39PM
  • The Blame Game... by j_zero (Score:1) Saturday January 25 2003, @01:46PM
  • by Featureless (599963) on Saturday January 25 2003, @01:48PM (#5157684) Journal
    OK, help me out here.
    1. The first and foremost way we should have stopped this worm was with firewall rules and the "Server Network Configuration." You don't want to be running anything like this open to the network. Fine.

      The bad assumption people are making here is that there's "no reason to break this rule." Well, unfortunately, this is just not so.

      In my case, a project involved upsizing a client's access database, and then transferring it from my dev machine to an ISP's SQL Server instance. The client has a dynamic IP address, and they would never even consider the cost of using a VPN. My SQL Server ports were open for only 3 weeks, during the transition period, and would have been shut down next week.

    2. Everyone is saying "it's your fault - you didn't install the patch."

      I kept up on service packs (I was up to SP2), and had installed every SQL Server security patch I could find. I had a non-guessable sa password. I got it anyway.

      So why is that? I'm not sure. But I have some observations about the manner in which you're supposed to keep SQL Server (and other MS applications for that matter) current which bear seriously on the issue:

      1. First, there's the "fine print" phenomenon on Microsoft patches. Aside from service packs, these are usually just utterly simplistic "unzip and spray files" installers, occasionally with a few scripts thrown in. Install them in the wrong order, or fail to obey some other 8pt type caveat (and there can be dozens) and you render yourself unprotected again, while maintaining the appearance of being protected. It's likely this is why I wasn't protected despite believing I was.

      2. Where is the complete list of all patches, with downloaded links? What part of Microsoft's site is it prominently displayed on? Where's the order they need to be installed in, with concise instructions?

        Anywhere? I can't find it today. Maybe it exists and I just didn't notice it. That would be atrocious site design. Or maybe a simple, centralized "MS SQL Server 2000 Security Page" with ordered patch list and instructions doesn't even exist. That's just atrocious.

        All I can find is top-level references to service packs and an unqualified link to an all-microsoft download search page. When you select SQL Server 2000 in it, you get everything, not in order, patches thrown together with samples, evaluation downloads, etc.

        And I'm supposed to check here... every week? Sounds sensible on the surface, but if they really wanted to prevent trouble:

      3. Two words: WINDOWS UPDATE! What the hell is wrong with these people that if they have a patch for SQL Server 2000, they can't just throw it into Windows Update? It does a little check - do you have SQLSvr installed? Yes? Do you have the patches installed?

        IT'S SO BLOODY SIMPLE. Yet they didn't bother.

        Compare this to redhat, where there's one tool, up2date, and it works for everything. And you are trivially notified by email when there's an update.

      4. I believe there's a tool that lets you examine your installation to see what service packs are installed and which aren't. I remember vividly running it last summer and discovering that I was up to date. Tellingly, I can't even find it in their site today.

      5. Yes, the service packs. I notice SQL Server 2000 SP3 protects you against this buffer overflow. I also notice this service pack came out last week.

        At any rate, we can at least tell people a convenient fix - go install SQL Server 2000 SP3.


    What's the bottom line? I had a reason to have the port open. And I had a not-for-nothing false sense of security that I was protected against this vulnerability. And most of all, if this was RedHat (for instance) I would never have had this problem - because I would have been notified the moment the patch was available, and would have installed it in a heartbeat, through their single, consistent, easy-to-use interface; and so would tens of thousands of others.
  • Related attacks (whitehouse) (Score:3, Interesting)

    by Spazmania (174582) on Saturday January 25 2003, @01:59PM (#5157733) Homepage
    Starting around the same time, www.whitehouse.net began receiving about 100 times the normal requests for the home page and its associated graphics. Most of the offending hosts are in China thought at least a few aren't. So far, there are at least 1000 distinct addresses spread accross their entire IP space that reloaded the page at least 30 times.

    I have no direct evidence this is related to the worm, but it begs coincidence.

    www.whitehouse.net is a privately-owned parody of the US White House web site.

    Source samples with counts include:

    3302 61.171.37.209
    2443 218.17.216.111
    2037 218.4.128.50
    1962 218.25.204.219
    1527 61.187.169.160
    1336 61.131.48.222
    1183 218.58.69.26
    1079 68.37.179.107
  • Dell's support sites by imuffin (Score:2) Saturday January 25 2003, @02:02PM
  • Canadian banks affected by this? by Anonymous Coward (Score:1) Saturday January 25 2003, @02:12PM
  • The worm blocks my attempt to move phone service. by newdaemon (Score:1) Saturday January 25 2003, @02:23PM
  • Got hit hard by SassyDave (Score:2) Saturday January 25 2003, @02:26PM
    • Re:Got hit hard by Tailhook (Score:1) Saturday January 25 2003, @04:51PM
    • 1 reply beneath your current threshold.
  • Buffer overflows a general C/C++ problem by paulko (Score:2) Saturday January 25 2003, @02:26PM
  • Microsoft hotfix testing tool by dr_db (Score:2) Saturday January 25 2003, @02:34PM
  • School IT did it again by MikeyG79 (Score:1) Saturday January 25 2003, @03:01PM
  • Whats interesting... (Score:4, Interesting)

    by Anonymous Coward on Saturday January 25 2003, @03:17PM (#5158066)
    ... is that our Corporate IT has *outsourced* all control of our firewalls (to a company which recently filed chapter 11, if I recall), and so can't update them on the fly...

    And, on top of this, our "corporate IT security" just sent out an email that some of their *internal* machines were infected (so obviously *something* was accessable through the firewall) and now we who are connected to corporate via a T1 must apply the patches. So much for the firewall.

    This also happened with Code Red two years ago. Big panic, everyone patching their systems, because corporate had holes in the firewall.

    Yet, we have our own firewall to a customer site (which we've managed on our own for years, and which corporate now wants to take over) which we have *never* been infected via. Go figure.

    Not saying that we shouldn't have been up on it, but we have noone dedicated to IT Security (funny, since we do DOD work) in our building, and we are all so swamped with other stuff we rarely have the time to keep up with it.

    At my *last* job, however, we setup a new box and immediately port-scanned it... knew what every service was on the box, and if we didn't, closed it down. And that *wasn't* DOD... e-commerce. And we kept on top of patches.

    So... you credit card number was *really* safe at my old job... but our nation's secrets may not be at the new job.

    Go figure.
    • 1 reply beneath your current threshold.
  • damages ? by Tom (Score:2) Saturday January 25 2003, @03:19PM
    • Re:damages ? by Queuetue (Score:1) Saturday January 25 2003, @05:15PM
      • Re:damages ? by Tom (Score:2) Sunday January 26 2003, @06:32AM
        • Re:damages ? by Queuetue (Score:2) Sunday January 26 2003, @06:46AM
          • Re:damages ? by Tom (Score:2) Sunday January 26 2003, @05:07PM
  • by strAtEdgE (151030) on Saturday January 25 2003, @03:19PM (#5158093)
    My intial thought on this was that this isn't MS's fault and we shouldn't be bashing them for this worm; almost every os and daemon out there has had it's holes and exploits and MS has already put out the fix so it's in the admins hands now.

    But on second thought, when I look at the serious impact of the worms that have been created for MS products and their vulnerabilities the last few years, the obvious becomes apparent: admins of MS OS's and processes on them are a LOT slower to patch than any of their counterparts (read: stupider). And the thing is, MS knows this, they specifically market to the stupid/lazy admins. They're the "easy" OS, they sell their products by telling people that you just install them and never worry about them again. I've taken too many MS courses (I am an MSCE and MSCDBA if they haven't expired on me, but I couldn't care less) and not once was patching the operating systems or server processes ever mentioned during all those courses, which is amazing to me.

    And hey, to each their own I guess... apparently there aren't enough intelligent or well read admins around so there is a demand for these products and this approach. But if that's the case, then I think it has to be said that MS has a greater responsibility to create products free from exploits than anyone else, if they're marketing and teaching the idea that you don't need to patch.

    It's by creating that laissez faire attitude towards administration that MS is directly responsible for the proliferation of these worms.
  • my naked-to-the-net sqlserver2000 box is aok by circletimessquare (Score:2) Saturday January 25 2003, @03:41PM
  • IP scans by AlgebraicSpore (Score:1) Saturday January 25 2003, @03:50PM
  • The Globe and Mail by Anonymous Coward (Score:1) Saturday January 25 2003, @03:57PM
  • Yet another reason.... by LinuxPunk (Score:1) Saturday January 25 2003, @03:58PM
  • Some more info (Score:3, Interesting)

    by mnmn (145599) on Saturday January 25 2003, @04:13PM (#5158383) Homepage

    Funny how the site www.internettrafficreport.com is being slashdotted right now. In the last 5 min alone, the global traffic index went from 85 to 65, apparently a new wave of attacks as the worm discovers new ground. My 5-domain webserver hasnt received a packet yet, but Im keeping my eye on it. Glad to be using Postgres with its ports blocked from the Internet.

    Holy cow! Israel is completely down according to the site.. all routers with 100% packet loss.

  • What's in a name? (Score:3, Funny)

    by bobdotorg (598873) on Saturday January 25 2003, @04:16PM (#5158403)
    SQL Slammer? A worm virus? Sounds more like a shooter at Hooters on geek night.
  • Funny, Internet designed to survive nuke attack... by sunking7 (Score:2) Saturday January 25 2003, @04:37PM
    • 1 reply beneath your current threshold.
  • so... would it be possible by Bad_CRC (Score:2) Saturday January 25 2003, @05:05PM
  • M$ Conspiracy? by EmagGeek (Score:2) Saturday January 25 2003, @05:14PM
  • Slashdot hits Drudgereport.com (Score:3, Interesting)

    by jlrowe (69115) on Saturday January 25 2003, @05:39PM (#5158755)
    A link to this thread has hit drudgereport.com, 2nd link from the top. I think this is the first time I've ever seen that!
  • ATM's out... (Score:3, Interesting)

    by Maditude (473526) on Saturday January 25 2003, @05:49PM (#5158815)
    Heh, looks like it took out a big portion of Bank of America's ATM (cash) machines! Link [washingtonpost.com]
  • If it isnt broken, dont fix it. by IMNTPC (Score:2) Saturday January 25 2003, @07:23PM
  • The early worm gets the late bird. by jfisherwa (Score:1) Saturday January 25 2003, @07:29PM
  • Another Vulnerability ? by turingsfool (Score:2) Saturday January 25 2003, @08:04PM
  • Source port 53 by Hellcheese (Score:1) Saturday January 25 2003, @08:13PM
  • Go easy on the sysadmins by plnrtrvlr (Score:2) Saturday January 25 2003, @09:42PM
  • Anti-War Hacktivists Claim Responsibility For Worm by 0K Komputer (Score:1) Sunday January 26 2003, @08:05AM
  • Grumble grumble by NaDrew (Score:1) Sunday January 26 2003, @08:33PM
  • SQL Worm by GWmailman (Score:1) Monday January 27 2003, @07:15PM
  • Re:Juniper Filter by WildThing (Score:1) Saturday January 25 2003, @08:04AM
  • Re:The Fix? by NineNine (Score:2) Saturday January 25 2003, @08:17AM
    • economy by Lord Prox (Score:1) Saturday January 25 2003, @05:06PM
  • Yes by oneiros27 (Score:2) Saturday January 25 2003, @08:27AM
  • Re:US Military Intelligence? by rudy_wayne (Score:1) Saturday January 25 2003, @08:44AM
    • 1 reply beneath your current threshold.
  • Re:The Fix? (Score:3, Insightful)

    by TheGreek (2403) on Saturday January 25 2003, @09:01AM (#5156478)
    They'll sell it to us over six months ago.

    For free.

    Asshead.
    [ Parent ]
  • Re:Cost... by KarMannJRO (Score:1) Saturday January 25 2003, @09:36AM
  • by croftj (2359) on Saturday January 25 2003, @10:04AM (#5156687) Homepage
    If a unix vulnerability was ever exploited to the levels that this sql one or nimbda or sircam were, I'm sure one of you AC's would let us know!

    It's amazing how many people just don't feal they have to upgrade their machines. Im stil getting nimda hits. The sql exploit is using a vulnerability 6mos old!

    Show's you the real vulnerability is the image the MS has palmed off on the public for 20 years! With our system you don't need to worry about good administration! It just works and works and works! Why pay for an admin when you can by MS Win-X?
    [ Parent ]
  • Microsoft, unfortunately, probably won't pay by JonathanF (Score:2) Saturday January 25 2003, @10:25AM
  • Re:hmm port 1434 by 1s44c (Score:1) Saturday January 25 2003, @11:44AM
  • Re:IExplorer vs. Mozilla? by BigFire (Score:1) Saturday January 25 2003, @02:26PM
  • Re:SQL Slammer Worm by Queuetue (Score:2) Saturday January 25 2003, @04:53PM
  • Re:The Fix? by Lord Prox (Score:1) Saturday January 25 2003, @05:10PM
  • Re:Also affects MYSQL. by Queuetue (Score:1) Saturday January 25 2003, @05:11PM
  • English not your 1st language? by whizzmo (Score:1) Saturday January 25 2003, @05:41PM
  • Re:My Incomming access logs! by JoshRoss (Score:1) Sunday January 26 2003, @12:11AM
  • Re:The Fix? by Lord Prox (Score:1) Sunday January 26 2003, @08:27AM
  • 57 replies beneath your current threshold.
(1) | 2