<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Chip and Skim: cloning EMV cards with the pre-play attack</title>
	<atom:link href="http://www.lightbluetouchpaper.org/2012/09/10/chip-and-skim-cloning-emv-cards-with-the-pre-play-attack/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lightbluetouchpaper.org/2012/09/10/chip-and-skim-cloning-emv-cards-with-the-pre-play-attack/</link>
	<description>Security Research, Computer Laboratory, University of Cambridge</description>
	<lastBuildDate>Sun, 19 May 2013 19:34:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: JW</title>
		<link>http://www.lightbluetouchpaper.org/2012/09/10/chip-and-skim-cloning-emv-cards-with-the-pre-play-attack/comment-page-1/#comment-539362</link>
		<dc:creator>JW</dc:creator>
		<pubDate>Thu, 09 May 2013 11:10:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/?p=4447#comment-539362</guid>
		<description>Mike, I have a question, apologies if this is a silly one, but Ive read the Cambridge paper, and although it was on the verge of being out of my technical expertise, I think I understand the basics.

From what I gather, what is needed to replay the transaction is the following:
ARQC (a DES wrapper of: transaction counter, card details and the MAC)
MAC (a des wrapper of 4-byte TVR data, UN, amount, currency and time/date stamp)
This leaves us with a DES message of 16bit number, the symmetrical key-encrypted IAD, and the DES encrypted MAC.

