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.

Perimeter

12/15/2008
03:10 PM
John H. Sawyer
John H. Sawyer
Commentary
50%
50%

DNSChanger Trojan Spoofs DHCP Responses To Unsuspecting Victims

Malware analysis has been a small obsession of mine for at least the past four years. I always have a virtual machine sitting around just waiting to be subjected to the next unknown executable that lands in my lap. A psychologist might say I have some "issues" since I get excited from the thought of infecting hapless Windows machines.

Malware analysis has been a small obsession of mine for at least the past four years. I always have a virtual machine sitting around just waiting to be subjected to the next unknown executable that lands in my lap. A psychologist might say I have some "issues" since I get excited from the thought of infecting hapless Windows machines.Personally, I think it is just part of my investigative nature to need to know how something works or determine what it has done after the fact. Sometimes, when I can't get my fix doing hands-on malware analysis, I resort to reading the analysis from other analysts, like the guys behind the McAfee Avert Labs Blog.

McAfee's Craig Schmugar posted a good analysis and description of the DNSChanger Trojan's latest attack technique of spoofing DHCP responses to hosts on the local network. If you haven't heard of or had personal experience with some variant of the DNSChanger Trojan, the basic premise is that it changes the DNS entries on the infected hosts to malicious DNS servers sending unsuspecting users to a malicious site when they were trying to go to Facebook.

The newer DNSChanger Trojan variants were already extremely crafty and "evil" in that they used cross-site request forgery (CSRF) attacks to modify the average consumer routers DNS settings to affect all users on the local network. Since that attack method probably wasn't as effective as the malware authors were hoping, they've now started spoofing DHCP responses with the malicious DNS server addresses as soon as other hosts on the network around it request or renew an IP address.

Most of the blog comments I've seen in various places seem to reflect that there's no hope; in the context of the average, noncorporate end-user, there really isn't. Antivirus vendors need to do two things to combat this: develop accurate detection methods of the malware and monitor DNS settings for changes that point to malicious IP addresses. Unfortunately, the latter is the hardest because the IP addresses can change extremely fast.

Corporate-owned and managed computers have a better chance of being protected as long as their DNS settings are static, preventing any malicious changes from the spoofed DHCP responses. There is a small issue that could crop up with this protective measure because some free wireless networks I've used did not allow external DNS requests from clients. Luckily, in those situations, I've been able to use a VPN that pointed to an IP address and not a DNS entry. That's something to keep in mind if you think a VPN is the quick fix since a DNS lookup to resolve the address of your VPN server could end up being spoofed.

I really hate writing about things that end without hope, but this is one of those problems that is a result of a flaw in a fundamental technology used everywhere -- DHCP. Until it is fixed, there will continue to be attacks similar to this one, and we're going to have to rely on additional broken technologies (like AV) to try and protect us.

John H. Sawyer is a Senior Security Engineer on the IT Security Team at the University of Florida. The views and opinions expressed in this blog are his own and do not represent the views and opinions of the UF IT Security Team or the University of Florida. When John's not fighting flaming, malware-infested machines or performing autopsies on blitzed boxes, he can usually be found hanging with his family, bouncing a baby on one knee and balancing a laptop on the other. Special to Dark Reading.

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
Commentary
Ransomware Is Not the Problem
Adam Shostack, Consultant, Entrepreneur, Technologist, Game Designer,  6/9/2021
Edge-DRsplash-11-edge-ask-the-experts
How Can I Test the Security of My Home-Office Employees' Routers?
John Bock, Senior Research Scientist,  6/7/2021
News
New Ransomware Group Claiming Connection to REvil Gang Surfaces
Jai Vijayan, Contributing Writer,  6/10/2021
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Write a Caption, Win an Amazon Gift Card! Click Here
Latest Comment: Google's new See No Evil policy......
Current Issue
The State of Cybersecurity Incident Response
In this report learn how enterprises are building their incident response teams and processes, how they research potential compromises, how they respond to new breaches, and what tools and processes they use to remediate problems and improve their cyber defenses for the future.
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
CVE-2021-31664
PUBLISHED: 2021-06-18
RIOT-OS 2021.01 before commit 44741ff99f7a71df45420635b238b9c22093647a contains a buffer overflow which could allow attackers to obtain sensitive information.
CVE-2021-33185
PUBLISHED: 2021-06-18
SerenityOS contains a buffer overflow in the set_range test in TestBitmap which could allow attackers to obtain sensitive information.
CVE-2021-33186
PUBLISHED: 2021-06-18
SerenityOS in test-crypto.cpp contains a stack buffer overflow which could allow attackers to obtain sensitive information.
CVE-2021-31272
PUBLISHED: 2021-06-18
SerenityOS before commit 3844e8569689dd476064a0759d704bc64fb3ca2c contains a directory traversal vulnerability in tar/unzip that may lead to command execution or privilege escalation.
CVE-2021-31660
PUBLISHED: 2021-06-18
RIOT-OS 2021.01 before commit 85da504d2dc30188b89f44c3276fc5a25b31251f contains a buffer overflow which could allow attackers to obtain sensitive information.