<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Security Research &amp; Defense</title><link>http://blogs.technet.com/swi/default.aspx</link><description>Information from Microsoft about vulnerabilities, mitigations and workarounds, active attacks, security research, tools and guidance &lt;br&gt;&lt;br&gt; MSRC Engineering &amp; MSEC Science</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>More information about the new Excel vulnerability</title><link>http://blogs.technet.com/swi/archive/2009/02/24/more-information-about-the-new-excel-vulnerability.aspx</link><pubDate>Tue, 24 Feb 2009 18:43:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3206211</guid><dc:creator>swiblog</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/swi/comments/3206211.aspx</comments><wfw:commentRss>http://blogs.technet.com/swi/commentrss.aspx?PostID=3206211</wfw:commentRss><description>&lt;p&gt;This morning, we posted &lt;a href="http://www.microsoft.com/technet/security/advisory/968272.mspx" mce_href="http://www.microsoft.com/technet/security/advisory/968272.mspx"&gt;Security Advisory 968272&lt;/a&gt; notifying of a new Excel binary file format vulnerability being exploited in targeted attacks. We wanted to share more information about the vulnerability to help you assess risk and protect your environment.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Office 2007 being targeted&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;The current attacks we have seen target users of Office 2007 running an earlier version of Windows (Windows 2000, XP, 2003).  The exploit technique used in these attacks would not work on Windows Vista or earlier versions of Microsoft Office without substantial improvements made by attackers.&lt;/p&gt;

&lt;p&gt;We analyze a lot of Office content type exploits and this is the &lt;b&gt;first time we have seen a working exploit in-the-wild that is able to run code on Office 2007.&lt;/b&gt;  It is always interesting to analyze the first exploit for a new platform, especially one that has held up without being exploited for several years.  Note that this is in the legacy binary file format, not the newer XML format.  The nature of this vulnerability, unfortunately, lends itself to easier exploitation on Office 2007 compared to earlier versions of Office.  The routines that handle object destruction were changed in Office 2007 in a way that makes exploitation for code execution easier.  The same vulnerable code is present in earlier versions of Office but will more likely result only in an application crash on those versions.  It appears attackers are targeting Office 2007 running on Windows XP.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;How to protect yourself&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;The &lt;a href="http://www.microsoft.com/technet/security/advisory/968272.mspx" mce_href="http://www.microsoft.com/technet/security/advisory/968272.mspx"&gt;security advisory&lt;/a&gt; lists a couple different workaround options:&lt;/p&gt;

&lt;p&gt;1 – &lt;b&gt;Turn on MOICE&lt;/b&gt;. MOICE converts the XLS to XSLX before opening.  Again, the new XML file format is not susceptible to this vulnerability.&lt;/p&gt;

&lt;p&gt;2 – &lt;b&gt;Turn on FileBlock&lt;/b&gt;. This option is a little more disruptive to most environments.  With FileBlock enabled, Excel will only open the new XML-based file format that is safer.  It will not open the legacy binary file format.  If your organization has switched over to using the new file format exclusively, this might be a great option, even just long enough for us to get a security update out to address the vulnerability.&lt;/p&gt;

&lt;p&gt;- Jonathan Ness and Bruce Dang, MSRC Engineering&lt;/p&gt;

