Slashdot Mirror


New "SQLsnake" Microsoft Worm

sevenn writes "A new worm, targeting the Microsoft SQL daemon, has been sweeping the net. It uses massive scanning, default passwords, exploits against vulnerable versions and even attempts to brute force passwords. Here is the (vague) Microsoft bulliten, the SANS analysis, and a securityfocus article" Already over a thousand compromised system- you're apparently only vulnerable if you run MS SQL, but the worm is causing a substantial spike in traffic to port 1433 on the net.

316 comments

  1. Nothing new by LohRhyda · · Score: 0, Redundant

    Same ball game, different inning.

    --
    EOU
    1. Re:Nothing new by n9hmg · · Score: 2

      I'm glad to know why the log full of probes on 1433. I had found it was SQL, but i didn't know it was a new worm.
      Can't we track down these jerks privately, and give them blanket parties, ala Full Metal Jacket? They won't find any vulnerabilities in my systems, but the extra traffic on my network and cost in disk usage from the logs is as bad as spam.
      IANAS(I Am Not A Sadist), but I think I would experience actual pleasure in witnessing spammers and virus/worm writers suffering severe physical pain. I don't mean polite shadenfreude, but sick, sadistic glee. I'm just sick of their puerile crap.

    2. Re:Nothing new by n9hmg · · Score: 2, Funny

      I've got the bandwidth. If we all set up something like this, maybe it'd hurt a little bit, and compromised systems will be slowed more, and maybe be noticed.
      /etc/services:1433 1433/tcp wormstomper #crapflood
      /etc/inetd.conf:wormstomper stream tcp nowait dd if=/dev/katz wormstomper

    3. Re:Nothing new by Anonymous Coward · · Score: 0

      a) If you don't want the traffic on your network, why don't you use a firewall to block 1433 traffic?

      b) see a.

    4. Re:Nothing new by Anonymous Coward · · Score: 0

      Ummm....since it's being logged, he is using a firewall to block 1433 traffic. Disk usage for all the logging is a different story. He doesn't have to log TCP connections for port 1433 if he doesn't want. That'll save save some space.

    5. Re:Nothing new by Anonymous Coward · · Score: 0

      use a firewall to block 1433
      I do. The logs are firewall logs. I'll have to set up a forward to get the traffic in to crapflood them.
      I lock my doors, too. That doesn't mean I wouldn't take a good rest on a piece of furniture and quietly wait, covering the door or window as somebody breaks in, until he's fully inside, for the big, final surprise.

    6. Re:Nothing new by blue+trane · · Score: 1

      And you really think torturing script kiddies (if you can catch them...) would prevent all future attacks?

    7. Re:Nothing new by Anonymous Coward · · Score: 0

      No, but impaling the little bastards and distributing JPEGs on IRC might help...

    8. Re:Nothing new by n9hmg · · Score: 1

      Oh, not at all. I would like to make the world a better place, but that's not the point. I would just like to do something mean, cruel, inhumane to them.

  2. Massive scanning! by MrFredBloggs · · Score: 0, Redundant

    (adopts Chris Morris voice) "Using a *special tool*"

  3. McAfee by Triskaidekaphobia · · Score: 5, Informative

    McAfee's description. The AV vendors are calling it Spida, instead of snake.

    1. Re:McAfee by Anonymous Coward · · Score: 0

      It's Spida, wreaking terra.

    2. Re:McAfee by morgajel · · Score: 4, Funny

      is that like gangsta?

      "chillin in the hood with the SQLSpida..."

      --
      Looking for Book Reviews? Check out Literary Escapism.
    3. Re:McAfee by sporty · · Score: 2

      At least it's not like "Empire Monkey B." Lord help us if we ever run into names like that agian.

      For those who don't remember, it was an annoying boot sector virus, easily transmited via floppies on insertion. Ran as a tsr and stuff :)

      --

      -
      ping -f 255.255.255.255 # if only

    4. Re:McAfee by __aaklbk2114 · · Score: 0

      Or Playa?

    5. Re:McAfee by Anonymous Coward · · Score: 0

      Ack, a stealth-b wannabe.

  4. Another round of M$ bashing by cholokoy · · Score: 1

    Get your clubs - the bigger the better and start clubbing your favorite whipping boy. :P

    Seriusly, if they have the offending email account hosted on a free e-mail server, it would be easy to stop the propagation by disabling it.

    --
    Return the bells of Balangiga.
    1. Re:Another round of M$ bashing by wizkid · · Score: 5, Insightful

      This one isn't $M bashing! It's STUPID SYSTEM ADMINISTRATOR/STUPID DBA bashing.

      Microsoft is semi-innocent on this one.

      NOTE: They make their products so even a stupid administrator can install it, and this worm is proof of that!

      --
      I take no responsibility for what I say. Even though I'm never wrong :)
    2. Re:Another round of M$ bashing by Anonymous Coward · · Score: 0

      you, um, missed the :P

    3. Re:Another round of M$ bashing by cholokoy · · Score: 1

      Had they provided good instructions on how to properly install the software, this would not have happened.

      Plus machines are being brute-forced so its not only systems without passwords being affected.

      --
      Return the bells of Balangiga.
    4. Re:Another round of M$ bashing by Thud457 · · Score: 0

      "Should I whack fast or slooowwww?" -- H. Simspon

      --

      the preceding comment is my own and in no way reflects the opinion of the Joint Chiefs of Staff

    5. Re:Another round of M$ bashing by Anonymous Coward · · Score: 1, Interesting

      Had they provided good instructions on how to properly install the software, this would not have happened.

      They do.

      STUPID SYSTEM ADMINISTRATORS/STUPID DBAS tend not to read such documentation.

    6. Re:Another round of M$ bashing by mpe · · Score: 2

      This one isn't $M bashing! It's STUPID SYSTEM ADMINISTRATOR/STUPID DBA bashing.

      And who marketed their systems on the basis of not needing well trained administrators? That's right Microsoft...

      NOTE: They make their products so even a stupid administrator can install it, and this worm is proof of that!

      That's half the problem, they make systems the stupid think they can administer. Making something easy to install has very little to do with if it is easy to administer.

    7. Re:Another round of M$ bashing by silicon_synapse · · Score: 1

      The email account is just a dumping place for the stolen information. Disabling the account will do nothing to stop it. Actually the account had exceeded its storage limit by yesterday so it is effectively disabled already.

    8. Re:Another round of M$ bashing by Anonymous Coward · · Score: 0
      "Waaah!!!

      All this negative publicity is hurting the earning power of my MCSE!

      Can't we just keep it quiet so folks will continue to think MS code is so secure it could be released and not damage national security?"

      Wassamatta, little boy, truth hurt?

    9. Re:Another round of M$ bashing by thingy · · Score: 1

      Normally you would be right but since m$ also trains these bozos they are at fault because they didn't stress good admin practices on their fill in the bubbly sheet. I don't know if buisnesses are being infected or what but in the code red thing the same thing happened and it even infected microsoft owned sites which run with they guys that use a number 2.

      --
      P.S. I can't spel :)
  5. Thousand compromised? by WildBeast · · Score: 3, Informative

    Who needs MS SQL Server? Are you telling me that thousands of companies with a load of data are installing SQL Server without having a database admin to do the work? Sweet, they deserve what they get. What kind of people install SQL Server without putting a password for the SA account? Apparently, plenty :)

    Long live human stupidity.

    1. Re:Thousand compromised? by Anonymous Coward · · Score: 2, Informative

      Nope, there is a new MS-SQL mini server that runs on workstations. Installs a blank sa password and get this no admin tools are installed. So this means many people are running MS-SQL and don't even know it.

    2. Re:Thousand compromised? by Foochar · · Score: 4, Informative

      Keep in mind that Access XP includes a desktop version of SQL server that I believe is installed by default. Microsoft is trying to move away from the Jet engine that Access is based on and towards using SQL for all databases, both large and small. I'm sure that some of the thousands of infected systems are desktop systems.

      There are also plenty of business apps that run on top of SQL server. The program's installer takes care of setting up the SQL server with little to no knowledge or intervention required on the users part.

      --
      "You can't fight in here! This is the war room" --Dr. Stra
    3. Re:Thousand compromised? by Lumpy · · Score: 3, Insightful

      Yes it is highly standard practice to have an SQL server and noone in the building that has a clue to run it let alone what it is. The vendor of some "critical" app usually installs it (from a copy the vendor has on hand) and advises the customer.. "you need to buy MS SQL server to be legal".. well we know where that goes.... (50% ignore them and never even think of buying it, the other 50% look for it, see the price and then crap their pants, deciding not to buy the overpriced product)

      so yes, it is very common. and it will remain very common as long as there are software vendors making SQL based apps and NOT including a legal copy of SQL server, and a SQL maintaince contract in the price of the product.

      --
      Do not look at laser with remaining good eye.
    4. Re:Thousand compromised? by sphealey · · Score: 5, Insightful
      Are you telling me that thousands of companies with a load of data are installing SQL Server without having a database admin to do the work? Sweet, they deserve what they get. What kind of people install SQL Server without putting a password for the SA account? Apparently, plenty :)
      This is a typical Slashdot response, but I don't think most businesspeople would agree. Without in any way excusing Microsoft for their security practices, it may occur to you that 90% or more of businesses exist to do something other than IT functions. They need transportation, they go out and buy a truck. They need a machine tool, they go out and buy one. They need a copy machine, they have one installed. Although some of these tools can certainly be dangerous, there is a basic expectation that when buying, say, a machine tool (a) it will more or less do what it says it will do (b) it won't suddenly explode and destroy an entire city block.

      Along comes e-mail, the Internet, databases, web sites, etc. Joe Enthusiastic runs into the President's office and says, "Mr. Smith! I have found a great new way to communicate with our customers!". Mr. Smith, though he is 90 years old, takes a look and says, "Yeah, that looks interesting. Buy one and set it up".

      So the company buys one (database server, e-mail server, web site, etc.) and sets it up according the skimpy directions in the box. It works for a while, then blows up, seriously damaging the business.

      NOW the company is told, oh, you should have known. You should have known the instructions in the box were incomplete and dangerous. You should have known you needed an 80k/year DBA to use that. You should have known the product was dangerous. You should have known...

      Sorry. I am not buying it anymore. And I think the general business world isn't going to buy it much longer. Either the Internet will be abandoned, or there will be heavy, heavy government regulation of who can connect and how. Sort of like the phone company in the 1950's.

      My 0.02 anyway.

      sPh

    5. Re:Thousand compromised? by gosand · · Score: 2
      Are you telling me that thousands of companies with a load of data are installing SQL Server without having a database admin to do the work?

      Sure, Microsoft makes it so easy to install and administer a server, even a squirrel can do it! :-)

      While that is very tongue-in-cheek, it is true. I was involved in a discussion recently about how MS is good at keeping the Total Operating Costs low by making their systems administerable by a common squirrel. [I know, the TOC argument is debatable, I was on the other side of it]

      --

      My beliefs do not require that you agree with them.

    6. Re:Thousand compromised? by Telastyn · · Score: 2

      Unfortunately there are a great number of "corperate solutions" which are nothing better than ASP hacks which require iis and mssql. And of course these solutions are required by sales vps who haven't the slightest clue how to configure an email client, let alone understand the dynamixs of network security; and they certainly don't care that a lowly systems administrator says it's insecure.

      Worse yet, it is likely at a company who doesn't even have lowly systems administrators that know it's insecure, or that there's even a sa password for sql.

      I should still always be behind some sort of access list, but that probably won't help you terribly much, as users are sure to find a way to get the worm on the lan anyways.

    7. Re:Thousand compromised? by GMontag · · Score: 2

      I am not buying it anymore. And I think the general business world isn't going to buy it much longer.

      We will continue to have incompetant management as long as we continue to have music majors getting MBAs.

    8. Re:Thousand compromised? by Rupert · · Score: 2

      You refer to MSDE. It is the SQL server engine without the elves.

      --

      --
      E_NOSIG
    9. Re:Thousand compromised? by Jucius+Maximus · · Score: 1
      "Are you telling me that thousands of companies with a load of data are installing SQL Server without having a database admin to do the work? Sweet, they deserve what they get."

      The part that bothers me is the given half the chance, the companies affected would prefer to sue the pants off of whomever started the worm as opposed to learning from their mistakes.

    10. Re:Thousand compromised? by MrDingDong · · Score: 1

      I work for a Fortune 50 company and their policy is to migrate from reliable working Unix systems and applications to corresponding Microsoft solutions, wherever possible.

      As part of this "strategy", they are doing away with Sybase and Oracle in favor of MS SQL Server and are *not* hiring DBAs to admin the server. Just some dude from the help desk to install it. Even on servers that are for areas like trading and accounting.

      As a long time Oracle/Sybase DBA (apparently my days are numbered!), I have seen several MS SQL installs with no "sa" passwords - (just poking around on my own) - and also few of the servers have had any sort of recommended patches installed.

      They also don't tune the servers or the queries and the apps that run against MS SQL are very slow. Their solution is to buy faster boxes, more memory, etc. when tuning is really the proper solution.

      What a great way to save money.

    11. Re:Thousand compromised? by RocketScientist · · Score: 5, Insightful

      If they need to haul stuff, they buy a truck. If they want to stay in business, they don't leave the keys in it and the windows down while it's parked somewhere in public.

      If they need to make copies, they buy a copy machine. If they need machine tools, they buy them. They also tend to keep these things in locked rooms so joe public can't walk in and trash them.

      If they buy computer systems, they leave the passwords blank and expect people to not use them. That's not bad programming, it's stupid users.

    12. Re:Thousand compromised? by Jucius+Maximus · · Score: 1
      "This is a typical Slashdot response, but I don't think most businesspeople would agree. Without in any way excusing Microsoft for their security practices, it may occur to you that 90% or more of businesses exist to do something other than IT functions."

      I have to agree with you.

      Any way you look at it, it is totally irresponsible to make software whose default installation has an easy administrator access exploit. If this was not a computers/software/internet issue, MSFT would be on the losing end of many lawsuits.

    13. Re:Thousand compromised? by Bob9113 · · Score: 2

      (b) it won't suddenly explode and destroy an entire city block.
      ...
      So the company buys one (database server, e-mail server, web site, etc.) and sets it up according the skimpy directions in the box. It works for a while, then blows up, seriously damaging the business.


      I am a bit confused by this pair of comments - are you suggesting that companies should be able to move from experimental use of a product to production use with mission critical contents without the assistance of an expert? That the inadequacy of the information on the packaging implies that it is idiot-proof? Is that the way general business treats vacuum forming equipment or high temperature ovens?

      So in short, yes, if they are putting mission critical data into a computer and exposing that computer to the Internet without the assistance of a professional, they should have known better. Likewise, if they put the million dollar prototype in the oven and set the temperature without knowing wether the scale is kelvin, celsius, or farenheit, they deserve to lose the prototype.

      Perhaps, if Microsoft is explicitly marketing SQL Server as, "as easy to use as Word!" then they are liable, but I don't think that is what you are positing. It sounds like you are saying that the lack of flashing lights and yellow/black warning tape implies that the software is safe for any purpose.

      Not that I disagree that this is what general business is going to whine to congress for, because America is chock full of a bunch of fuckwits who refuse to take responsibility for their own actions. I only hope that congress has the foresight to pretend to listen while making fun of the whiners behind their backs.

    14. Re:Thousand compromised? by DataCannibal · · Score: 0

      Rubbish!

      Do they buy a truck and ask the tea-lady to drive it. Do they buy a large CNC controlled milling machine and get the accountant to run it. No they use properly trained people to operate machines which they have been trained to use. It is the bossed fault letting Joe Enthusiastic loose on a shiny new box without training,

      --
      No but, yeah but, no but...
    15. Re:Thousand compromised? by corian · · Score: 1
      Nope, there is a new MS-SQL mini server that runs on workstations. Installs a blank sa password and get this no admin tools are installed. So this means many people are running MS-SQL and don't even know it


      If they don't even know they're running it, it's pretty much guaranteed that they haven't set up any databases or stored any data inside it, so they don't really have anything to lose if they do get broken into.
    16. Re:Thousand compromised? by regen · · Score: 2, Insightful
      They need transportation, they go out and buy a truck.

      Yes, but who would put an untrain employee with little drive experience and no experience driving a truck, behind the wheel of a tractor trailer and not expect to have the truck cause an accident?

      Any company that sets up a database server with out hiring a qualified admin to set up and maintain it is asking for trouble. A qualified admin should have changed the SA password from null. There really is no reason this behavior should be acceptable.

    17. Re:Thousand compromised? by Graspee_Leemoor · · Score: 2

      " they don't really have anything to lose if they do get broken into."

      MS SQL Server can call arbitrary functions in arbitrary dlls if you have permission.

      graspee

    18. Re:Thousand compromised? by xod · · Score: 1

      Far from an excuse of MS's ailing security philosophy, your cogent piece is a strong reminder that we in the software industry must pay attention to security and documentation, and drop the disdain for the average user that many geeks tend to hold. Not all users are the jocks that gave you wedgies in high school gym class. Bad things are and will continue to happen if we don't start treating them like valued customers.

      Chairman Mao probably would have forced all programmers to spend a year driving a cab, to put us in contact with "the people" and break our elitist notions. In the West, as the author notes, we'll only have to suffer with a lousy job market, trillions of dollars blown on downtime from viruses, etc. targetting cheap software, and the eventual threat of government regulation.

    19. Re:Thousand compromised? by skroz · · Score: 2

      Failure to do proper research on a product is no excuse. Joe 90 year old president of large corporation didn't get where he is without doing research before making strategic business moves, and if he's smart, he hired managers who do the same. In this case, the manager that bought the thing should find out what needs to be done to make the thing work, and take steps to make sure it IS done. In this case, hire a DBA.

      Buying a solution and installing it without configuration and investigation is dangerous and lazy, whether it's a machine tool, a truck, a copy machine, or a web/database/mail server.

      So no, I have no sympathy. Not for the machinist who is sued by his employee that just got a steel rod shot though his shoulder by misusing a machine, nor for the shipper who needs to replace his truck fleet every two years because the undercarriages rust out, nor for the manager whose customer database is released to the internet because his passwords were unlocked.

      --
      -- Minds are like parachutes... they work best when open.
    20. Re:Thousand compromised? by cball2k · · Score: 0

      "Any way you look at it, it is totally irresponsible to make software whose default installation has an easy administrator access exploit. If this was not a computers/software/internet issue, MSFT would be on the losing end of many lawsuits."

      Well I ask you this, if the passwords are already preset to a default, wouldnt that leave the same problem?(a known password is as bad as none)
      The only way to stop the exploits is to prosecute those that write the attacks used. Forcing the installer to place a password for all the admin tools and db access would only help until the exploit writers (viri, trojans, worms) are behind bars. The excuse of "the programmers should never have let the application be so easily exploited" is bullsh-t, if the world had to secure against all forms of exploit and attack, the software would take days to load and hours to refresh a screen. The problem is that people will attack anything they feel is a challenge and see if they can get away with it. (tell a kid he cant have a cookie from the jar and place the jar on the fridge, the kid will find a way to get the jar to get the cookie inside it)

      --
      karma, hah...
    21. Re:Thousand compromised? by Anonymous Coward · · Score: 0
      What kind of people install SQL Server without putting a password for the SA account? Apparently, plenty :)

      What kind of people think plenty is a kind?

    22. Re:Thousand compromised? by wik · · Score: 5, Interesting
      It's not just stupid users. Maybe they buy a copy machine like the Xerox DocuTech. It's a powerful high-end copier. It's also not just a copy machine. It has an NT box and a Sparc running Solaris built into it. It also comes out of the manufacturer, wide open with security holes, trivial passwords and unpatched software. If you try to patch them and then ever have as service issue (don't tell me that things don't break), Xerox will gladly reinstall all of the loaded software. Bye bye, patches and passwords.

      http://online.securityfocus.com/archive/1/273029

      It's not just stupid users. Somebody chose this machine for the business and it's something that they NEED in order to function. Not only that, they may not have a (practical) way to keep it secure when you look at how the machine is really used. I'd sugggest reading the entire thread, because there are more juicy details into the security problems and politics associated with big machines like these.

      --
      / \
      \ / ASCII ribbon campaign for peace
      x
      / \
    23. Re:Thousand compromised? by hey! · · Score: 2
      Some bundles of Microsoft Office include SQL server (the "developer" edition). Anybody who got this and installed everything may well have installed the MS SQL Server and never did anything with it.


      THere's also a desktop runtime engine which I think also listens on port 1433, that could be affected by this. This engine might be installed with an application written in VBA using Access or one of the other MS components. These kinds of apps are fairly common in large companies. I wrote one myself for a state government recently (although not installing MSDE).

      --
      Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
    24. Re:Thousand compromised? by Anonymous Coward · · Score: 0


      Perhaps you meant to say that, "we will continue
      to have incompetent management as long as the
      not very bright continue to get MBAs." From my
      experience a vast majority of undergrads - 75%,
      my estimate - do not belong in university. This
      is independent of major!

    25. Re:Thousand compromised? by Jucius+Maximus · · Score: 1
      "Any way you look at it, it is totally irresponsible to make software whose default installation has an easy administrator access exploit. If this was not a computers/software/internet issue, MSFT would be on the losing end of many lawsuits."

      "Well I ask you this, if the passwords are already preset to a default, wouldnt that leave the same problem?(a known password is as bad as none) "

      Um, when was the last time you installed Linux? Did it set the root password to some sort of default string?

      <sarcasm>I'm sure there have been a lot of Linux worms recently targetting weak passwords.

      I wish there was an emoticon for sarcasm besides ;-)

    26. Re:Thousand compromised? by anothy · · Score: 2
      They need transportation, they go out and buy a truck. They need a machine tool, they go out and buy one. They need a copy machine, they have one installed.
      an entirely reasonable course of action, to be sure. but you're missing something: don't these companies generally also hire someone who knows how to use the given tool? they make sure they guy behind the wheel knows how to drive, they make sure only authorized personell can fool around in the machine shop (okay, the copier's a bit weaker, but still valid: it's primarially secratary types using them). this benifits them because otherwise they won't get anything out of the tool, and it'll become a liability, not an asset. and outside of the IT world, companies recognize this. they seem to forget it in the IT world (possibly because these days the average guy on the street thinks he knows alot about computers). it's also quite possible for an untrained operator to do damage to any one of these three new tools. for their own good, they want someone who knows what they're doing in controll.
      what's more, a company may be liable for damages incurred by others if the company lets unqualified people use these tools (i have no idea what kind of damages to others could result from a copier). companies with large machine shops get sued about this periodically. and with good reason. that's a basic principle they should know: before letting someone use your tools, make sure they know what they're doing. to do otherwise, in many cases, constitutes negligence under the law.
      companies should know that people who don't know how to drive shouldn't be given the keys to a company truck. companies should know not to let untrained people in the machine shop. companies should know tools can be dangerous when misused. and companies - and indeed people - should know that computers are just tools.
      --

      i speak for myself and those who like what i say.
    27. Re:Thousand compromised? by inkfox · · Score: 2
      Who needs MS SQL Server?
      I'm sure many do. The problem is it gets installed with other MS applications if a user specifies that they want all components installed.

      My boss just handed me his laptop the other day, wanting to know why it had slowed down. (He'd filled the hard drive to under 200K free.) Among the many other unnecessary items I removed was MS SQL Server. I can only guess that it got installed with MS Office, because all he uses the laptop for are PowerPoint presentations, word processing, surfing and game playing.

      There are probably a million people out there who don't even know that they're running it.

      --
      Says the RIAA: When you EQ, you're stealing bass!
    28. Re:Thousand compromised? by kkith · · Score: 1

      You have some strong points, but I do somewhat disagree with some of them. To paraphrase your claim, you are rebutting the previous argument that the companies hit by MS SQL worm "should have known".

      While your rebuttal has a very good point, however the company "should have known" in one way or another, especially if they are buying equipment that is used for their business. What kind of company makes such a critical purchase without doing the correct research?

      According to your argument, if I were a large corporation selling widgets, and I need a slew of networked computers to help improve the business, then I don't need to do research for that product, I just go out, buy a bunch of computers, buy some CAT5 cables, a switch and voila. Clearly, at least a little bit of research should be done, and clearly I should at least RTFM. And I believe with all the press (print and electronic media) companies know, or at least have an inkling, that Microsoft products have serious vulnerabilities. This would lead me to either hire an admin, or at least make sure it is secure myself.

      Therefore, if the research is NOT done, then yes, they do deserve to be hit.

      That's like me buying a bank without a security system. Then someone comes and robs me, and I claim, "how should I have known?" I bet if I did the minimum amount of research I would have known that there are such things as bank robbers and burglars.

      I am pretty sure that YOU would do the proper research if you were buying certain products, a car, a computer, etc, for your personal use. Why shouldn't companies do the research as well? Albeit, I completely agree that there is NO excuse for MS' lack of security practice.

      The other problem that keeps me from agreeing with your argument is that you make the implication that MS SQL is as simple to use as...a copier, a truck, machine tool. Once again, a little common sense and a minimum amount of research would tell you that there is more to it than that. However, IF Microsoft had a secure product, then I would be more apt to agree with your claim. But, MS has not developed SQL and other products to the point where it is as simple to use as a copier. Until then, they should have known.

    29. Re:Thousand compromised? by RetroGeek · · Score: 1

      That's not bad programming, it's stupid users.

      No not stupid. Just ignorant and uninformed.

      So who does the teaching? The problem is that for each of the activities metioned, the person obtaining the service has at least some idea of what the service is all about, either from personal experience or by having seen it somewhere.

      Now along come the "computer". For the majority of people, this appears as a "magic" machine. And it is sold as one by the major vendors, and it has an OS that hides all the gory details.

      So now the average joe takes this machine home, plugs it in, follows a few simple instructions, and he thinks, "Hey, this is easy, I am an expert".

      When things go BOOM he takes it to a shop pays money, and he is happy again.

      This is why AOL is so successful. Insert CD, type in your name, some userid, and your credit card number. Virus? what's a virus, and why should I care? Hey look I can enlarge my penis!

      Now for cars and trucks there are laws about being at least mildly competent. LAWS.

      Maybe it is time for users to require at least a night school course on this wonderful machine they have just bought....

      --

      - - - - - - - - - - -
      I am a programmer. I am paid to produce syntax not grammar. Deal with it.
    30. Re:Thousand compromised? by Anonymous Coward · · Score: 0

      They key is: Passwords don't get set to a default value. They should NEVER have a default value, blank or otherwise. The system should ask for the account name and password during installation, and not proceed until something satisfactory is provided. Anything else is just plain bad design, and the idiot who let that design decision pass should be held professionally liable for it.

      3rd party vendors that provide turnkey systems would then either need assistance from their client's SysAdmins or have to keep track of the administrative passwords themselves. If THEY were dumb enough to use the same information for every customer, then said vendor bears the liability for such a silly and easy exploit.

      Programmers don't have to think of every possible scenario (that's only slightly impossible :-), but we should be making good faith efforts based on known best practices and common sense. Most of us would love to, but must do otherwise because of other forces.

    31. Re:Thousand compromised? by GMontag · · Score: 2

      Yep, that is a long winded way of saying what I was illustrating ;-)

    32. Re:Thousand compromised? by lanthis · · Score: 1

      Using your own analogy, said company buys major power tools, would they buy them without having people qualified to use them? Would you expect an IT company to go out and buy a jackhammer and be told to "go to it"? I mean why not, it has some resembalance of instructions right? and those construction workers have no problems so how hard can it be? It's just another way of running cable to your office down the road. Doesn't sound realistic right?

      Same goes for setting up mail servers and etc, why would you have someone who is not qualified setup something that is so business critical?
      Yes MS makes everything "easy to use" with nice wizards and GUIs and all, but if you don't know what an open relay IS, how do you know which wizard and menu and whatever to go through to turn it off?

      Most power tools are easier to use. It has an on and off switch, and yet you still need to be properly trained and qualified to use them.

    33. Re:Thousand compromised? by autocracy · · Score: 2

      What, you've never seen somebody too stupid to avoid touching the thermal parts when clearing a paper jam? Ooh, it's hard to keep the laughing stifled...

      --
      SIG: HUP
    34. Re:Thousand compromised? by jazman_777 · · Score: 1
      Any way you look at it, it is totally irresponsible to make software whose default installation has an easy administrator access exploit.

      Oracle default system password: manager. I have dealt with customers who still have that set for production systems. And what exactly is Larry Ellison trying to do with a national id database?

      --
      Slashdot: Failed Car Analogies. Amateur Lawyering. Anecdote Battles.
    35. Re:Thousand compromised? by archen · · Score: 1

      Well I ask you this, if the passwords are already preset to a default, wouldnt that leave the same problem?

      Well there are ways around that. As the above poster stated; Linux asks you for a password during an install. I don't see why they don't issue a different password with each copy. Seems to me it wouldn't be all that hard to give a piece of paper with the serial number AND the default password (both unique for each install). If you don't like the cryptic 14 character (or whatever) password, you change it manually.

    36. Re:Thousand compromised? by WickedLogic · · Score: 1

      Sorry. I am not buying it anymore. And I think the general business world isn't going to buy it much longer. Either the Internet will be abandoned, or there will be heavy, heavy government regulation of who can connect and how. Sort of like the phone company in the 1950's.

      Sounds good to me, get those damn silly companies off the internet and onto private networks.

      Willing to place bets that 75% of the sql servers that where there by intent, do not need to be net accessible. The people need to learn by burning thier hands, maybe even torching a few companies.

      Magic often masters those who cannot master it...some WoTC magic the gathering card from my childhood.

      --
      WickedLogic

    37. Re:Thousand compromised? by Anonymous Coward · · Score: 0

      If you've tried to get a job as a DA anytime lately, you know what the problem is.

    38. Re:Thousand compromised? by xanadu-xtroot.com · · Score: 2, Insightful

      Keep in mind that Access XP includes a desktop version of SQL server

      This is true, but you need to go back a couple years to get to the root of this (fscking stupid) idea.

      Visio 2000 installs it by default as well. I can't remember if anything previous did, but that was my first encounter with this. I would love to buy a bag of whatever those in charge of making this idea a reality, but this is not a small thing. You need to consider the hundreds of thousadns (if not into the millions) that are running software that was created 2 or 3 years ago up to now (and the future holds suit as well).

      Can someone please remind me why I have to keep using M$ garbage? OOo is a great package. There are MUCH better webservers out there, and there are MUCH BETTER SQL Servers out there.

      I just don't get it...

      --
      I'm not a prophet or a stone-age man,
      I'm just a mortal with potential of a super man.
    39. Re:Thousand compromised? by Anonymous Coward · · Score: 0

      That won't really work, because the serial numbers are often authenticated via some sort of algorithm. So instead of one authenticator that needs reverse engineered, you have two. Not too terribly useful. And these algorithsm have been reverse engineered. If you Google for MS CD-Key Generators, you'll get a few hits.

    40. Re:Thousand compromised? by Anonymous Coward · · Score: 0

      They need transportation, they go out and buy a truck. They need a machine tool, they go out and buy one.

      Yes, and you need someone with an HGV license to drive it (at least in the UK) - meaning they are qualified... so what was your point again?

    41. Re:Thousand compromised? by Anonymous Coward · · Score: 0

      Oh, good, so I'm not alone. When my company picked up one of those things, I had a FIELD DAY finding holes in it. Then someone told me the salesdroid was still in the building, so I wandered over. He took one look at my 2600 shirt (lucky break to be wearing it that day) and got nervous.

      He advised me to call Xerox. I did. I asked the phone firewall a simple question - "why does a print engine need sendmail running?" and got nothing but a runaround. Does it need it? No. Do you submit jobs to it by mailing it to the box? No. So what the hell is it doing there?

      That was the litmus test. He couldn't even figure that out, and wouldn't let me talk to the higher-up people, citing policy. I hung up with that guy and cleaned house myself, after leaving a scathing message in the motd for the next Xerox flunkies who happened to visit.

      A few months later, I decided to look again and the box had been reinstalled, and all the old holes were back. Now they rot in their own little VLAN, apart from the rest of the world. Screw 'em.

    42. Re:Thousand compromised? by Anonymous Coward · · Score: 0

      With Slackware 3.6 and earlier, it installed a Root account with no password at all, and the installer program only suggested you implement a password in one text message that was displayed at the end of the install.

      I have a friend who ran a Slack box on the net for several weeks with the root account having a null password before I happened to discover it.

      I am sure she's not alone.

    43. Re:Thousand compromised? by aminorex · · Score: 2

      Hehe. They're planning to base the FILESYSTEM
      on it in the future. What an auspicious beginning!

      --
      -I like my women like I like my tea: green-
    44. Re:Thousand compromised? by tshak · · Score: 2

      Have you ever heard of those expensive people called "consultants"? Yes, they actually can be valuable, especially in this scenario. Companies hire Legal consultants, Accounting consultants, and Business Management consultants - especially when they do not have the expertise in house. What company would get into a legal battle without a Lawyer? What company would run an Enterprise DB without a DBA?

      --

      There is no longer anything that can be done with computers that is nontrivial and clearly legal. -- Paul Phillips
    45. Re:Thousand compromised? by GMFTatsujin · · Score: 2
      They need transportation, they go out and buy a truck. They need a machine tool, they go out and buy one. They need a copy machine, they have one installed. Although some of these tools can certainly be dangerous, there is a basic expectation that when buying, say, a machine tool (a) it will more or less do what it says it will do (b) it won't suddenly explode and destroy an entire city block.

      If they're smart, they also hire a driver, a machinist (or at least an operator), or an admin assistant. None of these technologies run themselves, or run indefinitely without maintainance.

      Honestly, I have no sympathy for bottom-line dimwits who think that technology alone is the answer to a tight profit margin. Technology is the tool. The guy with the skills to *use* technology is the real answer.

      Hire a goddamned administrator, for crying out loud. If it's worth the investment to purchase the system, it's worth at least that much to invest in someone who can keep it working.

      If computer technology is so integral to the business world, how come it's so freakin' hard to find a technology job again? Short-sightedness, that's all I can figure.

      GMFTatsujin
    46. Re:Thousand compromised? by Anonymous Coward · · Score: 0

      Your WHOLE thought process centers around the database blowing up because in this case the SA password is not set by default. Well, let's assume MS had set the SA password to "newinstall" or even "$f*!shd". This would have not stopped this tragedy from taking place. You either have a password or you don't, and you can change either one at anytime. This problem lies with the customer who purchases the software and doesn't change the default password.

    47. Re:Thousand compromised? by Anonymous Coward · · Score: 0

      >They need a machine tool, they go out and buy
      >one.

      However, they do NOT put an unskilled operator on that tool. They don't allow a press brake operator to work without restraints for instance.

    48. Re:Thousand compromised? by Anonymous Coward · · Score: 0
      If they buy computer systems, they leave the passwords blank and expect people to not use them. That's not bad programming, it's stupid users.

      I have to disagree there. While the users ought to have changed the password, is there a any good reason at all why the program would allow a blank password? (And for that matter, do some basic checks of the quality of the password.) It may not be bad programing per se, but it is bad design.

    49. Re:Thousand compromised? by neilb78 · · Score: 1

      Microsoft's product should not allow the password to be blank. I think is it is stupid that the software allows a blank password. It seems to me that the software company should be liable for damages in cases where the software allows blank passwords. It's just crazy!!!!!

      --
      © 2004 The SCO Group, Inc. All Rights Reserved.
    50. Re:Thousand compromised? by BasharTeg · · Score: 3, Insightful

      You know what? Your post was brilliant and absolutely correct every step of that way, until you threw in that conclusion. Geez. What a way to ruin a great post.

      "Either the Internet will be abandoned, or there will be heavy, heavy government regulation of who can connect and how."

      That's just silly.

      The number of businesses that rely on the internet to survive, dollar-wise, now far outweigh the number of businesses who are as fed up as you claim. What will happen is that people will make more solid state type servers. Email servers in firmware style setups will be common. Look at Network Attached Storage. What else is that, except a firmwared File Server? Same thing with JetDirect Print Hubs. Beats having to actually run a print server.

      THAT is how the industry will respond to the problem you so nicely described.

    51. Re:Thousand compromised? by gregorio · · Score: 1

      Keep in mind that Access XP includes a desktop version of SQL server that I believe is installed by default. Microsoft is trying to move away from the Jet engine that Access is based on and towards using SQL for all databases, both large and small. I'm sure that some of the thousands of infected systems are desktop systems.

      This shrinked-down version of MS-SQL is called "MSDE", and it doesn't allow any remote connections.

      "I'm sure that some of the thousands of infected systems are desktop systems" < lol.

    52. Re:Thousand compromised? by Anonymous Coward · · Score: 0
      You know what your position boils down to?

      Caveat Emptor

      It's better stated as "Microsoft sells crappy products".

    53. Re:Thousand compromised? by WebSnake · · Score: 1

      Yes, you are right on many points. However, you must have a license to drive a company truck. They've (typically) had training before using a machine tool.

      The internet is a different beast. It is like a giant homeowner's association. Everyone is responsible for their own yard, and if you don't do it, not only will your yard look horrible, but your neighbors will fine the crap out of you...

      All of these points biol down to 1 word:

      Responsibility

    54. Re:Thousand compromised? by ShinGouki · · Score: 1

      [quote]If they buy computer systems, they leave the passwords blank and expect people to not use them. That's not bad programming, it's stupid users. [/quote]

      that's both bad programming AND stupid users.

      seriously guys, how hard is it to put a default password in your app and prominently display in the manual that you need to change this immediately?

      i can't tell you how many apps i've used with blank default passwords or with default passwords that were not properly documented (the old free ubb comes immediately to mind)

      --
      -dk
      Dream with the feathers of angels stuffed beneath your head.
    55. Re:Thousand compromised? by ShinGouki · · Score: 1

      businesses don't need government regulations, nor does society (on this matter). businesses need to extract their head from their ass and stop using unsafe products.

      how hard is that to understand? i bet even 90 year old mr. smith knows not to drive an edsel, or use certain firestone tires. microsoft's security flaws are fairly well publicised in popular media and i'd like to see businesses take a little more responsibility for the software they choose. "but i didn't know it was unsafe because i'm not a mechanic" doesn't cut it when your tires de-tread at 65mph and flip your car 17 times before turning you into a greasy patch on the highway and it shouldn't cut it in the IT section of the business world.

      i'd also like to see software manufacturers take a bit of the heat as well. how about some class action lawsuits to recover some of the monetary damage done to businesses because the software they use isn't up to spec.

      --
      -dk
      Dream with the feathers of angels stuffed beneath your head.
    56. Re:Thousand compromised? by MAXOMENOS · · Score: 2

      I'd rather have a manager who knew how to effectively manage and didn't know the technology, than a manager who knew the technology but couldn't manage. I've had both. The first knows enough to get out of the way and let people produce. The second knows enough to not listen to other people, and eventually, to destroy the project and possibly the company.

      Of course, managers who can't manage, won't listen, and don't understand the technology, shouldn't have their jobs at all.

    57. Re:Thousand compromised? by Anonymous Coward · · Score: 0

      "Keep in mind that Access XP includes a desktop version of SQL server that I believe is installed by default."

      No, you're thinking about MSDE. Access XP doesn't install it by default.

      Also, MSDE's default installation does not use SQL Auth (with a blank password--which is what the vulnerability is). The default installation is set for NT Auth (so unless you have a blank password set for Administrator, odds are you aren't gonna be vulnerable...of course if you DO have a blank password for Administrator, you're kinda screwed with or without SQL/MSDE).

    58. Re:Thousand compromised? by Anonymous Coward · · Score: 0

      "This shrinked-down version of MS-SQL is called "MSDE", and it doesn't allow any remote connections."

      Yes it does.

    59. Re:Thousand compromised? by mentin · · Score: 1
      Nope, there is a new MS-SQL mini server that runs on workstations. Installs a blank sa password and get this no admin tools are installed

      This is MSDE, it is also installed without network interfaces, and can only be used locally.

      So it does not listen to any TCP port, and is not subject to this worm.

      --
      MSDOS: 20+ years without remote hole in the default install
    60. Re:Thousand compromised? by Bert64 · · Score: 1

      If you buy a truck, you employ a truck driver to drive it. Trucks dont come with big stickers "ONLY TO BE DRIVEN BY SOMEONE WITH AN HGV LICENSE", because you are expected to know this already.
      Trucks also dont have instructions on how to drive them, because it is expected that anyone who is going to drive it will already know how.

      Point being, it should be common knowlege that you need someone qualified and capable of operating any tool you may decide to buy, be it a truck, a computer, or a selection of military hardware.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    61. Re:Thousand compromised? by Bert64 · · Score: 1

      Or perhaps a password which is randomly generated at installtime and displayed to the user. If the user doesn`t change it, then the random pass stays there... if he doesnt write it down, thats his own fault. If he tries to remove the pass or enter a poor one, it should be rejected.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    62. Re:Thousand compromised? by Bert64 · · Score: 1

      Solid state is all well and good, except for the trouble upgrading it if a security flaw is found in the firmware, and if the firmware can be upgraded, and a security hole is found.. a cracker could lock you out of the machine before you patch it, and then you`d be stuck with returning it to the manufacturer to be repaired - costly.

      The JetDirect boxes are nice, until they get stolen... theyre very pocket-sized.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    63. Re:Thousand compromised? by Bert64 · · Score: 1

      But slackware is aimed at people who are clued up, and should in theory know to set a password.
      Unlike a distribution such as mandrake, which caters to the newbies.
      If something is advertised as being easy to use, it will attract people with limited knowlege, so it should have secure defaults.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    64. Re:Thousand compromised? by Bert64 · · Score: 1

      There will ALWAYS be people trying to break into computers. In many ways these people writing worms and making irc-war etc, are doing a good job, because they encourage people to tighten security.
      If there wasnt such a large threat from these people, then software authors simply wouldnt bother with any kind of security. So you would end up with a few motivated people piggybacking over a long line of systems to cover their tracks, breaking into machines and doing REAL damage. By real damage i dont just mean a server thats down for a few hours, i mean stealing credit cards and other data.. or destroying important data.

      Afterall, many people get jailed for stealing cars.. but cars are still being stolen, and car makers are still implementing better anti-theft mechanisms.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    65. Re:Thousand compromised? by Bert64 · · Score: 1

      Also, if a truckdriver went and CRASHED the company truck into a wall.. the truckdriver would likely be fired for incompetence, if admins were fired for setting servers up incompetently.. then they would work a lot harder.
      And dont say they are over worked to keep many servers secure at once, the admin should take everything down until it is secure... if the company doesnt like this, well its their own fault for not hiring enough admins.. and its better than being hacked.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    66. Re:Thousand compromised? by karlm · · Score: 2

      What the hell kind of nitro-burning printer needs a dual cpu Sun box to keep it fed? Dual cpus don't help you with io bandwidth. Couldn't that machine support both the scanner and the printer? How's Samba for print sharing?

      --
      Copyright Violation:"theft, piracy"::Anti-Trust Violation:"thermonuclear price terrorism"<-Overly dramatic language.
    67. Re:Thousand compromised? by BasharTeg · · Score: 2
      Solid state is all well and good, except for the trouble upgrading it if a security flaw is found in the firmware, and if the firmware can be upgraded, and a security hole is found.. a cracker could lock you out of the machine before you patch it, and then you`d be stuck with returning it to the manufacturer to be repaired - costly.

      Okay, you make some valid points, but honestly, how easy is it to upgrade a FreeBSD or Linux server? How much downtime do you have? Now compare that to downloading a little firmware patch and then uploading it through the web interface. And many of these firmware devices have the passwords stored in NVRAM which can be cleared if you have physical access to the unit. Thus if you were rooted, and the password changed, you would clear the NVRAM, log into the unit, set the password, upload the patch via HTTP, and bam, you're up and running. Compare that to the costs of the downtime of a rooted server, and cleaning the system of backdoors and SUID files.

      The firmware box wins in the long run. Especially if it's well designed.

      As for JetDirect boxes getting stolen, well, if you can get into my building, disconnect 3 parallel printer plugs (which are screwed in with two handscrews each), an Ethernet plug, and the power plug, and then of course, score the adapter itself, without being noticed, I'd be impressed.

      Heck, for all that trouble, you might as well steal CPUs, memory, and hard drives from my NOC.

  6. Another reason to use strong passwords! by Black+Aardvark+House · · Score: 1

    Many Microsoft SQL administrators fail to set a strong password for the system account, which by default has a "null" or non-existent password, SecurityFocus warned yesterday in an alert to ARIS users.

    It's almost unbelievable that sysadmins do not use strong passwords for system accounts. In this era of rampant viruses and worms, you'dfigure they'd get the hint by now.

    --

    I am the evil aardvark!

    1. Re:Another reason to use strong passwords! by netik · · Score: 1

      Not that it's the best way to do admin level security, but even an initial popup box that says "This is your SA password. Write it down!" with a randomly generated password would be far more secure than leaving it set to null, 'sa', or 'admin'.

      What's so hard about shipping products without a default password?

  7. Digispid/SQLsnake by Scoria · · Score: 5, Informative

    Symantec has produced a more informative bulletin; however, they have entitled the worm "Digispid" as opposed to SQLsnake.

    --
    Do you like German cars?
  8. Only attacks blank sa passwords by bgraziano · · Score: 1

    The worm only attacks SQL Servers with blank sa (administrator) passwords. It isn't a security hole that needs patching. It's just poor administrators.

    --
    SQLTeam.com - For SQL Server developers and Administrators
    1. Re:Only attacks blank sa passwords by linuxrunner · · Score: 3, Insightful

      I'm sorry.. but according to the topic post it said:

      and even attempts to brute force passwords.

      So either you're telling me, the writer lied... OR... it doesn't just attack blank passwords... so which is it?

      --
      www.slightlycrewed.com - Because aren't we all?
    2. Re:Only attacks blank sa passwords by Triskaidekaphobia · · Score: 1
      The only thing that metions brute-force attacks is in the SANs report
      According to SANS incident handler Johannes Ullrich, a preliminary analysis shows the code, which has been dubbed "SQLsnake," attempts to log in to the SQL administrator's account on a remote server using a "brute force" password cracker.
      All other reports, including other parts of the SANs report say it propogates to SQL servers with blank passwords (or rather servers which still have the default password, which is "sa")
    3. Re:Only attacks blank sa passwords by UnderAttack · · Score: 1

      Important: The original quote, that it includes a brute force password cracker, was WRONG. It will only attack systems with empty SA password, and it will assign a somewhat random password after it is done.

      johannes.

      --
      ---- join dshield.org Distributed Intrusion Detec
    4. Re:Only attacks blank sa passwords by iggly_iguana · · Score: 1

      Unfortunately the majority of installations out there, in my experience, use blank SA passwords.

      FYI, I didn't do it! But, I finally have the ammo to prove to people that this is a bad idea...

  9. Databases shouldn't be outside the firewall by sheldon · · Score: 5, Insightful

    Perhaps there just isn't good documentation on this, but this issue wouldn't be a problem if the SQL Server databases were properly installed and maintained.

    First of all, a DB should never be outside a firewall. It's not necessary.

    Second of all, this issue is aided by databases installed with blank admin passwords.

    I don't know how you solve this. You can't prevent people from installing software. I guess Microsoft's new MBSA will point out the blank password issue and any patches missing, but...

    1. Re:Databases shouldn't be outside the firewall by coulbc · · Score: 2, Interesting

      MS SQL Server 2000 SP2 will warn you that the SA password is blank. It also advises you to change it. The service pack has been out for a while now. If you have installed it, this should be a none issue for the most part. Brute force attacks are more difficult to contend with.

    2. Re:Databases shouldn't be outside the firewall by ColdCuts · · Score: 5, Informative

      One of the things incidents.org points out (http://www.incidents.org/diary/diary.php?id=156) is that some microsoft products have sql server included as a hidden or optional install. Access 2000, Visio, even Visual Studio 6 had an option for installing MSDE. If installed, no password is set for the account.

    3. Re:Databases shouldn't be outside the firewall by ergo98 · · Score: 1

      First of all, a DB should never be outside a firewall. It's not necessary.

      Says who? The preferred route is that users VPN or IPSec in first, but for convenience reasons some situations stipulate that you can't do that, and SQL Server's low bandwidth usage client/server model works wonderfully for WAN or Internet deployed clients. Saying "put it behind a firewall" isn't a fair solution because SQL Server should be impervious even if publicly accessible.

      Mind you firstly anyone who has SQL Server installed with a blank sa password is an idiot, and moreso SQL Server should always be running in NT Authentication mode (versus mixed mode) where the security infrastructure of NT can come into play (account lockouts, etc.).

    4. Re:Databases shouldn't be outside the firewall by typedef · · Score: 1

      I would assume that the 'Destktop' standalone version is installed with those products, however, and not the full fledged 'Standard' version. IIRC, the 'Desktop' version has no client-server functionality and operates only on the local machine. I could also be completley wrong. Its been some time since I've worked with SQL server, and the last version I worked with was 7.0.

    5. Re:Databases shouldn't be outside the firewall by ergo98 · · Score: 1

      Desktop edition is completely the same as the standard edition (including the MMC snap-in for administration), apart from some detuning which will throttle back the performance if more than 5 users are connected, as well as only allowing 2GB databases, etc. Basically it's the same as the MSDE, but adds the management console. Anyways CAL for SQL Server can also be used to install the desktop edition which can be very powerful for detached sales systems.

    6. Re:Databases shouldn't be outside the firewall by tzanger · · Score: 2

      The preferred route is that users VPN or IPSec in first, but for convenience reasons some situations stipulate that you can't do that, and SQL Server's low bandwidth usage client/server model works wonderfully for WAN or Internet deployed clients.

      For convenience, sure, but then you shoudl also at least have accounts set up that can only add or view data, or fux with specific tables and/or databases. If you require more than that (DLL calls, SA powers, etc.) then simple common sense should overrule any remnants of "convenience" for the sake of security.

      It's "convenient" to leave young kids at home without anyone to watch them while you go out for a nice romantic dinner, but you don't see many parents doing so. Common sense comes into play and they hire a babysitter.

    7. Re:Databases shouldn't be outside the firewall by ergo98 · · Score: 1

      I'm not going to bother going down the road of metaphors as that's a useless path and solves nothing.

      The point of my message is that a firewall is not, and has NEVER BEEN, a real "security" tool : A firewall is a short term solution when the security of your system is negligent, and to many it is a horrible crutch that they hobble around on, sure that any solution can be solved by putting up a firewall. SQL Server, when configured properly, should be fully accessible to the net at large with zero ramifications or negative effects on security. The reality when it comes to security, and it boggles me how many people fail to see this, is that firstly most "cracks" come from the inside anyways: Disgruntled employees, contractors, or even via a trojan on a user's home PC that VPNd in. Additionally countless trojans get inside corporate walls every day, and if I were a trojan or worm writer I would love the fact that so many people use the firewall excuse : All you need to do is get it to one of the employees through some social engineering, and bam you own the company.

      I've seen solutions that put a "middle man" between SQL Server and the client application (usually a "web service", albiet minus conforming to SOAP or the other web RPC standards), and almost universally they add more faults than they solve (my favourite are ones that do string insertions to create commands, and then run that under a db_owner account. i.e. "SELECT * FROM MY_TABLE WHERE NAME="+Request.QueryString("WANTED_USER") : I can see a million ways to horribly exploit that in an instant)

    8. Re:Databases shouldn't be outside the firewall by Chief+Typist · · Score: 1

      True, production databases should be inside one or more firewalls.

      But what about users who have demos or other software that needs SQL Server to run on their laptop? They often run SQL Server outside of the firewall .. and they can bring the worm back to the intranet.

      Code Red got inside firewalls this way...

      -ch

    9. Re:Databases shouldn't be outside the firewall by blowdart · · Score: 1

      SQL 2000's default install warns you and asks you to check a box to confirm you want to be an idiot with a blank sa password.

      The later SQL7 service packs also nagged you.

    10. Re:Databases shouldn't be outside the firewall by schnuf · · Score: 1

      Unfortunately there are loads of users out there who don't know they have a copy of SQL server installed. They take their laptops home, plug into their DSL lines, get hit by the worm because the have no firewall at home.

      Next day they bring the laptops into the office, plug into the corporate LAN and bingo, the worm is inside the firwall...

    11. Re:Databases shouldn't be outside the firewall by Anonymous Coward · · Score: 0

      MSDE is not accessable from any computer other than the one it is installed on. Granted it has a blank password but you cannot access it over the network so it is not affected by this.

    12. Re:Databases shouldn't be outside the firewall by tzanger · · Score: 2

      The point of my message is that a firewall is not, and has NEVER BEEN, a real "security" tool : A firewall is a short term solution when the security of your system is negligent, and to many it is a horrible crutch that they hobble around on, sure that any solution can be solved by putting up a firewall.

      I disagree with you on this point, but I'll come back to it in a moment.

      SQL Server, when configured properly, should be fully accessible to the net at large with zero ramifications or negative effects on security.

      While this may be true, what of the rest of the operating system? This is where, IMO, firewalls are important. You can restrict access to the system running SQL Server by only allowing port 1433 accesses through. In the event of, say a remote exploit involving one of the "simple services" (echo, time, etc.), the box is still protected. Firewalls can also be used to limit connections or divert them based on whatever the business needs dictate. Using them as a crutch is one thing, and it's a bad thing, I agree. But completely writing them off as useless is a little extreme.

      he reality when it comes to security, and it boggles me how many people fail to see this, is that firstly most "cracks" come from the inside anyways: Disgruntled employees, contractors, or even via a trojan on a user's home PC that VPNd in.

      One word: Outlook. With shit like that running on the inside you're absolutely correct. Outside attacks instantly become inside attacks, and all the careful security you set up is bypassed. Virus scanners can only go so far.

      I've seen solutions that put a "middle man" between SQL Server and the client application (usually a "web service", albiet minus conforming to SOAP or the other web RPC standards), and almost universally they add more faults than they solve

      I agree 100%. Middleware has to be very carefully designed and debugged or all manner of unintended operation can occur.

    13. Re:Databases shouldn't be outside the firewall by ergo98 · · Score: 1

      While this may be true, what of the rest of the operating system? This is where, IMO, firewalls are important. You can restrict access to the system running SQL Server by only allowing port 1433 accesses through. In the event of, say a remote exploit involving one of the "simple services" (echo, time, etc.), the box is still protected.

      I believe that in essence we're agreeing, but just to extrapolate on this a bit: With most UNIX style operating systems you thankfully have the complete ability to configure every service that is listening and servicing through IP, allowing you to actually secure the system (again because securing against the Internet at large is false security, because that weak echo service would still be vulnerable internally): Turning the service off easily beats just masking packets going to it.

      Having said that, there are occasionally things beyond your control, such as the fact that Microsoft insists upon enabling dozens of services masked in other services, meaning that even a heavily shuttered down install will show a dozen+ listening ports on netstat -a -n. This is unacceptable, and again I think it's because of the firewall mentality that Microsoft has gotten away with this: I don't want to filter packets going to the system, but rather I'd like to know specifically WHAT is listening and why it's listening, with the ability to shut it down if necessary.

    14. Re:Databases shouldn't be outside the firewall by tzanger · · Score: 2

      You're right, we're agreeing. :-)

      With most UNIX style operating systems you thankfully have the complete ability to configure every service that is listening and servicing through IP, allowing you to actually secure the system (again because securing against the Internet at large is false security, because that weak echo service would still be vulnerable internally): Turning the service off easily beats just masking packets going to it.

      Agreed. Actually that is the very reason I try to put important servers inside a DMZ and restrict access from everywhere. Obviously this doesn't work as well with fileservers or things of that nature but being able to lock down a system in addition to keeping track of who is accessing it is a great thing. :-)

    15. Re:Databases shouldn't be outside the firewall by brocktune · · Score: 1

      This is not correct. MSDE is basically a stripped down SQL Server 7. It can be accessed over TCP/IP just like SQL Server. For example, the Enterprise Manager application in SQL Server can manage remote MSDE databases.

      My application installs MSDE for a local database and I have to change the sa password if I want want to keep the data secure.

  10. MS SQL most popular web database? by Anonymous Coward · · Score: 0
    Aloha! At the bottom of the article it states:
    Microsoft SQL is the most popular Web database, with 68 percent market share, according to Microsoft.
    Is this true? Or, is MS using the moment to push some propaganda? ;-)
    1. Re:MS SQL most popular web database? by Thud457 · · Score: 0

      It must be the most popular web database -- you don't see people writing worms to attack Oracle, now do you? (I won't even mention MyS... oh, right, I wasn't mentioning that.)

      --

      the preceding comment is my own and in no way reflects the opinion of the Joint Chiefs of Staff

  11. two versions out by martin · · Score: 3, Informative

    According to Sophos (www.sophos.com) there are two vesions out.

    the first one just attempts the 'default' null passwd and 'sa' username (the administrator).

    The second tries a brute force attack on the passwd.

    So no change from trying to telnet into a *nix box as root then....

    1. Re:two versions out by br0ck · · Score: 1

      Am I blind or has the page changed? I can find no mention of brute force attacks on Sophos' JS/SQLSpider-B analysis page.

    2. Re:two versions out by martin · · Score: 2

      D'oh getting confused with real and reported cruft.

      (where's the recall message button :-)

      I'll go back to shooting myself in the foot...

    3. Re:two versions out by br0ck · · Score: 1

      Actually, as mentioned in the article and by other posters, the Security Focus article quotes Johannes Ullrich of SANS as saying that the worm uses a "brute force" password cracker. This seems to be a misquote since I cannot find anywhere on incidents.org or any other site (besides SlashDot) that claims that the worm uses password cracking. This small detail makes a big difference since the patch only fixes some of the things that the worm does. The first thing the worm does is change the SA password to a random string. What will these poor DBAs do if their password gets cracked, and they can't get into their database?

    4. Re:two versions out by br0ck · · Score: 1

      Johann just answered my question. The worm only attacks servers with no password.

    5. Re:two versions out by br0ck · · Score: 1

      Johann just answered my question. The worm only attacks servers with no password.

  12. Worse than code red in terms of probe volume by swb · · Score: 2

    I've gotten over 80k probes in two days at work and several hundred on my single IP address at home.

    I kind of gave up and just ACL'd it on the border router since the volume makes it almost a DoS of my intrusion detection.

  13. Lazy admins again. by Fizzlewhiff · · Score: 2

    From the artice.. "Many Microsoft SQL administrators fail to set a strong password for the system account, which by default has a "null" or non-existent password, SecurityFocus warned yesterday in an alert to ARIS users."

    But what they didn't address is why would you even expose the SQLServer to the internet to begin with? A SQL server user can do a lot of damage with the sa account. Might as well give them a CMD prompt. There's really no need to have that port open to the outside at all.

    I wonder how many internet servers answer port 1521 to SYS/CHANGE_ON_INSTALL. Could PL/SQLsnake be next?

    --

    'Same speed C but faster'
    1. Re:Lazy admins again. by Error27 · · Score: 3, Informative
      Remember the Red Hat piranah bug a couple years ago where there was a default password?

      That default password existed--in beta software--for two weeks before it was found. Slashdot was up in arms about it. Alan Cox personally appologized for letting the default password slip by his check.

      I believe that slashdot was correct to get upset about piranah. I think any vendor who distributes software with default passwords deserves the same.

  14. News? by xamel · · Score: 2, Funny

    &ltsarcasm&gt
    Holy shit! A flaw in microsoft software? How did this happen???Arent Microsoft systems the most secure systems available???
    &lt/sarcasm&gt

    --
    GOD DAMNIT , MODERATE ME!
    1. Re:News? by Jucius+Maximus · · Score: 1
      "<sarcasm> Holy shit! A flaw in microsoft software? How did this happen???Arent Microsoft systems the most secure systems available??? </sarcasm>"

      From the article:

      "Many Microsoft SQL administrators fail to set a strong password for the system account, which by default has a "null" or non-existent password, SecurityFocus warned yesterday in an alert to ARIS users."

      Sounds like a flaw in certain DBAs' brains. The only vulnerable systems seem to be the ones with an unpatched stupidity hole allowing for easy backdoor installation.

    2. Re:News? by Anonymous Coward · · Score: 0

      Let me guess, you think Linux systems are more secure? If so, you really need to reexamine why you think that linux is so more secure. Hell, as bad as ms is at writing software they can at least fire you when you write crappy code and don't follow ms coding standards. With open source all they can due is chase you with a penguin club and smack you up some. And don't give me that it is open source and that any anybody can audit the code. What a freaking joke!

      My take is that they are both equally vulnerable to attacks by a crafty cracker!

    3. Re:News? by Thing+1 · · Score: 2
      This is an OT helping hand:

      You had said you figured out "<" and ">", but your "start sarcasm" tag looked like this:

      &ltsarcasm>
      The full specification for the commonly-used symbols:

      1. "<" is "&lt;"
      2. ">" is "&gt;"
      3. "&" is "&amp;"

      Many people leave off the closing ";", and most of the time it displays correctly (except for when there's an alpha-numeric character where the ";" would be).



      Please don't mod this as Offtopic -- many people attempt to use these symbols and fail. This should actually be part of the Slashdot FAQ I suppose...

      --
      I feel fantastic, and I'm still alive.
  15. I'm not seeing any traffic on port 1433 by Anonymous Coward · · Score: 0

    I've got ethereal listening on port 1433 (my capture filter just reads 'port 1433') and I've seen no traffic on that port. Well, to be 100% truthful, some napshare hosts are connecting from port 1433, but they're not looking for ms-sql!

  16. Microsofted by MongooseCN · · Score: 3, Funny

    I'm waiting for the day when people stop saying "We got another worm." and start saying "We just got Microsofted again".

    1. Re:Microsofted by Anonymous Coward · · Score: 0

      some would say ``microshafted''. particularly oregon schools

    2. Re:Microsofted by Anonymous Coward · · Score: 0

      that comment was as insightful as the pile of shit i flushed down the toilet last night. fucking stupid moron moderators.

    3. Re:Microsofted by targo · · Score: 1

      I'm waiting for the day when people stop saying "We got another worm." and start saying "We just got Microsofted again".

      So let's say that the dream of many slashdotters gets fulfilled and regular people will start using linux at home. I'm fairly sure that most of them would use root/root or something similar as their credentials and there would be worms to exploit it. What would you call the worm then?
      MS may be influential but it can't really do much about human stupidity.

    4. Re:Microsofted by jea6 · · Score: 2

      How about Munsoned?

      --

      sarchasm: The gulf between the author of sarcastic wit and the person who doesn't get it.
    5. Re:Microsofted by Anonymous Coward · · Score: 0

      "We just got Microsofted again".

      Methinks that should be 'Microsoftened.' ;-)

    6. Re:Microsofted by Gryffin · · Score: 1

      Somebody mod this guy up.

      Remember, it's not a SQL worm, it's a MS SQL Server worm. It's not an email virus, it's an MS Exchange/Outlook virus. It's not a web server worm, it's a MS IIS worm.

      While I'm usually against shooting the messenger, the computing public really should start holding Microsoft accountable for their shoddy security practices, and the damage they cause.

      --
      Learn from the mistakes of others. You won't live long enough to make them all yourself.
    7. Re:Microsofted by Anonymous Coward · · Score: 0
      I'm waiting for the day when people stop saying "We got another worm." and start saying "We just got Microsofted again".

      and...

      So let's say that the dream of many slashdotters gets fulfilled and regular people will start using linux at home....
      What would you call the worm then?

      why it'd be great if the jargon stayed the same and every time a unix box was r00ted it was considered "microsofted".

    8. Re:Microsofted by TheCabal · · Score: 1

      How is this Microsoft's fault? Is it their fault because someone has to deliberately put in a blank password to create this problem?

    9. Re:Microsofted by archen · · Score: 1

      We have a similar term where I work. Every time we look at how much we pay for MS software we like to say we just got "bent over" :)

    10. Re:Microsofted by jc42 · · Score: 3, Funny

      I think the term is "Microshafted".

      --
      Those who do study history are doomed to stand helplessly by while everyone else repeats it.
    11. Re:Microsofted by sharkey · · Score: 2

      How is this Microsoft's fault?

      It is their fault that the default "sa" account has a null password by default. Granted, whomever is doing the setup of the server should change it as a first step, but how hard is for Microsoft to require a non-null password to be set to continue setup?

      --

      --
      "Outlook not so good." That magic 8-ball knows everything! I'll ask about Exchange Server next.
    12. Re:Microsofted by tshak · · Score: 2

      Because I _WANT_ a null password for internal development machines. It's my software and I can choose to secure it the way I want to. Plus, SQL server does a fair amount of whining during setup if you have a weak/blank password. It's not like you have to dig through a bunch of settings - they prompt you multiple times.

      --

      There is no longer anything that can be done with computers that is nontrivial and clearly legal. -- Paul Phillips
    13. Re:Microsofted by TheCabal · · Score: 1

      It is their fault that the default "sa" account has a null password by default.

      Incorrect. SQL not only warns you of a blank sa password, it requires you to click on a checkbox before you can proceed any further with a blank sa password. Have you ever installed MSSQL before, or are you just speaking from FUD?

    14. Re:Microsofted by killmenow · · Score: 1

      When installing SQL Server, you don't deliberately put in a blank password. It's not like there's a password there that you have to erase. All you have to do is press ENTER. How hard is that?

      I am for shared culpability. Admins should not be morons. If you were stupid enough to install SQL Server (the full product, not MSDE) without setting up a proper password for SA, then you deserve goatse^H^H^H^H^H^Hto be reamed...

      Then again, Microsoft should not expect a several-thousand-dollar product that is NOT sold to the general public in Walmart, BestBuy, or Electronics Boutique to be installed by a moron.

      It should require a password and not offer a default. I mean, puleeez...that is a trivial fscking thing to do.

      And someone at Microsoft should be shot for allowing MSDE to keep the functionality that lets a worm like this propagate through it. If MSDE is supposed to be a dumbed down version, some asshole should have properly dumbed it down.

  17. I'm shocked by Anonymous Coward · · Score: 0

    I'm shocked, shocked, that you would imply that Microsoft would do something so stupid.

  18. well well by Anonymous Coward · · Score: 0

    get yer weekly M$ patch for the weekly worm\virus what else is new???

    this is getting to be a routine for M$FT's crapware...

  19. is it realy fair...... by the_2nd_coming · · Score: 1

    to Unix systems to be calling the MS SQL server a daemon?

    --



    I am the Alpha and the Omega-3
    1. Re:is it realy fair...... by Anonymous Coward · · Score: 0

      No, because the SQL listener *is* a daemon, after all the product was ripped off from Sybase, originally a unix product.

    2. Re:is it realy fair...... by Anonymous Coward · · Score: 0

      it was a joke.......

  20. Stupid admins... tool available by NineNine · · Score: 1, Flamebait

    Stupid fucking admins... there's a tool available for W2K boxes that checks to make sure all security patches have been applied to all server software up to the minute. All you gotta do is run it! It works great. Dumb fuckers.

    http://support.microsoft.com/default.aspx?scid=k b; en-us;Q303215

    1. Re:Stupid admins... tool available by Anonymous Coward · · Score: 0

      That's what they get for being MCSE certed.(Mentally Challenged Slaves of the Empire)

      I'd be afraid if an admin just installed SQL and did nothing else.

      Drop Database anyone?

    2. Re:Stupid admins... tool available by ergo98 · · Score: 1

      You know this sort of anti-MCSE apparent jealousy is common on Slashdot, but I'd love to see some correlation with reality versus this manufactured /. take on things. It would be my conclusion, based on industry knowledge, that more often than not the people who actually took the initiative and got their MCSE or MCDBA would be the last person vulnerable to a basic admin fault like this. The most vulnerable would be the Linux guru who asserts his knowledge over all things computer related by assuring all around him that he is a M$ l337 d00d too, even though he hates them, so he can show them what they need to know and can get 'em set up.

      And for those who would say "Oh, but I know a guy who's an MCSE and he's so dumb..." : You can say this about anything, be it a professional engineer designation, a phd, a masters, etc - There are people who slip through the cracks, however given the choice between someone just declaring themself an expert at MS software, and someone who actually took the initiative and demonstrated their knowledge, I'll give the MCSE guy some credit.

  21. blank sa password boxes deserve what they get by Pov · · Score: 1

    This virus is completely reliant upon the "sa" administrator account to the SQL Server being left with a blank password. Frankly, anyone who leaves their system in this configuration is lazy and deserves to contract a virus to teach them a lesson. Now whether or not your average MCSE falls into that category . . .

    --
    --- Don't be a player hater: I meta-mod ALL negative mods as Unfair.
  22. Reflection on Priorities by chill · · Score: 5, Insightful

    Many exploitable holes such as these can be attributed in part to the management mentality that one or two over-worked, under trained "computer people" can handle professional system/network administration.

    Frequently SysAdmins started their jobs in another field, like Engineering, and were sort of migrated over. Little formal training was given, let alone budget for. Most smaller (sub-Fortune 500) operations were more of a congealed mass than a designed network.

    Then, when the LAN wasn't hooked to the Internet, and some poor schmuck install MS BackOffice and wanted to instal SMS Server, it told him he had to install SQL Server. A couple of quick clicks and you're done. Odds are, he clicked thru the admin password not thinking he'd EVER touch MS SQL other than as a backend for SMS.

    Pity the new admin who inherits such a setup. You think a new admin is given time to actually check a network configuration out, much less do a proper security, performance, license audit? Nope. Get in and tell me why Outlook is saying my deleted folder is empty. I haven't emptied it since 1998 and everything was always there before when I needed it!

    Stupid worms/viruses/exploits will prevail until the MENTALITY of management changes. Computers run most modern business, they are not an afterthought. The people that take care of them should be properly trained, with proper budgets. Periodic PM (preventative maintenance) needs to be allowed, scheduled and performed.

    I feel pity for the admins who have to deal with these worms. I feel nothing but contempt for the management process that let them get in this position.

    --
    Learning HOW to think is more important than learning WHAT to think.
    1. Re:Reflection on Priorities by estoll · · Score: 1

      I fully agree with your point.

      However, I think management needs to change their mentality when it comes to technology overall.

      When it comes to most technology related parts of a business, management (in general) is too short-sighted. Nobody wants to think ahead, they just want the answer (now). I have yet to work on a development project where management lets you take even 1/4 of the time necessary to design an application-- they just want you to dive in and start working.

      I know a development example is a bit off-topic; however, the end result is similar. Under-designed applications, IMHO, take 60-80% longer to produce. Similarly, a network that isn't protected properly gets attacked by sqlsnake worms. It is all relative.

      Management needs to change their mentality for the information age. Can anyone with a business management degree chime in here? Are managers taught to think only short-term in school? What can the developers, sys admins, etc do to communicate the importance of planning to management?

      --
      http://www.askthevoid.com
    2. Re:Reflection on Priorities by dthable · · Score: 1

      I'll chime in, but I quit the whole business thing late last year. I really couldn't believe the kind of crap that went on in some of the MIS courses. People would be proud that they passed a simple course in database design with a D+. Students wouldn't want to take the course in C or C++, but rather would opt for VB only because they could make crappy software fatser. The professors never taught how to trap errors, or validate the user input. None of this was ever stressed. I finally had it when someone in the C++ course couldn't grasp the concept that C++ is case sensitive.

      I'm now much happier in the CS program. Everyone has an attitude they carry with them in life. Most engineers are always trying to figure out how something works. Business people, just like to hear the key buzzwords and listen to each other drone on for hours.

  23. Is this the first major Javascript worm? by burgburgburg · · Score: 1

    This worm (or snake) uses javascript as it's testing and construction tool. Is this the first major worm to do this? I'm asking only about worms, not web exploits or the like.

  24. Read up by kylus · · Score: 1

    SARC Analysis

    Sophos' Write-Up

    If over 1,000 boxen are already compromised, I have to wonder about SARC's statement that this is 'unlikely to spread.'

    --
    --Kylus
    Idiot-proof something, and Life will build a better Idiot.
    1. Re:Read up by Erasmus+Darwin · · Score: 2
      "If over 1,000 boxen are already compromised, I have to wonder about SARC's statement that this is 'unlikely to spread.'"

      Spreading implies that it's continuing to infect more hosts. If it has already infected all infectable hosts, then it's not able to infect more hosts. If we assume that the random number generator it's using is at least decent, then the number of probes on port 1433 point toward the worm having hit all IP addresses several times (excluding the few addresses that the worm doesn't target -- it skips over 192.0.0.0/8, for example, despite there being a number of legitimate IP addresses in the range).

      So with very, very few exceptions, I suspect that most people are either already infected or completely immune, at least as far as the null password worm goes. The brute force cracking worm might be able to spread more, given that it has to employ quite a bit more effort to get into a host.

  25. Default passwords and servers exposed by rabtech · · Score: 5, Redundant

    First of all, if you attempt to set a blank admin password for SQL Server it gives you a warning that doing so is a very bad idea. None the less, you'd be surprised at how many are blank (or just use sa/sa). The article makes it sound like the default sa password is blank - this is NOT the case. Also, although you cannot disable the sa account, you can rename it during setup.

    Secondly, as has already been pointed out here, your database server should not be exposed to the net in general. There is usually very little reason to do so. If you need to let other machines access the SQL box from abroad, create an IP Security filter that only allows port 1433 for a specific subnet or ip address.

    Don't complain that you got rooted when your login is root/root.

    --
    Natural != (nontoxic || beneficial)
    1. Re:Default passwords and servers exposed by BurritoWarrior · · Score: 2

      http://www.kb.cert.org/vuls/id/635463

      Earlier versions of SQL server install with a blank SA password by default, I believe, and this is what is at the root (no pun) of the problem.

    2. Re:Default passwords and servers exposed by Unipuma · · Score: 1

      Not only do the early versions of MS SQL server (up to and including 7) accept a blank password for SA upon install, you don't actually get asked to set a password.
      Only after installation can you enter a password for the SA account, by going to the security section and changing the login for SA.
      Service Pack 2 was the first to address this issue, and comes with a warning if your SA account uses a blank password.
      Version 2000 (and up, I presume) do request a password upon installation.

    3. Re:Default passwords and servers exposed by FearUncertaintyDoubt · · Score: 1
      Earlier versions of SQL Server (i.e., before SQL 2000) did default to a blank sa password, so there's probably plenty of 7.0 and 6.5 servers out there swingin' in the breeze.

      Microsoft makes it a trivial thing to install SQL Server, so inexperienced people can successfully installing -- it's easier to install than MS Office. It's pretty common for developers to install it and try to admin it, which is how you get 1433 exposed to the internet with a blank sa password.

      However, if you're exposing port 1433 to the internet, not only are you unzipping your fly security-wise, but you also probably owe microsoft some huge money for licensing. Under SQL 2000, to have a server that lets internet clients connect (either directly or indirectly, as through a web server), its $5,000 per processor or for SQL Server Enterprise Edition (required for >2GB RAM usage, log shipping, indexed views), $20,000 per processor. Earlier versions weren't as expensive, but required this whole complicated internet connector licensing that confused the hell out of everyone.

      So maybe Microsoft will adapt this exploit to find out who's using SQL Server on the internet but cheating them out of their licensing fees. If UCITA or other self-help laws get passed, they'll have every right to.

    4. Re:Default passwords and servers exposed by andcal · · Score: 1

      You may not be able to totally get rid of the sa account, but you certainly can turn off SQL authentication, and go with Windows only authentication. If you do that, and then try to connect to the SQL Server, using the sa account (even with the correct password), you will receive something like:
      Server Msg 18452, Level 16, State 1
      [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'sa'.Reason: Not associated with a trusted SQL Server connection.

      --
      --something witty
    5. Re:Default passwords and servers exposed by ergo98 · · Score: 1

      First of all, if you attempt to set a blank admin password for SQL Server it gives you a warning that doing so is a very bad idea.

      In previous versions of SQL Server, while it did ask for an sa password (I just installed SQL Server 7 by chance and it DID have a page for the admin password, and a choice to use mixed or NT mode authentication. I agree that MSDE and auto-installed SQL Servers could be installed without the prompt, but a normal install does prompt for an sa password) it happily allowed you not to set one. The current security toolkits from Microsoft do check to ensure that SQL Server has a sa password (encouraging you to switch to NT mode as well) so there really is no excuse for well managed shops, and again this is sort of a "survival of the fit" darwinism taking place in the computing world. You can disable the sa account by switching SQL Server to NT Authentication mode versus Mixed Mode (mixed mode is when SQL Server has its own authentication model), and this has been the recommended configuration for some time.

      Secondly, as has already been pointed out here, your database server should not be exposed to the net in general. There is usually very little reason to do so. If you need to let other machines access the SQL box from abroad, create an IP Security filter that only allows port 1433 for a specific subnet or ip address.

      This is false security and shouldn't be used as a defense or mask of the problem with SQL Server. What happens when one of your users (inside the firewalls) opens an email with a trojan that then scans your internal network (falsely believed to be safe) and infects the servers from the inside? A firewall should never be considered more than a pleasant convenience, but it shouldn't even be considered relevant when doing a security analysis.

      Don't complain that you got rooted when your login is root/root.

      It should be noted that contrary to much of the belief on here, most SQL Server installs run with a SQL Server specific account (versus an admin accounts) : In my case this is one of the LEAST priviledged accounts on the system, with extremely limited rights and file accessibility: You could accomplish very little outside of the db if you "rooted" my SQL Server box and started running xp_cmdshell commands, though of course having rights to all the data in the db could be a problem

    6. Re:Default passwords and servers exposed by Anonymous Coward · · Score: 0

      One of the requirements of sql server is that the account it runs under needs to be a local admin. You may not be running it from the "administrator" account, but you are (or should be) running it from an account in the local administrator group. This is the real root problem with the xp_cmdshell exploit. Microsoft should make the necessary changes to allow SQL server to run from a less priveleged account. Without making a change, the xp_cmdshell exploit will always be an issue.

    7. Re:Default passwords and servers exposed by ergo98 · · Score: 2

      One of the requirements of sql server is that the account it runs under needs to be a local admin

      ? Since when? I've installed countless SQL Server installs in my time, and never (I barely remember the 6.5 and prior days, so I'm talking 7.0+) has there been an admin requirement of SQL Server's service account (quite contrary actually, and I've actually gone the opposite direction. Apart from "log on as a service", I've revoked virtually all other rights from that account apart from over its own registry entries, and the file tree specifically for SQL Server. There is no reason for SQL Server to be a local admin.

  26. I switched! by Pinball+Wizard · · Score: 2
    I found the way out!


    What was ASP is now Perl.(look at the link before you click, then look at the address bar after you arrive). What was SQL Server is now MySQL. And what was IIS is now Apache.


    I'm sleeping much better these days now that I don't have to scramble every week there is another hideous security flaw announced. Not to mention they(MS) recently stated if they opened their source, even worse flaws would be revealed.


    As the new Rush song(Secret Touch) says, "The way out is the way in".

    --

    No, Thursday's out. How about never - is never good for you?

    1. Re:I switched! by Lysol · · Score: 1

      Hmm, well, this doesn't necessairly make you more secure just cuz you switched over from m$ to non-m$.

      ASP vs. Perl is no great thing. They're both still scripting.

      SQL vs. MySQL is no biggie either. Big deal, they're still db's.

      IIS vs. Apache. Mmmm, well, Apache has shown it's strength and maturity there, but it's different than IIS, so, I dunno.

      I guess my question is why did you switch? Do you know all the exploits from both systems? Or is it because *nix is 'supposed' to be more secure??

      The only real way to be sure for yourself is to know all products inside and out. I'm no m$ champion or anything, but your statements are pretty broad and generic. And that tells me, possibly, lack of experience and full understanding. But I guess if you don't give into the man, then more power to you.

    2. Re:I switched! by a3d0a3m · · Score: 0, Flamebait

      Compare the number of patches to Apache, Perl, MySQL and Linux to the number of patches for Windows, IIS, and SQL Server in the past year and you will be surprised! A lot more patches on the open source side. Just because you install some free software doesn't mean you don't have to keep up with the patches!

      adam

    3. Re:I switched! by Pinball+Wizard · · Score: 2

      well, I didn't want to go into too much detail, but it was a combination of things - licensing, security, flexibility with implementaion.

      I can tell you without a doubt that Apache runs rings around IIS in terms of its ability and security. That rewrite rule that I just demonstrated is one example - IIS can't do that. There are many other goodies(load balancing, using mod gzip, etc) that I haven't gotten to explore yet.

      Perl is an order of magnitude better of a scripting language than ASP(which technically is a script host, not a language per se.) It has a superior regex implementaion, and the best set of libraries available to it that I've seen in any scripting language. Not to mention, its pretty damn fast.

      MySQL I suppose compares the least favorably, but there are a few features that make it ideal as a web database. Security and ease of use are very good. It has good built in text indexing. Also, it has a LIMIT keyword that lets you do recordset paging in the database itself rather than in the code. I haven't seen this feature in any other database.

      --

      No, Thursday's out. How about never - is never good for you?

    4. Re:I switched! by Pinball+Wizard · · Score: 2
      I call bullshit. There may be patches, but they aren't the kind that patched remote root exploits.


      Incidentally, most of the (relatively few)problems that Apache has had since version 1.3 are on the Windows version of Apache.

      --

      No, Thursday's out. How about never - is never good for you?

    5. Re:I switched! by TurboDog99 · · Score: 0

      I totally agree with you on this one. Most of the patches for Linux that I've seen were for local problems. I'm sure if we had the source to EVERY program that shipped with Windows, we'd find a bunch of juicy local buffer overflows. Don't even get me started on that checklist Microsoft has on securing a machine against local users. It takes hours to setup initially. My other problem with the way Microsoft ships SQL Server is that to my knowledge, there is no way to not make it available on the network. Postgres, for example, requires you to specifically set it up for TCP use. SQL Server would have been much more secure if it were initially only available on the local system until it was configured for networking. You should also be able to set to which IPs it will respond because most SQL servers only need to be available to a small number of machines or to specific subnets.

  27. SQL server on the internet? by mlrtime · · Score: 0

    Is there a practicle scenario where you would want your SQL server to be listening on the outside interface? Or does it just bind to 0.0.0.0:1433 by default?

    -mlr

    1. Re:SQL server on the internet? by bpfinn · · Score: 1

      The only practical scenario I can think of is to be able to say "See, we do need a firewall for our network" to your PHB after it gets compromised.

  28. Ugh! by Lysol · · Score: 2, Interesting

    A few things;

    One, ok, so, another m$ "exploit". Why does it always have to have this "see, we told you" attitude? After a while, you get tired of finger pointing. Especially when it's all action and little thought. Think? Nah, I'll just complain first and then eat my foot later.

    Two, any IDIOT that puts their SQL server on a public network deserves to get it cracked. This would be the same for any db on a public network. I mean, c'mon, a null sa password?! If someone told you to jump off a cliff, would you? Common sense yo! Jeeze..

    Fellow /.'s, I have to put forth the real issue here which is bad sysadmin. True, m$'s strategy is 'fast, easy, fun', and while it is probably better practice to lock everything down on install vs. not, it's not a m$ problem so much as it is an admin problem.

    I've worked for companies which take the easy road (hire dumb people to do smart things) and the hard road (smart peeps, smart things) and that's what this is all about. Not m$ as much as the companies that are cost cutting everywhere (except when it comes to executive perks), especially IT.

    It is true that m$ does have a lot of security through obscurity issues, but it would be time well spent jumping on the cracked systems than m$. Because, honestly, they don't care. These systems can me made as secure/insecure as the sysadmin wants, so it's really their fault.

    1. Re:Ugh! by MrHat · · Score: 1

      I mean, c'mon, a null sa password?! If someone told you to jump off a cliff, would you? Common sense yo! Jeeze..

      If someone sold you a bridge to walk across blindfolded, then left a plank out and didn't bother to tell you, would it still be common sense?

      A lot of these exploited machines are clients, not servers, running a scaled down version of SQL Server embedded in another product. According to another poster, Access XP uses SQL Server as the database backend, sets the 'sa' password to blank, and doesn't even notify the user that their machine is serving TDS completely unprotected.

      I agree that it sounds like complete incompetence, but I'm not sure it's entirely the users' fault in some of the cases.

      If your publically-accessible database server gets owned, well... <chris rock> I can't say you deserved it, but... I understand. </chris rock>

  29. Started a couple of days ago by red_dragon · · Score: 2

    I've been noticing a more-than-usual amount of probes to port 1433 on my firewall during the past couple of days, although it seems to have really spiked up since last night. DShield seems to prove this, as their "movie" demonstrates.

    --
    In Soviet Russia, Jesus asks: "What Would You Do?"
  30. I hope nobody breaks the blank SA password by tmcmsail · · Score: 2, Funny

    Some of the DBA's I have worked with love a blank SA password. They also love to write scripts that attach with SA and a blank password. I hope this will teach them to stop being stupid...

    I guess they can use next.

    --

    What OS do you want to abuse today?

  31. Attacker. by Triskaidekaphobia · · Score: 1

    The latest event in my firewall log is an attempted attack from these guys.
    Doesn't say much for the quality of their SQL Server training course.
    Day 1, lesson 1 should be change the admin password after installation.

  32. In Other News by Diamon · · Score: 5, Funny

    A massive "unlocked door" worm has been ravaging users of Schlage locks. Aparrently hackers have been breaking into houses with Schlage locks installed. 9 out of 10 users were found to have installed the locks but never engaged the locking mechanism, and many times had left the key in the knob.

    1. Re:In Other News by White+Roses · · Score: 3, Interesting
      Good point. I do actually think that a lot of clueless admins ought to be flogged with cat-5 until they wake up and close the door.

      On the other hand, you know when you've put a Schlage on your door. You can see it, it's "well documented," and it's obvious how you lock it down. Too much MS software isn't well documented, it's not obvious how you lock it down, and the most egregious point is that you might not be able to tell (easily) if it's been installed.

      Both are left unlocked by default after installation, though, so I can't point that out. But I think that MS is more like installing 100 locks on your door, some which are locked and some which aren't, some with keys and some without, and nothing to tell you which is which.

      --
      Do not touch -Willie
    2. Re:In Other News by pythorlh · · Score: 2
      However, you already knew that you had a door...

      MS has this server built-in to many installs. It like installing an room air conditioner and the contractor puts a hinge on it so you can use it as a door. Then, he installs a lock on the hinge, but leaves it unlocked, and doesn't even bother to give you the key.

      --
      Do not confuse duty with what other people expect of you; they are utterly different.Duty is a debt you owe to yourself.
    3. Re:In Other News by Steve+Franklin · · Score: 1

      So you're saying this all comes down to what all Microsoft problems come down to: all the "improvements" and "upgrades" have been bolted on as afterthoughts? Yet, when somebody invents a new OS designed from the ground up, it dies an ignominious death because nobody wants to go to the trouble of learning a whole new system. It's the same story as the stupid qwertyuiop keyboard.

      --
      Hic iacet Arthurus, rex quondam rexque futurus.
    4. Re:In Other News by White+Roses · · Score: 2
      Ah, like Linux, or Mac OS X (NeXT), or BeOS? OS/2 Warp? Perhaps Plan9 suits you well? Two are dead, the others are doing well.

      I don't use MS products. My bosses have all had trouble with me because I won't. I'll find another way.

      However, I also freely admit that I am able to find another way. A lot of people aren't. And a lot of people won't (which is the thrust of your argument).

      Sadly, with the keyboard thing, I know it very well, and am disinclined to swtich. On the other hand, no one is using an unlocked backdoor on my keyboard to hack my Mac from the internet. If they could, I'd learn something else fast. Point me to a non-qwerty keyboard compatible with OS X, USB (or FireWire, I suppose), and I'll give it a shot. I use a trackball instead of a mouse, if that's any indication of my willingness to try new things.

      BeOS's and OS/2's "ignominious death" was also due (in part) to OEM licensing, so let's not put all the heat on the end user.

      Still, my point was more that MS software is too obfuscated to fix easily or at all (and MS agrees with me). Anyway, the right tool for the right job. MS's tool is for the job of crashing computers and keeping IT support budgets fat.

      --
      Do not touch -Willie
    5. Re:In Other News by Bert64 · · Score: 1

      But with the exception of BeOS and Plan9, all those OS`s provide atleast some similarity and compatibility with other well-used systems.
      OSX for instance, is not only UNIX at it`s heart, but provides a compatibility layer for older macos apps aswell..
      Linux is basically a unix clone too..
      and OS/2 provides DOS and win3.1 compatibility.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
  33. Packaged apps by sphealey · · Score: 2
    It is very common for packaged business apps to include a license for an RDBMS (SQLS, Oracle, etc). The vendor shows up, installs a box in the corner, and says "don't worry - we will dial in once a month to check how it is running". Which if you think about it is how most tools/equipment/systems that businesses use work. So it is not "clueless" or "irrational" for the business using the product to not know the details of how the thing works.

    sPh

  34. Correction by IncarnationTwo · · Score: 2, Informative

    To quote security focus article:

    'According to SANS incident handler Johannes Ullrich, a preliminary analysis shows the code, which has been dubbed "SQLsnake," attempts to log in to the SQL administrator's account on a remote server using a "brute force" password cracker.'

    So, it inflicts even systems, that do not have blank sa password. It only inflicts those systems, instantly.

    --
    In dream society, people could be given the ability to mod replies. In real life, it would be disaster.
    1. Re:Correction by tshak · · Score: 2

      So, it inflicts even systems, that do not have blank sa password.

      Yes, via Brute Force. And guess what, if you have your SQL Server open on the Internet then it can be Brute Forced with or without a worm. The same goes for any FTP server, any Web server, and any other service that's open to the public. This has nothing to do with MS SQL server. Also, it is commonly known that brute forcing over the Internet is extremely slow and therefore does not pose much of a risk, even to relatively weak passwords.

      --

      There is no longer anything that can be done with computers that is nontrivial and clearly legal. -- Paul Phillips
  35. Solution for the clueless by Mattygfunk · · Score: 1
    With all of the clueless users / sys admins that don't run anti-virus software or don't update it, maybe it's time for a different approach.
    Why doesn't a clueless user friendly ISP implement a virus scan service on their end that sends an alert should it discover a virus?

    Easy sell when you can say your ISP:

    • removes the need for virus scanners (save $200+)
    • saves on virus code updates
    • saves the time to allow you to do your work rather than sys admin
    Chuck in a warning about how you are not held reponsible if something does slip through and your away.
    You heard it here first.
    1. Re:Solution for the clueless by Nintendork · · Score: 1

      Quite often, by the time the anti-virus vendor updates the DAT files, the worm has already propogated to every freaking node on the internet. Anti-virus is still a must, but not the total solution.

    2. Re:Solution for the clueless by Anonymous Coward · · Score: 0

      Virus scanners don't work that way. Intrusion Detection Scanners are what you are after. Virus scanners will scan files.

      Your ISP probably does not have access to your files unless they are hosting for you. If they are hosting for you, they usually have semi-competent people administering the systems. If they don't, that should be found out before signing up with them.

      Virus scanners and IDSs should be used internally as well if you are hosting your own site.

    3. Re:Solution for the clueless by jregel · · Score: 2

      Such companies do exist - we use www.messagelabs.com and point our domain's MX records to it and relay it out to them. This gives us virus filtering in both incoming and outgoing mail. When a virus is caught, the postmaster (or whoever we specify) is sent an email explaining what happened.

      It works very well and adds an extra level of security.

    4. Re:Solution for the clueless by Anonymous Coward · · Score: 0

      Some ASP's already offer this service - for instance, one of the biggest email ASP's, Critical Path, offers exactly this service. However, email is only scanned when it's come in and is never re-scanned - thus, the first instances of a virus will get through, however, most thereafter will be blocked.

  36. Why this one is especially dangerous by Nintendork · · Score: 4, Insightful


    The bulletin MS02-020 was just released about a month ago. Only the admins that place a top priority on patches (such as myself) are safe.

    I supported NT server for MS for over a year and can attest to the number of admins out there that rely too heavily on anti-virus software. When nimda spread and took over a buttload of systems, it was for this very reason. The thing spread before it could be researched and DAT files updated.

    Here's some solid advice for NT/2000/XP/.NET admins:

    Use the hfnetchk tool to monitor all NT based computers on your network for installed patches using the syntax hfnetchk -h host1,hotst2,host3 -v -z -s 1. It will also check for SQL, I.E., and IIS patches. Other products such as Office will have to be checked manually. At least Office has the officeupdate web site for easy installation that the users can do. Block email attachments with extensions that viruses use. Have anti-virus software installed that checks avery 2 or 3 hours for updates. Have a properly configured firewall (Blocks well known attacks) in place that only allows incoming session requests for what services are to be made available to the Internet. Lock down any services that are open to the Internet. Have strong passwords for all admin accounts (At least 10 random characters) and create a new one for each admin account once every few months. Same thing goes for any account that can authenticate in any way from the Internet (8 characters and changing every 6 months or so should be okay). If domain authentication is going to be provided to the Internet for some stupid reason, hack the registry so only NTLM v2 is used. Configure all windows computers to use the Peer-Peer node type 0x2. Use switches instead of hubs to prevent evesdropping and assign MAC addresses to ports for your servers to avoid MAC address spoofing. Most of these things are a one time setup. The ones that require maintenance are worth the trouble.

  37. Re:is this related to by Anonymous Coward · · Score: 0

    Obvious proof that O sama B in L auden is using slashdot to pass commands to his t errorist c ells.

    Better hunker down boys, the feces is about to impact the rotary oscillator. Again.

  38. iptables by Anonymous Coward · · Score: 0

    Just take advantage of the iptables MIRROR target, let them have even more fun when their packets bounce straight back to them with the source and destination addresses switched around :o)

  39. ...but what about the beancounters? by Asprin · · Score: 2

    If your accounting software uses MSSQL as a backend and was installed by accounting consultants, you probably need to pay special attention to this alert. Odds are, they didn't set an sa password when it was installed either -- mine wasn't.

    --
    "Lawyers are for sucks."
    - Doug McKenzie
  40. Re:The Buffoon And The Dean Of Admissions by Anonymous Coward · · Score: 0

    Moron, it's "I got a snake, mang!" =)

  41. .NET Developers Vulnerable too by IdleMindUI · · Score: 2, Informative

    The Microsoft Data Engine (MSDE) that comes with the .NET SDK is just a stripped down version of SQL server. Unfortunately enough, it's got enough "features" to make it vulnerable to attack. Sure I'm just stating the obvious, but I've already talked to 3 boneheaded .NET developers that insist that they're not running SQL Server. Imagine what I found on port 1433...

    1. Re:.NET Developers Vulnerable too by Anonymous Coward · · Score: 0

      MSDE from VS.Net isn't vulnerable.
      Unless you mucked with the setup process for VS.Net, your install of MSDE is using NT Auth. This means unless the account you used to install VS.Net was named 'sa' and had a blank password AND was in the Administrators group, your MSDE isn't going to be exposed to this worm.

      Of course, if your account was named 'sa', did have a blank password AND is part of the Administrators group, you're kinda screwed from the git go. :)

  42. A thought or two by TVmisGuided · · Score: 1

    Okay, so there's a new MS-SQL worm going about. And it goes after default-install systems, of which there are around 1000 or so (now compromised, according to the article).

    Big deal.

    The problems, IMO, are not specific to Microsoft, no matter what this article may or may not imply. It's also a matter of getting trained and clueful admins in house to handle production-level servers, instead of just foisting the job off to the nearest PFY.

    Granted, I'm not the most sympathetic voice in the crowd towards Microsoft. If what I've read is anywhere close to accurate, the government should immediately pull Microsoft's plug and migrate all critical systems and applications to [insert name of favorite *nix-type system here] in the shortest time possible. But clueful sysadmins and DBAs are the first, best line of defense against such attacks. Anyone care to dispute that?

    End of vent. Coffee and croissants are being served in the community building next door. And be careful, the coffee's hot.

    --
    All the world's an analog stage, and digital circuits play only bit parts.
  43. Re:MSCE = Dumb Linux Certified = Smart Very Smart by Anonymous Coward · · Score: 0

    How much is the Microsoft solution cost your business today. Linux Admins are sitting back and watching the NT guys say "Poor Bastards Microsoft Screwed Them Again When Will They Ever Learn Linux" MySQL is an option perhaps if you are using Micro$oft VirusWare you should consider a migration to Linux GNU right now. Think about it if you had Linux GNU you could be hanging out with the Linux Admins instead of tending to another MicroCrashVirusBSOD alert. Hey how much did that Microsoft solution that Bill Gates cost your company today did you sign up for Microsofts Tier 5 Extortion Support Plan how many $$$ to Microsoft Extortion Support Center. Dont worry it will be fixed in the next release which only runs on XP of course you want to sign up for the Enterprise Screw Your A$$ Extortion Agreement and sign up for Microsofts Premier Bend Over and Say Cheese Support. Of course Linux Unix and Lunch boxes will now become Windows boxes and you will have to get a license and passport before connecting to the Micro$oft .Net Network Enterprise which is controled by the Borg in Redmond. "All Your Data Boxen and A$$'$ Belong To Micro$oft".

  44. Hum by zBoD · · Score: 1

    Will slashdot post a story each and every time a new worm is out ?

    BoD

    --
    BoD
  45. MySQL benefits :) by mgkimsal2 · · Score: 2

    One of the nice things I've noticed about MySQL (having used MSSQL as well) is that I can have MySQL prevent people from connecting based on IP addresses, even if they have the proper username/password credentials. I could never find a way to do this in MSSQL - is there a way of doing this? Yes, it's not perfect, but it's definitely a nice extra that MySQL offers which I've not seen in MSSQL. Again, if it can be done, someone let me know.

    Also, why does the SQL Server run at all without a password? IIRC in the latest versions the installation prompts you for an 'sa' password to set, but earlier ones didn't do that. Why not just disable the program - when running it having a popup say 'hey - I won't run unless you set a password!' and be done with these types of 'holes' (yes, it's really just lazy admins, but the computer should be doing more thinking for me at this level - perhaps Clippit could bounce up and demand a password be set?)

    1. Re:MySQL benefits :) by RocketScientist · · Score: 1

      (1) want to keep people from certain IP's from hitting your SQL Box? Use a firewall. That's what it's for.

      (2) Then you'd end up with everyone setting their "SA" password to either space or, helpfully "sa". Why does C++ allow you to make unsafe pointer assignments? It assumes you know what you're doing. SQL Server is the same way, unfortunately lots of folks don't know what they're doing.

    2. Re:MySQL benefits :) by Daltorak · · Score: 1

      Remember that, by default, the root password for MySQL is blank. Yes, the installation instructions tell you how to change it, but you aren't forced to do so in order to get a database up and running.

      I consider this to be a design flaw in MySQL, and I imagine most security-conscious people would agree. Even if it was a case of generating a random password (or, e.g., falling back to PAM authentication for accounts w/o password), that would be preferrable to the current situation.

      Aside from that, yes, MySQL does offer a pretty comprehensive "Internet security" solution when compared with MS-SQL 2000.

    3. Re:MySQL benefits :) by mgkimsal2 · · Score: 2

      You're probably right about #2, but it wouldn't be that hard to specify a minimum password length.

    4. Re:MySQL benefits :) by Anonymous Coward · · Score: 0

      You can always block IP addresses using the built in packet filter. It's something like control panel -> network -> tcpip -> advanced. Sorta like a dumbed down tcpwrappers.

    5. Re:MySQL benefits :) by prog-guru · · Score: 1

      I was going to mention the default null root passwd on MySQL too, until I remembered it won't allow connections from the network after install (only the local machine can connect).

      A random password would be nice, or even better, disable the root account and make them start it with --skip-grant-tables to set it. I guess nothing would stop them from just running with --skip-grant-tables all the time though.

      --

      chris@xanadu:~$ whatis /.
      /.: nothing appropriate.

  46. Heh by cpuenvy · · Score: 1

    My LINUX server got 51 failed attempts from this M$ problem yesterday... Will people ever learn?

    --
    DISCLAIMER:

    I don't believe what I write, and neither should you.

  47. WOULD IT KILL YOU TO FUCKING SPELL CORRECTLY! by Anonymous Coward · · Score: 1, Funny

    Christ, don't you ever READ what you post!!!

    1. Re:WOULD IT KILL YOU TO FUCKING SPELL CORRECTLY! by Anonymous Coward · · Score: 0
      Not at all: C-O-R-R-E-C-T-L-Y.

      What else would you like me to spell?

    2. Re:WOULD IT KILL YOU TO FUCKING SPELL CORRECTLY! by Anonymous Coward · · Score: 0

      I had first read the title as "Would it kill you to spell 'FUCKING' correctly ?"

    3. Re:WOULD IT KILL YOU TO FUCKING SPELL CORRECTLY! by cball2k · · Score: 0

      ...the grammer pot is calling the kettle black it seems...

      "Christ, don't you ever READ what you post!!!"

      to spout off when your own grammer is lacking, is a trolls thing to do...

      --
      karma, hah...
  48. Boy, I'm glad by Anonymous Coward · · Score: 0

    I uninstalled MS SQL a couple months ago. I converted everything to MySQL, and trashed MS SQL. I'm feeling pretty smart right now, of couse, I wouldn't have been effected anyway because I had a strong password on the SA account.

    Now I need to convince the execs to convert from Win NT to Linux......I'm tired of playing MS daily patch game.

    Cheers.

    ProgrammingArt

  49. Help for Geeks by Anonymous Coward · · Score: 0

    "Could have" or "could've," not "could of." This one is getting really bad nowadays, and it's embarrassing. I mean, listen: "I could of touched Natalie Portman." Could OF? That doesn't make any sense!

    "It's" = short for "it is." "It's petrified!" Not "its petrified!"

    "Its" = possessive. "Drowning in its piss," not "drowning in it's piss."

    "You're" = short for "you are." "You're a dork."

    "Your" = possessive. "Your grits are hot."

    Now repeat after me: "Yes, playing with computers is fun, but I should probably take a break every now and then, and reading a book once every month or so is probably not such a bad idea."

    1. Re:Help for Geeks by Anonymous Coward · · Score: 0

      All this information, yet you missed the fact that BULLETIN is spelled incorrectly (it is spelled bulliten) in the announcement. Screw usage, how about we just learn how to SPELL??

  50. This exploit is in an old version by DarthBobo · · Score: 1

    Not that I'm a fan of MS's security, but the null password was fixed (literally) years ago. SQL Server 2000 requires a password for the sa account when you set it up. You can override it if you really want, but thats not MS's fault.

    - N

    --
    +--------------------- You idiot! I told you we were facing the wrong way!
    1. Re:This exploit is in an old version by GolfBoy · · Score: 1

      Although I expect to get flamed for saying this, the whole SQL named password thing is a bit of a SQLServer anachronism. The 'prefered' way to install SQL is to use domain security only. If you want to use named logins (which is convenient sometimes, but mostly only for legacy reasons) you can set it up that way. You have to go out of your way to do so though.

      It's lots more convenient to use domain pass-through authentication for almost all purposes. Now, if these systems were upgrades from SQL 6.0+ then that's a problem. However, if these were clean SQL 2000 installs, the people who set them up not only explicitly chose a blank password, but also explitcity chose to use named logins at all.

      You get what you get.

  51. All Your SQL filesystems belong to micro$oft worms by Linuxb0y · · Score: 0


    A patch a day keeps the micro$oft worms away. ;o

  52. Job Security by Spazzz · · Score: 1

    I am a firewall engineer/tech. As bad as I hate to say it, but, especially with the tech industry being in the shape it's in right now, things like this help assure that I will have a job for the foreseeable future.

    Also here's another article about the worm, for those who care.

  53. Somewhat agree by mgkimsal2 · · Score: 2

    I see this a lot talking to clients - they're convinced they can treat information processing just like they treat other commodity services/items (photocopiers, etc). When talking to clients, many of them have a 'DIY' approach to save money - outside consultants or expensive employees are often viewed as unncessary. Perhaps one day they will be, but for now, it's a requirement to have someone who knows what they're doing operate these things (in this case, databases). Probably half the time I know people are thinking we're trying to pull one over on them, thinking they don't need someone who knows what they're doing ("Hey, my cousin's business set up a webserver in 10 minutes and they don't even use computers! It can't be that hard!") Sometimes they're right, but at this stage of development, it's still a gamble they *shouldn't* take.

  54. How to use worms for market analysis by Funnyfant · · Score: 1

    Think of a new way...

    1.) Make your product easy to install
    2a.) Use a default setting for an internet port
    2b.) Use a default user account for deeper 'analysis'
    3.) Write worm (or wait for someone to do it)
    4.) Start worm (or wait for someone to do it)
    5.) Measure the uproar you caused usenet thread length (or wait for someone to do it)

    Refine method at will.

    Advantage of this method: It is easier to post messages into newsgroups than returning business reply mail cards. Cost is spread around the world.

    Limitation of this method: You get numbers of poorly installed products only.

    Proposal: Let's provide an open port for each piece of free (as in beer) or open (as in source) software so we can measure numbers there, too.

    --
    -- You Gotta Do What You Gotta Do
  55. I think 1000 is a pretty conservative estimate. by Zeekamotay · · Score: 2, Funny

    > Already over a thousand compromised system

    Grepping my firewall logs for hits to port 1433, I find 1078 hits since midnight, from 39 unique IP addresses.

    The majority appear to be dynamic residential addresses -- attbi.com, swbell.net, pacbell.net. Only a few resolve to static addresses. Here's one of the sites that probed me:

    http://210.90.207.4/admin.inc

    LMAO!

  56. Bullshit by Zelet · · Score: 1

    Sorry, I don't mean to be flaimbait or a troll... but I can't just sit here and listen to that crap.

    This is not microsoft's fault - ANY time a password is left blank or default there is going to be a problem. This is stupid admins (or lack of admins) not an MS problem totally.

    --
    ...And when they came for me, there was no one left to speak out for me." - Martin Niemoeller (1892-1984)
    1. Re:Bullshit by Master+Bait · · Score: 2
      Of course it is their fault. They, more than anyone, should know quite well that only an idiot would buy Micros**t SQL server. Surely, it follows that they can easily make sure it won't run without a root username and password.

      How pedestrian can we get here?

      --
      "Only in their dreams can men truly be free 'twas always thus, and always thus will be."
      --Tom Schulman
    2. Re:Bullshit by Bert64 · · Score: 1

      Well perhaps:

      If there is no password, then no non-local access should be allowed.
      The installer should force you to enter a password, and complain if the password you enter is poor.
      The installer should NOT enable the daemon for remote access by default, it should be upto the user to do this manually.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
  57. Two ways to install MS SQL by HerrGlock · · Score: 2

    If the administrator installed MSSQL and chose integrated security mode, that machine is not vulnerable, however, if the administrator chose mixed mode and did not set a password for the username "sa" then that machine is vulnerable.

    I've not seen that particular bit of advise on any of the pages, though.

    DanH

    --
    Cav Pilot's Reference Page
    UNIX - Not just for Vestal Virgins anymore
  58. Nice juxtaposition there by alex4point0 · · Score: 2, Funny

    Why The X-Box Network Will Fail

    New "SQLsnake" Microsoft Worm

    yuk yuk yuk etc

    --
    By the time you finish reading this sentence will end.
  59. Microsoft's peril, IBM's opportunity? by 00_NOP · · Score: 2

    The thing that strikes me about a lot of things like this is that they are immediately exploited by the anti-virus software writers, but not by the big Unix/Linux vendors.

    If I was in IBM I would have a budget set aside to ramp up a scary campaign about this and every other big worm/exploit - I'd be buying the spots right now to go on the offensive.

    Gentlemen, your opponent is drowning, so throw the son of a bitch an anvil.

  60. "the internet will be abandoned" by Marx_Mrvelous · · Score: 2

    Ok, first of all you clearly haven't worked for any business, small, medium or large. If you have, then it won't be in business very long.

    Second, companies *should be* and *are* responsible for security on their computer systems. By your logic, you would also claim that a company shouldn't have to buy locks, cameras or security personal for their buildings, because how would they have known that people exist that can break into a building. Your reasoning is flawed and feeble.

    A business is an educated entity. And for your information, the business world, from small to multinational, is going to continue to use the internet in more and more ways for their business. You may not buy it, but that's your mistake.

    --

    Moderation: Put your hand inside the puppet head!
  61. True SQL Server story by foyle · · Score: 1

    About two years ago, I was hired by a dot com (which has since layed me off) to do some database work. I had several years of Oracle DBA experience and one of the things they wanted me to do was be the SQL Server DBA. Imagine my surprise when I discovered that their SQL Server machine was not behind a firewall and had the default blank password for the "sa" user. This database stored the orders and account information (including credit card numbers) for several e-commerce sites. There were some junior programmers fresh out of college on the project working on code that a consulting company had originally supplied. The junior programmers didn't want me to change the "sa" password because everything was hardcoded to use the "sa" account (a bad thing) without the password (even worse). Management didn't want to clean the credit card numbers out of the database because "we might need them in the future". It took several weeks of me kicking up a fuss to get them to let me change the password and remove the credit card numbers. AFAIK, they never moved it behind a firewall.

    Sometimes a company just deserves to go out of business.

  62. driving a tractor-trailer by dpilot · · Score: 2

    Not only that, but you normally need a Commercial Driver's License to sit behind one of those.

    We're all saying that qualified sysadmins are necessary, but do we really want to go to *licensed* sysadmins? I have this ugly feeling that at some point, it may well take a license to make that final connection to the Internet. At that point, your ISP will be the licensed party, and you will have to use provided software on a acceptable platform. How many ISPs will allow you to connect on your own authority, assuming that you are licensed, is the next question.

    --
    The living have better things to do than to continue hating the dead.
  63. ... It's not just Microsoft SQL Server by twolniew · · Score: 1
    About 90% of the ORACLE databases I worked with still had the l/p: sys/change_on_install and system/manager logins unchanged! Not to mention the accounts for the sample databases...

    Before you release any system especially out in the open you have to take the due dilligance and verify its security... At least to a minimal extent.

    --
    T.
    SoftLogic Solutions
    http://www.softlogic.8m.com
    1. Re:... It's not just Microsoft SQL Server by Anonymous Coward · · Score: 0

      yeah but with microsoft it is a virus a day

  64. Mod that shit up to 6 if you can by swb · · Score: 2

    No kidding. Management are so busy shorting the company's stock or faking business to pump it up in an effort to get more money, coke and whores that they don't even understand that just because the server's don't crash 10 times a day they're not shorting their technology infrastructure.

  65. The Bugtraq article by metlin · · Score: 1, Redundant

    Slashdot's filters SUCK like HELL.

    I've been trying to post the Bugtraq's version of this bug, and all I keep getting is Your comment has too few characters per line.

    Internet Security Systems Security Alert May 21, 2002 - Microsoft SQL Spida Worm Propagation
    Synopsis:
    ISS X-Force has learned of a worm that is spreading via Microsoft SQL
    servers. The Spida worm is responsible for large amounts of Internet traffic as well as millions of TCP/IP probes at the time of this alert's publication. This worm attempts to locate and login to MS/SQL servers with the "sa" account and a blank password. Once a vulnerable computer is found, the worm will infect that target, send its configuration and password information to an external host, and begin scanning for new targets.

    Impact:
    Although the Spida worm is not destructive to the infected host, it may generate a damaging level of network traffic when it scans for additional targets. The scanner bundled with the worm is multi-threaded and is capable of scanning with 100 threads. A large amount of network traffic is created by the worm, which scans both internal and external IP addresses for vulnerable servers.

    Description:
    The Spida worm propagates via Microsoft SQL installations with administrator accounts that have no passwords defined. Although Microsoft recommends that the "sa" account be set upon installation, many servers are not properly secured. If the worm finds a vulnerable
    server, it will attempt to execute its startup script by running the "xp_cmdshell" function, which is the SQL call used to execute system
    commands within SQL queries.

    The main function of the Spida worm is to export an infected server's SAM password database and forward information about its network and
    database configuration.

    The worm installs all of its files into the \Windows\system32 directory except for services.exe, which is installed into the
    \Windows\system32\drivers directory. Each of these files has a distinct function which is outlined below:

    sqlprocess.js - This is the worm's main payload. It holds IP address arrays which are later used in the services.exe scanner. It executes
    "ipconfig /all" and appends this information to send.txt. This script then runs sqldir.js and appends all of the server's database
    information to send.txt. It then executes pwdump2 and appends the password hashes to send.txt, then runs clemail.exe and mails send.txt to ixltd@postone.com.
    After the email is sent, send.txt is destroyed and services.exe is run to scan for other vulnerable servers. This information is appended to rdata.txt, which the worm uses to attempt to propagate with the username "sa" and a null password. The sqlprocess.js file sets the registry value dbmssocn to configure the SQL server to use the Winsock TCP/IP library
    instead of the default DBNETLIB library:
    (HKLM\\software\\microsoft\\mssqlserver\ \client\\c onnectto\\dsquery).
    It also turns on the NetDDE service, allowing SQL to use the DDE protocol.

    sqlexec.js - This is a script used by sqlprocess.js to execute xp_cmdshell. sqlinstall.bat is run within this instance of xp_cmdshell.

    sqldir.js - Collects a list of databases on the infected system. Later, sqlprocess.js writes this information in send.txt to send to ixltd@postone.com.

    run.js - This script passes time information to and from timer.dll.

    sqlinstall.bat - Installs the worm then hides the files.

    clemail.exe - Simple mail program used to email out the send.txt file.

    services.exe - Scanner used by the worm to scan for other SQL servers
    on
    port 1433. This information is appended into the rdata.txt file. This file is multi-threaded and scans internal IP addresses before performing
    an external IP address sweep.

    pwdump2.exe - Injects samdump.dll into lsass.exe (a Windows program
    that
    performs the authentication of log-on credentials) in order to grab raw NTpassword hashes.

    samdump.dll - Uses the same API that msv1_0.dll uses to capture Windows password hashes.

    timer.dll - A counter used for installation and other functionality of the worm.

    Recommendations:

    Microsoft SQL Server customers should refer to the following address for information and securing Microsoft SQL Server:
    http://www.microsoft.com/sql/techinfo/adm inistrati on/2000/security.asp.

    ISS Database Scanner product implemented a check for a blank administrator password in December of 1998. Database Scanner customers are encouraged to enable this check if they have not done so. For more information, refer to:
    http://www.iss.net/products_services/enterpri se_pr otection/vulnerability
    _assessment/scanner_databa se.php

    ISS RealSecure Network Sensor customers may use the following connection event to detect access attempts to the SQL Server port. Follow the
    instructions below to apply the connection event to your policy. This connection event will detect legitimate connection attempts to MS/SQL
    servers.
    1. Choose a policy you want to use, and click Customize.
    2. Select the Connection Events tab.
    3. Click Add on the right hand side of the dialog box.
    4. Create a Connection Event.
    5. Type in a name of the event, such as "MS/SQL Port Probe".
    6. In the Response field for the event, select the responses you want
    to
    use.
    In the Protocol field, select TCP.
    In the Dest Port/Type field click the pull down box and create an entry
    for TCP port 1433:
    a. Click Add.
    b. Select TCP Protocol.
    c .Name the service "MS/SQL Port Probe".
    d. Use 1433 for the port number.
    e. Click OK.
    f. Select the entry just created.
    7. Save changes and close the window.
    8. Click Apply to Sensor or Apply to Engine depending on the version of
    RealSecure.

    To create a user-defined event RealSecure Server Sensor:
    1. Open the desired policy.
    2. Expand the Connections tree on the Protect view.
    3. Expand the User Defined Suspect Connections branch.
    4. Click Add to add a new User Defined Suspect Connections event
    5. Name the event, SQL_Connection.
    6. Select the desired responses under the response column.
    7. Enter "1433" under the port column.
    8. Save the Policy and apply it to the sensor.

    ISS BlackICE customers should monitor and/or enable the "SQL Port
    Probe"
    event. This event will detect probes by the Spida worm.

    ISS X-Force will provide assessment support for this vulnerability in
    an
    upcoming X-Press Update for Internet Scanner.

    ______

    About Internet Security Systems (ISS)
    Founded in 1994, Internet Security Systems (ISS) (Nasdaq: ISSX) is a
    pioneer and world leader in software and services that protect critical
    online resources from an ever-changing spectrum of threats and misuse.
    Internet Security Systems is headquartered in Atlanta, GA, with
    additional operations throughout the Americas, Asia, Australia, Europe
    and the Middle East.

    Copyright (c) 2002 Internet Security Systems, Inc. All rights reserved
    worldwide.

    Permission is hereby granted for the electronic redistribution of this
    document. It is not to be edited or altered in any way without the
    express written consent of the Internet Security Systems X-Force. If
    you
    wish to reprint the whole or any part of this document in any other
    medium excluding electronic media, please email xforce@iss.net for
    permission.

    Disclaimer: The information within this paper may change without notice.
    Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard
    to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet
    Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

    Please send suggestions, updates, and comments to: X-Force
    xforce@iss.net of Internet Security Systems, Inc.

    1. Re:The Bugtraq article by jamie · · Score: 3, Informative
      "Slashdot's filters SUCK like HELL."

      Maybe you don't really want to post a huge comment that will require readers to click through anyway (it's too big to display at once).

      How about posting a link to the ISS Alert instead? Is that so hard?

    2. Re:The Bugtraq article by metlin · · Score: 1

      I agree that I could have linked to the article, my mistake :-)

      But then again, a lot of times Slashdot filters have really come in the way, I do agree that they are a necessity, but sometimes I feel like it's an overkill.

  66. Could similar virii replicate by other means? by Asprin · · Score: 2

    here's a topic for further discussion....

    Now that the cat is out of the bag that MSSQL is "in play" as a target, I wonder if sealing 1433 and the sa password are enough to head off future attacks.

    The linked articles explain how the worm replicates by essentially logging on as an SQL client and storing a copy of itself in the database. Ingenious, but relatively easy to defend. However, couldn't future versions infect any-old-user's PC using standard email/windows virus techniques and then look for an ODBC connection which would hopefully, by now, be configured with a no-longer-blank sa password to seed a new infection? It might even hit more systems because it gets you inside the firewall that closed off 1433?

    In other words, is all the /. schadenfreude about dumb-ass sysadmins not setting the 'sa' password eventually going to be for naught? The problem is still MS's poorly thought-out standard of mixing code with data...

    --
    "Lawyers are for sucks."
    - Doug McKenzie
  67. hush! by Erris · · Score: 1, Flamebait
    Let Sheldon blame the users. Thanks Sheldon, we would not want to blame a poorly designed undocumented bunch of crap on top of an OS without real users and permisions would we? Microsoft fixed all that, didn't they?

    Think about the possiblity that holes might be put in firewalls to allow such traffic between corporate sites, that would be another good way to blame the users. That way, every desktop with Access 2000 could be burnt by this. Wow, think of a coroprate cluster fuc, functioning that way. Then imagine a cluster of corperations. BARF.

    --
    DMCA, Hollings, Palladium. What might have sounded like paranoia is now common sense.
    1. Re:hush! by Anonymous Coward · · Score: 0

      you are an absolute moron. if you want idiot-proof software, then buy a mac or a cash register or something.

    2. Re:hush! by Erris · · Score: 2
      you are an absolute moron. if you want idiot-proof software, then buy a mac or a cash register or something.

      Typical. You are telling me that anyone who gets burnt by M$ junk is a moron? That makes a whole lot of morons out there. Shame on you for blaming the user again. Thank you, AC and Sheldon for doing it so nastily with words like "incompetent", "stupid". We know what you M$ fan boys really think of people who don't waste all day restarting, patching, and running in circles for Bill Gates.

      To think that the parent post was marked as flamebait.

      --
      DMCA, Hollings, Palladium. What might have sounded like paranoia is now common sense.
  68. God, get a spell checker! by Anonymous Coward · · Score: 0

    Or "Hooked on Phonics" or something...

  69. They probably forgot to count by CaptainZapp · · Score: 2
    Microsoft SQL is the most popular Web database, with 68 percent market share, according to Microsoft.

    free alternatives

    --
    ich bin der musikant

    mit taschenrechner in der hand

    kraftwerk

  70. There are variants out already. by dave-fu · · Score: 2

    Two different looks, two different payloads. One queries then tries the blank PW before brute-forcing, the other fires and forgets.

    --
    Easy does it!
    This comment has been submitted already, 276865 hours , 59 minutes ago. No need to try again.
  71. You NEED a DBA! by texbig · · Score: 1

    As a MS SQLI think the real problem here is not with the MS SQL Server software (the "sa" password problem is also shared with Oracle), but with the management. They often have the MS Windows Admin / Help Desk people also manage the SQL Server database. The Windows Admins usually do not have the time or expertise to adequetely manage the complex DBMS servers. They really need "specialist" DBA's who are familiar with both general DBMS issues and with MS SQL Server in particular.

    1. Re:You NEED a DBA! by codeguy007 · · Score: 1

      I would still blame the software. Microsoft could write the installation so that it asks the user to enter a password instead of using the default.

      Microsoft software is just insecure. With the expensive licensing costs, why would any intelligent CIO ever use Microsoft Software. Well probably because they get told to.

      Another problem is people selling E-commerce solutions based on MS-SQL. Company find canned solutions that are easy to install them resell them despite not being able to do anything more than a basic install with the software. Companies go with the lowest bidder which happens to be these idiots who don't know what they are doing. Sooner or Later their MS-SQL server gets hacked and another 10,000 visa numbers start floating around the internet.

      I agree that having a DBA is advisable but using MS SQL isn't.....

  72. Every two or three hours? by gfecyk · · Score: 1

    Have anti-virus software installed that checks avery 2 or 3 hours for updates.

    OK, so how long before you recommend to admins that they update every hour? Or require continuous persistent updating?

    Not only is there not enough bandwidth at an admin's site to handle the anti-virus updates alone (never mind vendor patches), the anti-virus firms don't have enough bandwidth to service all those admins all at once.

    I think Rob Rosenberger described it best.

    --
    Use Evolution instead of Outlook? Bewa
    1. Re:Every two or three hours? by dasunt · · Score: 2

      In Norton AV Corp, you set up one machine on the network as a server, let that one grab the updates, then distribute it to the clients. Best thing is, Corp doesn't need to reboot when it gets updates.

      Great for lowbandwidth sites.

    2. Re:Every two or three hours? by compwizrd · · Score: 1

      As well, you can lock down the workstations for things such as the users don't have the option to (C)ontinue, when it warns of a virus.

      Remote reporting from the clients to the server, the server can force a scan at any time on the clients.

      etc
      etc

    3. Re:Every two or three hours? by prisoner · · Score: 1

      can you do this with windows? It's a pain in the neck to have to have everyone download the same patches.

  73. you're a cunt by Anonymous Coward · · Score: 0

    fucking jew

  74. I agree by Erris · · Score: 2
    Stupid worms/viruses/exploits will prevail until the MENTALITY of management changes.

    Burn me once, shame on you. Burn me twice, shame on me. How many times are people going to let themselves be burnt by Microsoft's intentionaly easy to break and push onto software?

    All the trolls keep ssying, "Linux is not ready for the desktop." Hmphf! I'm so sick of that bull. M$ is not ready for anything. If it really were easier to get work done on M$ desktops and they could be protected, management might be justified in continuing to order new M$ junk. But it's not.

    Debian kicks M$'s but, and Red Hat has all the bells and whistles any corporate user could want. At work, I've got one virtual desktop with tiny picutes on a single bar at the bottom of my screen. There's no way to segregate projects, so I have to cycle the little buttons and place keeping fails. A "power user" in the next cube has two freaking monitors eating his desk top, how stupid! The environment lacks useful scripting, and it's impossible to run processes on other M$ machines without getting out of your seat. Walk, click, click, click, where's the automation? Every two years the file formats change enough to make everyone "upgrade". The GUI's constant flux requires constant relearning, and seems to make less sense with every new improvement. Stability is a joke, as is speed. My first 486 gave comperable perfomance and speed back in 1993. It just burns me up. When I go home I sit at a single chair and look into a single good monitor and can control and run processes on any number of computers I can set up behind my firewall. At home, I move plenty of big pictues and files, no problems. Things at home HAVE gotten faster with new hardware. Why do people at management level put up with this expensive, invasive, rights denying, won't even work well with itself junk?

    Someone somewhere is going to get the desk top switchover started and M$ is going to vanish. Poof, back into the cloud of hot air they started with.

    --
    DMCA, Hollings, Palladium. What might have sounded like paranoia is now common sense.
  75. F*CK! Get Over It Folks! by DNAGuy · · Score: 2
    How the hell is this a bug? If you're an idiot and place an unsecured SQL server out on the internet where anyone can log onto it, what the hell do you expect?

    I didn't need all that karma anyway.

    --

    BRENT ROCKWOOD, EST'd 1975

  76. to make things worse by Anonymous Coward · · Score: 0

    It used to be the recommended way of setting up SQL Server. MS has always been lax about recommending VB programmers following strict guidelines, since it makes it more work to administer. One of the benefits was it was easy to setup. So easy in fact that "almost anyone" could setup a SQL Server. Any company dumb enough to follow what MS recommends with reguard to security deserves to get hacked and loose business.

  77. It goes deeper than that by rutledjw · · Score: 2
    Part of what has made MS successful is now biting them in the butt. They tout "ease-of-use" to such a degree that people sub it for competence. People get an MCSE and suddenly they are competent? No, I don't think so.

    I don't want to beat on MCSEs any more than they already get it, but MS has cultivated a large number of semi-competent admins for their systems. Therefore, when patches come up, there are a large number of people who DON'T apply the patch and may not even know they are running the service!

    C'mon, Code Red is still out there! Not to say that all MCSEs are incompetent, but let's compare it to Java certification. (since I'm a Java dork)

    When someone tells me they are Java certified, my eyes glaze over. It means very little (to me) and I still want to devle into their tech knowledge. But it seems like MCSE opens the door to a greater degree, and it shouldn't

    --

    Computer Science is Applied Philosophy
    1. Re:It goes deeper than that by ryanwright · · Score: 2

      I don't want to beat on MCSEs any more than they already get it,

      I do!!

      Q: What do you do when an MCSE shows up at your front door?

      A: Pay for the pizza!

      --
      -Ryan, with the unoriginal sig
  78. Re:Yukon "SQL" Default File System Blackcomb .NET by Anonymous Coward · · Score: 0

    You all should be concerned Microsoft is in the process of "Innovating" the SQL file structure of Yukon into Blackcomb making it a new file system for their .NET. Since this runs default on Workstations with no security or administrators tools like XP Home full Raw Sockets imagine the damage this can cause for the whole internet. Blackcomb is the next great extension of Microsoft Windows NT.

  79. Nepotism and wealth will out by Ashurbanipal · · Score: 1
    Joe 90 year old president of large corporation didn't get where he is without doing research before making strategic business moves
    Uh, that'd be nice if we had a meritocracy, or even a well-regulated capitalism.

    Unfortunately, Joe 90 year old usually got where he is because he had the family influence and inherited wealth to buy his way to the top. Laissez-faire capitalism favors those who already have the capital, and the entrenched wealth tends to nepotism regardless of ability. Government corruption and incompetence in regulated capitalisms can lead to equally bad outcomes.

    Not that I'm against capitalism, you understand; it's much more successful in large economies than any alternatives available.

    I'm just pointing out the realities of current (American, at least) business practices. I don't have any sympathy for the stupid gits either; hey, maybe this sort of thing will introduce a little Darwinian selection on the hereditary CEO class.

  80. Your analogies are flawed. by Anonymous Coward · · Score: 0

    You go out and buy a truck for transportation, you should make sure the driver has a license.

    You buy a milling machine to make parts, you should hire a machinist to operate it.

    You install/buy a database, you should hire a DBA.

    A realization that I've come to is that despite what software makers assert, computers are not easy. And they shouldn't be easy. There is a lot of stuff happening inside a computer/network and it takes a trained professional to set it up correctly in the first place and keep it running there after. These companies should be doing a cost benefit analysis of adding a database and hire a contractor to maintain it if they can't afford a full time DBA.

  81. Xerox DocuTech by Anonymous Coward · · Score: 0

    When we noticed this a year ago, we replaced our Xerox printers with a linux-baed solution.
    We're saving over $100,000 a year on the deal. We find that linux-savvy professionals are cheaper than that, so it's an increase in security and staff expertise for less money overall.
    Chew that, Xerox.

  82. another security measure... by quark2universe · · Score: 3, Insightful

    is to put SQL Server on a port other than 1433. Of course for an existing installation, this could be a major change. But if you're setting up a new SQL Server, use another port. This is assuming you are using SQL Server and not another superior database product (like Oracle).

    --

    Believe in things of which no person has ever learned
  83. MS SQL Server Versions by jmcnamera · · Score: 1

    Just FYI, the article should've mentioned this is a problem for SQL Server 7, not the current version which is SQL 2000(?)

    --
    this is not a sig
  84. Oh yeah... I see that one happening! by tommck · · Score: 3, Funny
    Either the Internet will be abandoned, or ...


    Well, I'll just wait here for that...


    *sharp intake of breath*
    ...
    *fires up his Flux Capacitor-powered Internet Users Counter (tm)*
    [number = 15 bazillion]
    *waits*
    [number = 16 bazillion]
    *waits*
    *getting faint. Can't see very well*
    "don't these people realize ... should ... force ... secure passw... in SQL Server!?"
    [number = 18 bazillion]
    *turns purple*
    "Must... abandon ... Internet!"
    [number = 20 bazillion]
    *passes out*
    [number = 25 bazillion]
    [number = 37 bazillion]
    [number = 46 bazillion]
    ....

    --
    ---- It puts the lotion on its skin or else it gets the hose again. It does this whenever it's told.
  85. MSDE is just as vulnerable as SQL server. by 2nikon · · Score: 1

    Microsoft Data Engine (MSDE) is just as vulnerable to this worm as a full blown SQL server. Unfortunately, this fact is not really advertised by neither Microsoft advisory nor most of other Antivirus vendors. It is unfortunate because there are a lot of products that use the MSDE as a "hidden" SQL server, and from my experience most of these applications DO NOT CHANGE THE 'SA' PASSWORD. Even worse is the fact that most of the applications using MSDE break when the SA password is changed. Some of the apps that use MSDE: Tumbleweed MMS (formerly Worldsecure, a "security product" relies on blank SA password for proper operation), CyberCop scanner, Microsoft Visio, Visual Studio, etc.

    1. Re:MSDE is just as vulnerable as SQL server. by Anonymous Coward · · Score: 0

      MSDE's default installation does NOT use SQL Auth. It uses NT Auth.

      I can't comment on CyberCop, but both Visio and VS.Net installs MSDE using NT Auth.

  86. Lucky for me... by Tiado · · Score: 1

    ...that I don't run MS SQL, because my firewall has reported TCP probes on port 1433 to my computer.

  87. MySQL a better 'SQL' server? by tlhf · · Score: 1

    I'm sorry, but this has to be one of the biggest fallacies in the open source world. MySQL is not a decent SQL server. In fact, it's hard to call MySQL an SQL server at all, being as it's 'support' for SQL standards is absurd - the project makes up keywords as it goes along. It's far more accurate it to consider it an abstraction to the file system. There are no subselects, nor stored SQL procedures. If MySQL was non-free but with exactly the same codebase it would be ripped apart by the programming intelligensia.

    PostgreSQL is better, but has an archilies heal with hard coded attribute sizes.

    tlhf
    xxx
    I'm sorry, but MS SQL is more comparative with Oracle or DB2 than either of the free databases.

    1. Re:MySQL a better 'SQL' server? by xanadu-xtroot.com · · Score: 1

      MySQL is not a decent SQL server. In fact, it's hard to call MySQL an SQL server at all

      OK. You make a damn good point. My post was a bit more of a knee-jerk than it was a thought-out comment. You are right about the SQL stuff. *BUT* I feel my other points still stand. I see no reason to HAVE to use M$'s offerings when there are similar, if not better, offerings out there. That was the only point I was trying to make. I screwed up on the SQL one (which is the point of the story, I know... don't remend me...).

      --
      I'm not a prophet or a stone-age man,
      I'm just a mortal with potential of a super man.
  88. get what you deserve? by Anonymous Coward · · Score: 0

    I think this sort of worm should be included with software. You install the software, the worm attacks it, and warns you of potential dangers that you may have been unaware of. Say a clueless user downlaods a piece of software (i.e. Kazaa) and would like to know what exploits are possible. Virii and the like are the way to discover and bring to light these defeiciencies. The only problem is that you can't trust the authors . . . but wouldn't you rather know that you have ports/services/passwords open to public scrutiny?

  89. Re:MSCE Your Tests Show What A Crock You All Are by Anonymous Coward · · Score: 0

    Check it out go to Exam Cram or even to Microsofts Site and take a sample exam and see how the tests are for fucking morans. Microsoft Certifications are just a way to keep sucking more money out of your ass just ask the MSCE who was certified under NT4 had to upgrade to Windows 2000 and now will be forced to upgrade to Windows XP. Of course if you like being a Microsoft Mouse on a wheel and giving up your cheese go right ahead but your still a bunch of dumb bastards that should be banned from the server room. Fact if your MSCE was so smart why did they leave their SQL open without strong passwords. Microsoft Disney because thats what they are. Do this back when you installed NT4 you had to feed a lot of information into the install or create a batch file with all the things you wanted in a deployment. Now with WinBlowsChunks 2000 just pop in the CD and let WinCrashBSOD do all its Black Magic behind the scenes setting all those items for you like send DBA data back to Redmond ........... you say that not so well how do you know did you audit the install logs and registry hive and do you have the source code to make sure there are no rouge libraries and apis like send all you companys money and companys secrets to Bill Gates and Microsoft who have a different use for "Data Mining". Trust your Company and Network with Microsoft after they have admitted there products are full of holes and a security threat to anyone running them. You must be a Microsoft MSCE because you are one dumb bastard if you trust Microsoft with your Data.

  90. Just imagine how bad it could have been if by Anonymous Coward · · Score: 0
    ...the court had forced Microsoft to completely disclose APIs and Protocols.

    Er, wait....

  91. Certifiable Idiots by Anonymous Coward · · Score: 0

    This kind of poor system administration just goes to show that anyone with a little time and money can get certified and get a cushy job and a Microsoft system engineer, regardless of intelligence level.

    I don't have much experience with certifications, but it would seem that you hear of propagated system administration problems rooted in poor certified sys admins on Microsoft systems than any other deployment platform. That could be based on the number of systems maintained or the sheer intelligence level required to attain that position. I'll let the general populous decide.

  92. Daemon? by crucini · · Score: 2

    Does Windows have Daemons? I thought they were immortal entities. How could an immortal entity live in a Universe that comes to an end every few weeks at best?

    Maybe (relatively) long-running processes on Windows should be called Aengels.

    (Yes, I know Microsoft uses the beige Microsoftian term "services".)

  93. Re:McAfee (OT) by Boronx · · Score: 1

    That's the only virus thats ever hit me. Had it on every single floppy for my XT, and didn't figure it out till I tried to install my first hard drive (10 megs). The virus loaded int ram on insertion, and would immedietly reinfect the disk once it was cleaned, if you did anything other than turn the computer off.

  94. It's not a major change... by Otis_INF · · Score: 2

    Most tools/software on the server itself connect via named pipes local on the system anyway. So these tools will not have a lot of problems. Most SQLServer's exposed on the internet are installed on systems which also run IIS, thus 1 server for the complete stack of servers for a webapplication. Having this port open is not needed.

    Start the server network utility and change the port on the TCP/IP protocol. Click OK and restart the MSSQLSERVER service.

    btw, Oracle is superior in which way? Oracle has also a 'default' password: empty or a default well known password.. it doesn't matter. People simply should understand what they put online.

    When I start a little tool on my online SQLServer machine I get 4 servers listed which run on the same network segment as my server (in the co-located rack at my ISP). a) these servers are running the server service, which shouldn't be running, b) these servers have port 1433 open and c) have set their server to not hide it for the outside world.

    Pretty basic stuff that should be switched off, but isn't because the admins probably don't know that it's necessary to switch it off or even how to do that.

    Again, an admin-flaw, not a softwareflaw.

    --
    Never underestimate the relief of true separation of Religion and State.
  95. Re:Microsofted... or MicroSHAFTed by Spy4MS · · Score: 1

    Microshafted seems more appropriate.

  96. Source code access by cant_get_a_good_nick · · Score: 1

    Geez, it's a good thing Microsoft hasn't released any source code, then we might get a virus or worm in a Microsoft product.

  97. wrong! by Otis_INF · · Score: 2

    The recommended way has always been: trusted connections, at least since 7.0. (which is pretty old by now). The 6.5 legacy from sybase had a different policy due to the lack of good integration with NT security.

    So the SA account is never needed: connect using trusted connections.

    Examples most of the time mention 'sa' with no password, but that are examples, what way should they then mention a connection string?

    --
    Never underestimate the relief of true separation of Religion and State.
  98. Want to try a DBMS with no known exploits? by clever · · Score: 1

    Check out Mimer SQL Engine

  99. Go Microsoft! by Anonymous Coward · · Score: 0

    Way to make my machines more secure. Perhaps I should just start posting the admin passwords on the web. I am also going to start securing my house with a screen door.

  100. Storage+ by user32.ExitWindowsEx · · Score: 1

    Windows Longhorn is going to run a a database file system, isn't it?
    That database is probably going to be powered by SQL Server, right?
    Oh well...I guess SQL Server will eventually join Outlook/OE as the most exploited software ever made.

    --
    "Evil will always triumph because good is dumb." -- Dark Helmet
  101. Some basic thoughts on securing SQL. by blowdart · · Score: 4, Informative

    I've just mailed this to a couple of security lists I take part in. Posting here seems like a good idea (although now, of course, I am outed as a SQL Server user)

    Please feel free to forward these recommendations to any other lists as you see fit. However, as with all system changes, things can go wrong. Make sure you have backups. I take no responsibility if your SQL server dies. Or if the sun fails to come up :)

    • The automated MS baseline security tool checks for blank sa passwords.
    • You can safely (well ish) drop the xp_cmdshell stored procedure from your servers. There's very little valid use for this (smug mode - I had mentioned this in a presentation to SQL-PASS 2 years ago!) This can kill some things, like BCP. Don't hold me responsible if something stops working :)
      use master
      exec sp_dropextendedproc 'xp_cmdshell'
    • Don't run mixed mode security if you can help it. MSDN has details.
    • You can of course, change the port SQL listens on. Not ideal, but for those that want a wide open to the world SQL database, it's an option. (Run the Server Network Utilities program on the server, and choose properties for TCP/IP - don't forget to tell the client machines the new port)
    • I want to restate - SQL does not log logins (failed or otherwise by default). Turn it on. (Enterprise manager, right click your server, choose Properties, then the security tag. Login events go to the Application log.
    • From what I see the worm adds a password to guest and moves it into the admin groups. It's done using the username, not a SID, so renaming your guest accounts would stop this. Always a good idea to enforce this at a domain policy level.
    • You may also wish to consider dropping the ActiveX stored procedures. Do you want/need sa to be able to create ActiveX objects?

      sp_OACreate sp_OADestroy sp_OAGetErrorInfo sp_OAGetProperty sp_OAMethod sp_OASetProperty sp_OAStop

      The same goes for registry sps

      xp_regaddmultistring xp_regdeletekey xp_regdeletevalue xp_regenumvalues xp_regremovemultistring

    • Check the login tables for null passwords (mixed mode). Run the following SQL

      use master
      select name, Password
      from syslogins
      where password is null
      order by name

    • Use a low access user account for SQL Server service not LocalSystem or Administrator. This account should only have minimal rights (Run as a Service Right IS required). If you use Enterprise Manager to make this change, the ACLs on files, the registry, and user rights are done for you.
    • Check the other extended stored procedures, delete as you see fit.
    • Don't run SQLMail unless you have to.
    • Don't use TCP/IP as a network protocol unless you have to.

    Finally, MS have released a bulletin

    1. Re:Some basic thoughts on securing SQL. by pavera · · Score: 1

      Don't use TCP/IP as a network protocol????
      How on earth do you run a web server/database server on the same machine without using TCP/IP??

      What kind of security measure is that?

      "Microsoft announces their cure to all of the security holes in their software, simply do not connect any machines running MS software to the internet!!".

    2. Re:Some basic thoughts on securing SQL. by blowdart · · Score: 1

      Simply oh dipshitted one, don't let SQL use TCP/IP and used named pipes to connect to the database. A lot easier if they are on the same machine.

  102. Port by jimm · · Score: 1

    Port "LAEE"? What does that stand for?

    --
    Transcript show: self sigs atRandom.
  103. MS Defaults by pavera · · Score: 2, Informative

    I've been messing with MySQL and PostgreSQL a bit recently, and I have some experience with MS SQL as well.

    This bug is obviously MS's fault, the default install of MS SQL allows connections from anywhere, what is that? I don't even think there is a per IP or IP range block you can put specifically on MS SQL.

    In contrast MySQL and PostgreSQL both default install with only local host allowed to connect to the DB. And, the admin has to specifically *ALLOW* hosts or IP ranges to connect.

    Obviously, a brute force attack on a specific TCP port number will not work against MySQL or PostgreSQL, as the connection will be refused outright, unless the worm can also spoof IP's.

    Dumb defaults MS, once again.

  104. Re:Could This Worm Mutate Become Real Nasty by Anonymous Coward · · Score: 0

    If you are running Microsoft Products now is an excellent time to move to Linux GNU. This worm is bad but it could mutate into a more nasty worm one where a virus piggy backs with a more destructive payload. Klez aleady has some variations with a very nasty payload like format your hard drive erase your bios. It is clear that it is not safe to trust your computers, your data, and your network to Microsoft Products. Time for a class action lawsuit against Microsoft for knowingly shipping defective products.

  105. You're a numpty of the first order. by Moderation+abuser · · Score: 2

    They need transportation, they go out and buy a truck.

    And get someone with a license to drive it and they perform regular maintenance on it.

    They need a machine tool, they go out and buy one.

    And they get someone with the skills to use it.

    And I think the general business world isn't going to buy it much longer. Either the Internet will be abandoned,


    You are a complete and utter numpty. Do people actually pay you money to provide services?

    --
    Government of the people, by corporate executives, for corporate profits.
  106. Overlooked blank SA password by yiantsbro · · Score: 1

    True, anyone installing administering software (like MS SQL Server) should be wise enough to ensure that the defaults accounts are secure. However, what if it you are not directly administering it? For instance, lab managment software from Altiris installs the MS SQL engine with a blank SA password (and I don't believe it offers a built-in way to change it). Lots of areas use this software and perhaps failed to realize they were also managing MS SQL server (although on a very junior level).

  107. 2 level problem: install & enable by wytcld · · Score: 2

    A client recently had their Win consultant in to install new hardware for the mail server. Took the first one down, and the mail spooled as designed on the backup mx I run on Linux for 'em. Consultant did the Win software install and suddenly the new machine took all the mail spooled for it and rejected it as having "no such user." With Win, to install the software is to turn it on. Never mind that it should be configured before going live. Not like *nix, where if I install sendmail it isn't running until I explicitly run it.

    MS should be sure that installing software does not ever, in itself, enable it, when that software is any sort of daemon. Ought to be illegal.

    --
    "with their freedom lost all virtue lose" - Milton
  108. Virus by Anonymous Coward · · Score: 0

    Who the hell gets a virus these days? Only idiots that will open anything and everything that is sent to them via e-mail. Frankly, they need this to teach them a lesson. I've been working with computers for 10 years now. I have had many PCs and laptops and none, I mean none, have ever been infected by a virus. To hell with all these stupid antivirus programs. It's all hype. The midless consumer, who has no idea what a computer is, goes out and buys one and is drilled over and over again about virus protection. Maybe someone should show these people how to use a computer first.

  109. If you got it, you deserved it. by Anonymous Coward · · Score: 0

    The subject basically says it. The only way to get this worm is through a feat of absolute stupidity. You didn't change the default password on install. And before you blame Microsoft for not forcing you to, perhaps you should read up on your documentation of MySQL.

    And for those stating that some new Microsoft products automatically install SQL Server, those installations have SQL authentication disabled by default, so the 'sa' account isn't accessable, period.

  110. MS by Anonymous Coward · · Score: 0

    Micro$oft roxorz

  111. Morons by Anonymous Coward · · Score: 0

    Any SA that isn't a total idiot would not expose port 1433 to the Internet in the first place. These morons deserve to be compomised on many levels...

  112. Re:MSDE doesn't accept remote connections. by Anonymous Coward · · Score: 0

    The last MSSQL Server worm attacked the same weaknesses...blank sa passwords & port 1433.

    Just change the port if you can afford to (i.e if you don't have too many apps to reconfigure) & follow standard Admin practices regarding security accounts.

  113. No, Microsoft earned this one by leonbrooks · · Score: 2

    A year and a half from awareness to patch on one of those vulnerabilities. At least. What can a sysadmin do when faced with that?

    Why, switch to PostgreSQL, of course! Faster, more secure, source available for verification or modification, closer to SQL-92 and subsequent standards, portable. What more could you want?

    Oh, yes: it's free as well as Free.

    --
    Got time? Spend some of it coding or testing
  114. DOS by leonbrooks · · Score: 2

    Digispid.ide

    8.3 letters

    They store their IDEs on MS-DOS?

    --
    Got time? Spend some of it coding or testing
  115. Other Port 1433 uses by evilviper · · Score: 2

    D'oh... I've been using port 1433 for some time now for SSH tunneling as it is the lowest numbered port above 1023 that is allowed through the corp firewall... I guess it's not going to be a security problem, but I'm changing it just to avoid excess traffic, and to stay even more invisible.

    --
    Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  116. Not an Issue for SQL2000, Mostly by doublem · · Score: 2

    One big change between SQL 7 and 2000 is that it's harder to leave the sa password blank. It's still possible, but at least you've been told. Not quite a "HEY STUPID" message, but it's pretty close.

    I'm normally pretty MS Hostile, but even I don't really blame MS for this one. This is a PEBKAC. Problem Exists Between Keyboard and Chair.

    --
    "Live Free or Die." Don't like it? Then keep out of the USA