Free Republic
Browse · Search
News/Activism
Topics · Post Article

Skip to comments.

Attacks exploit Windows DNS server flaw
The Register ^ | 13 April 2007 | Dan Goodin

Posted on 04/16/2007 8:54:40 AM PDT by ShadowAce

Attackers are targeting a flaw in the DNS service for Windows server OSes that could hijack the computers that run them, Microsoft warns. The software behemoth advises admins to employ workarounds pending completion of its investigation.

The vulnerability affects Windows 2000 Server, Service Pack 4 and SP 1 and SP2 versions of Windows Server 2003, according to this Microsoft advisory. DNS functionality exposed over port 53 is not at risk. Nor are Windows 2000 Professional, Windows XP and Windows Vista.

An attack can be carried out by executing a stack-based buffer overrun in the DNS Server's remote procedure call (RPC) interface. A successful exploit, in which a specially crafted RPC packet is sent to a targeted machine, could allow an attacker to run code in the security context of the DNS, which by default runs full privileges.

Without elaborating, Microsoft said it is aware of "limited attacks" using the DNS flaw. Fortunately, the SANS Internet Storm Center was a bit more forthcoming, saying it has learned of two US universities that have been attacked, in each case in early April from a source located at 61.63.227.125.

According to SANS, the attack commences with a TCP scan of ports 1024-2048, followed by a TCP connection to the port running the vulnerable RPC service. A Shellcode binds to TCP port 1100 and a VBscript is uploaded, which downloads an executable DUP.EXE. Voila: the machine is pwnd.

It's been a busy few weeks for Microsoft's security peeps. Last week, the company rushed out an emergency update to patch a critical hole in the way Windows handles customized cursors. On Tuesday, the company released a host of fixes as part of its monthly patch cycle. But even before savvy users had a chance to install them, miscreants were already tinkering with several new exploits targeting Microsoft products.

Microsoft has yet to announce plans for a patch. In the meantime, it is providing instructions for workarounds, which include disabling remote access of DNS using RPC. Those who want to automate the disabling of RPC from a large number of domain controllers can find help here. ®


TOPICS: Technical
KEYWORDS: dns; microsoft; vulnerability

1 posted on 04/16/2007 8:54:44 AM PDT by ShadowAce
[ Post Reply | Private Reply | View Replies]

To: rdb3; chance33_98; Calvinist_Dark_Lord; PenguinWry; GodGunsandGuts; CyberCowboy777; Salo; Bobsat; ..

...though not many people here are affected.

2 posted on 04/16/2007 8:55:36 AM PDT by ShadowAce (Linux -- The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 1 | View Replies]

To: ShadowAce

Running DNS on a Windows machine that is exposed to the Internet is not a good idea. Use it on your internal network to support AD, but keep it away from the public!


3 posted on 04/16/2007 9:02:00 AM PDT by Disambiguator
[ Post Reply | Private Reply | To 2 | View Replies]

To: Disambiguator
Running DNS on a Windows machine that is exposed to the Internet is not a good idea.

Fixed it for you.

4 posted on 04/16/2007 9:11:56 AM PDT by Salo
[ Post Reply | Private Reply | To 3 | View Replies]

To: Disambiguator

Yes it is .... but some engineers are stupid.


5 posted on 04/16/2007 9:14:50 AM PDT by Centurion2000 (Killing all of your enemies without mercy is the only sure way of sleeping soundly at night.)
[ Post Reply | Private Reply | To 3 | View Replies]

To: Centurion2000

Our IT dept. ordered all copies of Firefox removed because it wasn’t as secure as Internet Explorer — so yes, some engineers are stupid.


6 posted on 04/16/2007 9:18:10 AM PDT by MediaMole (9/11 - We have already forgotten.)
[ Post Reply | Private Reply | To 5 | View Replies]

To: Disambiguator
In the spirit of good admin practices lets script this

#!/bin/sh

Service = {exchange iis dns mssql smtp}
Disclaimer = “,if you have to,”

For i in $Service; do

echo “Running $i on a Windows machine that is exposed to the Internet is not a good idea. Use it $Disclaimer on your internal network to support your company, but keep it away from the public!

done

7 posted on 04/16/2007 9:19:13 AM PDT by N3WBI3 ("Help me out here guys: What do you do with someone who wont put up or shut up?" - N3WBI3)
[ Post Reply | Private Reply | To 3 | View Replies]

To: ShadowAce
> ...though not many people here are affected.

You might be surprised.

F'rinstance, my in-house public nameservers are NetBSD, but I'm installing an Active Directory box that will require its own local DNS, and I'm not sure I can avoid it being accessible from the outside, given some of what my users need it to do. Windows servers are a pain in the butt.

Anyway, I'm pleasantly surprised by how many professional IT folks are on FR.

8 posted on 04/16/2007 9:21:52 AM PDT by dayglored (Listen, strange women lying in ponds distributing swords is no basis for a system of government!)
[ Post Reply | Private Reply | To 2 | View Replies]

To: dayglored
You can set up your existing (or another) BIND Server to act as a subordinate or stub of the Windows DNS servers and then use your firewalls to isolate the windows DNS server to only talk to that particular DNS Server. May not work if they are trying to pull more than just host address info out of AD..
9 posted on 04/16/2007 9:24:28 AM PDT by N3WBI3 ("Help me out here guys: What do you do with someone who wont put up or shut up?" - N3WBI3)
[ Post Reply | Private Reply | To 8 | View Replies]

To: dayglored
You might be surprised.

I was going from the perspective that this seems to attack servers only, and "not many" is a relative term to the number of desktops/workstations as opposed to those responsible for servers.

I'm not trying to diminish the importance of this, though.

10 posted on 04/16/2007 9:32:25 AM PDT by ShadowAce (Linux -- The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 8 | View Replies]

To: N3WBI3
You can set up your existing (or another) BIND Server to act as a subordinate or stub of the Windows DNS servers and then use your firewalls to isolate the windows DNS server to only talk to that particular DNS Server. May not work if they are trying to pull more than just host address info out of AD..

 Yup. SRV records probably won't play well with RFC compliant nameservers.

Sometimes the way microsoft breaks everything that it is supposed to interoperate with just astounds me.

Used to be, you could safely deny external TCP traffic to a DNS server, because DNS was alway UDP, except for such things as zone transfers. This reduces the exposure of a DNS server significantly. Unfortunately, you can't do that any more because MS, in their infinite wisdom, decided that DNS should be TCP/UDP. The reason for this has to do with packet-size issues from what I understand. Seems that everyone else on the planet can deal with the packet size limitations of UDP but Microsoft just can't handle it.



11 posted on 04/16/2007 1:01:51 PM PDT by zeugma (MS Vista has detected your mouse has moved, Cancel or Allow?)
[ Post Reply | Private Reply | To 9 | View Replies]

To: zeugma
Ive seen this in other applications as well, the lazy and sloppy way to make network protocol implementations and applications work is to put as much data into a packet as well (you should see some of the things I have seen developers try to do). Put enough data and stupidity into a piece of software and watch the need for slower more robust layer 4 protocols lice tcp. Its DNS why the hell would you do anything on it that UDP cant handle.
12 posted on 04/16/2007 1:25:57 PM PDT by N3WBI3 ("Help me out here guys: What do you do with someone who wont put up or shut up?" - N3WBI3)
[ Post Reply | Private Reply | To 11 | View Replies]

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
News/Activism
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson