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

07:28 PM
Connect Directly

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
Newest First  |  Oldest First  |  Threaded View
Inside the Ransomware Campaigns Targeting Exchange Servers
Kelly Sheridan, Staff Editor, Dark Reading,  4/2/2021
Beyond MITRE ATT&CK: The Case for a New Cyber Kill Chain
Rik Turner, Principal Analyst, Infrastructure Solutions, Omdia,  3/30/2021
Register for Dark Reading Newsletters
White Papers
Current Issue
2021 Top Enterprise IT Trends
We've identified the key trends that are poised to impact the IT landscape in 2021. Find out why they're important and how they will affect you today!
Flash Poll
How Enterprises are Developing Secure Applications
How Enterprises are Developing Secure Applications
Recent breaches of third-party apps are driving many organizations to think harder about the security of their off-the-shelf software as they continue to move left in secure software development practices.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
PUBLISHED: 2021-04-11
An issue was discovered in libezxml.a in ezXML 0.8.6. The function ezxml_internal_dtd(), while parsing a crafted XML file, performs incorrect memory handling, leading to a NULL pointer dereference while running strcmp() on a NULL pointer.
PUBLISHED: 2021-04-10
Valve Steam through 2021-04-10, when a Source engine game is installed, allows remote authenticated users to execute arbitrary code because of a buffer overflow that occurs for a Steam invite after one click.
PUBLISHED: 2021-04-10
A command execution vulnerability in SonicWall GMS 9.3 allows a remote unauthenticated attacker to locally escalate privilege to root.
PUBLISHED: 2021-04-09
Zoom Chat through 2021-04-09 on Windows and macOS allows certain remote authenticated attackers to execute arbitrary code without user interaction. An attacker must be within the same organization, or an external party who has been accepted as a contact. NOTE: this is specific to the Zoom Chat softw...
PUBLISHED: 2021-04-09
Use after free in screen sharing in Google Chrome prior to 89.0.4389.114 allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page.