<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-5127857.post1888737785411553154..comments</id><updated>2009-08-06T21:32:42.161+02:00</updated><title type='text'>Comments on Asgeir S. Nilsen tenker litt: TLS: A Broken Trust Model</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.asgeirnilsen.com/feeds/1888737785411553154/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5127857/1888737785411553154/comments/default'/><link rel='alternate' type='text/html' href='http://blog.asgeirnilsen.com/2009/06/tls-broken-trust-model.html'/><author><name>Asgeir S. Nilsen</name><uri>http://www.blogger.com/profile/09990435798930983334</uri><email>asgeirn@gmail.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5127857.post-502081231750846492</id><published>2009-08-06T21:32:42.161+02:00</published><updated>2009-08-06T21:32:42.161+02:00</updated><title type='text'>The security of DNS is a separate issue, and TLS a...</title><content type='html'>The security of DNS is a separate issue, and TLS actually solves this problem. This doesn&amp;#39;t have much to do with DNSSEC. If the DNS is spoofed, even if the CN of the server certificate matches the spoofed hostname, it won&amp;#39;t (or shouldn&amp;#39;t be certified) by a CA you trust. This trust can be enhanced by EV certificates.&lt;br /&gt;&lt;br /&gt;Regarding your second example &amp;quot;The last time I registered with a new bank the welcoming package was delivered to me via certified mail where I had to identify myself with my passport.&amp;quot;, that&amp;#39;s exactly the same problem of logic as in your first suggestion (&amp;quot;1. The browser issues a digital certificate&amp;quot;): the fact that you identify yourself with your passport does not mean that what you&amp;#39;re receiving comes from a legitimate source. It&amp;#39;s up the the sender to identify itself first.&lt;br /&gt;The same problem exists with client certificates and hardware tokens: there&amp;#39;s no point sending your client certificate to a server you haven&amp;#39;t verified. That&amp;#39;s where the man-in-the-middle attack may come from.&lt;br /&gt;&lt;br /&gt;What you would want from your bank is to go to their branch (assuming that it&amp;#39;s a place you can trust) and ask them for their certificate or fingerprint in person, so as to be able to verify it when you connect to their website later. It&amp;#39;s relatively easy to do for shops that have physical branches you can trust (assuming they&amp;#39;re all real shops), but it becomes much harder for companies you can&amp;#39;t get hold of physically (e.g. Amazon, etc.). That&amp;#39;s why you need trusted intermediates such as commercial CAs.&lt;br /&gt;&lt;br /&gt;I totally agree with the fact that few users really understand warning messages (and act upon them correctly), but checking each certificate isn&amp;#39;t necessarily easier.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5127857/1888737785411553154/comments/default/502081231750846492'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5127857/1888737785411553154/comments/default/502081231750846492'/><link rel='alternate' type='text/html' href='http://blog.asgeirnilsen.com/2009/06/tls-broken-trust-model.html?showComment=1249587162161#c502081231750846492' title=''/><author><name>Bruno Harbulot</name><uri>http://www.blogger.com/profile/08679661710559052320</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.asgeirnilsen.com/2009/06/tls-broken-trust-model.html' ref='tag:blogger.com,1999:blog-5127857.post-1888737785411553154' source='http://www.blogger.com/feeds/5127857/posts/default/1888737785411553154' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-5127857.post-2670318411981535539</id><published>2009-08-06T20:31:56.468+02:00</published><updated>2009-08-06T20:31:56.468+02:00</updated><title type='text'>Thanks for your comment.  You are absolutely right...</title><content type='html'>Thanks for your comment.  You are absolutely right regarding my first suggestion and it being vulnerable to a man-in-the-middle attack.  However, TLS is here trying to fix a problem with DNS; the fact that you cannot be sure that the DNS server you are talking to is serving the correct data for a host name.  &lt;br /&gt;&lt;br /&gt;This is something DNSSEC or OpenDNS attempt to fix.&lt;br /&gt;&lt;br /&gt;My second suggestion is actually part of what TLS support already today, as Jeff Moser pointed out: TLS-PSK or TLS-SRP.&lt;br /&gt;&lt;br /&gt;The exchange of this pre-shared key is of course an issue, but one issue web banks solve already today upon customer registration.  The last time I registered with a new bank the welcoming package was delivered to me via certified mail where I had to identify myself with my passport. &lt;br /&gt;&lt;br /&gt;This welcoming package can then serve as the out-of-band delivery method for the pre-shared key.  Many banks also require hardware tokens for logging in.&lt;br /&gt;&lt;br /&gt;One final point: Many users have very little understanding of what these server certificates are for, and act wrongly: Look at the article &lt;a href="http://www.infoworld.com/d/security-central/security-certificate-warnings-dont-work-researchers-say-725" rel="nofollow"&gt;&lt;em&gt;Security certificate warnings don&amp;#39;t work, researchers say&lt;/em&gt;&lt;/a&gt;.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5127857/1888737785411553154/comments/default/2670318411981535539'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5127857/1888737785411553154/comments/default/2670318411981535539'/><link rel='alternate' type='text/html' href='http://blog.asgeirnilsen.com/2009/06/tls-broken-trust-model.html?showComment=1249583516468#c2670318411981535539' title=''/><author><name>Asgeir S. Nilsen</name><uri>http://www.blogger.com/profile/09990435798930983334</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='08959582694896526640'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.asgeirnilsen.com/2009/06/tls-broken-trust-model.html' ref='tag:blogger.com,1999:blog-5127857.post-1888737785411553154' source='http://www.blogger.com/feeds/5127857/posts/default/1888737785411553154' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-5127857.post-4721449354056593440</id><published>2009-08-06T20:04:04.411+02:00</published><updated>2009-08-06T20:04:04.411+02:00</updated><title type='text'>The TLS trust model isn't broken as such. Your con...</title><content type='html'>The TLS trust model isn&amp;#39;t broken as such. Your concerns are valid, but what you seem to be disagreeing with is the concept of Public Key Infrastructures (PKI). You seem to have missed the problem they aim to solve: key distribution. What you&amp;#39;re suggesting is a manual Web-of-Trust approach (a la PGP). This is fair enough, but it leads to a lot of practical problems when you want to deal with someone with whom you haven&amp;#39;t pre-established trust (or established it via intermediate parties).&lt;br /&gt;&lt;br /&gt;You don&amp;#39;t need to change anything in TLS or Firefox to fulfil your requirements; all you need to do is to delete the certification authorities from your Firefox installation and re-import the certificate of each website you trust one by one when you visit them. However you verify those is up to you, and will have to be done out of band (and will certainly be tedious).&lt;br /&gt;&lt;br /&gt;Regarding your key exchange suggestions:&lt;br /&gt;(1) could lead to a man-in-the-middle attach (checking the identity of the server first is fundamental for the security of TLS);&lt;br /&gt;(2) presents the same problem: that&amp;#39;s what TLS does ultimately during the handshake (exchanging shared keys securely), again you do need to pre-verify the identity of the remote party to do this, so you&amp;#39;d need to know how to verify its key/certificate in advance.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5127857/1888737785411553154/comments/default/4721449354056593440'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5127857/1888737785411553154/comments/default/4721449354056593440'/><link rel='alternate' type='text/html' href='http://blog.asgeirnilsen.com/2009/06/tls-broken-trust-model.html?showComment=1249581844411#c4721449354056593440' title=''/><author><name>Bruno Harbulot</name><uri>http://www.blogger.com/profile/08679661710559052320</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.asgeirnilsen.com/2009/06/tls-broken-trust-model.html' ref='tag:blogger.com,1999:blog-5127857.post-1888737785411553154' source='http://www.blogger.com/feeds/5127857/posts/default/1888737785411553154' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-5127857.post-2671559099424778595</id><published>2009-08-03T10:56:17.167+02:00</published><updated>2009-08-03T10:56:17.167+02:00</updated><title type='text'>Thanks for your comment.  Your references to TLS-P...</title><content type='html'>Thanks for your comment.  Your references to TLS-PSK and TLS-SRP were interesting reads indeed.&lt;br /&gt;&lt;br /&gt;Seems I didn&amp;#39;t think thoroughly enough into the man-in-the-middle issues.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5127857/1888737785411553154/comments/default/2671559099424778595'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5127857/1888737785411553154/comments/default/2671559099424778595'/><link rel='alternate' type='text/html' href='http://blog.asgeirnilsen.com/2009/06/tls-broken-trust-model.html?showComment=1249289777167#c2671559099424778595' title=''/><author><name>Asgeir S. Nilsen</name><uri>http://www.blogger.com/profile/09990435798930983334</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='08959582694896526640'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.asgeirnilsen.com/2009/06/tls-broken-trust-model.html' ref='tag:blogger.com,1999:blog-5127857.post-1888737785411553154' source='http://www.blogger.com/feeds/5127857/posts/default/1888737785411553154' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-5127857.post-7552419108351554803</id><published>2009-07-28T17:11:26.876+02:00</published><updated>2009-07-28T17:11:26.876+02:00</updated><title type='text'>Good thoughts, however I think your #1 recommendat...</title><content type='html'>Good thoughts, however I think your #1 recommendation has a man-in-the-middle attack issue.&lt;br /&gt;&lt;br /&gt;I posted a full reply to the this at http://www.moserware.com/2009/06/first-few-milliseconds-of-https.html#c9103997414201993900</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5127857/1888737785411553154/comments/default/7552419108351554803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5127857/1888737785411553154/comments/default/7552419108351554803'/><link rel='alternate' type='text/html' href='http://blog.asgeirnilsen.com/2009/06/tls-broken-trust-model.html?showComment=1248793886876#c7552419108351554803' title=''/><author><name>Jeff Moser</name><uri>http://www.blogger.com/profile/16074905903060665396</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.asgeirnilsen.com/2009/06/tls-broken-trust-model.html' ref='tag:blogger.com,1999:blog-5127857.post-1888737785411553154' source='http://www.blogger.com/feeds/5127857/posts/default/1888737785411553154' type='text/html'/></entry></feed>