pen-test
[Top] [All Lists]

Re: Re: Strange ports

To: "Bojan Zdrnja" <bojan.zdrnja@gmail.com>, <pen-test@securityfocus.com>
Subject: Re: Re: Strange ports
From: "Thor (Hammer of God)" <thor@hammerofgod.com>
Date: Sat, 23 Jun 2007 10:23:09 -0700
Delivered-to: sp-com-lists@consult.net
Delivered-to: pentest-list2@consult.net
Delivered-to: mailing list pen-test@securityfocus.com
Delivered-to: moderator for pen-test@securityfocus.com
In-reply-to: <bf0173120706230019j4fbfb04r940e5605e1186da8@mail.gmail.com>
List-help: <mailto:pen-test-help@securityfocus.com>
List-id: <pen-test.list-id.securityfocus.com>
List-post: <mailto:pen-test@securityfocus.com>
List-subscribe: <mailto:pen-test-subscribe@securityfocus.com>
List-unsubscribe: <mailto:pen-test-unsubscribe@securityfocus.com>
Mailing-list: contact pen-test-help@securityfocus.com; run by ezmlm
References: <20070622114121.8452.qmail@securityfocus.com> <49A1E328069F40C1874009BBBDE91918@MoFo> <bf0173120706230019j4fbfb04r940e5605e1186da8@mail.gmail.com>
Resent-date: Sat, 23 Jun 2007 11:54:11 -0600 (MDT)
Resent-from: pen-test-return-1078484450@securityfocus.com
Resent-message-id: <20070623175411.F2FF32374EF@outgoing3.securityfocus.com>
Resent-sender: listbounce@securityfocus.com
Sender: listbounce@securityfocus.com
----- Original Message ----- From: "Bojan Zdrnja" <bojan.zdrnja@gmail.com>
To: "Thor (Hammer of God)" <thor@hammerofgod.com>
Cc: <pen-test@securityfocus.com>
Sent: Saturday, June 23, 2007 12:19 AM
Subject: Re: Re: Strange ports


On 6/23/07, Thor (Hammer of God) <thor@hammerofgod.com> wrote:
If you use Exchange (well, specifically, if Exchange is doing the DNS
lookup) then you do need TCP 53 as Exchange SMTP (or IIS SMTP) uses TCP by default for DNS queries. This is actually a good thing, as it is easier to

TCP by default?

Yes, TCP by default for SMTP DNS queries. See http://support.microsoft.com/kb/263237 (that's a ex2k kb, but it still applies)

So you are saying that Exchange doesn't use system's
resolver but instead has an internal one?
This is pretty interesting, can you point to Microsoft's documentation
about this?

Indeed - Exchange uses a separate DNS configuration for host resolution of SMTP destinations (when configured). When you consider the heavy requirement for Exchange to be integrated with Active Directory, you identify the fact that the "local" IP stack has to point to internal AD DNS to function properly. Therefore, Exchange allows you to set DNS settings specifically for the SMTP virtual server's use if it can't resolve hosts via your internal DNS design-- like when you have root zones in your AD or you've isolated internal DNS without forwarders.

You go the the properties of an SMTP virtual server, go to the Delivery tab, click Advanced, and then click Configure to configure external DNS servers separate from the local stack. If this option is not configured, then standard DNS settings of the adapter stack are used, but resolution is still TCP by default.

HTH

t

-------------
Veni, vidi, veni denuo.

Check out Thor's "Microsoft Ninjitsu: Blackbelt Edition" training at Blackhat Vegas!
http://www.blackhat.com/html/bh-usa-07/train-bh-us-07-tm-ms-bbe.html


------------------------------------------------------------------------
This List Sponsored by: Cenzic

Are you using SPI, Watchfire or WhiteHat?
Consider getting clear vision with Cenzic
See HOW Now with our 20/20 program!

http://www.cenzic.com/c/2020
------------------------------------------------------------------------


<Prev in Thread] Current Thread [Next in Thread>