Serious RPC Flaw Could Expose Microsoft DNS Servers to Remote Exploits

By Scott M. Fulton, III | Published April 13, 2007, 11:28 AM

This morning, the US-CERT team of the Department of Homeland Security acknowledged Microsoft's advisory this morning, stating that it's investigating instances where Windows servers running the DNS service can be tricked into running any code remotely in a local system context, with the same privileges as the DNS service itself.

As an indication of how seriously Microsoft takes this threat, in a special advisory issued this morning, it instructs customers to use their Registry Editors to set a bit in their DNS parameters for servers running the DNS service, effectively disabling DNS bindings to remote procedure calls (RPC) in favor of local procedure calls only (LPC). From there, the company further suggests that admins use their firewalls to block all RPC traffic, which could extend from ports 1024 to 5000.

Essentially, Microsoft is telling admins to shut off the pipes completely for all traffic that would otherwise enable them to manage DNS servers from remote locations. As the company acknowledges, remote management tools will not function while LPC protocol is favored and RPC ports are blocked by a firewall, though remote management through Terminal Services is still possible.

An engineer with SANS Internet Storm Center who has examined the exploit believes it may not actually be related to DNS at all, since some of its code matches the signature of the infamous Blaster worm of 2004, which had the effect of slowing down many corporate networks to a crawl.

But security engineer David Maynor of Errata Security disagrees. In a blog post this morning, Maynor suggests that comparing the code signature of one exploit to that of another isn't a proper way to judge its identity. The matching code signature in question, Maynor pointed out, is an RPC binding request - the type of request that any DNS host would place to another DNS host, asking it for the rights to make RPC calls. Essentially, it's part of the handshaking procedure that would eventually enable a remote management tool to have access to a DNS server from a more convenient location. Both the Blaster worm and this new exploit would place the same call, which would look the same on a binary scan - that doesn't mean they're the same exploit, he contends.

"If you look at a lot of traffic you will notice that this is pretty standard for the beginning of a DCERPC request," Maynor writes, "and there are tons of reasons you would see this legitimately."

Maynor also suggested that Microsoft should perhaps be a little more forthcoming about the nature of the problem, withhold less information from the public for the sake of ferreting out the perpetrator like a police investigator would, and perhaps instead direct the warning more specifically at the institutions where the perceived threats may have been targeted.

An initial read suggests this threat may not be related to a proof-of-concept circulated among the self-proclaimed Internet underground, entitled "Exploiting Microsoft DNS Dynamic Updates for Fun and Profit." That POC, produced last month, appears to exploit vulnerabilities in Active Directory that can make DNS records point to non-genuine addresses. In such a fashion, comments in the POC's code suggest, Windows systems could be directed to download and even install remote binaries using the same triggers employed for automatic updates and patches.

Today’s threat, Microsoft said, impacts Windows Server 2003 Service Pack 1 and Service Pack 2 (just released), and Windows 2000 Service Pack 4. However, servers which use IPsec to encrypt traffic may not be impacted. Microsoft’s security advisory made a point of saying Vista is unaffected by this problem, although presently, Vista isn’t deployed in many business environments as a server anyway, especially where admins await the release of Longhorn.

Comments

View comments by with a score of at least

However, servers which use IPsec to encrypt traffic may not be impacted.

Everyone should be using this or similar options to encrypt their data anyway.

Microsoft’s security advisory made a point of saying Vista is unaffected by this problem,

Duh? Vista isn't a DNS server.

Score: 0

|

You're right. And still, that statement made it into the security advisory. I thought it was, um, interesting, and you picked up on it.

-SF3

Score: 0

|

It is.

Either they are trying to imply Vista is secure because it doesn't have this issue, or they are trying to preempt some of the nay-sayers.

I'm guessing it's probably a little of both, but it's effect, at least on me, is...

...well...

DUH??

*shrug*

I suppose when you spend your days writing an OS for the lowest common denominator, you probably tend to think of *everyone* using that bias, but still, it is a tad insulting to the techs and admins out there.

Score: 0

|

Oh Nozers!

Score: 0

|

'A pivot from war to peace:' The AMD + Intel armistice, in their own words

An extraordinary day in technology history is recognized by two long-time rivals that mutually decided it's futile to fight anyplace else except the marketplace.

PS3, Xbox to soon get Twitter, Facebook integration

Both Microsoft's Xbox 360 and Sony's PlayStation 3 will integrate with Facebook in the near future.

Windows Marketplace for Mobile now available in browser, iTunes' App Store still not

You can now check out what Windows Marketplace for Mobile has to offer without a Windows Phone.

Microsoft damage control after marketer claims Win7 inspired by Mac

Have you ever said anything you wish you could take back? Ever? No? Not even once? Well then, you won't sympathize with a mid-level Microsoft manager today.

Blockbuster's way down, but poised for a comeback

Though it took a serious beating in 2009, Blockbuster CEO Jim Keyes says the company can turn it around.

iTunes Preview deson't go far enough to create Web-based option for store

Apple has rolled out iTunes Preview, a Web interface for browsing iTunes.

PDC 2009 Preview: The move to Office 2010 and Visual Studio 2010

The major focus of Microsoft's conference next week will likely be explaining why two pillars of its software sales strategy deserve to remain where they are.

Dell's first smartphone aids the Android onslaught

Longtime PC leader Dell has finally announced its Android-based smarphone.

After the Intel + AMD armistice: Do we really want a level playing field?

Scott Fulton On Point: One by one, the reasons for us to continue suspending the course toward open and fair competition in IT, are dropping like flies.

FLO TV launches pocketable, smartphone-like TVs

Qualcomm's FLO TV Personal Television made by HTC launches in retail today.

Google acquires Gizmo5, builds IP telephony portfolio

Google Voice today confirmed rumors that it would acquire IP telephony company Gizmo5