If we can predict the UN, then we can retrieve the MAC. What is the significance of this, when we cannot access the IAD, or can the IAD encrypted block simply be sent to the acquirer, who will check it as if it came from a real card? The only unique piece of data, it seems to me, within an EMV transaction will be the internal transaction counter within the card and the timestamp. In theory, every other piece of information can be identical. Why, then, is predicting the UN the key to replaying a transaction?</description>
		<content:encoded><![CDATA[<p>Mike, I have a question, apologies if this is a silly one, but Ive read the Cambridge paper, and although it was on the verge of being out of my technical expertise, I think I understand the basics.</p>
<p>From what I gather, what is needed to replay the transaction is the following:<br />
ARQC (a DES wrapper of: transaction counter, card details and the MAC)<br />
MAC (a des wrapper of 4-byte TVR data, UN, amount, currency and time/date stamp)<br />
This leaves us with a DES message of 16bit number, the symmetrical key-encrypted IAD, and the DES encrypted MAC.</p>
<p>If we can predict the UN, then we can retrieve the MAC. What is the significance of this, when we cannot access the IAD, or can the IAD encrypted block simply be sent to the acquirer, who will check it as if it came from a real card? The only unique piece of data, it seems to me, within an EMV transaction will be the internal transaction counter within the card and the timestamp. In theory, every other piece of information can be identical. Why, then, is predicting the UN the key to replaying a transaction?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JB</title>
		<link>http://www.lightbluetouchpaper.org/2012/09/10/chip-and-skim-cloning-emv-cards-with-the-pre-play-attack/comment-page-1/#comment-462004</link>
		<dc:creator>JB</dc:creator>
		<pubDate>Fri, 01 Feb 2013 13:22:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/?p=4447#comment-462004</guid>
		<description>Two months ago, there were cash withdrawals from ATM&#039;s in the town where I live,  Lausanne, Switzerland. This was done using my credit card and it was quite a large amount. The credit card is still in my possession and I did not make the withdrawals myself. 

However, the bank claims the money was withdrawn with the chip on the card using the PIN code. They also claim it is impossible to copy and for that reason it must have been me. 

The problem is that it was not me, nor did i ever give my PIN code to anyone. So how could this have happened? I have used my credit card in some shops in Lausanne the week before, could it have been copied?

Thanks for your help and comments!</description>
		<content:encoded><![CDATA[<p>Two months ago, there were cash withdrawals from ATM&#8217;s in the town where I live,  Lausanne, Switzerland. This was done using my credit card and it was quite a large amount. The credit card is still in my possession and I did not make the withdrawals myself. </p>
<p>However, the bank claims the money was withdrawn with the chip on the card using the PIN code. They also claim it is impossible to copy and for that reason it must have been me. </p>
<p>The problem is that it was not me, nor did i ever give my PIN code to anyone. So how could this have happened? I have used my credit card in some shops in Lausanne the week before, could it have been copied?</p>
<p>Thanks for your help and comments!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sue Smith</title>
		<link>http://www.lightbluetouchpaper.org/2012/09/10/chip-and-skim-cloning-emv-cards-with-the-pre-play-attack/comment-page-1/#comment-392283</link>
		<dc:creator>Sue Smith</dc:creator>
		<pubDate>Mon, 03 Dec 2012 00:01:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/?p=4447#comment-392283</guid>
		<description>My debit card and pin and been used fraudulently.  I have my debit card in my possession and only use it at Bank and ATM.  I just reported the fraudulent use of my card and was told as it&#039;s chip and pin the user must have had physical possession.  Just found this sie while trying to ascertain how this could happen when my card has been in my possession 24/7.</description>
		<content:encoded><![CDATA[<p>My debit card and pin and been used fraudulently.  I have my debit card in my possession and only use it at Bank and ATM.  I just reported the fraudulent use of my card and was told as it&#8217;s chip and pin the user must have had physical possession.  Just found this sie while trying to ascertain how this could happen when my card has been in my possession 24/7.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ross Anderson</title>
		<link>http://www.lightbluetouchpaper.org/2012/09/10/chip-and-skim-cloning-emv-cards-with-the-pre-play-attack/comment-page-1/#comment-348843</link>
		<dc:creator>Ross Anderson</dc:creator>
		<pubDate>Tue, 09 Oct 2012 11:14:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/?p=4447#comment-348843</guid>
		<description>Coverage in &lt;a href=&quot;http://english.cri.cn/7146/2012/08/28/2702s719084.htm&quot; rel=&quot;nofollow&quot;&gt;China&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Coverage in <a href="http://english.cri.cn/7146/2012/08/28/2702s719084.htm" rel="nofollow">China</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eliot Lear</title>
		<link>http://www.lightbluetouchpaper.org/2012/09/10/chip-and-skim-cloning-emv-cards-with-the-pre-play-attack/comment-page-1/#comment-339333</link>
		<dc:creator>Eliot Lear</dc:creator>
		<pubDate>Thu, 20 Sep 2012 20:12:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/?p=4447#comment-339333</guid>
		<description>Mike, as usual, fantastic work from you and your team.  My concern is precisely the one you raise in your conclusion.  In the case of the U.S credit card system, since banks pay for fraud they have a vested interest in stopping it.  Merchant banks in the U.S. have some idea as to where fraud is being committed, because they can see it in the merchant sales patterns.  Here, the onus is on the consumer, who has no access to the merchant sales pattern.  What economic motivation does the bank have in this case to take action to fix the problem?  Why would the merchant do anything?</description>
		<content:encoded><![CDATA[<p>Mike, as usual, fantastic work from you and your team.  My concern is precisely the one you raise in your conclusion.  In the case of the U.S credit card system, since banks pay for fraud they have a vested interest in stopping it.  Merchant banks in the U.S. have some idea as to where fraud is being committed, because they can see it in the merchant sales patterns.  Here, the onus is on the consumer, who has no access to the merchant sales pattern.  What economic motivation does the bank have in this case to take action to fix the problem?  Why would the merchant do anything?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: EMV Academy</title>
		<link>http://www.lightbluetouchpaper.org/2012/09/10/chip-and-skim-cloning-emv-cards-with-the-pre-play-attack/comment-page-1/#comment-339315</link>
		<dc:creator>EMV Academy</dc:creator>
		<pubDate>Thu, 20 Sep 2012 17:49:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/?p=4447#comment-339315</guid>
		<description>We all know that no technology is absolutely secure - if enough effort, time and money spent, it can be compromised.
The report quoted was based on work done in a lab environment. More importantly, the report states that they used test cards with known card Master keys to generate the cryptogram. This is the flaw of the test. The card Master key cannot be extracted from the card - the cards have hardware and software in place to prevent tampering and will self-destruct if they are tampered with.</description>
		<content:encoded><![CDATA[<p>We all know that no technology is absolutely secure &#8211; if enough effort, time and money spent, it can be compromised.<br />
The report quoted was based on work done in a lab environment. More importantly, the report states that they used test cards with known card Master keys to generate the cryptogram. This is the flaw of the test. The card Master key cannot be extracted from the card &#8211; the cards have hardware and software in place to prevent tampering and will self-destruct if they are tampered with.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Sitkowski</title>
		<link>http://www.lightbluetouchpaper.org/2012/09/10/chip-and-skim-cloning-emv-cards-with-the-pre-play-attack/comment-page-1/#comment-338481</link>
		<dc:creator>Mark Sitkowski</dc:creator>
		<pubDate>Wed, 19 Sep 2012 04:28:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/?p=4447#comment-338481</guid>
		<description>Dear me! All this fuss over something as simple as identity authentication...
What would be really good, would be some kind of telepathic password, which you could communicate to your bank, each time you needed to access your account online, and it would be really handy, if your mind could also transmit this password to the ATM. 
Well, that’s obviously not going to happen so, how about a compromise, where you transmit to your bank, information about your telepathic password, which only your bank understands?
Yes, but the camera, and the malware, would record what you typed, and use it to get into your account. Okay, then, how about, if what you typed only worked once. Then, using the same keystrokes a second time would be useless. That would work, but how does the bank know that, what you typed the second time, represented the same telepathic password? Also, you certainly wouldn’t want to contact your bank every day, to get a new method of transmitting your telepathic password.
How about this, then? Each time you want to access your account, a popup shows you an alphabet, with a number under each letter, and you type the numbers, instead of the letters?
Okay, that’s obviously bad because the camera would pick up the numbers but, what if the numbers were all scrambled? That’s better, but the camera would still get you, and the malware would still send them back to the sociopath who, after a few months, would be able to guess your password, from the patterns of the numbers.
What about, if there were only two numbers and, what if there were two alphabets, in upper and lower case? Then your telepathic password would be represented by a selection from 52 letters, each letter identified by one of two random digits. If the pattern of the digits changed randomly, with each access, then your telepathic password of “gobbledeygook” would be “1000110011001” the first time but, the second time, it would be “1110010001101”. 
Now we’re getting somewhere. The camera sees you entering a pattern of 1’s and 0’s, each of which could correspond to any one of 20 or 30 letters, the network snooper sees the numbers, but not the letters, and the malware sees both, but doesn’t know what they mean. Luckily, you took maths in college, and spend a lot of time in the casino, so you know how to calculate odds, and you can see they’re now in your favour, but you still want them to be better, because you work with classified documents, and really need to have tight security. What if you had two passwords, and added them together? What if you added or subtracted ‘1’ from every other letter What if...? You’re tempted to call this ‘Uncrackable Authentication’
Aha! I hear you cry. How do I get my telepathic password, in the first place? The malware is watching my browser and my email, and will pick up the keystrokes when I type it into any form I fill in. How am I going to enter my password? Well, it might ne good, if I had a set of alphabets but, this time, the letters were pictures of letters, and they, themselves, were scrambled, and referenced by a set of numbers. Then, the malware would pick up the mouse strokes, but would only know that they corresponded to a selection of pictures, with random names. Let’s be realistic, however. If there’s a spy camera, watching you do this, it will pick up what you enter. On the bright side, you’ll be doing this at home, probably only once a year, or so, with only the malware to contend with – unless you’ve fallen foul of the CIA, or your wife has her suspicions about you...
One day, quite by chance, you stumble upon a site at www.designsim.com.au  recommended by your friend at the FBI (he got it from some guy in military intelligence), and you say to yourself, Hey, they stole my idea”, but you look at it anyway.</description>
		<content:encoded><![CDATA[<p>Dear me! All this fuss over something as simple as identity authentication&#8230;<br />
What would be really good, would be some kind of telepathic password, which you could communicate to your bank, each time you needed to access your account online, and it would be really handy, if your mind could also transmit this password to the ATM.<br />
Well, that’s obviously not going to happen so, how about a compromise, where you transmit to your bank, information about your telepathic password, which only your bank understands?<br />
Yes, but the camera, and the malware, would record what you typed, and use it to get into your account. Okay, then, how about, if what you typed only worked once. Then, using the same keystrokes a second time would be useless. That would work, but how does the bank know that, what you typed the second time, represented the same telepathic password? Also, you certainly wouldn’t want to contact your bank every day, to get a new method of transmitting your telepathic password.<br />
How about this, then? Each time you want to access your account, a popup shows you an alphabet, with a number under each letter, and you type the numbers, instead of the letters?<br />
Okay, that’s obviously bad because the camera would pick up the numbers but, what if the numbers were all scrambled? That’s better, but the camera would still get you, and the malware would still send them back to the sociopath who, after a few months, would be able to guess your password, from the patterns of the numbers.<br />
What about, if there were only two numbers and, what if there were two alphabets, in upper and lower case? Then your telepathic password would be represented by a selection from 52 letters, each letter identified by one of two random digits. If the pattern of the digits changed randomly, with each access, then your telepathic password of “gobbledeygook” would be “1000110011001” the first time but, the second time, it would be “1110010001101”.<br />
Now we’re getting somewhere. The camera sees you entering a pattern of 1’s and 0’s, each of which could correspond to any one of 20 or 30 letters, the network snooper sees the numbers, but not the letters, and the malware sees both, but doesn’t know what they mean. Luckily, you took maths in college, and spend a lot of time in the casino, so you know how to calculate odds, and you can see they’re now in your favour, but you still want them to be better, because you work with classified documents, and really need to have tight security. What if you had two passwords, and added them together? What if you added or subtracted ‘1’ from every other letter What if&#8230;? You’re tempted to call this ‘Uncrackable Authentication’<br />
Aha! I hear you cry. How do I get my telepathic password, in the first place? The malware is watching my browser and my email, and will pick up the keystrokes when I type it into any form I fill in. How am I going to enter my password? Well, it might ne good, if I had a set of alphabets but, this time, the letters were pictures of letters, and they, themselves, were scrambled, and referenced by a set of numbers. Then, the malware would pick up the mouse strokes, but would only know that they corresponded to a selection of pictures, with random names. Let’s be realistic, however. If there’s a spy camera, watching you do this, it will pick up what you enter. On the bright side, you’ll be doing this at home, probably only once a year, or so, with only the malware to contend with – unless you’ve fallen foul of the CIA, or your wife has her suspicions about you&#8230;<br />
One day, quite by chance, you stumble upon a site at <a href="http://www.designsim.com.au" rel="nofollow">http://www.designsim.com.au</a>  recommended by your friend at the FBI (he got it from some guy in military intelligence), and you say to yourself, Hey, they stole my idea”, but you look at it anyway.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Palmer</title>
		<link>http://www.lightbluetouchpaper.org/2012/09/10/chip-and-skim-cloning-emv-cards-with-the-pre-play-attack/comment-page-1/#comment-338156</link>
		<dc:creator>Matt Palmer</dc:creator>
		<pubDate>Tue, 18 Sep 2012 12:37:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/?p=4447#comment-338156</guid>
		<description>Mike,

fascinating research and yet another timely reminder that real world security is often broken by poor implementation (and complicated, confusing specifications!).

The timing aspect of the final stage of the attack would seem to make it harder to exploit in attended payment environments, although I may be wrong about that.

I would like to ask how the complexity/risk/reward balance of this attack plays out in an attended payment environment (for example in retail, rather than against ATMs).</description>
		<content:encoded><![CDATA[<p>Mike,</p>
<p>fascinating research and yet another timely reminder that real world security is often broken by poor implementation (and complicated, confusing specifications!).</p>
<p>The timing aspect of the final stage of the attack would seem to make it harder to exploit in attended payment environments, although I may be wrong about that.</p>
<p>I would like to ask how the complexity/risk/reward balance of this attack plays out in an attended payment environment (for example in retail, rather than against ATMs).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shaun</title>
		<link>http://www.lightbluetouchpaper.org/2012/09/10/chip-and-skim-cloning-emv-cards-with-the-pre-play-attack/comment-page-1/#comment-337668</link>
		<dc:creator>Shaun</dc:creator>
		<pubDate>Mon, 17 Sep 2012 04:29:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/?p=4447#comment-337668</guid>
		<description>so 1350 Euros in five transactions. Was each transaction for 270 Euros?

If not had Alex made a transaction for each of the amounts previously at similar ATMs?</description>
		<content:encoded><![CDATA[<p>so 1350 Euros in five transactions. Was each transaction for 270 Euros?</p>
<p>If not had Alex made a transaction for each of the amounts previously at similar ATMs?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Milos</title>
		<link>http://www.lightbluetouchpaper.org/2012/09/10/chip-and-skim-cloning-emv-cards-with-the-pre-play-attack/comment-page-1/#comment-337572</link>
		<dc:creator>Milos</dc:creator>
		<pubDate>Sun, 16 Sep 2012 20:27:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.lightbluetouchpaper.org/?p=4447#comment-337572</guid>
		<description>&quot;you can record everything you need from momentary access to a chip card to play it back and impersonate the card at a future date and location.&quot;

===

Well I do not believe so - the &#039;replayed ARQC&#039; carries in itself the actual original transaction date - bank authorization host must catch this if submitted on a different date, also the most bank authorization hosts will catch &#039;duplicate ARQC&#039; submission and simply DECLINE the transaction.</description>
		<content:encoded><![CDATA[<p>&#8220;you can record everything you need from momentary access to a chip card to play it back and impersonate the card at a future date and location.&#8221;</p>
<p>===</p>
<p>Well I do not believe so &#8211; the &#8216;replayed ARQC&#8217; carries in itself the actual original transaction date &#8211; bank authorization host must catch this if submitted on a different date, also the most bank authorization hosts will catch &#8216;duplicate ARQC&#8217; submission and simply DECLINE the transaction.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
