Slashdot Mirror


Eavesdropping on a Botnet

wild3rbeast writes "Joe Stewart, a senior security researcher with LURHQ's Threat Intelligence Group has figured out a way to silently spy on a botnet's command-and-control infrastructure, and finds that for-profit crackers are clearly winning the cat-and-mouse game against entrenched anti-virus providers. From the article: 'The lesson here is once you get infected, you are completely under the control of the botmaster. He can put whatever he wants on your machine, and there's no way to be 100 percent sure that the machine is clean. The only way to be [completely] sure the system is malware-free is to completely wipe the hard drive and reinstall the operating system.'"

25 of 185 comments (clear)

  1. malware-free system? by Anonymous Coward · · Score: 4, Insightful

    "The only way to be [completely] sure the system is malware-free is to completely wipe the hard drive and reinstall the operating system.'" ...or to run a live-CD version of some OS where all you need to do is reboot
    options abound Linux, BSD, Windo... oh, forget about that last one

    1. Re:malware-free system? by JamesTRexx · · Score: 4, Interesting

      Sort of like my first reaction, "The only way to be sure is to run something that is not Windows".

      Until someone creates something that can infect the various *nixes that is.

      --
      home
    2. Re:malware-free system? by Nested · · Score: 5, Funny

      Until someone creates something that can infect the various *nixes that is. Or an asteroid destroys Earth.

    3. Re:malware-free system? by Nutria · · Score: 4, Insightful
      Until someone creates something that can infect the various *nixes that is.

      It's called a rootkit. They've been around for years.

      Find a *ix server that's running a vulnerable process listening on an exposed port (DNS, ssh, ftp, http, pop, imap, smtp, whatever). Root that box and install your malware.

      Just by the virtue of the large number of x86 Linux servers exposed to the Intarweb, there must be thousands of systems just waiting to be rooted.

      Fortunately for "us", there are millions of exposed Windows client PCs running as Adminstator, begging to be owned.

      --
      "I don't know, therefore Aliens" Wafflebox1
  2. Next opportunity by QuantumFTL · · Score: 5, Interesting

    Perhaps the next opportunity for profit in this game is to hack other people's botnets to bend to your own purposes? Probably a lot less risky than hacking thousands of potentially litigous members of the public. Secure encryption would stop most of this, however the master endpoint computer would still have some vulnerability.

    1. Re:Next opportunity by Enoxice · · Score: 4, Funny

      I can see it now: In the future there will only be one botnet, then the entire hacking community will just be a big game of RootThisBox (http://rootthisbox.org/) (hmm...RTBs website seems to be redirecting to HackThisSite for some reason).

      --
      Anyone else think the comments just weren't rendering right before they turned off ABP and saw ads?
  3. PC Clinic by Short+Circuit · · Score: 5, Informative

    At my computer club's PC Clinic, I set up Ethereal on our network gateway computer, to keep track of things. You can easily see this kind of crap going on.

  4. Re:Happened to me. by Anonymous Coward · · Score: 5, Funny

    My house was robbed once... even with fully locked doors, up to date alarm company subscription, and a dog. For peace of mind, I decided blowing up the house was the best option. I've since moved to the woods and have been civilization free.

  5. Makes you wonder what else is going on by perkr · · Score: 5, Insightful

    Spam is one thing, but once you got access to the machine, getting logins and passwords for online stock and bank account services via a keylogger is completely different. I wonder how much stuff is silently running on users machines right now...

    1. Re:Makes you wonder what else is going on by Pantero+Blanco · · Score: 5, Insightful

      You'd also end up with many more dead cops, and much more sympathy for those criminals. If the penalty for dealing pot or prostitution was death or life in prison, I for one would offer safe haven and protection to pot dealers and prostitutes.

  6. malware-free system?-Linux. by Anonymous Coward · · Score: 5, Funny

    "Until someone creates something that can infect the various *nixes that is."

    That's impossible. How do I know. Just "Ask Slashdot".

  7. Re:It's a bird. It's a plane. It's TC! by l33t+gambler · · Score: 5, Interesting
    Trusted Computing to the rescue!

    Absolutely! Trusted Computing is made to protect consumers from potential threats, but will it let consumers decide what is trustworthy? I recently discovered I had a UAService7.exe running in my Task Manager. After a search I found it is a SecuROM service, and lo and behold theres a service with that name in Services.

    I can't remember being asked by a game or application to install such a service, and I don't know how to remove it as there's no reference to it in either Start Menu or Add/Remove Programs.

    http://jooh.no/root/torrents/trusted-computing.tor rent
    --
    Teasing the nobles, and rightfully so!
  8. Be sure... by shmlco · · Score: 4, Funny

    "The only way to be [completely] sure the system is malware-free is to completely wipe the hard drive and reinstall the operating system."

    I say we take off and nuke 'em all from orbit. It's the only way to be sure.

    --
    Any sect, cult, or religion will legislate its creed into law if it acquires the political power to do so.
  9. so many only/lonely ways. by mapkinase · · Score: 4, Funny
    The only way to be [completely] sure the system is malware-free is to completely wipe the hard drive and reinstall the operating system.'
    In other news: the only way to be completely sure your wife is not cheating on you is to whack her and her alleged boyfriend.
    --
    I do not believe in karma. "Funny"=-6. Do good and forbid evil. Yours, Oft-Offtopic Flamebaiting Troll.
  10. Re:It's a bird. It's a plane. It's TC! by The+MAZZTer · · Score: 5, Informative

    Some games use it for CD verification. If you tamper with it (ie remove it) the game will likely fail it's CD check and no longer run.

    I have a game that uses it, you probably agree to it in the EULA somewhere. I forget which game it was...

    Oh and I can't help but notice, as others have before me, that software pirates are not encumbered by these restrictions and bloatware, while legitimate customers are forced to use it.

  11. Re:It's a bird. It's a plane. It's TC! by mrbcs · · Score: 5, Insightful

    Every game I buy, before installation, I go to gamecopyworld.com and get the no-cd patch. I friggin HATE putting the cd in every stinkin time I want to play a game.

    --
    I'm not anti-social, I'm anti-idiot.
  12. Steve Gibson did something akin to this by BertieBaggio · · Score: 5, Informative

    I know he may not be the most favourite of people around here, but Steve Gibson was able to spy on the IRC command & control channel of a botnet a few years ago. It was precipitated by a DDoS on his site, which he investigated rather thoroughly.

    Link to the article (...long article warning)

    Some of the article is quite interesting, some is obvious, some is ego-boosting self-congratulatory statements, and some of it is his "teh XP can create complete 'UNIX sockets' OH NOES!" propaganda. Still worth a read, even if it is a few years old.

    --
    If all you have is a grenade, pretty soon every problem looks like a foxhole -- MightyYar
  13. Need to hold users responsible. by Rotten168 · · Score: 5, Insightful

    If you are a computer user, you are responsible for the problems they are creating. ISP's need to inform people they have bots and if they are infecting other computers they need their internet access dropped. Tough love.

  14. Server counterpart to this by Alex+Belits · · Score: 4, Informative

    How a server got compromised, and ran a Paypal scam site for two days, more technical explanation of what happened, and how to (and how not to) make Yahoo block the accounts involved. Of course, the idea that compromised machine can in any way be trusted, sounds like one of the stupidest things ever thought up by a human.

    --
    Contrary to the popular belief, there indeed is no God.
  15. Re:Happened to me. by JoeCommodore · · Score: 4, Funny
    This needs some re-working

    My house was robbed once...

    It was one of those cheap houses, you know using old materials and not the best contractors (the doors and windows would not always close properly.)

    even with fully locked doors, up to date alarm company subscription, and a dog.

    Though that brand of locks use one of five common keys, and the alarm company sometimes works with other companies to let marketers in, and the dog, as vigient as he is is just a dog and frankly pretty stupid.

    For peace of mind, I decided blowing up the house was the best option. I've since moved to the woods and have been civilization free.

    Actually it was more like a posh wooded suburb gated-community thing, where all the prices are higher and the selection is more limited, but the cars are to die for. I don't even assoiate with my old neighbors much anymore. My kids ands wife are much more happier and I have a lot less stress about stuff like that.

    Now if it were Linux, you would probably be in the woods, in some commune, inside an abandoned high security military bunker, whith a lot of really smart people that don't socialize all that well.

    --
    "Enjoy what you're doing! If it becomes drudgery, you're doing it wrong!" - Jim Butterfield
  16. Need to hold ISP's responsible by RKBA · · Score: 4, Insightful

    "ISP's need to inform people they have bots and if they are infecting other computers they need their internet access dropped."

    In my experience, the cable installers are clueless. When I switched from DSL to Cable, the cable installers (two of them, one was a trainee) hooked up their cable to my router/hardware firewall and everything was fine. Then the senior guy asked if he could hook up their cable box directly to my computer to show the trainee how they normally do things. After booting into a spare version of the OS that I only use for maintenance (which is on a different partition than my regular OS), I let him hook his cable directly up to my computer, bypassing my router. Within about 20 seconds my antivirus program detected and reported a virus attack, although I forget the exact details because it was several years ago.

    The point is that the cable installers connect their cable up to new subscribers computers without even checking their virus protection, and the naive users computers are probably infected before the installers drive away. The ISP would be far better off supplying hardware router/firewalls to their customers gratis because of the reduced traffic load from zombie computers.

  17. Re:Reinstalling is not always the answer by leenks · · Score: 4, Insightful

    How do you know? At any given time virus / spyware checkers only get between 30 and 50 percent of malware that is currently being used, and it takes several months before they eventually get detected. If you can remove stuff that nobody else can detect, you are doing pretty well.

  18. Too easy... by MoogMan · · Score: 4, Funny

    My house was robbed once... even with fully locked doors, up to date alarm company subscription, and a dog.

    You probably had Windows...

  19. Why do you rob banks? by twitter · · Score: 5, Insightful

    ... because that's where the money is.

    You write about root kits and declare:

    Just by the virtue of the large number of x86 Linux servers exposed to the Intarweb, there must be thousands of systems just waiting to be rooted. Fortunately for "us", there are millions of exposed Windows client PCs running as Adminstator, begging to be owned.

    As if the only difference was numbers. The other difference, or so claim the FUDsters, is that "Linux is for servers." You know, like banks and businesses that handle real money. Given the profile and importance of those targets, you would think they would be hit all the time and that we would hear about it as we hear of IIS exploits. For some reason we don't hear anything, despite the very open nature of the people running the software. It would seem that there's more at work than numbers here.

    On the desktop there's another crucial difference, the ease of recovery. In the Windoze world, you pull out your ancient "original" CD and put the same broken crap right back on your machine. It wipes out all your documents and setting so you suffer a loss for no gain. Then you are rooted again in about 12 minutes after hooking up to a network. In the free world, you do a net install and get the latest and greatest of everything, without losing anything at all. A few extra steps can make sure the root kit is not in your home directory. The easiest is to chmod file in your home directory to no execute. In the very worst case you can chmod and then tar up the documents you worry about and start fresh with your settings, like in the windoze world but much easier.

    --

    Friends don't help friends install M$ junk.

    1. Re:Why do you rob banks? by Anonymous Coward · · Score: 5, Insightful

      What do you think the C&C machines are running?

      Linux servers, especially colocated ones, tend to have a much higher uptime; in addition, the ircds and other servers they run tend to run best (or only) on Linux. A Linux shell box is a lot more useful to a blackhat than a Windows drone. This makes them individually more attractive targets.

      Imagine you're a blackhat. So what you're after, for a C&C server, is someone else's poorly-maintained Linux box; the one that the admin thinks is impenetrable, because it runs Linux, and so hasn't updated it or even looked at it in ages. It's going to have a high uptime, because it almost never reboots because the guy never installs a new kernel on it. You can probably spy out the uptime quietly in advance via the usual trickery, because some admin thought Linux boxes don't need firewalls. And you're most likely going to get in through a PHP hole (application or language, it doesn't matter when the language and common software is that poorly designed) or if it's really out of date an Apache or MySQL hole - because it's probably a almost-never-used webserver.

      And then you're going to install a rootkit - think l10n, only more so (there are actually some seriously hardcore Linux rootkits that blow pretty much all of the public rootkits for Windows out of the water when it comes to stealth; and this is why) - and then you're going to patch it, so no-one else roots your new 0wned C&C box, because nothing sucks more than some other blackhat stealing your botnet.

      Next thing you know, bam, the thing's running a modified hybrid-ircd or something, and is one of the magic servers you encoded in your trojan to which the Windows drones are connecting back, or one of the webservers they are getting the spam proxy or spyware installer from; and thus you, the blackhat, earning nice fat sums of cash on the back of one or two Linux servers and a few hundred or thousand random Windows machines.

      So, don't discount the threat. All operating systems need patching and good security practice to run safely.

      And 0.1% seems like a low estimate; remember Linux distributions, especially server-oriented ones, tend not to have an automatic update feature (with good reason, to a point), so they do require manual intervention to patch. With appropriate care and feeding they are of course not just fine, but can be really quite secure; but neglected, it's a whole different story. Think closer to 2-3% as being a potential problem, and almost 5% in some (LAMP) brackets.