How to Take Down a Botnet

The botnet problem has reached epidemic levels in recent months, with the continued growth of large-scale botnets, as well as the identification of smaller, more targeted networks around the world. But researchers have been taking steps to disrupt botnets of late, with some notable successes, as the recent takedown of the Mega-D botnet shows.

The botnet problem has reached epidemic levels in recent months, with the continued growth of large-scale botnets, as well as the identification of smaller, more targeted networks around the world. But researchers have been taking steps to disrupt botnets of late, with some notable successes, as the recent takedown of the Mega-D botnet shows.

Mega-D, also known as Ozdok, is a botnet that has been in operation for more than a year, and is the work of the Mega-D Trojan, which has been infecting machines since February 2008. The network has at various times comprised tens of thousands of machines and was responsible for sending out a large portion of the spam on the Internet–at some points north of 30 percent. Researchers had identified the botnet early last year and had a good handle on its command-and-control structure, but it wasn’t until last week that a group of researchers at FireEye began an effort to disrupt the Mega-D botnet.

The researchers started by identifying all of the servers involved in the command-and-control infrastructure and working with the ISPs to take the servers offline. The company was able to get all but four of the C&C servers offline, and also took six of the C&C domains offline by working with the registrars involved. This is fairly standard stuff, but most botnets have backup mechanisms for the disruption of their C&C infrastructure. Mega-D was no exception.

After identifying the list of unused domains that Mega-D would
register at some point if the current C&C domains went offline. So
FireEye’s researchers took the step of registering all of the unused
domains in Mega-D’s domain list and then pointing all of the domains at
a server that FireEye controls, effectively black-holing all of the
traffic.

All of these domains are
pointing to our sinkhole server now. What this means is that all the
Ozdok zombies instead of connecting to their real CnCs are coming to
this sinkhole server. Data collected from the sinkhole server logs will
be used to identify the victim machines and help them recover their
machines back to a normal state. So far we have seen 264,784 unique IPs
connecting to our sinkhole server in a 24 hour time frame. This could
be a rough estimate of the current size of Mega-d botnet.

This extra step may give researchers a head start on the botnet controllers, who likely will be looking for a new channel through which to communicate with their now-orphaned bots. The bots themsselves are of no use to the attackers without a way to control them, so it likely is only a matter of time before they find a way to circumvent the roadblocks that the FireEye researchers put in their way.

Suggested articles

Discussion

  • Anonymous on

    Someone, help!  I am so new at all this lingo but what exactly is a "botnet"?  a C n C?  Thanks.  I need all the help I can get when I read the threatpost.  I feel dumber than dumb, but if I don't ask these questions, I'll remain dumber than dumb and I want to get on the band wagon and learn the meaning of these terminologies.  Thanks.

  • Bob Davis on

    A Botnet is a collection of infected computers that are controlled from a 'command and control' compuer(s).  The objective can be to send out spam, to make money via 'pay for clicks', or to download porn and store it 'safely' on someone elses computer.

    The problem is that no antivirus program can detect some of them, so you have to use a program like 'wireshark' to detect the infected network traffic.  A good firewall may also detect the traffic.  Once you find the infected computer the only solution may be to reformat the hard drive and start over.

Subscribe to our newsletter, Threatpost Today!

Get the latest breaking news delivered daily to your inbox.