website statistics
Welcome to TechNet Blogs Sign in | Join | Help

Last week we (ISA Server Team in Texas) faced an interesting issue where remote Outlook Clients using RPC over HTTPs were not able to communicate with the internal Exchange Server. Pretty challenge case since on the ISA Server side there was nothing really obvious missing, netmon also didn’t help that much, but the old netstat tool was “The MAN” to alert us about the issue. The problem ended up to be caused by Port Exhaustion on ISA Server 2006 and netstat helped us to identify that. The approach used was the same as explained by this great post from DS Team about Port Exhaustion.

 

It is important to bring here the scalability problem when the ISA is not correctly sized, mainly when you are publishing Outlook Anywhere.  To really know the impact that Outlook Anywhere (AKA RPC over HTTPs) can cause read the article Outlook Anywhere Scalability with Outlook 2007, Outlook 2003, and Exchange 2007. After reading this article, make sure to correct size your ISA Server 2006 using the ISA Server 2006 Capacity Planning Simulator.

 

For tuning purpose you also can use the TcpTimedWaitDelay registry key to faster release TCP socket connection, read the article Avoiding TCP/IP Port Exhaustion for more details. Although this article is for BizTalk, the context of the problem is the same since it is something related to the Windows OS level where the application (in this case ISA) is affected.

 

My fellow friend Tom Shinder wrote this week about the articles that we were migrating from ISA to TMG and he was surprise with the TMG in Hork Mode (as he said), later he posted about the difference between TMG MBE and TMG EBS in another post. I understand the confusion since it was not 100% clear and this is what we also trying to do when we are reviewing the articles. If you observe the session “applies to” it will have TMG MBE or EBS (or both).

 

However today we have all the remaining answers for you in the following new site:

http://www.microsoft.com/forefront/edgesecurity/isaserver/en/us/threat-management-gateway-mbe.aspx

 

What about system requirements?

http://www.microsoft.com/forefront/edgesecurity/isaserver/en/us/tmg-mbe-system-requirements.aspx

 

Wonder about license? Check more info here:

http://www.microsoft.com/forefront/edgesecurity/isaserver/en/us/tmg-mbe-pricing-licensing.aspx

 

Enjoy TMG (with or without EBS) J

We just released an update for ISA (2000, 2004 and 2006) and TMG MBE for the behavior that Jim Harrison explained in a post about MS08-037 on ISA Team Blog.

 

They are available at:

 

957298

Forefront Threat Management Gateway, MBE
http://www.microsoft.com/downloads/details.aspx?FamilyId=E974422F-42B0-426C-8852-FF8E67264909

 

956570

ISA Server 2006 update

http://www.microsoft.com/downloads/details.aspx?FamilyId=E96A6E20-0C04-4C7D-9F3E-207B02AE29CC

 

956637

ISA Server 2000 update

http://www.microsoft.com/downloads/details.aspx?FamilyId=1455D4E6-A0B5-4583-82F1-EE8239FCA207

 

958024

ISA Server 2004 Standard Edition:

http://www.microsoft.com/downloads/details.aspx?FamilyId=0AB83F12-653B-4BE1-BEFE-594C4EF62BAA

 

ISA Server 2004 Enterprise Edition:

http://www.microsoft.com/downloads/details.aspx?FamilyId=55CE3623-2F7B-4900-9A2F-7E2AA2FE9C50

 

 

Yesterday I was playing a little bit with IE8 when I received the following warning message in IE window:

 

Internet Explorer has modified this page to prevent a potential cross-site-scripting attack.

 

Yep, that’s right: IE8 now mitigates XSS attack by using the built in XSS Filter. Do you want to know more about this? Check this great explanation/demo below:

http://msdn.microsoft.com/en-us/library/cc994337(VS.85).aspx

 

Also, you can review why IE Team adopted this new approach to prevent XSS attack:

http://blogs.msdn.com/ie/archive/2008/09/29/statistical-validation-of-the-ie8-xss-filter.aspx

 

Have you ever received one of the errors below while browsing a web site?

 

The page cannot be displayed

There is a problem with the page you are trying to reach and it cannot be displayed.

Technical Information (for support personnel)
Error Code: 502 Proxy Error.
The HTTP message includes an unsupported header or an unsupported combination of headers. (12156)

 

This could be caused due a response from a web server that begins with a space or tab character in the HTTP Header. If you have ISA Server 2006 SP1 the fix for that is already built in, however you still need to create the registry key described in KB935693. This KB has an example of the HTTP header that was captured using Netmon and how it looks like.

 

Note: This KB was also reviewed for TMG MBE and also applies to it.

 

The global Forefront Edge Security Team worked hard for the last 45 days to review and validate the old ISA articles and see if they were applicable for TMG. As result we have the first wave of articles already live at Microsoft KB Web Site. You can review it here.

 

