<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:blogChannel="http://backend.userland.com/blogChannelModule" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
  <channel>
    <title>Adrian Dimcev's Blog</title>
    <description />
    <link>http://www.carbonwind.net/blog/</link>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>BlogEngine.NET 0.0.0.0</generator>
    <language>en-US</language>
    <blogChannel:blogRoll>http://www.carbonwind.net/blog/opml.axd</blogChannel:blogRoll>
    <blogChannel:blink>http://www.dotnetblogengine.net/syndication.axd</blogChannel:blink>
    <dc:creator>My name</dc:creator>
    <dc:title>Adrian Dimcev's Blog</dc:title>
    <geo:lat>0.000000</geo:lat>
    <geo:long>0.000000</geo:long>
    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/AdrianDimcevsBlog" /><feedburner:info uri="adriandimcevsblog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
      <title>VMware View Desktops and MS12-020 = Potential Troubles</title>
      <description>&lt;p&gt;Assuming you have created a VMware View Desktops Pool, the end result will be that RDP is enabled on the View Desktops. [1]&lt;/p&gt;
&lt;p&gt;In the context of MS12-020 [2][3], this means potential trouble especially when PoC is already available. It does not matter they are no directly accessible from the Internet, a worm targeting MS12-020 downloaded by one user on its virtual desktop could impact all the View Desktops local to it.&lt;/p&gt;
&lt;p&gt;Even if you take the measure described in [1], I did not test so I&amp;rsquo;m not sure, I think the exploit still works.&lt;/p&gt;
&lt;p&gt;So if you did not do it so far, make sure you install the MS12-020 patch on all your View Desktops. If you use Linked-Clone Desktops, patch the parent virtual machine, take a snapshot and recompose the Linked-Clone Desktops.&lt;/p&gt;
&lt;p&gt;Alternatively, if for some reasons you can't apply the patch yet and if you&amp;rsquo;ve deployed vShield App, you can filter (deny) inside the port group were virtual desktops are located; add a deny rule for the RDP application selecting as both source and destination the port group while direction being inside for both of them.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="text-decoration: underline;"&gt;References&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;[1] Prevent Access to View Desktops Through RDP &lt;br /&gt;http://pubs.vmware.com/view-50/index.jsp?topic=/com.vmware.view.administration.doc/GUID-E9B84CCB-F0D5-4198-B986-2B46AD589452.html&lt;/p&gt;
&lt;p&gt;[2] Why We Rated the MS12-020 Issue with RDP "Patch Now" &lt;br /&gt;http://isc.sans.org/diary/Why+We+Rated+the+MS12-020+Issue+with+RDP+Patch+Now+/12781&lt;/p&gt;
&lt;p&gt;[3]MS12-020 RDP vulnerabilities: Patch, Mitigate, Detect &lt;br /&gt;http://isc.sans.org/diary/MS12-020+RDP+vulnerabilities+Patch+Mitigate+Detect/12808&lt;/p&gt;
&lt;p&gt;[4] Proof-of-Concept Code available for MS12-020 &lt;br /&gt;http://blogs.technet.com/b/msrc/archive/2012/03/16/proof-of-concept-code-available-for-ms12-020.aspx&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AdrianDimcevsBlog/~4/vUMIBm3Mvwg" height="1" width="1"/&gt;</description>
      <link>http://feedproxy.google.com/~r/AdrianDimcevsBlog/~3/vUMIBm3Mvwg/post.aspx</link>
      <comments>http://www.carbonwind.net/blog/post/VMware-View-Desktops-and-MS12-020-=-Potential-Troubles.aspx#comment</comments>
      <guid isPermaLink="false">http://www.carbonwind.net/blog/post.aspx?id=d140ac8a-3ffd-4762-8cab-fb6c9296005e</guid>
      <pubDate>Sat, 17 Mar 2012 13:07:00 +0200</pubDate>
      <category>VMware</category>
      <dc:publisher>adrian</dc:publisher>
      <pingback:server>http://www.carbonwind.net/blog/pingback.axd</pingback:server>
      <pingback:target>http://www.carbonwind.net/blog/post.aspx?id=d140ac8a-3ffd-4762-8cab-fb6c9296005e</pingback:target>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.carbonwind.net/blog/trackback.axd?id=d140ac8a-3ffd-4762-8cab-fb6c9296005e</trackback:ping>
      <wfw:comment>http://www.carbonwind.net/blog/post/VMware-View-Desktops-and-MS12-020-=-Potential-Troubles.aspx#comment</wfw:comment>
      <wfw:commentRss>http://www.carbonwind.net/blog/syndication.axd?post=d140ac8a-3ffd-4762-8cab-fb6c9296005e</wfw:commentRss>
    <feedburner:origLink>http://www.carbonwind.net/blog/post.aspx?id=d140ac8a-3ffd-4762-8cab-fb6c9296005e</feedburner:origLink></item>
    <item>
      <title>Inside Google’s pushing revocation list approach</title>
      <description>&lt;p&gt;A couple of days ago Adam Langley from Google published a blog entry [1] where some interesting statements are made; the most eye candy one is &amp;ldquo;we're currently planning on disabling online revocation checks in a future version of Chrome&amp;rdquo;. This is done as Google&amp;rsquo;s Chrome will include an alternative to the current OCSP and CRL methods of verifying a certificate&amp;rsquo;s revocation status (so called &amp;ldquo;online revocation checks&amp;rdquo;) .&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What this means to you?&lt;/strong&gt; &lt;br /&gt;It means that Google will decide if a certificate was revoked or not. Not that Google can revoke certificates, but for some functionality issues -*&lt;strong&gt;fine irony here*&lt;/strong&gt;- will likely not maintain a list of all revoked certificates; I mean all from all CAs. So assuming one revokes a certificate for other reasons than private key loss/theft, very likely this certificate will not appear as revoked in Google&amp;rsquo;s list(perhaps it will, if it belongs to a major company or so). The end result will be that Google Chrome&amp;rsquo;s users will be indefinitely MITM-able till that certificate expires in case the private key will be stolen(the admin does not care anymore as he did revoke that certificate isn't it ?).&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s up to Google&amp;rsquo;s strategy and implementation of this to decide what will be included on the revocation list; knowing that there are some many CAs, finger crossed.&lt;/p&gt;
