Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.


04:45 AM
Connect Directly

Dismantling a Botnet

Lopping off its head won't kill a botnet - and the bots may never truly be free

Just because you arrest a spam kingpin doesn't mean his botnet is history. (See Spamless in Seattle.)

The arrest of Robert Soloway, the so-called "Spam King" who commanded a botnet of zombies that reportedly sent out billions of spam email messages every day, is a case study in just how difficult killing a botnet can be. His capture does not equate to the release of thousands of newly healthy client machines that may once have been his infected hostages.

"You are basically cutting a tapeworm in two. The infrastructure is still there, and it can be picked up by anyone who can find it or knows where it is," says Ira Winkler, author of Zen and the Art of Information Security. "Authorities might be able to see what servers he connects to that command the rest of the bots, but it is unlikely that they will kill all of the bots."

Researchers say Soloway had his own botnet for spamming -- not for launching denial-of-service attacks like some botnets do, nor was it part of one of the infamous botnet "gangs" out there. And everyone was watching him and his movements. "The botnet wasn't terribly sophisticated, but it was custom enough that it sort of stood out," says Jose Nazario, software and security engineer for Arbor Networks. "It seemed to be primarily his own botnet, and he [probably] had a couple of guys in contract helping him out. People had their eye on him for quite a while."

Even if authorities try to shut down his botnet, there are plenty more wanna-be spam kings and botherders waiting in the wings who probably already are snapping up the infected bots Soloway used, researchers say. "There's always someone there ready to fill the void," says Joe Stewart, senior security researcher for SecureWorks. "I don't expect to see a decrease of spam in my inbox."

Even if Soloway's bots are freed, the machines are likely still infected, so another botherder can re-hijack them for his own botnet. "It's easy to steal someone else's bots," Arbor's Nazario says. Even scarier is if your machine just so happened to be one of a Soloway bot, it may already have been recruited as a member of another botnet and you wouldn't even know it, according to Nazario.

So how do you dismantle a botnet? It's no easy task, and it requires infiltration of the botnet. SecureWorks's Stewart says the most effective way to take down a botnet is to go after the actual hands-on operation, and that's not the spam king. "There's always a central server or some sort of central control mechanism, even if it's a peer-to-peer network. Someone has the keys to control it all."

That means taking down the command and control, or master, server. "Now all the zombies are dead and defunct because they can't send mail if they don't have contact with their master server," he says. For peer-to-peer botnets -- a distributed setup where each bot can send its commands on its own so it's difficult to pinpoint the source of the command and control -- you have to "convince" the controller to shut down the botnet operation, he says.

"There's usually a way to build in an update to their software to convince them it's time to shut down," Stewart explains. "If you take away that person and their controlling of the botnet and get a list of all these infected machines before they are resold," then you have a shot at taking it down.

The key is chipping away at the guys in the trenches. "It's good to get rid of a spam kingpin. But you need to know where he's getting his services from," Stewart says.

Trouble is, many of the worker-bee spammers are in countries like China and Russia, out of the reach of U.S. law enforcement, Stewart says. "It's a global economy here in the spam underworld."

And investigators and ISPs are often in a quandary over whether to shut down a botnet altogether for fear of inadvertently sabotaging an investigation of a researcher or another law-enforcement official, for instance. (See Battling Bots, Doing No Harm.)

Winkler says to truly dismantle a botnet, you need to not only find the servers that the root commands, but also find the bot-infected end systems themselves. "If you observe the behavior of the bot servers to see what systems they connect to, you can then try to get the ISPs to tell the owners to clean up all the systems, which is the most work."

Nazario says he doesn't have any firsthand knowledge that law enforcement officials are completely killing the Spam King's botnet. That would take studying the tools and techniques he used, and then the monumental task of getting antivirus and OS vendors to provide signatures to remove his malware. "That would be a major event," he says. "They [vendors] have so many things on their plate that they have to triage and prioritize them."

Shutting down a botnet usually requires not only taking down command and control servers, but with a quick, coordinated effort of officials around the globe, says Kris Kendall, principal consultant for Mandiant. "That's a hard problem," he says. "Battling botherders on their own turf is challenging."

