Follow Us

We use cookies to provide you with a better experience. If you continue to use this site, we'll assume you're happy with this. Alternatively, click here to find out how to manage these cookies

hide cookie message

Malware increasingly using DNS as C&C channel to avoid detection

Most companies unprepared to deal with the use of DNS as command and control channel for malware, experts said at the RSA Conference

Article comments

The number of malware threats that receive instructions from attackers through DNS is expected to increase, and most companies are not currently scanning for such activity on their networks, security experts said at the RSA Conference 2012 yesterday.

There are many channels that attackers use for communicating with their botnets, ranging from traditional ones like TCP, IRC and HTTP to more unusual ones like Twitter feeds, Facebook walls and even YouTube comments.

Most malware-generated traffic that passes through these channels can be detected and blocked at the network level by firewalls or intrusion prevention systems.

However, that's not the case for DNS (Domain Name System) and attackers are taking advantage of that, said Ed Skoudis, founder of Counter Hack Challenges and SANS fellow, during a presentation on new attack techniques at the conference.

Firewall bypass

The DNS protocol is normally used for a precise critical function - the translation of host names into IP addresses and vice-versa. Because of this, DNS traffic doesn't get filtered or inspected by traffic monitoring solutions and is allowed to flow freely through most networks.

As DNS queries gets passed from one DNS server to another until they reach the authoritative servers for the respective domains, network-level IP blocklists are useless at blocking them.

Skoudis has seen malware that receives instructions via DNS responses being involved in two recent large-scale breaches that resulted in the compromise of millions of accounts. He expects more attackers to adopt this stealthy technique in the following months.

The infected computer doesn't even need to have outbound connectivity. As long as it can resolve the host name through a local DNS server that performs recursive lookups on the internet, it can communicate with attackers, Skoudis said.

DNScat

Logging all DNS queries that pass through a local server is impractical because it can lead to serious performance issues. However, using a network sniffer to capture samples periodically for analysis can be a solution, Skoudis said.

Network administrators should look for unusually long queries or responses that contain weird names and encoded data, the security expert said. However, attackers might split the responses in smaller chunks.

Identical queries that get repeated every few minutes can also be an indication of DNS command and control activity, because infected computers will periodically check for new commands.

There are tools available such as DNScat that network administrators can use to simulate non-standard DNS traffic and develop detection strategies. Tunneling traffic through DNS servers is not a new technique, but it will likely increasingly appeal to cybercriminals who are looking for ways to avoid detection, especially on corporate networks where remaining hidden for as long as possible is critical for them.



Share:

More from Techworld

More relevant IT news

Comments

John said: I was wondering why when I enabled DNS inspection on my ASA I was getting a bunch of dropped DNSqueriessyslog stated the packet was longer than the standard



Send to a friend

Email this article to a friend or colleague:

PLEASE NOTE: Your name is used only to let the recipient know who sent the story, and in case of transmission error. Both your name and the recipient's name and address will not be used for any other purpose.

Techworld White Papers

Choose – and Choose Wisely – the Right MSP for Your SMB

End users need a technology partner that provides transparency, enables productivity, delivers...

Download Whitepaper

10 Effective Habits of Indispensable IT Departments

It’s no secret that responsibilities are growing while budgets continue to shrink. Download this...

Download Whitepaper

Gartner Magic Quadrant for Enterprise Information Archiving

Enterprise information archiving is contributing to organisational needs for e-discovery and...

Download Whitepaper

Advancing the state of virtualised backups

Dell Software’s vRanger is a veteran of the virtualisation specific backup market. It was the...

Download Whitepaper

Techworld UK - Technology - Business

Innovation, productivity, agility and profit

Watch this on demand webinar which explores IT innovation, managed print services and business agility.

Techworld Mobile Site

Access Techworld's content on the move

Get the latest news, product reviews and downloads on your mobile device with Techworld's mobile site.

Find out more...

From Wow to How : Making mobile and cloud work for you

On demand Biztech Briefing - Learn how to effectively deliver mobile work styles and cloud services together.

Watch now...

Site Map

* *