Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

RE: Exchange/MAPI/RPC

From: Brian W. Spolarich <bspolarich(at)nephrostherapeutics.com>
Date: Mon Mar 10 2003 - 13:13:36 EST


Joseph Burton wrote:

> My question is simply, why? Why is it dangerous to use MAPI/RPC over

  The primary reason in my mind is that the RPC service uses a single UDP port (135) for service discovery, which means that you need to open this fairly sensitive service up to the world in order to enable your clients to connect.

  By default RPC-based servers use random port numbers to listen for requests, and thus the RPC service locator has to be on a well-known port for the clients to discover the server listeners (Exchange 2000 has three), and you have to leave all possible listener ports open as well.

  You can address this by telling Exchange 2000 to listen on ports you assign yourself:

  http://support.microsoft.com/default.aspx?scid=KB;en-us;q270836

  Thus you'd only have to open up 4 UDP ports to enable your roaming users to connect. However you've still got to leave the service discovery port open, so folks can connect and say "where is service X listening at the moment?" and creates an exposure (its hard to close ALL UDP off inbound if you want to use DNS, for example). I'm somewhat nervous about the RPC Locator service as well...the old *nix variants of this service were notorious for having buffer overflow issues and resulted in arbitrary code execution attacks with root privileges. I'm sure there are similar issues lurking in the Windows code as well.

  Given that we're talking about UDP here, we have the increased potential for packet injection and other "person in the middle" attacks. Given the increased use of wireless and other unmanaged network configurations, the potential for this is increased.

Do you need help?X

  My strong preference is to only enable Exchange remote connectivity via VPN, or through Outlook Web Access over SSL. A reasonable VPN concentrator is relatively inexpensive ($2500K for a Cisco 3005 box that will support up to 100 users), and the client software easy enough to install. My rather untechnical users seem to "get it", and most opt for the browser-based access when working remotely.

  Password authentication should take place using NTLM, which doesn't use plaintext passwords but has its own issues. By default MAPI connections are unencrypted w/ Outlook, but users can turn this on. I don't know how strong or well-implemented that cipher system is.

  Have I missed anything important?

  -bws Received on Mon Mar 10 15:35:51 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:01:27 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library