Slashdot Log In
Hunting for Botnet Command and Controls
Posted by
Zonk
on Sun Jun 19, 2005 05:27 PM
from the owning-the-punkz dept.
from the owning-the-punkz dept.
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."
Related Stories
[+]
Interview with a Botmaster 291 comments
An anonymous reader writes "The Washington Post is running a fascinating feature profiling a couple of botnet operators who make thousands of dollars each month installing adware on machines they infect. This is by far the most detailed examination of this issue I've seen so far -- and includes an interview with the CEO of 180Solutions, as well as interviews with some of the botmasters' victims. From the story: 'Most days, I just sit at home and chat online while I make money,' 0x80 says. 'I get one check like every 15 days in the mail for a few hundred bucks, and a buncha others I get from banks in Canada every 30 days.' He says his work earns him an average of $6,800 per month, although he's made as much as $10,000. Not bad money for a high school dropout.'"
This discussion has been archived.
No new comments can be posted.
Hunting for Botnet Command and Controls
|
Log In/Create an Account
| Top
| 228 comments
| Search Discussion
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Botnet (Score:3, Funny)
(Last Journal: Thursday June 30 2005, @07:14PM)
Uh oh! (Score:1)
Easy way to catch them. (Score:3, Insightful)
(Last Journal: Friday June 03 2005, @01:11PM)
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.
C&C attacks work well for military (Score:2, Interesting)
(Last Journal: Monday February 20 2006, @09:53AM)
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.
Re:C&C attacks work well for military (Score:5, Funny)
(Last Journal: Sunday November 06 2005, @10:30PM)
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.
Violation of My Privacy? (Score:5, Interesting)
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"?
Re:Violation of My Privacy? (Score:5, Insightful)
You, by encrypting them.
Re:Violation of My Privacy? (Score:4, Informative)
(http://www.theboyz.biz/)
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....
Re:Violation of My Privacy? (Score:5, Insightful)
Re:Violation of My Privacy? (Score:4, Informative)
So you can put the gun down- your privacy is safe.
Re:Violation of My Privacy? (Score:4, Funny)
(Last Journal: Monday February 20 2006, @09:53AM)
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.
pessimistic (Score:5, Insightful)
(http://www.backgroundsarchive.com/)
Shutting down botnets is a pointless effort.. (Score:4, Insightful)
The only solution is secure software engineering and prompt, reliable patching.
Re:Shutting down botnets is a pointless effort.. (Score:4, Insightful)
(http://slashdot.org/)
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.
kudos (Score:2)
(Last Journal: Tuesday May 03 2005, @08:58PM)
Told Ya So (Score:2, Interesting)
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
Self destruct the botnets? (Score:5, Interesting)
What causes botnets? (Score:2, Interesting)
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.
Good for them. (Score:5, Interesting)
(Last Journal: Wednesday July 07 2004, @10:51PM)
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.
A more effective approach? (Score:2)
But if instead you tell all his bots to wipe themselves out, he's got to buy new ones. Yes those machines will surely get reinfected within a few days/weeks, but it will throw a much bigger wrench in the works.
How is this not the obvious approach? Why aren't they doing it? Or maybe they are and aren't stupid enough to tell the media....
Vigilantism? Or good citizenship? (Score:1, Interesting)
The botnets represent a serious threat in all sorts of different ways. Spamming. Phishing. DDOS attacks. Extortion. Money laundering. Child pornography. These large armies of zombie PCs can be use for a variety of evil purposes.
Yah.. this should be the remit of law enforcement agencies.. but guess what. Nothing much is happening. Law enforcement is either waaay outta their league or swamped with other issues. So as good citizens of the internet, what should we do?
Well.. those people who keep moaning about "vigilantes" will do nothing.. expect moan some more when their business is taken out by a DDOS-wielding extortionist. One basic obligation of all citizens it to protect others and to not ignore crimes when they are in progress. So, it is absolutely right and proper that people take direct action if it is clear that law enforcement agencies cannot.
You can target the botnet's C&C system. And there are a variety of ways you can do this - not all of which require immense technical skills. Sometimes that means you have to be slightly more "grey hat" than "white hat" in your approach.
But even if you are technically breaking the law to shut down a botnet.. exactly *who* are the victims? Nobody important, that's who - and they are usually hiding behind layer upon layer of false domain registrations, hijacked IP addresses and worse. In fact, most of the time there are no identifiable victims of this type of anti-botnet action at all - no valid names, companies or organisations. So who's gonna complain?
Personally, I'm not part of this group, but independently I have managed to shut down two large botnets.. at least temporarily. And I would do it again. But.. well, let's just say if you are involved in this sort of thing then it's better to stay an "Anonymous Coward".
I hope they invite the DShield guy (Score:3, Interesting)
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/ [dshield.org]
The new superheroes...(whats their name?) (Score:5, Funny)
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
Re:The new superheroes...(whats their name?) (Score:5, Funny)
Of course, the need to acknowledge both genders would probably make Active X-Force or Active X-Factor a better choice.
What's good for the goose... (Score:5, Interesting)
I'd be interested to see how many people in
book deal (Score:1)
(http://deadmoo.com/)
Since malware writers aren't held liable... (Score:1)
With honeypots and careful use of infectable machines, the code that makes up these beasts can be examined and anti-malware can be released into the wild to destroy the infections whereever the anti-malware gets installed by an end-user.
"Wow, I just cleaned spyware off my machine by looking for pr0n." Sort of like accidentally giving yourself life-saving medication because someone knew you were a pill popping idiot and they put the right stuff where you'd find it.
The question is, how would the corporate antimalware forces of right now react? "Symantec finds the W32.SpamZapFly2 to be a highly dangerous worm capable of closing far too many open smtp relays (which is eating into our business) and recommends using our new tool to remove it as well as purchasing our latest antivirus software (which will be as ineffective as the last one) instead of relying on accidental infection with this so-called anti-bodyware (because while it has equal chance of happening, we'd prefer to be paid).
C&C? (Score:3, Insightful)
The only sollution is user education.
Re:C&C? (Score:4, Interesting)
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.
Typical freeloaders (Score:4, Funny)
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!
westwood studios (Score:1)
(http://brickballs.net/)
seeing C&C in the article took me back to the good ol' days of DOS and Westwood Studios...
fuckin Electronic Arts.
Anti-anti-botnet (Score:3, Informative)
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.
Re:Anti-anti-botnet (Score:4, Interesting)
(Last Journal: Saturday September 20 2003, @01:55PM)
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.
..just another wasted effort. (Score:1)
You know what I'd like to see for once? How about a vigilante team of lawyers that work with the businesses who regularly pay $many thousands of dollars to deal with these botnet attacks. Work with the ISPs involved to get customer names, through *legal channels* (so they'll cooperate), and then file civil lawsuits against every single one of negligent computer owners. Hmm, what's that? Oh, now you've got everyone's attention.
Even a DirecTV/RIAA-style letter campaign would probably do more to fight the problem than this team of bot-busters will.
Note: no disrespect to the research team. I applaud their efforts, even though I think there's a better solution to this problem.
No sniffing needed (Score:1)
(http://utopios.org/)
New spin on... (Score:2)
Not a problem for long... (Score:4, Interesting)
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.
How my botnet would work. (Score:4, Insightful)
(http://josh3736.net/)
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.
Why allow IRC? (Score:2, Interesting)
(Last Journal: Friday July 14 2006, @07:12AM)
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
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.
Re:Why allow IRC? (Score:4, Informative)
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)
Will XOR be used for next generation botnets? (Score:1)
So if they are now able to shut down C&C , what will the next round of innovation bring to malware?
Will next generation botnets probably use XOR metrics to receive their instructions, similar to serverless p2p nets?
I think that's just a pyrrhic victory
nuking botnets (Score:2)
(http://phorm.phormix.com/ | Last Journal: Monday May 19 2003, @12:08PM)
Next time the botnet master says 'attack IP 192.168.253.1' the botnets instead turn on whomever issues the attack command. This would likely be an "owned" machine and not the attacker's home, but at least it gets knocked off and disabled. Another idea might just be to have the machines redirect the floods to 127.0.0.1, thus incapacitating themselves instead.
Re:And then what? (Score:1)
(http://dnspam.student.utwente.nl/)
Re:Who cares really (Score:3, Insightful)
(http://www.backgroundsarchive.com/)
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.
Re:Who cares really (Score:3, Informative)
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.
Re:Who cares really (Score:1)
Re:Ex-Soviet Hackers... (Score:2)
(http://www.joe-bunting.com/club)
That's not true at all, sheep generally hang around in big mobs regardless of whether a shephard is present or not.
Even if what you said was true there is no evidence it would work for anything other than shephards and sheep.
Word on what street ?