Slashdot Mirror


Hackers Serving Rootkits with Bagles

Iran Contra writes "Security researchers at F-Secure in Finland have discovered a rootkit component in the Bagle worm that loads a kernel-mode driver to hide the processes and registry keys of itself and other Bagle-related malware from security scanners. Bagle started out as a simple e-mail borne executable and the addition of rootkit capabilities show how far ahead of the cat-and-mouse game the attackers are."

25 of 150 comments (clear)

  1. Am I wrong by 3.5+stripes · · Score: 4, Insightful

    Or is it just me who's been reading about rootkits and keyloggers now becoming standard payloads in worms/virus/web exploits?

    In the end, they're just another piece of cut and paste code for script kiddies.

    --


    He tried to kill me with a forklift!
    1. Re:Am I wrong by jayloden · · Score: 2, Informative

      No, it's definitely not just you. I work with [removing] IM-based viruses as a hobby project, and there has been a clear shift from simple executable file viruses to full rootkits. Along the way I've seen everything from loading with the shell or userinit to winlogon to bogus kernel drivers.

      It's my personal (and professional) opinion that this is likely to become the norm. I give it another year or two before the majority of malware is all rootkit-based. It's far too easy to incorporate rootkit technology, and far too difficult to remove. It seems only a natural step in malware evolution.

      I recommend Rootkits: Subverting the Windows Kernel for further reading on the subject. The first two chapters were enough to convince me that rootkits are a more than viable path for malware to take. Perhaps more importantly, no matter what the security companies put into their software, once the system has been compromised, there is no way to trust the running system, period. The only way to verifiably clean a rootkit-infected system is to take it offline and scan it from a known clean (read-only) media.

  2. Before long... by totalbasscase · · Score: 5, Funny

    Next time on Slashdot: "Bagle.GE authors sued by Sony for rootkit copyright infringement!" Honestly though, maybe we should all just start carrying around rootkits on our USB keys. Plug it into your aunt's computer, and she'll never forget your birthday again (even if she wanted to).

    --
    Fragging my father since 2004
  3. The evolving virus by ndogg · · Score: 4, Interesting

    I keep waiting for a virus based on genetic algorithms. I'm certain that it's only a matter of time.

    --
    // file: mice.h
    #include "frickin_lasers.h"
    1. Re:The evolving virus by arivanov · · Score: 2, Informative

      The older DAV and co viruses from the late 90-es were polymorphic and changed their code from time to time.

      In fact as far as underlying technology the current viruses have regressed back to simple non-polymorphic code. Not entirely surprising considering that they are written in a high level language nowdays. If you look at the recent crop there is anything including Delphi and VB used to write them with some EXE compression at the end applied to get the size down to a reasonable value.

      --
      Baker's Law: Misery no longer loves company. Nowadays it insists on it
      http://www.sigsegv.cx/
    2. Re:The evolving virus by january · · Score: 5, Interesting

      Agree. This will be a breakthrough, and if anything is a mystery -- then the question, why it hasn't already happened.

      Evolving computer programs -- not simple genetic algorithms, but programs that actually "thrive" on CPU time and memory, and compete for these resources -- have been already used to experimentally investigate evolution. Note that there is a serious difference between a genetic algorithm and a truly evolving program. In the former case, the fitness function is precisely defined by the programmer. In the latter, the fitness is just what it is in living organisms -- ability to pass on the genes, or code.

      Check out the web page -- http://www.msu.edu/~lenski/ -- of Richard Lenski, experimental evolutionist (bacteria in a test tube + computer), you will find a nice article on in silicio evolution on his web page. The guy has 4 Nature and 2 Science publications only on the topic of digital evolution.

      January

      j.

    3. Re:The evolving virus by aug24 · · Score: 3, Interesting

      The thing about genetic algorithms to date is that they have only been permitted to evolve within parameters. Evolving better weightings for poker playing bots for example. This is a highly successful technique, analogous to the way the human brain sets itself up - highly structured programming (physical brain) with variable parameters (experience).

      If you allow the code itself to evolve (typically achieved with Lisp or similar cos of the convenient tree structure of the code) then the likelihood is that you can write a better program than will evolve anyway, because so many of the evolved programs are utterly useless. This, of course, is the argument for Intelligent Design, except that the planet really does have unlimited time, and there aren't anti-virus companies constantly trying to sterilise the planet (as far as we know! ;-)

      Finally, most genetic algorithms require 'sex' type recombination to (randomly and hopefully) whittle away the useless code that has accumulated. This might be a little hard to implement in a cloaking virus - the one thing they don't want is to have any kind of signal that they are there!

      All in all, I'll be surprised to see a truly genetic algorithm virus ever. The closest we might see are self tuning ones - eg ones that spot the user is using the machine and back off their spamming activities so that they aren't obvious.

      J.

      --
      You're only jealous cos the little penguins are talking to me.
    4. Re:The evolving virus by Illserve · · Score: 4, Insightful

      It's hard to see why genetic algorithms are an inherently good way to design computer virii. The fitness landscape is not well suited to GA'S, it's too rugged. GA's need a particular structure of problem to function well, one in which every change produces an incremental benefit or impairment.

      Changing which registry key a worm modifies, or what files a virus affects will cause wildly varrying effects, 99.9999% of which will cause either no discernable effect, or blue screen the system. This is not a good setup for the GA to figure out what works best.

      So despite the similarity in name and function with biological viruses, computer virii (and worms, trojans etc) are not really evolvable, but need to be engineered.

    5. Re:The evolving virus by Anonymous Coward · · Score: 2, Interesting

      viruses are already a form of genetic algorithm. A slowly evolving (well kind of slow at least) GA. think about it, all the components are there. The mechanism is the script kiddie. The environment is our computers. The virus codes are all mostly the same (same genes), new ones are created through cut and paste (crossover) and occasionally a new radically more effective one comes out and quickly the entire population moves to this newer, more effective (better fitness) code.

      we're all part of a giant experiment!

    6. Re:The evolving virus by MurkyGoth · · Score: 2, Funny
      programs that actually "thrive" on CPU time and memory, and compete for these resources
      Aah, you mean Windows, Office, Internet Explorer, Outlook...

      (it's anti-Microsoft, dammit, feed me karma! :P )
    7. Re:The evolving virus by zerocool^ · · Score: 4, Interesting


      If you're talking polymorphic characteristics (in viruses or animals), the phrase you're looking for is Heterozygous Advantage. Yes, I do live with a woman who is going to vet school and who has a degree in animal science.

      In computer terms, it's going to be hard for random code variations to produce a useful new code segment on their own, for exactly the reasons you describe - there needs to be "sex", or a merging of two codebases, in order to produce surrogate code.

      In terms of animals, however, if I may step on my pro-evolution soapbox... This is what all those people at the Institute for Creation Research and Answers in Genesis never talk about. The natural tendancy in animals (at least, and probably in other kingdoms) is for the offspring of a non-homogonous pairing to be *better* than either of the parents. No joke, this is the way it works. Not all the time, but more often than not.

      For example, my wife is pretty firmly against the homogonization of the beef industry onto black angus for meat and holstein for milk. The reason being, if you breed nothing but black angus to black angus, you're going to get black angus, which is good, but it will never get better than its parents. If you're breeding black angus and charolais, however, the genetic tendancy is that the offspring most of the time will posess the best characteristics of both parents (breeding and birthing ease with black angus, better meat with charolais).

      Anyway, I have to go fix a dead UPS.

      ~Will

      --
      sig?
    8. Re:The evolving virus by aug24 · · Score: 2, Interesting

      Thanks for that, interesting.

      I'd propose a small correction to what you say: the natural tendency of sexual reproduction is to produce creatures that are either (a)inviable, which typically miscarry or (b) similar or (c) better. This would be analogous to receiving two lots of bad code, one of each, or two lots of good code respectively.

      AIUI a surprising number of the offspring of higher animals 'spontaneously' abort without the parent necessarily even knowing about it.

      Cheers,
      Justin.

      --
      You're only jealous cos the little penguins are talking to me.
  4. As seen on their blog page... by True+ChAoS · · Score: 5, Informative

    This has been written about before on the F-Secure security blog. There's also a nice pic of what all the different parts of bagel look like and how they interact.

    --
    WARNING: May contain traces of nut
    1. Re:As seen on their blog page... by fbjon · · Score: 2, Funny

      There's a better pic over here.

      --
      True confidence comes not from realising you are as good as your peers, but that your peers are as bad as you are.
  5. [Off topic] It's not a worm! by january · · Score: 5, Interesting

    It definitely isn't, trust me. I'm a ...biologist.

    I mean the picture, of course: http://images.slashdot.org/topics/topicworms.gif -- it is an insect larva, not a worm. To be more specific -- probably a butterfly caterpillar.

    You want to see a worm? Here -> http://www.desc.med.vu.nl/NL-taxi/ICE/C_elegans1.j pg is a nice picture of C.elegans, The Model Worm (r).

    January

  6. Mmmmm... bagels! by jtcedinburgh · · Score: 5, Funny

    Mark me OffTopic if you will (it's Friday and I'm feeling brave, so I'll take that risk), but when I first read this, I read it as:

    "Hackers Serving Rootkits with Bagels"

    ...and I started to think how cool a hacker café would be... then I got to wondering what else you might be able to order at a hacker café:

    Trojan Muffins (secret filling might bring surprise!)
    DDoS Donuts (very tasty, but eat too many and they gang up on you)
    L33t Latté (quintuple espresso with a single shot of milk)
    Keylogger Cakes (be careful, they're watching)

    ...and so on (I shall spare you the rest).

    Ah well, as they say in these parts 'ah'll get me coat'...

    1. Re:Mmmmm... bagels! by ObsessiveMathsFreak · · Score: 2, Funny

      Trojan Muffins (secret filling might bring surprise!)
      DDoS Donuts (very tasty, but eat too many and they gang up on you)
      L33t Latté (quintuple espresso with a single shot of milk)
      Keylogger Cakes (be careful, they're watching)


      I think ThinkGeek just found their newest product line.

      --
      May the Maths Be with you!
    2. Re:Mmmmm... bagels! by thefranktate · · Score: 2, Interesting

      You should read the book "Golf is a Four Letter Word". It starts out with the author describing his addiction to golf, how it ruined his life, and how he was finally able to give it up. Then starts the sad part - though he has given up the game, his albatross is the need to write poems, limericks, and other wordplays all about golf. It's really, truly sad. And I think you could empathize with the guy :)

  7. Use RootkitRevealer from SysInternals.com. by Futurepower(R) · · Score: 4, Informative

    SysInternals' free program RootkitRevealer is the best way I know to reveal the presence of rootkits.

    In general, any program SysInternals provides is the best in its field, I've found.

    Try the just updated (March 7, 2006) version of Autoruns to find nasty stuff running under Windows.

    --
    Before, Saddam got Iraq oil profits & paid part to kill Iraqis. Now a few Americans share Iraq oil profits, & U.S. citizens pay to kill Iraqis. Improvement?

  8. I blogged Ubuntu LiveCD to explain to noobies by ScrewTivo · · Score: 5, Interesting

    I got so tired of explaining it over and over. Ultimate Spyware/Virus Blocker. If you think there is something I need to add or remove then please leave a comment.

    My friend is opening up a coffee shop that will have an ap. I will make some copies of Ubuntu for the customers to use.

    Now where do I find a dentist for the rootkit I received when I didn't take my own advice :)

  9. Re:How to tell if you are a linux fanatic. by HaydnH · · Score: 2, Interesting

    I can't believe you responded to that! Although it did make me laugh... most of the points were hilarious, especially about "no databases for linux as powerfull as MS Access"! I'd love to know what people like Oracle & Sun(PostgreSQL) would say about that.

    --
    Time is an illusion. Lunchtime doubly so. - Douglas Adams
  10. A new taste treat by digitaldc · · Score: 2, Funny

    Your O/S locks with Bagels, sir.

    --
    He who knows best knows how little he knows. - Thomas Jefferson
  11. Mmm, bagles... by antdude · · Score: 2, Funny

    ... who doesn't want free yummy bagles to eat? Oh, you mean the computer types... [grin]

    --
    Ant(Dude) @ Quality Foraged Links (AQFL.net) & The Ant Farm (antfarm.ma.cx / antfarm.home.dhs.org).
  12. Rootkits are the new bootsector by billcopc · · Score: 3, Insightful

    Years.. no, decades ago, everyone was scared shitless of boot sector viruses. Today it's rootkits. This isn't rocket science, it's about friggin time these things hit the mainstream. It's obvious that today's software relies on many layers of abstraction provided by the OS. Infiltrate one of those layers and you've fooled the entire system. It's no different than the men with wires going to their ears saying "You didn't see anything, move along", except your software's too dumb to see that the man is lying. There is no ultimate solution to this, software is software and no matter how well you try to secure the OS, all it takes is a little patch to disable all your security. The closest thing to a secure OS would be some sort of read-only boot device, and I really mean READ-ONLY, not just "mount -o ro". Boot off the DVD-Rom.. even then, just one glitch in the programming could open up the whole system to in-memory patching.

    What we CAN do to relieve this plague is take away the motivation behind viruses. They don't exist just for fun, they serve a purpose.. DDoS is a lucrative racket. If we can somehow make an infected PC less valuable to the attacker, to the point where it's not even worth infecting, the virus threat will slow down to a crawl. Why don't we have more Linux viruses ? Because it's a high-risk, low-potential target. If Microsoft could accomplish the same level of security with the average Windows PC, virus authors would have to go out and get real friggin jobs for once.

    --
    -Billco, Fnarg.com
  13. I wouldn't call it regressed by wantedman · · Score: 2, Informative

    The trick to malware writing in DOS is to hide from DOS. We do that by placing malware in some unclaimed memory and rapidly change it to keep malware scanners from pattern matching the malware.

    Windows changed that. Malware needs to be recognized by Windows, in some form or else it's not going to get it's messages and it's not going to be able to access the wonderful WinAPI, which will give it more power and make it smaller. There's no point in a spy changing their clothing to disguise themselves if they always have to wear a nametag.

    Rootkits are the obvious solution to this problem, because it allows a program to be recognized by Windows and hide from programs using Windows to attempt to recognize it. We're only seeing rootkits now because it's getting harder to disguise malware by giving it a nondescript name.