Re: chip & pin - could this happen?



On Sun, 12 Feb 2006 14:17:25 +0000, Alex wrote:

At 12:15:34 on 12/02/2006, Alex Butcher delighted uk.finance by
announcing:

[snip]

If I were designing C&P, I'd have the terminal send the chip on the card
the pin requiring validation and a timestamp. If the PIN was valid, I'd
then have the chip reply after a random delay of upto a minute or so

And you'd end up having wasted all your efforts. Who do you think is
going to be content waiting a minute or so for every transaction to be
authorised?

You must have missed my 'or so' - the period of a minute would be
determined by usability testing prior to standardisation and
implementation.

(fixed and defined in the specification, naturally) with a the timestamp
and 'yes', and have that reply signed with private key (i.e. embedded in
the chip, inaccessible) whose corresponding public key (also on the
chip, but retrievable by the terminal) is signed with the issuing bank's
key.

So, the way it currently works then.

Good.

If
the PIN was invalid, no reply will be sent from the chip.

Then how does the terminal know that the chip got its request?

Does it care? If it doesn't get a response back within the maximum
specified time for a reply, either resend, or ask the user to enter
another PIN. After some period of time, have the terminal decline the
card, either because it's faulty, or because the user can't provide a
successful PIN.

The random delay
would mean that an attacker attempting to brute force the pin would have
to wait the maximum reply time for every attempt - i.e. 10000 minutes
(just under 7 days) for a standard four digit PIN (should be long enough
for the customer to notice his card missing, report it, and have it
cancelled). I'd make that random delay longer if I thought it would be
acceptable to customers in a busy supermarket.

What? You only get 3 attempts at a PIN. And the current specifications
are for an average of 1 PIN entry every 30 seconds (one implementation
being the token bucket method).

I was working on the assumption that the chip, being cheap enough to put
on millions of credit cards, would be stateless between transactions.
If the chip is sophisticated enough to have the capability to maintain
state between transactions, great - have the chip self-block after three
failed attempts within a given time period instead.

Anyway, this was all minutiae for the benefit of explaining the essentials
of how C&P works so I could outline the two main technological attacks one
could use to clone live chips.

Best Regards,
Alex.
--
Alex Butcher Brainbench MVP for Internet Security: www.brainbench.com
Bristol, UK Need reliable and secure network systems?
PGP/GnuPG ID:0x5010dbff <http://www.assursys.com/>

.



Relevant Pages

  • Re: chip & pin - could this happen?
    ... the PIN was invalid, no reply will be sent from the chip. ... Then how does the terminal know that the chip got its request? ... The valid chip card will respond. ... technological attacks one could use to clone live chips. ...
    (uk.finance)
  • Re: Dont Let Data Theft Happen to You
    ... > They will transfer my money to anyone with my account and routing ... the merchant on whether or not they accept payments without the PIN on ... chip reader and I entered my PIN it went through. ... locally on the card, with a certificate stored in the POS terminal ...
    (comp.dcom.telecom)
  • Re: chip & pin - could this happen?
    ... the chip and pin terminal in the shop is modified to record the pin ... number - the card number and other essential details are captured so the ... Security is always a race between you and the attackers. ...
    (uk.finance)
  • Re: Image dump von =?ISO-8859-1?Q?Kartenleseger=E4t?=
    ... ich hab mir schlichtweg 1 Posting gespart und Deine Zitierung fortgefuehrt. ... Wenn Du die ec-Karte mit Chip meinst, so gibt es dort regulaer mindestens 2 Applikationen. ... Gegen DF_PURSE kannst Du die Kartenpin direkt pruefen, es sei denn es handelt sich um eine Whitecard aka Geldkarte ohne Kontobezug - die hat in der Tat keine PIN. ... Die ZKA Spezifikation vom Sommer diesen Jahres waere dann wohl auch falsch. ...
    (de.comp.security.misc)
  • Re: chip and signature cards
    ... I emailed Bank #1, through their secure email, and was promptly offered ... a chip and sig card, told that my existing card had now been cancelled ... What arrived was a new Chip and PIN card, ...
    (uk.people.disability)