Ludovic and Francois are conducting a discussion here about monitoring traffic between card and host system for debug purposes, but the problem of the card to IFD (Interface Device) traffic being monitored is a more general one. For example, the reports of the hacking of Cartes Bancaires included mention of monitoring traffic between card and IFD in order to reverse engineer the algorithms used in the transaction.
Any interface between two pieces of hardware can in principle be monitored (although the proponents of photon level communication deny that, because you can't monitor a photon without capturing it). Thus any 'secret' passed across the interface is easily visible. The classic answers are (a) use a card to IFD authentication method so that the secret cannot be used except with the original card, and (b) encrypt the traffic using a session key derived during the authentication process. Method (a) applies equally whether the secret is revealed by sniffing the card to IFD interface or by finding it stored in a debug log. Method (b) is more secure, but is only effective if there is no other way for the secret to be revealed. Note that the growing migration to contactless interfaces makes sniffing the card to IFD interface much easier. Payment system designers are, naturally, very concerned about PIN codes being revealed, but this also applies in other citizen-centred schemes. I'm currently working on a CEN/ISS project 'User Related Information extended to multi-app cards' (eURI), where we are advised by implementors of citizen card schemes that we should, for data protection purposes, give the cardholder the option to have PIN protection on 'personal profile' data (name, address, date of birth, phone number...) - the cardholder then has to enter a PIN before the data is read from the card, and this PIN gets sent to the card. The difficulty that we have is not so much with the card (where we can expect that multi-app card platforms will have crypto functions and can thus handle encrypted PIN with acceptable response times), but that terminal equipment (e.g. public kiosks, and the home or office PC) is not likely to be equippd with a tamper-evident encrypted PIN pad in the forseeable future. Thus we are proposing to our management group (known as a 'Workshop' in this case) that we have to live with plain text PIN routed through an insecure terminal system. My comment on the current discussion is that method (a) above is the widely available method for protecting against against security breaches at the moment, and your debug proposal doesn't compromise it. If method (b) becomes widely available, you will never see the plain text PIN in the PC because it will be encrypted before it leaves the PIN pad, so your debug proposal again doesn't compromise security (and you may not even see the encrypted PIN in the PC, because the PIN pad may well be positioned in the path from PC to card, and designed so that it can only send the encrypted PIN to the card). Peter PS 3rd September, CEN, Brussels: eURI Workshop to discuss not only the eURI but also proposals for universal methods for recognising card platforms. www.cenorm.be/isss and look for Workshops - you should soon be able to find an eURI WS Agenda and invite there (email me at [EMAIL PROTECTED] if you don't find it). *************************************************************** Unix Smart Card Developers - M.U.S.C.L.E. (Movement for the Use of Smart Cards in a Linux Environment) http://www.linuxnet.com/ To unsubscribe send an email to [EMAIL PROTECTED] with unsubscribe sclinux ***************************************************************
