Slashdot Mirror


Hunting for Botnet Command and Controls

Uky writes "Convinced that the recent upswing in virus and Trojan attacks is directly linked to the creation of botnets for nefarious purposes, a group of high-profile security researchers is fighting back, vigilante-style. The objective of the group, which operates on closed, invite-only mailing lists, is to pinpoint and ultimately disable the C&C (command-and-control) infrastructure that sends instructions to millions of zombie drone machines hijacked by malicious hackers." From the article: "Using data from IP flows passing through routers and reverse-engineering tools to peek under the hood of new Trojans, Thompson said the researchers are able to figure out how the botnet owner sends instructions to the compromised machines."

55 of 228 comments (clear)

  1. Botnet by TimeTraveler1884 · · Score: 3, Funny

    Now only if they could do this with Skynet, we might just be able to postpone Judgement Day another 6 years.

  2. Easy way to catch them. by Elshar · · Score: 3, Insightful

    Easiest way is to create a small IRC network, and submit the name to all the irc clients out there, so it'll be in the list. Also, name it something so it appears at the top or near the top...

    To inflate user counts, just get an ircd that allows assigning yourself or others fake hostnames (for certain hosts/etc). Then load tons of bots in channels pretending to be 'users'. You could even get creative and make them idely chatter with each other..

    Anyways, the point is that most of these botnet peoples eventually want to take a part of their net out to go mess with irc channels, and they usually seem to target smaller networks on the top of whatever list they're using.. So all ya gotta do if just log massive joins into certain channels, or when a flood of users magically connect to your fake network.. Then you have tons of bots to dissect or whatever.

    1. Re:Easy way to catch them. by Nasarius · · Score: 2, Informative

      I think he's proposing that you run your own IRC network as a honeypot and hope that bot authors use it. Seems kinda inefficient.

      --
      LOAD "SIG",8,1
    2. Re:Easy way to catch them. by coekie · · Score: 2, Informative

      Finding them really is not the problem. Opers have nice tools/services for that (at least on some big networks), drone connection/channel detection notices scrolling by as fast as you can read...
      It's the dissecting and cleaning part that's hard, and getting harder and harder as kiddies are getting "smarter".

    3. Re:Easy way to catch them. by Keruo · · Score: 2, Informative

      Nice idea, but you're ~2 years late.
      Modern spam zombies use p2p network to send messages back and forth, they aren't controlled from centralized irc servers anymore.

      The article discusses decoding the control messages sent between the bots in their own network, and how to take control of them, and possibly shutting them down.

      --
      There are no atheists when recovering from tape backup.
    4. Re:Easy way to catch them. by edbulldog · · Score: 2, Funny

      Then load tons of bots in channels pretending to be 'users'. You could even get creative and make them idely chatter with each other..

      I... kinda feel someone already did this. It would explain the behavior in some irc networks.

    5. Re:Easy way to catch them. by SailorFrag · · Score: 2, Informative

      > Modern spam zombies use p2p network to send messages back and forth, they aren't controlled from centralized irc servers anymore.

      That's exceedingly hard to get working properly, which is probably why it's still not a very common behaviour. In my experience, most of the botnets still seem to be controlled by a central IRC server, albeit they tend to use hacked up ircds that provide only the minimal functionality required (with little in the way of informational messages), making it hard to get much information out of the IRC servers used for centralized control.

      I'm the security manager for the GameSurge IRC network, and that's just my personal experience on the matter. The average botnet used to attack things other than our IRC network may be different from what I've seen, however I'd still contest your claim that they aren't usually controlled from centrealized IRC servers anymore. Remember, most of the people running botnets are kids.

  3. Violation of My Privacy? by reporter · · Score: 4, Interesting
    "Using data from IP flows passing through routers and reverse-engineering tools to peek under the hood of new Trojans, Thompson said the researchers are able to figure out how the botnet owner sends instructions to the compromised machines."

    When the security "experts" are busy looking at all the data passing through routers, who is busy ensuring that the "experts" will not violate my privacy by reading the personal but sensitive e-mail notes that I send to my friends and associates?

    In other words, when the "experts" are protecting me from the hackers, who is protecting me from the "experts"?

    1. Re:Violation of My Privacy? by TCM · · Score: 5, Insightful

      When the security "experts" are busy looking at all the data passing through routers, who is busy ensuring that the "experts" will not violate my privacy by reading the personal but sensitive e-mail notes that I send to my friends and associates?

      You, by encrypting them.

      --
      Of course it runs NetBSD. BTC: 1NT7QvbetmANwaMzhpVL6
    2. Re:Violation of My Privacy? by wcdw · · Score: 3, Informative

      At every company/ISP there are people who have the ability, and regularly do, delve into the data streams flowing through the routers. And yes, sometimes they read your letter to Aunt Martha (or worse).

      Mostly the volume of data involved is so large that trying to monitor it without filtering for the items of interest is usually impossible. And that filter is your best defense, in this particular situation.

      Unless, of course, you're sending Aunt Martha that e-mail over IRC....

      --
      If you're not living on the edge, you're just taking up space!
    3. Re:Violation of My Privacy? by justforaday · · Score: 5, Insightful

      Does it come as a surprise to you that people that have access to routers can sniff your packets?

      --
      I'll turn into a supernova and burn up everything. Well I'll turn into a black little hole and you'll turn into string.
    4. Re:Violation of My Privacy? by deep44 · · Score: 4, Informative
      When the security "experts" are busy looking at all the data passing through routers, who is busy ensuring that the "experts" will not violate my privacy by reading the personal but sensitive e-mail notes that I send to my friends and associates?
      Umm.. they're not looking at "all the data passing through routers". Flow data is a sampling of information (source, dest, proto, port, etc) from a designated collection point. Even without the actual "data" portion of the packet, it's impractical to collect anything more than a small percentage of the total traffic.

      So you can put the gun down- your privacy is safe.
    5. Re:Violation of My Privacy? by Cross-Threaded · · Score: 2, Insightful
      You bring up a reasonable concern.

      However, when you click SEND from whatever email client you use, you are essentially flinging a postcard out of your 10th story window.

      Said postcard contains:

      _

      *your sensitive information* | Address of your friend/associate

      P.S. If you are not the intended recipient, please give me to someone else closer to the address.

      _

      If you are truly concerned about some "expert" taking the time to read whatever it is that you have to say to a friend, or associate, then you should investigate either encrypting your messages, or use a different medium of communication.

      --
      They call us sheeple, I wonder why?
    6. Re:Violation of My Privacy? by MavEtJu · · Score: 2, Funny

      That should have been:

      Don't worry. Your personal email wasn't that interesting.

      --
      bash$ :(){ :|:&};:
    7. Re:Violation of My Privacy? by puzzled · · Score: 3, Funny


      I've owned a couple of ISPs and I currently do service for a regional provider. If I cared to look I could see everything - your best defense is the same reason that you don't get dates - what you do is just not that interesting to anyone else.

      --
      I am very easy to get along with, but I don't have time to waste being nice to people who are being stupid. -Theo
    8. Re:Violation of My Privacy? by pete6677 · · Score: 2, Insightful

      I'd say the grandparent poster is aware of this, but just wanted to take advantage of the opportunity to bitch about his privacy since it got him a guaranteed +5 Insightful on Slashdot.

    9. Re:Violation of My Privacy? by SA+Stevens · · Score: 2, Interesting

      your best defense is the same reason that you don't get dates - what you do is just not that interesting to anyone else.

      This is drifting off topic, but I am coming to feel you hinted at something fairly interesting to bring up. Big Windows networks are boring, to the point where it's uninteresting to hack them and/or 'dig around' to see what's there.

      At my last job, the network was a big old-school conglomerate. There were Solaris, Netware, OS2 Warp (!), and Windows NT servers all mixed together on a single net. It was really cool.

      Where I'm working now it's a big enterprise NT setup without anything else. It's monotonous and there's really nothing of interest in 'the system' to check out.

      Anybody who 'hacks' at my current workplace is likely there to steal the info on the servers. At the old workplace it was interesting just to map the whole thing out and figure out how it all connected.

      In this regard, all-Windows shops might have less problem with 'hacking' in the classical sense. Who finds it interesting to get 'root' on some crummy all-NT environment?

      But, back to on-topic...

  4. pessimistic by moz25 · · Score: 4, Insightful

    So is this news something to be pessimistic about or what? As I understand it, without vigilantes botnets would be even more "unstoppable" than they are now. It's cool that they're mitigating it, but it really comes down to getting some cooperation going on multiple levels... starting with the ISPs acting more against outgoing malicious traffic for a start.

    1. Re:pessimistic by Anonymous Coward · · Score: 2, Insightful

      The ISPs need to act, certainly, but people need to be educated to secure their computers against these worms. It isn't easy, but it can be done. It'll take lots of work, and progress will be extremely slow, but we, yes we, are the people to do it.

      What do I mean? Well, we all know that there are plenty of good, free security tools out there, from antivirus programs, antispyware programs, and firewalls. CDs are dirt cheap, and every person reading this probably has a few hundred lying around. Everyone here probably also has plenty of ignorant friends and coworkers. Well, try to educate them! Next time a major Internet security story hits the mainstream media (like, I don't know, the big cc number heist facilitated by a virus), get your employer's blessing to send out an e-mail to everyone asking if they'd like a CD full of free programs to secure their home computers. Then, as people come to see you, pass out the disc, along with some articles on basic security, and tell them to take a few minutes to read and educate themselves. You may not reach all of them, but you will reach some, and if everyone at least tries, we may do some good here.

      I'll even supply the URL for a PC Mag article on computer security for the beginners to read.

      http://www.pcmag.com/article2/0,1759,1754340,00.as p

  5. Shutting down botnets is a pointless effort.. by Alascom · · Score: 4, Insightful

    The problem isn't botnets, the problem is people and systems. The only reason botnets exist is due to the fact that current software is engineered without much thought toward security, and vendor supplied patches are not applied. Shutting down a botnet is at most only minimally worth the effort as the hosts are still vulnerable to be aquired by the next virus that comes around.

    The only solution is secure software engineering and prompt, reliable patching.

    1. Re:Shutting down botnets is a pointless effort.. by sweetooth · · Score: 3, Insightful

      and until then we'll just let the botnets run rampant....

      Unfortunately that's not a very good solution. While creating more secure software from the ground up is definately thew ay to go for the future you have to have some plan to deal with the current problems. Keep in mind that the vast majority of people aren't going to upgrade to the latest and greatest OS, web browser, or whatever if thier existing one works. So even after you've got more secure computing solutions out there you have to convince people it's worth the time and more specifically, cost, of upgrading.

  6. Told Ya So by Anonymous Coward · · Score: 2, Interesting

    Internet ages ago, when DDOS was hot and researchers all concentrated on that threat, I tried to tell them that DDOS is nothing. Stuart and the others wrote their paper and based the threat on DDOS which influences computer security research even today. I predicted what is now called botnets would be the more frightening destination of the DDOS train. I didn't catch that IRC would be the covert channel of choice (not very covert). HTTPS seemed much more likely to me - net admins expect to see https traffic.
    The vigilantes are running into the problem of cut-outs. The original botnets for DDOS all used a three-tier architecture - slaves (bots), masters (IRC servers), and clients. The current incarnation seems to have at least that many layers if not more. Killing the masters is better than trying to stomp on all the bots, but that still leaves the clients. Until the owners of the compromised boxen acting as masters allow access to track back to the clients, the vigilantes are facing the fate of Sisyphus.

    Goetz - AC because I can't remember my /. user name

  7. Self destruct the botnets? by dyftm · · Score: 5, Interesting

    What would be really interesting is if using a combination of honeypot PCs (to match trojans to controllers) and the commands used to control the botnets, these vigilantes could make the zombified PCs download and run a cleaning tool to rid themselves of the trojan.

    1. Re:Self destruct the botnets? by Zocalo · · Score: 2, Informative
      If you are going down that road, then you would have to simply go ahead and do it, which makes you no different than the scum that put it there in the first place in the eyes of the law. Now, in theory, you could pop up a message that says "Your PC has been compromised... You need to do X, Y & Z." and be safe from the law. The snag is that most of the people whose PCs are members of botnets are probably the same ones who are used to seeing pop-ups of that form telling them to do and drop $30 on some shitty piece of software that just installs more malware.

      Going after the controlling servers of the bot-net however, while it is definitely still a legal grey area, is less likely to get you a jail sentence and/or a fine. There are also viable approaches that wouldn't break the law at all, although they are probably not going to deliver results if the server is with certain "bullet proof hosting" providers who just don't care about abuse reports. In any case, it's still a game of Whack-a-Mole, only by going after the servers you are essentially playing with 10,000 mallets simultaneously...

      --
      UNIX? They're not even circumcised! Savages!
    2. Re:Self destruct the botnets? by coekie · · Score: 3, Interesting

      Which is exactly what *does* happen a lot. This is a "hobby" of many "vigilantes"
      Some drones have builtin uninstall commands, others have commands to download and execute programs, so cleaners are written.
      But the drones are getting more and more advanced, builtin uninstall commands are getting more rare... it is clearly a battle that can not be won if only fought this way.

  8. Re:Who cares really by moz25 · · Score: 2, Insightful

    But it doesn't hurt anyone else much either as I'm on a 56k line. Oh, scary DOS comming from that.

    What you're saying shows the root of the problem and why it's so hard to solve: you need some level of cooperation from people who do not have a direct interest in solving it simply because it doesn't affect them. Sure, your little 56k is quite harmless, but with 1000 zombies on little 56 lines, you can create quite a flood.

    The other problem is with using up bandwidth allotments. Let's say the attacker is using 2KB/s for flooding. You won't notice that, but the other end wastes 5GB/month. Now if you have just 200 56k lines on pumping this on average, you'll be driving the target into unwanted bandwidth bills for sure. Now this analysis is making some assumptions, but you get the picture.

  9. Re:C&C attacks work well for military by CrazyJim1 · · Score: 5, Funny

    C&C attacks are the staple of today's military. An organized, centralized effort should do wonders for laying waste to the economic value (and motivation) behind such behavior.

    The best way to lay waste to someone's economic power in C&C is to destroy their harvesters. Make sure not to send infantry units because they'll suffer tiberium poisoning, or merely be run over by the harvester. Another great way to wreak havoc is to send the engineer into the harvesting facility as the harvester is unloading, you'll get the building, harvester and the tiberium thats being unloaded at the time. Of course, many believe engineering cheese is the cheap way to play C&C, but of course there are too many cheesy plays to count in that game. I suggest you play something like Starcraft. Or Starcraft2, which I have a chance of actually helping with.

  10. What causes botnets? by Anonymous Coward · · Score: 2, Interesting

    Well, obviously script kiddies with the malice and idiocy to create them. But also, the end users ... the people who irresponsibly leave their machine open to the 'net, get 0wned, and then contribute to whatever DoS is going on.
    These end users just *don't care*. Because, although their owned boxen are f-ing with the rest of the internet, it doesn't affect them - a selfish luser attitude, why should they bother virus/trojan scanning their boxen?
    I wish ISPs would hold the lusers (criminally) responsible for this. I for one look after my home datacentre, including my Gentoo Linux boxen and keep them patched.

    1. Re:What causes botnets? by Anonymous Coward · · Score: 3, Insightful

      wish ISPs would hold the lusers (criminally) responsible for this.

      You want to throw my mother in the slammer?

      You're not nice at all.

    2. Re:What causes botnets? by majest!k · · Score: 3, Insightful

      No wonder you posted that as AC.

      Joe Sixpack doesn't consider it "irresponsible" to connect his machine to the net without a firewall. Infact he probably doesn't even know what a firewall is.

      If you're looking for someone to blame, look no further than Microsoft for having everyone run as admin and leaving several easily-exploitable ports open by default on every version of Windows up to XP SP2.

      By the way just as a reminder - botnets originally entered the limelight after scriptkiddies on IRC networks started mass-scanning and exploiting remote-root vulns on LINUX machines (via exploits for commonly used & often default services such as wuftpd and bind) in order to accumulate more bandwidth to "takeover" IRC channels.

      Linux was the primary OS exploited by botnet kiddies waay before Windows. According to you, the admins of those linux boxes should be held liable for getting rooted. While I agree they are at fault for not being more security-minded, I would never consider holding them criminally responsible for getting hacked.

      That's just crazytalk.

      --
      smattawichu
  11. Good for them. by deacon · · Score: 4, Interesting
    From the FAS:

    a group of high-profile security researchers is fighting back, vigilante-style.

    This emotionally laden language has been deliberately chosen to make it sound like this activty is a "bad thing [tm]"

    I truly believe it is the duty of every person to fight against clearly evil activity.

    This includes a mugger hitting an old lady, a middle age man trying to drag a pre-teen girl (or boy) in to a car idiling in the street, and a person trying to kick in the door of the elderly couple down the street.

    If the people disabling bot-nets make every effort to be certain they do not harm innocent or uninvolved people (and the standard here is very high), then they are doing a public service. (if they take the attitude, like some "anti-spam" people, of -> 'kill them all, let God sort them out, they are just assholes with very, very small peckers')

    Those who believe the gub'mint is going to be johnny on the spot to fix all your boo-boos are sadly misguided: there is neither the manpower or the reaction time to fix everything "bad" in the world. That depends on YOU.

    1. Re:Good for them. by muzzmac · · Score: 2, Insightful

      A quote from "A man for all Seasons" quite relevant to this comment I thought.

      More: There is no law against that.

      Roper: There is! God's law!

      More: Then God can arrest him.

      Roper: Sophistication upon sophistication.

      More: No, sheer simplicity. The law, Roper, the law. I know what's legal not what's right. And I'll stick to what's legal.

      Roper: Then you set man's law above God's!

      More: No, far below; but let me draw your attention to a fact - I'm not God. The currents and eddies of right and wrong, which you find such plain sailing, I can't navigate. I'm no voyager. But in the thickets of the law, oh, there I'm a forrester. I doubt if there's a man alive who could follow me there, thank God....

      Alice: While you talk, he's gone!

      More: And go he should, if he was the Devil himself, until he broke the law!

      Roper: So now you'd give the Devil benefit of law!

      More: Yes. What would you do? Cut a great road through the law to get after the Devil?

      Roper: I'd cut down every law in England to do that!

      More: Oh? And when the last law was down, and the Devil turned round on you - where would you hide, Roper, the laws all being flat? This country's planted thick with laws from coast to coast - man's laws, not God's - and if you cut them down - and you're just the man to do it - d'you really think you could stand upright in the winds that would blow then? Yes, I'd give the Devil benefit of law, for my own safety's sake.

  12. I hope they invite the DShield guy by capedgirardeau · · Score: 2, Interesting

    I can't find it on his site, but the guy who runs DShield was under a DDOS attack a few years ago and he managed to crack into the IRC channel the attacker used to control his bot network.

    Apparently the attacker about crapped his drawers when instead of the usual bot replies to his commands an actual person started talking to him in his IRC channel.

    http://dshield.org/

    --
    Wax on, wax off baby!
    1. Re:I hope they invite the DShield guy by encyclo · · Score: 2, Informative

      I don't think that the security community has a unanimously high opinion of Steve Gibson: see http://www.grcsucks.com/ for a counter-point.

      Gibson is certainly a gifted self-publicist, but Ill leave others more qualified to comment on whether he is a good security consultant...

  13. The new superheroes...(whats their name?) by droopycom · · Score: 5, Funny

    ... fighting back the internet scumbags all over the planet, vigilante style...

    Now if they could just have a cool name, we could have a new hit superheroes movie for this summer.

    Any suggestion anyone ?
    - The League of Net Shadows
    - The League of Extraordinay Nerds
    - The Fantastic Fourty

    Come on give me something better ...

    1. Re:The new superheroes...(whats their name?) by UserChrisCanter4 · · Score: 5, Funny

      In honor of one of the common infection vectors: The Active X-Men.

      Of course, the need to acknowledge both genders would probably make Active X-Force or Active X-Factor a better choice.

    2. Re:The new superheroes...(whats their name?) by wowbagger · · Score: 2, Funny

      The League of Virginal Gentlemen?

      The Red Shirt Gang?

  14. What's good for the goose... by argStyopa · · Score: 4, Interesting

    So, how is this different from a "Star Chamber"?

    I'd be interested to see how many people in /. who might applaud this pro-active white-hattery, who simultaneously strenuously object to the US Patriot act which is pretty much just allowing the government to do the same thing in real life?

    --
    -Styopa
    1. Re:What's good for the goose... by davidu · · Score: 2, Informative



      This is nothing like a Star Chamber -- The little script kiddies aren't being rounded up and killed (although maybe that'd send a nice message).

      I'm just kicking them off my DNS network and when I can alert the ISPs of infected zombies and C&Cs then all the better. When there is information to hand over to LE then I try to do that. A lot of this abuse now deals with phishing and other financially driven motives and so having a strong working relationship with LE is essential. Vigilantes don't have that...

      This isn't about being a vigilante, it's about protecting my backyard. That fact that it helps the rest of the net out is a positive side effect.

      Thanks,
      David U.

      --

      # Hack the planet, it's important.
  15. Re:Who cares really by rpozz · · Score: 2, Informative

    This isn't flamebait, he's making a point.

    Most 'normal' users really don't seem to give a damn if their computeris being hijacked, as long as they don't notice it. And the same users won't undertand that their 56k line is one of many, which adds up to an enormous amount of bandwidth.

  16. Re:A more effective approach? by NevarMore · · Score: 2, Informative

    Wipe themselves out how? They probably don't have self-destruct routines,
    1. Its more code weight, harder to transport, run, and create.
    2. The bot virus writers have probably read the villiany HOWTO which advises against installing a self-destruct device because invariably the hero will use it as a very easy means to destroy the superweapon.

  17. Re:kudos by Mysticalfruit · · Score: 2, Insightful

    The main reason for this is that nobody in power has been afflicted by this.

    The moment one of these BotNet's decides to DDOS the servers at the capitol building or start attacking other aspects of the US internet infrastructure, your congressman isn't going to give a shit.

    The internet and the laws governing it are the wildwest at the moment. Some corners have very strong laws, other corners have none. However, if I remember it was the vigilantes who took care of the areas that strong law hadn't come into play.

    Vigilante groups are a double edged sword. Laws generally aren't as agile as a group of people working for the common good. However, there is a danger that any group of people once given power is generally adverse to giving it up. Also the argument about what "common good" is gets nebulous. We all agree that child porn sites should be taken down and their proprieters chucked into wood chipppers. What happends when you get a vigilante group that feels that all porn sites are bad?

    --
    Yes Francis, the world has gone crazy.
  18. Who cares? Nobody. by matts-reign · · Score: 2, Interesting

    I know a user who I'm certain his system is totally 0wn3d. Its an unpatched windows 98 machine, no firewall, nothing. I put an EICAR string on his machine, and 6 months later, its still there. He calls them "Cheezy Viruses that don't hurt me" if they don't interfere with his day-to-day operations. Only when he got a dialer and built up $10,000 worth of phone bills one month did he care. The moral of the story: Users don't give a damn. I know a guy who happens to run a rather large botnet and he says 90% of his victims know there is a virus on their computers, they just can't be arsed to do anything about it.

    --
    Waffles rock.
  19. C&C? by VStrider · · Score: 2, Insightful

    I thought there was no such thing as a central C&C on botnets. An infected pc, can be a member of many botnets. Today a pc is doing the bidding of joe hax0r, tomorrow is doing the bidding of billy rox0r. Even if you shut down one C&C, the thousands of infected pcs, remain infected and ready to join another botnet.

    The only sollution is user education.

    --
    VStrider.
    1. Re:C&C? by sbma44 · · Score: 3, Interesting
      I thought there was no such thing as a central C&C on botnets. An infected pc, can be a member of many botnets.

      Yes, but there'll be one trojan per botnet. Script kiddies don't like to share, and in fact the current trend is supposedly groups assembling botnets and then auctioning off their services to spammers. Given that, you can see why the botnet "owner" wouldn't want to allow access to other evildoers.

  20. Typical freeloaders by Anonymous Coward · · Score: 4, Funny
    Using data from IP flows passing through routers and reverse-engineering tools to peek under the hood of new Trojans, Thompson said the researchers are able to figure out how the botnet owner sends instructions to the compromised machines.

    This is a blatant violation of the trojans' EULAs if I ever saw one. The authors put a lot of work into writing those trojans. What gives "security researchers" such a sense of entitlement to that code? If they want to analyze malware, they should write their own!

  21. Re:C&C attacks work well for military by ladadadada · · Score: 2, Insightful

    The trouble with cutting off the head is that you end up with a perfectly good army just waiting for a suitable leader to come along... and we all saw how well that worked for Yoda.

    The computers that form the botnet are still compromised and are still just as dangerous. If they have a hard-coded IP address to receive instructions from the vigilantes can make sure that IP address doesn't issue instructions but if the instructions are received in a less centralised way then I can't see how they could stop the instructions being sent.

    Maybe what we need is a follow up deconstruction of the command protocol to allow an effective "self destruct" command to be sent. (Obviously there won't be a self destruct command but there is often the ability to download a new binary file and execute it.)

    --
    Sig matters not. Judge me by my sig, do you?
  22. Anti-anti-botnet by John+Jorsett · · Score: 2, Informative
    Once the head goes, that botnet is largely useless," said Roger Thompson, director of malicious content research at Computer Associates International Inc.

    If I were a Blackhat, my counter to this would be to have the members of the botnet relay my commands among themselves like a telephone relay tree where one person calls 5 who each then call 5 who each then ... To find Mr. Big, you'd have to find the headwaters of the stream, which would be a difficult task.

    1. Re:Anti-anti-botnet by irc.goatse.cx+troll · · Score: 3, Interesting

      No point in treeing it, trees lead to an origin too easily. Cell-style works so much better. Each peer has to discover eachother (Start with the machine that infected it, get the current list of peers from it. randomly ping each peer to see if one drops off, if so send a hint to your other peers. All hints only cause verification, not actually removing. Same for adding new peers this way.
      Controlling it is then a matter of keysigned commands. All commands are timestamped to be unique(so you can easily discard duplicate messages), and is verified with the public key. The only way you can be exposed at the leader is if you get caught with the private key.

      --
      Pain lasts, kid. Its how you know you're alive. Sometimes I think this growing up thing is just pain management-TheMaxx
  23. Re:C&C attacks work well for military by Aaron+England · · Score: 2, Informative

    The proper acronym for command and control is C2. Not C&C. Add comunications to that and you get C3. Add computers to that and you get C4. Add intelligence to that and you get C4i.

  24. Re:A more effective approach? by Knightmare · · Score: 2, Interesting

    Actually you are wrong. Many of the pieces of malware I have reverse engineered have had a "self-destruct" mechanism built in which basically just deleted the exe and any registry entries associated with starting the malware. Not exactly massive amounts of code...

    As soon as you find the magic word to make the bots respond to you (which can be difficult at times, some of the malware writers are pretty sneaky) shutting a botnet down can be as simple as logging into the irc server and appropriate channel and typing a couple of words. The problem comes in when the botnet owners are keeping close tabs on the channels and ban any clients that don't behave just right. At that point you have to go to the trouble of having your irc client mimmic the behavior of the botnet clients so that you will go unnoticed long enough to get the information you need to shutdown the botnet.

  25. Not a problem for long... by Mercury2k · · Score: 4, Interesting

    Hey guys. Just thought that I would put my $0.02 in.

    I am not into botnets anymore, but like most here prolly', I started my internet life on irc. And anyone else who grew up on non dalnet like servers with chan services knows that being on a network without them can be a pain. Especially when smacktards show up for the day ;)

    Anyways, knowing a bit about bot's and botnets, I would say that it shouldnt be too hard to take some down. Being irc based, plain text would be one problem. But if you have access to a machine infected, encryption would be pointless since you could just debug the program and find out what it 's protocol is anyways. I think one big issue that was hinted at in one of the above posts was that you should be able to use an infected machine to "take over" the botnet. Well, things dont work that way. For those of you that havent run one or used one before, I will give you a rough idea of what the ones in my day (1.1.15 or so IIRC).

    A botnet is basically a shell like environment similar to say a bash shell or a dos prompt. ie: its all text commands using plain ol' ascii. Commands generally start with a ".", like ".help". The botnet also has security systems in place (ie: users with passwords etc) that define who can dcc chat the bot directly, use its !channel commands on irc etc. The eggdrop (sorry, yes, im refering to eggdrop's specifically) bot also has the ability to link multiple bots togethere to form a big "botnet". The is all of course done with special bot accounts with unique passwords.

    The reason you cant just take one over (despite it probably being a modified version of this system of bot), is because the other bots are probably only allowed to "take orders" from a specific machine or user. Although for simiplicity sake, I would imagine its just a user and password combo to prevent any traceable information from being gleamed over the botnet traffic. Dont forget to that the botnet would be point to point and most of the traffic would only be coming from a single location (which you would have to find out from a comprimised machine).

    In the end, I see the biggest problem in finding the zombies being, how do you tell when a machines infected if the virus tries the best it can to hide itself from non-forensic integrity checking tools. But, over the years I can see software taking a turn to being better checked for authenticity and integrity etc. Once we hit that point, botnets would probably start to disappear. Also consider that the machines themselevs will go offline and be replaced by newer ones that arent suceptable to the same malicious code. This at least forces them to keep active. And keeping them active helps you trace them.

    Anyways, hope you had a fun read. Not worth previewing this one, l8r.

  26. How my botnet would work. by josh3736 · · Score: 3, Insightful
    If I were a blackhat, my botnet would run thusly:

    The bots would be connected to their own P2P-ish system. Commands would be passed around the network in a method similar to searches in Gnutella.

    All commands would by signed by my private key. My bots would all have my public key. This, I would be *the only person* who could issue valid commands to my botnet.

    This would make it impossible to tell where the commands are coming from since the originator would look just like another bot on the network.

  27. Why allow IRC? by RockDoctor · · Score: 2, Interesting

    I may be missing something here, but if IRC is used to control malicious programs, then why allow IRC?
    Call me a stick in the mud, but I have simply never seen the purpose of IRC. I've installed programs for it, logged into the LUG's channels because I'm told it's the best thing since sliced bread, found it to be a an utter waste of time, and removed the IRC client. Three times. I simply can't see any purpose to it that is worth either the massive time waste (people don't think before they reply to questions), or the huge security hole that it appears to be. [BTW for people on AberLUG, I know there's a no-install Java access route too. But there's no content.]
    So why are people (network administrators, specifically) allowing the packets to pass? You've got a problem with, say, your AS chunk of routing space being full of IRC-controlled robot machines. So set your router to forward all IRC packets (in- or out-bound) to /dev/null (or a logging system) and then annihilate any IRC bot-controllers in your system.
    If IRC has some value (which I have yet to be shown an argument for, let alone be convinced by such an argument ; "Look at this, it's kewl!" is not an argument), then tell the developers who claim so to come up with an IRC-like system which is provably secure and that provides the functionality they want without the security risks. Any of the security risks. Which returns to the original point - what is the "value" of IRC that people tolerate the security risks that appear to be inherent in the model.

    Question: What did people do for rapid networked communication between self-selected groups before someone (whoever) invented IRC? Answer : mailing lists and/or private newsgroups on non-peering, non-usenet NNTP servers.
    Question: What is still a major method of rapid networked communication amongst self-selected groups? Answer: mailing lists (and private newsgroups too, but often less visible than the lists). Did you notice that SourceForge provides this functionality? You think it's there to make the menus longer, or for some other reason?

    If it causes pain, and you've got an alternative, stop doing it.

    BTW, who was responsible for this junk? I remember something similar being available on Compuserve when I joined in 1992, but it was unusable then and hasn't got any better since.
    It is possible that the security risks of IRC are consequent on the possibility of being anonymous on the communication system. That may account for a lot of the junk too. Although the IRC-like stuff in Compuserve was on a private network with personal accountability through credit-card-backed account identifiers, and that was pretty content-free.

    --
    Birds are not dinosaur descendants;birds are dinosaurs, for all useful meanings of "birds", "are" and "dinosaurs"
    1. Re:Why allow IRC? by Halo- · · Score: 3, Informative
      I'm not going to argue the merits or faults of IRC, because it doesn't matter. The problem is that even if you say "IRC is bad" there isn't really a way to "not allow" it. Generally IRC uses ports around the range 6669-7000 (IIRC). So everyone firewalls those off... And the owners of the server move to port 3456 (or whatever...)

      So just port filtering doesn't work. The next idea is to do stateful packet inspection. Every router looks at the contents of every packet to determine if it is part of the IRC protocol.

      Ok, this would work, except it would be unacceptably expensive to implement. Plus, I beleive that some (most? all?) IRC servers support SSL and possibly IPSEC. So the packets are encrypted using SSL, and using some non-obvious port. (like say, port 443) At this point, it is very hard to distinguish between legitimate HTTPS traffic and IRC traffic. I suppose you could look at the packet sizes and do traffic analysis on the flows, but you'd still have problems with other legitimate services running over HTTPS. (Like VPN proxies or Java Applets, or Flash)

      So, even if IRC is the root of all evil in the world, it's not possible to just "not allow" it.

      (Sorry for the rant, I'm getting over being sick and still a bit punchy)