<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
 
  <title>Blog: Ivan Ristić</title>
  <link href="http://blog.ivanristic.com/"/>
  <link type="application/atom+xml" rel="self"  href="http://blog.ivanristic.com/atom.xml"/>
  <updated>2013-03-25T19:45:56+00:00</updated>
  <id>http://blog.ivanristic.com/</id>
  <author>
    <name>Ivan Ristić</name>
  </author>

  
  <entry>
    <id>http://blog.ivanristic.com/2013/03/rc4-in-tls-is-broken-now-what</id>
    <link type="text/html" rel="alternate" href="http://blog.ivanristic.com/2013/03/rc4-in-tls-is-broken-now-what.html"/>
    <title>RC4 in TLS is broken: Now what?</title>
    <published>2013-03-09T14:38:47+00:00</published>
    <updated>2013-03-09T14:38:47+00:00</updated>
    <author>
      <name>Ivan Ristić</name>
    </author>
    <content type="html">&lt;p&gt;RC4 has long been considered problematic, but until very recently
there was no known way to exploit the weaknesses. After the BEAST attack was
disclosed in 2011, we&amp;mdash;grudgingly&amp;mdash;started using RC4 in order to
avoid the vulnerable CBC suites in TLS 1.0 and earlier. This caused the
usage of RC4 to increase, and some say that it now accounts for about 50% of
all TLS traffic.&lt;/p&gt;

&lt;p&gt;Last week, a group of
researchers (Nadhem AlFardan, Dan Bernstein, Kenny Paterson, Bertram
Poettering and Jacob Schuldt) &lt;a href=&quot;http://www.isg.rhul.ac.uk/tls/&quot;&gt;announced
significant advancements in the attacks against
RC4&lt;/a&gt;, unveiling new weaknesses as well as new methods to exploit them.
Matthew Green has a &lt;a
href=&quot;http://blog.cryptographyengineering.com/2013/03/attack-of-week-rc4-is-kind-of-broken-in.html&quot;&gt;great overview&lt;/a&gt;
on his blog, and here are the &lt;a
href=&quot;http://cr.yp.to/talks/2013.03.12/slides.pdf&quot;&gt;slides&lt;/a&gt; from the talk where the new issues were
announced.
&lt;/p&gt;

&lt;p&gt;At the
moment, the attack is not yet practical because it requires access to
millions and possibly billions of copies of the same data encrypted using
different keys. A browser would have to make that many connections to a
server to give the attacker enough data. A possible exploitation path is to
somehow instrument the browser to make a large number of connections, while
a man in the middle is observing and recording the traffic.&lt;/p&gt;

&lt;p&gt;We are still safe at the moment, but there is a tremendous incentive for
researchers to improve the attacks on RC4, which means that we need to act
swiftly.&lt;/p&gt;

&lt;h2&gt;What We (SSL Labs) Will Do&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Start warning our users about RC4
weaknesses.&lt;/strong&gt; RC4 is demonstrably broken and unsafe to use in TLS as
currently implemented. The difficulty is that, for public web sites that
need to support a wide user base, there is practically nothing 100% secure
they can use to replace RC4. We now have no choice but to accept that, no
matter what settings we use, some segment of the user base will be at
risk.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;If Apple were to implement 1/n-1
record splitting&lt;/strong&gt; in their stacks (the only major browser vendor
that hasn&amp;rsquo;t done that yet*), we&amp;rsquo;d likely consider BEAST
sufficiently mitigated client-side, and that would allow us to start
recommending CBC suites over RC4.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Start recommending the use of GCM
suites.&lt;/strong&gt; Browsers will no doubt provide better support for TLS 1.2
and GCM suites at an accelerated schedule, and site operators should be
ready to take advantage of that.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Update SSL/TLS Deployment Best
Practices&lt;/strong&gt; with new information.&lt;/li&gt;
&lt;li&gt;At some point in the near future,
&lt;strong&gt;update the rating algorithm to take the RC4 weaknesses into
account&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;Recommendations&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;SSL/TLS library developers&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Harden the stack against the Lucky 13
attack.&lt;/li&gt;
&lt;li&gt;Support TLS 1.2 and GCM suites as soon as
possible.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Browser vendors&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Support TLS 1.2 and GCM suites as soon as possible.&lt;/li&gt;
&lt;li&gt;Implement 1/n-1 record splitting to make
CBC suites safe in TLS 1.0 and earlier. As far as we are aware, Apple is the
only remaining vendor that has not patched their browsers, either on OSX or
iOS.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;System administrators&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;	
&lt;li&gt;Disable TLS compression. This attack is
similar in nature to the recent RC4 attacks, but practical.&lt;/li&gt;
&lt;li&gt;Support TLS 1.2 and GCM as soon as
possible.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;TLS Working Group&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Restore algorithm agility and diversity
in TLS. AES GCM suites are now the only truly secure option in TLS, but we
shouldn&amp;rsquo;t count on them to stay like that forever.&lt;/li&gt;
&lt;li&gt;Consider introducing other stream ciphers
to the standard. Algorithm agility, which TLS already provides, is not
sufficient if there is only one choice for a component.&lt;/li&gt;
&lt;li&gt;Consider changing how CBC is implemented
in order to address the timing issues.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Application developers&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Harden session management to support
reliable and frequent rotation of session cookies, triggered by elapsed time
or the number of requests observed. Recent years have seen a rise in attacks
that require attackers to control the client end of a TLS connection in some
fashion. Most such attacks focus on extracting small bits of information,
typically credentials. Session cookies are now the most popular target.
Given how many requests are needed for the best attacks to succeed, rotating
session cookies frequently is a good defense in depth measure.&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;p&gt;(*) Apple appears to have shipped the
1/n-1 split in Mountain Lion, but it is disabled by default. I was also
unable to observe any splitting after the functionality had been manually
enabled. iOS devices should support TLS 1.2, which means that they might be
secure provided TLS 1.2 is available server-side.&lt;/p&gt;
</content>
  </entry>
  
  <entry>
    <id>http://blog.ivanristic.com/2013/02/ssl-labs-update-increases-security-requirements</id>
    <link type="text/html" rel="alternate" href="http://blog.ivanristic.com/2013/02/ssl-labs-update-increases-security-requirements.html"/>
    <title>SSL Labs update increases security requirements</title>
    <published>2013-02-07T12:38:47+00:00</published>
    <updated>2013-02-07T12:38:47+00:00</updated>
    <author>
      <name>Ivan Ristić</name>
    </author>
    <content type="html">&lt;p&gt;The SSL threat landscape has changed significantly since the rating guide was first published, back in 2009. The original text is thus no longer entirely adequate to deal with the threats of today. In addition, we now have several years of experience using the criteria in real life, and we know what works well and what not so much.&lt;/p&gt;
