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

|

PDC 2009: What have we learned this week?

There was the freebie that no one will forget, the heebie-jeebies courtesy of Scott Guthrie, and a teensy bit clearer picture of how this cloud thingie should work.

Live report: Will Google Chrome OS change Linux?

The mysteries of just what Chrome OS is, and how much of an operating system it truly is, may be resolved today.

PDC 2009: Microsoft cares about Web browser performance

The effort to give users of the world's dominant Web browser the impression of quality, is a personal one for the man who leads that battle.

Nokia re-affirms its commitment to Symbian, sort of

Maemo won't necessarily be replacing Symbian in the Nokia N-Series, but that's definitely a place where it will be found.

E-book readers will be in short supply this holiday season

E-readers are hot this year, and a lot of compelling new products have been released, but are there enough electrophoretic displays to go around?

Sony looks to finally open a single storefront for downloads

Sony has had many different download portals for movies, music, e-books, and games, and now it's looking to make a single shop for all of it.

Tuning out the tablet: Time to give the endless speculation a rest

Wide Angle Zoom: Wishing and hoping and thinking and praying....won't put an iTablet on the market.

Five improvements for IT managers in 2010

If businesses are to improve their efficiency for next year, they need to stop and reassess the basic tenets of their job.

AOL's spinoff from Time Warner to shed 2,500 jobs

As AOL moves toward become an independent company again, it will cut nearly a third of its workforce.

Gartner: SMS-based money transfer will be bigger than mobile browsing, search

Gartner issues its predictions for the 10 things our phones will be doing in 2012.

Don't forget to upgrade to Firefox 3.6 beta 3 today

Mozilla has released the latest beta its Firefox 3.6 browser software, just over one week after beta 2.