Slashdot Mirror


RPC DCOM Cleanup Worm Appears

UnderAttack writes "This morning, the SANS Internet Storm Center posted a note about an increase in ICMP traffic, including a quick initial analysis. As it turns out, yet another worm, this time the W32/Nachi.worm, is going around taking advantage of the RPC DCOM vulnerability. The twist this time: the worm will actually clean up machines. It tries to download the correct patches from Windows Update and remove the Blaster worm."

57 of 758 comments (clear)

  1. that's cute by Anonymous Coward · · Score: 5, Funny

    Now they just need to release a worm that cleans up the blaster virus by formatting the machine and installing linux

    1. Re:that's cute by krisp · · Score: 4, Funny

      I'd settle for a worm that downloaded a kernel and loadlin.exe. The kernel would boot an included ramdisk image that changed the MBR to hide windows and a login message telling a riddle to guess the root password.

      Something along the lines of:
      Who do I now need to pay $699 to?

    2. Re:that's cute by swordboy · · Score: 4, Interesting

      I'd settle for a worm that downloaded a kernel and loadlin.exe.

      You actually don't need a worm for that. Most users aren't savvy enough to know what an ActiveX installer is so they simply "click yes". We wouldn't have the Gator problem that exists if users were just a bit more educated (or MS software wasn't so exploit-able).

      If you could create a distro that installed and co-existed on an NTFS partition, you'd have a winner. Heck, you could even give users the option to "remove my windows partition" once they started using it.

      IMHO - Linux on NTFS is the first step to widespread adoption. Users would be able to install it through Windows via a regular InstallShield or whatever...

      --

      Life is the leading cause of death in America.
    3. Re:that's cute by blixel · · Score: 4, Funny

      Now they just need to release a worm that cleans up the blaster virus by formatting the machine and installing linux

      That wouldn't work too well. You would have to download the virus yourself, make sure the virus was compatible with your hardware, make sure you had all the necessary dependencies for the virus to run properly, then you would have to modify the virus source code to work with your particular setup, then go out on newsgroups seeking help when you can't get it to work, and in the end you would end up giving up, re-installing Windows, then posting an article on Slashdot about how Linux "isn't quite ready for the masses yet."

  2. Coolness.... by MadBiologist · · Score: 4, Funny

    The only thing better than a clean up worm... is a gummi worm!

    --
    'Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?'
    1. Re:Coolness.... by Mortanius · · Score: 4, Insightful

      It's a nice thought, but when it comes down to it, it's still a worm. It installs itself on your machine, without your permission, exploiting a hole in the Windows RPC code, downloads patches without your permission, installs the patches, still without your permission, and then sits there until it kills itself on Jan 1, 2004. I know on Slashdot there are enough people paranoid about Windows patches to want to not download them anyway, this will surely set them off. If worm/virus authors were ever tracked down and prosecuted, I'd demand the author of this worm to be dealt with in the same manner.

      On a more practical side, though, perhaps we need more of these, enough people seem to not patch their systems themselves...

  3. This could go on for a while... by Mr.+Neutron · · Score: 5, Funny

    What happens when someone releases an anti-anti-Blaster-worm-worm-worm?

    --
    dinner: it's what's for beer
    1. Re:This could go on for a while... by marktoml · · Score: 5, Interesting

      It really is more akin to a microphage than a virus. Perhaps this starts a whole new trend :)

      Neat nonetheless.

    2. Re:This could go on for a while... by TheViffer · · Score: 5, Interesting

      Better find a new security hole then as this is closing the door to msblaster's hosts. So basically the "next" worm would have to find another vulnerabilty in Windoze to get to the W32/Nachi worm

      But since its gotten in a "host" a new way the W32/Nachi worm is of little concern since its trying to kill the old worm.

      But what this will do is make leet hackers trying to industrialize thier worms. Such things as taking more control over the system, disabling all traffic to Microsoft, attacking virus protection, or even close the door themselves so that cleaner worms or "copy-cat" worms can't get in.

      The evolution of the "worm" has begun.

      The other question I have is whether or not the W32/Nachi worm cleans up itself it it can not find a host to spread to. The "cure" may turn out to be no better then msblaster if it generates massive network traffic looking for new hosts.

      --
      -- Knowing too much can get you killed, but knowing who knows too much can make you rich.
    3. Re:This could go on for a while... by swordboy · · Score: 4, Insightful

      What happens when someone releases an...

      [starts coding furiously on a anti-Gator worm]

      --

      Life is the leading cause of death in America.
    4. Re:This could go on for a while... by Abcd1234 · · Score: 5, Insightful

      The other question I have is whether or not the W32/Nachi worm cleans up itself it it can not find a host to spread to. The "cure" may turn out to be no better then msblaster if it generates massive network traffic looking for new hosts.

      You know, a really cool way to get around this is have the worm only trigger an infection when a Slammer infection attempt is detected. This way, you'll only hit infected machines. Then, coupled with an expiry time, this thing could be relatively benign (well, other than the whole "break into computers and install software without permission" thing).

    5. Re:This could go on for a while... by griffjon · · Score: 4, Interesting

      It's the first rumblings of Curious Yellow, I tell ya.

      The end is near. So download Linux!

      --
      Returned Peace Corps IT Volunteer
    6. Re:This could go on for a while... by Hellkitten · · Score: 5, Insightful

      I see a new arms race coming up. "White hat" virus/worm writer vs "Black Hat" virus/worm vriters.

      Or perhaps it was just that one of them finally realized that to make headlines (and get the attention that these guys seem to crave for) it had to be different from the rest. Since worms usually cause damage, what better way to be different than by fixing damage

      Or perhaps it's simply microsofts latest patch distribution strategy. "We use our holes to patch our holes". (So they're not bugs, just an update distribution feature)

      --
      - We are the slashdot. Resistance is futile. Prepare to be moderated -
  4. So cool! by KingDaveRa · · Score: 5, Interesting

    Oh wow! This is the internet equivilent of white blood cells! First there was white-hat hackers. Now white-hat virus writers? Makes a damn good change!

    1. Re:So cool! by __past__ · · Score: 5, Insightful

      Except that white blood cells don't usually cause lots of damage themselves. Even a "white-hat" worm causes lots of traffic and can thus bring down networks and make innocent people pay for lots of wasted bandwidth.

    2. Re:So cool! by KingDaveRa · · Score: 4, Informative

      Very true.

      But, notice that this worm self un-installs at a certain date. Its quite a way away, but even so. The fact it opens port 707 sounds a bit worrying though.

    3. Re:So cool! by slide-rule · · Score: 4, Insightful

      You seem to overestimate the common person's knowledge and saavy about even the very need to patch their systems. See this personal account. You would be surprised just how innocent people can be. Start-Windows Update ? Sure, it's there, but if they don't know *why* it is there and it hasn't been scared into them at a personal level, they probably won't play with it, for fear they'll break something and have to pay a repair man at a shop somewhere to fix it.

    4. Re:So cool! by bravehamster · · Score: 4, Insightful

      You would be surprised just how innocent people can be

      You seem to be confusing innocence with willful ignorance. If you want to own and use a computer, especially one connected to the internet, you have an implied obligation to make sure you know how to use and care for it properly. Just like when you own a car. When your ignorance begins to impact and harm other people, any claim of innocence gets tossed right out.

      --
      ---- El diablo esta en mis pantalones! Mire, mire!
  5. Time till first lawsuit by Aadain2001 · · Score: 5, Insightful

    I'm taking bets on how long till the first lawsuit comes out against the person or persons who wrote this helpful worm. I say it will happend before the people who wrote the destructive worms are even arrested.

    --
    Space for rent, inquire within
    1. Re:Time till first lawsuit by dnoyeb · · Score: 4, Interesting

      Indeed. "No good deed goes unpunished," as the saying goes.

      Plus, it just so happens that good people are not as paranoid and don't tend to hide themselves as well...

    2. Re:Time till first lawsuit by NevermindPhreak · · Score: 5, Interesting

      its very possible that this worm was made by the same person who made the original. notice that this worm was released *after* the attack on the microsoft website. also, the worm was not meant to cause any harm on any of its host systems. the worm served its purpose, so why not clean up after yourself?

  6. They will never allow this to grow by passthecrackpipe · · Score: 4, Insightful

    Heh, if this turned into a trend, it could spell the end of an industry - the virus-removal industry. Imagine: Open Sourced, hunter-seeker virus removal worms, out in the wild nearly as fast as the original, cleaning up the mess some scridiot created in a fit of juvinle mischief. Somehow, I don't think the virus writer/scanner cartel will not let this become a trend.

    --
    People who think they know everything are a great annoyance to those of us who do.
    1. Re:They will never allow this to grow by bahamat · · Score: 4, Interesting

      I don't think anyone has mentioned this yet, but interestingly enough, Network Associates VirusScan and Sniffer products detect and block Nachi.

  7. That's hysterical... by mekkab · · Score: 5, Interesting

    Because Mom and Pop can't be bothered to figure out this internet thingie ("can I talk on the phone at the same time? Will it turn on in the middle of the night and download spam?") It seems some avenging white-hat (aka Sysadmin who is tired of encountering so many damn infected machines) has coded up a viral solution!

    An even better twist of fate would be for that individual to get arrested for creating a worm! (its a DMCA violation to use that hack...)

    --
    In the future, I would want to not be isolated from my friends in the Space Station.
  8. Scanning my users by zbowling · · Score: 5, Interesting

    I just got done scanning all my users to check for the patch install. About 1/4 have the patch so far, that are publicly accessable and not behind a firewall. Using the tool on Microsoft's website, and it seems to work well for us ISPs. I set up the router to block that port on my core router but if some gets inside the network with it, we might still get hit. This thing is bad.

    --
    No.
    1. Re:Scanning my users by cptgrudge · · Score: 5, Informative
      If I would make a guess, it's most likely this. Pretty slick; it allows you to scan IP subnets.

      For those Windows sysadmins that don't know, you can use SUS (free from Microsoft) on a local server to distribute updates via Automatic Updates. The clients need to be configured, through Group Policy (or manually, if you wish), to use your server instead of Micosoft's, but it can scale quite easily to enterprise level.

      It needs IIS to run, but it runs the IIS Lockdown Tool at the same time.

      --
      Qualitas edurus commercium, nullus penitus net rimor, nullus deus beneficium
  9. Helping lazy admins by FattMattP · · Score: 4, Funny

    Wow, a worm to do the work that the sysadmin should have done in the first place. That'll encourage those lazy sysadmins to just sit back and continue to do nothing.

    --
    Prevent email address forgery. Publish SPF records for y
  10. Where was this worm last week? by tinypillar · · Score: 5, Funny

    Instead of quickly cleaning mblast last week from my network, I could have just sat around on my ass and played video games . . . and let this worm do all the work for me. Damn.

  11. I feel very comfortable ... by burgburgburg · · Score: 5, Funny

    turning over my network to a well-meaning worm. I trust that it will properly protect my network. I believe that the teeth I put under my pillow magically are turned into quarters. I am confident that Microsoft has resolved this RPC implementation problem. I have faith that Microsoft's security initiatives are on track. I am sure that elves fix my shoes when I fall behind on my work.

  12. Pretty cool by thebatlab · · Score: 4, Interesting

    I think on numerous occasions it was debated here and in other places whether this was something that should be done or not. I think some people raised privacy concerns and other ethical things like that. Basically saying "a virus is a virus" (yeah, yeah it's a worm :)) However it can be sort of viewed in the way vaccines are. Harmless strains of virii used to boost the immune system. That's just what this worm does. It's a harmless strain that clears up an "infection" I think this is a worm I wouldn't mind my parents having on their computer. I'm almost positive they haven't patched their machine and now that DSL is in their rural area they're all the more vulnerable to it. If this can clean it up for them without me pulling my hair out while going over the update process then so be it :)

    1. Re:Pretty cool by MadCow42 · · Score: 4, Insightful

      >> However it can be sort of viewed in the way vaccines are

      Sure... but when was the last time a nurse jabbed you in the ass with a vaccine while you were walking down the street stuffing your mouth with dounuts?

      Even vaccines are voluntary things that have risks...

      MadCow.

      --
      I used to have a sig, but I set it free and it never came back.
  13. Internet Robin Hood by derrickh · · Score: 5, Insightful

    This is probaly the best internet virus news I've heard in a long time. Unfortunately, it's only a matter of time before the creator is tracked down and prosecuted for violation of internet security laws.

    D

    1. Re:Internet Robin Hood by ChrisDolan · · Score: 5, Funny

      If this worm is supposed to be Robin Hood, then picture Sherwood Forest overrun by about 30 million tights-clad archers running about, grabbing every person in sight, shaking them vigorously to see if they are rich, and cutting purses if jingling is detected.

      Let's just hope that jingle-detection algorithm is perfect, and the purse-cutting knife is sharp and true. Otherwise Sherwood is going to have a lot of pissed-off, penniless eunuchs.

      Vigilantism is a dangerous game. Innocent victims do get hurt. This worm is a very bad idea.

  14. Core wars by On+Lawn · · Score: 5, Interesting


    Something about this seems like a global scale Core Wars game. How scary, horrible and cool at the same time.

  15. And guess who'll get caught by tbase · · Score: 5, Insightful

    No good deed goes unpunished. Who's going to give odds that the writer(s) of the 'good' worm will get caught and strung up by the short hairs under the DMCA? As long as it only affects machines that haven't already been patched- great. But what if it's flawed and actually causes unintentional damage? And if the original authors of the Blaster worm's intent was to teach people who ignore warnings a lesson, might this not start a virus war, of sorts? Sounds cool, but I'm not convinced this is an entirely good thing.

    --

    666-607: 6th floor apartment of the beast
  16. Wow, I called this last Thursday! by Jack+William+Bell · · Score: 4, Insightful

    Last week we were discussing the MSBlast worm here in the office and I commented, rather offhandly, "I wonder how long it will take before someone writes a phage worm that uses the same hole, but eats MSBlast?"

    Apparently the answer is 'Four days at most...'

    The extent to which the Internet recapitulates evolution and biological systems is astounding!

    --
    - -
    Are you an SF Fan? Are you a Tru-Fan?
  17. Re:Speaking of which... by jmanning · · Score: 5, Informative

    This article might answer your question.
    Basically, No. Nothing happened.

  18. Re:Speaking of which... by Flabby+Boohoo · · Score: 4, Informative

    No, Microsoft killed the windowsupdate.com domain.

  19. Predicted a long time ago, and very far away. by teamhasnoi · · Score: 4, Funny

    Begun, this worm war has.

  20. the next few weeks... by joedoe · · Score: 5, Interesting

    should provide a great test of the security savvy of university IT departments, as students return to the dorms and plug in their unpatched computers, the vast majority of which probably haven't been connected to the Internet in several months.

    Unsecured university networks could unleash a new wave of worm-infected machines on the Net. This could be fun to watch, for those of us who aren't uni sysadmins...

    --joedoe

  21. Obligatory Semi-Relevant Simpsons Quote by shik0me · · Score: 5, Funny

    Skinner: Well, I was wrong. The lizards are a godsend.
    Lisa: But isn't that a bit short-sighted? What happens when we're overrun by lizards?
    Skinner: No problem. We simply release wave after wave of Chinese needle snakes. They'll wipe out the lizards.
    Lisa: But aren't the snakes even worse?
    Skinner: Yes, but we're prepared for that. We've lined up a fabulous type of gorilla that thrives on snake meat.
    Lisa: But then we're stuck with gorillas!
    Skinner: No, that's the beautiful part. When wintertime rolls around, the gorillas simply freeze to death.

  22. Bad Idea by JonathanX · · Score: 5, Insightful

    Let's see...

    Does it magically boot the system off known good media to check for
    rootkits/backdoors/trojans/[insert favorite evil here]???

    No.

    Does it magically monitor the traffic to and from the machine for a
    reasonable period of time to ensure that nothing is amiss???

    No.

    Does it reinstall the host OS from the original media and restore the last
    known good backup???

    No.

    So...what does it do?

    It patches the hole and wipes out the worm if present, then deletes itself
    in 2004. Great...except, MSBlaster wasn't the only thing that took
    advantage of the RPC/DCOM exploit. Oops. Now the system administrator has
    no cause to take any of the above steps because from his view, sitting in
    his office running the latest eEye scanner, the machine was never
    vulnerable.

    When will folks figure out that these so called "good worms" are not a good
    thing? The failure of the author to take note of such fundamental flaws in
    his or her logic suggests that they have no business doing anything, much
    less volunteering to correct the world's problems. Of course, this could be
    a deliberate cover-up...but somehow I think it's just another security
    cowboy trying to save the world.

  23. Self-removing on 1st Jan 2004 by Dynamoo · · Score: 4, Interesting

    NAI report that this is a self-removing worm after 1st January 2004.

    --
    Never email donotemail@WeAreSpammers.com
  24. Maybe, but not likely. by raehl · · Score: 4, Insightful

    The thing about the "white-hat" worm is that it'll eventually kill itself - as it runs around patching machines, there are less vulnerable machines out there, so it will lose its ability to spread.

    Or, put another way, if there were no "white-hat" worm that might also up traffic for a while, there will probably be a black-hat one that WILL up traffic for a while, AND format a few hard drives to boot. Erm, not boot.

  25. A good worm is a dead worm... by ixpro · · Score: 5, Interesting

    People who think this is a good idea, are you for real??? Do you know how much work goes into protecting large corporate networks, rigorous testing of each and every patch before it goes into production, reacting to IDS alerts, identifying potentially vulnerable environments, etc... The fact remains the same, both worms exploit the same vulnerability, both worms modify system data without user's consent, and both are potentially "lethal" because of unpredicted errors and patch compatibility issues. Let's not pee our pants trying to cheer. This is not white hacking. White hacking is identifying the vulnerability, and advising the user on how to protect themselves, but what do I know, feel free to flame, cause that seems to be the common trend on /. these days...

  26. I guess that explains my firewall activity by Control-Z · · Score: 4, Insightful

    I've been getting a lot of firewalled ping activity today, must be that cleanup worm. Machines that the Blaster worm never even tried to hit. I wouldn't trust a cleanup worm one bit more than I would Blaster. Everyone knows (or should know) you can't count on good intentions on the Internet!

  27. it needs a EULA by Tumbleweed · · Score: 4, Funny

    "By running this infected program, you agree to abide by these terms & conditions..."

  28. COMING SOON by Multiple+Sanchez · · Score: 4, Funny

    - W32/Webster.Worm: Opens a command shell using the RPC VNC OpenHole ActiveX/rootsploit featurebug. Opens all MSWord and Works documents, fixes spelling and grammar, saves without a backup, then writes a polite "echo" line to AUTOEXEC.BAT gently chiding you to learn to read at a fourth grade level.

    - W32/PSCheezRemove.AutoTrojanMurderWorm: Attaches to exposed port 5555, downloads GOODTASTE.EXE from a predefined HTTP server, which it then executes. Scans Hard discs for PSD files that employ garish glows, drop shadows, and procedural 2D fire effects, and replaces those layers with a text layer containing the URLs of several reputable visual arts schools.

    - Existence/DrawerClean.Intruder: Waits until you leave for work, jimmies your bedroom window, and illegally enters your home. If he/she finds an underwear drawer, he/she folds and neatly stacks the contents of the drawer, quicksorting by color, then leaves. Symantec is reporting a variant, DrawerClean/FourStar, which leaves a mint on your pillow on the 16th of each month.

  29. Re:Speaking of which... by Munelight · · Score: 5, Funny

    Microsoft killed the windowsupdate.com domain.

    Did anyone else read this with the tune of "video killed the radio star" playing in their head?

  30. one possible author by erikdotla · · Score: 4, Funny

    I feel there's only one possible author of this antiworm: Microsoft.

    Think about it. No average sysadmin would do it to clean up his systems - there's too much liability under DMCA. Idiot home users don't care. Non-Microsoft people are glad that they were to be attacked on Saturday. Who's left? The punk kids who write all the viruses? Why would they care about this? The only other possiblity would be some security company like eEye trying to gain reputation - but again, the DMCA issues would prevent them from disclosing that they ever wrote it.

    Hm... whoever wrote it cares a lot about Microsoft and isn't worried about the DMCA. Microsoft is the only possibility!

    --
    # Erik
  31. Depressing thoughts by DukeyToo · · Score: 5, Insightful

    These worms are child's play; it is only a matter of time before someone decides to do something *really* nasty with a well thought out worm.

    There are probably thousands of programmers out there that could have written the blaster worm. Most did not want to do it. Of those that would, most seem to be content to write prankster-style worms. One individual decided to write an anti-worm-worm.

    What if one had decided to write a *really* malicious worm? In my mind, it is a 99% certainty that eventually some pissed off malcontent will do so. And they do not even have to be in the country.

    Imagine a malicious government, with 100 dedicated programmers.

    Or a well funded terrorist or anarchist.

    Imagine, multiple simultaneously spreading worms, helping each other by opening backdoors, targeting Windows systems, Apache web servers, hardware routers, telephone switchboards, and whatever else they can find. And the payload? Designed to inflict the most economical damage. Perhaps even a smokescreen to illicitly gain access to systems that manage power, water, electricity, and actually cause physical damage too.

    Governments need to sit up and take notice, this is serious stuff.

    --
    Most writers regard truth as their most valuable possession, and therefore are most economical in its use - Mark Twain
  32. Consider it this way by Rogerborg · · Score: 5, Insightful
    • Under no circumstances is Nachi worse than Blaster.
    • If you're vulnerable to Nachi, you're vulnerable to Blaster. It's not a question of whether Johnny NoPatch gets Nachi, it's a case of whether he gets Nachi or Blaster.
    • The fix for Blaster will protect you from Nachi.
    • A virus checker that can remove Blaster can remove Nachi.
    • Getting Nachi will stop you getting Blaster, even if Nachi is removed.

    If Blaster wasn't in the wild, Nachi would be abhorent. But the thing is, Blaster is in the wild. It's folly to pretend otherwise.

    I can see the pragmatic value of this form of worm, as long as it follows the rule that it should under no circumstances do more damage than the worm that it blocks. Sure, I'd still like to kick the crap out of whoever released it, but I'd shake his hand first.

    --
    If you were blocking sigs, you wouldn't have to read this.
  33. Worms: The good, the bad, and windows update by m0smithslash · · Score: 5, Interesting

    When you get right down to it, a worm or a virus is just a bit of code that updates your computer in some fashion. It allows your computer to perform some function it did not previously perform. In essence, it is no different than hitting windows update and hoping for the best.

    Well, of course there is a slight difference. With windows update, you ask for the update to happen. That is not the same as knowing what is really being changed. For example, the most recent windows update broke EI when it tries to talk to Squid. Also, I do not really know what is being updated by windows update, I just have to hope for the best.

    So, is leaving a port open any more of a security risk than pressing the "Windows Update" button? Either way I am giving people who I do not know and probably don't trust access to my computer.

    On the flip side, does a worm that improves my computer in some way any better than one that degrades my computer? Would it be ok for MicroSoft to release a worm that automatically upgrades EI? I think more right thinking people would agree that it is wrong, even if its for the right reasons. The end does not justify the means.

    Somewhere there is a line between right and wrong here. The problem of course is that there are so many people who do not understand what a worm or an update are, how can they possible do the right thing? Does a fix it worm make sysadmins lazy?
    Maybe. Does it help the little old lady who just wants to find out about her genealogy and does not know or care how her computer work? Absolutely. It also help those of us who have to help this little old lady out because she is out mother.

    Someday, the computer will be as easy to use as a microwave. Until then, I will take all the help I can get.

    --
    Your friend and well-wisher
    m0smithslash
    http://www.ferociousflirting.com
  34. strangely enough by Jucius+Maximus · · Score: 5, Funny
    I thought this 'reversal' was obvious fodder for SOVIET RUSSIA jokes, but now I can't think of a good one...

    IN SOVIET RUSSIA, worm fixes YOU! (I am not laughing, are you?)

  35. The Big Question by 4of12 · · Score: 4, Interesting

    ...is how good a job this worm does of

    • identifying susceptable machines without burning the network,
    • fixing exactly what needs to be fixed, no more, no less,
    and, most importantly, how does the quality of this unsolicited support per dollar compare with Windows Update or what private companies charge for this service?

    I've often thought that this is the proper way to clean up machines where sysadmins fail to do their own patching after a decent interval.

    In fact, if I were MS, I'd have someone do this, but disclaim any and all connection, for the obvious reason of legal liability.

    [But considering the extra powers authorities have in the case of human infection - witness the recent SARS outbreak - having a net Doctor authorized to release a vaccine for such a serious vulnerability as this RPC/DCOM, at some point after the general notification, seems reasonable to me.]

    --
    "Provided by the management for your protection."
  36. oh shut up by autopr0n · · Score: 4, Insightful

    After a while, these analogies become completely pointless. We all understand how these programs work, and we can talk about them specifically. Right or wrong on it's own merits, not because it's 'like' something both hypothetical and ridiculous in the real world.

    --
    autopr0n is like, down and stuff.
  37. I wrote a virus like this once by Space+cowboy · · Score: 5, Interesting
    [I wish I'd seen this on Slashdot earlier, it probably won't get read now :-(]

    Some history:

    Waaay back in the mists of time (1988) I was a 1st-year undergrad in Physics. Together with a couple of friends, I wrote a virus, just to see if we could, and let it loose on just one of the networked machines in the year-1 lab.

    I guess I should say that the virus was completely harmless, it just prepended 'Copyright (c) 1988 The Virus' to the start of directory listings. It was written for Acorn Archimedes/BBC micro's (the lab hadn't got onto PC's by this time, and the Acorn range had loads of ports, which physics labs like :-)

    It spread like wildfire. People would come in, log into the network, and become infected because the last person to use their current computer was infected. It would then infect their account, so wherever they logged on in future would also infect the computer they were using then. A couple of hours later, and most of the lab was infected.

    You have to remember that virii in those days weren't really networked. They came on floppy disks for Atari ST's and Amiga's. I witnessed people logging onto the same computer "to see if they were infected too". Of course, the act of logging in would infect them...

    Of course "authority" was not amused. Actually they were seriously unamused, not that they caught us. They shut down the year-1,2,3 network and disinfected all the accounts on the network server by hand. Ouch.

    There were basically 3 ways the virus could be activated:
    • typing any '*' command (eg: "*.", which gave you a directory listing. Sneaky, I thought, since the virus announced itself when you did a '*.' When you thought you'd beaten it, you'd do a '*.' to see if it was still there :-)
    • The events (keypress, network, disk etc.) all activated the virus, and also re-enabled the interrupts, if they had been disabled
    • The interrupts (NMI,VBI,..) all activated the virus, and also re-enabled the events, if they had been deactivated.


    We hadn't really counted on just how effective this was. Within a few days of the virus being cleansed (and everyone settling back to normal), it suddenly made a re-appearance again, racing through the network once more within an hour or two. Someone had put the virus onto their floppy disk (by typing *. on the floppy rather than the network) and had then brought the disk back into college and re-infected the network.

    If we thought authority was unamused last time, this time they held a meeting for the entire department, and calmly said the culprit when found would be expelled. Excrement and fans came to mind. Of course, they thought we'd just re-released it, but in fact it was just too successful for comfort...

    Since we had "shot our bolt", owning up didn't seem like a good idea. The only solution we came up with was to write another (silent, this time :-) virus which would disable any copy of the old one, whilst hiding itself from the users. We built in a time-to-die of a couple of months, let it go, and prayed...

    We had actually built in a kill-switch to the original virus, which would disable and remove it - we didn't want to be infected ourselves (at the start). Of course, it became a matter of self-preservation to be infected later on in the saga - 3 accounts unaccountably (pun intended :-) uninfected... It wasn't too hard to destroy the original by having the new virus "press" the key combination that deleted the old one.

    So, everyone was happy. Infected with the counter-virus, but happy. "Authority" thought they'd laid down the law, and been taken seriously (oh if they knew...) and we'd not been expelled. Everyone else lost their infections within a few months ...

    Anyway. I've never written anything remotely like a virus since [grin]

    Simon.

    --
    Physicists get Hadrons!