&lt;p&gt;*Posting is provided "AS IS" with no warranties, and confers no rights.*&lt;/p&gt;
&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3206211" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/swi/archive/tags/Mitigations/default.aspx">Mitigations</category><category domain="http://blogs.technet.com/swi/archive/tags/Office/default.aspx">Office</category><category domain="http://blogs.technet.com/swi/archive/tags/Open+XML/default.aspx">Open XML</category><category domain="http://blogs.technet.com/swi/archive/tags/Workarounds/default.aspx">Workarounds</category></item><item><title>Preventing the Exploitation of Structured Exception Handler (SEH) Overwrites with SEHOP</title><link>http://blogs.technet.com/swi/archive/2009/02/02/preventing-the-exploitation-of-seh-overwrites-with-sehop.aspx</link><pubDate>Mon, 02 Feb 2009 22:53:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3192139</guid><dc:creator>swiblog</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/swi/comments/3192139.aspx</comments><wfw:commentRss>http://blogs.technet.com/swi/commentrss.aspx?PostID=3192139</wfw:commentRss><description>&lt;P&gt;One of the responsibilities of Microsoft’s Security Engineering Center is to investigate defense in depth techniques that can be used to make it harder for attackers to successfully exploit a software vulnerability. These techniques are commonly referred to as &lt;I&gt;exploit mitigations&lt;/I&gt; and have been delivered to users in the form of features like /GS, Data Execution Prevention (DEP), and Address Space Layout Randomization (ASLR). In Windows Server 2008 and Windows Vista SP1, Microsoft released support for a new platform mitigation known as Structured Exception Handler Overwrite Protection (SEHOP). The purpose of this article is to explain the problem this feature is attempting to solve, how it goes about solving it, and what you can do take advantage of it.&lt;/P&gt;
&lt;H4&gt;The exploitation technique: SEH overwrites&lt;/H4&gt;
&lt;P&gt;The purpose of the SEHOP mitigation is to prevent an attacker from being able to make use of the &lt;I&gt;Structured Exception Handler (SEH) overwrite&lt;/I&gt; exploitation technique. This exploitation technique was publicly documented by David Litchfield of NGS Software in a research paper that he published in September, 2003[1]. Since this publication, the SEH overwrite technique has become a standard weapon in an attacker’s arsenal. Roughly 20% of the exploits included in the latest version of the Metasploit framework make use of the SEH overwrite technique. SEH overwrites are also commonly used by exploits that target the increasing number of browser-based vulnerabilities[4].&lt;/P&gt;
&lt;P&gt;At a high-level, the SEH overwrite technique uses a software vulnerability to execute arbitrary code by abusing the 32-bit exception dispatching facilities provided by Windows. At a functional level, an SEH overwrite is generally accomplished by using a stack-based buffer overflow to overwrite an exception registration record that has been stored on a thread’s stack. To provide some context, an exception registration record is composed of two fields: a next pointer and an exception handler function pointer. The next pointer is used to link an exception registration record to the next record in the singly-linked list of registered exception handlers. The exception handler function pointer is called by the Windows exception dispatcher when an exception occurs. The definition for an exception registration record can be seen below:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;typedef struct _EXCEPTION_REGISTRATION_RECORD &lt;BR&gt;{ &lt;BR&gt;&amp;nbsp;&amp;nbsp; struct _EXCEPTION_REGISTRATION_RECORD *Next; &lt;BR&gt;&amp;nbsp;&amp;nbsp; PEXCEPTION_ROUTINE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Handler; &lt;BR&gt;} EXCEPTION_REGISTRATION_RECORD, *PEXCEPTION_REGISTRATION_RECORD;&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;After an exception registration record has been overwritten, an exception must be raised so that the exception dispatcher will attempt to handle it. This can be accomplished in a number of ways, such as by overwriting a return address on the stack with a bogus address in order to cause an access violation exception to be raised. When an exception is raised, the exception dispatcher will attempt to enumerate the list of exception registration records for the thread and call the exception handler that is associated with each record. By corrupting the next pointer and exception handler function pointer of one of the exception registration records, the exception dispatcher can be made to execute code from an arbitrary address as specified by the corrupt exception handler function pointer.&lt;/P&gt;
&lt;P&gt;In many cases, an attacker will choose to overwrite the exception handler function pointer with an address that contains instructions that are equivalent to a &lt;FONT face="Courier New" size=2&gt;pop reg, pop reg, ret&lt;/FONT&gt;. This allows an attacker to reliably execute arbitrary code by transferring control to the &lt;FONT face="Courier New" size=2&gt;EstablisherFrame&lt;/FONT&gt; that the exception dispatcher passes as the second parameter when calling an exception handler. This works because the &lt;FONT face="Courier New" size=2&gt;EstablisherFrame&lt;/FONT&gt; parameter holds the address of the attacker-controlled exception registration record. Attackers have also used heap spraying in conjunction with an SEH overwrite to reliably execute arbitrary code. The following diagram illustrates what an SEH overwrite would typically look like from an exploitation perspective:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.technet.com/blogfiles/swi/WindowsLiveWriter/PreventingtheExploitationofStructuredExc_95E4/clip_image002_2.jpg" mce_href="http://blogs.technet.com/blogfiles/swi/WindowsLiveWriter/PreventingtheExploitationofStructuredExc_95E4/clip_image002_2.jpg"&gt;&lt;IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=340 alt=clip_image002 src="http://blogs.technet.com/blogfiles/swi/WindowsLiveWriter/PreventingtheExploitationofStructuredExc_95E4/clip_image002_thumb.jpg" width=575 border=0 mce_src="http://blogs.technet.com/blogfiles/swi/WindowsLiveWriter/PreventingtheExploitationofStructuredExc_95E4/clip_image002_thumb.jpg"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;H4&gt;The mitigation technique: SEHOP&lt;/H4&gt;
&lt;P&gt;There are two general approaches that can be considered when attempting to mitigate the SEH overwrite exploitation technique. The first approach involves making changes to the compiled versions of code such that executable files are made to contain metadata that the platform would need to properly mitigate this technique. Microsoft pursued this approach and released a functional mitigation with Visual Studio 2003. This mitigation took the form of a new linker flag known as /SAFESEH. Unfortunately, the need to rebuild executables in combination with the inability to completely handle cases where an exception handler is pointed outside of an image file make the SafeSEH approach less attractive. The details relating to how SafeSEH works are beyond the scope of this article, but more information can be found on MSDN[2].&lt;/P&gt;
&lt;P&gt;The second approach involves adding dynamic checks to the exception dispatcher that do not rely on having metadata derived from a binary. This is the approach taken by SEHOP. At a high-level, SEHOP prevents attackers from being able to use the SEH overwrite technique by verifying that a thread’s exception handler list is intact before allowing any of the registered exception handlers to be called. This mitigation technique is made possible because of an implicit side effect of an SEH overwrite. When the majority of stack-based buffer overflows occur, an attacker will implicitly overwrite the next pointer of an exception registration record prior to overwriting the record’s exception handler function pointer. Since the next pointer is corrupted, the integrity of the exception handler chain is broken. This insight, in combination with ASLR, is what allows SEHOP to effectively mitigate SEH overwrites.&lt;/P&gt;
&lt;P&gt;From an implementation perspective, SEHOP achieves this functionality in two distinct steps. The first step involves the insertion of a symbolic exception registration record as the tail record in a thread’s exception handler list. This step occurs when a thread first begins executing in user mode. Since exception registration records are always inserted at the head of the exception handler list, the symbolic record is guaranteed to be the final exception registration record.&lt;/P&gt;
&lt;P&gt;The second step consists of walking the exception handler list at the time that an exception is being dispatched to ensure that the symbolic record can be reached and that it is valid. This step happens when the exception dispatcher is notified that an exception has occurred in user mode. If the symbolic record cannot be reached, the exception dispatcher can assume that the exception handler list is corrupt and that an SEH overwrite may have occurred. The exception dispatcher is then able to safely terminate the process. If the symbolic record is found, the exception dispatcher is able to proceed as it normally would and call each of the registered exception handlers. An illustration of this logic can be seen in the following diagram:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.technet.com/blogfiles/swi/WindowsLiveWriter/PreventingtheExploitationofStructuredExc_95E4/clip_image004_2.jpg" mce_href="http://blogs.technet.com/blogfiles/swi/WindowsLiveWriter/PreventingtheExploitationofStructuredExc_95E4/clip_image004_2.jpg"&gt;&lt;IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=224 alt=clip_image004 src="http://blogs.technet.com/blogfiles/swi/WindowsLiveWriter/PreventingtheExploitationofStructuredExc_95E4/clip_image004_thumb.jpg" width=572 border=0 mce_src="http://blogs.technet.com/blogfiles/swi/WindowsLiveWriter/PreventingtheExploitationofStructuredExc_95E4/clip_image004_thumb.jpg"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;H4&gt;How you can use SEHOP&lt;/H4&gt;
&lt;P&gt;SEHOP is enabled by default on Windows Server 2008 and disabled by default on Windows Vista SP1. The primary reason this feature was disabled by default on Windows Vista SP1 was due to a lack of adequate application compatibility data. &lt;A href="http://support.microsoft.com/kb/956607" target=_blank mce_href="http://support.microsoft.com/kb/956607"&gt;KB article 956607&lt;/A&gt; documents how SEHOP can be enabled or disabled on a system-wide basis[3].&lt;/P&gt;
&lt;H4&gt;Wrapping up&lt;/H4&gt;
&lt;P&gt;We are continuing to investigate new and enhanced exploit mitigation techniques and feel that SEHOP is a valuable addition that can help protect users. We encourage users to enable this feature if it is not enabled by default in order to better protect themselves against the SEH overwrite exploitation technique. For more information about the origins of SEH overwrites and SEHOP, it may be helpful to refer to the cited work[1,5].&lt;/P&gt;
&lt;P&gt;Matt Miller, MSEC Security Science&lt;/P&gt;
&lt;P&gt;*Posting is provided "AS IS" with no warranties, and confers no rights.*&lt;/P&gt;
&lt;H4&gt;References&lt;/H4&gt;
&lt;P&gt;[1] Litchfield, David. Defeating the Stack Based Buffer Overflow Prevention Mechanism of Microsoft Windows 2003 Server. Sep, 2003. &lt;A href="http://www.ngssoftware.com/papers/defeating-w2k3-stack-protection.pdf" mce_href="http://www.ngssoftware.com/papers/defeating-w2k3-stack-protection.pdf"&gt;http://www.ngssoftware.com/papers/defeating-w2k3-stack-protection.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;[2] Microsoft Corporation. /SAFESEH (Image has Safe Exception Handlers). &lt;A href="http://msdn.microsoft.com/en-us/library/9a89h429(VS.80).aspx" mce_href="http://msdn.microsoft.com/en-us/library/9a89h429(VS.80).aspx"&gt;http://msdn.microsoft.com/en-us/library/9a89h429(VS.80).aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;[3] Microsoft Corporation. SEHOP. &lt;A href="http://support.microsoft.com/kb/956607" mce_href="http://support.microsoft.com/kb/956607"&gt;http://support.microsoft.com/kb/956607&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;[4] Microsoft Corporation. Microsoft Security Intelligence Report volume 5. Nov, 2008. &lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyId=B2984562-47A2-48FF-890C-EDBEB8A0764C&amp;amp;displaylang=en" mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyId=B2984562-47A2-48FF-890C-EDBEB8A0764C&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyId=B2984562-47A2-48FF-890C-EDBEB8A0764C&amp;amp;displaylang=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;[5] skape. Preventing the Exploitation of SEH Overwrites. Sep, 2006. &lt;A href="http://uninformed.org/?v=5&amp;amp;a=2&amp;amp;t=sumry" mce_href="http://uninformed.org/?v=5&amp;amp;a=2&amp;amp;t=sumry"&gt;http://uninformed.org/?v=5&amp;amp;a=2&amp;amp;t=sumry&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3192139" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/swi/archive/tags/exploitation/default.aspx">exploitation</category><category domain="http://blogs.technet.com/swi/archive/tags/Mitigations/default.aspx">Mitigations</category><category domain="http://blogs.technet.com/swi/archive/tags/Security+Science/default.aspx">Security Science</category></item><item><title>Expanding Horizons</title><link>http://blogs.technet.com/swi/archive/2009/02/02/expanding-horizons.aspx</link><pubDate>Mon, 02 Feb 2009 22:51:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3196098</guid><dc:creator>swiblog</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/swi/comments/3196098.aspx</comments><wfw:commentRss>http://blogs.technet.com/swi/commentrss.aspx?PostID=3196098</wfw:commentRss><description>&lt;P&gt;The original Security Vulnerability Research &amp;amp; Defense (SVRD) blog was launched in 2007, with the intent of providing more information about vulnerabilities in Microsoft software, mitigations and workarounds and active attacks.&lt;/P&gt;
&lt;P&gt;The blog is now expanding its focus a bit (and changing its name slightly), to include postings contributed by the Microsoft Security Engineering Center (MSEC) Security Science team. This team develops more effective and scalable ways to find vulnerabilities, researches and applies innovative exploit mitigation techniques to Microsoft products, and focuses on tracking and providing early warning of new exploits.&lt;/P&gt;
&lt;P&gt;In the blog, you’ll still find all the juicy spill-over technical stuff from the MSRC bulletins:&lt;B&gt; &lt;/B&gt;information that’s discovered during Microsoft’s technical investigation of security issues that the team feels will help customers protect themselves. With this change, you’ll also now hear about new security defenses and other applied research that the Security Science team is working on.&lt;/P&gt;
&lt;P&gt;Generally the Security Science team’s postings will happen once per month, outside of the Security Update Tuesday cycle. Our hope is that this change will give customers an even better view of our efforts to harden future products and at the same time continue to provide helpful and timely information on vulnerabilities and threats.&lt;/P&gt;
&lt;P&gt;Matt Thomlinson, Sr. Director of Security Engineering, TWC Security&lt;/P&gt;
&lt;P&gt;*Posting is provided "AS IS" with no warranties, and confers no rights.*&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3196098" width="1" height="1"&gt;</description></item><item><title>XSS Filter Improvements in IE8 RC1</title><link>http://blogs.technet.com/swi/archive/2009/01/30/xss-filter-improvements-in-ie8-rc1.aspx</link><pubDate>Fri, 30 Jan 2009 20:44:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3195005</guid><dc:creator>swiblog</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/swi/comments/3195005.aspx</comments><wfw:commentRss>http://blogs.technet.com/swi/commentrss.aspx?PostID=3195005</wfw:commentRss><description>&lt;P&gt;On Monday&lt;A href="http://blogs.msdn.com/ie/archive/2009/01/26/internet-explorer-8-release-candidate-now-available.aspx" mce_href="http://blogs.msdn.com/ie/archive/2009/01/26/internet-explorer-8-release-candidate-now-available.aspx"&gt; IE8 RC1 was released&lt;/A&gt;. Here are some of the most interesting improvements and bug fixes to the XSS Filter feature:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;B&gt;Some byte sequences enabled the filter to be bypassed, depending on system locale&lt;/B&gt; 
&lt;P&gt;URLs containing certain byte sequences bypassed the Beta 2 filter implementation in some locales. For example, with a Chinese locale system, URLs of the following format would bypass the filter:&lt;/P&gt;
&lt;P&gt;http://www.fabrikam.com?x=%A0&amp;lt;script&amp;gt;alert();&amp;lt;/script&amp;gt;&lt;/P&gt;
&lt;P&gt;The filter decodes the URLEncoding prior to passing the URL through our regular expression engine. The presence of a raw 0xA0 byte followed by a 0x3C byte (“&amp;lt;”) can cause &lt;A href="http://msdn.microsoft.com/en-us/library/ms776413(VS.85).aspx" mce_href="http://msdn.microsoft.com/en-us/library/ms776413(VS.85).aspx"&gt;MultiByteToWideChar&lt;/A&gt; to fail. This is because with Chinese and other locales, 0XA0 0x3C is not a valid multi-byte character. In this circumstance, the failure cascades so that the regular expression matching would fail to be case-insensitive. But even worse, at a later point in the regular expression code, the 0xA0 0x3C sequence would be interpreted as a single multi-byte character. Thus the &amp;lt; character would essentially be missing from input and the appropriate heuristic would not detect XSS.&lt;/P&gt;
&lt;P&gt;The IE8 RC1 fix enables the regular expression code to treat all input as a stream of individual bytes, not characters in the default codepage (which could be multi-byte).&lt;/P&gt;
&lt;P&gt;Yosuke Hasegawa and 80sec both discovered this bug in the IE8 Beta 2 release.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;B&gt;NULLs in HTTP responses caused filtering to drop chunks of HTTP response data&lt;/B&gt; 
&lt;P&gt;The relevant buffer class was rev’d in the code to fix this.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;B&gt;Added protection against attack scenarios involving PHP stripslashes &lt;/B&gt;
&lt;P&gt;The &lt;A href="http://us2.php.net/stripslashes" mce_href="http://us2.php.net/stripslashes"&gt;stripslashes&lt;/A&gt; function in PHP removes backslashes from input. (It also replaces double-backslashes with a single backslash.) It’s common for PHP developers to call stripslashes before outputting a string. In these cases if the output enables a server-side XSS bug, that bug can still be abused despite the IE8 XSS Filter.&lt;/P&gt;
&lt;P&gt;This is an example of a platform-specific artifact as discussed in the &lt;A href="http://blogs.technet.com/swi/archive/2008/08/19/ie-8-xss-filter-architecture-implementation.aspx" mce_href="http://blogs.technet.com/swi/archive/2008/08/19/ie-8-xss-filter-architecture-implementation.aspx"&gt;XSS Filter Architectural Overview&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;&lt;I&gt;The decoding process briefly mentioned above is flexible and can also account for artifacts of various web platforms. As necessary, the filter generates additional signatures (see below) based on alternate interpretations of the same input data. So for example, because malformed &lt;A href="http://en.wikipedia.org/wiki/Percent-encoding" mce_href="http://en.wikipedia.org/wiki/Percent-encoding"&gt;URLEncoded&lt;/A&gt; characters may be handled differently for different web platforms, the filter must be capable of building proper signatures regardless.&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;This describes the new behavior well – the filter now generates additional signatures as necessary for an alternate interpretation of the input. These new signatures are designed to compensate for the behavior of the PHP stripslashes feature.&lt;/P&gt;
&lt;P&gt;It does appear that the PHP “magic quotes” feature is now &lt;A href="http://us2.php.net/magic_quotes" mce_href="http://us2.php.net/magic_quotes"&gt;deprecated&lt;/A&gt;. If the use of stripslashes in PHP code is due to the magic quotes feature then it should be expected that stripslashes usage will decline on the web. Regardless, we made the call that this issue still seems to be pervasive enough, at least today, to be worth mitigating in IE8 RC1.&lt;/P&gt;
&lt;P&gt;Ronald van den Heetkamp identified this issue.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;B&gt;Added protection against attack scenarios involving servers that still support &lt;A href="http://blogs.msdn.com/michael_howard/archive/2008/08/22/overlong-utf-8-escapes-bite.aspx" mce_href="http://blogs.msdn.com/michael_howard/archive/2008/08/22/overlong-utf-8-escapes-bite.aspx"&gt;overlong UTF-8&lt;/A&gt; &lt;/B&gt;
&lt;P&gt;Similar to the PHP Stripslashes change described above, we now generate and process additional signatures if overlong UTF-8 sequences are identified on input.&lt;/P&gt;
&lt;P&gt;While overlong UTF-8 appears to be specifically banned in &lt;A href="http://tools.ietf.org/html/rfc3629" mce_href="http://tools.ietf.org/html/rfc3629"&gt;RFC 3629&lt;/A&gt;, it still unfortunately seems to be common enough on web server platforms that it makes sense for us to address this attack vector in our code.&lt;/P&gt;
&lt;P&gt;Amit Klein provided feedback which helped identify this issue.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;B&gt;Added protection against attack scenarios involving injection of FORM and ISINDEX elements &lt;/B&gt;
&lt;P&gt;Though in general we do not block generic HTML injection, we make an exception for these two elements as they enable attack scenarios similar to those involving injection of script.&lt;/P&gt;
&lt;P&gt;Gareth Heyes identified the ISINDEX element.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;B&gt;OBJECT tag’s CODETYPE attribute is now treated equally to the TYPE attribute &lt;/B&gt;
&lt;P&gt;The OBJECT tag’s CODETYPE attribute provides the same functionality as the TYPE attribute. In IE8 RC1 both attributes are considered equal.&lt;/P&gt;
&lt;P&gt;Gareth Heyes identified this issue.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;B&gt;General performance improvements &lt;/B&gt;
&lt;P&gt;Ex: Pre-validation to avoid the performance hit of a regular expression in some cases.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;I want to especially thank Dany Joly on the IE team for the extraordinary work he’s done perfecting the XSS Filter implementation in IE8.&lt;/P&gt;
&lt;P&gt;Onward to RTM!&lt;/P&gt;
&lt;P&gt;David Ross, MSRC Engineering - working on a Security Science project&lt;/P&gt;
&lt;P&gt;*Posting is provided "AS IS" with no warranties, and confers no rights.*&lt;/P&gt;
&lt;P&gt;Update - 2/11/09: Change to blog signature&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3195005" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/swi/archive/tags/IE/default.aspx">IE</category><category domain="http://blogs.technet.com/swi/archive/tags/Internet+Explorer/default.aspx">Internet Explorer</category><category domain="http://blogs.technet.com/swi/archive/tags/Security+Science/default.aspx">Security Science</category><category domain="http://blogs.technet.com/swi/archive/tags/XSS/default.aspx">XSS</category><category domain="http://blogs.technet.com/swi/archive/tags/XSS+Filter/default.aspx">XSS Filter</category></item><item><title>Stack overflow (stack exhaustion) not the same as stack buffer overflow</title><link>http://blogs.technet.com/swi/archive/2009/01/28/stack-overflow-stack-exhaustion-not-the-same-as-stack-buffer-overflow.aspx</link><pubDate>Wed, 28 Jan 2009 23:20:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3194022</guid><dc:creator>swiblog</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/swi/comments/3194022.aspx</comments><wfw:commentRss>http://blogs.technet.com/swi/commentrss.aspx?PostID=3194022</wfw:commentRss><description>&lt;P&gt;Periodically we get reports into the MSRC of stack exhaustion in client-side applications such as Internet Explorer, Word, etc. These are valid stability bugs that, fortunately, do not lead to an exploitable condition by itself (no potential for elevation of privilege). We wanted to clarify the distinction between stack exhaustion and stack buffer overflow. Stack buffer overflows often lead to elevation of privilege. Unfortunately, the literature tends to use stack overflow to refer to both cases, hence the confusion. The error code STATUS_STACK_BUFFER_OVERRUN (0xc0000409) refers to a stack buffer overflow while the error code STATUS_STACK_OVERFLOW (0xc00000fd) refers to stack exhaustion.&lt;/P&gt;
&lt;P&gt;On Bugtraq this morning, there was a public post of a stack exhaustion bug that, fortunately, does not lead to arbitrary code execution. Let's take a closer look at it and a few other examples. We'll start with today's Bugtraq posting:&lt;/P&gt;&lt;PRE&gt;&amp;lt;INPUT type="text" name="A" value="CCCCCCCCCCCCCCCCCCCC(many thousands)”&amp;gt;&lt;/PRE&gt;
&lt;P&gt;When IE attempts to parse this HTML, it runs out of stack space. Hooking up Windbg, you will observe the following first-chance exception:&lt;/P&gt;&lt;PRE&gt;(f9c.5b8): Stack overflow - code c00000fd (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
eax=00000000 ebx=0337304c ecx=09410040 edx=0007c3c0 esi=00000000 edi=0346b800
eip=77f66627 esp=03373000 ebp=03373000 iopl=0         nv up ei pl nz na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010206
77f66627 56              push    esi
&lt;/PRE&gt;
&lt;P&gt;The stack is simply exhausted and there is no possibility of running arbitrary code in this case. Let’s look at a few others.&lt;/P&gt;
&lt;P&gt;The next issue was also reported in IE recently:&lt;/P&gt;&lt;PRE&gt;&amp;lt;SCRIPT&amp;gt; 
foo = new Array();
while(true) {foo = new Array(foo).sort();}
&amp;lt;/SCRIPT&amp;gt; 
&lt;/PRE&gt;
&lt;P&gt;Again, the HTML has requested an extra-ordinary amount of stack space. IE attempts to allocate space and it eventually runs out. Unable to process the HTML, it returns a stack overflow / exhaustion error (0xc00000fd).&lt;/P&gt;
&lt;P&gt;One last example is from April 2008 and, again, it leads to a stack overflow/exhaustion error (0xc00000fd):&lt;/P&gt;&lt;PRE&gt;var str = "aaaaaaaaaaaaaaa(many thousands)”
document.myform.text.value = str
document.myform.submit()

&amp;lt;form name='myform'&amp;gt;
&amp;lt;input name='text' type='text' /&amp;gt;
&amp;lt;input name='Submit' type='submit' /&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/PRE&gt;
&lt;P&gt;As you can see, there are several ways of reaching a stack exhaustion condition. Fortunately, these are stability issues that by themselves cannot lead to remote code execution. This happens when a parsing client-side application cannot allocate enough stack space to complete an operation (as shown in the examples here where a web page was attempting to allocate as much stack as possible and eventually runs out of space). &lt;/P&gt;
&lt;P&gt;We are always happy to triage bugs sent to secure@microsoft.com. Please send them in to us. We are definitely committed to engineering and security excellence. We evaluate every report and determine whether to service them as security issues or whether to hand them off to the product team to fix as reliability and stability issues. For each security issues, we will triage against the SDL bug bar (&lt;A href="http://msdn.microsoft.com/en-us/library/cc307404.aspx" mce_href="http://msdn.microsoft.com/en-us/library/cc307404.aspx"&gt;link to sample bug bar&lt;/A&gt;)&amp;nbsp;and address via the MSRC security bulletin process. All issues (such as these stack exhaustion bugs) that are stability or reliability issues are triaged according to customer impact and addressed in future releases of the product.&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Update Jan 29: &lt;/B&gt;Thanks to Mark Dowd for pointing out that stack exhaustion bugs might have a security impact if combined with a buffer overrun bug. You can read more about his research at &lt;A href="https://www.blackhat.com/presentations/bh-usa-07/Dowd_McDonald_and_Mehta/Whitepaper/bh-usa-07-dowd_mcdonald_and_mehta.pdf" mce_href="https://www.blackhat.com/presentations/bh-usa-07/Dowd_McDonald_and_Mehta/Whitepaper/bh-usa-07-dowd_mcdonald_and_mehta.pdf"&gt;https://www.blackhat.com/presentations/bh-usa-07/Dowd_McDonald_and_Mehta/Whitepaper/bh-usa-07-dowd_mcdonald_and_mehta.pdf&lt;/A&gt; 
&lt;P&gt;- Jonathan Ness, SVRD blogger&lt;/P&gt;
&lt;P&gt;*Posting is provided "AS IS" with no warranties, and confers no rights.*&lt;/P&gt;
&lt;P&gt;References:&lt;BR&gt;&lt;BR&gt;STATUS_STACK_OVERFLOW (0xc00000fd ):&lt;BR&gt;
&lt;UL&gt;
&lt;LI&gt;Debugging a Stack Overflow &lt;A href="http://msdn.microsoft.com/en-us/library/cc267849.aspx" mce_href="http://msdn.microsoft.com/en-us/library/cc267849.aspx"&gt;http://msdn.microsoft.com/en-us/library/cc267849.aspx&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;StackOverflowException Class &lt;A href="http://msdn.microsoft.com/en-us/library/system.stackoverflowexception(VS.71).aspx" mce_href="http://msdn.microsoft.com/en-us/library/system.stackoverflowexception(VS.71).aspx"&gt;http://msdn.microsoft.com/en-us/library/system.stackoverflowexception(VS.71).aspx&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;BR&gt;STATUS_STACK_BUFFER_OVERRUN (0xc0000409):&lt;BR&gt;
&lt;UL&gt;
&lt;LI&gt;Analyze Crashes to Find Security Vulnerabilities in Your Apps &lt;A href="http://msdn.microsoft.com/en-us/magazine/cc163311.aspx" mce_href="http://msdn.microsoft.com/en-us/magazine/cc163311.aspx"&gt;http://msdn.microsoft.com/en-us/magazine/cc163311.aspx&lt;/A&gt; &lt;/LI&gt;&lt;/UL&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3194022" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/swi/archive/tags/exploitability/default.aspx">exploitability</category><category domain="http://blogs.technet.com/swi/archive/tags/full-disclosure/default.aspx">full-disclosure</category><category domain="http://blogs.technet.com/swi/archive/tags/IE/default.aspx">IE</category><category domain="http://blogs.technet.com/swi/archive/tags/Internet+Explorer/default.aspx">Internet Explorer</category></item><item><title>MS09-001: Prioritizing the deployment of the SMB bulletin</title><link>http://blogs.technet.com/swi/archive/2009/01/09/ms09-001-prioritizing-the-deployment-of-the-smb-bulletin.aspx</link><pubDate>Fri, 09 Jan 2009 20:24:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3179235</guid><dc:creator>swiblog</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/swi/comments/3179235.aspx</comments><wfw:commentRss>http://blogs.technet.com/swi/commentrss.aspx?PostID=3179235</wfw:commentRss><description>&lt;P&gt;This month we released &lt;A href="http://www.microsoft.com/technet/security/Bulletin/MS09-001.mspx" mce_href="http://www.microsoft.com/technet/security/Bulletin/MS09-001.mspx"&gt;an update&lt;/A&gt; for SMB that addresses three vulnerabilities. This blog post provides additional information that might help prioritize the deployment of this update, and help explain the risk for code execution. &lt;/P&gt;
&lt;P&gt;In the &lt;A href="http://www.microsoft.com/technet/security/Bulletin/MS09-001.mspx" mce_href="http://www.microsoft.com/technet/security/Bulletin/MS09-001.mspx"&gt;bulletin&lt;/A&gt; you will see that the cumulative severity rating is Critical for Windows 2000, XP and Server 2003 systems, while Vista and Server 2008 have cumulative severity ratings of Moderate.&lt;/P&gt;
&lt;P&gt;Two of the three vulnerabilities pose the risk for Remote Code Execution&amp;nbsp;(CVE-2008-4834 and CVE-2008-4835), and hence these are rated Critical. However, Vista and Server 2008 systems are not vulnerable to the first of these vulnerabilities, and the second vulnerability does not affect systems using default settings. As a result, we rated Vista and Server 2008 as Moderate for CVE-2008-4835. CVE-2008-4114 affects all Windows platforms and results in a system DoS without any risk of RCE, and hence is rated Moderate. The table below summarizes the exposure for each version of Windows.&lt;/P&gt;
&lt;TABLE border=1&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;&lt;B&gt;
&lt;CENTER&gt;Exposure&lt;/CENTER&gt;&lt;/B&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;B&gt;Windows 2000&lt;/B&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;CENTER&gt;RCE&lt;/CENTER&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;B&gt;Windows XP&lt;/B&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;CENTER&gt;RCE&lt;/CENTER&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;B&gt;Windows Server 2003&lt;/B&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;CENTER&gt;RCE&lt;/CENTER&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;B&gt;Windows Vista&lt;/B&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;CENTER&gt;DoS&lt;/CENTER&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;B&gt;Windows Server 2008&lt;/B&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;CENTER&gt;DoS&lt;/CENTER&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;P&gt;For all affected versions of Windows, the two RCE vulnerabilities are unlikely to result in functioning exploit code as stated in the exploitability index (&lt;A href="http://technet.microsoft.com/en-us/security/cc998259.aspx" mce_href="http://technet.microsoft.com/en-us/security/cc998259.aspx"&gt;http://technet.microsoft.com/en-us/security/cc998259.aspx&lt;/A&gt;). There are a few reasons for this:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The vulnerabilities cause a fixed value (zero) to be written to kernel memory – not data that the attacker controls.&lt;/LI&gt;
&lt;LI&gt;Controlling what data is overwritten is difficult. To exploit this type of kernel buffer overrun, an attacker typically needs to be able to predict the layout and contents of memory. The memory layout of the targeted machine will depend on various factors such as the physical characteristics (RAM, CPUs) of the system, system load, other SMB requests it is processing, etc.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;In terms of prioritizing the deployment of this update, we recommend updating SMB servers and Domain Controllers immediately since a system DoS would have a high impact. Other configurations should be assessed based on the role of the machine. For example, non-critical workstations could be considered lower priority assuming a system DoS is an acceptable risk. Systems with SMB blocked at the host firewall could also be updated more slowly.&lt;/P&gt;
&lt;P&gt;- Mark Wodrich, SVRD Blogger&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Posting is provided "AS IS" with no warranties, and confers no rights.&lt;/B&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3179235" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/swi/archive/tags/exploitability/default.aspx">exploitability</category><category domain="http://blogs.technet.com/swi/archive/tags/kernel/default.aspx">kernel</category><category domain="http://blogs.technet.com/swi/archive/tags/rating/default.aspx">rating</category><category domain="http://blogs.technet.com/swi/archive/tags/SMB/default.aspx">SMB</category></item><item><title>Information regarding MD5 collisions problem</title><link>http://blogs.technet.com/swi/archive/2008/12/30/information-regarding-md5-collisions-problem.aspx</link><pubDate>Tue, 30 Dec 2008 18:36:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3174818</guid><dc:creator>swiblog</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/swi/comments/3174818.aspx</comments><wfw:commentRss>http://blogs.technet.com/swi/commentrss.aspx?PostID=3174818</wfw:commentRss><description>&lt;P&gt;Today Microsoft released a &lt;A href="http://www.microsoft.com/technet/security/advisory/961509.mspx" target=_blank mce_href="http://www.microsoft.com/technet/security/advisory/961509.mspx"&gt;security advisory (961509&lt;/A&gt;) regarding collisions in MD5 hashes on certificates. This specific problem affects the entire industry and is not a Microsoft specific vulnerability. Serious weaknesses in MD5 have been known for many years now; it is because of these weaknesses that MD5 is banned in new code under the Microsoft Security Development Lifecycle (SDL). Software developers are urged to migrate away from using MD4, MD5 and even SHA1 and use SHA-256 and later instead for hashing, signatures and message authentication codes (see slide 22 for more information &lt;A href="http://download.microsoft.com/download/8/4/7/8471a3cb-e4bf-442a-bba4-c0c907d598c5/Michael%20Howard%20SDL%20Development%20Practices.ppsx" mce_href="http://download.microsoft.com/download/8/4/7/8471a3cb-e4bf-442a-bba4-c0c907d598c5/Michael%20Howard%20SDL%20Development%20Practices.ppsx"&gt;http://download.microsoft.com/download/8/4/7/8471a3cb-e4bf-442a-bba4-c0c907d598c5/Michael%20Howard%20SDL%20Development%20Practices.ppsx&lt;/A&gt;) &lt;/P&gt;
&lt;P&gt;The most common type of certificates that Certificate Authorities (CAs) will issue are for three main purposes:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Secure Socket Layer (SSL) or Transport Layer Security (TLS)&lt;/LI&gt;
&lt;LI&gt;Secure E-mail (such as S/MIME)&lt;/LI&gt;
&lt;LI&gt;Code signing (such as Authenticode)&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;In this context, we believe that the most likely attack scenario will through SSL/TLS (though we have not seen any attacks at this time.) Thus, common web browsers are similarly exposed to this problem since HTTPS uses SSL/TLS to establish the secure connection.&lt;/P&gt;
&lt;P&gt;Thus the purpose of this blog post is to explain this problem in more detail as well as highlight mitigations and workarounds when using Internet Explorer.&lt;/P&gt;
&lt;P&gt;Lastly, we should note that certificates hashed with SHA1 are not affected by this problem.&lt;/P&gt;
&lt;P&gt;&lt;U&gt;Summary of the problem&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;An MD5 hash collision allows a malicious user to potentially generate a rogue certificate derived from a valid one. This user can then impersonate a valid site or person since both certificates look legitimate because the certificate hashes are the same. An attacker will have to lure a user to initiate an SSL/TLS connection, then the certificate will be validated by the client and it will seem valid. Thus, the user will think that it is establishing a safe connection with site or person when in fact it is connecting with the attacker.&lt;/P&gt;
&lt;P&gt;Although any certificate hashed with MD5 and then signed can potentially be manipulated we have not seen any active attacks.&lt;/P&gt;
&lt;P&gt;&lt;B&gt;&lt;U&gt;Mitigations &amp;amp; Workarounds&lt;/U&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;Green filled address bar (IE7 &amp;amp; IE8) &lt;/U&gt;&lt;/P&gt;
&lt;P&gt;Extended Validation certificates (&lt;A href="http://www.cabforum.org/EV_Certificate_Guidelines.pdf" mce_href="http://www.cabforum.org/EV_Certificate_Guidelines.pdf"&gt;http://www.cabforum.org/EV_Certificate_Guidelines.pdf&lt;/A&gt;) are required to use SHA1 (instead of MD5) Thus, these certificates are not affected by this problem. Internet Explorer 7 and later take advantage of EV certificates by highlighting the address bar in green. See &lt;A href="http://blogs.msdn.com/ie/archive/2006/11/07/improving-ssl-extended-validation-ev-ssl-certificates-coming-in-january.aspx" mce_href="http://blogs.msdn.com/ie/archive/2006/11/07/improving-ssl-extended-validation-ev-ssl-certificates-coming-in-january.aspx"&gt;http://blogs.msdn.com/ie/archive/2006/11/07/improving-ssl-extended-validation-ev-ssl-certificates-coming-in-january.aspx&lt;/A&gt; for more information. Below is such an example:&lt;A href="http://blogs.technet.com/blogfiles/swi/WindowsLiveWriter/InformationregardingMD5collisionsproblem_930D/image_2.png" mce_href="http://blogs.technet.com/blogfiles/swi/WindowsLiveWriter/InformationregardingMD5collisionsproblem_930D/image_2.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-TOP: 0px; BORDER-RIGHT: 0px" border=0 alt=image src="http://blogs.technet.com/blogfiles/swi/WindowsLiveWriter/InformationregardingMD5collisionsproblem_930D/image_thumb.png" width=503 height=88 mce_src="http://blogs.technet.com/blogfiles/swi/WindowsLiveWriter/InformationregardingMD5collisionsproblem_930D/image_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;In short, if Internet Explorer 7 address bar is highlighted in green then there is no risk against this attack.&lt;/P&gt;
&lt;P&gt;&lt;U&gt;Certificate revocation in IE7 &amp;amp; IE8 &amp;amp; OCSP configuration&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;Certificate revocation allows a Certificate Authority to revoke a specific certificate, after which it is no longer accepted as valid by the user’s browser. While it does not fully help prevent the attack, it improves the ability a certificate authority has to respond to them by allowing them to disable fraudulent certificates.&lt;/P&gt;
&lt;P&gt;Certificate revocation is enabled by default for Internet Explorer 7 and later (running on Vista &amp;amp; above) since Online Certificate Status Protocol (OCSP) is used to confirm whether a certificate is valid or not. Thus, in the event that a malicious certificate is being actively used then a Certificate Authority can revoke it and Internet Explorer will automatically block the web-site visited. &lt;/P&gt;
&lt;P&gt;Below are the steps needed to configure an OCSP.&lt;/P&gt;
&lt;P&gt;&lt;I&gt;Steps to Configure Custom OCSP Responder Location Locally on Vista SP1 and Windows Server 2008:&lt;/I&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Start the Certificates MMC snap-in&lt;/LI&gt;
&lt;OL&gt;
&lt;LI&gt;Click on the &lt;I&gt;Start&lt;/I&gt; button and enter &lt;B&gt;mmc.exe&lt;/B&gt; into the &lt;I&gt;Start Search&lt;/I&gt; field&lt;/LI&gt;
&lt;LI&gt;From the &lt;I&gt;File&lt;/I&gt; menu, select &lt;I&gt;Add / Remove Snap-in…&lt;/I&gt;&lt;/LI&gt;
&lt;LI&gt;Select the &lt;I&gt;Certificates&lt;/I&gt; snap-in on the left and click &lt;I&gt;Add&lt;/I&gt;&lt;/LI&gt;
&lt;LI&gt;Select &lt;I&gt;Computer account, &lt;/I&gt;click&lt;I&gt; Next, &lt;/I&gt;then click&lt;I&gt; Finish &lt;/I&gt;to complete the wizard&lt;/LI&gt;
&lt;LI&gt;Click &lt;I&gt;OK&lt;/I&gt; to dismiss the dialog&lt;/LI&gt;&lt;/OL&gt;
&lt;LI&gt;Configure the snap-in to show Physical Certificate Stores&lt;/LI&gt;
&lt;OL&gt;
&lt;LI&gt;Select the &lt;I&gt;Certificates (Local Computer)&lt;/I&gt; node&lt;/LI&gt;
&lt;LI&gt;From the &lt;I&gt;View&lt;/I&gt; menu, select O&lt;I&gt;ptions…&lt;/I&gt;&lt;/LI&gt;
&lt;LI&gt;Check the&lt;I&gt; Physical certificate stores &lt;/I&gt;checkbox, then click &lt;I&gt;OK&lt;/I&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;LI&gt;Select the public commercial root CA you want to configure to use with a custom OCSP responder&lt;/LI&gt;
&lt;OL&gt;
&lt;LI&gt;Select the &lt;I&gt;Certificates (Local Computer)&lt;/I&gt; -&amp;gt; &lt;I&gt;Trusted Root Certification Authorities -&amp;gt; Third Party -&amp;gt; Certificates &lt;/I&gt;node&lt;/LI&gt;
&lt;LI&gt;Select the root CA&lt;/LI&gt;&lt;/OL&gt;
&lt;LI&gt;Move the root CA certificate to the &lt;I&gt;Registry &lt;/I&gt;node&lt;/LI&gt;
&lt;OL&gt;
&lt;LI&gt;Right-click on the root CA certificate&lt;/LI&gt;
&lt;LI&gt;Select &lt;I&gt;Cut&lt;/I&gt;&lt;/LI&gt;
&lt;LI&gt;Select the &lt;I&gt;Certificates (Local Computer)&lt;/I&gt; -&amp;gt; &lt;I&gt;Trusted Root Certification Authorities -&amp;gt; Third Party -&amp;gt; Certificates &lt;/I&gt;-&amp;gt; &lt;I&gt;Registry -&amp;gt; Certificates&lt;/I&gt; node&lt;/LI&gt;
&lt;LI&gt;From the &lt;I&gt;Action&lt;/I&gt; menu, select &lt;I&gt;Paste&lt;/I&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;LI&gt;Configure the custom OCSP responder location with the root CA certificate&lt;/LI&gt;
&lt;OL&gt;
&lt;LI&gt;Right-click on the root CA certificate&lt;/LI&gt;
&lt;LI&gt;Select &lt;I&gt;Properties&lt;/I&gt;&lt;/LI&gt;
&lt;LI&gt;Select the &lt;I&gt;OCSP&lt;/I&gt; tab&lt;/LI&gt;
&lt;LI&gt;Enter the URL to the custom OCSP responder in the edit box next to the &lt;I&gt;Add URL&lt;/I&gt; button, then click &lt;I&gt;Add URL&lt;/I&gt;&lt;/LI&gt;
&lt;LI&gt;Click &lt;I&gt;OK&lt;/I&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/OL&gt;
&lt;P&gt;&lt;I&gt;Steps to Configure Custom OCSP from Group Policy&lt;/I&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Select the Group Policy Object where certificate configuration will be stored &lt;/LI&gt;
&lt;LI&gt;From the Group Policy Editor, select the &lt;I&gt;Computer Configuration -&amp;gt; Windows Settings -&amp;gt; Security Settings -&amp;gt; Public Key Policies -&amp;gt; Trusted Root Certification Authorities &lt;/I&gt;node &lt;/LI&gt;
&lt;LI&gt;Add the Root CA certificate to Group Policy. Note: You must remove the root CA certificate from the &lt;I&gt;Third Party Certification Authorities store &lt;/I&gt;from each computer manually prior to applying this policy&lt;/LI&gt;
&lt;OL&gt;
&lt;LI&gt;Right click on the &lt;I&gt;Trusted Root Certification Authorities &lt;/I&gt;node and select &lt;I&gt;Import… &lt;/I&gt;to add the root CA certificate &lt;/LI&gt;
&lt;LI&gt;Click &lt;I&gt;Next&lt;/I&gt;&lt;/LI&gt;
&lt;LI&gt;Enter the file name of the root CA certificate, then click &lt;I&gt;Next&lt;/I&gt;&lt;/LI&gt;
&lt;LI&gt;Click &lt;I&gt;Next, &lt;/I&gt;then &lt;I&gt;Finish&lt;/I&gt; to complete the wizard &lt;/LI&gt;&lt;/OL&gt;
&lt;LI&gt;Configure the custom OCSP responder location with the root CA certificate&lt;/LI&gt;
&lt;OL&gt;
&lt;LI&gt;Right-click on the root CA certificate &lt;/LI&gt;
&lt;LI&gt;Select &lt;I&gt;Properties&lt;/I&gt;&lt;/LI&gt;
&lt;LI&gt;Select the &lt;I&gt;OCSP&lt;/I&gt; tab &lt;/LI&gt;
&lt;LI&gt;Enter the URL to the custom OCSP responder in the edit box next to the &lt;I&gt;Add URL&lt;/I&gt; button, then click &lt;I&gt;Add URL&lt;/I&gt;&lt;/LI&gt;
&lt;LI&gt;Click &lt;I&gt;OK&lt;/I&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/OL&gt;
&lt;P&gt;&lt;U&gt;Certificate revocation on IE6&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;Certificate revocation checking is disabled by default on Internet Explorer 6, as it requires the download of a Certificate Revocation List (CRL) to validate whether a certificate is still marked as valid. On low bandwidth connections, such as dial-up, this may increase latency.&lt;/P&gt;
&lt;P&gt;Certificate revocation for Internet Explorer 6 can be enabled following the below steps: &lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;On the &lt;B&gt;Tools&lt;/B&gt; menu, click &lt;B&gt;Internet Options&lt;/B&gt;, and then click the &lt;B&gt;Advanced&lt;/B&gt; tab.&lt;/LI&gt;
&lt;LI&gt;In the &lt;B&gt;Security&lt;/B&gt; area, select the &lt;B&gt;Check for publisher’s certificate revocation&lt;/B&gt; and &lt;B&gt;Check for server certificate revocation&lt;/B&gt; check box.&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;&lt;A href="http://blogs.technet.com/blogfiles/swi/WindowsLiveWriter/InformationregardingMD5collisionsproblem_930D/image_4.png" mce_href="http://blogs.technet.com/blogfiles/swi/WindowsLiveWriter/InformationregardingMD5collisionsproblem_930D/image_4.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-TOP: 0px; BORDER-RIGHT: 0px" border=0 alt=image src="http://blogs.technet.com/blogfiles/swi/WindowsLiveWriter/InformationregardingMD5collisionsproblem_930D/image_thumb_1.png" width=328 height=376 mce_src="http://blogs.technet.com/blogfiles/swi/WindowsLiveWriter/InformationregardingMD5collisionsproblem_930D/image_thumb_1.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;See below link for more information:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.microsoft.com/technet/prodtechnol/ie/reskit/6/part2/c06ie6rk.mspx?mfr=true" mce_href="http://www.microsoft.com/technet/prodtechnol/ie/reskit/6/part2/c06ie6rk.mspx?mfr=true"&gt;http://www.microsoft.com/technet/prodtechnol/ie/reskit/6/part2/c06ie6rk.mspx?mfr=true&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;Reviewing the certificate&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;Another alternative to verify whether the certificate is using MD5 is to look at the certificate details. It is important to note that the certificate itself and the entire chain&amp;nbsp; (the Certification Path), excluding the root, needs to be reviewed to assess whether a certificate hashed with MD5 has been used.&amp;nbsp;Below are the steps on how to do this in Internet Explorer 7.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Click on the lock icon in the address bar: &lt;BR&gt;&lt;A href="http://blogs.technet.com/blogfiles/swi/WindowsLiveWriter/InformationregardingMD5collisionsproblem_930D/image_8.png" mce_href="http://blogs.technet.com/blogfiles/swi/WindowsLiveWriter/InformationregardingMD5collisionsproblem_930D/image_8.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-TOP: 0px; BORDER-RIGHT: 0px" border=0 alt=image src="http://blogs.technet.com/blogfiles/swi/WindowsLiveWriter/InformationregardingMD5collisionsproblem_930D/image_thumb_3.png" width=470 height=92 mce_src="http://blogs.technet.com/blogfiles/swi/WindowsLiveWriter/InformationregardingMD5collisionsproblem_930D/image_thumb_3.png"&gt;&lt;/A&gt; &lt;/LI&gt;
&lt;LI&gt;The below window will open up: &lt;BR&gt;&lt;A href="http://blogs.technet.com/blogfiles/swi/WindowsLiveWriter/InformationregardingMD5collisionsproblem_930D/image_10.png" mce_href="http://blogs.technet.com/blogfiles/swi/WindowsLiveWriter/InformationregardingMD5collisionsproblem_930D/image_10.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-TOP: 0px; BORDER-RIGHT: 0px" border=0 alt=image src="http://blogs.technet.com/blogfiles/swi/WindowsLiveWriter/InformationregardingMD5collisionsproblem_930D/image_thumb_4.png" width=292 height=257 mce_src="http://blogs.technet.com/blogfiles/swi/WindowsLiveWriter/InformationregardingMD5collisionsproblem_930D/image_thumb_4.png"&gt;&lt;/A&gt; &lt;/LI&gt;
&lt;LI&gt;Click “View certificates”&lt;/LI&gt;
&lt;LI&gt;The below window will open up:&amp;nbsp;&lt;BR&gt;&lt;IMG style="WIDTH: 419px; HEIGHT: 520px" title=md5Rsa alt=md5Rsa src="http://blogs.technet.com/photos/swiblog/images/3175129/original.aspx" width=419 height=520 mce_src="http://blogs.technet.com/photos/swiblog/images/3175129/original.aspx"&gt;&lt;/LI&gt;
&lt;LI&gt;If the signature algorithm is SHA1 using RSA (sha1RSA) then this certificate is safe from the vulnerability described in this document, if it is MD5 (such as md5RSA) then it could potentially be compromised.&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;&lt;U&gt;Caveat&lt;/U&gt;: If the rogue certificate has misleading information about the CRL then web browsers might not be able to identify the certificate as revoked. In corporate PKI deployments, we recommend configuring a specific OCSP responder in the Windows OCSP configuration. This will allow organizations to revoke certificates that have been fraudulently signed and modified to no longer carry a correct validation location.&lt;/P&gt;
&lt;P&gt;We would like to thank the engineers who helped build the above guidance:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Eric Lawrence from the Internet Explorer team&lt;/LI&gt;
&lt;LI&gt;Kelvin Yiu and Tom Albertson from the Windows Cryptography team&lt;/LI&gt;
&lt;LI&gt;Maarten Van Horenbeeck from the Microsoft Security Response Center team&lt;/LI&gt;
&lt;LI&gt;Michael Howard from the Security Development Lifecycle team&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Finally, the link to the Microsoft Security Response Center (MSRC) blog, which discusses this advisory is: &lt;A href="http://blogs.technet.com/msrc/archive/2008/12/30/information-on-microsoft-security-advisory-961509.aspx" mce_href="http://blogs.technet.com/msrc/archive/2008/12/30/information-on-microsoft-security-advisory-961509.aspx"&gt;http://blogs.technet.com/msrc/archive/2008/12/30/information-on-microsoft-security-advisory-961509.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Update 12/31/08&lt;/STRONG&gt;: "Reviewing the certificate" section updated in resposne to e-mail to switech AT microsoft.com.&lt;/P&gt;
&lt;P&gt;Damian Hasse, MSRC Engineering Blogger&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Posting is provided "AS IS" with no warranties, and confers no rights.&lt;/B&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3174818" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/swi/archive/tags/MD5+hash+collisions/default.aspx">MD5 hash collisions</category></item><item><title>Windows Media Player crash not exploitable for code execution</title><link>http://blogs.technet.com/swi/archive/2008/12/29/windows-media-player-crash-not-exploitable-for-code-execution.aspx</link><pubDate>Mon, 29 Dec 2008 20:40:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3174489</guid><dc:creator>swiblog</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/swi/comments/3174489.aspx</comments><wfw:commentRss>http://blogs.technet.com/swi/commentrss.aspx?PostID=3174489</wfw:commentRss><description>&lt;P&gt;On Christmas Day, the MSRC opened a case tracking a Bugtraq-posted POC describing a “malformed WAV,SND,MID file which can lead to a remote integer overflow”. By Saturday evening, we saw reputable internet sources claiming this bug could lead to executing arbitrary code on the system.&lt;/P&gt;
&lt;P&gt;We investigated right away and found that this bug cannot be leveraged for arbitrary code execution.&lt;/P&gt;
&lt;P&gt;Let’s take a closer look to understand why.&lt;/P&gt;
&lt;P&gt;The POC is a MIDI file handled by quartz.dll, a core component of the DirectShow framework. We have blogged previously about this component &lt;A href="http://blogs.technet.com/swi/archive/2008/06/10/ms08-033-so-what-breaks-when-you-acl-quartz-dll.aspx" mce_href="http://blogs.technet.com/swi/archive/2008/06/10/ms08-033-so-what-breaks-when-you-acl-quartz-dll.aspx"&gt;here&lt;/A&gt;. WAV,SND, and MID file extensions are all handled by quartz.dll which explains the finder’s statement about the exception being hit when parsing any of those 3 file types.&lt;/P&gt;
&lt;P&gt;This particular crash is an unhandled CPU exception when executing a div instruction. When the processor executes a “div reg” instruction, it does this:&lt;/P&gt;&lt;PRE&gt;EAX = (EDX:EAX)/reg
&lt;/PRE&gt;
&lt;P&gt;If the result cannot fit on a 32 bit register it generates a CPU exception. This one is not handled by quartz.dll. There is no memory corruption here and the value does not appear to be used for any memory allocation. Rather, the operation is calculating a value related to the rate at which the media is to be played.&lt;/P&gt;
&lt;P&gt;We found this already through our internal fuzzing efforts. It was correctly triaged at the time as a reliability issue with no security risk to customers.&amp;nbsp; We do like to get these reliability issues fixed in a future service pack or a future version of the platform whenever possible.&amp;nbsp; This particular bug, for example,&amp;nbsp;has already been fixed in Windows Server 2003 Service Pack 2.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Christopher Budd has also posted to the &lt;A href="http://blogs.technet.com/msrc/archive/2008/12/29/questions-about-vulnerability-claim-in-windows-media-player.aspx" mce_href="http://blogs.technet.com/msrc/archive/2008/12/29/questions-about-vulnerability-claim-in-windows-media-player.aspx"&gt;MSRC blog&lt;/A&gt; about this issue.&lt;/P&gt;
&lt;P&gt;Jonathan Ness and Fermin J. Serna, SVRD Bloggers&lt;/P&gt;
&lt;P&gt;*Posting is provided "AS IS" with no warranties, and confers no rights.*&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3174489" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/swi/archive/tags/exploitability/default.aspx">exploitability</category><category domain="http://blogs.technet.com/swi/archive/tags/quartz.dll/default.aspx">quartz.dll</category></item><item><title>More information about the SQL stored procedure vulnerability</title><link>http://blogs.technet.com/swi/archive/2008/12/22/more-information-about-the-sql-stored-procedure-vulnerability.aspx</link><pubDate>Mon, 22 Dec 2008 18:13:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3172306</guid><dc:creator>swiblog</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/swi/comments/3172306.aspx</comments><wfw:commentRss>http://blogs.technet.com/swi/commentrss.aspx?PostID=3172306</wfw:commentRss><description>&lt;P&gt;&lt;A href="http://www.microsoft.com/technet/security/advisory/961040.mspx" mce_href="http://www.microsoft.com/technet/security/advisory/961040.mspx"&gt;Security Advisory 961040&lt;/A&gt; provides mitigations and workarounds for a newly-public post-authentication heap buffer overrun in SQL Server, MSDE, and SQL Express. This blog post goes into more detail about the attack surface for each affected version and the overall risk from this vulnerability.&lt;/P&gt;
&lt;P&gt;As listed in the advisory, the following products have the vulnerable code:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;SQL Server 2000&lt;/LI&gt;
&lt;LI&gt;SQL Server 2005 SP2&lt;/LI&gt;
&lt;LI&gt;MSDE 2000 (Microsoft SQL Server 2000 Desktop Edition)&lt;/LI&gt;
&lt;LI&gt;SQL Server 2005 Express Edition&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Let’s look at the attack surface for this vulnerability for each platform:&lt;/P&gt;
&lt;TABLE border=1&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;B&gt;Product&lt;/B&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;CENTER&gt;&lt;B&gt;Requires Auth?&lt;/B&gt;&lt;/CENTER&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;CENTER&gt;&lt;B&gt;Listens on network? (default)&lt;/B&gt;&lt;/CENTER&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;CENTER&gt;&lt;B&gt;Runs as (default)&lt;/B&gt;&lt;/CENTER&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;CENTER&gt;&lt;B&gt;Result of successful exploitation&lt;/B&gt;&lt;/CENTER&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;SQL Server 2000&lt;/TD&gt;
&lt;TD&gt;
&lt;CENTER&gt;Yes&lt;/CENTER&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;CENTER&gt;Yes&lt;/CENTER&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;CENTER&gt;SYSTEM&lt;/CENTER&gt;&lt;/TD&gt;
&lt;TD&gt;Any user who can connect to and authenticate to the SQL Server can run code as SYSTEM.&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;SQL Server 2005 SP2 (SP3 is not affected)&lt;/TD&gt;
&lt;TD&gt;
&lt;CENTER&gt;Yes&lt;/CENTER&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;CENTER&gt;Yes&lt;/CENTER&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;CENTER&gt;Service account specified during install&lt;/CENTER&gt;&lt;/TD&gt;
&lt;TD&gt;Any user who can connect to and authenticate to the SQL Server can run code as the account specified during installation.&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;MSDE 2000&lt;/TD&gt;
&lt;TD&gt;
&lt;CENTER&gt;Yes&lt;/CENTER&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;CENTER&gt;No&lt;/CENTER&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;CENTER&gt;SYSTEM&lt;/CENTER&gt;&lt;/TD&gt;
&lt;TD&gt;Any local user able to initiate a connection from the local machine running MSDE and authenticate to the SQL instance can run code as SYSTEM.&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;SQL Server 2005 Express&lt;/TD&gt;
&lt;TD&gt;
&lt;CENTER&gt;Yes, Builtin\Users granted logon rights by default &lt;/CENTER&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;CENTER&gt;No&lt;/CENTER&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;CENTER&gt;Network Service&lt;/CENTER&gt;&lt;/TD&gt;
&lt;TD&gt;Any local user able to initiate a connection from the local machine running SQL Express and authenticate to the SQL instance can run code as NetworkService. All accounts in Builtin\Users group can authenticate using integrated authentication by default.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;P&gt;So as the table above shows you have to be authenticated to exploit this vulnerability. Additionally, by default, MSDE 2000 and SQL Server Express 2005, which are redistributed and used by Microsoft and third party applications, can’t be exploited remotely. But it’s important you not ignore this vulnerability for a couple of reasons.&lt;/P&gt;
&lt;P&gt;As we said, an unauthenticated attacker cannot exploit this vulnerability directly. However, if an attacker finds a SQL injection vulnerability in the web application connected to your database, he could combine the SQL injection vulnerability with this vulnerability and run code “without authenticating”. Technically, the attacker did authenticate – he just used your compromised web application to authenticate for him. Of course, if an attacker does compromise your web application using SQL injection, he can take a number of actions anyway.&lt;/P&gt;
&lt;P&gt;Secondly, remember our October advisory and blog post about service isolation? That vulnerability allowed an attacker to escalate from code running as NetworkService to LocalSystem. Unfortunately, this SQL vulnerability allows any user logged on to a machine running SQL Express to escalate to SYSTEM by leveraging the SQL vulnerability to get to NetworkService and then the service isolation vulnerability to get to SYSTEM.&lt;/P&gt;
&lt;P&gt;Thus, we highly encourage you to apply the workaround listed in the security advisory to block this attack and let us know if you have questions.&lt;/P&gt;
&lt;P&gt;The affected stored procedure will have no impact for the majority of customers. It is called as a trigger for user modifications during transactional replication with updatable subscriptions. So if your SQL installation does not include replication, the workaround will have no effect other than to protect you from this vulnerability. The workaround will also have no impact on your database installation if you use transaction replication with read-only subscriptions, bi-directional, or peer-to-peer settings. It is only transactional replication with updatable subscriptions that is impacted.&lt;/P&gt;
&lt;P&gt;One caveat about the stored procedure workaround: If an attacker connects to the database as &lt;I&gt;sa&lt;/I&gt; (or a member of the &lt;I&gt;sysadmin&lt;/I&gt; server role), denying execute permission to public will not be effective in stopping them from executing the stored procedure. Of course, if someone has sysadmin rights in SQL Server, they likely have other ways to gain administrator privileges on the server already.&lt;/P&gt;
&lt;P&gt;If you don’t want to use the raw SQL in the advisory, you can apply the change using GUI tools. Here are screenshots for the SQL Server Enterprise Manager (SQL 2000) and SQL Server Management Studio (SQL 2005) changing the setting from GRANT to DENY.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.technet.com/photos/swiblog/images/3172308/original.aspx" mce_href="http://blogs.technet.com/photos/swiblog/images/3172308/original.aspx"&gt;&lt;IMG style="WIDTH: 510px; HEIGHT: 368px" src="http://blogs.technet.com/photos/swiblog/images/3172308/original.aspx" width=510 height=368 mce_src="http://blogs.technet.com/photos/swiblog/images/3172308/original.aspx"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.technet.com/photos/swiblog/images/3172309/original.aspx" mce_href="http://blogs.technet.com/photos/swiblog/images/3172309/original.aspx"&gt;&lt;IMG style="WIDTH: 576px; HEIGHT: 429px" src="http://blogs.technet.com/photos/swiblog/images/3172309/original.aspx" width=576 height=429 mce_src="http://blogs.technet.com/photos/swiblog/images/3172309/original.aspx"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Update 12/25/08:&lt;/B&gt; Added caveat about workaround being ineffective against attackers connecting as sa / sysadmin&lt;/P&gt;
&lt;P&gt;Jonathan Ness and Bruce Dang, SVRD Bloggers&lt;/P&gt;
&lt;P&gt;*Posting is provided "AS IS" with no warranties, and confers no rights.*&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3172306" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/swi/archive/tags/SQL+Injection/default.aspx">SQL Injection</category><category domain="http://blogs.technet.com/swi/archive/tags/Workarounds/default.aspx">Workarounds</category><category domain="http://blogs.technet.com/swi/archive/tags/SQL/default.aspx">SQL</category></item><item><title>Clarification on the various workarounds from the recent IE advisory</title><link>http://blogs.technet.com/swi/archive/2008/12/12/Clarification-on-the-various-workarounds-from-the-recent-IE-advisory.aspx</link><pubDate>Sat, 13 Dec 2008 02:00:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3167803</guid><dc:creator>swiblog</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/swi/comments/3167803.aspx</comments><wfw:commentRss>http://blogs.technet.com/swi/commentrss.aspx?PostID=3167803</wfw:commentRss><description>&lt;P&gt;Today Microsoft revised the Workarounds section of &lt;A href="http://www.microsoft.com/technet/security/advisory/961051.mspx" mce_href="http://www.microsoft.com/technet/security/advisory/961051.mspx"&gt;Security Advisory 961051&lt;/A&gt;. We wanted to share more detail about the vulnerability and explain the additional workarounds here to help you protect your computers.&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Information about the vulnerability&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;The vulnerability is caused by memory corruption&amp;nbsp;resulting from&amp;nbsp;the way Internet Explorer handles &lt;A href="http://msdn.microsoft.com/en-us/library/ms531388(vs.85).aspx" mce_href="http://msdn.microsoft.com/en-us/library/ms531388(vs.85).aspx"&gt;DHTML Data Bindings&lt;/A&gt;. This affects all currently supported versions of Internet Explorer. Malicious HTML that targets this vulnerability causes IE to create an array of data binding objects, release one of them, and later reference it. This class of vulnerability is exploitable by preparing heap memory with attacker-controlled data (“heap spray”) before the invalid pointer dereference.&lt;/P&gt;
&lt;P&gt;&lt;B&gt;&lt;A class="" title=workarounds name=workarounds&gt;&lt;/A&gt;Which workarounds should you apply?&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;The advisory now lists nine different workaround options. We have been adding additional workarounds with each advisory revision to give you more surgical options to cut off the vulnerable code path. Only IE8 has an option to turn off data binding altogether. So unless you are using IE8, you’ll need to: 
&lt;UL&gt;
&lt;LI&gt;(A) block access to the vulnerable code in MSHTML.dll via OLEDB, protecting against current attacks&lt;/LI&gt;
&lt;LI&gt;(B) apply the most secure configuration against this specific vulnerability.&lt;/LI&gt;&lt;/UL&gt;Optionally, you may choose to (C) make it much harder to heap spray. 
&lt;P&gt;The table below lists what type of protection each advisory workaround provides. 
&lt;P&gt;
&lt;TABLE class="" border=1&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class=""&gt;&lt;B&gt;Workaround&lt;/B&gt;&lt;/TD&gt;
&lt;TD class=""&gt;&lt;B&gt;A&lt;/B&gt;&lt;/TD&gt;
&lt;TD class=""&gt;&lt;B&gt;B&lt;/B&gt;&lt;/TD&gt;
&lt;TD class=""&gt;&lt;B&gt;C&lt;/B&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class=""&gt;1. Set Internet and Local intranet security zone settings to "High" to prompt before running ActiveX Controls and Active Scripting in these zones&lt;/TD&gt;
&lt;TD class=""&gt;&lt;/TD&gt;
&lt;TD class=""&gt;X&lt;/TD&gt;
&lt;TD class=""&gt;X&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class=""&gt;2. Configure Internet Explorer to prompt before running Active Scripting or to disable Active Scripting in the Internet and Local intranet security zone&lt;/TD&gt;
&lt;TD class=""&gt;&lt;/TD&gt;
&lt;TD class=""&gt;X&lt;/TD&gt;
&lt;TD class=""&gt;X&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class=""&gt;3. Disable XML Island Functionality&lt;/TD&gt;
&lt;TD class=""&gt;X&lt;/TD&gt;
&lt;TD class=""&gt;&lt;/TD&gt;
&lt;TD class=""&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class=""&gt;4. Restrict Internet Explorer from using OLEDB32.dll with an Integrity Level ACL&lt;/TD&gt;
&lt;TD class=""&gt;X&lt;/TD&gt;
&lt;TD class=""&gt;&lt;/TD&gt;
&lt;TD class=""&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class=""&gt;5. Disable Row Position functionality of OLEDB32.dll&lt;/TD&gt;
&lt;TD class=""&gt;X&lt;/TD&gt;
&lt;TD class=""&gt;&lt;/TD&gt;
&lt;TD class=""&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class=""&gt;6. Unregister OLEDB32.DLL&lt;/TD&gt;
&lt;TD class=""&gt;X&lt;/TD&gt;
&lt;TD class=""&gt;&lt;/TD&gt;
&lt;TD class=""&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class=""&gt;7. Use ACL to disable OLEDB32.DLL&lt;/TD&gt;
&lt;TD class=""&gt;X&lt;/TD&gt;
&lt;TD class=""&gt;&lt;/TD&gt;
&lt;TD class=""&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class=""&gt;8. Enable DEP for Internet Explorer 7 on Windows Vista and on Windows Server 2008&lt;/TD&gt;
&lt;TD class=""&gt;&lt;/TD&gt;
&lt;TD class=""&gt;&lt;/TD&gt;
&lt;TD class=""&gt;X&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class=""&gt;9. Disable Data Binding support in Internet Explorer 8&lt;/TD&gt;
&lt;TD class=""&gt;X&lt;/TD&gt;
&lt;TD class=""&gt;X&lt;/TD&gt;
&lt;TD class=""&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;P&gt;Applying a workaround from the (A) column will protect against current attacks but to comprehensively protect against the vulnerability, we recommend that you also apply a workaround from the (B) column.&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Why list five different ways to protect against OLEDB data provider attack vector?&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;Let’s briefly touch on workarounds 3-7, each being a different way to protect against the OLEDB data provider attack vector.&lt;/P&gt;
&lt;P&gt;&lt;I&gt;6 &amp;amp; 7 –Unregister or Disable via ACL the OLEDB32.DLL &lt;/I&gt;&lt;/P&gt;
&lt;P&gt;We listed these workarounds in yesterday’s advisory and they still remain viable options. However, these are two somewhat drastic options. All applications that rely on any part of this DLL will fail to function. &lt;/P&gt;
&lt;P&gt;&lt;I&gt;5 - Disable Row Position functionality of OLEDB32.dll&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;In our investigation, we discovered that disabling a single OLEDB32 COM object is enough to block access to the affected code path. We continue to list workaround options #6 and #7 in the advisory but #5 is actually far preferable because it is as good as either #6 or #7 and less invasive.&lt;/P&gt;
&lt;P&gt;&lt;I&gt;4&amp;nbsp;- Restrict Internet Explorer from using OLEDB32.dll with an Integrity Level ACL&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;This workaround option is another way to block access to the OLEDB data provider. The great thing about this option is that it blocks access for Internet Explorer only. It will not disrupt stand-alone data access applications. However, it only exists when UAC and IE Protected Mode are both enabled (default configuration) on Windows Vista and Windows Server 2008. We will go into more detail for this option below because it is pretty cool. :)&lt;/P&gt;
&lt;P&gt;&lt;I&gt;3 - Disable XML Island functionality&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;Exploits targeting the OLEDB data provider require msxml3.dll as well as OLEDB32.dll. We initially considered suggesting customers unregister or ACL msxml3.dll to block attempts to exploit the vulnerability. Blocking msxml3.dll system-wide turned out to break lots of stuff. However, disabling only the &lt;A href="http://msdn.microsoft.com/en-us/library/aa923725.aspx"&gt;XML Data Island&lt;/A&gt; CLSID is enough to prevent msxml3.dll from loading only for IE for known attacks. Also, from our testing, it appears that not very many websites use the XML Data Island functionality so this is our least intrusive workaround from column A and it works on all supported platforms.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Further information about the Integrity Level ACL workaround&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;To provide this type of selective protection, the new workaround relies on the fact that, by default, Internet Explorer runs with Protected Mode turned on. This means that the iexplore.exe process runs at a low integrity level. For more information on what this means and how this works, refer to &lt;A href="http://msdn.microsoft.com/en-us/library/bb250462.aspx" mce_href="http://msdn.microsoft.com/en-us/library/bb250462.aspx"&gt;http://msdn.microsoft.com/en-us/library/bb250462.aspx&lt;/A&gt;. As mentioned in the article, the integrity mechanism makes it possible to block processes from being able to write to securable objects (such as files) that have a higher integrity level. One thing that the article does not mention, however, is that it is also possible to block a process from being able to read or execute securable objects at a higher integrity level. This is done by applying a special integrity level entry to the Access Control List (ACL) for an object. Later on in this post, we will walk you through how to do this for OLEDB32.DLL such that Internet Explorer cannot read or execute it.&lt;/P&gt;
&lt;P&gt;One thing that should be noted about this workaround is that Internet Explorer must be running with Protected Mode turned on. This requires that both Protected Mode and User Account Control (UAC) are enabled (the default setting). You can determine whether or not Protected Mode is enabled by examining the Internet Explorer status bar as is illustrated in the following screenshot:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.technet.com/photos/swiblog/images/3167815/original.aspx" mce_src="http://blogs.technet.com/photos/swiblog/images/3167815/original.aspx"&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;Enabling the Workaround (only applies to Windows Vista and later operating systems)&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;To use this workaround you must first create a temporary directory and then copy an inf file from the attached zip file to it. Use the BlockAccess_x86.inf file if the underlying operating system is 32 bit and the BlockAccess_x64.inf file if the underlying operating system is 64 bit. If you are unsure which operating system you are using, you can figure it out by opening the Control Panel and selecting System. Look for the following output in the resulting window.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.technet.com/photos/swiblog/images/3167816/original.aspx" mce_src="http://blogs.technet.com/photos/swiblog/images/3167816/original.aspx"&gt;&lt;/P&gt;
&lt;P&gt;Once you have the appropriate file copied over, start an elevated Administrator command prompt, navigate the prompt to the temporary directory, and run the following command where &amp;lt;inf&amp;gt;&amp;nbsp;&lt;INF&gt;is the name of the file you copied to the directory.&lt;/P&gt;&lt;PRE&gt;    SecEdit /configure /db BlockAccess.sdb /cfg &amp;lt;inf&amp;gt; &lt;INF&gt;
&lt;/PRE&gt;
&lt;P&gt;After running the command, you should see the following output.&lt;/P&gt;&lt;PRE&gt;    The task has completed successfully.
    See log %windir%\security\logs\scesrv.log for detail info.
&lt;/PRE&gt;
&lt;P&gt;SecEdit will also create a file called BlockAccess.sdb in the directory it was run from. You can safely delete it and the inf file.&lt;/P&gt;
&lt;P&gt;&lt;I&gt;Validating the Workaround&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;It is possible to use the icacls command to quickly determine whether or not the workaround has been applied. If you are using a 32 bit operating system, you just need to run the following command:&lt;/P&gt;&lt;PRE&gt;    icacls "%ProgramFiles%\Common Files\System\Ole DB\oledb32.dll"&lt;/PRE&gt;
&lt;P&gt;On the other hand if you are using a 64 bit operating system, you will need to run icacls twice; once for the 32 bit version of OLEDB32.DLL and once for the 64 bit version. The two commands are as follows:&lt;/P&gt;&lt;PRE&gt;    icacls "%ProgramFiles%\Common Files\System\Ole DB\oledb32.dll"
    icacls "%ProgramFiles(x86)%\Common Files\System\Ole DB\oledb32.dll"&lt;/PRE&gt;
&lt;P&gt;Each time you run icacls, search through the output for the following line.&lt;/P&gt;&lt;PRE&gt;    Mandatory Label\Medium Mandatory Level:(NW,NR,NX)&lt;/PRE&gt;
&lt;P&gt;If the line is present and includes both the NR and NX values, the workaround has successfully been applied. However, if either the line is missing, or one of the NR or NX values is missing, the workaround has NOT been successfully applied.&lt;/P&gt;
&lt;P&gt;&lt;I&gt;Undoing the Workaround&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;To undo the workaround, you will once again need to create a temporary directory and copy an inf file from the zip into it. This time you will need to copy UnblockAccess_x86.inf if you are using a 32 bit operating system and UnblockAccess_x64.inf if you are using a 64 bit one. After copying the file, start an elevated Administrator command prompt, navigate to the temporary directory, and run the following command where &amp;lt;inf&amp;gt;&amp;nbsp;&lt;INF&gt;is the name of the file you copied to the directory.&lt;/P&gt;&lt;PRE&gt;    SecEdit /configure /db UnblockAccess.sdb /cfg &amp;lt;inf&amp;gt;&lt;INF&gt;&lt;/PRE&gt;
&lt;P&gt;You should see the same output as before and similar to last time, you can safely delete the UnblockAccess.sdb and UnblockAccess.inf files.&lt;/P&gt;
&lt;P&gt;Let us know if you have any questions.&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Update Dec 13, 2008:&lt;/B&gt; Added "Disable XML Island Functionality" workaround.&lt;/P&gt;
&lt;P&gt;- Andrew Roths, Jonathan Ness, Chengyun&amp;nbsp;(SVRD Bloggers)&lt;/P&gt;
&lt;P&gt;*Postings are provided "AS IS" with no warranties, and confers no rights.*&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3167803" width="1" height="1"&gt;</description><enclosure url="http://blogs.technet.com/swi/attachment/3167803.ashx" length="1300" type="application/x-zip-compressed" /><category domain="http://blogs.technet.com/swi/archive/tags/IE/default.aspx">IE</category><category domain="http://blogs.technet.com/swi/archive/tags/Internet+Explorer/default.aspx">Internet Explorer</category><category domain="http://blogs.technet.com/swi/archive/tags/Mitigations/default.aspx">Mitigations</category><category domain="http://blogs.technet.com/swi/archive/tags/Workarounds/default.aspx">Workarounds</category></item><item><title>MS08-076: Windows Media Components: Part 1 of 2</title><link>http://blogs.technet.com/swi/archive/2008/12/09/windows-media-components-part-1-of-2.aspx</link><pubDate>Tue, 09 Dec 2008 18:07:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3165447</guid><dc:creator>swiblog</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/swi/comments/3165447.aspx</comments><wfw:commentRss>http://blogs.technet.com/swi/commentrss.aspx?PostID=3165447</wfw:commentRss><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: 115%"&gt;&lt;FONT face=Calibri size=3&gt;Today we released MS08-076, which addresses two flaws in the Windows Media components: Windows Media Player, Windows Media Format Runtime, and Windows Media Services. Viewed separately, the issues are not that severe and the aggregate severity rating is Important at most. However, if the two issues are combined the impact can be quite severe, with the potential for Remote Code Execution. Read on to understand how these issues can be combined by an attacker and how they are related to the SMB Reflection bulletin we released last month. The information should be useful to help prioritize the deployment of this update.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: 115%"&gt;&lt;B&gt;&lt;U&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;The SPN Vulnerability&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: 115%"&gt;&lt;FONT face=Calibri size=3&gt;The first vulnerability, CVE-2008-3009, relates to the Windows Media components' use of the NTLM authentication protocol, specifically regarding SPNs (Server Principal Names). Media players which use the Windows Media components (such as Windows Media Player) could be prompted by the server to authenticate before accessing the media. In response, the client will send the current user’s credentials, possibly using NTLM if this is the protocol that is negotiated by the client and server.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: 115%"&gt;&lt;FONT face=Calibri size=3&gt;If the server is malicious it can use the NTLM credentials it receives to perform a reflection attack against the client. This type of attack is discussed in more detail in last month’s bulletin &lt;/FONT&gt;&lt;A href="http://www.microsoft.com/technet/security/Bulletin/MS08-068.mspx" mce_href="http://www.microsoft.com/technet/security/Bulletin/MS08-068.mspx"&gt;&lt;FONT face=Calibri color=#0000ff size=3&gt;MS08-068&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Calibri size=3&gt; and the related &lt;/FONT&gt;&lt;A href="http://blogs.technet.com/swi/archive/2008/11/11/smb-credential-reflection.aspx" mce_href="http://blogs.technet.com/swi/archive/2008/11/11/smb-credential-reflection.aspx"&gt;&lt;FONT face=Calibri size=3&gt;SVRD blog post&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Calibri size=3&gt;. That bulletin updated SMB clients to protect them from attacks. This bulletin does the same thing, but for Windows Media components clients. In order to be protected against NTLM reflection attacks, a client must pass a valid SPN into the InitializeSecurityContext API while performing an authentication. InitializeSecurityContext for NTLM is covered on MSDN &lt;/FONT&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/aa375512.aspx" mce_href="http://msdn.microsoft.com/en-us/library/aa375512.aspx"&gt;&lt;FONT face=Calibri size=3&gt;here&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Calibri size=3&gt;, and SPNs are covered &lt;/FONT&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/ms677949(VS.85).aspx" mce_href="http://msdn.microsoft.com/en-us/library/ms677949(VS.85).aspx"&gt;&lt;FONT face=Calibri size=3&gt;here&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Calibri size=3&gt;.&amp;nbsp; While the SPN documentation focuses on Kerberos authentication, NTLM also supports the use of SPNs.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: 115%"&gt;&lt;FONT face=Calibri size=3&gt;In this case, since the Windows Media Components passed in an incomplete SPN, NTLM reflection protections would not be enabled for this authentication request. An attacker could try to exploit this by targeting SMB on the client machine using the reflected credentials.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: 115%"&gt;&lt;FONT face=Calibri size=3&gt;It is important to note that the Windows Media components are zone-aware, in the same way Internet Explorer is. This means that when media is retrieved from a server, the code determines whether the server is on the local intranet (and hence in the Intranet zone), or else in the Internet zone. (There are also the Trusted Sites and Restricted Sites zones which can be configured by the user.)&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: 115%"&gt;&lt;FONT face=Calibri size=3&gt;Servers in the Internet zone are inherently un-trusted, and Windows Media components will not send NTLM credentials to these servers without prompting the user. Hence, for the SPN vulnerability to be exploited, the attacker must either be on the local intranet (e.g. the same subnet as the victim), or the attacker must somehow trick the system into performing NTLM authentication with a machine on the Internet. That’s where the second vulnerability comes into play…&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: 115%"&gt;&lt;B&gt;&lt;U&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;The ISATAP Vulnerability&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: 115%"&gt;&lt;FONT face=Calibri size=3&gt;First off, you might be wondering what ISATAP is. As the bulletin says, ISATAP is a technology to enable IPv6 traffic to be sent within an IPv4 network – it’s one of the “transition technologies” that can be used as the network is migrated from an older IPv4-only network to an IPv6 network. Since ISATAP provides IPv6 connectivity, only systems with IPv6 enabled (such as Windows Vista) are affected by this issue.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: 115%"&gt;&lt;FONT face=Calibri size=3&gt;The ISATAP vulnerability, CVE-2008-3010, is due to the way Windows Media components treat ISATAP addresses when making the zone determination. Instead of treating an ISATAP server address as an Internet zone address, it is treated as classified as being in the Intranet zone. As explained above, this leads to an information disclosure vulnerability, since NTLM authentication data could be sent to un-trusted destinations on the Internet.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: 115%"&gt;&lt;FONT face=Calibri size=3&gt;It should be noted that a properly-configured edge firewall will block the IP protocol used by ISATAP, and so an attacker on the Internet will not be able to have victims contact their malicious server. (See the “&lt;/FONT&gt;&lt;A href="http://technet.microsoft.com/en-us/library/bb726956.aspx" mce_href="http://technet.microsoft.com/en-us/library/bb726956.aspx"&gt;&lt;FONT face=Calibri color=#0000ff size=3&gt;IPv6 Security Considerations and Recommendations” paper&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt; on Technet&lt;SPAN style="COLOR: #1f497d"&gt;.)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: 115%"&gt;&lt;B&gt;&lt;U&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Combined severity&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: 115%"&gt;&lt;FONT face=Calibri size=3&gt;Given the above information, it should be clear how combining these two vulnerabilities could lead to an attacker being able to gain access to the victim’s machine. However, when determining bulletin severity we do not consider combined attacks for different vulnerabilities, hence the overall severity of Important for this bulletin.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: 115%"&gt;&lt;B&gt;&lt;U&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Possible attack scenarios&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: 115%"&gt;&lt;FONT face=Calibri size=3&gt;Due to the way ISATAP is blocked on most routers and edge firewalls, an attacker would need to be on the same network as the victim (not on the Internet).&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: 115%"&gt;&lt;FONT face=Calibri size=3&gt;Typically an attack that leverages these two vulnerabilities would be combined with an SMB reflection attack (creating something known as a “cross-protocol reflection attack”). The exact impact depends on the operating system targeted and the permissions of the user account that the Windows Media components client is running under.&amp;nbsp; It is important to note that even with the update for MS08-068 applied, systems are vulnerable to attack under the above scenario, since SMB is not the one generating the NTLM authentication request.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: 115%"&gt;&lt;FONT face=Calibri size=3&gt;In part two of this blog post, we will discuss additional workaround steps that can be applied on client machines, and also expand on the ISATAP vulnerability applies to Windows Media Servers.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;Mark Wodrich, SVRD Blogger&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;*Postings are provided "AS IS" with no warranties, and confers no rights.*&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3165447" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/swi/archive/tags/ISATAP/default.aspx">ISATAP</category><category domain="http://blogs.technet.com/swi/archive/tags/NTLM/default.aspx">NTLM</category><category domain="http://blogs.technet.com/swi/archive/tags/SPN/default.aspx">SPN</category><category domain="http://blogs.technet.com/swi/archive/tags/Windows+Media+components/default.aspx">Windows Media components</category></item><item><title>MS08-076: Windows Media Components: Part 2 of 2 </title><link>http://blogs.technet.com/swi/archive/2008/12/09/ms08-076-windows-media-components-part-2-of-2.aspx</link><pubDate>Tue, 09 Dec 2008 18:07:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3165473</guid><dc:creator>swiblog</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/swi/comments/3165473.aspx</comments><wfw:commentRss>http://blogs.technet.com/swi/commentrss.aspx?PostID=3165473</wfw:commentRss><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;In this part, we would like to talk more about CVE-2008-3010: ISATAP vulnerability in Windows Media components. As described in the bulletin MS08-076, Windows Media components (Windows Media Player, Windows Media Format Runtime, and Windows Media Services) treat an ISATAP server address as an intranet zone address, and thus may leak NTLM credentials.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;There are two different scenarios: the client side and the server side. &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;The client side scenario is simple. It relates to Windows Media Player (WMP) or any client applications that build upon the Windows Media Foundation SDK or Windows Media Format SDK. For example, when a user uses WMP to open ISATAP URLs addresses, WMP might leak NTLM credentials to internet. Please note here the term client side scenario does not mean that the OS needs to be a client OS. For example, a user could still use WMP in Windows Server 2008 and hit this issue. &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;It should be noted that there is a workaround for the client side scenario: modifying the&amp;nbsp;Access Control List (ACL) for WMNetMgr.dll.&amp;nbsp;This was not listed in the bulletin&amp;nbsp;as it only applies to the client side scenario and not the server side scenario. The details are as follow:&lt;BR style="mso-special-character: line-break"&gt;&lt;BR style="mso-special-character: line-break"&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;For Windows XP, run the following command from an administrator command prompt:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"&gt;for /F "tokens=*" %G IN ('dir /b /s %windir%\WMNetMgr.dll') DO cacls %G /E /R everyone&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;o:p&gt;&lt;FONT size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;For Windows Vista and Windows Server 2008, run the following commands from an elevated administrator command prompt:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"&gt;for /F "tokens=*" %G IN ('dir /b /s %windir%\WMNetMgr.dll') DO takeown /F %G &amp;amp;&amp;amp; icacls %G /deny everyone:(F)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;WMNetMgr.dll handles network connections. Thus the impact of this workaround is that WMP or other client applications may not be able to connect to any servers. Local media playback would still be fine. &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;The server side scenario is more complex and it relates to Windows Media Services (WMS). Even though&amp;nbsp;servers don't&amp;nbsp;typically&amp;nbsp;send out NTLM credentials, there&amp;nbsp;are scenarios where&amp;nbsp;a Windows Media server&amp;nbsp;is vulnerable. For example,&amp;nbsp;suppose&amp;nbsp;a user&amp;nbsp;buys a streaming service and&amp;nbsp;has an&amp;nbsp;ISP’s WMS pull contents from his/her WMS for distribution on the content distribution network.&amp;nbsp; In this situation, the ISP's server can perform an NTLM authentication to the user's server.&amp;nbsp; To see how this works, consider the following diagram:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="mso-fareast-language: EN-US; mso-no-proof: yes"&gt;&lt;?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /&gt;&lt;v:shapetype id=_x0000_t75 stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75" coordsize="21600,21600"&gt;&lt;v:stroke joinstyle="miter"&gt;&lt;/v:stroke&gt;&lt;v:formulas&gt;&lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum @0 1 0"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum 0 0 @1"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @2 1 2"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @3 21600 pixelWidth"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @3 21600 pixelHeight"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum @0 0 1"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @6 1 2"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @7 21600 pixelWidth"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum @8 21600 0"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @7 21600 pixelHeight"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum @10 21600 0"&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;&lt;v:path o:connecttype="rect" gradientshapeok="t" o:extrusionok="f"&gt;&lt;/v:path&gt;&lt;o:lock aspectratio="t" v:ext="edit"&gt;&lt;/o:lock&gt;&lt;/v:shapetype&gt;&lt;v:shape id=_x0000_i1025 style="VISIBILITY: visible; WIDTH: 350.25pt; HEIGHT: 275.25pt" type="#_x0000_t75"&gt;&lt;v:imagedata mce_href="cid:image001.png@01C95937.BD876450" mce_src="file:///C:\Users\aroths\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png" o:href="cid:image001.png@01C95937.BD876450" src="file:///C:\Users\aroths\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png"&gt;&lt;FONT face=Calibri size=3&gt;&lt;/FONT&gt;&lt;/v:imagedata&gt;&lt;/v:shape&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;o:p&gt;&lt;IMG title=WMS style="WIDTH: 471px; HEIGHT: 371px" height=371 alt=WMS src="http://blogs.technet.com/photos/swiblog/images/3165574/original.aspx" width=471 mce_src="http://blogs.technet.com/photos/swiblog/images/3165574/original.aspx"&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;In the above diagram, the “edge” server acts as a client to the “origin” server. Therefore, the “edge” server’s credential may be leaked by WMS to the “origin” server, which&amp;nbsp;could be&amp;nbsp;controlled by&amp;nbsp;an attacker. While the above setup may not be the common scenario, a possibility exists for this to occur thus we fixed WMS to make sure it classifies ISATAP address in the right zone. &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;o:p&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;Chengyun, SVRD Blogger&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;*Postings are provided "AS IS" with no warranties, and confers no rights.*&lt;/FONT&gt;&lt;/P&gt;&lt;/o:p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3165473" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/swi/archive/tags/ISATAP/default.aspx">ISATAP</category><category domain="http://blogs.technet.com/swi/archive/tags/NTLM/default.aspx">NTLM</category><category domain="http://blogs.technet.com/swi/archive/tags/Workarounds/default.aspx">Workarounds</category><category domain="http://blogs.technet.com/swi/archive/tags/Windows+Media+components/default.aspx">Windows Media components</category></item><item><title>MS08-075: Reducing attack surface by turning off protocol handlers</title><link>http://blogs.technet.com/swi/archive/2008/12/09/ms08-075-reducing-attack-surface-by-turning-off-protocol-handlers.aspx</link><pubDate>Tue, 09 Dec 2008 18:06:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3165466</guid><dc:creator>swiblog</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/swi/comments/3165466.aspx</comments><wfw:commentRss>http://blogs.technet.com/swi/commentrss.aspx?PostID=3165466</wfw:commentRss><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;Today Microsoft released a security update, MS08-075, that fixes a vulnerability in Windows Explorer in Vista and Server 2008 that was exposed through the search-ms protocol handler.&amp;nbsp; This is a remote unauthenticated vulnerability that requires user interaction, so we wanted to give you a bit more information about protocol handlers and how you can reduce your attack surface by turning off any protocol handlers you don’t intend to use.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;B&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Quick introduction to protocol handlers&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;A protocol handler is a way to extend the functionality of your web browser.&amp;nbsp; The well known mailto:// protocol is a great example.&amp;nbsp; Instead of the familiar http:// or https:// protocols, mailto:// links start your e-mail application and tell it to create a new e-mail message to a particular e-mail address, and optionally with a particular subject.&amp;nbsp; &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;You can see how the mailto:// protocol handler is associated to your e-mail application on your computer by examining the registry key HKEY_CLASSES_ROOT\mailto\shell\open\command. &amp;nbsp;In the default value of that registry key you will see the command line that is executed when you click on a mailto:// link, or when a web page references mailto:// in a URL that is automatically retrieved, like in the src value of an &amp;lt;iframe&amp;gt;.&amp;nbsp; The %1 value in the registry key is replaced with the rest of the URL that follows the ://.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;If the application that is associated with a protocol contains a vulnerability that can be triggered by the data passed to it on the command line, this can be a serious attack vector.&amp;nbsp; A malicious web page could pass specially crafted data to that application as soon as you visit the web page, by putting a URL containing the vulnerable protocol in something like the src value of an &amp;lt;iframe&amp;gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;If you use Vista or Server 2008, and you have User Account Control and Protected Mode Internet Explorer turned on (the default) , then Internet Explorer 7 provides protection against this attack by warning the user before processing a protocol handler by displaying a dialog like this one:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;FONT face=Calibri size=3&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: center" align=center&gt;&lt;SPAN style="mso-no-proof: yes"&gt;&lt;IMG title="Protected Mode IE" style="WIDTH: 477px; HEIGHT: 292px" height=292 alt="Protected Mode IE" src="http://blogs.technet.com/photos/swiblog/images/3165575/original.aspx" width=477 mce_src="http://blogs.technet.com/photos/swiblog/images/3165575/original.aspx"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/FONT&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: center" align=center&gt;&lt;SPAN style="mso-no-proof: yes"&gt;&lt;?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /&gt;&lt;v:shapetype id=_x0000_t75 coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"&gt;&lt;v:stroke joinstyle="miter"&gt;&lt;/v:stroke&gt;&lt;v:formulas&gt;&lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum @0 1 0"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum 0 0 @1"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @2 1 2"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @3 21600 pixelWidth"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @3 21600 pixelHeight"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum @0 0 1"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @6 1 2"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @7 21600 pixelWidth"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum @8 21600 0"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @7 21600 pixelHeight"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum @10 21600 0"&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;&lt;v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"&gt;&lt;/v:path&gt;&lt;o:lock v:ext="edit" aspectratio="t"&gt;&lt;/o:lock&gt;&lt;/v:shapetype&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: center" align=center&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;There are two different ways to add a protocol handler to Internet Explorer.&amp;nbsp; One is by associating a protocol (e.g. search-ms://) with an application, where the remaining portion of the URL is passed as a command line argument.&amp;nbsp; That is the method we discuss in this post.&amp;nbsp; There is another method for registering a CLSID with a protocol which involves writing code that implements specific interfaces.&amp;nbsp; We are not covering these handlers in this blog post, but you can read more about them here: &lt;/FONT&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/aa767916(VS.85).aspx" mce_href="http://msdn.microsoft.com/en-us/library/aa767916(VS.85).aspx"&gt;&lt;FONT face=Calibri color=#0000ff size=3&gt;http://msdn.microsoft.com/en-us/library/aa767916(VS.85).aspx&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Calibri size=3&gt; &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;B&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;B&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;B&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;A quick note about PowerShell&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;Since protocol handlers are configured in the registry, &lt;/FONT&gt;&lt;A href="http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx" mce_href="http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx"&gt;&lt;FONT face=Calibri color=#0000ff size=3&gt;PowerShell&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Calibri size=3&gt; is a great choice for working with them.&amp;nbsp; In this post we provide several PowerShell scripts to help you work with protocol handlers.&amp;nbsp; It’s important to note that by default, PowerShell won’t let you run scripts.&amp;nbsp; For more information on this policy and for information how to change it refer to: &lt;/FONT&gt;&lt;A href="http://technet.microsoft.com/en-us/library/cc764242.aspx" mce_href="http://technet.microsoft.com/en-us/library/cc764242.aspx"&gt;&lt;FONT face=Calibri size=3&gt;http://technet.microsoft.com/en-us/library/cc764242.aspx&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Calibri size=3&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;B&gt;Warning:&lt;/B&gt; If you do modify your execution policy, it may be easier to unintentionally execute a malicious PowerShell script.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;If you alter your execution policy to run these scripts, the safest option is to restore the execution policy to the default “Restricted” value once they have completed.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;B&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;How to enumerate all of the protocol handlers on your system&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;To do this, look for all of the subkeys of HKEY_CLASSES_ROOT that have an empty string value named “URL Protocol” and a subkey structure of “shell\open\command”.&amp;nbsp; Here is our script to do just that, and return the results to you in a hash table (name, value pairs):&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"&gt;$Results = @{}&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"&gt;foreach ($Key in Get-ChildItem Microsoft.PowerShell.Core\Registry::HKEY_CLASSES_ROOT)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $Path = $Key.PSPath + '\shell\open\command'&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $HasURLProtocol = $Key.Property -contains 'URL Protocol'&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (($HasURLProtocol) -and (Test-Path $Path)) &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 1in; TEXT-INDENT: 0.5in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"&gt;$CommandKey = Get-Item $Path&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 1in; TEXT-INDENT: 0.5in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"&gt;$Results.Add($Key.Name.SubString($Key.Name.IndexOf('\') + 1), $CommandKey.GetValue(''))&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"&gt;$Results&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;B&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;How to enable or disable a protocol handler&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;To disable a protocol handler, our PowerShell script (attached at the end of this post) removes the “URL Protocol” string from the registry key and puts a “Disabled URL Protocol” string in its place, so we know that we purposefully disabled it.&amp;nbsp; We have also included a script to reverse the process, re-enabling the protocol handler again.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;B&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Related Posts&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;UL style="MARGIN-TOP: 0in" type=disc&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo1"&gt;&lt;SPAN lang=EN style="mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN"&gt;&lt;A href="http://blogs.technet.com/msrc/archive/2007/10/10/msrc-blog-additional-details-and-background-on-security-advisory-943521.aspx" mce_href="http://blogs.technet.com/msrc/archive/2007/10/10/msrc-blog-additional-details-and-background-on-security-advisory-943521.aspx"&gt;&lt;FONT face=Calibri color=#0000ff size=3&gt;Additional Details and Background on Security Advisory 943521&lt;/FONT&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/LI&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo1"&gt;&lt;SPAN lang=EN style="mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN"&gt;&lt;A href="http://blogs.technet.com/swi/archive/2008/03/11/protocol-handler-and-its-default-security-zone.aspx" mce_href="http://blogs.technet.com/swi/archive/2008/03/11/protocol-handler-and-its-default-security-zone.aspx"&gt;&lt;FONT face=Calibri color=#0000ff size=3&gt;MS08-015: Protocol Handler and its Default Security Zone&lt;/FONT&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/LI&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo1"&gt;&lt;SPAN lang=EN style="mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN"&gt;&lt;A href="http://blogs.msdn.com/ie/archive/2007/07/18/enriching-the-web-safely-how-to-create-application-protocol-handlers.aspx" mce_href="http://blogs.msdn.com/ie/archive/2007/07/18/enriching-the-web-safely-how-to-create-application-protocol-handlers.aspx"&gt;&lt;FONT face=Calibri color=#0000ff size=3&gt;Enriching the Web Safely: How to Create Application Protocol Handlers&lt;/FONT&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style="mso-fareast-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;B&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Conclusion&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;If you want to reduce your attack surface (your exposure to possible future vulnerabilities), you can use this information and these scripts to disable protocol handlers that you don’t need to use.&amp;nbsp; We hope that you found this post helpful in defending your systems!&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;Kevin Brown, SVRD Blogger&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;*Postings are provided "AS IS" with no warranties, and confers no rights.*&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3165466" width="1" height="1"&gt;</description><enclosure url="http://blogs.technet.com/swi/attachment/3165466.ashx" length="2010" type="application/x-zip-compressed" /><category domain="http://blogs.technet.com/swi/archive/tags/protocol+handlers/default.aspx">protocol handlers</category><category domain="http://blogs.technet.com/swi/archive/tags/search/default.aspx">search</category></item><item><title>MS08-068: SMB credential reflection defense</title><link>http://blogs.technet.com/swi/archive/2008/11/11/smb-credential-reflection.aspx</link><pubDate>Tue, 11 Nov 2008 18:40:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3151119</guid><dc:creator>swiblog</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/swi/comments/3151119.aspx</comments><wfw:commentRss>http://blogs.technet.com/swi/commentrss.aspx?PostID=3151119</wfw:commentRss><description>&lt;P&gt;Today Microsoft released a security update,&lt;A href="http://www.microsoft.com/technet/security/Bulletin/MS08-068.mspx" mce_href="http://www.microsoft.com/technet/security/Bulletin/MS08-068.mspx"&gt; MS08-068&lt;/A&gt;, which addresses an NTLM reflection vulnerability in the SMB protocol. The vulnerability is rated Important on most operating systems, except Vista and Windows Server 2008 where it has a rating of Moderate. This blog post is intended to explain why the issue is less severe on Vista and Windows Server 2008, and provide some additional details to help people determine the risk they face in their environment.&lt;/P&gt;
&lt;P&gt;This vulnerability allows an attacker to redirect an incoming SMB connection back to the machine it came from and then access the victim machine using the victim’s own credentials. (Hence the term “credential reflection”). In typical Windows XP configurations where SMB sharing is enabled and the user is a member of the Administrators group, this allows the attacker to easily take over the machine. Public tools, including a Metasploit module, are available to perform this attack.&lt;/P&gt;
&lt;P&gt;Typical attack vectors for this vulnerability will leverage HTML either via a web browser or e-mail. Resources within the HTML document (such as IMG tags) can be used to reference a file on the attacker’s machine, and these file are then retrieved using the SMB protocol. The attacker’s machine prompts the victim for credentials and then reflects these credentials to the victim’s machine, gaining access. In cases where the attacker is on the same network as the victim, even “trusted” websites can be leveraged to perform this attack – since network data can be modified before the victim receives it.&lt;/P&gt;
&lt;P&gt;What happens when this attack is performed against a Vista or Windows Server 2008 machine? While both Vista and WS08 are vulnerable to this attack, and the credential reflection can succeed, several other factors mitigate the impact of this attack:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;The first big difference between Vista and Windows Server 2008 and earlier versions of Windows is that File and Print Sharing is not enabled by default. A user must first enable File and Print sharing (which also enables an exception in the Windows Firewall) in order to be vulnerable to this attack.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;In non-domain environments, the default system shares (admin$, c$) are not accessible remotely by admin users, even if File and Print Sharing is enabled and the Windows Firewall allows inbound connections. (See &lt;A href="http://support.microsoft.com/kb/951016" mce_href="http://support.microsoft.com/kb/951016"&gt;KB 951016&lt;/A&gt; for more details).&lt;/P&gt;
&lt;P&gt;Here is an example of connecting to a Vista machine, authenticating as a user that is a member of the Administrators group, and still not being able to access admin$ and c$:&lt;/P&gt;&lt;PRE&gt;C:\&amp;gt; net use \\10.10.10.1\ipc$
The password or user name is invalid for \\10.10.10.1\ipc$.

Enter the user name for '10.10.10.1': swi
Enter the password for 10.10.10.1:
The command completed successfully.


C:\&amp;gt; dir \\10.10.10.1\admin$
Access is denied.

C:\&amp;gt; dir \\10.10.10.1\c$
Access is denied.
&lt;/PRE&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;In domain environments, if a user is logged on using a domain account which is a member of the local machine’s Administrator account, then the default system shares (admin$ and c$) will be accessible to them. (See &lt;A href="http://support.microsoft.com/kb/951016" mce_href="http://support.microsoft.com/kb/951016"&gt;KB 951016&lt;/A&gt; again for details).&lt;/P&gt;
&lt;P&gt;In the context of this vulnerability, a domain account with local Administrator permissions can successfully be used in a reflection attack, and the attacker will be able to connect back to the victim and access the admin$ and c$ shares. However, due to UAC and integrity levels, the attacker will connect back with the same integrity level as the victim. In most cases this will be Low or Medium integrity level (for non-elevated programs). Under Low and Medium integrity, the attacker would have read permissions (at most) to the admin$ folder. This means they would not be able to add new binaries or overwrite files in the system folder. They would also not be able to perform RPC operations that require High integrity (such as adding a service). &lt;/P&gt;
&lt;P&gt;However, an attacker would be able to write to locations under the victim’s user folder, such as the Startup folder or Desktop. (Any other folder that the user has write permissions would also be vulnerable under a reflection attack). The Startup folder is a valuable target for an attacker.&amp;nbsp; Although for non-admin users, the files placed here will run with non-admin rights.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;The Windows firewall will protect against this attack when the network profile is “Public”. Only the “Private” network profile will allow incoming SMB connections by default. People using public networks such as WiFi hot-spots will most likely be using the “Public” profile and therefore be protected.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Customers behind NATs and edge firewalls are not vulnerable to attack from machines outside the firewall, since inbound SMB is not enabled in default configurations.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;It should be noted that while the second point above is a real mitigation, there could still be non-default shares that are available on the machine that could be leveraged by an attacker and result in the target being compromised. If a user has made any shares available on their machine, then they are at increased risk.&lt;/P&gt;
&lt;P&gt;In terms of general mitigations, the bulletin mentions several options. In almost all cases the greatest risk comes from machines on the internal network. It is still a good idea to block outbound SMB traffic, but if an attacker is already within the perimeter (or the user is on an untrusted network such as a public WiFi hot-spot), there are mitigations which fall into these categories:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;Disable File and Print sharing (assuming it is not needed on user’s machines).&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Block inbound SMB connections using the Windows Firewall&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Enable IPSec and require it on inbound SMB connections.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Enable SMB message signing. This can be enabled on select “high value” servers, or on all machines. (Note that there may be a substantial performance impact)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;- Mark Wodrich, SVRD Blogger&lt;/P&gt;
&lt;P&gt;*Postings are provided "AS IS" with no warranties, and confers no rights.*&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3151119" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/swi/archive/tags/Mitigations/default.aspx">Mitigations</category><category domain="http://blogs.technet.com/swi/archive/tags/network+protocol/default.aspx">network protocol</category><category domain="http://blogs.technet.com/swi/archive/tags/rating/default.aspx">rating</category><category domain="http://blogs.technet.com/swi/archive/tags/signing/default.aspx">signing</category><category domain="http://blogs.technet.com/swi/archive/tags/SMB/default.aspx">SMB</category><category domain="http://blogs.technet.com/swi/archive/tags/Workarounds/default.aspx">Workarounds</category></item><item><title>Most common questions that we've been asked regarding MS08-067</title><link>http://blogs.technet.com/swi/archive/2008/10/25/most-common-questions-that-we-ve-been-asked-regarding-ms08-067.aspx</link><pubDate>Sat, 25 Oct 2008 19:27:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3141984</guid><dc:creator>swiblog</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/swi/comments/3141984.aspx</comments><wfw:commentRss>http://blogs.technet.com/swi/commentrss.aspx?PostID=3141984</wfw:commentRss><description>&lt;SPAN style="mso-bidi-font-weight: bold"&gt;&lt;FONT face=Calibri size=3&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-bidi-font-weight: bold; mso-fareast-font-family: 'Times New Roman'"&gt;Since the release we have received several great questions regarding MS08-067 (&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;A href="http://www.microsoft.com/technet/security/Bulletin/MS08-067.mspx" mce_href="http://www.microsoft.com/technet/security/Bulletin/MS08-067.mspx"&gt;&lt;SPAN style="COLOR: blue; mso-bidi-font-weight: bold"&gt;http://www.microsoft.com/technet/security/Bulletin/MS08-067.mspx&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="mso-bidi-font-weight: bold"&gt;), thus we decided to compile answers for them. We still want to encourage everyone to apply the update.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;Can the vulnerability be reached through RPC over HTTP?&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;No, the vulnerability cannot be reached through RPC over HTTP. RPC over HTTP is an end-to-end protocol that has three roles: client, proxy and server. To be clear, this is different from standard RPC, and the two protocols do not interoperate. Moreover, the only way to hit the vulnerable code is through named pipes, so the Interface security callback will drop the connection when connecting through TCP/IP.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;Using Outlook to connect to an Exchange server to access e-mail is a common scenario that uses RPC over HTTP; since the RPC over HTTP proxy is used the Exchange server is not exposed to external attacks. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;Further information about RPC over HTTP:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/aa375384.aspx" mce_href="http://msdn.microsoft.com/en-us/library/aa375384.aspx"&gt;&lt;SPAN style="COLOR: blue"&gt;http://msdn.microsoft.com/en-us/library/aa375384.aspx&lt;/SPAN&gt;&lt;/A&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;Further information about using Exchange with RPC over HTTP:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;A href="http://technet.microsoft.com/en-us/library/aa996072(EXCHG.65).aspx" mce_href="http://technet.microsoft.com/en-us/library/aa996072(EXCHG.65).aspx"&gt;&lt;SPAN style="COLOR: blue"&gt;http://technet.microsoft.com/en-us/library/aa996072(EXCHG.65).aspx&lt;/SPAN&gt;&lt;/A&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #244061; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;What type of protections does ISA provide against this vulnerability?&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;OL&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;The ISA and TMG RPC filter only recognizes RPC traffic that begins on the RPC End-Point Mapper (TCP:135). Since MS08-067 attacks are carried within CIFS (TCP:445) or NetBIOS (TCP:139) connections, they are not visible to the ISA or TMG RPC filter.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;By default, ISA Server and TMG do not allow RPC, NetBIOS or SMB traffic from the external network.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;By default, ISA 2000 allows all traffic unfiltered from the LAT (internal network) to the local host.&amp;nbsp; The update should be applied to any ISA 2000 deployment immediately.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;By default, ISA 2004, 2006 and TMG do not allow SMB, NetBIOS Session or RPC to the local machine &lt;I&gt;except&lt;/I&gt; from remote management hosts, array members and Content Storage Servers (CSS).&amp;nbsp; Since compromised CSS and remote management hosts may pose a threat to the ISA or TMG server, they should have the update applied immediately.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;If you have changed ISA or TMG policies to allow SMB or NetBIOS traffic to the local host (such as for a Branch Office scenario), you should apply the update to your ISA or TMG server immediately.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/OL&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;Can an anonymous user reach the vulnerable code if the “restrict anonymous named pipes” group policy setting is used?&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;There are two different behaviors depending on the platform version. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;Unfortunately the Windows XP SP2 and Windows Server 2003 group policy setting “Network Access: Named pipes that can be accessed anonymously” (see &lt;A href="http://technet.microsoft.com/en-us/library/cc785123.aspx" mce_href="http://technet.microsoft.com/en-us/library/cc785123.aspx"&gt;&lt;SPAN style="COLOR: blue"&gt;http://technet.microsoft.com/en-us/library/cc785123.aspx&lt;/SPAN&gt;&lt;/A&gt; for more information) will not block anonymous connections to the browser named pipe. The vulnerable code can still be reached since by default, connections to this named pipe will be allowed regardless of the setting. In short, even if “browser” is removed from this list, the named pipe can still be reached anonymously. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;In Windows Vista and Windows Server 2008 this behavior was changed and the setting takes effect when the browser named pipe is removed and the system is restarted.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;Would sharing files and/or printers via Terminal Server or Remote Desktop Connection expose the vulnerability?&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;No, Terminal Server and Remote Desktop Connection do redirection using virtual channels embedded inside the RDP protocol. Moreover, Terminal Server does not open ports 139 or 445.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;We would like to thank the engineers who helped provide definitive answers to these technical questions:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;- Bruce Dang, Fermin J. Serna, Damian Hasse, Andrew Roths and Jonathan Ness from the SVRD team&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;- Tassaduq Basu, Kamen Moutafov from the Windows Networking Team&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;- Scott Field from the Windows Security Architecture Team&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;- Jim Harrison from the ISA Team &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;- Costin Hagiu from the RDP Team&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;- David Kruse from the Core File System Team&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;Posting is provided "AS IS" with no warranties, and confers no rights.&lt;/SPAN&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3141984" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/swi/archive/tags/ISA/default.aspx">ISA</category><category domain="http://blogs.technet.com/swi/archive/tags/Mitigations/default.aspx">Mitigations</category><category domain="http://blogs.technet.com/swi/archive/tags/MS08-067/default.aspx">MS08-067</category><category domain="http://blogs.technet.com/swi/archive/tags/RPC/default.aspx">RPC</category><category domain="http://blogs.technet.com/swi/archive/tags/RPC+over+HTTP/default.aspx">RPC over HTTP</category><category domain="http://blogs.technet.com/swi/archive/tags/Workarounds/default.aspx">Workarounds</category></item></channel></rss>