&lt;p&gt;Our plan is to update the rating criteria to take all this new knowledge into account. However, because that process will take several months to complete and because an update to the guide is long overdue, we have decided to release a &lt;a href=&quot;https://www.ssllabs.com/projects/rating-guide/&quot; target=&quot;_self&quot;&gt;small patch release, labelling it 2009c&lt;/a&gt;. The year in the version number indicates that this is conceptually the same guide as previously published, with improvements.&lt;/p&gt;
&lt;p&gt;Essentially, the purpose of this release is to keep the rating criteria relevant for a little while longer, until the next major version is ready. The text of the original document remains as is, but the following changes apply:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;SSL 2.0 is not allowed (F).&lt;/li&gt;
&lt;li&gt;Insecure renegotiation is not allowed (F).&lt;/li&gt;
&lt;li&gt;Vulnerability to the BEAST attack caps the grade to B.&lt;/li&gt;
&lt;li&gt;Vulnerability to the CRIME attack caps the grade to B.&lt;/li&gt;
&lt;li&gt;The score (0-100) is not shown any more, in order to focus on the grade, which is more useful. Future versions of the guide will probably remove the score altogether.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In addition, we&amp;#39;ve taken the opportunity to remove the old configuration advice, directing the readers to our &lt;a href=&quot;https://www.ssllabs.com/projects/best-practices/&quot; target=&quot;_self&quot;&gt;SSL/TLS Deployment Best Practices&lt;/a&gt; document instead.&lt;/p&gt;

</content>
  </entry>
  
  <entry>
    <id>http://blog.ivanristic.com/2012/11/large-scale-passive-ssl-monitoring-at-icsi</id>
    <link type="text/html" rel="alternate" href="http://blog.ivanristic.com/2012/11/large-scale-passive-ssl-monitoring-at-icsi.html"/>
    <title>Large-scale passive SSL monitoring at ICSI</title>
    <published>2012-11-12T14:43:03+00:00</published>
    <updated>2012-11-12T14:43:03+00:00</updated>
    <author>
      <name>Ivan Ristić</name>
    </author>
    <content type="html">&lt;p&gt;The &lt;a href=&quot;http://www.icsi.berkeley.edu/&quot; target=&quot;_self&quot;&gt;International Computer Science Institute&lt;/a&gt; (ICSI) recently announced a &lt;a href=&quot;http://notary.icsi.berkeley.edu/&quot; target=&quot;_self&quot;&gt;new certificate notary project&lt;/a&gt;. Although I find the notary aspect of the project interesting, I think that their work is much more important because of the potential of their approach, which is based on large-scale passive monitoring of SSL connections. In the last couple of years I spent a lot of time looking at the server-side aspect of SSL (most recently, in the &lt;a href=&quot;https://www.trustworthyinternet.org/ssl-pulse/&quot; target=&quot;_self&quot;&gt;SSL Pulse&lt;/a&gt; project), but there&amp;#39;s a large gap in our understanding when it comes to client-side capabilities, and actual real-life usage. The gap can be explained by ICSI&amp;#39;s data.&lt;/p&gt;
&lt;p&gt;Sadly, ICSI is unable to share their data because of various privacy concerns. However, they can still mine the data themselves. I decided to put together a list of unanswered SSL usage questions, as a way of contributing to the effort.&lt;/p&gt;
&lt;p&gt;Focusing on client capabilities is a good way to start. Some of the most interesting attributes to track might be:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Highest TLS version&lt;/li&gt;
&lt;li&gt;Cipher suites (and their order)&lt;/li&gt;
&lt;li&gt;TLS extensions&lt;/li&gt;
&lt;li&gt;Compression methods&lt;/li&gt;
&lt;li&gt;BEAST mitigation&lt;/li&gt;
&lt;li&gt;SNI (virtual SSL hosting)&lt;/li&gt;
&lt;li&gt;Secure renegotiation (via extension or SCSV)&lt;/li&gt;
&lt;li&gt;Session ticket support&lt;/li&gt;
&lt;li&gt;Request for OCSP stapling&lt;/li&gt;
&lt;li&gt;SPDY support (via the NPN extension)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The most exciting aspect of the project is that it might be able to finally give us the answer to the effective security of SSL. Some key data points include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Negotiated protocol version&lt;/li&gt;
&lt;li&gt;Negotiated cipher suite/strength&lt;/li&gt;
&lt;li&gt;Was the suite actively selected by the server&lt;/li&gt;
&lt;li&gt;Authentication strength (certificate key size)&lt;/li&gt;
&lt;li&gt;DH params/strength (for applicable cipher suites)&lt;/li&gt;
&lt;li&gt;Compression usage&lt;/li&gt;
&lt;li&gt;Session resumption status (tracked via either mechanism)&lt;/li&gt;
&lt;li&gt;Seen stapled OCSP response&lt;/li&gt;
&lt;li&gt;Server certificate information
&lt;ul&gt;
&lt;li&gt;Key size&lt;/li&gt;
&lt;li&gt;Signature algorithm&lt;/li&gt;
&lt;li&gt;Is it expired?&lt;/li&gt;
&lt;li&gt;Is it self-signed?&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Certificate chain correctness&lt;/li&gt;
&lt;li&gt;Is the trust root a well-known CA?&lt;/li&gt;
&lt;li&gt;Vulnerabilities:
&lt;ul&gt;
&lt;li&gt;Renegotiation (do both sides support secure renegotiation)&lt;/li&gt;
&lt;li&gt;BEAST (no browser mitigation and a CBC suite using TLS 1.0 or earlier)&lt;/li&gt;
&lt;li&gt;CRIME (use of TLS compression for the connection)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

