Slashdot Mirror


Good Network Worms Made Simple

grabbag writes "Dave Aitel is pitching new technology to create "nematodes," or beneficial network worms for use in large businesses. The idea is to set up a new language and structure to create "strictly controlled" good worms on the fly. A research-type demo was given as the Hack in the Box conference where Aitel talked about a world where "strictly controlled" nematodes are used by ISPs, government organizations and large companies to show significant cost savings."

37 of 137 comments (clear)

  1. distributed processing by WiPEOUT · · Score: 4, Insightful

    Distributed processing capabilities and distributed network monitoring capabilities would be great, but who gets jurisdiction over what governments/companies are allowed to execute code on my PC?

    1. Re:distributed processing by Koushiro · · Score: 2, Informative

      RTFS. This proposal is intended for use within large businesses: the idea is to automate and improve maintenance of their internal network, not something they'd just unleash on the Internet.

      --
      Karma: Oldschool
    2. Re:distributed processing by cortana · · Score: 2, Insightful
      "... who gets jurisdiction over what governments/companies are allowed to execute code on my PC?"
      You do. If you don't want people exploiting holes in your PC, then patch them yourself.

      If you disagree you are entitled to try getting by without patching, instead suing those who take advantage of your PC for theft of resources, or some such, but isn't an ounce of prevention better than a pound of cure? It is surely cheaper to run apt-get update && apt-get upgrade nightly...
    3. Re:distributed processing by 'nother+poster · · Score: 2, Insightful

      But, as you point out with your "theft of resources" comment, it's not their computer, it's mine. I know from the article that the worms are strictly controlled, and are supposed to exist on the corporate/ISP networks and shouldn't touch my system, but if they do, can I sue them? Under current laws would they be just as liable as the black hat worm writers? If their nematodes get out in the wild due to some bug or configuration error, do they get the same punishments as say, someone that wrote the slammer worm?

    4. Re:distributed processing by halcyon1234 · · Score: 2, Informative
      Distributed processing capabilities and distributed network monitoring capabilities would be great

      Correct me if I'm wrong, but isn't this the very thing that lead to the creation of the first worm? Some computer guys at Xerox PARC were looking for a way to distribute code/updates across a network, created a self-replicating program, then dubbed it "worm" after a John Brunner novel?

      So, not only is this not new... this is just what a worm was supposed to do in the fisrt place.

    5. Re:distributed processing by 'nother+poster · · Score: 2, Informative

      Well, whether I patch or not, who knows and/or cares? My point is that if I gey MY system the way I want it then no one has a right to mess with it. Black hat or white hat it doesn't matter. It's not their system. They have laws that include prison time and/or fines for the black hats. Will the fact that the white hats didn't MEAN to do something bad give them immunity? What about patches that break things? Automatically updating/upgrading a box can make for wonderful evenings of reinstalls/rebuilds. My time is valuable.

    6. Re:distributed processing by danheretic · · Score: 2, Insightful

      Yes, but it's only a matter of time before it's exploited and rewritten and unleashed on the Internet.

    7. Re:distributed processing by 'nother+poster · · Score: 2, Insightful

      Now there is an informed opinion. I guess people with well maintained BMWs deserve to be involved in fewer rear end collisions than someone driving an old Cadilac whoopdie ride? Someone wearing a torn shirt and jeans deserves to be beaten and robbed because they aren't wearing haute couture?

      Should a person patch their systems? Yes. If they don't patch them, should that make it morally correct for someone else to damage or modify their property? No.

    8. Re:distributed processing by Egregius · · Score: 2, Informative
      Uhm...no.

      The first worms were thought experiments on breaching computer security put into practice by Fred Cohen. You're confused with 'Animal' though. Scroll down to 2 thirds for a bit of backstory on that.

  2. Problem by mysqlrocks · · Score: 5, Insightful

    Isn't the problem with most worms the network traffic it causes by spreading, not the payload? I'm not sure how they plan on keeping something that's designed to spread from spreading too quickly.

    1. Re:Problem by SimilarityEngine · · Score: 2, Insightful

      The idea is to only spread to machines with the particular vulnerabilitly you're attempting to patch. But nevertheless, this still uses up a lot more bandwidth than would be used by people simply bothering to download the patches they need, due to the scanning networks for vulnerabilities. Also, rather than having people download at their conveinience (spread over a long period of time), I presume that a nematode infecting a network would cause a large surge in demand on the patch server. I can see what their motivation is, as it is frustrating when not everyone on a network is up to date, but it seems like a misguided solution.

      --
      Those who can make you believe absurdities can make you commit atrocities. - Voltaire
    2. Re:Problem by KiloByte · · Score: 3, Insightful

      Simple. Just don't include any spreading code in the payload; send the worm from your own machines.
      As these "nematodes" are supposed to be used only by large companies and ISPs, their owner already possesses the network, and thus can apply the exploits to valid targets only.

      This is not such bad a concept -- with VERY few exceptions, nearly all networks are full to the brim with idiots. Setting policies can help, but often you have no real way to enforce them. Try telling your clients that that Weather Bug or M$ Outlook is not something they should be using... But if you use controlled exploits right, you can fix the problems without having to deal with just the symptoms.

      --
      The creatures outside looked from Alt-Right to Antifa; but already it was impossible to say which was which.
    3. Re:Problem by brennz · · Score: 2, Insightful

      Most update tools are not cross-platform to the degree that a "smart" worm can be.

      Smart worm = a framework. Think of an exploitation framework as merely a component of this worm framework.

      Scanning - identify hosts within allowed networks.

      Reporting - Hey, we found vulnerabilities XXXX

      Exploiting - compromising those hosts

      Reporting - Hey, we exploited vulnerabilities XXXX

      Patching - Remediating the vulnerabilities on each host

      Reporting - Hey, we patched vulnerabilities XXXX

      Cleanup - Cleaning up everything

      Scanmode - looking for other vulnerable hosts

    4. Re:Problem by leuk_he · · Score: 3, Interesting

      nearly all networks are full to the brim with idiots.

      The same goes for system administrators. The corporate network is full of idiots who think they are great admins because they can install product x. Giving these idiots self-replicating code could cause great damage beyond your imagination. Most damaging worms are damaging because some rate limiting code is not coded correctly, or simply not understood by their creators.

      Note to BOFH who is reading this with me: no i do not mean YOU.

  3. And distinguish themselves how? by DenDave · · Score: 2, Insightful

    So how is the unsuspecting pc (user) supposed differentiate between worms and "nematodes"? This is an interesting idea but best not let out of the lab.
    Also, how does this chap expect to get these things to work on *nix environments? does he propose "benevolent" rootkits?

    --
    -if at first you don't succeed, stay the heck away from paragliding.
  4. Intelligent managed networks? by jeffs72 · · Score: 3, Informative
    It would be cool if you could have these worms each perform certain functions (one to better manage spanning-tree for instance, so when a link fails spanning tree rebuilds faster for example) with some sort of AI, or really even a really good base line vs current activity comparison machine, to intelligently manage WANs and LANs.

    Be nice to have worms that watch for machines all the sudden opening ports that they never have before, all the sudden opening up multicast or what not, or even finding that bad machine sending out bad frames on the network.

    I can see a lot of flexibility with this, particularly if they are written in some sort of open source scripting language. I guess what I'm getting at is that they could be sort of like an open source distributed IDS/IDP system.

    Granted you can do all these things now with a mix of expensive monitoring tools and a lot of config work with tools like ethereal and mrtg and big brother/big sister, etc. But this might be an easier way to do the same thing.

    neato

    --
    This article has recently been linked from Slashdot. Please keep an eye on the page history for errors or vandalism.
  5. "strictly controlled" == hubris by G4from128k · · Score: 3, Insightful
    This sounds like a great way to create malware with privileges.

    It's a very worthy goal, but they need to be extremely careful in the coding. One accidental (or malicious) tweak and these worms could overwhelm network resources, DoS the system, or damage valid systems (autoimmune disease).

    --
    Two wrongs don't make a right, but three lefts do.
  6. Wouldn't it be easier to fix things? by photon317 · · Score: 4, Interesting


    Rather than constructing a framework around the idea of building "beneficial" worms that work through the same exploits as real worms, and having to respond to security problems by passing around a disinfectant worm by the same (newly dicovered) vectors as the bad worms roaming your network, wouldn't it be a lot easier to fix the operating systems, networks, and the policies applied to them, such that you don't have a malicious worm problem to begin with?

    --
    11*43+456^2
  7. Yes, but... by aurb · · Score: 5, Funny

    ... will these worms produce Spice?

    1. Re:Yes, but... by SimilarityEngine · · Score: 3, Insightful

      If so, that'd be cool - you might foresee security breaches before they even happened.

      --
      Those who can make you believe absurdities can make you commit atrocities. - Voltaire
  8. Beneficial worm?? by pesc · · Score: 4, Insightful

    So government worms can be beneficial? What government? The US? the Chinese?

    "Beneficial" according to what point of view? Does the owner of the system get any say in this? If he does, why do we need a worm instead of a normal program that can be voluntarily installed?

    If not, then this is just a normal malware worm with added propaganda and spin.

    --

    )9TSS
  9. Bob by FoxDude0486 · · Score: 3, Funny

    Can we keep them as pets? Give them an interesting little worm gui to show you have a worm squirming around the different computers on your network. People in the company will just love to talk about how they seen bob pop up on their computer for a few.

  10. New word, old idea. by mustafap · · Score: 3, Interesting


    In my day we called the 'ants'. An idea created by some chap at BT over here in Blighty.

    "Old idea,
    New name,
    15 minutes of fame."

    --
    Open Source Drum Kit, LPLC deve board - mjhdesigns.com
  11. Fighting the Symptoms, Not the Problem by RAMMS+EIN · · Score: 4, Insightful

    This sounds to me like they're fighting the symptoms, not the problem. Worms can only spread successfully because of the sorry state of software security. If we fix that, we will not only get rid of worms, but also of other problems, such as targeted attacks for information theft. Using better languages to write software in can eliminate the bulk of security problems we're currently seeing. Security through diversity and not relying on known insecure software also help.

    --
    Please correct me if I got my facts wrong.
  12. Produce? by mlibby · · Score: 2, Informative

    The worm IS the Spice... the Spice IS the worm

  13. RFC 3514 by scovetta · · Score: 2, Funny

    Easy, according to RFC 3514, the bad worms would set the evil bit in the IP header, and the good worms would not. The admins could probably have just filtered traffic by detecting those evil bits, but I think having a visual display of the good worms vs the bad worms would be more exciting.

    Of course, sooner or later, the good worms are going to turn into bad worms themselves and then we'll all be screwed.

    --
    Wer mit Ungeheuern kämpft, mag zusehn, dass er nicht dabei zum Ungeheuer wird. --Nietzsche
  14. and here is a link by mustafap · · Score: 3, Informative
    --
    Open Source Drum Kit, LPLC deve board - mjhdesigns.com
  15. Worms infect a machine, then jump to the next. by khasim · · Score: 3, Insightful
    Why would you want to use a worm for that? A worm will install itself on each machine.

    Why not just run the centralized scanning tools that you mentioned?
    It would be cool if you could have these worms each perform certain functions (one to better manage spanning-tree for instance, so when a link fails spanning tree rebuilds faster for example) with some sort of AI, or really even a really good base line vs current activity comparison machine, to intelligently manage WANs and LANs.
    Why would I want to infect my switches and routers with this? I already have SNMP. Spanning tree kicks in almost instantaniously.
    Be nice to have worms that watch for machines all the sudden opening ports that they never have before, all the sudden opening up multicast or what not, or even finding that bad machine sending out bad frames on the network.
    The only way a worm would do that would be if it had infected the problem machine (in which case, why not just run a firewall on it) or if it had infected your switchs/routers.

    Why not just write the app to run on those in the first place? Why make it a worm?
    Granted you can do all these things now with a mix of expensive monitoring tools and a lot of config work with tools like ethereal and mrtg and big brother/big sister, etc. But this might be an easier way to do the same thing.
    What "expensive" tools?

    All you'd need is SNMP and the knowledge to setup your firewall correctly and a machine to receive the syslog messages from your firewall and parse them.

    It's far more efficient to have the choke points do the monitoring than to have worms running around on your network.

    Worms are only useful for spreading crap to machines you don't control. Once you have control there are so many more efficient ways to push code to them or monitor them.
  16. Obligatory simpsons quote by HansF · · 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 unleash 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.

    --
    --> Insert Funny Sig Here
  17. They already do this. by crovira · · Score: 2, Funny

    They're trying to find a secure implementation of Windows.

    However, Windows seems to be impervious to this. It just lies there with slime oozing between its legs. (Painst an attractive picture of the kind of fucker who spreads viri, worms and other creepy crawlies.)

    --
    MSBPodcast.com The opinions expressed here are my own. If you don't like 'em... Think up your own stuff.
  18. Nematodes must live at super-root level by G4from128k · · Score: 2, Insightful
    Speaking of that, the sandbox these nematodes run in has to be perfect, or else it's just another malware vector.

    Exactly! But its worse than that because the nematodes must live outside the sandbox and inside the OS at the highest level of privilege. Catching and removing malware means running at a privilege higher than that of the malicious worms. Because malware tries (and succeeds) in attacking at user and admin levels, nematodes must operate even higher levels. Otherwise the malware can simply deactivate the nematode system (just as some current viruses deactivate antivirus apps).

    But nematodes' existence at high privilege levels makes that the ultimate target for malware writers. NASTY!

    --
    Two wrongs don't make a right, but three lefts do.
  19. "takes exploits and turns them into worms" by lildogie · · Score: 2, Funny

    This goes against my attitude that an "opt in" service is better than an "opt out" service.

  20. Maybe we could name them Sentinels by mhale2243 · · Score: 2, Funny

    wakeup Neo!

  21. Just a worm creation toolkit... by dolmen.fr · · Score: 2, Insightful

    1. Learn how to code a worm
    2. Create a "worm creation toolkit"
    3. Create a GUI for the toolkit
    4. Find a good buzz name such as "nematodes"
    5. Feed the press with your buzz words
    6. Sell your product to entreprises
    7. ...
    8. Profit!

    Theese guys are just black hats that want to profit from a technology only useful to black hats.

    Have a look to http://www.agentland.com/ for 'smart' programs that can do good.

  22. Patching by SumDog · · Score: 2, Interesting

    I've heard of security experts stopping some worms which received their updates from geocity sites but placing an update on the geocity site that removed the worm and locking the original creator for accessing the site. The worm in effect, downloaded updates that cleaned itself.

    Although this seems like a good idea, I can't imagine pushing out worms that are beneficial. Why? Because you're still leaving the security exploit in place! Unless the beneficial worm closes the exploit, and in that case why not just release a patch in a safe an controlled manor?

    Are we starting to confuse patching, a process every good security administrator should be familiar with, with "good worms"

  23. DUMB DUMB DUMB! by TENTH+SHOW+JAM · · Score: 2, Interesting

    Worms have a horrid tendancy to get out of control. I wrote one to modify some settings on my LAN. In 3 months time it had persecuted a national WAN. Fortunately it din't try to do anything that could not be fixed reasonably quickly, and I was eventually able to kill the blighter off using self extermination code. But a net worm, is NOT A GOOD WAY OF UPGRADING. the little beasies have a habit of getting out of control, no matter what you do.

    (yes I was young and stupid when I wrote the code in question and learned much from it)

    --
    A sig is placed here
    To display how futile
    English Haiku is
  24. What if some one hacks a 'Nematode' ... by shreyasonline · · Score: 2, Insightful

    OK.. So we have some good worms which help admins. Now what if some cracker hacks into the Nematode network? He will be virtually owning the network! This can be very dangerous if an important (even not so important) network is hacked a advance mechanism.