&lt;p&gt;Furthermore, if you run your own internal PKI and you use Google Chrome you need to figure it out how do you plan to revoke certificates.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;OCSP and CRL don&amp;rsquo;t work&lt;/strong&gt; &lt;br /&gt;We know that, but neither does Google&amp;rsquo;s strategy. It&amp;rsquo;s still a soft-fail blacklist mechanism; in fact can be worst than CRL in some aspects related to security.&lt;/p&gt;
&lt;p&gt;What OCSP offers better in terms of security is its dynamicity. Remember the Diginotar breach, they did not know what certificates they issued; OCSP can help in this case but CRL and Google&amp;rsquo;s approach don&amp;rsquo;t(unless the intermediate CA cert is revoked).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Google&amp;rsquo;s pushing revocation list approach&lt;/strong&gt; &lt;br /&gt;For example Opera&amp;nbsp; can push some PKI updates(e.g. remove a CA trust) dynamically without releasing a new version of Opera; Google could not do so till now. Pushing a list of revoked certs on-the-fly is an aid to the current revocation status mechanisms but does not necessarily replace them.&lt;/p&gt;
&lt;p&gt;Google&amp;rsquo;s pushing revocation list approach is a soft-fail blacklist mechanism because in case the update mechanism fails, e.g. connection issues -*&lt;strong&gt;fine irony here*&lt;/strong&gt;- , I doubt Chrome will block access to *all* SSL sites; mega single point of failure-*&lt;strong&gt;fine irony here*&lt;/strong&gt;-.&lt;/p&gt;
&lt;p&gt;In case of a MITM attack, Chrome will very likely rely on an old and expired revocation list:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;First because it&amp;rsquo;s a blacklist approach so one must known about the rogue certificate and revoke it; yawn.&lt;/li&gt;
&lt;li&gt;Second, Google must&amp;nbsp; retrieve the needed CRL and push a new revocation list; sigh.&lt;/li&gt;
&lt;li&gt;Furthermore even when the above two are true, the end user&amp;rsquo;s Chrome must have received the updated revocation list; dreaming.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Similar with OCSP and CRL an attacker still has an opportunity window even after the rogue certificate was discovered. Is this smaller or not, only &amp;ldquo;practice&amp;rdquo; can tell.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Blacklist Push vs Pull: is there any difference ?&lt;/strong&gt; &lt;br /&gt;In the most important aspect, not really, as both require a connection initiated by the client. It&amp;rsquo;s an ask for push or pull.&lt;/p&gt;
&lt;p&gt;OCSP and CRL are pull(with some differences); Google&amp;rsquo;s approach is push.&lt;/p&gt;
&lt;p&gt;Blacklist pull works for what you know and for what you may not know(OCSP case) whereas blacklist push only works for what you specifically know.&lt;/p&gt;
&lt;p&gt;It is assumed that the attacker has full MITM capabilities over client; as we have seen in the past, attacks using rogue certificates can be targeted. So very likely the attacker controls both the pull and push channels(precisely the ask channel). And both are soft-fail; here comes the opportunity window.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The captive portal dilemma&lt;/strong&gt; &lt;br /&gt;If all the browsers fail such sites I believe it&amp;rsquo;s trivial to imagine who really has to change. We want to blacklist major root CAs but we cannot &amp;ldquo;blacklist&amp;rdquo; some captive portals.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Comparing the three&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;None will currently work in case of a serious MITM attack.&lt;/li&gt;
&lt;li&gt;The most secure is OCSP if implemented properly; e.g. not using time-based freshness,&amp;nbsp; issue a failed response for an unknown cert and drop the SSL connection when the check fails. Note that &amp;ldquo;simple&amp;rdquo; OCSP stapling can aid the MITM when the attacker replays old good OCSP responses.&lt;/li&gt;
&lt;li&gt;Google&amp;rsquo;s approach can provide better freshness compared to CRL, but uses a selective list.&lt;/li&gt;
&lt;li&gt;OCSP can be improved; CRL and Google&amp;rsquo;s approach not, or at least I don&amp;rsquo;t see how.&lt;/li&gt;
&lt;li&gt;Google&amp;rsquo;s approach can be a good add-on to OCSP till the later is improved.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="text-decoration: underline;"&gt;References&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;[1] Revocation checking and Chrome's CRL &lt;br /&gt;&lt;a title="http://www.imperialviolet.org/2012/02/05/crlsets.html" href="http://www.imperialviolet.org/2012/02/05/crlsets.html"&gt;http://www.imperialviolet.org/2012/02/05/crlsets.html&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AdrianDimcevsBlog/~4/K5nXK2htXmM" height="1" width="1"/&gt;</description>
      <link>http://feedproxy.google.com/~r/AdrianDimcevsBlog/~3/K5nXK2htXmM/post.aspx</link>
      <comments>http://www.carbonwind.net/blog/post/Inside-Google’s-pushing-revocation-list-approach.aspx#comment</comments>
      <guid isPermaLink="false">http://www.carbonwind.net/blog/post.aspx?id=88633059-b9af-4a0d-8fd1-f0cd2203943e</guid>
      <pubDate>Wed, 08 Feb 2012 23:55:00 +0200</pubDate>
      <category>SSL</category>
      <dc:publisher>adrian</dc:publisher>
      <pingback:server>http://www.carbonwind.net/blog/pingback.axd</pingback:server>
      <pingback:target>http://www.carbonwind.net/blog/post.aspx?id=88633059-b9af-4a0d-8fd1-f0cd2203943e</pingback:target>
      <slash:comments>2</slash:comments>
      <trackback:ping>http://www.carbonwind.net/blog/trackback.axd?id=88633059-b9af-4a0d-8fd1-f0cd2203943e</trackback:ping>
      <wfw:comment>http://www.carbonwind.net/blog/post/Inside-Google’s-pushing-revocation-list-approach.aspx#comment</wfw:comment>
      <wfw:commentRss>http://www.carbonwind.net/blog/syndication.axd?post=88633059-b9af-4a0d-8fd1-f0cd2203943e</wfw:commentRss>
    <feedburner:origLink>http://www.carbonwind.net/blog/post.aspx?id=88633059-b9af-4a0d-8fd1-f0cd2203943e</feedburner:origLink></item>
    <item>
      <title>Forefront TMG 2010, Schannel and the SSL Renegotiation DoS</title>
      <description>&lt;p&gt;As you may be aware some time ago a tool[1] to exploit a known SSL Renegotiation DoS issue[2] was released. More technical details about the DoS can be found on Vincent Bernat&amp;rsquo;s blog[3].&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What has this to do with Forefront TMG 2010 ?&lt;/strong&gt; &lt;br /&gt;It has if you published a secure server with TMG using the web server publishing rules because:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;SSL client side initiated renegotiation is enabled by default(even when you don&amp;rsquo;t needed); I&amp;rsquo;ve notified about this Microsoft Security Response Center on 25.10.2011.&lt;/li&gt;
