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.

Vulnerabilities / Threats

2/8/2011
07:28 PM
Connect Directly
Google+
Twitter
RSS
E-Mail
50%
50%

Tracking The Botnet's DNS Trail

Combining domain-flux detection with DNS query-failure graphing could help pinpoint the wiliest botnets

A researcher is looking at mapping trends in Domain Name System (DNS) queries to better pinpoint stealthy botnet activity and ultimately the botnet's command and control (C&C) infrastructure.

Zhi-Li Zhang, a professor at the University of Minnesota, is looking at new methods for detecting botnets that try to hide behind alternating domain names in what's called DNS domain-fluxing -- also known as domain generation algorithm (DGA). In domain-fluxing, the bot queries a series of domain names, but the domain owner registers just one. The Conficker, Kraken, and Torpig botnets all use this method of evasion.

To get to the C&C for these types of botnets, researchers typically have to reverse-engineer the bot malware and then figure out the domains that are generated regularly in order to register them as a way to infiltrate the botnet. But that process is time-consuming and resource-intensive, researchers say.

Zhang recently came up with a way to graph failed DNS queries in order to root out these types of botnets. "The basic idea of our approach is to observe and analyze DNS failures to identify and pinpoint domain-flux botnets, which tend to generate a large amount of failed DNS queries," Zhang says. He and his research team basically map all of the failed DNS queries and then extract the most dominant subgraphs, he says.

But there are some challenges to this approach. "The key challenges here are that there might be a variety of reasons that DNS queries may fail, so how can we identify failures that are likely caused by bots? And there may exist multiple botnets, [so] is it possible for us to identify bots that belong to each botnet or similar class of botnets?" Zhang says.

The next phase of his research, which is currently in its preliminary stages, is to be able to detect botnets in near real-time by using machine learning and before signatures are developed for characterizing the botnets. Zhang will be using his method of mapping DNS query failures, coupled with an existing method of DNS fast-flux detection that looks at the pattern and distribution of alphabetic characters in a domain name to determine whether it's malicious or legitimate: This allows them to spot botnets' algorithmically generated (rather than generated by humans) domain names. Given that most domain names are already taken, botnet operators have to go with gibberish-looking names like Conficker does: joftvvtvmx.org, gcvwknnxz.biz, and vddxnvzqjks.ws, which their bots generate.

The hope is that a combination of these two methods of spotting irregular DNS traffic for gathering botnet clues will provide even more powerful detection capabilities. Then DNS could be used to peek at relevant HTTP traffic, for instance. DNS is often the first step for bots to find their C&C server -- once they do, they use HTTP to communicate with it, according to Zhang. First inspecting the DNS traffic flows for botnet activity saves a lot of time and effort because HTTP traffic overall is so prolific and parsing it is so unwieldy, he says.

A copy of Zhang's work on DNS failure graphing is available here (PDF).

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

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
Zero-Factor Authentication: Owning Our Data
Nick Selby, Chief Security Officer at Paxos Trust Company,  2/19/2020
44% of Security Threats Start in the Cloud
Kelly Sheridan, Staff Editor, Dark Reading,  2/19/2020
Ransomware Damage Hit $11.5B in 2019
Dark Reading Staff 2/20/2020
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
6 Emerging Cyber Threats That Enterprises Face in 2020
This Tech Digest gives an in-depth look at six emerging cyber threats that enterprises could face in 2020. Download your copy today!
Flash Poll
How Enterprises Are Developing and Maintaining Secure Applications
How Enterprises Are Developing and Maintaining Secure Applications
The concept of application security is well known, but application security testing and remediation processes remain unbalanced. Most organizations are confident in their approach to AppSec, although others seem to have no approach at all. Read this report to find out more.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2014-7914
PUBLISHED: 2020-02-21
btif/src/btif_dm.c in Android before 5.1 does not properly enforce the temporary nature of a Bluetooth pairing, which allows user-assisted remote attackers to bypass intended access restrictions via crafted Bluetooth packets after the tapping of a crafted NFC tag.
CVE-2016-4606
PUBLISHED: 2020-02-21
Curl before 7.49.1 in Apple OS X before macOS Sierra prior to 10.12 allows remote or local attackers to execute arbitrary code, gain sensitive information, cause denial-of-service conditions, bypass security restrictions, and perform unauthorized actions. This may aid in other attacks.
CVE-2020-5243
PUBLISHED: 2020-02-21
uap-core before 0.7.3 is vulnerable to a denial of service attack when processing crafted User-Agent strings. Some regexes are vulnerable to regular expression denial of service (REDoS) due to overlapping capture groups. This allows remote attackers to overload a server by setting the User-Agent hea...
CVE-2019-14688
PUBLISHED: 2020-02-20
Trend Micro has repackaged installers for several Trend Micro products that were found to utilize a version of an install package that had a DLL hijack vulnerability that could be exploited during a new product installation. The vulnerability was found to ONLY be exploitable during an initial produc...
CVE-2019-19694
PUBLISHED: 2020-02-20
The Trend Micro Security 2019 (15.0.0.1163 and below) consumer family of products is vulnerable to a denial of service (DoS) attack in which a malicious actor could manipulate a key file at a certain time during the system startup process to disable the product's malware protection functions or the ...