<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Light Blue Touchpaper &#187; Protocols</title>
	<atom:link href="http://www.lightbluetouchpaper.org/category/security-engineering/protocols/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lightbluetouchpaper.org</link>
	<description>Security Research, Computer Laboratory, University of Cambridge</description>
	<lastBuildDate>Mon, 30 Jan 2012 10:06:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Observations from two weeks of SSH brute force attacks</title>
		<link>http://www.lightbluetouchpaper.org/2012/01/25/observations-from-two-weeks-of-ssh-brute-force-attacks/</link>
		<comments>http://www.lightbluetouchpaper.org/2012/01/25/observations-from-two-weeks-of-ssh-brute-force-attacks/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 07:49:40 +0000</pubDate>
		<dc:creator>Steven J. Murdoch</dc:creator>
				<category><![CDATA[Authentication]]></category>
		<category><![CDATA[Protocols]]></category>

		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/?p=3519</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Observations+from+two+weeks+of+SSH+brute+force+attacks&amp;rft.aulast=Murdoch&amp;rft.aufirst=Steven+J.&amp;rft.subject=Authentication&amp;rft.subject=Protocols&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2012-01-25&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2012/01/25/observations-from-two-weeks-of-ssh-brute-force-attacks/&amp;rft.language=English"></span>
