<?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/b/srd/</link><description>Information from Microsoft about vulnerabilities, mitigations and workarounds, active attacks, security research, tools and guidance</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>EMET 4.0 now available for download</title><link>http://blogs.technet.com/b/srd/archive/2013/06/17/emet-4-0-now-available-for-download.aspx</link><pubDate>Mon, 17 Jun 2013 17:01:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3579346</guid><dc:creator>swiat</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;We are pleased to announce that &lt;strong&gt;the final release of version 4.0 of the Enhanced Mitigation Experience Toolkit&lt;/strong&gt;, best known as EMET, is now finally available for download. You can download it from &lt;span style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: SimSun; mso-fareast-theme-font: minor-fareast; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA;"&gt;&lt;a href="http://www.microsoft.com/en-us/download/details.aspx?id=39273"&gt;http://www.microsoft.com/en-us/download/details.aspx?id=39273&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;We &lt;/span&gt;&lt;a href="http://blogs.technet.com/b/srd/archive/2013/04/18/introducing-emet-v4-beta.aspx"&gt;&lt;span style="color: #0563c1; font-family: Calibri; font-size: small;"&gt;already mentioned&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt; some of the new features introduced in EMET 4: &lt;strong&gt;Certificate Trust&lt;/strong&gt;, &lt;strong&gt;mitigations improvement hardening&lt;/strong&gt;, and the &lt;strong&gt;Early Warning Program&lt;/strong&gt;. During our beta period we added new features and solved application compatibility issues that have been reported both externally and internally. Below is a summary of the changes and enhancements:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;strong&gt;Redesigned User Interface:&lt;/strong&gt; We realized that with the addition of the new features introduced in EMET 4.0 Beta, the old graphical user interface was not as effective and easy to use. For this reason, we decided to re-design EMET&amp;rsquo;s GUI to facilitate and streamline the configuration operations. We also added the possibility to select the look-and-feel of EMET from a set of skins that we included. Finally, the new user interface is accessible and will change automatically according to your system settings:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-61-47/5270.emetUI.png"&gt;&lt;img style="margin-right: auto; margin-left: auto; display: block;" src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-61-47/5270.emetUI.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p align="center"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;strong&gt;Configuration Wizard:&lt;/strong&gt; We know that configuration can be challenging when installing EMET for the first time. In EMET 3.0 we added the Protection Profiles, which were used to facilitate the initial configuration for applications. With EMET 4.0 we are introducing a Configuration Wizard that will automatically configure EMET with a standard set of SSL certificate pinning rules as well as a list of applications to protect. It also can preserve existing EMET 3.0 settings, and gives the possibility to add standard configuration for the new features. The Configuration Wizard will start automatically during EMET&amp;rsquo;s installation and can also be accessed, at any time, from EMET GUI. Advanced users can choose to apply a standard configuration through the Configuration Wizard and then customize EMET&amp;rsquo;s configuration afterwards according to their needs.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;strong&gt;Changes in Certificate Trust: &lt;/strong&gt;We made a few changes to the Certificate Trust feature, based on users&amp;rsquo; feedback, further internal investigation, and partnership with third party online services. We added a new exception to the SSL certificate pinning rules that if enabled will make EMET verify just the Public Key component of the Root CAs present in the rule without matching subject name and serial number. Additionally, we made the Certificate Trust feature available on 64-bit versions of Internet Explorer. Finally, we added to the previous default rules for Microsoft online services new rules also for Twitter, Facebook, and Yahoo!.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;strong&gt;Updated Group Policy profiles:&lt;/strong&gt; Enterprise customers will notice that we updated our Group Policy profiles to include not only the ability to configure system and application mitigations, but also the reporting mechanisms, the advanced mitigation configurations, and the exploit action.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;If you have EMET 4.0 Beta or EMET 3.5 Technical Preview installed on the system, you will need to uninstall them before installing EMET 4.0, and you will need to remove EMET&amp;rsquo;s configuration from the registry, by deleting the registry hives &lt;em&gt;HKLM\Software\Microsoft\EMET&lt;/em&gt; and, if existing, &lt;em&gt;HKLM\Software\Policies\Microsoft\EMET&lt;/em&gt;. If you have EMET 3.0 installed on the system, you don&amp;rsquo;t need to uninstall it before installing EMET 4.0. The previous version will be uninstalled and at the end of the installation you&amp;rsquo;ll have the opportunity to migrate the existing settings or to reset EMET configuration with the new default settings.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;We want to thank those of you that downloaded EMET 4.0 Beta in the past two months and that provided valuable feedback that greatly helped us finalize EMET 4.0. In particular, we want to thank the Yang Yu from NSFocus security team that reported a technique that allowed to bypass EMET&amp;rsquo;s protections, and Adam Langley and Cem Paya from Google for feedback on the Certificate Trust feature. As said, we received many, many emails, and it would be impossible to name all the people that provided feedback for EMET 4.0 Beta. You know who you are, and we really appreciated your effort in testing EMET and reaching out to us to provide feedback. Again, thank you!&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;We truly hope that you enjoy all the new features that we introduced in EMET 4.0. We will continue working on improving EMET to provide better and better protections against internet attacks for customers and to make it even more user friendly and easy to use.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;-&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;The EMET Team: Ali Rahbar, Chengyun Chu, Cristian Craioveanu, Dan Beenfeldt, Elia Florio, Elias Bachaalany, Gerardo Di Giacomo, Jonathan Ness, Matt Miller, Neil Sikka, Nitin Kumar Goel, Ken Johnson&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3579346" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/srd/archive/tags/EMET/">EMET</category></item><item><title>MS13-051: Get Out of My Office!</title><link>http://blogs.technet.com/b/srd/archive/2013/06/11/ms13-051-get-out-of-my-office.aspx</link><pubDate>Tue, 11 Jun 2013 17:27:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3578175</guid><dc:creator>swiat</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;a href="https://technet.microsoft.com/en-us/security/bulletin/MS13-051"&gt;MS13-051&lt;/a&gt; addresses a security vulnerability in Microsoft Office 2003 and Office for Mac. Newer versions of Microsoft Office for Windows are not affected by this vulnerability, but the newest version of Office for Mac (2011) is affected. We have seen this vulnerability exploited in targeted 0day attacks in the wild. In this blog we&amp;rsquo;ll cover the following aspects:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Technical Details&lt;/li&gt;
&lt;li&gt;Attack Pattern&lt;/li&gt;
&lt;li&gt;Advice for Detection&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="text-decoration: underline;"&gt;Technical Details&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In the Office PNG file parsing code, there is a vulnerability where the length field of a chunk is not correctly checked. The PNG specification (&lt;a href="http://www.w3.org/TR/PNG/#5Chunk-layout"&gt;http://www.w3.org/TR/PNG/#5Chunk-layout&lt;/a&gt;) says &amp;ldquo;Although encoders and decoders should treat the length as unsigned, its value shall not exceed 2^31-1 bytes.&amp;rdquo; However, in the malicious PNG files, we found the length field of a chunk equal to 0xFFFFFFFF. The PNG parsing code correctly treated this field as unsigned (as specified in the PNG spec), but was not catching the case when the value was 0xFFFFFFFF, which if interpreted as an unsigned value, exceeds 2^31-1. Below is what the malicious chunk size looks like (highlighted in yellow):&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-61-47/3660.neil1.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-61-47/3660.neil1.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Shellcode analysis shows that the exploit for this vulnerability was a classic stack based buffer overflow, which wrote far past the end of a buffer on the stack, thereby overwriting control data on the program&amp;rsquo;s stack, eventually leading to high-jacking the program&amp;rsquo;s execution. Older versions of Office/Windows don&amp;rsquo;t have mitigations for these types of exploits, but newer versions of Office/Windows do. This is an example of how running current software can increase an organization&amp;rsquo;s security. We verified also that EMET 3.0 (and above) is able to stop the exploits observed so far, providing an additional mitigation against this specific attack.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="text-decoration: underline;"&gt;Attack Pattern&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The attacks we observed were extremely targeted in nature and were designed to avoid being investigated by security researchers. The malicious samples observed are Office documents (Office 2003 binary format) which do not include the malicious PNG file embedded directly in the document. Rather, the documents reference a malicious PNG file loaded from Internet and hosted on a remote server.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-61-47/8664.neil2.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-61-47/8664.neil2.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Attackers also equipped their servers with scripts which avoid serving the PNG exploit multiple times, in an effort to keep this 0day more concealed. We believe that the limited attacks observed were geographically located mostly in Indonesia and Malaysia.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="text-decoration: underline;"&gt;Advice for Detection &lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The common pattern for all these documents is the filename &amp;ldquo;space.gif&amp;rdquo; used by each malicious file to fetch the remote PNG file containing the exploit. In order to help security vendors and enterprises look for potential indicators and to deliver an effective protection, we are providing some of the URLs used to load the remote PNG exploit and hashes of the malicious Office binary format documents observed in these limited targeted attacks.&lt;/p&gt;
&lt;pre&gt;hXXp://intent.nofrillspace.com/users/web11_focus/4307/space.gif
hXXp://intent.nofrillspace.com/users/web11_focus/3807/space.gif
hXXp://mister.nofrillspace.com/users/web8_dice/3791/space.gif
hXXp://mister.nofrillspace.com/users/web8_dice/4226/space.gif
hXXp://www.bridginglinks.com/somebody/4698/space.gif
hXXp://www.police28122011.0fees.net/pages/013/space.gif
hXXp://zhongguoren.hostoi.com/news/space.gif
&lt;/pre&gt;
&lt;table border="1"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;MD5&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;SHA1&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;fde37e60cc4be73dada0fb1ad3d5f273&lt;/td&gt;
&lt;td&gt;1bdc1a0bc995c1beb363b11b71c14324be8577c9&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2f1ab543b38a7ad61d5dbd72eb0524c4&lt;/td&gt;
&lt;td&gt;2a33542038a85db4911d7b846573f6b251e16b2d&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;7eb17991ed13960d57ed75c01f6f7fd5&lt;/td&gt;
&lt;td&gt;d6a795e839f51c1a5aeabf5c10664936ebbef8ea&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;70511e6e75aa38a4d92cd134caba16ef&lt;/td&gt;
&lt;td&gt;f362feedc046899a78c4480c32dda4ea82a3e8c0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;28e81ca00146165385c8916bf0a61046&lt;/td&gt;
&lt;td&gt;f751cdfaef99c6184f45a563f3d81ff1ada25565&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;35a6bbc6dda6a1b3a1679f166be11154&lt;/td&gt;
&lt;td&gt;f7f1c39b42453f0b27b601f32c0af3cce99f79db&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Thanks to Andrew Lyons and Neel Mehta of &lt;a href="http://www.google.com/"&gt;Google Inc&lt;/a&gt; for the report, and to Elia Florio and Cristian Craioveanu for helping with this case.&lt;/p&gt;
&lt;p&gt;- Neil Sikka, MSRC Engineering&lt;br /&gt; @neilsikka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3578175" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/srd/archive/tags/Attack/">Attack</category><category domain="http://blogs.technet.com/b/srd/archive/tags/detection/">detection</category><category domain="http://blogs.technet.com/b/srd/archive/tags/EMET/">EMET</category></item><item><title>Assessing risk for the June 2013 security updates </title><link>http://blogs.technet.com/b/srd/archive/2013/06/11/assessing-risk-for-the-june-2013-security-updates.aspx</link><pubDate>Tue, 11 Jun 2013 15:59:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3578149</guid><dc:creator>swiat</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Today we released five security bulletins addressing 23 CVE&amp;rsquo;s. One bulletin has a maximum severity rating of Critical, and four have a maximum severity rating of Important. We hope that the table below helps you prioritize the deployment of the updates appropriately for your environment.&lt;/p&gt;
&lt;table border="1"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Bulletin&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Most likely attack vector&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Max Bulletin Severity&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Max Exploit-ability rating&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Likely first 30 days impact&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Platform mitigations and key notes&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="http://technet.microsoft.com/en-us/security/bulletin/MS13-047"&gt;MS13-047&lt;/a&gt;
&lt;p&gt;(Internet Explorer)&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;Victim browses to a malicious webpage.&lt;/td&gt;
&lt;td&gt;Critical&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;Likely to see reliable exploits developed within next 30 days.&lt;/td&gt;
&lt;td&gt;19 CVE&amp;rsquo;s being addressed.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="http://technet.microsoft.com/en-us/security/bulletin/MS13-051"&gt;MS13-051&lt;/a&gt;
&lt;p&gt;(Office 2003)&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;Victim opens malicious Office document.&lt;/td&gt;
&lt;td&gt;Important&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;Limited, targeted attacks seen exploiting single CVE addressed by this update.&lt;/td&gt;
&lt;td&gt;Affects Office 2003 and Office for Mac 2011. See &lt;a href="http://blogs.technet.com/b/srd/archive/2013/06/11/ms13-051-get-out-of-my-office.aspx"&gt;this SRD blog post&lt;/a&gt; for more information about the attacks.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="http://technet.microsoft.com/en-us/security/bulletin/MS13-049"&gt;MS13-049&lt;/a&gt;
&lt;p&gt;(Windows networking)&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;Attacker establishes thousands of connections of a certain type to victim listening on a TCP/IP port, exhausting non-paged pool memory. This causes a denial of service condition where networking stack (or entire system) must be restarted.&lt;/td&gt;
&lt;td&gt;Important&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;No chance for direct code execution. Denial of service only.&lt;/td&gt;
&lt;td&gt;Can only be triggered from the local machine on Windows Vista, Windows Server 2008, Windows 7, and Windows Server 2008 R2. Rated Moderate on those platforms.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="http://technet.microsoft.com/en-us/security/bulletin/MS13-050"&gt;MS13-050&lt;/a&gt;
&lt;p&gt;(Print spooler)&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;Attacker who is already running code on a machine uses this vulnerability to elevate from low-privileged account to SYSTEM.&lt;/td&gt;
&lt;td&gt;Important&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;Likely to see reliable exploits developed for denial-of-service within next 30 days.&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="http://technet.microsoft.com/en-us/security/bulletin/MS13-048"&gt;MS13-048&lt;/a&gt;
&lt;p&gt;(Windows kernel)&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;Attacker who is already running code on a machine uses this vulnerability to bugcheck machine or leak kernel memory addresses.&lt;/td&gt;
&lt;td&gt;Important&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;No chance for direct code execution. Denial of service or information disclosure only.&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;- Jonathan Ness, MSRC Engineering&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3578149" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/srd/archive/tags/Attack+Vector/">Attack Vector</category><category domain="http://blogs.technet.com/b/srd/archive/tags/Risk+Asessment/">Risk Asessment</category></item><item><title>Java: A Fix it for when you cannot let go</title><link>http://blogs.technet.com/b/srd/archive/2013/05/29/java-when-you-cannot-let-go.aspx</link><pubDate>Wed, 29 May 2013 14:30:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3575411</guid><dc:creator>swiat</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;There is much to say about the use of Java in both consumer and enterprise environments. Like any other platforms, it has both devoted supporters and fervent critics. But for most, Java is a requirement, a means to an end.&lt;/p&gt;
&lt;p&gt;In the past few years, Java as a platform has been the &lt;a href="http://blogs.technet.com/b/mmpc/archive/2013/05/12/updated-data-shows-prevalence-of-java-malware-in-2012.aspx"&gt;target&lt;/a&gt; of numerous malware attacks, which exploit a number of Java runtime vulnerabilities on the target machines. The rise in Java exploitation has been attributed largely to unpatched software, although 0-day issues do creep in occasionally.&lt;/p&gt;
&lt;p&gt;Fortunately, there are steps that can be taken to mitigate some of these issues. Oracle is &lt;a href="https://blogs.oracle.com/java/entry/imp_your_applets_and_web" target="_blank"&gt;providing&lt;/a&gt;&amp;nbsp;a series of measures to prevent unauthorized Java Applets and Web Start Applications from running by requiring them to be signed with a trusted certificate. This is a great start. However, not everybody runs an up-to-date version of Java runtime. For a long time, Java updates used to install side-by-side with older versions. That&amp;rsquo;s no longer the case, but the problem of unpatched software persists. In addition, there are legacy apps that require an older platform to run.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What can be done about this? If you need to run Java inside a browser, not much -- keep your software up to date and visit only trusted websites. If you only care about running Java desktop apps, there are a few mitigation steps that allow the customer to disable Java support inside your browser, leaving desktop functionality intact.&amp;nbsp;These steps will&amp;nbsp;remove&amp;nbsp;a prevalent remote exploit vector, but at the same time keep Java installed for local applications. This subject has been covered elsewhere; for instance, &lt;a href="http://blogs.technet.com/controlpanel/blogs/posteditor.aspx/Christopher%20Pelletierhttp:/www.kb.cert.org/vuls/id/636312#disable_java_in_IE"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Our customers tell us that the most effective mitigation tactics are both complete (covering all software&amp;nbsp;versions, past and current) and friendly to enterprises, which face complex deployment issues. In order to address these concerns, we have issued an update to &lt;a href="http://support.microsoft.com/kb/2751647"&gt;KB2751647 &amp;ndash; How to disable Java web plugin in Internet Explorer&lt;/a&gt;. We are making available a &amp;ldquo;Microsoft Fix it&amp;rdquo; solution to block all Java web-attack vectors through Internet Explorer. The solution will work for all versions of Java (tested 5 and above) and all supported versions of Internet Explorer (32-bit or 64-bit):&lt;/p&gt;
&lt;div align="center"&gt;
&lt;table style="width: 75%;" border="1" cellpadding="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p align="center"&gt;&lt;strong&gt;Apply Fix it&lt;/strong&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p align="center"&gt;&lt;strong&gt;Uninstall Fix it&lt;/strong&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p align="center"&gt;&lt;a href="http://go.microsoft.com/?linkid=9831264"&gt;&lt;img style="border: 0px currentColor;" title="Microsoft Fix it 50994" src="http://blogs.technet.com/resized-image.ashx/__size/142x54/__key/communityserver-blogs-components-weblogfiles/00-00-00-61-47/0574.fixit.png" alt="Microsoft Fix it 50994" /&gt;&lt;/a&gt;&lt;br /&gt;&amp;nbsp; &lt;a title="Microsoft Fix it 50994" href="http://go.microsoft.com/?linkid=9831264"&gt;Microsoft Fix it 50994&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p align="center"&gt;&lt;a href="http://go.microsoft.com/?linkid=9831265"&gt;&lt;img style="border: 0px currentColor;" title="Microsoft Fix it 50995" src="http://blogs.technet.com/resized-image.ashx/__size/142x54/__key/communityserver-blogs-components-weblogfiles/00-00-00-61-47/0574.fixit.png" alt="Microsoft Fix it 50995" /&gt;&lt;/a&gt;&lt;br /&gt;&amp;nbsp; &lt;a title="Microsoft Fix it 50995" href="http://go.microsoft.com/?linkid=9831265"&gt;Microsoft Fix it 50995&amp;nbsp;&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p&gt;The Fix it solution consists of two parts. The first&amp;nbsp;makes use of Windows Application Compatibility Toolkit, changing the behavior of Internet Explorer at runtime so that it will prevent the load of Oracle&amp;rsquo;s Java Web plugins. This is achieved by hooking all LoadLibrary* functions so that they return NULL (last error ERROR_FILE_NOT_FOUND) when attempting to load all Java ActiveX dlls (&lt;em&gt;npjpi*.dll&lt;/em&gt;, &lt;em&gt;jp2iexp.dll&lt;/em&gt;). The second part&amp;nbsp;prevents Internet Explorer from automatically opening JNLP files. It does this by clearing the ACL (access control list) of the JNLP protocol handler registry location (HKCR\JNLPFile), thus preventing all user apps from reading its contents.&lt;/p&gt;
&lt;p&gt;This solution covers current and past versions of Java, as well as foreseeable future versions. It does not interfere with Java&amp;rsquo;s update mechanism either. In fact, the Fix it works as expected even if installed prior to any installation of Java. It can also be easily deployed making use of the non-interactive options of &lt;em&gt;msiexec&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;A mitigation.&lt;br /&gt;When you cannot let go, block&lt;br /&gt;Java in IE &lt;/em&gt;&lt;/p&gt;
&lt;p&gt;- Cristian Craioveanu, MSRC Engineering, with help and support from Elia Florio and Gerardo Di Giacomo (thank you!)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3575411" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/srd/archive/tags/Mitigations/">Mitigations</category><category domain="http://blogs.technet.com/b/srd/archive/tags/FixIt/">FixIt</category></item><item><title>A few more days before EMET 4</title><link>http://blogs.technet.com/b/srd/archive/2013/05/28/a-few-more-days-before-emet-4.aspx</link><pubDate>Wed, 29 May 2013 00:14:21 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3575261</guid><dc:creator>swiat</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="font-size: small;"&gt;On May 8&lt;/span&gt;&lt;sup&gt;&lt;span style="font-size: x-small;"&gt;th&lt;/span&gt;&lt;/sup&gt;&lt;span style="font-size: small;"&gt;, we &lt;/span&gt;&lt;/span&gt;&lt;a href="http://blogs.technet.com/b/srd/archive/2013/05/08/emet-4-0-s-certificate-trust-feature.aspx"&gt;&lt;span style="color: #0563c1; font-family: Calibri; font-size: small;"&gt;announced&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="font-size: small;"&gt; that EMET 4 would have been released today, May 28&lt;/span&gt;&lt;sup&gt;&lt;span style="font-size: x-small;"&gt;th&lt;/span&gt;&lt;/sup&gt;&lt;span style="font-size: small;"&gt;. Since that day, we had additional feedback and we are working on a few things that are requiring a little bit more time than expected.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;This considered, we are not releasing EMET 4 today, and we will take a few more days to have everything prepared for the final release. We are sure that you will not be disappointed by the additions we are working on before the final release.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Also, at this point we don&amp;rsquo;t want to give a new release date yet, but expect to see EMET 4 in the next few days.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Stay tuned!&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;-&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;The EMET Team.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3575261" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/srd/archive/tags/EMET/">EMET</category></item><item><title>MS13-037 addressing Pwn2own vulnerabilities</title><link>http://blogs.technet.com/b/srd/archive/2013/05/14/ms13-037-addressing-pwn2own-vulnerabilities.aspx</link><pubDate>Tue, 14 May 2013 17:25:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3572653</guid><dc:creator>swiat</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;MS13-037 addresses a number of vulnerabilities in Internet Explorer, several of which were reported to us by the TippingPoint Zero Day Initiative (ZDI) program. We&amp;rsquo;ve gotten questions from customers about the specific vulnerabilities purchased by ZDI from the CanSecWest pwn2own contest. We&amp;rsquo;d like to use this blog post to provide more background on the set of vulnerabilities required for an attacker to exploit modern-day browsers and the state of fixes for those specific vulnerabilities.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Exploiting recent versions of Internet Explorer&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Several years ago, a single memory corruption style vulnerability in the browser could be directly leveraged to compromise a system, could be used to run code in the context of the browsing user. Microsoft has invested heavily in platform-level mitigations for client-side applications such as browsers to the extent that today multiple different vulnerabilities must now be discovered and chained together in an exploit to compromise a system. A single memory corruption style vulnerability is just the start of an attacker&amp;rsquo;s discovery process. Typically, the attacker would need to also need to bypass ASLR and discover a way out of the IE Protected Mode limited code execution environment.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Pwn2own 2013&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;ZDI reported five separate vulnerabilities to Microsoft as a result of the contest:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;VUPEN&amp;rsquo;s IE10 exploit&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;IE10 memory corruption style remote code execution vulnerability (CVE-2013-2551)&lt;/li&gt;
&lt;li&gt;IE post-exploitation Low Integrity -&amp;gt; Medium Integrity escalation (CVE-2013-2552)&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;MWR Labs (Jon Butler and Nils) Chrome exploit&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Windows kernel elevation of privilege to escape sandbox (CVE-2013-2553)&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;VUPEN's FireFox exploit&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Windows LDRHotpatch ASLR/DEP bypass (CVE-2013-2554)&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;VUPEN's Adobe Flash exploit&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;IE9 broker issue used in the exploit for Adobe Flash (CVE-2013-2556)&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Status of security updates&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;MS13-037 addresses the two Internet Explorer vulnerabilities used in the VUPEN exploit. The Windows vulnerabilities and the IE9 broker issue will be addressed in a future security update cycle. Here&amp;rsquo;s a chart that describes the state of fixes and level of exposure for these vulnerabilities provided to us by the ZDI.&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;strong&gt;CVE-2013-2551&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;CVE-2013-2553&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;CVE-2013-2552&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;CVE-2013-2554&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;CVE-2013-2556&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;IE10&lt;/td&gt;
&lt;td bgcolor="green"&gt;Fixed
&lt;p&gt;(MS13-037)&lt;/p&gt;
&lt;/td&gt;
&lt;td bgcolor="blue"&gt;Not Affected&lt;/td&gt;
&lt;td bgcolor="green"&gt;Fixed
&lt;p&gt;(MS13-037)&lt;/p&gt;
&lt;/td&gt;
&lt;td bgcolor="blue"&gt;Not Affected&lt;/td&gt;
&lt;td bgcolor="blue"&gt;Not Affected&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;IE9&lt;/td&gt;
&lt;td bgcolor="green"&gt;Fixed
&lt;p&gt;(MS13-037)&lt;/p&gt;
&lt;/td&gt;
&lt;td bgcolor="blue"&gt;Not Affected&lt;/td&gt;
&lt;td bgcolor="green"&gt;Fixed
&lt;p&gt;(MS13-037)&lt;/p&gt;
&lt;/td&gt;
&lt;td bgcolor="blue"&gt;Not Affected&lt;/td&gt;
&lt;td&gt;Update Pending&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Windows 8&lt;/td&gt;
&lt;td bgcolor="blue"&gt;Not affected&lt;/td&gt;
&lt;td&gt;Update Pending&lt;/td&gt;
&lt;td bgcolor="blue"&gt;Not Affected&lt;/td&gt;
&lt;td bgcolor="blue"&gt;Not Affected&lt;/td&gt;
&lt;td bgcolor="blue"&gt;Not Affected&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Windows 7&lt;/td&gt;
&lt;td bgcolor="blue"&gt;Not affected&lt;/td&gt;
&lt;td&gt;Update Pending&lt;/td&gt;
&lt;td bgcolor="blue"&gt;Not Affected&lt;/td&gt;
&lt;td&gt;Update Pending&lt;/td&gt;
&lt;td bgcolor="blue"&gt;Not Affected&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;As you can see, MS13-037 addresses the primary or initial code execution vulnerabilities but we still are working on the updates to address other vulnerabilities used as part of the exploit chains to win pwn2own. Thankfully, ZDI reported those vulnerabilities directly to us and we don&amp;rsquo;t have any reason to believe that ZDI or the researchers who discovered these vulnerabilities have disclosed the vulnerability details to any third party. So we typically treat the pwn2own vulnerabilities as any other vulnerability report received as part of the coordinated vulnerability discovery process. It&amp;rsquo;s super interesting for us as security researchers ourselves to see the ingenuity displayed during the contest to exploit the hardest targets out there (!!) but its the severity of the vulnerabilities (not necessarily their debut as part of the contest) that guides our prioritization of fixes.&lt;/p&gt;
&lt;p&gt;Each bulletin lists our &amp;ldquo;official&amp;rdquo; acknowledgement and thanks to the researchers and third parties involved in discovering and reporting these vulnerabilities to Microsoft. But today from everyone on the SRD team, we want to also pass along our thanks and a hat tip to the pwners out there &amp;ndash; really impressive job on these vulns, guys. Thanks for helping us make the platform stronger.&lt;/p&gt;
&lt;p&gt;- Jonathan Ness, MSRC Engineering and William Peteroy, MSRC&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3572653" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/srd/archive/tags/exploitation/">exploitation</category><category domain="http://blogs.technet.com/b/srd/archive/tags/CanSecWest/">CanSecWest</category></item><item><title>Assessing risk for the May 2013 security updates </title><link>http://blogs.technet.com/b/srd/archive/2013/05/14/assessing-risk-for-the-may-2013-security-updates.aspx</link><pubDate>Tue, 14 May 2013 17:14:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3572647</guid><dc:creator>swiat</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Today we released ten security bulletins addressing 33 CVE&amp;rsquo;s. Two of the bulletins have a maximum severity rating of Critical, and eight have a maximum severity rating of Important. We hope that the table below helps you prioritize the deployment of the updates appropriately for your environment.&lt;/p&gt;
&lt;table border="1"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Bulletin&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Most likely attack vector&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Max Bulletin Severity&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Max Exploit-ability&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Likely first 30 days impact&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Platform mitigations and key notes&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://technet.microsoft.com/en-us/security/bulletin/MS13-038"&gt;MS13-038&lt;/a&gt;
&lt;p&gt;(Internet Explorer 8)&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;Victim browses to a malicious webpage.&lt;/td&gt;
&lt;td&gt;Critical&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;CVE-2013-1347 currently being exploited in active attacks.&lt;/td&gt;
&lt;td&gt;Addresses the issue that was first discovered as an exploit on the US Department of Labor website. Includes the IE8 mshtml.dll from MS13-037 + one additional fix for CVE-2013-1347.
&lt;p&gt;Vulnerable code is also present in IE9 but not vulnerable in same way. Update for IE9 is included as defense-in-depth measure.&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://technet.microsoft.com/en-us/security/bulletin/MS13-037"&gt;MS13-037&lt;/a&gt;
&lt;p&gt;(Internet Explorer)&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;Victim browses to a malicious webpage.&lt;/td&gt;
&lt;td&gt;Critical&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;Likely to see reliable exploits developed within next 30 days.&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://technet.microsoft.com/en-us/security/bulletin/MS13-039"&gt;MS13-039&lt;/a&gt;
&lt;p&gt;(HTTP.sys)&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;Attacker sends malicious HTTP request to victim IIS server, creating a resource exhaustion denial-of-service.&lt;/td&gt;
&lt;td&gt;Important&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;Likely to see reliable exploits developed for denial-of-service within next 30 days.&lt;/td&gt;
&lt;td&gt;Most likely target would be Windows Server 2012 web servers. Windows Server 2003, 2008, 2008 R2 not affected.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://technet.microsoft.com/en-us/security/bulletin/MS13-042"&gt;MS13-042&lt;/a&gt;
&lt;p&gt;(Publisher)&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;Victim opens malicious .PUB file&lt;/td&gt;
&lt;td&gt;Important&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;Likely to see reliable exploits developed for denial-of-service within next 30 days.&lt;/td&gt;
&lt;td&gt;11 CVE&amp;rsquo;s affecting primarily Publisher 2003. One affects Publisher 2007 and Publisher 2010. None affect Publisher 2013.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://technet.microsoft.com/en-us/security/bulletin/MS13-046"&gt;MS13-046&lt;/a&gt;
&lt;p&gt;(Kernel mode drivers, win32k.sys and dxgkrnl.sys)&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;Attacker who is already running code on a machine uses one of these vulnerabilities to elevate from low-privileged account to SYSTEM.&lt;/td&gt;
&lt;td&gt;Important&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;Difficult to build reliable exploit code for this vulnerability.&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://technet.microsoft.com/en-us/security/bulletin/MS13-043"&gt;MS13-043&lt;/a&gt;
&lt;p&gt;(Word 2003)&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;Victim opens malicious .doc file&lt;/td&gt;
&lt;td&gt;Important&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;Difficult to build reliable exploit code for this vulnerability.&lt;/td&gt;
&lt;td&gt;Does not affect Word 2007, Word 2010, Word 2013, Word Web Apps, or Office for Mac.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://technet.microsoft.com/en-us/security/bulletin/MS13-041"&gt;MS13-041&lt;/a&gt;
&lt;p&gt;(Lync)&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;Victim accepts an incoming Lync chat invitation and then agrees to view a shared program or shared content presented by the attacker.&lt;/td&gt;
&lt;td&gt;Important&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;Difficult to build reliable exploit code for this vulnerability.&lt;/td&gt;
&lt;td&gt;Cannot be exploited via regular Lync chat. Requires victim agreeing to view shared content.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://technet.microsoft.com/en-us/security/bulletin/MS13-044"&gt;MS13-044&lt;/a&gt;
&lt;p&gt;(Visio)&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;Victim opens malicious SVG image on system where Visio is installed. Through a sequence of events, Visio can be tricked into automatically sending the contents of a local file to a remote server.&lt;/td&gt;
&lt;td&gt;Important&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;No direct code execution. This is an information disclosure vulnerability only.&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://technet.microsoft.com/en-us/security/bulletin/MS13-045"&gt;MS13-045&lt;/a&gt;
&lt;p&gt;(Windows Writer)&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;Victim clicks on a malicious wlw:// URL, opening Windows Writer (blogging software) and causing it to potentially overwrite local files writable by the logged-in user.&lt;/td&gt;
&lt;td&gt;Important&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;No direct code execution.&lt;/td&gt;
&lt;td&gt;After clicking on the prompt, user prompted to open Windows Writer. Vulnerability can only be triggered after user agrees to open Windows Writer.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://technet.microsoft.com/en-us/security/bulletin/MS13-040"&gt;MS13-040&lt;/a&gt;
&lt;p&gt;(.NET Framework)&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;.NET Framework&amp;rsquo;s process to verify digital signature of XML can potentially be tricked into accepting unsigned XML as signed when first presented with signed XML.&lt;/td&gt;
&lt;td&gt;Important&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;No direct code execution. This is a spoofing threat.&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;- Jonathan Ness, MSRC Engineering&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3572647" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/srd/archive/tags/Mitigations/">Mitigations</category><category domain="http://blogs.technet.com/b/srd/archive/tags/rating/">rating</category><category domain="http://blogs.technet.com/b/srd/archive/tags/Risk+Asessment/">Risk Asessment</category></item><item><title>Microsoft "Fix it" available to mitigate Internet Explorer 8 vulnerability</title><link>http://blogs.technet.com/b/srd/archive/2013/05/08/microsoft-quot-fix-it-quot-available-to-mitigate-internet-explorer-8-vulnerability.aspx</link><pubDate>Wed, 08 May 2013 23:13:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3571500</guid><dc:creator>swiat</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Today, we are making available a &amp;ldquo;Microsoft Fix it&amp;rdquo; solution to block attacks leveraging the Internet Explorer 8 (IE8) vulnerability described in &lt;a href="http://technet.microsoft.com/en-us/security/advisory/2847140"&gt;Security Advisory 2847140&lt;/a&gt;. This code-signed, easily downloadable and install-able Fix it package uses the Windows application compatibility toolkit to make a small change at runtime to mshtml.dll every time IE is loaded. Here are the links to both apply and uninstall the Fix it solution:&lt;span style="text-align: center;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;table class="table" style="width: 75%; margin-right: auto; margin-left: auto;" border="1"&gt;
&lt;tbody&gt;
&lt;tr class="tr"&gt;&lt;th class="th"&gt;Apply Fix it&lt;/th&gt;&lt;th class="th"&gt;Uninstall Fix it&lt;/th&gt;&lt;/tr&gt;
&lt;tr class="tr"&gt;
&lt;td class="td"&gt;
&lt;div align="center"&gt;&lt;a href="http://go.microsoft.com/?linkid=9830418"&gt;&lt;img style="border: 0px currentColor;" title="Microsoft Fix it 50992" src="http://blogs.technet.com/resized-image.ashx/__size/142x54/__key/communityserver-blogs-components-weblogfiles/00-00-00-61-47/0574.fixit.png" alt="Microsoft Fix it 50992" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a title="Microsoft Fix it 50992" href="http://go.microsoft.com/?linkid=9830418"&gt;Microsoft Fix it 50992&lt;/a&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;td class="td"&gt;
&lt;div align="center"&gt;&lt;a href="http://go.microsoft.com/?linkid=9830419"&gt;&lt;img style="border: 0px currentColor;" title="Microsoft Fix it 50991" src="http://blogs.technet.com/resized-image.ashx/__size/142x54/__key/communityserver-blogs-components-weblogfiles/00-00-00-61-47/0574.fixit.png" alt="Microsoft Fix it 50991" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a title="Microsoft Fix it 50991" href="http://go.microsoft.com/?linkid=9830419"&gt;Microsoft Fix it 50991&lt;/a&gt;&amp;nbsp;&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;In this blog post, we&amp;rsquo;d like to describe the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;More information about the progress toward a comprehensive security update&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;More information about workaround options to disrupt exploits leveraging this vulnerability&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;More information about how the Fix it solution works&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Comprehensive update in testing now&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;We have built a comprehensive security update that addresses this vulnerability and it is currently being tested around-the-clock. We will release it as soon as testing confirms it is ready for broad release to all customers. &amp;nbsp;Tomorrow, please visit our monthly Advance Notification Service (ANS) blog for details on the Security Updates being released in May&amp;rsquo;s Security Bulletin cycle.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Workaround options&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;As listed in &lt;a href="http://technet.microsoft.com/en-us/security/advisory/2847140"&gt;Security Advisory 2847140&lt;/a&gt; and &lt;a href="http://www.cert.org/blogs/certcc/2013/05/keep_calm_and_deploy_emet.html"&gt;confirmed externally&lt;/a&gt;, Microsoft&amp;rsquo;s Enhanced Mitigation Experience Toolkit (EMET) is a good workaround option for the in-the-wild attacks and public pentest framework that we have seen. The exploit version in the pentest framework that target Windows Vista and Windows 7 leverages a DLL module installed by Java 6 to bypass ASLR. EMET&amp;rsquo;s Mandatory ASLR feature blocks this exploit by enforcing ASLR randomization for this DLL when it gets loaded by IE8. At the moment, we are aware of a limited number of attacks in the wild and they target IE8 on Windows XP only. These exploits currently used by attackers are also blocked both by EMET&amp;rsquo;s EAF mitigation and by the EMET 3.5 TP and 4.0 Beta anti-ROP mitigations. The first ROP stage triggers EMET&amp;rsquo;s StackPointer, CallerCheck and SimExecFlow checks. &amp;nbsp;Enterprises already using EMET can anlyze their machine logs to investigate possible exploitation events for this exploit reported by EMET mitigations.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-61-47/0755.rop.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-61-47/0755.rop.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For a stronger level of protection, we recommend &lt;a href="http://support.microsoft.com/kb/2847140"&gt;installing the Fix it solution&lt;/a&gt; until the comprehensive security update is available. The Fix it applies changes to the mshtml loaded binary, similar to the changes applied by the IE team&amp;rsquo;s comprehensive security update. &amp;nbsp;More information about the vulnerability, and how it is blocked by the Fix it, can be found in the next section.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;How the Fix it &amp;ldquo;fixes&amp;rdquo; the vulnerable code&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The vulnerability is exposed due to a page layout issue, triggered when Internet Explorer 8 is trying to calculate layout information for nodes no longer in the DOM tree. The issue is caused by layout structures that are not properly cleaned up and contain dangling pointers to page elements. When the layout is updated, the browser crashes due to accessing the freed memory. The code that cleans up the dead links already exists, but it runs after the layout structures are accessed. The solution is to move the cleanup logic before the layout structure access.&lt;/p&gt;
&lt;p&gt;The appcompat shim-based &amp;ldquo;Fix it&amp;rdquo; protection tool does the exact same thing as the fix provided by the Internet Explorer team. This is still a workaround, but more surgical as compared to other workarounds because it blocks the root cause of the vulnerability. The shim modifies in memory the mshtml!CBlockContainerBlock::BuildBlockContainer function in order to force the code flow change that results in the layout structures being properly cleaned up before access:&lt;/p&gt;
&lt;pre&gt;      InjectLoopHere:            CODE XREF: CBlockContainerBlock::BuildBlockContainer+103

match:74CC08DC 8B 45 08          mov     eax, [ebp+arg_0]     Inject code here!!
match:74CC08DF 8B 40 08          mov     eax, [eax+8]
patch:74CC08DC E9 ?? ?? ?? ??    jmp     WhilepNextExistingBlock2
patch:74CC08E1 90                nop

      ResumeExecution:
.text:74CC08E2 C1 E8 0A          shr     eax, 0Ah
.text:74CC08E5 A8 01             test    al, 1
.text:74CC08E7 0F 85 FB 8E FD FF jnz     loc_74C997E8


      WhilepNextExistingBlock:   CODE XREF: CBlockContainerBlock::BuildBlockContainer-6C6CE
.text:74CC094E 39 7D F4          cmp     [ebp+pNextExistingBlock], edi 
.text:74CC0951 0F 85 38 36 F9 FF jnz     LoopToRelocate


      LoopToRelocate:            CODE XREF: CBlockContainerBlock::BuildBlockContainer+2DF
.text:74C53F8F FF 75 F4          push    [ebp+pNextExistingBlock]
.text:74C53F92 8B 4D 0C          mov     ecx, [ebp+arg_4]
.text:74C53F95 FF 75 08          push    [ebp+arg_0]
.text:74C53F98 8D 55 F4          lea     edx, [ebp+pNextExistingBlock]
.text:74C53F9B E8 2B 64 0A 00    call    CLayoutBlock::RemoveChild ; layout structure cleanup
.text:74C53FA0 8B F0             mov     esi, eax
.text:74C53FA2 3B F7             cmp     esi, edi

match:74C53FA4 0F 8D A4 C9 06 00 jge     WhilepNextExistingBlock
patch:74C53FA4 E9 ?? ?? ?? ??    jmp     CLOBBER_NOPS_PATCH_BYTES
patch:74C53FA9 90                nop

.text:74C53FAA E9 25 58 04 00    jmp     CHK_FAIL
.text:74C53FAA                   END OF FUNCTION CHUNK CBlockContainerBlock::BuildBlockContainer


      CLOBBER_NOPS_PATCH_BYTES:
patch:???????? 7D 07             jge     WhilepNextExistingBlock3
patch:???????? E9 ?? ?? ?? ??    jmp     CHK_FAIL
      WhilepNextExistingBlock2:
patch:???????? 33 FF             xor     edi, edi
      WhilepNextExistingBlock3:
patch:???????? 39 7D F4          cmp     [ebp+pNextExistingBlock], edi  
patch:???????? 0F 85 ?? ?? ?? ?? jnz     LoopToRelocate
patch:???????? 8B 45 08          mov     eax, [ebp+arg_0]  
patch:???????? 8B 40 08          mov     eax, [eax+8]
patch:???????? E9 ?? ?? ?? ??    jmp     ResumeExecution
&lt;/pre&gt;
&lt;p&gt;The &amp;ldquo;Fix it&amp;rdquo; solution will apply only for the x86 versions of Internet Explorer 8 that have applied &lt;a href="http://support.microsoft.com/kb/2817183"&gt;MS13-028: Cumulative Security Update for Internet Explorer: April 9, 2013&lt;/a&gt;. Applying this workaround will not interfere with the installation of the final security update that will address this issue. However, applying the workaround will have a small effect on the startup time of Internet Explorer. Therefore, after you apply the yet-to-be-released final security update, you should uninstall the Fix it workaround as it will no longer be needed.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt; Conclusion&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;We want to reiterate that only IE8 is vulnerable to this issue and we currently see only limited attacks. We are hard at work developing a comprehensive security update. Tomorrow, please review our monthly Advance Notification Service (ANS) blog for details on the Security Updates being released in May&amp;rsquo;s Security Bulletin cycle. In the meantime, feel free to reach out to us with any questions on the above. You can contact us at switech@microsoft.com or secure@microsoft.com.&lt;/p&gt;
&lt;p&gt;Special thanks to Elia Florio for his work analyzing exploits for this vulnerability.&lt;/p&gt;
&lt;p&gt;- Cristian Craioveanu and Jonathan Ness, MSRC Engineering&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3571500" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/srd/archive/tags/Workarounds/">Workarounds</category><category domain="http://blogs.technet.com/b/srd/archive/tags/Internet+Explorer+_2800_IE_2900_/">Internet Explorer (IE)</category><category domain="http://blogs.technet.com/b/srd/archive/tags/Zero_2D00_Day+Exploit/">Zero-Day Exploit</category><category domain="http://blogs.technet.com/b/srd/archive/tags/EMET/">EMET</category></item><item><title>EMET 4.0's Certificate Trust Feature</title><link>http://blogs.technet.com/b/srd/archive/2013/05/08/emet-4-0-s-certificate-trust-feature.aspx</link><pubDate>Wed, 08 May 2013 16:18:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3571421</guid><dc:creator>swiat</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Three weeks ago, we &lt;a href="http://blogs.technet.com/b/srd/archive/2013/04/18/introducing-emet-v4-beta.aspx"&gt;released a beta version of EMET 4.0&lt;/a&gt; to get feedback on the new EMET features and to get more real-world testing before the official release. We have been amazed and so grateful for the thousands of downloads and&amp;nbsp;&lt;span style="text-decoration: underline;"&gt;&lt;em&gt;hundreds&lt;/em&gt;&lt;/span&gt; of emails with feature suggestions, bug reports, questions about the new features, and kind words cheering us on. Thank you (!!) to those of you who are helping us make EMET 4.0 a great release. Seeing how much the community of defenders cares about this product drives and motivates us to make it awesome! With this blog post, we want to give you an update on the EMET schedule and walk through the steps to leverage EMET 4.0&amp;rsquo;s new Certificate Trust feature.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Official release delayed two weeks to May 28, 2013&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;We have acted on and addressed a number of bug reports and points of feedback already. One of the most important was a vulnerability first reported by TK of NSFocus where having EMET loaded made exploitation of system vulnerabilities easier &amp;ndash; that is fixed. We also received the &amp;ldquo;Agent not running&amp;rdquo; bug report several times and that is addressed for the final release of EMET 4.0. We are fixing several application compatibility issues reported that we otherwise would be unlikely to have discovered on our own pre-release. Your feedback is making EMET 4.0 a better product &amp;ndash; thank you!&lt;/p&gt;
&lt;p&gt;We want to make product changes to address more of the feedback before we release EMET 4.0 to the world. So we decided to postpone the release of final version of EMET 4.0 by two weeks, to May 28th, 2013. We are sorry if this decision may interfere with your future plans of deploying EMET, but we prefer to take some extra time to work on all the feedback received and to release a product as reliable and safe as possible.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;EMET and certificate pinning&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;As you may know EMET 4.0 implements a new protection feature known also as &amp;ldquo;certificate pinning&amp;rdquo; which in its simplest form could be described as a method of associating an X509 certificate (and its public key) to a specific Certification Authority (root or leaf).&lt;/p&gt;
&lt;p&gt;Certificate pinning and certificate cross-validation became two very popular topic in recent years because of the major incidents and fault happened in the PKI space; in fact the current PKI and Certification Authorities model has demonstrated some limits and shown critical issues when scaled to a globalized and fully interconnected world where it&amp;rsquo;s not entirely safe to assume that every CA in the world is immune from breach, errors or poor practices as clearly showed by the table below which summarizes the most significant PKI issues seen so far. On the other hand the reason why users should care about certificate pinning is the fact that the numbers of CA across the world and located in multiple countries has grown significantly in recent years and the entire PKI model works with the assumption that all these CA will always operate with the same level of trust and confidence.&lt;/p&gt;
&lt;table border="1"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Date&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;SECURITY ADVISORY&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;SECURITY ADVISORY (LINK)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;DETAILS&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Mar 2011&lt;/td&gt;
&lt;td&gt;KB2524375&lt;/td&gt;
&lt;td&gt;&lt;a href="http://technet.microsoft.com/en-us/security/advisory/2524375"&gt;http://technet.microsoft.com/en-us/security/advisory/2524375&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;nine fraudulent digital certificates issued by Comodo&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Aug 2011&lt;/td&gt;
&lt;td&gt;KB2607712&lt;/td&gt;
&lt;td&gt;&lt;a href="http://technet.microsoft.com/en-us/security/advisory/2607712"&gt;http://technet.microsoft.com/en-us/security/advisory/2607712&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;[&amp;hellip;] at least one fraudulent digital certificate issued by DigiNotar&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Nov 2011&lt;/td&gt;
&lt;td&gt;KB2641690&lt;/td&gt;
&lt;td&gt;&lt;a href="http://technet.microsoft.com/en-us/security/advisory/2641690"&gt;http://technet.microsoft.com/en-us/security/advisory/2641690&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;DigiCert Sdn. Bhd, a Malaysian subordinate certification authority (CA) [&amp;hellip;] has issued 22 certificates with weak 512 bit keys&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Jan 2013&lt;/td&gt;
&lt;td&gt;KB2798897&lt;/td&gt;
&lt;td&gt;&lt;a href="http://technet.microsoft.com/en-us/security/advisory/2798897"&gt;http://technet.microsoft.com/en-us/security/advisory/2798897&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;one fraudulent digital certificate issued by TURKTRUST Inc.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;For this reason EMET 4.0 decided to take a little step far from the traditional exploit mitigation area and introduces a new feature called Certificate Trust to allow anyone to create pinning rules for any SSL/TLS website certificate, giving the ability to detect Man-In-The-Middle attacks leveraging untrusted certificates. EMET 4.0 comes with Certificate Trust enabled by default, including a set of pre-configured websites for the most common domains used by Microsoft online services; nevertheless, since we believe that certificate pinning is a useful tool to detect MITM attacks targeting any domain and not just Microsoft services, we designed Certificate Trust totally configurable, in order to allow any user to configure custom pinning rules that will be enforced when browsing the web with Internet Explorer.&lt;/p&gt;
&lt;p&gt;Since we received a lot of feedback about this new feature and a lot of users sent inquiries on how to properly use it, we are publishing this blog to explain how to configure and test Certificate Trust.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Introducing the Certificate Trust feature&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;EMET 4.0 has a main switch button in the system mitigation panel that can be used to activate or de-activate Certificate Trust. Once enabled, users have to specify which certificates and Root Certificate Authorities to trust. Users can verify that the Certificate Trust feature is activated from the EMET GUI by checking that the system status of this mitigation is &amp;ldquo;Enabled&amp;rdquo; and that Internet Explorer process (iexplore.exe) is in the list of configured apps (with or without memory mitigations enabled). This configuration allows EMET to inject into the protected process a new small module (EMET_CE.DLL) that will operate only within Internet Explorer to enforce the certificate pinning protection.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-61-47/4341.emet1.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-61-47/4341.emet1.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;EMET pinning model is based on two simple types of metadata: Pinning Rules and Protected Websites. Users can define custom &amp;ldquo;pin&amp;rdquo; relationships between subject name(s) seen in SSL certificates and a set of trusted Root Certification Authorities. EMET supports the creation of &amp;ldquo;one-to-one&amp;rdquo; pinning rules (one domain pinned to one specific RootCA) or &amp;ldquo;one-to-many&amp;rdquo; (one domain pinned to a set of specific RootCAs), and gives the ability to define minor exceptions for each rule.&lt;/p&gt;
&lt;p&gt;For example, let&amp;rsquo;s consider the domain &amp;ldquo;login.live.com&amp;rdquo;, which is configured and protected by default by EMET 4.0 Beta. EMET has a specific pin rule for the subject name of &amp;ldquo;login.live.com&amp;rdquo; which is linked to two RootCAs. One of these RootCAs is VeriSign RootCA, which is visible when manually inspecting the certificate for that domain. Any certificate seen by Internet Explorer for &amp;ldquo;login.live.com&amp;rdquo; and originated from a RootCA different than the two configured in EMET will be detected and reported as suspicious.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-61-47/4645.emet2.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-61-47/4645.emet2.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Configuring Certificate Trust: an example&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In order to understand the exact steps required to create a custom pinning rule, we are providing a step-by-step configuration guide for Twitter. This guide can be used as reference to configure any other online service (e.g. webmail, social networks, file sharing, online banking, etc.) or any corporate portal that uses SSL/TLS connections (e.g. webmail.mycompany.com, fileshare.mycompany.com, etc.), and take advantage of EMET&amp;rsquo;s Certificate Trust feature.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;From a clean computer using a trusted internet connection download and inspect the SSL/TLS certificate for the domain that has to be protected with EMET (e.g. https://twitter.com) and find the correct subject name that will be used in the &amp;ldquo;Protected Websites&amp;rdquo; tab (e.g. &amp;ldquo;twitter.com&amp;rdquo;)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-61-47/0184.emet3.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-61-47/0184.emet3.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Lookup the RootCA for &amp;ldquo;twitter.com&amp;rdquo; in the &amp;ldquo;Certification Path&amp;rdquo; and make note of some significant details related to this RootCA certificate (name, thumbprint, validity, serial number, etc.). For example the current RootCA of &amp;ldquo;twitter.com&amp;rdquo; has a VeriSign certificate with the following details:&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;CN = VeriSign Class 3 Public Primary Certification Authority - G5&lt;/li&gt;
&lt;li&gt;Thumbprint = 4e b6 d5 78 49 9b 1c cf 5f 58 1e ad 56 be 3d 9b 67 44 a5 e5&lt;/li&gt;
&lt;li&gt;Validity = From: November &amp;lrm;7, &amp;lrm;2006; To: &amp;lrm;July &amp;lrm;16, &amp;lrm;2036&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-61-47/1805.emet4.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-61-47/1805.emet4.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Open EMET_GUI and click on &amp;ldquo;Configure&amp;rdquo;-&amp;gt;&amp;rdquo;Certificate Trust&amp;rdquo;. In the &amp;ldquo;Pinning Rules&amp;rdquo; tab add a new rule (e.g. TwitterCAs) which will be used to import the specific VeriSign RootCA acquired earlier for twitter.com (double check you&amp;rsquo;re importing the correct VeriSign CA). This pinning rule will be used to create a &amp;ldquo;one-to-one&amp;rdquo; pinning, but anytime it is possible to add more RootCA certificates into this rule to create &amp;ldquo;one-to-many&amp;rdquo; pinning.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-61-47/8154.emet5.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-61-47/8154.emet5.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Go to the &amp;ldquo;Protected Websites&amp;rdquo; tab and add a pin that links &amp;ldquo;twitter.com&amp;rdquo; to the just created rule &amp;ldquo;TwitterCAs&amp;rdquo;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-61-47/4111.emet6.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-61-47/4111.emet6.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Click &amp;ldquo;OK&amp;rdquo; to save the settings and restart the browser if needed.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The Certificate Trust configuration can be exported as XML file and later imported on a different machine or distributed to a corporate environment to be imported using the EMET_conf command line utility. For the Twitter example used in this blog, the exported XML configuration file is shown below:&lt;/p&gt;
&lt;pre&gt;  
&amp;lt;EMET Version="4.0.4854.22469"&amp;gt;
  &amp;lt;Pinning&amp;gt;
    &amp;lt;PinRules&amp;gt;
      &amp;lt;PinRule&amp;gt;
        &amp;lt;ID&amp;gt;{67626c91-5591-4acd-a87f-864593250fff}&amp;lt;/ID&amp;gt;
        &amp;lt;Name&amp;gt;TwitterCAs&amp;lt;/Name&amp;gt;
        &amp;lt;ReferencedCertificates&amp;gt;
          &amp;lt;UniqueCertificateIdentifier&amp;gt;
            &amp;lt;Issuer&amp;gt;CN=VeriSign Class 3 Public Primary Certification Authority - G5, OU="(c) 2006 VeriSign, Inc. - For authorized use only", OU=VeriSign Trust Network, O="VeriSign, Inc.", C=US&amp;lt;/Issuer&amp;gt;
            &amp;lt;SerialNumber&amp;gt;18DAD19E267DE8BB4A2158CDCC6B3B4A&amp;lt;/SerialNumber&amp;gt;
          &amp;lt;/UniqueCertificateIdentifier&amp;gt;
        &amp;lt;/ReferencedCertificates&amp;gt;
        &amp;lt;Expiration&amp;gt;5/10/2014 4:00:00 PM&amp;lt;/Expiration&amp;gt;
      &amp;lt;/PinRule&amp;gt;
    &amp;lt;/PinRules&amp;gt;
    &amp;lt;PinnedSites&amp;gt;
      &amp;lt;PinnedSite&amp;gt;
        &amp;lt;Domain&amp;gt;twitter.com&amp;lt;/Domain&amp;gt;
        &amp;lt;PinRuleMember&amp;gt;{67626c91-5591-4acd-a87f-864593250fff}&amp;lt;/PinRuleMember&amp;gt;
        &amp;lt;Active&amp;gt;True&amp;lt;/Active&amp;gt;
      &amp;lt;/PinnedSite&amp;gt;
    &amp;lt;/PinnedSites&amp;gt;
  &amp;lt;/Pinning&amp;gt;
&amp;lt;/EMET&amp;gt;

&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Notes about Certificate Trust configuration&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;After evaluating the initial feedback received and some questions from users regarding the Certificate Trust feature, we think it&amp;rsquo;s also important to share some additional notes and guidelines for users dealing for the first time with certificates and pinning rules:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Some websites may use different portal as entry-point for authentication; it&amp;rsquo;s always good to carefully check the correct domain name to add into the &amp;ldquo;Protected Websites&amp;rdquo; tab (e.g. &amp;ldquo;outlook.com&amp;rdquo; service is accessed via the &amp;ldquo;login.live.com&amp;rdquo; authentication service);&lt;/li&gt;
&lt;li&gt;Each pinning rule has an expiration date that delimits for how long a rule is effective; after the specified date, the rule will no longer be used to check certificates; expiration date can be usually aligned with the expiration date of the certificate included in a pinning configuration;&lt;/li&gt;
&lt;li&gt;Domains cannot be added in the &amp;ldquo;Protected Websites&amp;rdquo; tab by using wildcard characters (e.g. *.live.com is not allowed); also, the domain name added into this tab is not the domain name in the URL bar of the browser, but it&amp;rsquo;s one subject name of the SSL certificate;&lt;/li&gt;
&lt;li&gt;To avoid false positives and to configure less restrictive rules, it is possible to add exceptions on each pinning rule based on three properties of the RootCA certificate: key size, country, and signature hashing algorithm; when a RootCA is not present in the defined trusted set for a specific domain, EMET may allow an exception of the pinning rule if explicitly configured (for example: allows an exception if the RootCA certificate does not use MD5, has a minimum key size of 4096 bits, and is located in USA);&lt;/li&gt;
&lt;li&gt;When EMET detects a suspicious certificate it will be reported with a visible message from EMET Agent, while the important details of the certificates are logged into the Window Events Log; a warning message is a good pointer to examine carefully what&amp;rsquo;s happening for a SSL/TLS certificate but doesn&amp;rsquo;t necessary mean that the detected certificate is malicious, few times changes of RootCAs happen also for legitimate reasons;&lt;/li&gt;
&lt;li&gt;The quickest way to test that the Certificate Trust feature is working is to configure a wrong pinning rule that will fail for a test domain; for example, if for twitter.com we configure a different RootCA than the specific VeriSign CA identified earlier, EMET will display the following warning message when browsing with Internet Explorer on &amp;ldquo;twitter.com&amp;rdquo;:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-61-47/1440.emet7.png"&gt;&lt;img src="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-61-47/1440.emet7.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;We hope you are as excited about using the final release of EMET 4.0 as we are about releasing it. If you have any questions about EMET 4.0, specifically about the Certificate Trust feature detailed in this blog post, please email us at emet_feedback@microsoft.com. And if you haven&amp;rsquo;t yet tested EMET 4.0 beta, &lt;a href="http://www.microsoft.com/en-us/download/details.aspx?id=38761"&gt;download it here&lt;/a&gt; and try it out!&lt;/p&gt;
&lt;p&gt;- Elia Florio, MSRC Engineering&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3571421" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/srd/archive/tags/Man_2D00_in_2D00_the_2D00_Middle/">Man-in-the-Middle</category><category domain="http://blogs.technet.com/b/srd/archive/tags/EMET/">EMET</category><category domain="http://blogs.technet.com/b/srd/archive/tags/PKI/">PKI</category></item><item><title>Defending Websites from XSS attacks with ModSecurity 2.7.3 and OWASP Core Rule Set 2.2.7</title><link>http://blogs.technet.com/b/srd/archive/2013/04/28/defending-websites-from-xss-attacks-with-modsecurity-2-7-3-and-owasp-core-rule-set-2-2-7.aspx</link><pubDate>Mon, 29 Apr 2013 06:07:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3569580</guid><dc:creator>swiat</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;span style="font-size: small;"&gt;Even though cross-site scripting vulnerabilities have a 15-year history, they remain a big problem in the web security space. According to our research, there are hundreds of new issues discovered each month, and at least a few of them are being used in high-severity attacks.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;The general problem of cross-site scripting has no easy solution. Yet, some of the existing mitigation techniques show high (over 95%) levels of efficiency in detection of real-life XSS attacks. One such solution is Internet Explorer&amp;rsquo;s &lt;a href="http://blogs.technet.com/b/srd/archive/2008/08/19/ie-8-xss-filter-architecture-implementation.aspx"&gt;XSS filter&lt;/a&gt;. As David Ross described in &lt;a href="http://blogs.technet.com/b/srd/archive/tags/xss+filter/"&gt;his blog posts&lt;/a&gt;, the core of the IE filter consist of a set of heuristics detecting common patterns of XSS attacks in URLs. Thanks to our collaboration with OWASP community, analogous set of rules is now available through OWASP ModSecurity &lt;a href="https://github.com/SpiderLabs/owasp-modsecurity-crs"&gt;Core Rule Set 2.2.7&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;The new rules are present at the end of the file: base_rules\modsecurity_crs_41_xss_attacks.conf. They are divided into non-volatile (15 rules) and volatile (11 rules) sets, marked accordingly:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt;# non-volatile&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt; #&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt; SecRule REQUEST_COOKIES|!REQUEST_COOKIES:/__utm/|REQUEST_COOKIES_NAMES|ARGS_NAMES|ARGS|XML:/* "(?i:&amp;lt;script.*?&amp;gt;)" "phase:2,rev:'2',ver:'OWASP_CRS/2.2.7',maturity:'8',accuracy:'8',id:'973315',capture,logdata:'Matched Data: %{TX.0} found within %{MATCHED_VAR_NAME}: %{MATCHED_VAR}',t:none,t:htmlEntityDecode,t:compressWhiteSpace,block,msg:'IE XSS Filters - Attack Detected.',tag:'OWASP_CRS/WEB_ATTACK/XSS',tag:'WASCTC/WASC-8',tag:'WASCTC/WASC-22',tag:'OWASP_TOP_10/A2',tag:'OWASP_AppSensor/IE1',tag:'PCI/6.5.1',setvar:'tx.msg=%{rule.msg}',setvar:tx.xss_score=+%{tx.critical_anomaly_score},setvar:tx.anomaly_score=+%{tx.critical_anomaly_score},setvar:tx.%{rule.id}-OWASP_CRS/WEB_ATTACK/XSS-%{matched_var_name}=%{tx.0}"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt; &amp;hellip;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;In our practice, the non-volatile rules produce a very low number of false-positive hits, while the volatile ones tend to be susceptible to application-specific behavior. On most applications volatile rules also have a low false-positives ratio, but when a web application relies too much in its design on &amp;ldquo;suspicious&amp;rdquo; characters, selective disabling of specific volatile rules might be needed.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;Application of the XSS-catching heuristics on IIS server is very simple, since version 2.7.3 users can install ModSecurity IIS module using &lt;a href="http://www.microsoft.com/web/downloads/platform.aspx"&gt;Web Platform Installer&lt;/a&gt;. Also, with the recent general-availability release, when using Windows Azure Virtual Machines one can easily automate installation of ModSecurity IIS over Remote PowerShell, for example, by extending the launching script from &lt;a href="http://michaelwasham.com/2013/04/16/windows-azure-powershell-updates-for-iaas-ga/"&gt;Michael Washam&amp;rsquo;s blog&lt;/a&gt; with this simple snippet:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt;# Use native PowerShell Cmdlet to install ModSecurity IIS on the remote virtual machine&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt; Invoke-Command -ConnectionUri $uri.ToString() -Credential $credential -ScriptBlock {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt; $msidir = $env:temp+"\modsecurityiis"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt; md $msidir&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt; $file = $msidir+"\modsecurityiis.msi"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt; $webclient = New-Object System.Net.WebClient&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt; $webclient.DownloadFile("http://www.modsecurity.org/tarball/2.7.3/ModSecurityIIS_2.7.3.msi",$file)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt; msiexec /i $file /qb&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt; }&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;After installation, the default OWASP CRS IIS rules can be enabled for a selected website by adding to the web.config file, in system.webServer section:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: terminal,monaco; font-size: small;"&gt;&amp;lt;ModSecurity enabled="true" configFile="c:\inetpub\wwwroot\owasp_crs\modsecurity_iis.conf" /&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;This simple step should let web server administrators see a significant majority of XSS attempts and attacks launched on their websites.&lt;/span&gt;&lt;/p&gt;
&lt;hr style="width: 2px;" width="2" /&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;The releasing of ModSecurity IIS version was a major milestone for the ModSecurity web application firewall project. We also won some community &lt;a href="http://holisticinfosec.blogspot.com/2013/02/2012-toolsmith-tool-of-year-modsecurity.html"&gt;awards&lt;/a&gt; and &lt;a href="http://zeroscience.mk/files/wafreport2013.pdf"&gt;WAF comparison tests&lt;/a&gt;. It is good to look back on past accomplishments, but it is also important to look ahead. How can we make ModSecurity IIS better in the future?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;As part of this effort, the ModSecurity Team in SpiderLabs Research has developed a new user survey for 2013.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://www.surveymonkey.com/s/GRBN3TN"&gt;Click here to take survey&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;If you are a user of ModSecurity IIS, I encourage you to take the survey as it will give us a better understanding of how ModSecurity IIS is being used, and also to get feedback on what we are doing well and what we need to improve.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;It is only 15 questions.&lt;/strong&gt; As an added incentive, you can also enter your email address into a raffle to win a copy of Ryan Barnett&amp;rsquo;s new book: "&lt;a href="http://www.amazon.com/Web-Application-Defenders-Cookbook-Protecting/dp/1118362187"&gt;The Web Application Defender's Cookbook: Battling Hackers and Protecting Users&lt;/a&gt;".&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;Thanks for using ModSecurity IIS and for helping us to make it better!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;- Greg Wroblewski, &lt;/span&gt;&lt;span style="font-size: small;"&gt;SRD Blogger&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;*Postings are provided "AS IS" with no warranties, and confer no rights.*&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3569580" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/srd/archive/tags/Mitigations/">Mitigations</category><category domain="http://blogs.technet.com/b/srd/archive/tags/XSS+Filter/">XSS Filter</category><category domain="http://blogs.technet.com/b/srd/archive/tags/XSS/">XSS</category><category domain="http://blogs.technet.com/b/srd/archive/tags/IIS/">IIS</category><category domain="http://blogs.technet.com/b/srd/archive/tags/ModSecurity/">ModSecurity</category></item></channel></rss>