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.

Risk

2/15/2008
06:55 AM
Connect Directly
Twitter
RSS
E-Mail
50%
50%

Botnet Hunters Reveal New Spin on Old Tricks

Damballa researchers share some techniques for getting a better picture of botnets - and targeted attacks

Is that malware found on your client machine the sign of a targeted attack or a routine bot-herding run? How do you know for sure?

Botnet hunters from Damballa are using some traditional network monitoring techniques to determine the size and scope of botnets -- information that can even help distinguish between a direct attack or a random bot recruitment.

“We are working on ways to better [calculate] the numbers of these botnets with some accuracy,” says Christopher Davis, director of threat analysis for Damballa. Davis and Damballa chief scientist and co-founder David Dagon will discuss their company’s botnet research techniques at Black Hat D.C. next week.

Damballa researchers basically reverse-engineer the malware code that arrives at one of their customer’s client machines, and then study how it communicates with its command and control (C&C) server. Then, using a DNS cache-inspection technique, combined with tracking the C&C server’s IP packet identifier in TCP/IP, they can take more accurate counts of the number of bots, C&C servers, and the potential scope of a particular botnet.

Damballa is basically putting a new spin on some existing techniques. Phishers, for example, have been known to use DNS cache inspection for reconnaissance before staging an exploit on an organization. “Although these techniques have been around and known for a long time, we’ve never heard of anyone applying them to botnet research,” Davis says.

These methods are useful for bot malware that provides only limited visibility into the botnet’s inner workings, such as HTTP-based botnets. An IRC-based botnet -- or even Storm, which uses peer-to-peer communications -- wouldn’t require these techniques because they are more transparent and simpler to track, Davis says.

Learning about the size of the botnet behind a piece of malware can provide some clues as to whether it’s a targeted attack or a bot-recruiting run. “You’re never able to say 100 percent that this wasn’t a targeted attack. But generally, the bad guy isn’t likely to have a [targeted] enterprise join a 20,000-member botnet. It’s going to be a small one,” Davis says.

With DNS cache inspection, the researchers query regional servers for the “bad” domain. “We can then see if this bad domain has been requested there…it wouldn’t be in the cache if no one else had asked for it,” Davis says.

So if an Atlanta-based ISP’s DNS server retains the bad guy’s domain in its cache, it’s likely that users in that area are getting infected, he says. This gets them closer to learning about the range of the bot population.

Then comes the so-called IPID technique. Davis says the researchers can determine how many packets it takes for the malware’s update or download, so they can use that count to calculate roughly how many bots there are. IPID basically provides a packet counter they can refer to in each query to the C&C server. “Watching IPID, we can tell when [the C&C server] sends a command or someone downloads the malware from it,” Davis says.

The downside of these methods, however, is that they’re relatively “noisy,” Davis says, which could potentially blow the researchers’ cover and prompt the bad guys to relocate their servers. So the researchers try to keep a low profile when scanning DNS servers and when sending packets to the botnet C&C servers so their presence isn’t detected, he says. The goal is to be able to better determine growth, spread, and shifts in a botnet.

Have a comment on this story? Please click "Discuss" below. If you'd like to contact Dark Reading's editors directly, send us a message.

Damballa Inc.

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
COVID-19: Latest Security News & Commentary
Dark Reading Staff 10/23/2020
Russian Military Officers Unmasked, Indicted for High-Profile Cyberattack Campaigns
Kelly Jackson Higgins, Executive Editor at Dark Reading,  10/19/2020
Modern Day Insider Threat: Network Bugs That Are Stealing Your Data
David Pearson, Principal Threat Researcher,  10/21/2020
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
Special Report: Computing's New Normal
This special report examines how IT security organizations have adapted to the "new normal" of computing and what the long-term effects will be. Read it and get a unique set of perspectives on issues ranging from new threats & vulnerabilities as a result of remote working to how enterprise security strategy will be affected long term.
Flash Poll
How IT Security Organizations are Attacking the Cybersecurity Problem
How IT Security Organizations are Attacking the Cybersecurity Problem
The COVID-19 pandemic turned the world -- and enterprise computing -- on end. Here's a look at how cybersecurity teams are retrenching their defense strategies, rebuilding their teams, and selecting new technologies to stop the oncoming rise of online attacks.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2020-27187
PUBLISHED: 2020-10-26
An issue was discovered in KDE Partition Manager 4.1.0 before 4.2.0. The kpmcore_externalcommand helper contains a logic flaw in which the service invoking D-Bus is not properly checked. An attacker on the local machine can replace /etc/fstab, and execute mount and other partitioning related command...
CVE-2020-7752
PUBLISHED: 2020-10-26
This affects the package systeminformation before 4.27.11. This package is vulnerable to Command Injection. The attacker can concatenate curl's parameters to overwrite Javascript files and then execute any OS commands.
CVE-2020-7127
PUBLISHED: 2020-10-26
A remote unauthenticated arbitrary code execution vulnerability was discovered in Aruba Airwave Software version(s): Prior to 1.3.2.
CVE-2020-7196
PUBLISHED: 2020-10-26
The HPE BlueData EPIC Software Platform version 4.0 and HPE Ezmeral Container Platform 5.0 use an insecure method of handling sensitive Kerberos passwords that is susceptible to unauthorized interception and/or retrieval. Specifically, they display the kdc_admin_password in the source file of the ur...
CVE-2020-7197
PUBLISHED: 2020-10-26
SSMC3.7.0.0 is vulnerable to remote authentication bypass. HPE StoreServ Management Console (SSMC) 3.7.0.0 is an off node multiarray manager web application and remains isolated from data on the managed arrays. HPE has provided an update to HPE StoreServ Management Console (SSMC) software 3.7.0.0* U...