Investigators into the Soloway botnet may instead want to monitor it and see who's using it and how. "They could sit where he would and watch who's using it and follow them," Nazario says. "That way they could find out more about the spamming underworld and his underworld."

So the bots from Soloway's botnet aren't in the clear yet. His arrest was really more symbolic: "They were really looking to send a message to other spammers that they are being watched and can be caught. Until we start seeing a large number of these arrests on fairly regular basis, it's not going to have a significant impact," Stewart says.

— Kelly Jackson Higgins, Senior Editor, Dark Reading

  • SecureWorks Inc.
  • Arbor Networks Inc.
  • Mandiant Kelly Jackson Higgins is the Executive Editor of Dark Reading. She is an award-winning veteran technology and business journalist with more than two decades of experience in reporting and editing for various publications, including Network Computing, Secure Enterprise ... View Full Bio

    Comment  | 
    Print  | 
    More Insights
  • Comments
    Newest First  |  Oldest First  |  Threaded View
    Mobile Banking Malware Up 50% in First Half of 2019
    Kelly Sheridan, Staff Editor, Dark Reading,  1/17/2020
    Exploits Released for As-Yet Unpatched Critical Citrix Flaw
    Jai Vijayan, Contributing Writer,  1/13/2020
    Microsoft to Officially End Support for Windows 7, Server 2008
    Kelly Sheridan, Staff Editor, Dark Reading,  1/13/2020
    Register for Dark Reading Newsletters
    White Papers
    Cartoon Contest
    Write a Caption, Win a Starbucks Card! Click Here
    Latest Comment: This comment is waiting for review by our moderators.
    Current Issue
    The Year in Security: 2019
    This Tech Digest provides a wrap up and overview of the year's top cybersecurity news stories. It was a year of new twists on old threats, with fears of another WannaCry-type worm and of a possible botnet army of Wi-Fi routers. But 2019 also underscored the risk of firmware and trusted security tools harboring dangerous holes that cybercriminals and nation-state hackers could readily abuse. Read more.
    Flash Poll
    [Just Released] How Enterprises are Attacking the Cybersecurity Problem
    [Just Released] How Enterprises are Attacking the Cybersecurity Problem
    Organizations have invested in a sweeping array of security technologies to address challenges associated with the growing number of cybersecurity attacks. However, the complexity involved in managing these technologies is emerging as a major problem. Read this report to find out what your peers biggest security challenges are and the technologies they are using to address them.
    Twitter Feed
    Dark Reading - Bug Report
    Bug Report
    Enterprise Vulnerabilities
    From DHS/US-CERT's National Vulnerability Database
    PUBLISHED: 2020-01-18
    Westermo MRD-315 1.7.3 and 1.7.4 devices have an information disclosure vulnerability that allows an authenticated remote attacker to retrieve the source code of different functions of the web application via requests that lack certain mandatory parameters. This affects ifaces-diag.asp, system.asp, ...
    PUBLISHED: 2020-01-18
    A memory usage vulnerability exists in Trend Micro Password Manager 3.8 that could allow an attacker with access and permissions to the victim's memory processes to extract sensitive information.
    PUBLISHED: 2020-01-18
    A RootCA vulnerability found in Trend Micro Password Manager for Windows and macOS exists where the localhost.key of RootCA.crt might be improperly accessed by an unauthorized party and could be used to create malicious self-signed SSL certificates, allowing an attacker to misdirect a user to phishi...
    PUBLISHED: 2020-01-18
    An arbitrary code execution vulnerability exists in the Trend Micro Security 2019 (v15) consumer family of products which could allow an attacker to gain elevated privileges and tamper with protected services by disabling or otherwise preventing them to start. An attacker must already have administr...
    PUBLISHED: 2020-01-18
    A Persistent Arbitrary Code Execution vulnerability exists in the Trend Micro Security 2020 (v160 and 2019 (v15) consumer familiy of products which could potentially allow an attacker the ability to create a malicious program to escalate privileges and attain persistence on a vulnerable system.