&lt;li&gt;during the DoS attack hundreds of SSL handshakes are triggered within the same TCP connection nullifying TMG&amp;rsquo;s flood mitigation features[4].&lt;/li&gt;
&lt;li&gt;TMG makes use of the (limited) Schannel so you cannot disable the client side initiated renegotiation on TMG if you use client certificate authentication[5][6].&lt;/li&gt;
&lt;li&gt;TMG&amp;rsquo;s NIS currently does not include a signature to mitigate against the SSL Renegotiation DoS.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Schannel behavior&lt;/strong&gt; &lt;br /&gt;By client side initiated renegotiation we understand that the client(e.g. browser) is allowed to initiate SSL renegotiation to the server(TMG). This is &lt;strong&gt;&lt;span style="text-decoration: underline;"&gt;not needed&lt;/span&gt;&lt;/strong&gt; for secure web server publishing rules even with client certificate authentication. What is needed is the server side initiated renegotiation(for client certificate authentication), meaning allow TMG to initiate SSL renegotiation to client.&lt;/p&gt;
&lt;p&gt;From what I have seen, on TMG when you use client certificate authentication:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;between the client and TMG a SSL connection is established without the server asking for a client cert.&lt;/li&gt;
&lt;li&gt;the client issues its HTTP request.&lt;/li&gt;
&lt;li&gt;TMG&amp;nbsp;renegotiates asking for a client cert.&lt;/li&gt;
&lt;li&gt;if the client presents the correct cert will get access; if not an error (HTTP) message will be presented by TMG.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;With the DisableRenegoOnServer registry entry[7] on the TMG(server) we can control two separate functions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;client side initiated renegotiation &amp;ndash;&amp;gt; what we want to disable as we don&amp;rsquo;t want the server to respond to renegotiation requests from the client due to the SSL Reneg DoS issue.&lt;/li&gt;
&lt;li&gt;server side initiated renegotiation &amp;ndash;&amp;gt; what we need enabled as we want the server(TMG) to be able to initiate renegotiation requests to clients in secure web server publishing scenarios using client certificate authentication.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The Windows Schannel currently(to my knowledge) does not provide separate registry entries for the above functions.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="text-decoration: underline;"&gt;&lt;span style="color: #000000;"&gt;Bottom of the line:&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;TMG, in its default configuration, is vulnerable to the SSL DoS renegotiation attack.&lt;/li&gt;
&lt;li&gt;TMG in secure web server publishing scenarios using client certificate authentication is vulnerable to the SSL DoS renegotiation attack; no current work around on TMG itself exist. If you have another device(e.g. IPS) in front of TMG you may create(if possible) a rule to mitigate against the SSL DoS renegotiation attack.&lt;/li&gt;
&lt;li&gt;Setting the DisableRenegoOnServer registry entry to 1 on TMG mitigates against the SSL DoS renegotiation attack but TMG will not be able to handle the above mentioned scenario.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span style="text-decoration: underline;"&gt;Note&lt;/span&gt;: TMG can also be configured to request a client certificate[8] but this does not seem to need SSL renegotiation. There are further implications regarding to SSL renegotiation and TMG not discussed here.&lt;br /&gt;&lt;span style="text-decoration: underline;"&gt;Extra note&lt;/span&gt;: Sites published with TMG can be potentially found using Google. Set the DisableRenegoOnServer registry entry to 1 on TMG if you do not need the SSL renegotiation feature.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="text-decoration: underline;"&gt;References:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;[1] THC-SSL-DOS tool to verify the performance of SSL &lt;br /&gt;&lt;a title="http://www.thc.org/thc-ssl-dos/" href="http://www.thc.org/thc-ssl-dos/"&gt;http://www.thc.org/thc-ssl-dos/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[2] IETF mailing lists [TLS] SSL Renegotiation DOS &lt;br /&gt;&lt;a title="http://www.ietf.org/mail-archive/web/tls/current/msg07553.html" href="http://www.ietf.org/mail-archive/web/tls/current/msg07553.html"&gt;http://www.ietf.org/mail-archive/web/tls/current/msg07553.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[3] SSL computational DoS mitigation &lt;br /&gt;&lt;a title="http://vincent.bernat.im/en/blog/2011-ssl-dos-mitigation.html" href="http://vincent.bernat.im/en/blog/2011-ssl-dos-mitigation.html"&gt;http://vincent.bernat.im/en/blog/2011-ssl-dos-mitigation.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[4] Overview of flood mitigation &lt;br /&gt;&lt;a title="http://technet.microsoft.com/en-us/library/cc995196.aspx" href="http://technet.microsoft.com/en-us/library/cc995196.aspx"&gt;http://technet.microsoft.com/en-us/library/cc995196.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[5] Using client certificate authentication for publishing over HTTPS &lt;br /&gt;&lt;a title="http://technet.microsoft.com/en-us/library/cc995097.aspx" href="http://technet.microsoft.com/en-us/library/cc995097.aspx"&gt;http://technet.microsoft.com/en-us/library/cc995097.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[6] About Kerberos constrained delegation &lt;br /&gt;&lt;a title="http://technet.microsoft.com/en-us/library/cc995228.aspx" href="http://technet.microsoft.com/en-us/library/cc995228.aspx"&gt;http://technet.microsoft.com/en-us/library/cc995228.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[7] Microsoft Security Advisory: Vulnerability in TLS/SSL could allow spoofing &lt;br /&gt;&lt;a title="http://support.microsoft.com/kb/977377" href="http://support.microsoft.com/kb/977377"&gt;http://support.microsoft.com/kb/977377&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[8] Web listener advanced authentication options &lt;br /&gt;&lt;a title="http://technet.microsoft.com/en-us/library/cc995192.aspx" href="http://technet.microsoft.com/en-us/library/cc995192.aspx"&gt;http://technet.microsoft.com/en-us/library/cc995192.aspx&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/AdrianDimcevsBlog/~4/nNUI6H3YC3w" height="1" width="1"/&gt;</description>
      <link>http://feedproxy.google.com/~r/AdrianDimcevsBlog/~3/nNUI6H3YC3w/post.aspx</link>
      <comments>http://www.carbonwind.net/blog/post/Forefront-TMG-2010-Schannel-and-the-SSL-Renegotiation-DoS.aspx#comment</comments>
      <guid isPermaLink="false">http://www.carbonwind.net/blog/post.aspx?id=851f514d-1e20-427f-8335-4c405ed7aa14</guid>
      <pubDate>Fri, 02 Dec 2011 21:58:00 +0200</pubDate>
      <category>Forefront TMG</category>
      <category>SSL</category>
      <dc:publisher>adrian</dc:publisher>
      <pingback:server>http://www.carbonwind.net/blog/pingback.axd</pingback:server>
      <pingback:target>http://www.carbonwind.net/blog/post.aspx?id=851f514d-1e20-427f-8335-4c405ed7aa14</pingback:target>
      <slash:comments>4</slash:comments>
      <trackback:ping>http://www.carbonwind.net/blog/trackback.axd?id=851f514d-1e20-427f-8335-4c405ed7aa14</trackback:ping>
      <wfw:comment>http://www.carbonwind.net/blog/post/Forefront-TMG-2010-Schannel-and-the-SSL-Renegotiation-DoS.aspx#comment</wfw:comment>
      <wfw:commentRss>http://www.carbonwind.net/blog/syndication.axd?post=851f514d-1e20-427f-8335-4c405ed7aa14</wfw:commentRss>
    <feedburner:origLink>http://www.carbonwind.net/blog/post.aspx?id=851f514d-1e20-427f-8335-4c405ed7aa14</feedburner:origLink></item>
  </channel>
</rss>