One question that arrives sometimes is how to get a fully updated ISA Server 2004 SP3 (plus post SP3 updates) system upgraded (in place) to ISA Server 2006 with SP1 on it. This question comes in a really good moment because I can raise two recent situations that can drive you to make this decision of not use RTM version while upgrading to ISA Server 2006:

·         If you have ISA Server 2004 with SP3 you are already used to Logging improvements. By upgrading to ISA Server 2006 RTM you will lose those functionalities since the RTM version of ISA Server 2006 doesn’t have that.

·         Some previous experiences showed me that after making an in place upgrade from ISA Server 2004 SP3 to ISA Server 2006 RTM we can potentially get a blue screen (STOP 0x0000007f - UNEXPECTED_KERNEL_MODE_TRAP) due an issue that was fixed by KB944824. This issue was fixed in almost one year ago (previous to SP1) but guess what, RTM version does still having this issue.

So if you are planning this upgrade in place take the following steps to make sure that you are upgrading to ISA Server 2006 with SP1 built in:

1. Copy ISA Server 2006 CD to the C:\ISA Server 2006 Standard\ folder

2. Copy ISA Server 2006 SP1 to the C:\ISA Server 2006 Standard\FPC folder

3. Apply SP1 in the ISA 2006 Installation file by running:

C:\ISA Server 2006 Standard\FPC>Msiexec /a MS_FPC_Server.msi /p ISA2006-KB943462-X86-ENU.msp


4. Follow the Wizard to Apply the SP1.

5. After finish it, launch the Autorun.exe from the C:\ISA Server 2006 Standard folder.

6. Follow the wizard to upgrade you ISA Server 2004 Standard to ISA Server 2006 SP1.

For more information about in place upgrade from ISA Server 2004 to ISA Server 2006 use the official Microsoft Article for each version as show below:

Upgrade Guide for ISA Server 2006 Enterprise Edition

Upgrade Guide for ISA Server 2006 Standard Edition

 

This week at TechEd EMEA in Barcelona there will be lots of news about TMG and IAG/UAG. But one of that upcoming news was already announced yesterday, which is the new IAG SP2. For more information about that access the IAG Team blog at web site:

http://blogs.technet.com/edgeaccessblog/archive/2008/11/02/iag-sp2-it-is-all-about-the-application.aspx

 

Yesterday we published a new article in the Tales from the Edge Community Page. This article describes in details how it works the new logging feature in TMG. To give you a better perspective about what this means at the end I created this video demo that shows what the article explains.

 

I decided to do that because recently I was answering a question on ISA Server 2006 Forum where the ISA Admin was saying that every time that he shutdown or restarts his SQL Server for maintenance his ISA Server stopped. Well, while this is expected on ISA Server we can always show that this won’t happen in TMG.

 

You can watch online here:

 

 

But if you prefer, you also can download the WMV file from here:

 

Enjoy it.

How many times were you wonder what the difference between HKEY_LOCAL_MACHINE\IsaStg_Eff1 and \IsaStg_Eff1Policy is? Well, yesterday we posted an article on ISA Server Team Blog that will demystify that and much more. Check it out here:

http://blogs.technet.com/isablog/archive/2008/10/29/isa-policy-storage-101.aspx

 

The Microsoft Windows Server 2008 Event Viewer is a whole new program inside the Operating System, the changes made to it were completely significant and rich in new features. There are so many things that you can now do with Event Viewer that it is worth to take some time off and play with it. The new Event Viewer in Windows Server 2008 bring also new security capabilities for auditing and more in depth explanation of the events. In this area my recommendation is that you read the following article Auditing and Compliance in Windows Server 2008 from TechNet Magazine.

 

I’m also pointing out about this because recently I worked again in an ISA case where the infamous 5783 was happening and again the challenge was to get the data while the issue was happening. During the call I was explaining that the new eventmon can assist a lot on that since we can attach an action to the event, as you can see below:

 

 

 

Obviously the "wow" came out due this feature that we asked so much for many years and the “what” was followed by the statement: so are you saying that TMG still have this problem?

 

Let me clarify this once more: there is no bug when ISA Server lose the secure channel with the DC, there is no option to turn on or turn off this error. This problem can happen due many circumstances as I explained and demo on my blog about that. The fact is that if the circumstances are still in place, the 5783 can potentially happen in TMG. The old MaxConcurrentAPI registry key is still there in Windows Server 2008 and can be used to tuning authentication performance as you can see in the “Increase the Number of NPS Concurrent Authentications” article.

 

So what it is our hope to once for all stop dealing with this problem? Well, the main hope is that the companies start to use a Web Browser that supports Kerberos authentication, such as Internet Explorer 7 or higher. This can dramatically decrease the authentication pressure in ISA and in the DC, making this problem go away.

 