</content>
  </entry>
  
  <entry>
    <id>http://blog.ivanristic.com/2012/10/improved-passive-ssl-fingerprinting-in-sslhaf</id>
    <link type="text/html" rel="alternate" href="http://blog.ivanristic.com/2012/10/improved-passive-ssl-fingerprinting-in-sslhaf.html"/>
    <title>Improved passive SSL fingerprinting in sslhaf</title>
    <published>2012-10-18T11:12:54+01:00</published>
    <updated>2012-10-18T11:12:54+01:00</updated>
    <author>
      <name>Ivan Ristić</name>
    </author>
    <content type="html">&lt;p&gt;I've had some available time recently to work on &lt;a href=&quot;https://www.ssllabs.com/projects/client-fingerprinting/&quot; target=&quot;_self&quot;&gt;sslhaf&lt;/a&gt;, my passive SSL fingerprinting tool. I made the following improvements:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Detect browser BEAST mitigation (1/n-1 splitting)&lt;/li&gt;
&lt;li&gt;Extract compression support&lt;/li&gt;
&lt;li&gt;Extract TLS extensions&lt;/li&gt;
&lt;li&gt;Change licence from GPLv2 to BSD&lt;/li&gt;
&lt;li&gt;Bug fixes&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I think that the detection of BEAST mitigation measures is particularly useful, because it will help understand the risk coming from this attack. Most, but not all, major browsers have mitigations in place. In addition, we don't know how many vulnerable older clients there are. I hope to publish some measurements soon.&lt;/p&gt;
&lt;p&gt;The tool is stable but technically still experimental, so use at your own risk. I'd be willing to make it production ready if there's anyone interested in deploying it in a large web site.&lt;/p&gt;

</content>
  </entry>
  
  <entry>
    <id>http://blog.ivanristic.com/2012/09/crime-information-leakage-attack-against-ssl-tls</id>
    <link type="text/html" rel="alternate" href="http://blog.ivanristic.com/2012/09/crime-information-leakage-attack-against-ssl-tls.html"/>
    <title>CRIME: Information leakage attack against SSL/TLS</title>
    <published>2012-09-14T12:01:00+01:00</published>
    <updated>2012-09-14T12:01:00+01:00</updated>
    <author>
      <name>Ivan Ristić</name>
    </author>
    <content type="html">&lt;p&gt;It seems that it is that time of year again, when Juliano and Thai present their most recent attack against crypto system. Last year, it was &lt;a
href=&quot;/2011/10/mitigating-the-beast-attack-on-tls.html&quot;&gt;BEAST&lt;/a&gt;. This year, it's CRIME, a practical attack against how TLS is used in browsers. In a wider sense, the same attack conceptually applies to any encrypted protocol where the attacker controls what is being communicated.&lt;/p&gt;

&lt;p&gt;Initially, it was only known that the attack builds on top of an information leakage weakness, and the full results were going to be revealed at the talk at &lt;a href=&quot;http://www.ekoparty.org/eng/2012/thai-duong.php&quot;&gt;Ekoparty on September 21&lt;/a&gt;. Funnily enough, the details that were revealed themselves &quot;leaked&quot; and were sufficient for the experts to understand what is going on: On StackExchange, &lt;a href=&quot;http://security.stackexchange.com/questions/19911/crime-how-to-beat-the-beast-successor&quot;&gt;Thomas Pornin speculated that it was about compression&lt;/a&gt;. An &lt;a href=&quot;http://www.iacr.org/cryptodb/archive/2002/FSE/3091/3091.pdf&quot; target=&quot;_self&quot;&gt;academic paper from 2002&lt;/a&gt; (PDF) was revealed. A &lt;a href=&quot;http://pastebin.com/qZdNYgfr&quot; target=&quot;_self&quot;&gt;proof of concept was submitted by xorninja&lt;/a&gt;, and &lt;a href=&quot;https://gist.github.com/3696912&quot; target=&quot;_self&quot;&gt;improved by Krzysztof Kotowicz&lt;/a&gt;. &lt;a href=&quot;http://arstechnica.com/security/2012/09/crime-hijacks-https-sessions/&quot; target=&quot;_self&quot;&gt;Dan Goodin wrote a great summary&lt;/a&gt; of what was known at the time, and included a video of the demonstration. Finally, &lt;a href=&quot;http://threatpost.com/en_us/blogs/crime-attack-uses-compression-ratio-tls-requests-side-channel-hijack-secure-sessions-091312&quot; target=&quot;_self&quot;&gt;Threat Post published a confirmation&lt;/a&gt; from Juliano and Thai that was indeed compression.&lt;/p&gt;

