Slashdot Mirror


Worms Going Further, Faster

Major Byte writes "Rob Kolstad's MOTD (pdf) column in Usenix login; passes along a few distilled factiods from a CAIDA analysis of the 'Sappire/Slammer' Worm. When it was at full blast it was scanning over 3 billion systems per hour--a speed that 'a "better" vulnerability would have enabled infection of the entire internet in 15 minutes, a "flash worm" or a "Warhol Worm."' I think 'better' to mean 'able to infect across a lot of platforms.'"

89 of 301 comments (clear)

  1. Oh no! Shut the Interweb off! by ObviousGuy · · Score: 5, Insightful

    There's a lot that can't be done about these things because at the very bottom of every system is a human being who will forget to patch the system or stupidly open an executable.

    There is no patch for human carelessness.

    --
    I have been pwned because my /. password was too easy to guess.
  2. Ah, the lovely internet... by Qweezle · · Score: 5, Funny

    I'm wonderfully happy to live in a world where the only large-scale communication network is prone to mass disruption and/or destruction at the drop of a pin. Great.

  3. Good for the worms by Anonymous Coward · · Score: 5, Funny

    Fast moving worms are harder for those pesky birds to get at.

  4. damn. by wo1verin3 · · Score: 4, Funny

    I thought this article was about Worms 2 being released for linux :(

    1. Re:damn. by gregfortune · · Score: 3, Funny

      Oh come on, that's not a troll... Worms 2? I'd open my firewall up for that one :)

  5. I had worms once... by Anonymous Coward · · Score: 2, Funny

    It was terrible. I had to take lots of drugs.

  6. Re:Oh no! Shut the Interweb off! by rkz · · Score: 5, Funny

    Cut off their arms?

  7. I've got worms! by eupheric · · Score: 5, Funny

    obligatory dumb and dumber:
    LLOYD
    (smiling)
    I got worms.

    MARY
    I beg your pardon?

    LLOYD
    That's what we're gonna call it: I
    Got Worms. We're gonna specialize in
    selling worm farms â" you know, like
    ant farms. A lot of people don't
    realize that worms make much better
    pets than ants. They're quiet,
    affectionate, they don't bite, and
    they're super with the kids.

    MARY
    Aren't ants quiet, too?

  8. Why do delinquents bother? by Sheetrock · · Score: 4, Insightful

    Where it is the point in this matter nowadays? It really took talent to write malware in the old days, what with having to be able to get the virus in the executables and boot sectors of floppy disks, but now everything looks like a work of the VBScript cut-and-paste. Why is it so hard to find the author of these programs?

    --

    Try not. Do or do not, there is no try.
    -- Dr. Spock, stardate 2822-3.




    1. Re:Why do delinquents bother? by oneishy · · Score: 4, Interesting

      Actually 'the Sapphire Worm' was just 376 bytes long. Not much extra code in that assembly program to track an author by.

    2. Re:Why do delinquents bother? by Read+Icculus · · Score: 5, Interesting

      Maybe the "delinquents" are actually pretty damn smart. Smart enough to not get caught because they take proper security precautions. Like others have said this worm was a pretty smooth little hack. All over UDP and in a single packet. Anyway at least when a worm like this comes along people start paying attention to actually fixing the problem. If no one exploited the vulnerability then folks like MS might never get around to fixing it. When something like this is front-page news and on CNN normal folks sit up and take notice. Maybe enough notice to try and make their systems more secure, or perhaps switch to a more secure preogram/OS. Not that I like viruses and worms, quite the opposite is true. I remember when my ISP got a worm, (Code Red I think), and infected me. The incident certainly made me more security conscious, and I now have a new ISP that I hope has more of a clue than my old one.

      --
      Anti-social? My code is just platform-specific.
    3. Re:Why do delinquents bother? by PetiePooo · · Score: 5, Interesting

      Not to nitpick, but the SQL Slammer worm appeared to be written in assembly. It is quite interesting to read through the source. [alt] [alt]

      While the PRNG isn't of the highest quality, its brevity is what allowed it to spread so quickly. An infected system was sending out packets as fast as the outbound pipe could handle it. A smaller virus, even by a few bytes, would mean that much faster of an infection rate.

      By and large, you're right about VBScript making for simple virii, but this isn't the one to use as an example.

    4. Re:Why do delinquents bother? by aphor · · Score: 5, Insightful

      Why is it so hard to find the author of these programs?
      Because there are so many no-talent hacks out there who *could* have written that lump of nasty crap.

      In the beginning days, on the Apple ][ computers in my grade-school, we learned to guess our way through cracking floppy-disk copy-protected games by comparing a cracked game and a pristine byte-by-byte copy of the original. We eventually learned that a certain byte word combination was the first hardware keyboard access, and we could guess that spot was a good place to stick a jump. Then we tried a few addresses until it worked. In grade school.

      Later, as PCs wormed into the classroom around 286 vintage, there were boot sector viruses. I knew how to use a low-level (nibble) disk editor, but I never quite overcame the awe of the self-replicating TSR.

      What really grabbed me was how a really good (insidious) virus could have such a low footprint that it could go undetected for so long. The programmers of those viruses were gifted binary ecologists. I knew then that the games I played were bloated when one year the game took one disk, and the second year you had to swap two disks even though there was little extra play for all the extra data. I envied the virus programmers for their wizardly and miserly command of the machine's meager resources. I even dreamt of the day that I could crank one out like putting together a jigsaw puzzle.

      Now I am older, and the opportunity for that conquest was stolen by Moore's Law. The games (and all software in general) got bloatier and bloatier. There was so much waste, and the machines got so fast so fast, that I saw clever programming die. I was sad. It wasn't until (after I bought a student copy of Borland C++ and was stultified by the massive bloat of win16 API) that I became acquainted with Unix (FreeBSD in particular) around 1.2.1 vintage. I rediscovered elegant software.

      Now, I understand the vulgar joy in duping someone else, but only a jackass gets off duping people who compare to invertibrates on an intellectual scale. VB worms are the modern-day equivalent of burning ants with a magnifying glass. "Letth thaw off hith tweeter Beavith! Hehehehehe Heheheheh..."

      --
      --- Nothing clever here: move along now...
    5. Re:Why do delinquents bother? by Read+Icculus · · Score: 2, Insightful

      Well for the worm I got, I blame myself for not knowing about CR, or the patch, my ISP for being dipshits and being down for over a day, and the guy/guys who wrote it. However I can see how people might blame MS for writing some buggy pieces of software that in turn were at least partially to blame for them getting said worms. As I recall even MS's developers caught the slammer worm, (that's the SQL one?). BTW I just mentioned "folks like MS", in my post as I think that since they are a corporation they are swayed by public opinion/outrage that comes with each new worm/virus, as they want to make money, and people want to buy a more secure product. So my comment makes more sense with them as an example. But if you prefer "folks who sell software", will also work. Most linux developers I know couldn't about public opinion and try to write the most secure code that they can. I'm sure they sit up and take notice when the worms/viruses are being talked about on CNN, however I also think that they tend to hear about the exploits and whatnot that the general public doesn't hear about/couldn't give a rat's ass about and try and fix those too. MS on the other hand might not care about fixing something if it's not worth the $ to fix and if the general public doesn't care about it, or doesn't even know it exists.

      --
      Anti-social? My code is just platform-specific.
    6. Re:Why do delinquents bother? by PhxBlue · · Score: 3, Informative

      Actually, Microsoft had released a patch for the vulnerability that was exploited. Unfortunately, no one (including Microsoft) bothered to implement it.

      --
      !#@%*)anks for hanging up the phone, dear.
    7. Re:Why do delinquents bother? by Tackhead · · Score: 3, Interesting
      > Later, as PCs wormed into the classroom around 286 vintage, there were boot sector viruses. I knew how to use a low-level (nibble) disk editor, but I never quite overcame the awe of the self-replicating TSR.

      Grok!

      I still remember stunning some of my cow orkers by saying from two cubicles away, "Dude, run a virus scanner. There's no reason your floppy drive should be doing that many seeks across the entire width of the disk. Something's writing to the FAT or boot sector every time you access any files. Probably a virus. Kill it before it kills you."

      To this day, they still no idea how I knew about that without even looking at the screen or touching the box, but from where I sat it was just obvious (when I first heard that pattern of seeks and asked if the guy was copying 100 small files to the floppy, and he said "no") that something on that box was fucked up. (And fucked up in a way that MS-DOS, all by itself, wasn't :)

      Funny note - the virus in question was indeed a boot sector virus, and was pretty much harmless on Win3.1 boxen. Not so on an NT box. If only I'd come to work one day before. Yuk.

    8. Re:Why do delinquents bother? by b1t+r0t · · Score: 3, Insightful
      Actually 'the Sapphire Worm' was just 376 bytes long. Not much extra code in that assembly program to track an author by.

      Not much room for extra code in a program that has to fit in a single UDP packet.

      --

      --
      "Open source is good." - Steve Jobs
      "Open source is evil." - Microsoft
  9. Equation for a good worm by Renraku · · Score: 5, Interesting

    A good set of vulnerabilities across multiple hardware configurations and OSes is a great start. An interesting idea would be to sync the worms up based upon a reading from a certain timezone on time.gov. Make them start scanning all IPs for vulnerable, uninfected machines at the same time. So not only do you get the chance to infect, but you DDoS. Fun stuff. Also, you could make it infect unprotected routers and give the virus 'priority' in transmissions, etc, etc.

    --
    Job? I don't have time to get a job! Who will sit around and bitch about being broke and unemployed then?
    1. Re:Equation for a good worm by xactoguy · · Score: 2, Funny

      Hey! Thanks for the hints... heh heh heh... just kidding, maybe. ;)

      --


      And so we go, on with our lives
      We know the truth, but prefer lies
      Lies are simple, simple is bliss
  10. UDP all the way! by Gothmolly · · Score: 5, Insightful

    The nice part about Slammer is that it could just spew data - if it hit you, and you were vulnerable, you were infected. It didn't require any complicated TCP sessions, was MUCH nicer on host resources, and the entire hack fit inside a single packet. Hard to improve on this really, perhaps using LZIP to shrink the size of the payload.

    --
    I want to delete my account but Slashdot doesn't allow it.
    1. Re:UDP all the way! by b1t+r0t · · Score: 2, Informative
      Hard to improve on this really, perhaps using LZIP to shrink the size of the payload.

      Whatever you gain by compressing something that small, you lose in the space that the decompression code takes up, unless the OS provides a decompression service for you.

      The way Slammer worked, it had to fit in a single packet, which meant it had about 1500 bytes to work with. That means it could have been more than four times bigger than it was, but no more.

      --

      --
      "Open source is good." - Steve Jobs
      "Open source is evil." - Microsoft
    2. Re:UDP all the way! by Anonymous Coward · · Score: 2, Interesting
      The nice thing about Slammer is that:
      1. It justifies our Corporate policy of "Absolutely no UDP packets cross the firewalls. Ever."
      2. There are not too many other UDP protocols out there to be exploited, so we won't see too many more "flash worms".

      The scary thing about UDP "flash worms":

      1. One of the highest usage protocols on the Internet is DNS, a UDP (mostly) protocol with a history of server and client vulnerabilities.

      My prediction: by the end of this year we will see a cross-platform (Linux/X86 and Solaris/Sparc?) "flash worm" targeting BIND...

      Nonesuch@Chicago

  11. More platforms by Anonymous Coward · · Score: 2, Interesting

    I'm still waiting for a Cisco IOS bug to be discovered that is present in all 12.x series code. I can't wait to see the worm for that one :D

  12. Anatomy of the Web application worm by Anonymous Coward · · Score: 4, Informative
  13. No worms for me, please! by XxtraLarGe · · Score: 5, Funny

    Thank God I've got a Mac! It's hard enough to get regular software ported, I doubt that many people would invest time to port a worm, except "Worms Blast" =D

    --
    Taking guns away from the 99% gives the 1% 100% of the power.
    1. Re:No worms for me, please! by dfj225 · · Score: 4, Insightful

      I would imagine that worms and other viruses are not really a problem to most Windows users that you would find on this site. I know that a vast majority of the viruses are spread using holes in Outlook, which is probably unpopular with this crowd. Also, people here know enough that you really need a virus scanner for full protection. I use Windows XP, and haven't had a virus yet. I also use Mozilla mail instead of outlook.

      --
      SIGFAULT
    2. Re:No worms for me, please! by SweetAndSourJesus · · Score: 3, Insightful

      If Slammer or it's ilk takes your subnet down, it doesn't matter if you're using a C64, you're getting hosed.

      I use a Mac, too, but I have no illusion of immunity.

      --

      --
      the strongest word is still the word "free"
    3. Re:No worms for me, please! by PhoenixFlare · · Score: 4, Insightful

      Oh please...

      The installed base of Macs is so small compared to Windows PCs, there's no reason to write worms that affect Apple machines.

      You can bet your ass that if Macs were as ubiqutous as x86 machines, they'd be getting slammed with worms too....That cocky attitude gets really grating.

    4. Re:No worms for me, please! by sgifford · · Score: 3, Insightful

      Antivirus software is for people who, from time to time, make a mistake. Like mis-clicking on an attachment at 3am, or misreading a file type and running an unsafe file.

      Antivirus software is for people who run software that has bugs in it. You mentioned you are using Windows...

      Antivirus software is for people who believe in Security In Depth, a school of thought which says that you should use multiple layers of security, so that if one fails you aren't screwed.

      Antivirus software is for people whose data is worth more than $50 (or $20 after rebate).

    5. Re:No worms for me, please! by hondo77 · · Score: 4, Funny

      I use a Mac, too, but I have no illusion of immunity.

      I do. Woo hoo!

      --
      I live ze unknown. I love ze unknown. I am ze unknown.
    6. Re:No worms for me, please! by sgifford · · Score: 2, Insightful
      Antivirus software is for people who, from time to time, make a mistake. Like mis-clicking on an attachment at 3am, or misreading a file type and running an unsafe file.


      Well, I guess it's harder for you then it is for me. You look at the sender, you look at the subject and body, and you look at the attachment. Then, your freaking mail client asks you, "Are you sure you want to open this?" IF you know what to watch out for, those should be plenty of "last chances".

      I'm not saying I do this; I don't even run Windows or use a mail client that supports HTML. I'm pretty sure I've never received a virus that would run on my OS. I'm just saying a reasonable, smart, and prudent person should still plan for this, because it will happen someday.


      Antivirus software is for people who believe in Security In Depth, a school of thought which says that you should use multiple layers of security, so that if one fails you aren't screwed.

      Well, so is encrypting your filesystem, having a locking screensaver, unplugging your network cable when idle, etc. Obviously another layer is a good thing. But at what point do you decide that it's not worth the money or slowdown to take that extra step. And yes, scanning for 50,000 (and growing) data patterns every time you open a file WILL slow your system down.

      At the point where it costs more than $50 ($20 after rebate) or where the cumulative slowdown is greater than the odds of getting a virus times the time it would take to recover from it. Many people's work (mine included) is close enough to irreplacable that the time-to-recover tends towards infinity, making the virus software a pretty obvious choice.

      I guess the difference of opinion that we have is that you believe it's extremely unlikely that you will someday make a mistake, whereas I believe it's nearly certain that all of us make mistakes every day.
  14. Some day by Anonymous Coward · · Score: 3, Funny

    Some day, we will all curse like sailors and have to reboot every god damned machine we have - maybe even revert to latest backup. Some day, the apocalypse will hit us, and Internet will cough for a day like it had the SARS. And then you hope your mother wasn't in hearing range.

  15. Re:Oh no! Shut the Interweb off! by laigle · · Score: 4, Insightful

    It's not even just that now. The latest rendition of Bugbear would send out an infected file named after a file on the computer it was sending from. I imagine the next generation mailers will check send records, or even incorporate spyware code, and mail themselves out using names of files the user sent recently, or selectively infect shared files to get loose on the network. For computers to be useful you have to have some level of trust, and as worms become smarter they can more easily exploit that fact.

    We need to stop stressing prevention quite so much and start dealing with what happens when a virus does get through.

  16. Cross-platform not necessary? by univgeek · · Score: 4, Insightful

    For a world-wide problem with worms, cross-platform worms are not required - just a simultaneous release of single platform worms. The spreading algo would be common, the payload and infection mechanism platform specific.

    One for windows, one for linux, one for routers/switches...

    Imagine the impact. Would the internet survive?

    The only things preventing this might be the fact that no single person has the required experience in all the platforms, and vulnerabilities in non-windows OS's are typically more difficult to exploit.

    --
    All bow to his Noodliness!! His Noodle Appendage has touched me!
    1. Re:Cross-platform not necessary? by gregfortune · · Score: 4, Insightful

      Oh, come on. From the quality of code we've seen in the recent "big" worms, any idiot with a little spare time can write a reasonably effective worm. We're lucky that no one really talented has had a motive for writing a really nasty worm (read cross-platform and well written with a huge number of attack vectors and a deadly payload).

      Write a Windows worm?
      Sure, watch the security bulletins from MS and associated companies and include a few exploits in your worm. You know we won't run out of people who haven't patched yet.

      Write a Linux worm?
      Sure... See above? It's the same.... There are platform differences as far as library calls, hooking into e-mail, etc, but a little time would solve that easily.

      Write a .... worm?
      Umm. See above? Just wash, rinse, repeat... All we're talking about is a little time.

      Seriously, I'm waiting for someone slightly talented to get pissed off at technology in general. That will be the day people running automatic daily updates on (pick your platform) will be happy they've got a patched system and banging their head against the wall 'cause their ISP didn't.

    2. Re:Cross-platform not necessary? by dbretton · · Score: 3, Funny

      any idiot with a little spare time can write a reasonably effective worm.

      OK, I'll nibble. Write a reasonably effective worm!

      Otherwise, you're not even smart enough to be considered an idiot...

      I dare ya!

  17. Re:Oh no! Shut the Interweb off! by ObviousGuy · · Score: 2, Insightful

    We need to stop stressing prevention quite so much and start dealing with what happens when a virus does get through.

    Harsher punishments for virus writers?

    Better system recovery process?

    --
    I have been pwned because my /. password was too easy to guess.
  18. Problems by cfreeze · · Score: 4, Insightful

    One problem with saying that Slammer or any "flash worm" is that bandwidth and current infastructure isn't taken into account. Any worm taking on activity levels (as seen by how the whole Internet seemed to slow down) of this magnitude tend to self contain themselves at local router or node bottlenecks. As links go to fiber this won't hold, but atleast for now it does.

  19. Doomsday in a good way? by maliabu · · Score: 5, Insightful

    in THE Doomsday, those who don't believe will be wiped out.

    so if we have this fast-spreading virus, wouldn't it just wipe out those who don't patch and maintain their servers properly?

    and what's left are those nicely patched servers which serve the internet better and everyone's happy ever after.

    1. Re:Doomsday in a good way? by Waffle+Iron · · Score: 4, Interesting
      so if we have this fast-spreading virus, wouldn't it just wipe out those who don't patch and maintain their servers properly?

      Um... what if the worm writer used a new vulnerability that he discovered himself? There would be no patches.

  20. Comment removed by account_deleted · · Score: 4, Funny

    Comment removed based on user account deletion

  21. Re:But there aren't 3 billion systems. by Bagheera · · Score: 2, Informative

    Don't confuse rate of scan with number of systems. As mentioned it was spewing it's exploit in a single UDP packet. The worm didn't care whether other worms had already spewed the packet at a given IP, it was just tossing it out there. Whether the number itself is valid, it's being calculated (probably, at least) by multipying the average bandwidth available to an infected host, times the number of infected hosts. X infected hosts spewing Y packets an hour is Z total packets per hour.

    Perhaps not especially useful, but it does give an idea of the sheer scope of that beast.

    --
    Never attribute to malice what can as easily be the result of incompetence...
  22. learn from evolution by Anonymous Coward · · Score: 3, Interesting

    nature has evolved to fight biological infection by various means: genetic diversity, adaptive defensives. we could take a lesson from this.

  23. Re:But there aren't 3 billion systems. by HornyBastard77 · · Score: 3, Insightful
    What kind of a statistic is that?

    The same kind that,when you are driving, lets you know in one glance how many miles per hour you will cover if you stay at your current speed.

    Seems pretty informative to me.

  24. Re:Oh no! Shut the Interweb off! by blix5 · · Score: 5, Funny

    Harsher spankings for the people that still haven't grasped the concept of NOT clicking that email attachment with a .vbs extension. :P

  25. Re:Oh no! Shut the Interweb off! by calennert · · Score: 5, Funny

    -blink-blink-
    Connecting to AOL...
    -blink-
    You've got mail!
    -blink-blink
    "ooh, an attachment..."

  26. Re:But there aren't 3 billion systems. by cyb97 · · Score: 4, Informative

    The statistics does hold, the efficiency of the worm decreases because there simply aren't enough hosts on the internet (or in IPv4 for that sake) to keep the worm busy for several hours...
    If the worm spews out X packets over Y minutes, why would it change in the Y+n next minutes ?
    Think about it yourself, the worm doesn't suddenly stop and think "hey I've infected 3 bn. systems now, I better slow down", it keeps on going, but as only a fraction of the 4 bn available addresses in IPv4 are available and globally reachable it doesn't make sense to do an exhaustive test...

  27. Re:Oh no! Shut the Interweb off! by pixelgeek · · Score: 5, Interesting

    -- There is no patch for human carelessness.

    The user isn't always to blame. What about the software developers who don't take even minimal efforts to protect their scripting systems?

    Yes, there will always be someone who will open attachments no matter how often you tell them not to.

    But perhaps the root issue isn't the fellow who can't stop clicking on Fireworks.exe files but the OS and application developers who enable and then don't patch systems that allow those users to be so easily exploited.

  28. Re:But there aren't 3 billion systems. by Blkdeath · · Score: 2, Interesting
    What kind of a statistic is that? How can it fully complete a 3 billion system per hour cycle if there are not 3 billion systems to infect

    Actually, it's quite valid. Ask any cop who's ever pulled somebody over for doing 120KPH in a 40KPH zone, even though they only drove 5KMs. :)

    --
    BD Phone Home!

    Shameless plug. Like you weren't expecting it.

  29. If it's so easy to write one... by DynamiteNeon · · Score: 4, Interesting

    Why doesn't someone just make a worm that goes around and downloads Windows and SQL server updates to patch against all these worms? I realize Microsoft doesn't have the best track record even with their updates, but it would still probably solve some problems. And yes, I realize there's something wrong with forcing people to install updates, but consider the alternative of reading these articles every week here.

    1. Re:If it's so easy to write one... by DynamiteNeon · · Score: 2, Interesting
      Hehe, I'm aware of that. I actually said it half-jokingly. I'm sure there are tons of obvious Microsoft jokes that could be inserted.

      The point was that a majority of the people being affected are probably those that don't even know what windows update is to begin with. They probably wouldn't even notice the changes being made in the background by this worm.

    2. Re:If it's so easy to write one... by FLoWCTRL · · Score: 5, Interesting

      There was a lot of speculation in the security community that this is effectively what the "Slammer" worm was -- a non-malicous worm that forced everyone to patch their software. Remember that although this worm could have executed any code it wanted on all of those hosts, it had no malicious payload. All it did was propogate itself. The DoS effect was just a result of the massive increase in network traffic from its propogation. It could have been way, way worse.

      --
      http://oss.netmojo.ca

    3. Re:If it's so easy to write one... by PetWolverine · · Score: 4, Interesting

      Remember that although this worm could have executed any code it wanted on all of those hosts, it had no malicious payload

      Let's think of a worst-case scenario, here...

      The worm had a program to propagate itself in a space of 376 bytes. It had up to, what, 1500 bytes to carry whatever program it wished? Let's say it used those 1500 bytes to set up a program that would listen on a particular TCP port for instructions from the author's computer. Then, rather than propagating itself as fast as possible, it sends out a packet every few minutes, gradually and insidiously infecting all MSSQL servers on the Internet.

      The 1100 extra bytes are used to write a program to disk, and then launch it. This program listens for connections on some high port, or perhaps just listens for UDP packets of a certain description (since it knows the firewall lets those through). At first, it simply catches all worm packets and records the IP addresses, so that it knows what other hosts are infected.

      The author's computer listens for these packets, and makes a similar list of infected hosts. Then, when the time is ripe, he starts sending additional instructions to those hosts.

      The hosts receive the new instructions, modify their program based on the contents, and then echo the packet out to the hosts in their lists. The author numbers the instruction packets, and the hosts make a note of which ones they've received and ignore repeats. That way, once all infected hosts are updated, the patches stop flying around.

      One of the first instructions to be sent out is to make the program launch at boot time. Then, the infected computers are sent instructions to stop propagating themselves. They're sent instructions to report back to the original source. The author looks at the hosts, sends out special non-propagating instructions to military hosts to send him their data. He sends out instructions to hosts that may have access to credit card databases to send him the numbers and expiration dates. He gathers whatever other information he deems useful.

      Then, he sends out an instruction for all hosts to delete all data from all databases.

      How difficult would it be to write the initial program for that? How difficult to make those patches, and make them work? My guess is, someone who knows assembly well could pull it off. It may take a fair amount of time and patience, but the amount of money to be made is pretty considerable and could make it worthwhile. Hey, if I were going to write a malicious worm, that's how I would go about it.

      But the most pertinent question is, how many MSSQL servers are still out there, unpatched, vulnerable, serving critical data?

      --
      I found the meaning of life the other day, but I had write-only access.
  30. Re:I'm still getting pestered by Code-Red. by randyest · · Score: 4, Informative

    If you're running Apache, and it looks like you are, you can avoid logging that crap (and minimize bandwidth and CPU waste) with this minor httpd.conf change. You can also block/ban email spiders (at least ones that report their agent name truthfully, which apparently is most of them) using the info at the same link.

    --
    everything in moderation
  31. Re:speaking of large attacks by Anonymous Coward · · Score: 2, Funny

    Stop listening to Art Bell, you'll rot your brain.

  32. Warhol by Anonymous Coward · · Score: 5, Funny

    a speed that 'a "better" vulnerability would have enabled infection of the entire internet in 15 minutes, a "flash worm" or a "Warhol Worm."'
    A "Warhol" worm wouldn't infect the Internet in 15 minutes, it would infect it for only 15 minutes.

    1. Re:Warhol by retto · · Score: 3, Funny

      I think a virus with a 15 minute life would be a good idea. It could pop in, say 'gotcha,' a little 'how's your father,' and then retire with a little dignity. Too many viruses nowadays overstay their welcome and just wind up looking kind of pathetic. Every now and then I hear about Nimba or even Michelangelo trying to make a comeback with the Wizards and kind of ruins the memory of them from when they were in their prime. The good ones...they leave the game before the game leaves them...

  33. There is no such thing as cyberterrorism by DmitriA · · Score: 4, Insightful
    Schneier raises some good points regarding this issue in this month's Crypto-Gram.


    In January 2003, the SQL Slammer worm disrupted 13,000 ATMs on the Bank of America's network. But before it happened, you couldn't have found a security expert who understood that those systems were dependent on that vulnerability. We simply don't understand the interactions well enough to predict which kinds of attacks could cause catastrophic results, and terrorist organizations don't have that sort of knowledge either -- even if they tried to hire experts. ...

    Despite our predilection for calling anything "terrorism," these attacks are not. We know what terrorism is. It's someone blowing himself up in a crowded restaurant, or flying an airplane into a skyscraper. It's not infecting computers with viruses, forcing air traffic controllers to route planes manually, or shutting down a pager network for a day. That causes annoyance and irritation, not terror.

    This is a difficult message for some, because these days anyone who causes widespread damage is being given the label "terrorist." But imagine for a minute the leadership of al Qaeda sitting in a cave somewhere, plotting the next move in their jihad against the United States. One of the leaders jumps up and exclaims: "I have an idea! We'll disable their e-mail...." Conventional terrorism -- driving a truckful of explosives into a nuclear power plant, for example -- is still easier and much more effective.

    1. Re:There is no such thing as cyberterrorism by sn00ker · · Score: 4, Insightful
      In January 2003, the SQL Slammer worm disrupted 13,000 ATMs on the Bank of America's network. But before it happened, you couldn't have found a security expert who understood that those systems were dependent on that vulnerability.
      Now, was it not the case that it was the network load, rather than the worm, that caused these problems?
      It was contemporary knowledge that ATMs use(d?) dedicated networks, primarily to protect against intrusion. If ATM traffic is now being routed across the 'net, VPN'd or not, the possibilities are endless.

      As for "cyber terrorism" being a bullshit term, not entirely. Fine, loss of ATMs or e-mail won't panic most people (unless you're in the middle of a multi-billion-dollar, must-happen-now deal that's being conducted through e-mail), but you can do things through the 'net that will result in public disorder. A coordinated effort to modify the sites of all major news organisations could easily start a mass panic if the "right" message was presented - Even more so if web radio broadcasts were also tampered with to back the news sites.

      --
      "God, root, what is difference?" - Pitr, userfriendly
    2. Re:There is no such thing as cyberterrorism by Duckling · · Score: 2, Insightful

      And from this, it is obvious that Schneier seems to have a much more rational view on the matter. Kolstad is simply way off the mark.

      Why?
      Well, simply because his "mental exercise" presents a bunch of worst case scenarios, but not a single piece of evidence or fact that shows how or when we would ever come into these situations.

      The way it is presented, it looks more like unfounded paranoia than a sound analysis. He's repeatedly saying: what if is down for a week (or weeks)?
      What makes him think they will be, even if hit by a serious attack?
      Is he making the assumption that a more advanced worm would hit the Net with the initial force and speed of Slammer? Has he forgotten that Slammer effectively strangled itself?
      Also, he seems to ignore the fact that infrastructure providers (comms, water, electricity etc.) have been prepared for most kinds of disasters since the dawn of time, including computer system failures.

      However much the geeks of the world would like to think so, the world does not revolve around computers, and won't end without them.

  34. Re:Oh no! Shut the Interweb off! by The+Dark · · Score: 2, Insightful

    I think the root issue is the assholes who write the viruses in the first place, slack OS's and users just make their life easier.

    --
    sig's not here
  35. Re:Oh no! Shut the Interweb off! by KrispyKringle · · Score: 4, Insightful
    Your assumption is that true security is a theoretical impossibility. On what grounds?

    I agree that it's not safe to rely on humans to keep systems patched. But, for one, if most systems are kept patched, a worm like SLAMMER would be useless. This is an obvious point you neglect, but not an interesting one.

    More interesting, I think, is the debate over whether there is such a thing theoretically possible as a secure architecture. This is, of course, the idea behind "secure" systems designed to be so from the ground up, such as Palladium. Ethernet, TCP/IP, ARP, and most of the other protocols which make up the 'Net were not designed with security in mind from the bottom up, but rather designed for effectiveness, ease of implementation, and the like. For example, why do Ethernet cards allow promiscuous mode? It makes diagnosing certain problems easier, but it also represents a very big opportunity for all sorts of security vulnerabilities. Or why can MAC addresses be changed so easily? This represents an easy opportunity for mischeif.

    But had the entire architecture of the 'Net been designed for security and accountability rather than ease of access and openness from the start (granted, two often-conflicting ideals), would absolute security be possible?

    Many say that security is never truly possible without unplugging the computer from the 'Net, turning it off, and embedding it in concrete. This may be exaggeration, but of course it is quite difficult to prove something secure; RSA has not be proven secure, public-key cryptography has not been proven secure, and I don't really see how you could prove any other system secure, either.

    This may not be necessary, however. We may not know for certain that RSA is secure, but we assume that the NSA does not know how to factor such large numbers any better than the rest of us, and we assume it to be secure (and such an assumption does appear valid). If enough evidence exists to assume a system to be "practically secure," that is enough for implementaiton.

    I have no answers to these questions. But I think to assume such a problem is unanswerable is silly and is itself merely a non-answer. Security may not be an easy goal, but it may be acheivable. At least in some forms, this is clearly the case; it would quite evidently be possible to stop some sorts of attacks, like SLAMMER, in the future, even if theoretical, absolute, security remains un-obtainable.

  36. Re:Oh no! Shut the Interweb off! by Beryllium+Sphere(tm) · · Score: 2, Insightful

    If we're talking about ultra-fast worms in particular, only the first problem matters. A piece of malware that depends on users getting to their email is going to talke longer than 15 minutes to spread.

    We could still be vulnerable even if everyone patched their systems, if someone writes the exploit before the patch comes out.

    Scary stuff.

  37. Worm Analysis paper - "prior art" by versus · · Score: 4, Informative
    This paper appears in the Proceedings of the 11th USENIX Security Symposium (Security '02)

    How to 0wn the Internet in Your Spare Time

    Interesting topics: "Better" worms techniques

    • Localized scanning--Code Red II
    • Multi-vector worms--Nimda
    • Hit-list Scanning
    • Permutation Scanning
    • Simulation of a Warhol Worm

    "A combination of hit-list and permutation scanning can create what we term a Warhol worm, capable of attacking most vulnerable targets in well under an hour, possibly less than 15 minutes. "

    --
    Brain is my second favorite organ.
  38. How to make super destructive worm by bigberk · · Score: 3, Funny

    A really nice way to make an extremely destructive worm would be to ensure that the great majority of computers connected to the internet are running the exact same operating software. This would guarantee that a vulnerability can reliably be exploited in pretty much any neighbor.

    Unfortunately, such a scenario is but a dream. Modern operating systems are too secure!

    1. Re:How to make super destructive worm by brian728s · · Score: 2, Interesting

      The worm I am afraid of is one that learns (or at least adapts) using some sort of evolution-based algorthm. Several million computers is a sufficient "population" for the worms to gain a lot of knowledge about what works and what doesn't.

  39. Sounds like.. by dr+ttol · · Score: 2

    This sounds like Ender's Worm. Very interesting read.

    1. Re:Sounds like.. by brian728s · · Score: 2, Interesting

      It is similar, but not quite the same (ender's worm). The worm would be based on a neural network capable of storing various infection and spreading techniques. Coupled with the neural network would be the âoestandardâ worm tools for infection and stealth. The core receives additional training information from other infected computers. The first time a worm is activated, it creates copies of itself on the host in various places using various techniques. Many of these may be discovered. Their loss is more valuable to the species. After a predefined time, the âoeprimary wormâ contacts all other worms on the system. The ones that survived are considered evidence that the particular method works on a particular system configuration. Next, it begins scanning the internet for other worms. When it finds one, it transmits a string containing two parts. One part describes various aspects of the system (operating system, versions of patches, versions of programs, versions of antivirus definitions, etc), the other describes the methods that successfully infected the computer. This information would be most certainly less than one packet. When a worm receives one of these packets, it first verifies it, and then adds it to its neural network. It then queries its neural network using its system configuration string and reinstalls itself onto the system based on those parameters. Then it waits a shorter time (maybe 15 minutes) before resuming port scanning (to make sure the updates don't reveal itself before it begins contributing to the "gene pool" again) This process allows the worm to evolve on its own and discover new ways to infect (assuming some sort of random mutation system).

  40. Re:Oh no! Shut the Interweb off! by knobmaker · · Score: 4, Insightful

    Your assumption is that true security is a theoretical impossibility. On what grounds?

    Not to speak for the previous poster, but that's a pretty good assumption. No technological advance has ever succeeded in remaining secure for long.

    (Example: plate armor probably seemed impregnable in practical terms, until the longbow came along. Yeah, okay, a stinking peasant could hamstring a warhorse and beat the knight to death with a rock while he lay helpless on the ground, but these possibilities were probably ignored with the same superstitious enthusiasm that sysadmins ignore the rarer kinds of attacks on their systems.)

    I would think that the burden of proof falls on those who maintain that "true security" is attainable. And the minute you propose some system to guarantee that true security, some clever person will come along and propose a way to get around it.

    Anyone designing a critical security system should probably start off with the assumption that security will eventually be breached, and make damn sure that when the breach occurs, catastrophe does not result.

  41. Oi, did anybody actually READ the link? by schmaltz · · Score: 2, Informative

    It's not a description of an actual worm, it's not even a description of how to build a worm, it's a vague description of how a worm might be constructed:

    1. Scan internet servers looking for vulnerable software
    2. Infect said software.

    Duh. The author writes, "I didn't write this paper to give people malicious ideas." -- It's okay! There's nothing in the paper that would assist people in doing anything useful!

    --
    Big Daddy, Johnny, Burp, Aunt Zelda, Scott, Slurp, Big Momma ... where's Siggy?
  42. But by commodoresloat · · Score: 5, Funny

    Everyone knows that worms DO infect apples.

  43. Re:Oh no! Shut the Interweb off! by Anonymous Coward · · Score: 2, Informative

    Actually, the new Bugbear does selectively infect shared files. On my network, two 98 boxes had their entire C drives shared, while someone else (a laptop) became infected with the new Bugbear. Those two computers had only a few infected files, including:

    c:\program files\internet explorer\iexplore.exe
    c:\program files\outlook express\msimn.exe
    c:\program files\adobe\acrobat x.0\reader\acrord32.exe

    So it looks like the new Bugbear already selectively infects shared files.

    We need to stop stressing prevention quite so much and start dealing with what happens when a virus does get through.

    We don't need to stop stressing prevention, but some shops certainly do need to react faster when something hits.

  44. Re:Oh no! Shut the Interweb off! by Gordo_1 · · Score: 5, Insightful

    Actually, this is exactly where a portion of the security community is currently focusing. With a deep enough level of protocol understanding, it's often possible to write generalized algorithms that detect (and presumably block) novel attempts to exploit a known vulnerability. For example, in the case of SQL Slammer, the buffer overflow vulnerability disclosure came many months before the worm hit, and at least a couple intrusion detection vendors were able to positively identify the exploit attempt without requiring an update -- one of the keys to protection against such a rapidly propagating worm.

  45. Re:Oh no! Shut the Interweb off! by GigsVT · · Score: 5, Insightful

    I'm no historian, but I bet plate armor was more for intimidation factor than anything else.

    I bet a hundred shiny enemy knights on horses really does a lot to demoralize your thousand foot soldiers.

    I think a lot of modern security is the same way, deter most attacks with shiny armor, and minimize damage on the inevitable attacks that will get through.

    Now the real problem these days is the companies selling cheap tin armor and telling people it's the strongest steel. Some things never change. :)

    --
    I've had enough abrasive sigs. Kittens are cute and fuzzy.
  46. What about a hydra? by BitwizeGHC · · Score: 2, Funny

    A multi-headed worm that can penetrate seven different networks at once, and steal 4 billion dollars from the Swordfish slush fund, all within ten seconds?

    --
    N4st0r, trixx0r h0bb1tz0rz! Th3y st0l3 0ur pr3c10uzz!
  47. only large-scale communication network? by Imperator · · Score: 4, Funny

    There are these things called, uh, let me think, they're often connected to wires in the wall, umm, sometimes people forget to turn them off in movie theaters, err, they make noise when someone wants to talk to you, uh, damnit I forget. But they were the big thing a few years ago. I think I can even remember using them for Internet access, but maybe that was just a bad dream.

    --

    Gates' Law: Every 18 months, the speed of software halves.
    1. Re:only large-scale communication network? by term8or · · Score: 2, Funny

      And what was that thing... Um, it's something like "Snail", or possibly "Male", um...

      --



      "As a writer / novelist you might want to spellcheck your sig. :) " - AC
  48. Re:Oh no! Shut the Interweb off! by KrispyKringle · · Score: 3, Insightful
    I'm not sure I'd agree with that assessment. With the shiny knights metaphor, anyone, regardless of education or background (or military experience, in this example) is intimidated simply on a gut level. But with computer security, if you are ignorant, you aren't indimidated by the latest firewall or the highest-encryption VPN. And if you know enough to be a threat, you know enough to know what armor works and what doesn't. Unlike your metaphor with medieval knights, the actual conflict is combat, and the defenses are secondary. With computer security, the conflict is the armor; anyone who is a "soldier" is also an armorer who knows what is strong and what is weak.

    Name a security measure that is mere intimidation. Name a measure that has no added value and is just shiny armor. (This does, admittedly, apply to local security measures using biometrics; thumbprint scanners are less secure, at least on the consumer-grade, and just cooler looking, but I don't think it applies quite the same way to real network security measures.)

    Your point is well-taken, that companies have no incentive to sell something that works above and beyond selling what sells, but it neglects that the two generally do go together and the leaders in the field tend to have true committment to security.

  49. heh by Poofat · · Score: 2, Funny

    "The happiest day of my life was when the doctor said I didn't have worms anymore"

  50. *ring* hello? is virus there? Yea, hold on... by mabu · · Score: 2, Interesting

    The problem with Ender's worm is that by design it is self-defeating. The idea of a "worm farm" of different units targetting different systems is effective, but with a common communications protocol, it negates the worms' ability to evolve and thwart detection. The writer of the paper talks about the worms' needs to change signatures to avoid AV detection, yet communicate with other units by a common question-and-response session, which would make it incredibly easy for any infected unit on the network to be easily identified.

    To date, what gives away worm activity is the incessant talking they perpetrate, which is necessary to their propagation. So the key to any "super worm" isn't necessarily the speed at which it can infect nodes, but how quietly this can be done. I would argue that a slow, methodical infection, at a pace which makes the activity unsuspicious, has the potential to be much more dangerous.

    Maybe this would be the ultimate worm.. two modes.. the first one slowly propagates and avoids detection, then a second phase which triggers a more aggressive frontal assault.

  51. Patching-based security won't work. by Animats · · Score: 3, Informative

    A key point of this article is patch-based security won't work, and signature-based virus scanning won't work, against a competent attacker. If someone discovers a new exploit and crafts a fast-spreading attack based on it, the attack can take over a vast number of hosts long before there's any response.

  52. It was inevitable... by NotQuiteReal · · Score: 2, Funny
    The worms must have crossbred with the spam... after all, lots of them promise to make my worm go farther, faster, and LONGER!

    --
    This issue is a bit more complicated than you think.
  53. a call to the white hats? by Vaughn+Anderson · · Score: 5, Interesting

    Hey, when is someone going to be nice enough to the world to make a purty li'l worm that actually shuts off all the security features that are exploited in Outlook...

    I am sure there are plenty of reasons not to do this, but if you asked the person politely like.

    "Hello, this is your friendly internet virus fighter coming to say hello and give you a hand! Would you like to turn off the features now that allowed me to hack into your computer?
    | Yes | No |"

    *click*

    "Thank you and have a nice day! If I come back again that means a new hole/exploit was found in Outlook and I can give you another helping hand!"

  54. Re:Oh no! Shut the Interweb off! by RzUpAnmsCwrds · · Score: 3, Insightful

    "on the network. For computers to be useful you have to have some level of trust"

    This is what Palladium is all about. Executable code is signed, and it can only run if you choose to trust the publisher. Viruses are less of a problem because an infected file will fail signiture verification.

    Microsoft may be misguided with Palladium and the DRM goodies that it includes, but the underlying concept of trusted and untrusted code is a good one.

    Might I add, however, that the same thing can be done without the complete hardware implementation of Microsoft's product. A simple signed executable system would do the trick. Microsoft already uses this for ActiveX controls.

  55. Re:Oh no! Shut the Interweb off by zoward · · Score: 2, Insightful

    Although Palladium may help with some worms, since Outlook Express is a "trusted application" (at least by Palladium...), those .vbs scripts will be run as trusted apps; this will allow better than half of the viruses currently circulating to continue to do so.

    It's almost amusing to read my mail in kmail with HTML rendering turned off, and look over the attached scripts that arrive in my mailbox now and then. It makes me feel like an entomologist looking though a magnifying glass at a venomous spider pinned to a corkboard.

    --
    "Can't you see that everyone is buying station wagons?"
  56. Re:Oh no! Shut the Interweb off! by Mark+Bainter · · Score: 4, Insightful
    An excellent point. Worse, users aren't exactly careful about who they trust when it comes to computers.

    Scenario:

    • User opens email
    • User clicks attachment
    • Window pops up: <blink>WARNING<>
      This code has not been signed (or is signed by an unknown publisher) Click OK in this box could transmit a virus, destroy your hard drive, subvert your nations economy, summon flesh eating aliens and damn us all to eternal hell.
    • User clicks Ok

    Yes, checking signatures on code you execute is a good thing, but there are specifics to be concerned about in an implementation. How to you guarantee the signature? Obviously, some sort of authentication, and method of checking the signiture against, perhaps, a public key is needed. And to handle that you need a web of trust that's workable. But none of that matters a whit if users aren't careful about the trust, and don't investigate. Nor is it worth a darn if they ignore warnings. These problems (aka user education, and poorly designed secure systems) have to be taken care of before any of this will be useful.

    --
    "No nation could preserve its freedom in the midst of continual warfare."
    --James Madison
  57. Re:Oh no! Shut the Interweb off! by Metasquares · · Score: 2, Informative

    DOC, XLS, MDB, BAT, ZIP, TAR.*...

    Ok, so those aren't obvious carriers in the same way that you classified the filetypes that you listed. However, they are all potentially capable of carrying and delivering malicious code and, at the same time, all potentially valid attachment types.

    The problem with blocking attachments is that certain filetypes are often used for virus distribution but also for valid email. Something like PIF can be blocked because no one sends PIF files as attachments. Blocking an EXE or a DOC file may have unforseen consequences, however. The solution isn't to block every suspicious filetype that comes through. Running those files through a virus scanner on the server side would probably be a good idea, though. Of course, that'd use more CPU time than just delivering the message, so messages might end up being delayed a few seconds, but it's a small price to pay.

  58. Re:Oh no! Shut the Interweb off! by ScuzzMonkey · · Score: 2, Insightful

    Well, but it is the fault of the criminals. It's very sad that most of us live in societies where your point seems to implicitly make some sort of sense, but no one should lose sight of the fact that there is really no one to blame for this but the instigator. Because another parallel that works, unfortunately, is:

    "You got raped because you were showing a little leg and walking down a dark street?"

    You can dress more conservatively and only walk down lit streets, but by refusing to address the root issue, you give up some of your freedoms. Same thing here; there are a lot of neat, open things that we should be able to do with computers to make our lives easier without having to give in to the criminals who write these things. The parent post you are replying to has a good point--we shouldn't be putting more effort into locking ourselves down than we are in to finding and dealing with the offenders.

    --
    No relation to Happy Monkey
  59. Another nail in the anti-virus coffin by gilgongo · · Score: 2, Insightful

    Ever since explorezip (the worm before that I Love You thing) appeared and wiped out most of our office network, I have thought that the whole anti-virus industry was on the back foot.

    At work we all have this little anti-virus icon in our task bars, updating virus libraries from a central server (and slowing down all our machines as well). But if a new Outlook worm came out and we all started opening it, the anti-virus software would just ignore it until the patch came out. Even if the gap between us getting the worm and the patch was a few seconds, the damage would be done.

    So why are we paying thousands of bucks a year for anti-virus when we know it probably will do nothing? Sure, it catches the occasional tired Word macro and maybe an antique trojan on an old floppy, but is that worth it?

    Hmm.

    --
    "And the meaning of words; when they cease to function; when will it start worrying you?"