Earlier this month, I blogged about monitoring password-guessing attacks on a server, via a patched OpenSSH. This experiment has now been running for just over two weeks, and there are some interesting results. I&#8217;ve been tweeting these since the start.
As expected, the vast majority of password-guessing attempts are quite dull, and fall into one of [...]]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Observations+from+two+weeks+of+SSH+brute+force+attacks&amp;rft.aulast=Murdoch&amp;rft.aufirst=Steven+J.&amp;rft.subject=Authentication&amp;rft.subject=Protocols&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2012-01-25&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2012/01/25/observations-from-two-weeks-of-ssh-brute-force-attacks/&amp;rft.language=English"></span>
<p>Earlier this month, I <a href="http://www.lightbluetouchpaper.org/2012/01/06/brute-force-password-guessing-attempts-on-ssh/">blogged</a> about monitoring password-guessing attacks on a server, via a <a href="https://gist.github.com/1572229">patched</a> OpenSSH. This experiment has now been running for just over two weeks, and there are some interesting results. I&#8217;ve been <a href="https://twitter.com/#!/sjmurdoch">tweeting</a> these since the start.</p>
<p>As expected, the vast majority of password-guessing attempts are quite dull, and fall into one of two categories. Firstly there are attempts with a large number of &#8216;poor&#8217; passwords (e.g. &#8220;password&#8221;, &#8220;1234&#8243;, etc&#8230;) against a small number of accounts which are very likely to exist (almost always &#8220;root&#8221;, but sometimes others such as &#8220;bin&#8221;).</p>
<p>Secondly, there were attempts on a large number of accounts which might plausibly exist (e.g. common first names and software packages such as &#8216;oracle&#8217;). For these, there were a very small number of password attempts, normally only trying the username as password. Well established good practices such as choosing a reasonably strong password and denying password-based log-in to the root account will be effective against both categories of attacks. Surprisingly, there were few attempts which were obviously default passwords from software packages (but they perhaps were hidden in the attempts where username equalled password). However, one attempt was username: &#8220;rfmngr&#8221;, password: &#8220;$rfmngr$&#8221;, which is the default password for Websense RiskFilter (see p.10 of <a href="http://www.websense.com/content/Assets/PDF/RiskFilter_Starter.pdf">the manual</a>).</p>
<p>There were, however, some more interesting attempts. <span id="more-3519"></span>One category was passwords far too complicated to be in a standard password dictionary, or even found through offline-brute-force attacks on a hashed password database (e.g. &#8220;TiganilAFloriNTeleormaN&#8221;, &#8220;Fum4tulP0@t3Uc1d3R4uD3T0t!@#$%^%^&#038;*?&#8221;, and &#8220;kx028897chebeuname+a&#8221;). The best guess is that these passwords were collected from an unhashed password database, or from a trojaned SSH server or client. <a href="http://www.lightbluetouchpaper.org/2012/01/06/brute-force-password-guessing-attempts-on-ssh/#comment-229309">Theo Markettos</a> identified a likely source for this password database. Other odd password attempts include plain hashes (e.g. E4F89B211D997C1D5ECCE2153DC9184A which is the MD5 of &#8220;upintheair&#8221;, found by <a href="http://www.lightbluetouchpaper.org/2007/11/16/google-as-a-password-cracker/">Google</a>), salted hashes (e.g. $1$EdkQIoSn$T3gzKLxlcxF7tsTCFqC8M) and filenames (e.g. &#8220;/var/run/sshd22.pid&#8221; and &#8220;/var/run/sshd&#8221;).</p>
<p>One conclusion which can be drawn is that this attacker does not care enough about the quality of the password database to filter out passwords which it makes almost no sense to use. This carelessness is supported by the fact that after I initially enabled my patched SSH server, I received many log-in attempts but no passwords. It turned out that the default FreeBSD configuration is to only support <a href="http://tools.ietf.org/html/rfc4256">keyboard-interactive</a> authentication, rather than the more limited <a href="http://tools.ietf.org/html/rfc4252">password</a> authentication. The brute force attack tool only attempted password authentication, and therefore was always rejected before any password was sent, so the attack was running for days without ever having a hope of succeeding. I did enable password authentication, but some later attacks, presumably using a different tool and probably from a different attacker, attempted both keyboard-interactive and password authentication.</p>
<p>One attack I hadn&#8217;t seen before was to try a large number of usernames, and parts of the hostname as password. For a hostname of the style MACHINE.DOMAIN.DEPARTMENT.cam.ac.uk, the attack tried DOMAIN, DOMAIN.DEPARTMENT, MACHINE, then MACHINE.DOMAIN. This clearly isn&#8217;t a dictionary but a bit of custom code which did a reverse DNS lookup on this host then generated some possible passwords. Using the hostname as a password for a host isn&#8217;t a good idea, but I can imagine some sysadmins doing so. The fact that some attackers are taking this approach might merit some explicit statement in password selection guidance. </p>
<p>Another curious trend was receiving meta-data as username/passwords. This might be due to the brute force tool not properly interpreting comments in the dictionary file, or the attacker not understanding the comment notation. For example I received the following username/passwords:</p>
<ul>
<li>[uratu/was HERE]</li>
<li>[I`m/A HaCkER ON]</li>
<li>[This/Is A Blow ShiT]</li>
<li>[acest/este:varza]</li>
<li>[data.conf/contzine]</li>
<li>[peste=6.000/de:usere]</li>
<li>[setate/=&lt;SweetSoul&gt;</li>
<li>[checking/SweetSoul]\\par</li>
</ul>
<p>It looks like the attacker thinks that square brackets are comment notation, but the brute force tool simply sends the text as SSH username/password pairs. There also seems to be a Romanian language connection. For example, &#8220;acest este varza&#8221; <a href="http://translate.google.com/">according to Google</a> means &#8220;this is cabbage&#8221; (perhaps an idiom), &#8220;contzine&#8221; means &#8220;list any&#8221;, &#8220;peste de usere&#8221; means &#8220;over the user&#8221;, &#8220;setate&#8221; means &#8220;set&#8221;. The Romanian connection also came up in the <a href="http://www.lightbluetouchpaper.org/2012/01/06/brute-force-password-guessing-attempts-on-ssh/">previous post</a> where Romanian for &#8220;Handbook of Mechanical Engineering&#8221; was tried as a password.</p>
<p>Attentive readers will note the &#8220;\\par&#8221; in the above list perhaps indicating that the file was converted to <a href="http://en.wikipedia.org/wiki/Rich_Text_Format">RTF</a> at some point. This appears indeed to be the case from the later attempt of username: &#8220;\\*\\generator&#8221;, password: &#8220;Msftedit 5.41.21.2508;}&#8230;[checking uratu]\\par&#8221;. From this we can also conclude that the attacker is using Windows WordPad.</p>
<p>Overall it was an interesting experiment, with some conclusions confirmed but a few surprises. However, this was only a two week experiment on a single machine, so care should be taken in drawing generalisations which assume that these results are typical.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lightbluetouchpaper.org/2012/01/25/observations-from-two-weeks-of-ssh-brute-force-attacks/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Make noise and whisper: a solution to relay attacks</title>
		<link>http://www.lightbluetouchpaper.org/2011/05/09/make-noise-and-whisper-a-solution-to-relay-attacks/</link>
		<comments>http://www.lightbluetouchpaper.org/2011/05/09/make-noise-and-whisper-a-solution-to-relay-attacks/#comments</comments>
		<pubDate>Mon, 09 May 2011 16:53:18 +0000</pubDate>
		<dc:creator>Omar Choudary</dc:creator>
				<category><![CDATA[Academic papers]]></category>
		<category><![CDATA[Authentication]]></category>
		<category><![CDATA[Banking security]]></category>
		<category><![CDATA[Hardware & signals]]></category>
		<category><![CDATA[Protocols]]></category>

		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/?p=2901</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Make+noise+and+whisper%3A+a+solution+to+relay+attacks&amp;rft.aulast=Choudary&amp;rft.aufirst=Omar&amp;rft.subject=Academic+papers&amp;rft.subject=Authentication&amp;rft.subject=Banking+security&amp;rft.subject=Hardware+%26%23038%3B+signals&amp;rft.subject=Protocols&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2011-05-09&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2011/05/09/make-noise-and-whisper-a-solution-to-relay-attacks/&amp;rft.language=English"></span>
About a moth ago I&#8217;ve presented at the Security Protocols Workshop a new﻿ idea to detect relay attacks, co-developed with Frank Stajano.
The idea relies on having a trusted box (which we call the T-Box as in the image below) between the physical interfaces of two communicating parties. The T-Box accepts 2 inputs (one from each party) [...]]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Make+noise+and+whisper%3A+a+solution+to+relay+attacks&amp;rft.aulast=Choudary&amp;rft.aufirst=Omar&amp;rft.subject=Academic+papers&amp;rft.subject=Authentication&amp;rft.subject=Banking+security&amp;rft.subject=Hardware+%26%23038%3B+signals&amp;rft.subject=Protocols&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2011-05-09&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2011/05/09/make-noise-and-whisper-a-solution-to-relay-attacks/&amp;rft.language=English"></span>
<p>About a moth ago I&#8217;ve presented at the <a href="http://spw.stca.herts.ac.uk/">Security Protocols Workshop</a> a new﻿ idea to detect relay attacks, co-developed with Frank Stajano.</p>
<p>The idea relies on having a trusted box (which we call the T-Box as in the image below) between the physical interfaces of two communicating parties. The T-Box accepts 2 inputs (one from each party) and provides one output (seen by both parties). It ensures that none of the parties can determine the complete input of the other party.</p>
<p><a href="http://www.lightbluetouchpaper.org/wp-content/uploads/2011/05/spw_relay_2.png"><img class="alignnone size-full wp-image-2909" title="spw_relay_2" src="http://www.lightbluetouchpaper.org/wp-content/uploads/2011/05/spw_relay_2.png" alt="T-Box" width="455" height="112" /></a></p>
<p>Therefore by connecting 2 instances of a T-Box together (as in the case of a relay attack) the message from one end to the other (Alice and Bob in the image above) gets distorted twice as much as it would in the case of a direct connection. That&#8217;s the basic idea.</p>
<p>One important question is how does the T-Box operate on the inputs such that we can detect a relay attack? In <a href="http://www.cl.cam.ac.uk/~osc22/docs/spw_relay_2011.pdf">the paper</a> we describe two example implementations based on a bi-directional channel (which is used for example between a smart card and a terminal). In order to help the reader understand these examples better and determine the usefulness of our idea Mike Bond and I have created a python simulation. <a href="http://www.cl.cam.ac.uk/~osc22/projects/tbox_norelay/pyscripts/tchannel.py">This simulation</a> allows you to choose the type of T-Box implementation, a direct or relay connection, as well as other parameters including the length of the anti-relay data stream and detection threshold.</p>
<p>In these two implementations we have restricted ourselves to make the T-Box part of the communication channel. The advantage is that we don&#8217;t rely on any party providing the T-Box since it is created automatically by communicating over the physical channel. The disadvantage is that a more powerful attacker can sample the line at twice the speed and overcome our T-Box solution.</p>
<p>The relay attack can be used against many applications, including all smart card based payments. There are already several ideas, including distance bounding, for detecting relay attacks. However our idea brings a new approach to the existing methods, and we hope that in the future we can find a practical implementation of our solutions, or a good scenario to use a physical T-Box which should not be affected by a powerful attacker.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lightbluetouchpaper.org/2011/05/09/make-noise-and-whisper-a-solution-to-relay-attacks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Pico: no more passwords!</title>
		<link>http://www.lightbluetouchpaper.org/2011/03/27/pico-no-more-passwords/</link>
		<comments>http://www.lightbluetouchpaper.org/2011/03/27/pico-no-more-passwords/#comments</comments>
		<pubDate>Sun, 27 Mar 2011 21:47:58 +0000</pubDate>
		<dc:creator>Frank Stajano</dc:creator>
				<category><![CDATA[Academic papers]]></category>
		<category><![CDATA[Authentication]]></category>
		<category><![CDATA[Protocols]]></category>
		<category><![CDATA[Security engineering]]></category>
		<category><![CDATA[Usability]]></category>

		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/?p=2842</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Pico%3A+no+more+passwords%21&amp;rft.aulast=Stajano&amp;rft.aufirst=Frank&amp;rft.subject=Academic+papers&amp;rft.subject=Authentication&amp;rft.subject=Protocols&amp;rft.subject=Security+engineering&amp;rft.subject=Usability&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2011-03-27&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2011/03/27/pico-no-more-passwords/&amp;rft.language=English"></span>
Passwords are no longer acceptable as a security mechanism. The arrogant security people ask users that passwords be memorable, unguessable, high entropy, all different and never written down. With the proliferation of the number of passwords and the ever-increasing brute-force capabilities of modern computers, passwords of adequate strength are too complicated for human memory, especially [...]]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Pico%3A+no+more+passwords%21&amp;rft.aulast=Stajano&amp;rft.aufirst=Frank&amp;rft.subject=Academic+papers&amp;rft.subject=Authentication&amp;rft.subject=Protocols&amp;rft.subject=Security+engineering&amp;rft.subject=Usability&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2011-03-27&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2011/03/27/pico-no-more-passwords/&amp;rft.language=English"></span>
<p>Passwords are no longer acceptable as a security mechanism. The arrogant security people ask users that passwords be memorable, unguessable, high entropy, all different and never written down. With the proliferation of the number of passwords and the ever-increasing brute-force capabilities of modern computers, passwords of adequate strength are too complicated for human memory, especially when one must remember dozens of them. The above demands cannot all be satisfied simultaneously. Users are right to be pissed off.</p>
<p>A number of proposals have attempted to find better alternatives for the case of web authentication, partly because the web is the foremost culprit in the proliferation of passwords and partly because its clean interfaces make technical solutions tractable.</p>
<p>For the poor user, however, a password is a password, and it’s still a pain in the neck regardless of where it comes from. Users aren’t fed up with web passwords but with passwords altogether. In “<a href="http://www.cl.cam.ac.uk/~fms27/papers/2011-Stajano-passwords-PRELIMINARY.pdf">Pico: no more passwords</a>, the position paper I’ll be presenting tomorrow morning at the <a href="http://spw.stca.herts.ac.uk/">Security Protocols Workshop</a>, I propose a clean-slate design to get rid of passwords everywhere, not just online. A portable gadget called Pico transforms your credentials from “what you know” into “what you have”.</p>
<p>A few people have already provided interesting feedback on the pre-proceedings draft version of the paper. I look forward to an animated discussion of this controversial proposal tomorrow.  Whenever I serve as help desk for my non-geek acquaintances and listen to what drives them crazy about computers I feel ashamed that, with passwords, we (the security people) impose on them such a contradictory and unsatisfiable set of requests. Maybe your gut reaction to Pico will be “it’ll never work”, but I believe we have a duty to come up with something more usable than passwords.</p>
<p>[UPDATE: the <a href="http://www.cl.cam.ac.uk/~fms27/papers/2011-Stajano-passwords-PRELIMINARY.pdf">paper</a> can also be downloaded from my own Cambridge web site, where the final version will appear in due course.]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lightbluetouchpaper.org/2011/03/27/pico-no-more-passwords/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Can we Fix Federated Authentication?</title>
		<link>http://www.lightbluetouchpaper.org/2011/03/24/can-we-fix-federated-authentication/</link>
		<comments>http://www.lightbluetouchpaper.org/2011/03/24/can-we-fix-federated-authentication/#comments</comments>
		<pubDate>Thu, 24 Mar 2011 11:44:56 +0000</pubDate>
		<dc:creator>Ross Anderson</dc:creator>
				<category><![CDATA[Academic papers]]></category>
		<category><![CDATA[Authentication]]></category>
		<category><![CDATA[Banking security]]></category>
		<category><![CDATA[Legal issues]]></category>
		<category><![CDATA[Protocols]]></category>
		<category><![CDATA[Security economics]]></category>
		<category><![CDATA[Security engineering]]></category>
		<category><![CDATA[Social networks]]></category>
		<category><![CDATA[Web security]]></category>

		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/?p=2835</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Can+we+Fix+Federated+Authentication%3F&amp;rft.aulast=Anderson&amp;rft.aufirst=Ross&amp;rft.subject=Academic+papers&amp;rft.subject=Authentication&amp;rft.subject=Banking+security&amp;rft.subject=Legal+issues&amp;rft.subject=Protocols&amp;rft.subject=Security+economics&amp;rft.subject=Security+engineering&amp;rft.subject=Social+networks&amp;rft.subject=Web+security&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2011-03-24&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2011/03/24/can-we-fix-federated-authentication/&amp;rft.language=English"></span>
My paper Can We Fix the Security Economics of Federated Authentication? asks how we can deal with a world in which your mobile phone contains your credit cards, your driving license and even your car key. What happens when it gets stolen or infected?
Using one service to authenticate the users of another is an old [...]]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Can+we+Fix+Federated+Authentication%3F&amp;rft.aulast=Anderson&amp;rft.aufirst=Ross&amp;rft.subject=Academic+papers&amp;rft.subject=Authentication&amp;rft.subject=Banking+security&amp;rft.subject=Legal+issues&amp;rft.subject=Protocols&amp;rft.subject=Security+economics&amp;rft.subject=Security+engineering&amp;rft.subject=Social+networks&amp;rft.subject=Web+security&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2011-03-24&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2011/03/24/can-we-fix-federated-authentication/&amp;rft.language=English"></span>
<p>My paper <a href="http://www.cl.cam.ac.uk/~rja14/Papers/sefa-pr11.pdf">Can We Fix the Security Economics of Federated Authentication?</a> asks how we can deal with a world in which your mobile phone contains your credit cards, your driving license and even your car key. What happens when it gets stolen or infected?</p>
<p>Using one service to authenticate the users of another is an old dream but a terrible tar-pit. Recently it has become a game of pass-the-parcel: your newspaper authenticates you via your social networking site, which wants you to recover lost passwords by email, while your email provider wants to use your mobile phone and your phone company  depends on your email account. The certification authorities on which online trust relies are open to coercion by governments – which would like us to use ID cards but are hopeless at making systems work. No-one even wants to answer the phone to help out a customer in distress. But as we move to a world of mobile wallets, in which your phone contains your credit cards and even your driving license, we&#8217;ll need a sound foundation that&#8217;s resilient to fraud and error, and usable by everyone. Where might this foundation be? I argue that there could be a quite surprising answer.</p>
<p>The paper describes some work I did on sabbatical at Google and will appear next week at the <a href="http://spw.stca.herts.ac.uk/">Security Protocols Workshop</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lightbluetouchpaper.org/2011/03/24/can-we-fix-federated-authentication/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>The Smart Card Detective: a hand-held EMV interceptor</title>
		<link>http://www.lightbluetouchpaper.org/2010/10/19/the-smart-card-detective-a-hand-held-emv-interceptor/</link>
		<comments>http://www.lightbluetouchpaper.org/2010/10/19/the-smart-card-detective-a-hand-held-emv-interceptor/#comments</comments>
		<pubDate>Tue, 19 Oct 2010 15:21:38 +0000</pubDate>
		<dc:creator>Omar Choudary</dc:creator>
				<category><![CDATA[Banking security]]></category>
		<category><![CDATA[Hardware & signals]]></category>
		<category><![CDATA[Protocols]]></category>
		<category><![CDATA[Security engineering]]></category>

		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/?p=2392</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=The+Smart+Card+Detective%3A+a+hand-held+EMV+interceptor&amp;rft.aulast=Choudary&amp;rft.aufirst=Omar&amp;rft.subject=Banking+security&amp;rft.subject=Hardware+%26%23038%3B+signals&amp;rft.subject=Protocols&amp;rft.subject=Security+engineering&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2010-10-19&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2010/10/19/the-smart-card-detective-a-hand-held-emv-interceptor/&amp;rft.language=English"></span>

During my MPhil within the Computer Lab (supervised by Markus Kuhn) I developed a card-sized device (named Smart Card Detective &#8211; in short SCD) that can monitor Chip and PIN transactions. The main goal of the SCD was to offer a trusted display for anyone using credit cards, to avoid scams such as tampered terminals [...]]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=The+Smart+Card+Detective%3A+a+hand-held+EMV+interceptor&amp;rft.aulast=Choudary&amp;rft.aufirst=Omar&amp;rft.subject=Banking+security&amp;rft.subject=Hardware+%26%23038%3B+signals&amp;rft.subject=Protocols&amp;rft.subject=Security+engineering&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2010-10-19&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2010/10/19/the-smart-card-detective-a-hand-held-emv-interceptor/&amp;rft.language=English"></span>
<p><a href="http://www.cl.cam.ac.uk/~osc22/media/frenchtv_scd.avi"><img class="alignnone size-full wp-image-2393" title="Live test of SCD" src="http://www.lightbluetouchpaper.org/wp-content/uploads/2010/10/video.png" alt="" width="384" height="288" /></a></p>
<p>During my MPhil within the Computer Lab (supervised by Markus Kuhn) I developed a card-sized device (named Smart Card Detective &#8211; in short SCD) that can monitor Chip and PIN transactions. The main goal of the SCD was to offer a trusted display for anyone using credit cards, to avoid scams such as tampered terminals which show an amount on their screen but debit the card another (see <a href="http://www.cl.cam.ac.uk/~sd410/papers/sc_relay.pdf">this</a> paper by Saar Drimer and Steven Murdoch). However, the final result is a more general device, which can be used to analyse and modify any part of an <a href="http://www.emvco.com/specifications.aspx?id=155">EMV</a> (protocol used by Chip and PIN cards) transaction.</p>
<p>Using the SCD we have successfully shown how the relay attack can be mitigated by showing the real amount on the trusted display. Even more, we have tested the No PIN vulnerability (see <a href="http://www.cl.cam.ac.uk/research/security/projects/banking/nopin/oakland10chipbroken.pdf">the paper</a> by Murdoch et al.) with the SCD. A reportage on this has been shown on Canal+ (video now available <a href="http://www.cl.cam.ac.uk/~osc22/media/frenchtv_scd.avi">here</a>).</p>
<p>After the &#8220;Chip and PIN is broken&#8221; paper was published some contra arguments referred to the difficulty of setting up the attack. The SCD can also show that such assumptions are many times incorrect.</p>
<p>More details on the SCD are on my MPhil thesis available <a href="http://www.cl.cam.ac.uk/~osc22/docs/mphil_acs_osc22.pdf">here</a>. Also important, the software is open source and along with the hardware schematics can be found in the <a href="http://www.cl.cam.ac.uk/~osc22/scd/">project&#8217;s page</a>. The aim of this is to make the SCD a useful tool for EMV research, so that other problems can be found and fixed.</p>
<p>Thanks to Saar Drimer, Mike Bond, Steven Murdoch and Sergei Skorobogatov for the help in this project. Also thanks to Frank Stajano and Ross Anderson for suggestions on the project.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lightbluetouchpaper.org/2010/10/19/the-smart-card-detective-a-hand-held-emv-interceptor/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
<enclosure url="http://www.cl.cam.ac.uk/~osc22/media/frenchtv_scd.avi" length="47131648" type="video/x-msvideo" />
		</item>
		<item>
		<title>Passwords in the wild, part IV: the future</title>
		<link>http://www.lightbluetouchpaper.org/2010/07/30/passwords-in-the-wild-part-iv-the-future/</link>
		<comments>http://www.lightbluetouchpaper.org/2010/07/30/passwords-in-the-wild-part-iv-the-future/#comments</comments>
		<pubDate>Fri, 30 Jul 2010 17:58:24 +0000</pubDate>
		<dc:creator>Joseph Bonneau</dc:creator>
				<category><![CDATA[Academic papers]]></category>
		<category><![CDATA[Authentication]]></category>
		<category><![CDATA[Protocols]]></category>
		<category><![CDATA[Security economics]]></category>
		<category><![CDATA[Security engineering]]></category>

		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/?p=2219</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Passwords+in+the+wild%2C+part+IV%3A+the+future&amp;rft.aulast=Bonneau&amp;rft.aufirst=Joseph&amp;rft.subject=Academic+papers&amp;rft.subject=Authentication&amp;rft.subject=Protocols&amp;rft.subject=Security+economics&amp;rft.subject=Security+engineering&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2010-07-30&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2010/07/30/passwords-in-the-wild-part-iv-the-future/&amp;rft.language=English"></span>
This is the fourth and final part in a series on password implementations at real websites, based on my paper at WEIS 2010 with Sören Preibusch.
Given the problems associated with passwords on the web outlined in the past few days, for years academics have searched for new technology to replace passwords. This thinking can at [...]]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Passwords+in+the+wild%2C+part+IV%3A+the+future&amp;rft.aulast=Bonneau&amp;rft.aufirst=Joseph&amp;rft.subject=Academic+papers&amp;rft.subject=Authentication&amp;rft.subject=Protocols&amp;rft.subject=Security+economics&amp;rft.subject=Security+engineering&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2010-07-30&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2010/07/30/passwords-in-the-wild-part-iv-the-future/&amp;rft.language=English"></span>
<p><em>This is the fourth and final part in a series on password implementations at real websites, based on my paper at <a href="http://www.cl.cam.ac.uk/%7Ejcb82/doc/password_thicket_bonneau_preibusch.pdf">WEIS 2010</a></em><em> with Sören Preibusch.</em></p>
<p>Given the problems associated with passwords on the web outlined in the past few days, for years academics have searched for new technology to replace passwords. This thinking can at times be counter-productive, as no silver bullets have yet materialised and this has distracted attention away from fixing the most pressing problems associated with passwords. Currently, the trendiest proposed solution is to use federated identity protocols to greatly reduce the number of websites which must collect passwords (as we&#8217;ve argued would be a <a href="http://www.lightbluetouchpaper.org/2010/07/27/passwords-in-the-wild-part-i-the-gap-between-theory-and-implementation/">very positive step</a>). Much focus has been given to OpenID, yet it is still struggling to gain widespread adoption. OpenID was deployed at less than 3% of websites we observed, with only <a href="https://www.mixx.com/register">Mixx</a> and <a href="http://www.livejournal.com/">LiveJournal</a> giving it much prominence.</p>
<p>Nevertheless, we optimistically feel that real changes will happen in the next few years, as password authentication on the web seems to be becoming increasingly unsustainable due to the increasing scale and interconnectivity of websites collecting passwords. We actually think we are already in the early stages of a password revolution, just not of the type predicted by academia.</p>
<p><span id="more-2219"></span>The question of why passwords still dominate was discussed at a panel 18 months ago at <a href="http://research.microsoft.com/apps/pubs/?id=80199">Financial Crypto 2009</a>, and already several of the major stumbling blocks to password replacement are quickly fading:</p>
<ul>
<li><strong>Reluctance to deploy new technology-</strong>While few websites have replaced passwords as a primary means of authentication, there has been considerable innovation by large authentication services in the past year, mostly in backup authentication. Google has rolled out <a href="https://www.google.com/accounts/UpdateAccountRecoveryOptions">SMS-based password recovery</a>, Microsoft is planning to do the same for <a href="http://www.marketwire.com/press-release/Microsoft-Previews-Reinvented-Windows-Live-Hotmail-NASDAQ-MSFT-1261956.htm">one-time use at untrusted terminals</a>, Facebook has rolled out backup authentication by <a href="http://www.insidefacebook.com/2010/07/26/facebook-photos-verify">identifying friends tagged in photographs</a>, and Amazon has quietly introduced its novel <a href="https://www.amazon.com/gp/payphrase/claim/whats-this.html">Payphrases system</a>.</li>
<li><strong>Lack of public evidence of risk<strong>-</strong></strong>There have been a few high publicity password incidents in the last year, notably the <a href="http://techcrunch.com/2009/12/14/rockyou-hack-security-myspace-facebook-passwords/">RockYou hack</a> and <a href="http://status.twitter.com/post/367671822/reason-4132-for-changing-your-password">Twitter account compromises</a> which led to forced reset of past users. These attacks are larger in scale than previous hacks but not qualitatively different (consider the now all-but-forgotten <a href="http://web.archive.org/web/20070109023445/http%3A//reddit.com/blog/theft">Reddit password compromise</a> of 2007). Twitter is proving to be an interesting driver of change, however. While there have been  high-profile account takeovers of other celebrity accounts, such as <a href="http://en.wikipedia.org/wiki/Sarah_Palin_email_hack">Sarah Palin&#8217;s email</a>, or <a href="http://www.theregister.co.uk/2005/02/21/paris_hacked/">Paris Hilton&#8217;s mobile phone</a>, celebrity Twitter account hacks have become routine, happening to basketball player <a href="http://blog.taragana.com/index.php/archive/ray-allen-twitter-account-hacked-reopened/">Ray Allen</a>, singer <a href="http://mashable.com/2010/02/27/jason-mraz-twitter-hacked/">Jason Mraz</a>, astronauts with <a href="http://www.coated.com/nasa-astronauts-twitter-account-hacked/">NASA</a>, and even President <a href="http://news.bbc.co.uk/1/hi/world/europe/8586269.stm">Barack Obama</a> (of course, some claims of account takeover are <a href="http://news.bbc.co.uk/1/hi/uk_politics/8517278.stm">quite dubious</a>). The most interesting thing about these attacks is that they increasingly seem to be financially motivated, as a high-audience compromised account is used to insert spam advertising. If account takeover becomes industrialised (along the lines of phishing and spam), it will put real pressure on changes to web authentication.</li>
<li><strong>No organisation with sufficient leverage to move the market</strong>-With the <a href="http://www.guardian.co.uk/technology/2010/jul/21/facebook-500-million-users">meteoric rise of Facebook</a>, this assumption is increasingly dated. Facebook is increasingly gaining the power to impose its preferred identity solution, Facebook Connect, with some <a href="http://techcrunch.com/2010/03/04/yahoo-contacts-gets-facebook-connect/">large identity providers getting on board</a>.</li>
</ul>
<p>This leaves one major problem in place, competing stakeholders in the market, to which our study provides valuable data. Why do small websites, particularly news websites, still collect their own passwords instead of relying on a federated identity provider? There seems to be little security reason for doing so, as reliance on email providers for backup authentication is already nearly universal. Excluding webmail providers themselves, over 97% of websites we studied used external email addresses as login identifiers and performed password reset using email as a trusted channel.</p>
<p>Considering newspaper websites as the prime example of password deployments with questionable utility, we found that they were significantly more likely than other websites to collect marketing data at the time of password collection. They also nearly universally, with only a single exception, insist on verifying the validity of a user&#8217;s email address as a pre-requisite for an account (this was equally true at sites which also require CAPTCHAs, so we don&#8217;t think false account prevention is the primary reason). At this point, users may be trained to accept the idea of inputting personal data along with a password. A password input field may serve as a ceremonial cue that entering personal data into a form is safe (verifying this with behavioural experiments is an important future research question).</p>
<p>Thus, collecting passwords provides cover for collecting personal data, which provides tangible benefits to a site operator. The costs of password collection, however, aren&#8217;t primarily borne by the server. As <a href="http://www.lightbluetouchpaper.org/2010/07/28/passwords-in-the-wild-part-ii-failures-in-the-market/">discussed Wednesday</a>, the costs of insecurity are largely borne by higher-security websites. The usability costs, in contrast are borne by users themselves. Users have a limited capability to remember and manage multiple passwords securely, which deteriorates as each additional website which requests a password, but each of those websites gains unilaterally from collection. Thus, over-collection can be viewed as a <a href="http://en.wikipedia.org/wiki/Tragedy_of_the_commons">tragedy of the commons</a>, as each website races to capitalise on users&#8217; limited resources. As a result, 85% of the <a href="http://www.alexa.com/topsites">500 most popular websites</a> collect passwords, and the average web user has over <a href="http://research.microsoft.com/apps/pubs/?id=74164">25 password-protected accounts</a>.</p>
<p>OpenID may be being held back by market forces. For users, removing the requirement of registering personal information with the site is an advantage, but for many websites, removing the ability to collect personal data eliminates a major justification for deploying passwords at all. This may explain why we saw over twice as many websites in our study which accepted Facebook Connect, a proprietary protocol which is very similar to OpenID. In addition to being simpler for users to understand, Facebook Connect allows relying websites to send data to and from the user&#8217;s Facebook profile, more than replacing the previous motivation for collecting passwords. Tapping into Facebook&#8217;s unique arsenal of user data has proved irresistible even to large websites like <a href="http://www.telegraph.co.uk/technology/facebook/7914188/Amazon-integrates-Facebook-Connect-to-improve-its-recommendations.html">Amazon</a>.</p>
<p>Of all places on the web though, I think the American gossip website <a href="http://www.tmz.com/">TMZ</a> may be the clearest picture of the future. Authentication on the site is seamless, just as OpenID advocates hope it can be. Objects on the site can be dragged and dropped into one of several external identity providers (Facebook, Google, Twitter, and Yahoo), each with heavy customisation and use of OAuth to share data, but no option to use other OpenID providers. Whether OpenID is used or similar protocols, the future may be dominated by a small oligopoly of identity providers with large amounts of personal data, in contrast to the design goals of OpenID. The economics make it inevitable, however, that most sites don&#8217;t really care about who you are, but what they can gain from who you are.</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 433px; width: 1px; height: 1px; overflow: hidden;">http://www.tmz.com/</div>
]]></content:encoded>
			<wfw:commentRss>http://www.lightbluetouchpaper.org/2010/07/30/passwords-in-the-wild-part-iv-the-future/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Passwords in the wild, part I: the gap between theory and implementation</title>
		<link>http://www.lightbluetouchpaper.org/2010/07/27/passwords-in-the-wild-part-i-the-gap-between-theory-and-implementation/</link>
		<comments>http://www.lightbluetouchpaper.org/2010/07/27/passwords-in-the-wild-part-i-the-gap-between-theory-and-implementation/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 15:16:04 +0000</pubDate>
		<dc:creator>Joseph Bonneau</dc:creator>
				<category><![CDATA[Academic papers]]></category>
		<category><![CDATA[Authentication]]></category>
		<category><![CDATA[Protocols]]></category>
		<category><![CDATA[Security economics]]></category>
		<category><![CDATA[Security engineering]]></category>

		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/?p=2197</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Passwords+in+the+wild%2C+part+I%3A+the+gap+between+theory+and+implementation&amp;rft.aulast=Bonneau&amp;rft.aufirst=Joseph&amp;rft.subject=Academic+papers&amp;rft.subject=Authentication&amp;rft.subject=Protocols&amp;rft.subject=Security+economics&amp;rft.subject=Security+engineering&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2010-07-27&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2010/07/27/passwords-in-the-wild-part-i-the-gap-between-theory-and-implementation/&amp;rft.language=English"></span>
Sören Preibusch and I have finalised our in-depth report on password practices in the wild, The password thicket: technical and market failures in human authentication on the web, presented in Boston last month for WEIS 2010. The motivation for our report was a lack of technical research into real password deployments. Passwords have been studied [...]]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Passwords+in+the+wild%2C+part+I%3A+the+gap+between+theory+and+implementation&amp;rft.aulast=Bonneau&amp;rft.aufirst=Joseph&amp;rft.subject=Academic+papers&amp;rft.subject=Authentication&amp;rft.subject=Protocols&amp;rft.subject=Security+economics&amp;rft.subject=Security+engineering&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2010-07-27&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2010/07/27/passwords-in-the-wild-part-i-the-gap-between-theory-and-implementation/&amp;rft.language=English"></span>
<p>Sören Preibusch and I have finalised our in-depth report on password practices in the wild, <a href="http://www.cl.cam.ac.uk/%7Ejcb82/doc/password_thicket_bonneau_preibusch.pdf">The password thicket: technical and market failures in human authentication on the web</a>, presented in Boston last month for <a href="http://weis2010.econinfosec.org/">WEIS 2010</a>. The motivation for our report was a lack of technical research into real password deployments. Passwords have been studied as an authentication mechanism quite intensively for the last 30 years, but we believe ours was the first large study into how Internet sites actually implement them. We studied 150 sites, including the most visited overall sites plus a random sample of mid-level sites. We signed up for free accounts with each site, and using a mixture of scripting and patience, captured all visible aspects of password deployment, from enrolment and login to reset and attacks.</p>
<p>Our data (<a href="http://preibusch.de/publ/password-market">which is now publicly available</a>) gives us an interesting picture into the current state of password deployment. Because the dataset is huge and the paper is quite lengthy, we&#8217;ll be discussing our findings and their implications from a series of different perspectives. Today, we&#8217;ll focus on the preventable mistakes. In academic literature, it&#8217;s assumed that passwords will be encrypted during transmission, hashed before storage, and attempts to guess usernames or passwords will be throttled. None of these is widely true in practice.</p>
<p><span id="more-2197"></span>Storing passwords without hashing (and salting) is the first cardinal sin of password implementation; late last year it enabled the theft of <a href="http://techcrunch.com/2009/12/14/rockyou-hack-security-myspace-facebook-passwords/">32 M RockYou users&#8217; passwords</a>. Yet the practice remains common: at least 29% of the sites we studied sent cleartext passwords via email, meaning that they must be stored without proper hashing (they may be stored encrypted, but this makes little difference-if the server gets rooted, the encryption keys are likely to be available).  It&#8217;s impossible to know how the rest store passwords without auditing their databases, but another telling indicator is that at least 40% of sites imposed a short maximum password length or restrictions on special characters. These are both warning signs that passwords are being stored directly in a database table without hashing, which would reduce arbitrarily long input passwords to a constant storage size. Only 1 site of 150 successfully hashed passwords in the browser using JavaScript, giving us confidence that passwords aren&#8217;t stored in a recoverable format (two other sites tried but botched the details).</p>
<p>Using TLS to authenticate the server and encrypt passwords in transmission is another essential aspect of password security. 41% of sites failed to use any TLS, though what&#8217;s more surprising is the number that implemented TLS inconsistently. A full password implementation will contain up to four separate forms for password entry: enrolment, login, update, and password reset. Of sites implementing TLS, 28% forgot to protect at least one of these forms (usually the update form or the enrolment form), including some big names like Facebook, MySpace, Twitter, and WordPress. Not implementing any TLS may be a (questionable) security trade-off, but implementing it inconsistently is certainly an oversight. Only 39% of sites had a complete, working TLS deployment.</p>
<p>For authentication by an online server, two other important security practices are preventing user probing attacks and password guessing attacks. User probing allows attackers to build up a large list  of users registered with the site. Attackers can use such a list in a <em>trawling attack</em>, where a few popular passwords are guessed for a large number of accounts in the hope of compromising a small number of them. 19% of sites give an &#8220;email address not registered&#8221; error message upon log-in with a bogus email address, making user probing trivial. A much more common mistake, however, made by 80% of sites, is to give an &#8220;email address not registered&#8221; error message when requesting a password reset email for a bogus email address. This is an easy detail to overlook, but it means it is trivial to collect a large membership list at most password-collecting sites.</p>
<p>The risk of a trawling attack, however, is predicated on the assumption that repeated password guessing for an individual account will be limited. In fact, the large majority of sites (84%) did not appear to rate-limit password guessing at all, allowing our automated script to guess 100 incorrect passwords at the rate of one per second before successfully logging in to a test account. There is some research suggesting against <a href="http://www.google.com/url?sa=t&amp;source=web&amp;cd=2&amp;ved=0CBYQFjAB&amp;url=http%3A%2F%2Fciteseerx.ist.psu.edu%2Fviewdoc%2Fdownload%3Fdoi%3D10.1.1.8.2500%26rep%3Drep1%26type%3Dpdf&amp;ei=0E9MTMqyCcWe4QbY_aiaDA&amp;usg=AFQjCNGcgu8EnE31ASWmCcnXS4vrflkvrw&amp;sig2=2yX2KThMj9mfcwW5DY-k3A">low guessing cutoffs</a>, but we saw no cutoff values greater than 20, and it seems safe to assume very few of the sites which didn&#8217;t block us after 100 attempts would do so at a later point.</p>
<p>In the security research community, we generally assume web-based password authentication includes basic security measures: encryption during transmission, hashing for storage, and prevention of brute force attacks or user probing. There are still many ways that passwords can fail, notably key-loggers and phishing, for which we have no consensus solution. Yet implementing the basics is surprisingly rare-just 3 of  150 studied sites managed to do so successfully (Google, Microsoft Live, and ShopBop). The sites we studied were, for the most part, professionally-done sites representing multi-million dollar businesses.</p>
<p>In a few cases, sites may be making a defensible security/usability tradeoff. Amazon, for example, didn&#8217;t block our brute force attempts, but there&#8217;s ample reason to believe they detect account takeover by other means. On the whole though, the level of security implemented is dramatically lower than security researchers might expect. There&#8217;s an interesting parallel here. At first the insecurity of passwords was blamed on users not behaving the way security engineers wanted them to: choosing weak passwords, forgetting them, writing them down, sharing them, and typing them in to the wrong domains. It&#8217;s now generally accepted that we should design <a href="http://portal.acm.org/citation.cfm?id=322806">password security around users</a>, and that users may <a href="http://research.microsoft.com/users/cormac/papers/2009/SoLongAndNoThanks.pdf">even be wise to ignore security advice</a>.</p>
<p>Web developers are people too, <a href="http://emergentchaos.com/archives/2010/07/soups-keynote-slides.html">as was recently argued at SOUPS</a>, and they don&#8217;t behave the way security engineers would like either when it comes to passwords. Right or wrong, we should update our thinking to take this into account.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lightbluetouchpaper.org/2010/07/27/passwords-in-the-wild-part-i-the-gap-between-theory-and-implementation/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Who controls the off switch?</title>
		<link>http://www.lightbluetouchpaper.org/2010/07/26/who-controls-the-off-switch/</link>
		<comments>http://www.lightbluetouchpaper.org/2010/07/26/who-controls-the-off-switch/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 17:18:06 +0000</pubDate>
		<dc:creator>Ross Anderson</dc:creator>
				<category><![CDATA[Academic papers]]></category>
		<category><![CDATA[Politics]]></category>
		<category><![CDATA[Protocols]]></category>
		<category><![CDATA[Security economics]]></category>
		<category><![CDATA[Security engineering]]></category>

		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/?p=2204</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Who+controls+the+off+switch%3F&amp;rft.aulast=Anderson&amp;rft.aufirst=Ross&amp;rft.subject=Academic+papers&amp;rft.subject=Politics&amp;rft.subject=Protocols&amp;rft.subject=Security+economics&amp;rft.subject=Security+engineering&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2010-07-26&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2010/07/26/who-controls-the-off-switch/&amp;rft.language=English"></span>
We have a new paper on the strategic vulnerability created by the plan to replace Britain&#8217;s 47 million meters with smart meters that can be turned off remotely. The energy companies are demanding this facility so that customers who don&#8217;t pay their bills can be switched to prepayment tariffs without the hassle of getting court [...]]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Who+controls+the+off+switch%3F&amp;rft.aulast=Anderson&amp;rft.aufirst=Ross&amp;rft.subject=Academic+papers&amp;rft.subject=Politics&amp;rft.subject=Protocols&amp;rft.subject=Security+economics&amp;rft.subject=Security+engineering&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2010-07-26&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2010/07/26/who-controls-the-off-switch/&amp;rft.language=English"></span>
<p>We have a <a href="http://www.cl.cam.ac.uk/~rja14/Papers/meters-offswitch.pdf">new paper</a> on the strategic vulnerability created by the plan to replace Britain&#8217;s 47 million meters with smart meters that can be turned off remotely. The energy companies are demanding this facility so that customers who don&#8217;t pay their bills can be switched to prepayment tariffs without the hassle of getting court orders against them. If the Government buys this argument &ndash; and I&#8217;m not convinced it should &ndash; then the off switch had better be closely guarded. You don&#8217;t want the nation&#8217;s enemies to be able to turn off the lights remotely, and eliminating that risk could just conceivably be a little bit more complicated than you might at first think. (This paper follows on from our earlier paper <a href="http://www.cl.cam.ac.uk/~rja14/Papers/meters-weis.pdf">On the security economics of electricity metering</a> at <a href="http://www.lightbluetouchpaper.org/2010/06/07/workshop-on-the-economics-of-information-security-2010/">WEIS 2010</a>.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lightbluetouchpaper.org/2010/07/26/who-controls-the-off-switch/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>IEEE best paper award</title>
		<link>http://www.lightbluetouchpaper.org/2010/05/18/ieee-best-paper-award/</link>
		<comments>http://www.lightbluetouchpaper.org/2010/05/18/ieee-best-paper-award/#comments</comments>
		<pubDate>Tue, 18 May 2010 20:05:19 +0000</pubDate>
		<dc:creator>Ross Anderson</dc:creator>
				<category><![CDATA[Academic papers]]></category>
		<category><![CDATA[Awards]]></category>
		<category><![CDATA[Banking security]]></category>
		<category><![CDATA[News coverage]]></category>
		<category><![CDATA[Protocols]]></category>
		<category><![CDATA[Security engineering]]></category>

		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/?p=2089</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=IEEE+best+paper+award&amp;rft.aulast=Anderson&amp;rft.aufirst=Ross&amp;rft.subject=Academic+papers&amp;rft.subject=Awards&amp;rft.subject=Banking+security&amp;rft.subject=News+coverage&amp;rft.subject=Protocols&amp;rft.subject=Security+engineering&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2010-05-18&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2010/05/18/ieee-best-paper-award/&amp;rft.language=English"></span>
Steven Murdoch, Saar Drimer, Mike Bond and I have just won the IEEE Security and Privacy Symposium&#8217;s Best Practical Paper award for our paper Chip and PIN is Broken. This was an unexpected pleasure, given the very strong competition this year (especially from this paper). We won this award once before, in 2008, for a [...]]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=IEEE+best+paper+award&amp;rft.aulast=Anderson&amp;rft.aufirst=Ross&amp;rft.subject=Academic+papers&amp;rft.subject=Awards&amp;rft.subject=Banking+security&amp;rft.subject=News+coverage&amp;rft.subject=Protocols&amp;rft.subject=Security+engineering&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2010-05-18&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2010/05/18/ieee-best-paper-award/&amp;rft.language=English"></span>
<p>Steven Murdoch, Saar Drimer, Mike Bond and I have just won the IEEE Security and Privacy Symposium&#8217;s Best Practical Paper award for our paper <a href="http://www.lightbluetouchpaper.org/2010/02/11/chip-and-pin-is-broken/">Chip and PIN is Broken</a>. This was an unexpected pleasure, given the very strong competition this year (especially from <a href="http://www.autosec.org/pubs/cars-oakland2010.pdf">this paper</a>). We won this award once before, in 2008, for a paper on a <a href="http://www.lightbluetouchpaper.org/2008/05/21/ped-vulnerability-paper-receives-most-practical-paper-award-at-oakland/">similar topic</a>.</p>
<p><img src="/wp-content/uploads/2010/05/ross_mike_saar_steven1-mod1.jpg" alt="Ross, Mike, Saar, Steven (photo by Joseph Bonneau)" /></p>
<p><strong>Update</strong> (2010-05-28): The photo now includes the full team (<a href="/wp-content/uploads/2010/05/steven_ross.jpg">original version</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lightbluetouchpaper.org/2010/05/18/ieee-best-paper-award/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Romantic cryptography</title>
		<link>http://www.lightbluetouchpaper.org/2010/02/10/romantic-cryptography/</link>
		<comments>http://www.lightbluetouchpaper.org/2010/02/10/romantic-cryptography/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 11:47:30 +0000</pubDate>
		<dc:creator>Frank Stajano</dc:creator>
				<category><![CDATA[Academic papers]]></category>
		<category><![CDATA[Cryptology]]></category>
		<category><![CDATA[Privacy technology]]></category>
		<category><![CDATA[Protocols]]></category>

		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/?p=1714</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Romantic+cryptography&amp;rft.aulast=Stajano&amp;rft.aufirst=Frank&amp;rft.subject=Academic+papers&amp;rft.subject=Cryptology&amp;rft.subject=Privacy+technology&amp;rft.subject=Protocols&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2010-02-10&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2010/02/10/romantic-cryptography/&amp;rft.language=English"></span>
The aptly-named Journal of Craptology (est. 1998) has just published a special Valentine Day issue. It contains a silly piece on Romantic Cryptography that we originally discussed in 1999 in our Friday meetings.
]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=Romantic+cryptography&amp;rft.aulast=Stajano&amp;rft.aufirst=Frank&amp;rft.subject=Academic+papers&amp;rft.subject=Cryptology&amp;rft.subject=Privacy+technology&amp;rft.subject=Protocols&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2010-02-10&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2010/02/10/romantic-cryptography/&amp;rft.language=English"></span>
<p>The aptly-named <a href="http://www.anagram.com/~jcrap/">Journal of Craptology</a> (est. 1998) has just published a special <a href="http://www.anagram.com/~jcrap/Volume_7/">Valentine Day</a> issue. It contains a silly piece on <a href="http://www.cl.cam.ac.uk/~fms27/papers/2000-StajanoHar-romantic.pdf">Romantic Cryptography</a> that we <a href="http://www.cl.cam.ac.uk/research/security/meetings/past-presentations.html">originally discussed in 1999</a> in our Friday meetings.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lightbluetouchpaper.org/2010/02/10/romantic-cryptography/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