&lt;h3&gt;What is the problem?&lt;/h3&gt;
&lt;p&gt;
The root cause of the problem is information leakage that occurs when data is compressed prior to encryption. If someone can repeatedly inject and mix arbitrary content with some sensitive and relatively predictable data, and observe the resulting encrypted stream, then she will be able to extract the unknown data from it.
&lt;/p&gt;
&lt;p&gt;
In practice, the attack works best against session cookies. If a man-in-the-middle (MITM) attacker 1) can observe network traffic, and 2) manipulate the victim's browser to submit requests to the target site, she can, as a result, steal the site's cookies, and thus hijack the victim's session. In the current form, the exploit uses JavaScript and needs 6 requests to extract one byte of data. The use of JavaScript is desired, but not required: simple &amp;lt;img&amp;gt; tags can do the job just as well, although with a performance penalty.&lt;/p&gt;
&lt;h3&gt;How bad is it?&lt;/h3&gt;
&lt;p&gt;
Several aspects need to come together for CRIME to be widely exploited.
First of all, there has to be server-side support for compression of request data before encryption. TLS supports DEFLATE compression (not to be confused with HTTP response compression, which is very popular, but not vulnerable to CRIME), but not all servers implement it. SSL Labs tests across the &lt;a href=&quot;https://www.trustworthyinternet.org/ssl-pulse/&quot; target=&quot;_self&quot;&gt;SSL Pulse data set &lt;/a&gt;indicate that about &lt;strong&gt;42% of the servers support TLS compression&lt;/strong&gt;. The servers include some of the most popular sites in the world.
&lt;/p&gt;
&lt;p&gt;
Another possibility is that the newer protocol, SPDY, is also vulnerable, because it has a separate mechanism for request header compression. In that case, all servers that support SPDY would be potentially vulnerable. SPDY is a young protocol and not very widely supported, but the sites that do support it are typically larger properties. SSL Labs is currently half way in measuring the support for SPDY across the SSL Pulse data set, but we're currently seeing &lt;strong&gt;SPDY support at &lt;strike&gt;0.8&lt;/strike&gt;2%&lt;/strong&gt;.
&lt;/p&gt;
&lt;p&gt;
The second requirement is that client-side also supports compression, and here we will find that the situation is much better. The only browser to properly support TLS compression is Chrome. As for SPDY, both Chrome and Firefox support it. However, it is understood that both Chrome and Firefox have removed support for TLS compression in their most recent updates. (For Firefox, it's even not clear if it was ever enabled.) SSL Labs runs a passive SSL fingerprinting tool called sslhaf. Using it we were able to estimate that &lt;strong&gt;only about 7% of browsers support compression at this point&lt;/strong&gt;. This is on our site, which gets a higher portion of the traffic from Chrome and Firefox users. Analysing the logs, we could see traces of Chrome, and, it seems, some mobile browsers. It is not clear if there were any changes to the SPDY implementation in Chrome and Firefox, but it is reasonable to expect that there will be.
&lt;/p&gt;
&lt;p&gt;
The third requirement for wide exploitation is an easy to use exploitation tool. Unlike BEAST, CRIME seems much easier to exploit; we've already seen a simple proof of concept, and so it's likely that we will see a complete tool soon, maybe as a fork of &lt;a href=&quot;http://www.thoughtcrime.org/software/sslstrip/&quot; target=&quot;_self&quot;&gt;sslstrip&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
Taking all of the above in the account, CRIME will be easy to exploit, but it will be harder to find vulnerable clients. Internet Explorer, Safari, and Opera do not seem to be affected. Chrome and Firefox seem to be, but they use automatic updates, so I expect that the majority of the user base will upgrade to the patched versions. The vulnerable clients will thus be restricted to those using older clients.
&lt;/p&gt;
&lt;p&gt;
Further, unlike BEAST, which requires a manual intervention to mitigate, CRIME will be easier to patch. I expect most vendors will simply disable TLS compression.
&lt;/p&gt;
&lt;h3&gt;What to do?&lt;/h3&gt;
&lt;p&gt;
First of all, if you're using an older Chrome or Firefox, upgrade to the most recent version. If you're operating a web site, use the &lt;a href=&quot;https://www.ssllabs.com/ssltest/&quot; target=&quot;_self&quot;&gt;SSL Labs assessment tool&lt;/a&gt; to determine if your site supports TLS compression and SPDY (look for &lt;strong&gt;Compression&lt;/strong&gt; and &lt;strong&gt;Next Protocol Support&lt;/strong&gt; on the results page, towards the bottom). If you think the risk is too high, disable compression if your web software allows you to do it. (If they don't today, they will soon.)
&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update (15 Sep 2012)&lt;/strong&gt; In &lt;a href=&quot;http://isecpartners.com/blog/2012/9/14/details-on-the-crime-attack.html&quot; target=&quot;_self&quot;&gt;Details on the &quot;CRIME&quot; attack&lt;/a&gt;, iSec Partners give a very good overview of which browsers are vulnerable, and how to disable compression server side. &lt;/p&gt;

</content>
  </entry>
  
  <entry>
    <id>http://blog.ivanristic.com/2012/07/protocol-level-evasion-of-web-application-firewalls</id>
    <link type="text/html" rel="alternate" href="http://blog.ivanristic.com/2012/07/protocol-level-evasion-of-web-application-firewalls.html"/>
    <title>Protocol-level evasion of web application firewalls</title>
    <published>2012-07-25T10:25:00+01:00</published>
    <updated>2012-07-25T10:25:00+01:00</updated>
    <author>
      <name>Ivan Ristić</name>
    </author>
    <content type="html">&lt;p&gt;Web application firewalls have come a long way from their modest beginnings more than a decade ago. They are now an accepted security best practice and have a significant role in compliance. But there is still a lot left to do before they can unlock their full potential.&lt;/p&gt;

&lt;p&gt;There is one aspect in particular that interests me a great deal, and that is the ability of end users to verify the operation of WAFs and measure their technical quality. Understandably, vendors are reluctant to talk about the weaknesses in their products. However, understanding the weak points is critical for effective deployments. We cannot claim to have achieved any level of security otherwise. As always with these things, we should assume that our adversaries already know about those weaknesses; but how can we know too? Simple, by forcing the issue out in the open.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://www.blackhat.com/html/bh-us-12/bh-us-12-briefings.html#Ristic&quot; target=&quot;_self&quot;&gt;Today at Black Hat we (Qualys) are announcing&lt;/a&gt; a new research project on protocol-level evasion of web application firewalls. This type of evasion focuses on the low level operation of WAFs, aiming to exploit little differences in how WAFs see traffic and how backend web servers and applications see it. If you get the WAF to see something different from what the backend is seeing, you have an evasion opportunity that could possibly be used to execute any attack type, without detection.&lt;/p&gt;

&lt;p&gt;I spent a great deal of effort on protocol-level evasion in my years of working on ModSecurity (an open source web application firewall I started in 2002, and worked on until 2009). I imagine all WAF manufacturers spend a lot of effort in this area, yet this topic is seldom discussed in public. It is our aim to change this. Our focus on protocol-level evasion is part of our work on &lt;a href=&quot;https://www.ironbee.com/&quot; target=&quot;_self&quot;&gt;IronBee&lt;/a&gt;, a new open source web application firewall we are building at &lt;a href=&quot;https://www.qualys.com/&quot; target=&quot;_self&quot;&gt;Qualys&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Attached to this post is our research paper that focuses on request path, parameter, and multipart/form-data evasion. Also attached are the Black Hat talk slides that introduce the research. The testing suite (a sort of a research toolkit) is in the &lt;a href=&quot;https://github.com/ironbee/waf-research&quot; target=&quot;_self&quot;&gt;IronBee WAF Research repository&lt;/a&gt; on GitHub.&lt;/p&gt;

&lt;ul&gt;

&lt;li&gt;&lt;a href=&quot;https://community.qualys.com/servlet/JiveServlet/download/38-10665/Protocol-Level%20Evasion%20of%20Web%20Application%20Firewalls%20v1.1%20(18%20July%202012).pdf&quot; target=&quot;_self&quot;&gt;Protocol-Level Evasion of Web Application Firewalls v1.1 (18 July 2012).pdf&lt;/a&gt; (254.4 K)&lt;/li&gt;

&lt;li&gt;&lt;a href=&quot;https://community.qualys.com/servlet/JiveServlet/download/38-10829/Protocol-Level%20Evasion%20of%20Web%20Application%20Firewalls%20(Ivan%20Ristic%2C%20Qualys%2C%20Black%20Hat%20USA%202012)%20SLIDES.pdf&quot; target=&quot;_self&quot;&gt;Protocol-Level Evasion of Web Application Firewalls (Ivan Ristic, Qualys, Black Hat USA 2012) SLIDES.pdf&lt;/a&gt; (1.7 MB)&lt;/li&gt;

&lt;/ul&gt;
</content>
  </entry>
  
  <entry>
    <id>http://blog.ivanristic.com/2012/07/how-good-is-client-side-support-for-rc4</id>
    <link type="text/html" rel="alternate" href="http://blog.ivanristic.com/2012/07/how-good-is-client-side-support-for-rc4.html"/>
    <title>How good is client-side support for RC4?</title>
    <published>2012-07-17T20:40:01+01:00</published>
    <updated>2012-07-17T20:40:01+01:00</updated>
    <author>
      <name>Ivan Ristić</name>
    </author>
    <content type="html">&lt;p&gt;When it comes to the mitigation of the BEAST attack against SSL/TLS, the usual advice is to &lt;a href=&quot;https://community.qualys.com/blogs/securitylabs/2011/10/17/mitigating-the-beast-attack-on-tls&quot;&gt;prioritize RC4 cipher suites&lt;/a&gt; in order to avoid CBC suites, which are vulnerable. In some cases, companies may even have to use RC4 suites exclusively. For example, I've recently heard of a case where a company was failed on its PCI compliance test because they had non-RC4 cipher suites enabled in their configuration.&lt;/p&gt;

&lt;p&gt;When RC4 prioritization is discussed, people often seek assurance that RC4 is widely supported. Obviously, if you are going to disable a large number of cipher suites, you start to worry if the remaining suites are going to be sufficient for your user base. Until recently, I had no answer to those questions. Even though all major browsers support RC4 by default, there was no way to quantify the support. Further, some browsers allow users to turn off certain cipher suites, and we just didn't know what the situation on the ground was.&lt;/p&gt;

&lt;p&gt;About two months ago I re-enabled &lt;a href=&quot;https://www.ssllabs.com/projects/client-fingerprinting/index.html&quot;&gt;mod_sslhaf &lt;/a&gt;on the SSL Labs web server. This Apache module, a project of &lt;a href=&quot;https://www.ssllabs.com/&quot;&gt;SSL Labs&lt;/a&gt;, records all cipher suites offered by clients. Today I looked at the results, curious to find out exactly how many of the SSL Labs clients supported RC4. I choose to compare the total number of unique IP addresses against the number of IP addresses that did not support TLS_RSA_WITH_RC4_128_MD5 (0x04) or TLS_RSA_WITH_RC4_128_SHA (0x05).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;In about two months, SSL Labs saw 48,481 unique IP addresses. Only 45 of those -- or 0.09% -- did not support RC4.&lt;/strong&gt; Looking at the user agent information, the clients not supporting RC4 seem to be largely those whose users decided to explicitly disable RC4 for one reason or another.&lt;/p&gt;

&lt;p&gt;The usual disclaimer applies here: the sample is taken from the SSL Labs web site and may not apply to other sites. However, if the assumption that the only non RC4 clients are those where this cipher suite was disabled by their owners, you could argue that an average site will see an even smaller number of non-compatible clients.&lt;/p&gt;
</content>
  </entry>
  
  <entry>
    <id>http://blog.ivanristic.com/2012/06/lead-application-security-researcher-wanted-to-join-a-great-team</id>
    <link type="text/html" rel="alternate" href="http://blog.ivanristic.com/2012/06/lead-application-security-researcher-wanted-to-join-a-great-team.html"/>
    <title>Lead application security researcher wanted to join a great team</title>
    <published>2012-06-26T13:25:28+01:00</published>
    <updated>2012-06-26T13:25:28+01:00</updated>
    <author>
      <name>Ivan Ristić</name>
    </author>
    <content type="html">&lt;p&gt;I am looking for a Lead Application Security Researcher to join the WAF team at &lt;a href=&quot;http://www.qualys.com&quot; target=&quot;_self&quot;&gt;Qualys&lt;/a&gt;, and work with us to build the best application security monitoring, detection, and protection product (our &lt;a href=&quot;http://www.qualys.com/forms/web-application-firewall/&quot; target=&quot;_self&quot;&gt;cloud-based web application firewall&lt;/a&gt;). We want someone who knows the application security field inside-out, and has tons of practical experience with the right mix of offense and defense skills.&lt;/p&gt;
&lt;p&gt;The focus of this role is to own, design, and implement the security aspects of our product. This is a rare opportunity to break new ground, work in an exciting field, focus on application security research, and work with great people. We want someone who is passionate and focused, works independently and leaves no stone unturned. Above all, we want someone who will deliver.&lt;/p&gt;
&lt;p&gt;To make things even more interesting, we&amp;#39;ve been building our core engine and libraries as open source from day one. See them now at &lt;a href=&quot;https://github.com/ironbee/&quot; target=&quot;_self&quot;&gt;https://github.com/ironbee/&lt;/a&gt;. We expect our open source and community involvement to intensify over time. There&amp;#39;s also ample opportunity for writing articles, research papers, and presenting at conferences.&lt;/p&gt;
&lt;p&gt;This is a full time position in Redwood Shores, CA or Madison, WI. For the candidate that is just right, I am willing to consider other options.&lt;/p&gt;
&lt;p&gt;Skill checklist:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;You know how the Internet works (networking, protocols, etc)&lt;/li&gt;
&lt;li&gt;You know how web applications are built (and may have built some yourself)&lt;/li&gt;
&lt;li&gt;You know how to build secure web applications (the emphasis here is on understanding how to avoid vulnerabilities; strong programming experience is not required, but it&amp;#39;s useful if you are able to do some scripting to build a research lab and automate testing).&lt;/li&gt;
&lt;li&gt;You know how browsers work and interact with applications&lt;/li&gt;
&lt;li&gt;You know application security and can use your skills to attack vulnerable applications&lt;/li&gt;
&lt;li&gt;You can evade web application firewalls&lt;/li&gt;
&lt;li&gt;You understand exactly why your attacks and evasion techniques work&lt;/li&gt;
&lt;li&gt;You can use all of the above to build a better mouse trap&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If you fit the above description we would love to talk to you, employ you, and give you what you need to make you successful in our environment. Please contact me directly (the email is iristic at qualys.com) with your resume, examples of the work you are proud of, and a short cover letter. No agencies, please.&lt;/p&gt;

</content>
  </entry>
  
  <entry>
    <id>http://blog.ivanristic.com/2012/06/modsecurity-and-modsecurity-core-rule-set-multipart-bypasses</id>
    <link type="text/html" rel="alternate" href="http://blog.ivanristic.com/2012/06/modsecurity-and-modsecurity-core-rule-set-multipart-bypasses.html"/>
    <title>ModSecurity and ModSecurity Core Rule Set Multipart Bypasses</title>
    <published>2012-06-15T14:55:40+01:00</published>
    <updated>2012-06-15T14:55:40+01:00</updated>
    <author>
      <name>Ivan Ristić</name>
    </author>
    <content type="html">&lt;p&gt;During our research of web application firewall evasion issues, we uncovered a flaw in ModSecurity that may lead to complete bypass of the installed rules, in the cases when ModSecurity is deployed to protect the backends where impedance mismatch is not mitigated. Additionally, a separate flaw in ModSecurity CRS makes the content type checks ineffective, allowing for bypass attacks, when deployed to protect the backends where impedance mismatch is not mitigated.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.modsecurity.org&quot;&gt;ModSecurity&lt;/a&gt; is a popular and widely deployed open source web application firewall engine. By design, ModSecurity does not include any security logic. The recommended configuration contains only a couple of rules that are tightly coupled with the performance of the engine itself. A comprehensive set of rules for ModSecurity can be obtained from a separate project called &lt;a href=&quot;https://www.owasp.org/index.php/Category:OWASP_ModSecurity_Core_Rule_Set_Project&quot;&gt;ModSecurity Core Rules&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;One of the main goals of web application firewalls (WAFs) is to detect attacks against the web applications they are protecting. In the most commonly used deployment modes (e.g., when operating as a reverse proxy), a WAF will terminate the higher layers of the traffic stream (e.g., the HTTP protocol), but only inspect and pass-through the remainder of the data. In the latter case, WAFs are vulnerable to impedance mismatch issues, where they interpret traffic in one way and the backend application interprets it in another way. When an impedance mismatch issue exists, the WAF may be vulnerable to evasion attacks.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Impedance mismatch issues are possibly the most difficult aspect of WAF implementation. In many cases, correct deployment requires not only correct implementation in the WAF, but correct configuration and handling of the reported problems by administrators. Our hope is that this short document, as well as our future research in this area, will shed some light onto this rarely discussed topic of WAF design. We would be delighted if this information is used to raise the effective security in real-life WAF deployments.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;h3&gt;Vulnerable versions&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Confirmed in ModSecurity 2.6.5; earlier versions likely to be vulnerable&lt;/li&gt;
&lt;li&gt;Confirmed in ModSecurity Core Rule Set 2.2.4; earlier versions likely to be vulnerable&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Users are advised to upgrade to &lt;a href=&quot;http://www.modsecurity.org/download/modsecurity-apache_2.6.6.tar.gz&quot;&gt;ModSecurity 2.6.6&lt;/a&gt; and &lt;a href=&quot;https://sourceforge.net/projects/mod-security/files/modsecurity-crs/0-CURRENT/&quot;&gt;ModSecurity Core Rule Set 2.2.5&lt;/a&gt;, which are thought to fix the issues documented here. Further, those who are not deploying the CRS should check that in their configuration they have rules that check REQBODY_ERROR and MULTIPART_STRICT_ERROR, configured to block requests that have either of these flags set. For guidance on how to write such rules refer to the recommended default configuration file, which is included with ModSecurity.&amp;gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;h3&gt;Problem #1: Multipart bypass in ModSecurity with PHP in the backend&lt;/h3&gt;
&lt;p&gt;A mismatch between how multipart content is parsed in ModSecurity and PHP enables an attacker to perform a full rule set bypass.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;PHP has a very lax multipart/form-data parser. Traditionally, securing ModSecurity against evasion in this parser is where a lot of development time was spent. In 2009, Stefan Esser published an evasion technique that relies on the use of single quotes&amp;mdash;which are supported by PHP but were not supported by ModSecurity at the time&amp;mdash;to trick ModSecurity into treating a request parameter as a file. This results in a bypass because ModSecurity uses separate mechanisms for the inspection of request parameter and file content, and files are often left uninspected.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;This issue was addressed in November 2009 in ModSecurity 2.5.11, which started to accept single quotes for quoting. However, upon further examination of the PHP source code, we determined that the fix was not sufficient. PHP will not only allow a single quote to be used at the beginning of a string, but also at any other position within the string. ModSecurity, on the other hand, expects quote characters only at the first position. With some creativity, the impedance mismatch issue can be exploited to perform a bypass of the rules.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;The issue was confirmed against PHP 5.4.3, but it's very likely that earlier versions can be used too. We are not releasing a proof of concept at this time, but the vulnerability is easy to exploit.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;The users of ModSecurity CRS may be protected from this attack, depending on the exact deployment configuration. After the original issue had been reported, a defence-in-depth rule was added to CRS to detect side effects of a bypass attempt. This rule is effective when CRS is deployed in the traditional blocking mode, but not when anomaly scoring mode is used.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;This issue should be addressed in ModSecurity's multipart parser. In addition, we recommend the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Short term, improve the recommended default configuration to include the same defense in depth rule as the CRS.&lt;/li&gt;
&lt;li&gt;Long term, implement full request body rewriting. If the multipart payloads are fully rewritten according to how ModSecurity understands them, then any missed attack payloads will not be passed through to the backend. Such approach may require more processing, but we do not believe that this improvement would cause any practical performance issues because multipart content types are infrequent on average.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Problem #2: Content type bypass in ModSecurity CRS with certain backends&lt;/h3&gt;
&lt;p&gt;When the ModSecurity CRS is used to protect certain permissive backend applications, supplying an invalid content type can be used for a complete bypass.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;To address unknown content type bypass issues, ModSecurity CRS employs rules that allow only known content types to be used. However, these rules are not strict enough. By default, the CRS will check if the MIME type can be found within the following string (all one continuous line):&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: 'courier new', courier;&quot;&gt;application/x-www-form-urlencoded multipart/form-data text/xml application/xml application/x-amf&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;This check will indeed reject many unknown and invalid MIME types, but it will also accept any substrings that can be found within the above string. In most cases, such invalid MIME types can be used only against a small number of applications. The only situation where this can be exploited is when attacking applications that expect only certain MIME types known to them (e.g., application/x-www-form-urlencoded) and don't check what actual MIME type is indicated in the Content-Type request header.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;The attack was confirmed against &lt;a href=&quot;http://commons.apache.org/fileupload/&quot;&gt;Apache Commons FileUpload 1.2.1&lt;/a&gt;, but earlier versions are equally likely to contribute to the bypass. Starting with the Servlet 3.0 specification, file uploads are supported natively, without the need to use a separate library. The Tomcat web server bundles the FileUpload library to implement file uploads, so even applications that do not explicitly use upload libraries may be vulnerable. The problem likely affects other web servers that are built on the Tomcat code base. Outside Java, at least one other server-side framework is thought to be vulnerable to the same problem. &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;The attack was confirmed against Apache Commons FileUpload 1.2.1, but earlier versions are equally likely to contribute to the bypass in this way.&lt;/p&gt;
&lt;h3&gt;Credit&lt;/h3&gt;
&lt;p&gt;The new vulnerabilities discussed here were discovered by Ivan Ristic, from &lt;a href=&quot;http://www.qualys.com/research/&quot;&gt;Qualys Vulnerability &amp;amp; Malware Research Labs&lt;/a&gt; (VMRL).&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;h3&gt;Notices&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Ivan Ristic is the original author of ModSecurity. He started the project in 2002, and led it until January 2009. His last code contribution was in 2010. He remains involved through his ongoing work on &lt;em&gt;ModSecurity Handbook&lt;/em&gt;, which is the definitive guide on ModSecurity.&lt;/li&gt;
&lt;li&gt;At Qualys, Ivan Ristic is part of a team working on &lt;a href=&quot;https://www.ironbee.com&quot;&gt;IronBee&lt;/a&gt;, which is also an open source web application firewall.&lt;/li&gt;
&lt;li&gt;ModSecurity and mod_security are trademarks or registered trademarks of Trustwave Holdings, Inc.&lt;/li&gt;
&lt;/ul&gt;

</content>
  </entry>
  
  <entry>
    <id>http://blog.ivanristic.com/2012/05/my-infosecurity-london-2012-ssl-panel-notes</id>
    <link type="text/html" rel="alternate" href="http://blog.ivanristic.com/2012/05/my-infosecurity-london-2012-ssl-panel-notes.html"/>
    <title>My Infosecurity London 2012 SSL Panel Notes</title>
    <published>2012-05-23T11:19:20+01:00</published>
    <updated>2012-05-23T11:19:20+01:00</updated>
    <author>
      <name>Ivan Ristić</name>
    </author>
    <content type="html">&lt;p&gt;&lt;em&gt;Last month, &lt;a href=&quot;https://www.globalsign.com&quot;&gt;GlobalSign&lt;/a&gt; invited me to participate on an SSL Panel at Infosecurity London. Other participants were David Holmes (F5), Ryan Hurst (GlobalSign), and Steve Roylance (GlobalSign, moderator). These are my rough notes. I hope you will find them interesting.&lt;/em&gt;&lt;/p&gt;
&lt;h3&gt;Can you tell us about yourself and why you’re here?&lt;/h3&gt;
&lt;p&gt;In 2009 I quit my job (because I had become bored), and I decided to work on something I can be passionate about. As it happens, that something was SSL. I had discovered SSL a few years before, while working on my book Apache Security, and always wanted to go back to it, to research it in more detail. To my dismay, I discovered that SSL, arguably the most important security protocol on the planet, is poorly documented, difficult to configure correctly, and that there are no tools to test SSL configurations. That&amp;#39;s when SSL Labs was born. Today, SSL Labs offers the best assessment platform and for free. In the past 2 years we&amp;#39;ve conducted several large-scale surveys of public SSL implementation in an effort to understand exactly where we are, when it comes to the security of the Web.&lt;/p&gt;
&lt;h3&gt;Talk to us about your perspective on the last two years and the breaches at third-party trust providers?&lt;/h3&gt;
&lt;p&gt;I think that, in the last 2 years we learned that security is not static. It&amp;#39;s not something you work on, and then leave it behind. You know, SSL was designed in 1994, and, today, in 2012, remains essentially the same, conceptually. In the meantime, we saw the Web evolve, and evolve around SSL. The threat model of today is vastly different to the threat model of 1994. Eighteen years! So we dropped the ball. But I think that&amp;#39;s actually how things work, for us humans. We don&amp;#39;t think about security while it&amp;#39;s not a problem. As a result of that, security it becomes a real problem eventually, and &lt;em&gt;then&lt;/em&gt; we start to think about it. It&amp;#39;s a cycle; a never-ending cycle.&lt;/p&gt;
&lt;h3&gt;How would you describe the current situation of Public Trust on the Internet?&lt;/h3&gt;
&lt;p&gt;It&amp;#39;s not as bad as it seems. I think that, practically speaking, our biggest problem is not that we have too many CAs, but that we cannot yet build secure systems. The events from the last two years made us realise that any system can be broken into, and -- surprise, surprise -- even the CAs. Once you accept that, the obvious problem with Public Trust is that any one CA can create a certificate for any web site. Site owner&amp;#39;s permission is not even required. I am hopeful that that will be fixed with a new standard&amp;#0160; supporting public key pinning. Then, site owners will be able to say which CAs can issue certificates for their web sites.&lt;/p&gt;
&lt;h3&gt;Why aren’t Extended Validation certificates saving us now?&lt;/h3&gt;
&lt;p&gt;You know, back in the day, all certificates used to be &amp;quot;EV&amp;quot;. I remember very well jumping through many hoops to get a certificate -- so long ago I don&amp;#39;t even remember what year it was. I don&amp;#39;t think that many people realise that, prior to EV certs, there wasn&amp;#39;t a standard for certificate issuance. Today, there isn&amp;#39;t a standard for non-EV certificae issuance [we may get one officially any time now]. So I welcome EV certificates, because they connect your online presence to your off-line identity. That&amp;#39;s great, if you need it or if you want it. At the same time, DV certificates are getting cheaper, which is how it should be. The basic security of the communication channel should be available to everyone.&lt;/p&gt;
&lt;h3&gt;What is your take on the recent advances in cryptographic and protocol focused attacks?&lt;/h3&gt;
&lt;p&gt;The recent attacks against SSL are a sign of protocol maturity. The reality is that we are not smart enough to foresee all problems when we&amp;#39;re designing protocols. So the only way to arrive at something that is secure, is to give it our best shot, start to use it, and fix it as problems are discovered. The recent attacks against SSL demonstrate that people are looking at SSL, and that&amp;#39;s a great thing. That means that we&amp;#39;re improving. The sky is not falling; but please don&amp;#39;t tell everyone. I don&amp;#39;t mind the sensational headlines, because they get people&amp;#39;s attention. Without the headlines -- without fear -- we wouldn&amp;#39;t be able to improve security in the same way. For example, about 75% of all SSL sites are vulnerable to the BEAST attack. I wouldn&amp;#39;t mind seeing a sensationalist headline scaring everyone to improve their configuration. The reality is that we need more headlines and more working exploits. How CISO’s should approach trust providers and risk?  Choose a CA that you can trust, and a company for which certificate issuance is a significant business (revenue stream). Most of the risk is in-house, in which how you manage your certificates, configure your SSL servers, and implement your applications.&lt;/p&gt;
&lt;h3&gt;If you were to sit down with an IT manager today and talk to them about his biggest risks relating to SSL what would you tell them?&lt;/h3&gt;
&lt;p&gt;The biggest SSL-related risk is at the application layer. Your SSL server may be misconfigured today, but you can fix that very quickly. We have people testing themselves using our online assessment tool, getting a bad grade, improving their configuration and even getting a new certificate, just an hour later. And, to be honest, no one is attacking SSL directly. The real risk lies in the application layer, when applications use features that completely subvert SSL. It&amp;#39;s like SSL isn&amp;#39;t there. We conducted a deep survey of these issues last yar (in the most popular web sites), and the conclusion was that most sites are vulnerable, and SSL effectively useless. I have a lot of hope for declarative security measures. For example, HTTP Strict Transport Security is an emerging standard where you can declare that your application/site uses only SSL (never plain-text HTTP). That means that, even if your application contains implementation errors, you remain secure. I also have a lot of hope for new protocols, which will include SSL as a mandatory component. Eventually, we will migrate to an Internet that is 100% encrypted. I hope.&lt;/p&gt;
&lt;h3&gt;What do you think is the future of Public Trust?&lt;/h3&gt;
&lt;p&gt;Realistically speaking, I think we will stay pretty much where we are. Public Key Pinning will remove the most obvious problem. To change anything else -- that&amp;#39;s too much work for anyone&amp;#39;s taste. I would very much like to see browsers incorporate some elements of crowd-source (Covergence-style) trust for those who understand it. Password-based SSL authentication could be interesting.&lt;/p&gt;
&lt;h3&gt;What changes are being proposed to augment existing security technologies and how these changes may affect the industry?&lt;/h3&gt;
&lt;p&gt;We&amp;#39;ve seen many proposals, but not all of them are equally easy to implement. For example, there&amp;#39;s DNSSEC that implements a secure DNS, and DANE, which is a bridge between secure DNS and PKI. Because there is no doubt that we need a secure DNS, I have no doubt that DNSSEC will be widely deployed, eventually (it will take a few years). In the meantime, low-effort proposals, such as HSTS and Public Key Pinning, are likely to become practical. Technically speaking, other proposals can become reality, too, but they require a lot of lobbying and involve a lot of politics.&lt;/p&gt;
&lt;h3&gt;What do you think about DNSSEC and DANE?&lt;/h3&gt;
&lt;p&gt;There&amp;#39;s one aspect of DANE that I am not sure about, and that&amp;#39;s the ability to have valid certificates without CAs. It&amp;#39;s not that I like CAs very much, but we forget that the PKI infrastructure was designed to be independent of DNS. And, with DNSSEC, we will revert to only one trust root -- that in the DNS. On the other hand, everyone deserves basic security, and that&amp;#39;s something DNSSEC will most certainly achieve. The biggest problem is that with current CA-based ecosystem or with DNSSEC, site owners have no say.&lt;/p&gt;
&lt;h3&gt;What are the biggest problems of the security industry?&lt;/h3&gt;
&lt;p&gt;Our biggest problem is in having the security industry in the first place. Security is the business of the developers (used here in a wider sense, to mean those who implement things.) We have the security industry today only because those who are implementing our systems are not building security in. And that&amp;#39;s our biggest problem. It&amp;#39;s only when the economics of secure development improve that we are going to see substantial improvement in security. Apart from that, our biggest problem is complacency. For example, the CAs, who were (and are) getting serious money from issuing certificates, could have stayed on top of things. The could have tracked the threat model and reacted to new threats. (I don&amp;#39;t actually blame CAs for that. I mean, I do, but, ultimately, a wider community should take the responsibility.) Browser vendors could have fixed usability issues (rather than putting the burden of security on the shoulders of end users). And so on... We need our incentives aligned, so that it is in everyone&amp;#39;s interest to have better security.&lt;/p&gt;

</content>
  </entry>
  
 
</feed>