Last post I explained how Netmon 3.2 can be used to identify an expected traffic and this week I received an email that says: “…is nice that Netmon 3.2 can be used to that but sometimes this happen while we are out of the office and it is hard to track it more information about that traffic. How I can trigger an action when this event happens in the ISA Server?”.

 

Very interesting question and thanks for asking that! We actually do have a way to take an action based on this ISA Server 2006 Alert.  The ISA Server 2006 Alerts can be customizable in such was that you can trigger an action when it happens. So for example, let’s say that you want to trigger an action when the following alert occurs:

 

Figure 1 – Event 21284.

 

You can easily configure that by using the option below:

 

1. Open ISA Server Management Console.

2. Click Monitoring and click in the Alerts tab.

3. Choose the option Configure Alerts Definitions.

4. In the Alerts tab select the event below and click in Edit.

 

 

Figure 2 – Alert Definitions.

 

5. In the window below click in Actions and choose what action you want to take:

 

 

Figure 3 – Selecting the type of event to run.

 

That’s pretty much it, enjoy your alert customization!

1. Understanding the Problem

 

I already worked in many cases where customer wants to know why ISA is alerting that it might be under attack by logging events such as:

 

Figure 1 – Number of TCP Connections.

 

…and also this one:

 

 

Figure 2 – Denied Connections per Minute.

 

These alerts are part of the default Flood Mitigation settings in ISA Server 2006 and are trigged when ISA detects that the amount of traffic exceed the default setting. This can be a false positive, which means that this amount of connection might be coming from a legitimate system and the behavior might be because this is a really busy system. But, it also can be a real attack due a compromised system in your network.

 

The alert is pretty straight forward and it identifies the source system that is generating this huge amount of traffic. The problem is that sometimes you go to this system, run an Anti-Virus scan and nothing comes up, run an Anti-Spyware and nothing comes up, etc. Sometimes the user is just playing around with some cool tools that he found online or sometimes there is a malicious process that it is actually sending this traffic against ISA Server.

 

2. Netmon 3.2 Can Help you on that!

 

The reason why I’m talking about Netmon 3.2 now is because during TechEd Brazil I met a guy from ISSA Brazil and he was telling me about his experience with Netmon 3.2 and how the security specialists were amazed with the improvements in Netmon 3.2. He actually wrote an article in the ISSA Magazine (in Portuguese) about Netmon 3.2, that you can download it here. This was a great feedback from the field and it is really important to us to spread it out the evolution of such great tool and how this can help people in the field.

 

For this scenario that I’m explaining here Netmon 3.2 was perfect, mainly because it could show me what other tools could not. For this case, when we ran Netmon in the source machine (the one that ISA Server was showing in the alert) we found out what process was sending the traffic:

 

 

Figure 3 – Process that was sending the traffic.

 

As you can see, for this example an internal user was using the freeware tool NMap Scanner to perform a scan against the internal IP of the ISA Server, which obviously was a bad idea. This is only a simple example of how Netmon 3.2 can assist you to identify a process that is generating an unexpected traffic.

 

3. Conclusion

 

The flood mitigations settings on ISA Server can help you to identify and block hosts that are sending an exaggerated amount of traffic to ISA Server. This is the first step to assist you to block a compromised system. Moving further you need to understand why the source machine is doing that and this article explained you how Netmon 3.2 will assist you on that. You can download Netmon 3.2 from here.

 

Who went to TechEd Brazil last week will be able to access the content through the website www.teched.com.br. All the sessions will be available for download, but it will take a couple of weeks to do that happen. My friend Danilo Bordini from Microsoft Brazil already published on his Blog the slides for his presentations and you can download it here. While the content is not available in the web site, you can also download my two presentations here. Enjoy it !!

 

Last Tuesday at TechEd Brazil I was pleased to have around 200 people in the audience with a high expectation about what comes with TMG. This was the first official Microsoft presentation about TMG in Brazil and you can imagine how people were watching closely. While my presentation was about TMG MBE, there were many questions that were not applicable for this release, but we know that the future is coming and Beta 2 is closer than you can imagine. Although the felling of “I want to know more” was a reality during this 1 hour and 15 minutes of presentation, the audience was also amazed by some of the new features that come with TMG, such as Malware Inspection, new Logging architecture (LLQ), Policy Enforcement and NAP Integration.  

 

 

During the Malware Inspection Demo, the user was downloading a ZIP file that has a piece of malware in the file. TMG filter intercepted the traffic, scanned, found the malware and showed the following screen to the final user:

That was a great: “wow that’s cool !!”. The presentation moved smoothly and the result was really positive, which makes me feel good to know that the message touched the ISA Admin’s heart that were there.

More Posts Next page »
 
Page view tracker