<?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; Saar Drimer</title>
	<atom:link href="http://www.lightbluetouchpaper.org/author/sd/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>Card fraud &#8212; what can one do?</title>
		<link>http://www.lightbluetouchpaper.org/2008/12/22/card-fraud-what-can-one-do/</link>
		<comments>http://www.lightbluetouchpaper.org/2008/12/22/card-fraud-what-can-one-do/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 14:01:37 +0000</pubDate>
		<dc:creator>Saar Drimer</dc:creator>
				<category><![CDATA[Banking security]]></category>

		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/?p=551</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=Card+fraud+%26%238212%3B+what+can+one+do%3F&amp;rft.aulast=Drimer&amp;rft.aufirst=Saar&amp;rft.subject=Banking+security&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2008-12-22&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2008/12/22/card-fraud-what-can-one-do/&amp;rft.language=English"></span>
People often ask me what can they do to prevent themselves from being victims of card fraud when they pay with their cards at shops or use them in ATMs (for on-line card fraud tips see e-victims.org, for example). My short answer is usually &#8220;not much, except checking your statements and reporting anomalies to the [...]]]></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=Card+fraud+%26%238212%3B+what+can+one+do%3F&amp;rft.aulast=Drimer&amp;rft.aufirst=Saar&amp;rft.subject=Banking+security&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2008-12-22&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2008/12/22/card-fraud-what-can-one-do/&amp;rft.language=English"></span>
<p>People often ask me what can they do to prevent themselves from being victims of card fraud when they pay with their cards at shops or use them in ATMs (for on-line card fraud tips see <a href="http://www.e-victims.org/">e-victims.org</a>, for example). My short answer is usually &#8220;not much, except checking your statements and reporting anomalies to the bank&#8221;. This post is the longer answer &#8212; little practical things, some a bit over the top, I admit &#8212; that cardholders <em>can</em> do to <em>decrease</em> the risk of falling victim to card fraud. (Some of these will only apply to UK issued cards, some to all smartcards, and the rest applies to all types of cards.)</p>
<p><strong>Practical: </strong></p>
<p><strong>1.</strong> If you have a UK EMV card, ask the bank to send you a new card if it was issued before the first quarter of 2008. <a href="http://www.apacs.org.uk/">APACS</a> has said that cards issued from January 2008 have an iCVV (&#8216;integrated circuit <a href="http://en.wikipedia.org/wiki/Card_Security_Code">card verification value</a>&#8216;) in the chip that isn&#8217;t the same as the one on the magnetic stripe (CVV1). This means that if the magstripe data was read off the chip (it&#8217;s there for fallback) and written onto a blank magstripe card, it shouldn&#8217;t &#8212; if iCVVs are indeed checked &#8212; work at ATMs anywhere. The bad news is that in February 2008 only two out of four newly minted cards that we tested had iCVV, though today your chances may be better.</p>
<p><a href="http://www.lightbluetouchpaper.org/wp-content/uploads/2008/12/taped_ped_sm1.jpg"><img src="http://www.lightbluetouchpaper.org/wp-content/uploads/2008/12/taped_ped_sm1.jpg" alt="A PIN entry device taped together" title="Taped PED" width="237" height="300" class="size-medium wp-image-565 right" /></a><strong>2.</strong> In places that you are able to pick up the PIN entry device (PED), do it (Sainsbury&#8217;s actually <a href="http://www.lightbluetouchpaper.org/2007/09/15/keep-your-keypads-close/">encourages</a> this). Firstly, it may allow you to hide your PIN from the people behind you in the queue. Secondly, it allows you to give it a cursory inspection: if there is more than one wire coming out from the back, or the thing falls apart, you shouldn&#8217;t use it. (In the picture on the right you see a mounted PED at a high-street shop that is crudely taped together.) In addition, be suspicious of PEDs that are mounted in an irregular way such that you can&#8217;t move or comfortably use them; this may indicate that the merchant has a very good camera angle on the keypad, and if you move the PED, it may get out of focus. Of course, some stores mount their PEDs such that they can&#8217;t be moved, so you&#8217;ll have to use your judgment. </p>
<p><span id="more-551"></span></p>
<p><strong>3.</strong> Put a hand, wallet, purse, hat over your hand when you punch in the PIN at an ATM or PED. Don&#8217;t be shy about it. Practice punching in the PIN in such a way that your hand movements do not reveal the digits (one way is to use your thumb underneath your palm). Hiding your PIN as you enter it is prudent and good practice, though it may not save you if the PED has been <a href="http://www.javelinstrategy.com/2008/10/13/a-security-hole-in-the-payments-supply-chain/">compromised during manufacturing</a>, or as we have <a href="http://www.lightbluetouchpaper.org/2008/02/26/chip-pin-terminals-vulnerable-to-simple-attacks/">demonstrated</a> in <a href="http://www.lightbluetouchpaper.org/2007/05/21/distance-bounding-against-smartcard-relay-attacks/">the past</a>. </p>
<p><strong>4.</strong> If you have a debit card, keep as little money as possible in the account that is associated with that card so you minimize the amount of money criminals have access to. Also, try to set the account such that there is no overdraft allowed on it.</p>
<p><strong>5.</strong> When you travel outside of the UK with an EMV card, local criminals can steal it and sign for goods at places without EMV infrastructure; they don&#8217;t need to know the PIN. You will then have to fight for your money with your bank. So don&#8217;t take along cards you do not intend to use, and if you do, hide them well, especially if you leave them behind in a dodgy hotel.</p>
<p><strong>6.</strong> Set your cards to have different PINs: if someone saw your PIN when you entered it at a shop and later steals your wallet, he will be able to withdraw money from all of your cards. Even if the PIN wasn&#8217;t compromised, if the  criminal assums that all PINs are the same, he now has more attempts to guess it. If you find it hard to remember multiple PINs, then set them to have some relationship (that you keep to yourself). Say, each digit of the second card&#8217;s PIN is an increment of the corresponding digit of the first card&#8217;s PIN; there are many ways to do this such that it is easy to derive PINs from the one you remember.  </p>
<p><strong>7.</strong> Be observant at ATMs. A broken ATM should either be off, or more properly, display an &#8220;out of order&#8221; message on the screen. A note posted on the screen may indicate that the criminals are trying to divert you to an ATM they have compromised (by <a href="http://atm.ev6.net/">installing</a> <a href="http://www.flickr.com/photos/bowbrick/48063067/">an</a> <a href="http://www.flickr.com/photos/bowbrick/48062948/">ATM</a> <a href="http://images.inq7.net/news/breaking/images/2005/aug/11/atm-skimmer.jpg">skimmer</a> or a <a href="http://en.wikipedia.org/wiki/Lebanese_loop">Lebanese</a> <a href="http://news.bbc.co.uk/1/hi/england/2787707.stm">loop</a>). Or, they have placed a fake ATM nearby that may give you the cash, but will empty your bank account. In general, avoid using <a href="http://flickr.com/photos/eye4beauty/1677000198/">mobile</a> or detached ATMs; fake or tampered ones can be easily passed off as legitimate, and you are unlikely to notice. (The <a href="http://computerworld.co.nz/news.nsf/scrt/19798B0C0963BA0ECC2574D6007A3B24">advice</a> on how, where and when to install ATM skimmers by a seasoned card fraudster can also tell us what to look out for.) Finally, be suspicious of anyone &#8220;helping&#8221; you to use an ATM.</p>
<p><strong>Paranoid: </strong></p>
<p><strong>8.</strong> Put a thin opaque tape over the CVV2 (the three digit number on the back of the card that is used for card-not-present, i.e. on-line, transactions). All a cashier or waiter needs to know in order to make an on-line transaction with your card is the account number, name, expiry date, and the CVV2; all helpfully available on the card itself. Hiding the CVV2 from being remembered on casual inspection may save you from paying for someone else&#8217;s big screen TV. In some cases the crooks may need your address as well, so the waiter that skims your card also gives you a raffle card to put your details on for a chance to win a free bottle of wine on your next visit. Since the address verification in the UK is <a href="http://www.the3rdman.co.uk/news/?p=21">inadequate</a>, all they need to do in order to get the TV delivered is to find an address that matches the digits within yours.</p>
<p>The CVV2 is used as a weak indicator that the person making the on-line purchase is actually in possession of the card. There is nothing preventing you from scratching off the three digits and keeping them safe elsewhere (near the only computer you do on-line transactions on, for example). In addition, when you lose your card, it will be harder for criminals to use it on-line.</p>
<p><strong>9.</strong> If you have access to a magstripe encoder, replace account details on the magstripe with 0&#8217;s. The disadvantage is that this card will be useless where smartcards are not accepted. So if you know that you&#8217;ll always use the chip, erasing the magstripe may be a good idea. (Practically, you may not want to erase the whole stripe because some ATM card slots check for data at the front of the stripe in order to accept the card; if that data is gone, you won&#8217;t be able to get cash. I also suppose that there are other ways to make the magstripe data invalid other than erasing it with an encoder.)</p>
<p><strong>10.</strong> After you return from a trip abroad, if you have any doubt about the places that swiped your cards, change your PIN at an ATM. This will prevent criminals from withdrawing money from your account in countries that do not have EMV. You may also want to consider canceling the card, or ask your bank what to do. (In the UK, it is easy to change the PIN at an ATM, and I am unaware of any limitations on the amount of times that that can be done. I believe that some banks will re-issue you cards a small number of times per year for free, and then start charging you for them.)</p>
<p><strong>11.</strong> If you know of shops that let you pay with your card as a chip transaction but also swipe the magstripe for good measure and no apparent good reason, stop shopping there (I&#8217;ve experienced this in two different chain stores in the UK). They are not supposed to do that, and it is bad practice to educate cardholders that this is OK. Sometimes, it happens so fast you can&#8217;t stop the swipe; if you are concerned, change the PIN. It is common for cashiers to use a &#8217;swipe-and-dock&#8217; register if the PED fails (or always!) Avoid letting them use it if you can.</p>
<p><strong>12.</strong> If a waiter takes your card and walks away, call them back or follow them. With Chip and PIN, they are not supposed to take the card away; in fact, they are not supposed to handle the card at all. If they see you following them, they might think twice before <a href="http://magneticstripe.altervista.org/index.htm">skimming</a> your card and details with a <a href="http://www.news-journalonline.com/special/ATM/atm1.jpg">tiny portable card reader</a>.</p>
<p><strong>13.</strong> If your PIN has two (or more!) digits that are the same one after another (&#8216;<a href="http://en.wikipedia.org/wiki/1066">1066</a>&#8216;, is a good example of a really bad one), make sure you pause between them such that you do not help the criminals guess your PIN.</p>
<p>We can argue that in a well designed system some of the tips above would not be necessary, but that&#8217;s what we have to work with. It will be interesting to observe how banks will deal with card fraud in the current state of financial affairs. It seems to me that banks are going to be stricter with giving money back when fraud occurs, even in clear cases in favour of the cardholder, while victims are going to suffer even more due to the loss.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lightbluetouchpaper.org/2008/12/22/card-fraud-what-can-one-do/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>PED vulnerability paper receives &#8220;Most Practical Paper&#8221; award at Oakland</title>
		<link>http://www.lightbluetouchpaper.org/2008/05/21/ped-vulnerability-paper-receives-most-practical-paper-award-at-oakland/</link>
		<comments>http://www.lightbluetouchpaper.org/2008/05/21/ped-vulnerability-paper-receives-most-practical-paper-award-at-oakland/#comments</comments>
		<pubDate>Wed, 21 May 2008 09:56:48 +0000</pubDate>
		<dc:creator>Saar Drimer</dc:creator>
				<category><![CDATA[Academic papers]]></category>
		<category><![CDATA[Awards]]></category>
		<category><![CDATA[Banking security]]></category>

		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/?p=327</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=PED+vulnerability+paper+receives+%26%238220%3BMost+Practical+Paper%26%238221%3B+award+at+Oakland&amp;rft.aulast=Drimer&amp;rft.aufirst=Saar&amp;rft.subject=Academic+papers&amp;rft.subject=Awards&amp;rft.subject=Banking+security&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2008-05-21&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2008/05/21/ped-vulnerability-paper-receives-most-practical-paper-award-at-oakland/&amp;rft.language=English"></span>
In February, Steven Murdoch, Ross Anderson and I reported our findings on system-level failures of widely deployed PIN Entry Devices (PED) and the Chip and PIN scheme as a whole. Steven is in Oakland presenting the work described in our paper at the IEEE Symposium on Security and Privacy (slides).
We are very pleased that we [...]]]></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=PED+vulnerability+paper+receives+%26%238220%3BMost+Practical+Paper%26%238221%3B+award+at+Oakland&amp;rft.aulast=Drimer&amp;rft.aufirst=Saar&amp;rft.subject=Academic+papers&amp;rft.subject=Awards&amp;rft.subject=Banking+security&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2008-05-21&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2008/05/21/ped-vulnerability-paper-receives-most-practical-paper-award-at-oakland/&amp;rft.language=English"></span>
<p>In February, Steven Murdoch, Ross Anderson and I <a href="http://www.lightbluetouchpaper.org/2008/02/26/chip-pin-terminals-vulnerable-to-simple-attacks/">reported our findings</a> on system-level failures of widely deployed PIN Entry Devices (PED) and the Chip and PIN scheme as a whole. Steven is in Oakland presenting the work described in our <a href="http://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-711.pdf">paper</a> at the <a href="http://www.ieee-security.org/TC/SP2008/oakland08.html">IEEE Symposium on Security and Privacy</a> (<a href="http://www.cl.cam.ac.uk/~sjm217/talks/oakland08tamper.pdf">slides</a>).</p>
<p>We are very pleased that we are the recipients of the new &#8220;<a href="http://www.ieee-security.org/TC/SP2008/oakland08-cfp.html">Most Practical Paper</a>&#8221; award of the conference, given to &#8220;the paper most likely to immediately improve the security of current environments and systems&#8221;. Thanks to everyone who supported this work!</p>
<p style="text-align: center;"><img src="http://www.lightbluetouchpaper.org/wp-content/uploads/2008/06/award.jpg" alt="IEEE Security &#038; Privacy Magazine Award" width="290" height="360" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lightbluetouchpaper.org/2008/05/21/ped-vulnerability-paper-receives-most-practical-paper-award-at-oakland/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Chip &amp; PIN terminals vulnerable to simple attacks</title>
		<link>http://www.lightbluetouchpaper.org/2008/02/26/chip-pin-terminals-vulnerable-to-simple-attacks/</link>
		<comments>http://www.lightbluetouchpaper.org/2008/02/26/chip-pin-terminals-vulnerable-to-simple-attacks/#comments</comments>
		<pubDate>Tue, 26 Feb 2008 20:33:32 +0000</pubDate>
		<dc:creator>Saar Drimer</dc:creator>
				<category><![CDATA[Academic papers]]></category>
		<category><![CDATA[Banking security]]></category>
		<category><![CDATA[Hardware & signals]]></category>
		<category><![CDATA[Security economics]]></category>
		<category><![CDATA[Security engineering]]></category>

		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/2008/02/26/chip-pin-terminals-vulnerable-to-simple-attacks/</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=Chip+%26%23038%3B+PIN+terminals+vulnerable+to+simple+attacks&amp;rft.aulast=Drimer&amp;rft.aufirst=Saar&amp;rft.subject=Academic+papers&amp;rft.subject=Banking+security&amp;rft.subject=Hardware+%26%23038%3B+signals&amp;rft.subject=Security+economics&amp;rft.subject=Security+engineering&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2008-02-26&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2008/02/26/chip-pin-terminals-vulnerable-to-simple-attacks/&amp;rft.language=English"></span>
Steven J. Murdoch, Ross Anderson and I looked at how well PIN entry devices (PEDs) protect cardholder data. Our paper will be published at the IEEE Symposium on Security and Privacy in May, though an extended version is available as a technical report. A segment about this work will appear on BBC Two&#8217;s Newsnight 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=Chip+%26%23038%3B+PIN+terminals+vulnerable+to+simple+attacks&amp;rft.aulast=Drimer&amp;rft.aufirst=Saar&amp;rft.subject=Academic+papers&amp;rft.subject=Banking+security&amp;rft.subject=Hardware+%26%23038%3B+signals&amp;rft.subject=Security+economics&amp;rft.subject=Security+engineering&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2008-02-26&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2008/02/26/chip-pin-terminals-vulnerable-to-simple-attacks/&amp;rft.language=English"></span>
<p><a href="http://www.cl.cam.ac.uk/~sjm217">Steven J. Murdoch</a>, <a href="http://www.cl.cam.ac.uk/~rja14">Ross Anderson</a> and I looked at how well PIN entry devices (PEDs) protect cardholder data. Our paper will be published at the <a href="http://www.ieee-security.org/TC/SP2008/oakland08.html">IEEE Symposium on Security and Privacy</a> in May, though an extended version is available as a <a href="http://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-711.pdf">technical report</a>. A segment about this work will appear on BBC Two&#8217;s <a href="http://news.bbc.co.uk/1/hi/programmes/newsnight/default.stm">Newsnight</a> at 22:30 tonight.</p>
<p>We were able to demonstrate that two of the most popular PEDs in the UK &#8212; the Ingenico i3300 and Dione Xtreme &#8212; are vulnerable to a &#8220;tapping attack&#8221; using a paper clip, a needle and a small recording device. This allows us to record the data exchanged between the card and the PED&#8217;s processor without triggering tamper proofing mechanisms, and in clear violation of their supposed security properties. This attack can capture the card&#8217;s PIN because UK banks have opted to issue cheaper cards that do not use asymmetric cryptography to encrypt data between the card and PED.</p>
<p><a href="http://www.cl.cam.ac.uk/research/security/banking/ped/ingenico-tap.jpg"><img height="180" src="http://www.cl.cam.ac.uk/research/security/banking/ped/ingenico-tap.jpg" alt="Ingenico attack" /></a>&nbsp;<a href="http://www.cl.cam.ac.uk/research/security/banking/ped/dione-tap.jpg"><img height="180" src="http://www.cl.cam.ac.uk/research/security/banking/ped/dione-tap.jpg" alt="Dione attack" /></a></p>
<p>In addition to the PIN, as part of the transaction, the PED reads an exact replica of the magnetic strip (for backwards compatibility). Thus, if an attacker can tap the data line between the card and the PED&#8217;s processor, he gets all the information needed to create a magnetic strip card and withdraw money out of an ATM that does not read the chip.</p>
<p>We also found that the certification process of these PEDs is flawed. <a href="http://www.apacs.org.uk/">APACS</a> has been effectively approving PEDs for the UK market as Common Criteria (CC) <em><a href="http://www.apacs.org.uk/payment_options/PINEntryDevices.html">Evaluated</a></em>, which does not equal Common Criteria <em><a href="http://www.commoncriteriaportal.org/public/expert/index.php?menu=7">Certified</a></em> (no PEDs are CC Certified). What APACS means by &#8220;Evaluated&#8221; is that an approved lab has performed the &#8220;evaluation&#8221;, but unlike CC Certified products, the reports are kept secret, and governmental Certification Bodies do not do quality control.</p>
<p>This process causes a race to the bottom, with PED developers able to choose labs that will <em>approve</em> rather than <em>improve</em> PEDs, at the lowest price. Clearly, the certification process needs to be more open to the cardholders, who suffer from the fraud. It also needs to be fixed such that defective devices are refused certification.</p>
<p>We notified APACS, Visa, and the PED manufactures of our results in mid-November 2007 and responses arrived only in the last week or so (Visa chose to respond only a few minutes ago!) The <a href="http://www.cl.cam.ac.uk/research/security/banking/ped/#responses">responses</a> are the usual claims that our demonstrations can only be done in lab conditions, that criminals are not that sophisticated, the threat to cardholder data is minimal, and that their &#8220;layers of security&#8221; will detect fraud. There is no evidence to support these claims. APACS state that the PEDs we examined will not be de-certified or removed, and the same for the labs who certified them and would not even tell us who they are.</p>
<p>The threat is very real: tampered PEDs have already been used for fraud. See our <a href="http://www.cl.cam.ac.uk/research/security/banking/ped/press-release.html">press release</a> and <a href="http://www.cl.cam.ac.uk/research/security/banking/ped/">FAQ</a> for basic points and the <a href="http://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-711.pdf">technical report</a> where we discuss the work in detail.</p>
<p><strong>Update 1</strong> (2008-03-09): The segment of Newsnight featuring our contribution has been posted to <a href="http://video.google.com/videoplay?docid=-2532888875266883498">Google Video</a>.</p>
<p><strong>Update 2</strong> (2008-03-21): If the link above doesn&#8217;t work try YouTube: <a href="http://youtube.com/watch?v=L7QzOcZAwbg">part1</a> and <a href="http://youtube.com/watch?v=pHdX3ZYEvXw">part 2</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lightbluetouchpaper.org/2008/02/26/chip-pin-terminals-vulnerable-to-simple-attacks/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>Notes on FPGA DRM (part 1)</title>
		<link>http://www.lightbluetouchpaper.org/2007/09/24/notes-on-fpga-drm-part-1/</link>
		<comments>http://www.lightbluetouchpaper.org/2007/09/24/notes-on-fpga-drm-part-1/#comments</comments>
		<pubDate>Mon, 24 Sep 2007 21:47:46 +0000</pubDate>
		<dc:creator>Saar Drimer</dc:creator>
				<category><![CDATA[Programmable logic]]></category>

		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/2007/09/24/notes-on-fpga-drm-part-1/</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=Notes+on+FPGA+DRM+%28part+1%29&amp;rft.aulast=Drimer&amp;rft.aufirst=Saar&amp;rft.subject=Programmable+logic&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2007-09-24&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2007/09/24/notes-on-fpga-drm-part-1/&amp;rft.language=English"></span>
For a while I have been looking very closely at how FPGA cores are distributed (the common term is &#8220;IP cores&#8221;, or just &#8220;IP&#8221;, but I try to minimize the use of this over-used catch-all catch phrase). In what I hope to be a series of posts, I will mostly discuss The problem (rather than [...]]]></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=Notes+on+FPGA+DRM+%28part+1%29&amp;rft.aulast=Drimer&amp;rft.aufirst=Saar&amp;rft.subject=Programmable+logic&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2007-09-24&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2007/09/24/notes-on-fpga-drm-part-1/&amp;rft.language=English"></span>
<p>For a while I have been looking very closely at how FPGA cores are distributed (the common term is &#8220;IP cores&#8221;, or just &#8220;IP&#8221;, but I try to minimize the use of this over-used catch-all catch phrase). In what I hope to be a series of posts, I will mostly discuss The problem (rather than solutions), as I think that that needs to be addressed and adequately defined first. I&#8217;ll start with my attempt at a concise definitions of the following:</p>
<p><a href="http://en.wikipedia.org/wiki/Field-programmable_gate_array">FPGA</a>: Field Programmable Gate Arrays are generic semiconductor devices comprising of interconnected functional blocks that can be programmed, and reprogrammed, to perform user-described logic functions.</p>
<p><a href="http://en.wikipedia.org/wiki/Semiconductor_intellectual_property_core">Cores</a>: ready-made functional descriptions that allow system developers to save on design cost and time by purchasing them from third parties and integrating them into their own design.</p>
<p>The &#8220;cores distribution problem&#8221; is easy to define, but challenging to solve: how can a digital design be distributed by its designer such that he can a) enable his customer to evaluate, simulate, and integrate it into its own, b) limit the amount of instances that can be made of it, and c) make it run only on specific devices. If this sounds like &#8220;Digital Rights Management&#8221; to you, that&#8217;s exactly what it is: <em>DRM for FPGAs</em>. Despite the abuse of some industries that made a bad name for DRM, in our application there may be benefits for both the design owner and the end user. We also know that enabling the three conditions above for a whole industry is challenging, and we are not even close to a solution.</p>
<p><span id="more-267"></span>The problem isn&#8217;t new, ASIC cores designers have been having trouble with this issue for years: run-on-fraud, copying, etc. The solution they arrived at is mostly based on trust and good reputation&#8212;valuable assets that are slowly gained yet easily lost&#8212;rather than cryptography. Big companies shaking hands with other big &#8220;trusted&#8221; companies relying on the potential reputation loss as an acceptable guarantee for honesty (plus a legal document). Apparently, this still works well for big companies, and while cryptographic solutions would be nice in order to alleviate the need for trust and provide for smaller companies world-wide, there is no real rush. &#8220;<a href="http://www.edn.com/index.asp?layout=article&#038;articleid=CA6412249">Panel unscrambles intellectual property encryption issues</a>&#8221; has a very revealing discussion from the industry&#8217;s perspective and is well worth the read.</p>
<p>Back to FPGAs, with their unique use model, the trust-based system holds here as well; established companies can afford to purchase a blanket license for cores, are trusted, and that lets them use those as they like. You might have a problem, though, if you are a small and obscure company. As a poor start-up designer, you want to save time and money by taking advantage of &#8220;design-reuse&#8221;, but you can&#8217;t afford blanket licensing, and you may not be big enough, or in the right country, to be trusted even if you sign the NDA/licensing agreement. So, you either spend the time developing the design in-house, perhaps missing that three month opportunity window, or you give up. FPGA DRM could help you here because it will enable a pay-per-use model. You will be able to pay only for the instances of the core you use regardless of your company&#8217;s &#8220;trust status&#8221;, starting with small quantities until you hit it big. In turn, pay-per-use also benefits cores designers by giving them business that they wouldn&#8217;t have gotten otherwise. Both sides win. Sort of. More in Part 2.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lightbluetouchpaper.org/2007/09/24/notes-on-fpga-drm-part-1/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Keep your keypads close</title>
		<link>http://www.lightbluetouchpaper.org/2007/09/15/keep-your-keypads-close/</link>
		<comments>http://www.lightbluetouchpaper.org/2007/09/15/keep-your-keypads-close/#comments</comments>
		<pubDate>Sat, 15 Sep 2007 15:26:25 +0000</pubDate>
		<dc:creator>Saar Drimer</dc:creator>
				<category><![CDATA[Hardware & signals]]></category>
		<category><![CDATA[Security engineering]]></category>

		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/2007/09/15/keep-your-keypads-close/</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=Keep+your+keypads+close&amp;rft.aulast=Drimer&amp;rft.aufirst=Saar&amp;rft.subject=Hardware+%26%23038%3B+signals&amp;rft.subject=Security+engineering&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2007-09-15&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2007/09/15/keep-your-keypads-close/&amp;rft.language=English"></span>
On a recent visit to a local supermarket I noticed something new being displayed on the keypad before the transaction starts:

(&#8220;Did you know that you can remove the PIN pad to enter your PIN?&#8221;)
Picking up the keypad will allow the cardholder to align it such that bystanders, or the merchant, cannot observe the PIN as [...]]]></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=Keep+your+keypads+close&amp;rft.aulast=Drimer&amp;rft.aufirst=Saar&amp;rft.subject=Hardware+%26%23038%3B+signals&amp;rft.subject=Security+engineering&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2007-09-15&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2007/09/15/keep-your-keypads-close/&amp;rft.language=English"></span>
<p>On a recent visit to a local supermarket I noticed something new being displayed on the keypad before the transaction starts:</p>
<p style="text-align: center;"><img src="http://www.lightbluetouchpaper.org/wp-content/uploads/2007/09/keypad_pick.jpg" alt="Did you know that you can remove the PIN pad to enter your PIN?" /></p>
<p>(&#8220;Did you know that you can remove the PIN pad to enter your PIN?&#8221;)</p>
<p>Picking up the keypad will allow the cardholder to align it such that bystanders, or the merchant, cannot observe the PIN as it is entered. On the one hand, this seems sensible (if we assume that the only way to get the PIN is by observation, no cameras are present, and that even more cardholder liability is the solution for card fraud). On the other hand, it also makes some attacks easier. For example, the relay attack we <a href="http://www.cl.cam.ac.uk/research/security/projects/banking/relay/">demonstrated earlier this year</a>, where the crook inserts a modified card into the terminal, hoping that the merchant does not ask to examine it. Allowing the cardholder to move the keypad separates the merchant, who could detect the attack, from the transaction. Can I now hide the terminal under my jacket while the transaction is processed? Can I turn my back to the merchant? What if I found a way to tamper with the terminal? Clearly, this would make the process easier for me. We&#8217;ve been doing some more work on payment terminals and will hopefully have some more to say about it soon.</p>
<p><span id="more-263"></span>Handling the terminal is also good for helping cardholders detect a cleverly mounted tampered terminal, if they know what to look for (on occasion I examine terminals at shops but try not to seem too eager as I&#8217;m never sure if &#8220;it&#8217;s OK, I&#8217;m a researcher&#8221; would get me out of trouble). According to <a href="http://www.apacs.org.uk">APACS</a>&#8216; &#8220;<a href="http://www.apacs.org.uk/media_centre/documents/RetailerPOSadviceguide.pdf">Retailer advice</a>&#8220;, terminal tampering is recognized as a very real threat (unfortunately, it assumes that merchants are universally honest). It is interesting to read that they actually recommend that merchants place a CCTV to cover the till area, but only such that the cardholder&#8217;s PIN cannot be observed. I wonder how that is reconciled with encouraging the cardholder to move the pad.</p>
<p>In this context I should mention that earlier this year we&#8217;ve seen Ingenico attempt at protecting against PIN observation by using &#8220;<a href="http://www.ingenico.co.uk/Press-release_1146.html?lg=UK">ViewSafe</a>&#8220;, a magnifying glass mounted on top of the keypad such that the keys can only be viewed from the cardholder&#8217;s vantage point. The design has two main flaws, though. Firstly, the magnifying contraption is retractable when it should be fixed, and secondly, it provides a convenient setting for mounting a camera. The first trial was in our local Cambridge Boots store, so I had a few opportunities to see that none of the terminals had the magnifying glass in its &#8220;operational&#8221; state. I couldn&#8217;t find references to how successful the trials were and if these magnifying glasses are now more widely used.</p>
<p style="text-align: center;"><img src="http://www.lightbluetouchpaper.org/wp-content/uploads/2007/09/viewsafe.jpg" alt="Ingenico ViewSafe" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lightbluetouchpaper.org/2007/09/15/keep-your-keypads-close/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>The dinosaurs of five years ago</title>
		<link>http://www.lightbluetouchpaper.org/2007/09/02/the-dinosaurs-of-five-years-ago/</link>
		<comments>http://www.lightbluetouchpaper.org/2007/09/02/the-dinosaurs-of-five-years-ago/#comments</comments>
		<pubDate>Sun, 02 Sep 2007 14:10:20 +0000</pubDate>
		<dc:creator>Saar Drimer</dc:creator>
				<category><![CDATA[Hardware & signals]]></category>
		<category><![CDATA[Programmable logic]]></category>
		<category><![CDATA[Security engineering]]></category>

		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/2007/09/02/the-dinosaurs-of-five-years-ago/</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+dinosaurs+of+five+years+ago&amp;rft.aulast=Drimer&amp;rft.aufirst=Saar&amp;rft.subject=Hardware+%26%23038%3B+signals&amp;rft.subject=Programmable+logic&amp;rft.subject=Security+engineering&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2007-09-02&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2007/09/02/the-dinosaurs-of-five-years-ago/&amp;rft.language=English"></span>
A project called NSA@home has been making the rounds. It&#8217;s a gem. Stanislaw Skowronek got some old HDTV hardware off of eBay, and managed to create himself a pre-image brute force attack machine against SHA-1. The claim is that it can find a pre-image for an 8 character password hash from a 64 character set [...]]]></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+dinosaurs+of+five+years+ago&amp;rft.aulast=Drimer&amp;rft.aufirst=Saar&amp;rft.subject=Hardware+%26%23038%3B+signals&amp;rft.subject=Programmable+logic&amp;rft.subject=Security+engineering&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2007-09-02&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2007/09/02/the-dinosaurs-of-five-years-ago/&amp;rft.language=English"></span>
<p>A project called <a href="http://nsa.unaligned.org">NSA@home</a> has been <a href="http://www.hackaday.com/2007/08/31/nsa-home-diy-shared-fpga-cracker">making</a> the <a href="http://hardware.slashdot.org/hardware/07/09/01/0616212.shtml">rounds</a>. It&#8217;s a gem. Stanislaw Skowronek got some old HDTV hardware off of eBay, and managed to create himself a pre-image brute force attack machine against SHA-1. The claim is that it can find a pre-image for an 8 character password hash from a 64 character set in about 24 hours.</p>
<p>The key here is that this hardware board uses 15 <em>field programmable gate arrays</em> (FPGAs), which are generic integrated circuits that can perform any logic function within their size limit. So, Stanislaw reverse engineered the connections between the FPGAs, wrote his own designs and now has a very powerful processing unit. FPGAs are better at specific tasks compared to general purpose CPUs, especially for functions that can be divided into many independently-running smaller chunks operating in parallel. Some cryptographic functions are a perfect match; our own <a href="http://www.cl.cam.ac.uk/~rnc1/">Richard Clayton</a> and <a href="http://www.cl.cam.ac.uk/~mkb23/">Mike Bond</a> <a href="http://www.cl.cam.ac.uk/~rnc1/descrack/DEScracker.pdf"> attacked the DES implementation</a> in  the IBM 4758 hardware security module using an FPGA prototyping board; DES was attacked on the FPGA-based custom hardware platform, the <a href="http://www.springerlink.com/content/bqllltjjm24h671a/fulltext.pdf">Transmogrifier 2a</a>; more recently, the purpose-built <a href="http://www.copacobana.org/">COPACOBANA</a> machine which uses 120 low-end FPGAs operating in parallel to break DES in about 7 days; a proprietary stream cipher on RFID tokens <a href="http://www.usenix.org/events/sec05/tech/bono/bono.pdf">was attacked</a> using 16 commercial FPGA boards operating in parallel; and finally, people are now in the midst of <a href="http://wiki.thc.org/cracking_a5">cracking the A5 stream cipher in real time</a> using commercial FPGA modules. The unique development we see with NSA@home is that it uses a defunct piece of hardware.</p>
<p><span id="more-252"></span>Let me explain why this is important. The Virtex-II PRO FPGA&#8212;the one used by NSA@home&#8212;was introduced in 2002, only about five years ago. It is spec&#8217;d at about 400 MHz while today&#8217;s latest FPGAs, two generations later, are spec&#8217;d at around 550 MHz. So we have not gained that much in speed, but rather in size, specialization, and integration of embedded interface functions such as fast serial transceivers, Ethernet MACs, more embedded memory, etc. But if you want only plain logic and memory for parallelism, the old dinosaurs of a few years ago are still very much relevant, especially if you can get them for next to nothing and someone already took the effort to design the PCB for you. Hobbyists are (extremely) displeased that the dense <a href="http://en.wikipedia.org/wiki/BGA">ball grid packages</a> put them out of business, so to speak (and that the FPGA vendors do not care so much about it, which is another discussion). So, with FPGAs being used in ever more applications, I see this type of recycling becoming more popular. When will we see an enterprising student create a Logic-101 lab from recycled consumer electronics?</p>
<p>The other interesting aspect of NSA@home is the trade-offs. Much like Clayton and Bond, Stanislaw is checking subsets of the hash, places them within ranges, and leaves the final checking for the host PC; he could barely fit an unrolled, pipe-lined SHA-1 into each FPGA, so that trade-off was necessary. Another important aspect is the realization that FPGA resources are still there even if you do not use them. Usually, you would try to minimize the resources you use in order to make room for other functions; or, try to fit your design into a smaller FPGA and save money. But when you have a single application, and a given device size, you should try to use all at your disposal. This designer decided to use the embedded block RAMs, which would otherwise be unused, <a href="http://nsa.unaligned.org/hash.php">as look-up tables</a>. Good job.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lightbluetouchpaper.org/2007/09/02/the-dinosaurs-of-five-years-ago/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Distance bounding against smartcard relay attacks</title>
		<link>http://www.lightbluetouchpaper.org/2007/05/21/distance-bounding-against-smartcard-relay-attacks/</link>
		<comments>http://www.lightbluetouchpaper.org/2007/05/21/distance-bounding-against-smartcard-relay-attacks/#comments</comments>
		<pubDate>Mon, 21 May 2007 14:07:01 +0000</pubDate>
		<dc:creator>Saar Drimer</dc:creator>
				<category><![CDATA[Academic papers]]></category>
		<category><![CDATA[Banking security]]></category>
		<category><![CDATA[Hardware & signals]]></category>
		<category><![CDATA[Security engineering]]></category>

		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/2007/05/21/distance-bounding-against-smartcard-relay-attacks/</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=Distance+bounding+against+smartcard+relay+attacks&amp;rft.aulast=Drimer&amp;rft.aufirst=Saar&amp;rft.subject=Academic+papers&amp;rft.subject=Banking+security&amp;rft.subject=Hardware+%26%23038%3B+signals&amp;rft.subject=Security+engineering&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2007-05-21&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2007/05/21/distance-bounding-against-smartcard-relay-attacks/&amp;rft.language=English"></span>
Steven Murdoch and I have previously discussed issues concerning the tamper resistance of payment terminals and the susceptibility of Chip &#038; PIN to relay attacks. Basically, the tamper resistance protects the banks but not the customers, who are left to trust any of the devices they provide their card and PIN to (the hundreds 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=Distance+bounding+against+smartcard+relay+attacks&amp;rft.aulast=Drimer&amp;rft.aufirst=Saar&amp;rft.subject=Academic+papers&amp;rft.subject=Banking+security&amp;rft.subject=Hardware+%26%23038%3B+signals&amp;rft.subject=Security+engineering&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2007-05-21&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2007/05/21/distance-bounding-against-smartcard-relay-attacks/&amp;rft.language=English"></span>
<p><a href="http://www.cl.cam.ac.uk/~sjm217/">Steven Murdoch</a> and I have previously discussed issues concerning the <a href="http://www.lightbluetouchpaper.org/2006/12/24/chip-pin-terminal-playing-tetris/">tamper resistance of payment terminals</a> and the <a href="http://www.lightbluetouchpaper.org/2007/02/06/chip-pin-relay-attacks/">susceptibility of Chip &#038; PIN to relay attacks</a>. Basically, the tamper resistance protects the banks but not the customers, who are left to trust any of the devices they provide their card and PIN to (the <a href="http://partnernetwork.visa.com/dv/pin/pedapprovallist.jsp">hundreds</a> of different types of terminals do not help here). The problem some customers face is that when fraud happens, they are the ones being blamed for negligence instead of the banks owning up to a faulty system. Exacerbating the problem is the impossibility of customers to prove they have <em>not</em> been negligent with their secrets without the proper data that the banks have, but <a href="http://www.lightbluetouchpaper.org/2007/02/08/financial-ombudsman-on-chip-pin-infallibility/">refuse to hand out</a>. </p>
<p><span id="more-209"></span>Using a fake terminal and custom circuitry we <a href="http://www.youtube.com/watch?v=X7pjUIxKoEc">demonstrated</a> that a fraudster can get away with charging an unwitting, honest customer&#8217;s card with a purchase he did not authorize. The importance of this demonstration was that it showed that even though the customer is diligent about keeping his PIN secret, he can still be defrauded. APACS, the UK payment association, say that they are <a href="http://www.apacs.org.uk/media_centre/press/07_06_02.html">unaware</a> of any cases of relay attacks being used against Chip &#038; PIN in the UK. The reason, we believe, is that even though the cost and the technical expertise that are required for implementing the attack are relatively low, there are easier ways to defeat the system. Methods such as card counterfeiting/theft, mail interception, and cardholder impersonation are routinely reported and are more flexible in deployment. These security holes are gradually being closed, but card fraud remains a lucrative industry &#8212; in 2006 <a href="http://www.apacs.org.uk/media_centre/press/07_14_03.html">£428m of fraud</a> was suffered by UK banks. Criminals will adapt to the new environment and, to maintain their income, will likely resort to more technically demanding methods, so now is the time to consider how to prevent relay attacks for when that time arrives. </p>
<p>We propose a defense against the relay attack in the form of &#8220;<a href="http://www.cl.cam.ac.uk/research/security/projects/location/">distance bounding</a>&#8220;. This will allow the payment terminal to measure the distance between itself and the card and decide, based on its risk settings, whether to accept the transaction. We have built such a system using an FPGA and demonstrated that it can reliably operate in the face of a capable attacker and discern the addition of short transmission distances. With EMV being the target application, we have made the design such that the additional cost is mostly absorbed by the terminal rather than the smartcard and that the customer-merchant &#8220;experience&#8221; is unchanged. If the banking industry adopts this extension to EMV, the risk from relay attacks would be negligible. We describe the engineering details in a paper (&#8220;<a href="http://www.cl.cam.ac.uk/research/security/projects/banking/relay/bounding.pdf">Keep your enemies close: Distance bounding against smartcard relay attacks</a>&#8220;) that will be presented in August at the <a href="http://www.usenix.org/events/sec07/">16th USENIX Security Symposium</a>. Along with a description of the relay attack, we also discuss the security-economics aspects of customers bringing their own trusted device into the transaction, as well as the ineffectiveness of procedural and other technical solutions that were previously proposed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lightbluetouchpaper.org/2007/05/21/distance-bounding-against-smartcard-relay-attacks/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Chip &amp; PIN terminal playing Tetris</title>
		<link>http://www.lightbluetouchpaper.org/2006/12/24/chip-pin-terminal-playing-tetris/</link>
		<comments>http://www.lightbluetouchpaper.org/2006/12/24/chip-pin-terminal-playing-tetris/#comments</comments>
		<pubDate>Sun, 24 Dec 2006 21:08:24 +0000</pubDate>
		<dc:creator>Saar Drimer</dc:creator>
				<category><![CDATA[Banking security]]></category>

		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/2006/12/24/chip-pin-terminal-playing-tetris/</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=Chip+%26%23038%3B+PIN+terminal+playing+Tetris&amp;rft.aulast=Drimer&amp;rft.aufirst=Saar&amp;rft.subject=Banking+security&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2006-12-24&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2006/12/24/chip-pin-terminal-playing-tetris/&amp;rft.language=English"></span>
Many discussions over the security of Chip &#038; PIN have focused on the tamper-resistance of terminals (for example in the aftermath of the Shell Chip &#038; PIN fraud). It is important to remember, however, that even perfect tamper resistance only ensures that the terminal will no longer be able to communicate with the bank once [...]]]></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=Chip+%26%23038%3B+PIN+terminal+playing+Tetris&amp;rft.aulast=Drimer&amp;rft.aufirst=Saar&amp;rft.subject=Banking+security&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2006-12-24&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2006/12/24/chip-pin-terminal-playing-tetris/&amp;rft.language=English"></span>
<p>Many discussions over the security of Chip &#038; PIN have focused on the tamper-resistance of terminals (for example in the aftermath of the <a href="http://www.lightbluetouchpaper.org/2006/05/10/the-mythical-tamper-proof-pin-pad/">Shell Chip &#038; PIN fraud</a>). It is important to remember, however, that even perfect tamper resistance only ensures that the terminal will no longer be able to communicate with the bank once opened. It does not prevent anyone from replacing most of the terminal&#8217;s hardware and presenting it to customers as legitimate, so freely collecting card details and PINs.</p>
<p>Steven Murdoch and myself took the chassis of a real terminal and replaced much of the internal electronics such that it allows us to control the screen, keypad and card-reader. Steven suggested that in order to show that it is completely under our control, we should make it play Tetris (similarly to the guys who made a <a href="http://www.wijvertrouwenstemcomputersniet.nl/other/es3b-en.pdf">voting machine play chess</a>). We recorded a short video showing our Tetris playing terminal in action. Have a merry Christmas and happy New Year <img src='http://www.lightbluetouchpaper.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><strong>Update</strong> (2007-01-03): The video is now <a href="http://www.youtube.com/watch?v=wWTzkD9M0sU">on YouTube</a>.</p>
<p><strong>Update</strong> (2007-01-05): The Association for Payment Clearing Services<br />
(APACS) has <a href="http://www.thisismoney.co.uk/saving-and-banking/article.html?in_article_id=416139&#038;in_page_id=7&#038;ct=5">responded</a>:</p>
<blockquote><p>
APACS, the payments organisation representing high street banks, said the Cambridge breakthrough could be a threat.</p>
<p>&#8216;People could, in theory, use this to steal account details from cards,&#8217; said Sandra Quinn of APACS. &#8216;Our experts are in discussion with the manufacturers of terminals to see what can be done. Essentially what these people have done is replace the innards of a chip and Pin machine.</p>
<p>&#8216;However, we would say that this has only been seen in a laboratory so far. People would not be able to create counterfeit chip and Pin cards, but they could use this information abroad to make purchases.&#8217; </p></blockquote>
<p><span id="more-185"></span><object id="mediaPlayer" width="435" height="625" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject"><param name="fileName" value="http://www.lightbluetouchpaper.org/wp-content/uploads/2006/12/emv_tetris.avi" /><param name="animationatStart" value="true" /><param name="transparentatStart" value="true" /><param name="autoStart" value="false" /><param name="showControls" value="true" /><param name="loop" value="false" /><embed type="application/x-mplayer2" pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" id="mediaPlayer" name="mediaPlayer" displaysize="4" autosize="-1" bgcolor="darkblue" showcontrols="true" showtracker="-1"  showdisplay="0" showstatusbar="-1" videoborder3d="-1" width="435" height="625" src="http://www.lightbluetouchpaper.org/wp-content/uploads/2006/12/emv_tetris.avi" autostart="false" designtimesp="5311" loop="false"></embed></object></p>
<p><a href="http://www.lightbluetouchpaper.org/wp-content/uploads/2006/12/emv_tetris.avi">Open video in external viewer</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lightbluetouchpaper.org/2006/12/24/chip-pin-terminal-playing-tetris/feed/</wfw:commentRss>
		<slash:comments>87</slash:comments>
<enclosure url="http://www.lightbluetouchpaper.org/wp-content/uploads/2006/12/emv_tetris.avi" length="4327770" type="video/x-msvideo" />
		</item>
		<item>
		<title>Banks don&#8217;t help fight phishing</title>
		<link>http://www.lightbluetouchpaper.org/2006/03/10/banks-dont-help-fight-phishing/</link>
		<comments>http://www.lightbluetouchpaper.org/2006/03/10/banks-dont-help-fight-phishing/#comments</comments>
		<pubDate>Fri, 10 Mar 2006 20:23:07 +0000</pubDate>
		<dc:creator>Saar Drimer</dc:creator>
				<category><![CDATA[Banking security]]></category>
		<category><![CDATA[Privacy technology]]></category>

		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/2006/03/10/banks-dont-help-fight-phishing/</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=Banks+don%26%238217%3Bt+help+fight+phishing&amp;rft.aulast=Drimer&amp;rft.aufirst=Saar&amp;rft.subject=Banking+security&amp;rft.subject=Privacy+technology&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2006-03-10&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2006/03/10/banks-dont-help-fight-phishing/&amp;rft.language=English"></span>
I recently got an email from Bank of America offering me a pretty good credit card deal. Usually, I chuck those offers away as spam (both electronic and physical) but this time I decided to bite.
The &#8220;apply now&#8221; button pointed to http://links.em.bankofamerica.com:8083/&#8230;, fair enough. I click. But wait&#8230; IE6 says&#8230;

Firefox provides more info without layers [...]]]></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=Banks+don%26%238217%3Bt+help+fight+phishing&amp;rft.aulast=Drimer&amp;rft.aufirst=Saar&amp;rft.subject=Banking+security&amp;rft.subject=Privacy+technology&amp;rft.source=Light+Blue+Touchpaper&amp;rft.date=2006-03-10&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://www.lightbluetouchpaper.org/2006/03/10/banks-dont-help-fight-phishing/&amp;rft.language=English"></span>
<p>I recently got an email from Bank of America offering me a pretty good credit card deal. Usually, I chuck those offers away as spam (both electronic and physical) but this time I decided to bite.</p>
<p>The &#8220;apply now&#8221; button pointed to http://links.em.bankofamerica.com:8083/&#8230;, fair enough. I click. But wait&#8230; IE6 says&#8230;</p>
<p><img src="http://www.lightbluetouchpaper.org/wp-content/uploads/2006/03/cert_ie.png" alt="Certificate warning IE" /></p>
<p>Firefox provides more info without layers of abstraction&#8230;</p>
<p><img src="http://www.lightbluetouchpaper.org/wp-content/uploads/2006/03/cert_ff.png" alt="Certificate warning FF" /></p>
<p>I clicked &#8220;OK&#8221; and got to&#8230; <a href="https://www.mynewcard.com/">https://www.mynewcard.com/</a>! (you&#8217;ll notice that going there directly redirects to https://mynewcard.bankofamerica.com/, so only when you click &#8220;apply&#8221; do you get to see mynewcard.com.)</p>
<p>I consequently emailed BofA with my concerns and got this (surprisingly expedient) reply:</p>
<blockquote><p>&#8220;We recognize that any unsolicited e-mail, legitimate or otherwise, is reason for concern.  I can assure you that www.mynewcard.com is a legitimate website of Bank of America.&#8221;</p></blockquote>
<p>Well, not much assurance there since I replied to the original email (cardservices@replies.em.bankofamerica.com), but a whois query confirms that mynewcard.com indeed belongs to BofA. What percentage of the population would go beyond clicking that &#8220;OK&#8221; on the IE warning as just another annoyance? You know the answer.</p>
<p>So, BofA got three things wrong. Firstly, they had links in the body of the email; the argument has been beaten to the ground&#8230; don&#8217;t educate people to click them. If the bank has great offers, they should have them available when people log into their accounts. Secondly, they messed up on the certificate&#8230; it&#8217;s for mynewcard.bankofamerica.com, not what appears in the address bar, mynewcard.com. And finally, they used an unfamiliar domain to process the application. Why? I think the answer lies somewhere in the marketing department where they decided that mynewcard.com is cooler sounding than sound security measures and long term <em>good</em> customer training.</p>
<p><strong>Update:</strong> Richard mentioned that the rapid response meant that BofA have heard this concern once before. I found this <a href="http://www.dansanderson.com/blog/archives/2003/08/clarification_t.php">thread</a> [dansanderson.com] discussing mynewcard.com in August 2003! Which adds a fourth thing BofA did wrong: they didn&#8217;t fix it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lightbluetouchpaper.org/2006/03/10/banks-dont-help-fight-phishing/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

