The invention relates to the flow control in card readers for magnetic or chip cards in which a security module is provided.
In many areas, particularly in self service appliances such as cash dispenser machines, cards in check-card or credit-card format are used which have magnetically coded tracks or electronic circuits produced in the card. The latter cards are commonly referred to as chip cards. When using these cards, card readers are required which can be used to make contact with the chip cards or to read the magnetically coded information on magnetic-strip cards.
Such card readers are also used, in particular, to ascertain the identity of a person using an appliance. For this purpose, the cards hold a coded password, also referred to as a PIN. Besides chip cards containing a cryptographic processor, there are also chip cards in use which do not allow the password to be read, but only allow it to be compared internally. These chip cards then require the password to be transmitted in plain text via the card reader's external interface which is provided.
It is therefore an object of the invention to specify a solution which does not require the password in plain text outside of the card reader.
The invention uses the insight that the object can be achieved by a security module in the card reader. For this purpose, an encrypted password is sent via the external interface, is sent to the security module, is decrypted there and is sent directly to the chip card, generally in recoded form.
Other features and advantages of the invention can be found in the description below, which explains the invention using an exemplary embodiment in conjunction with the appended drawings.
In the drawing,
The card reader also comprises a security module 20 which is connected to the controller 12. This security module is designed such that an attempt to open it destroys the stored data. Such a security module 20 therefore stores, in particular, keys for symmetrical encryption methods. So as not to have to reveal the key, the security module decrypts, if appropriate, data which are transmitted to it via the connection by the controller 12. The interface for such a security module is frequently the same as that for a chip card. It can also be in the form of a chip card, which means that a second corresponding contact station is required. Preferably, however, a version for integrated circuits is used which is more reliable and takes up less space.
In addition, the card reader comprises a control interface 18 which is used to control the card reader. In many cases, this control interface 18 is in the form of a serial interface, known by the abbreviation ‘V24’.
Alternatively, such a card reader can also read cards having a magnetic track, which is not shown in
The inventive method is applied as follows, for example:
A chip card 11 belonging to a customer will be assumed to have been connected by the contact station 16. The chip card 11 contains a stored password, called a PIN in the field of banking. Although this password cannot be read, provision is made for the password to be sent to the chip card 11 in plain text and for said chip card 11 then to perform the check for identity.
The card readers known to date therefore require the password to be transferred to the control interface 18 in plain text in order for the controller 12 to forward it to the chip card. This path is symbolized by the curved double-headed arrow 22 inside the controller 12. However, the control interface 18 is frequently a standardized interface which is relatively simple to tap. In addition, the control interface 18 is frequently operated by a computer having a normal operating system, which could in turn be a target for attacks.
The card reader has access to a security module 20 which contains, in particular, a decryption section. This security module is operated via the control interface 18. In particular, an encrypted password is sent from the superordinate controller 31 to the security module 20 for the purpose of decryption, and the decrypted password is sent back via the control interface by the security module. This path is symbolized by the curved double-headed arrow 21 inside the controller 12. The superordinate controller 31 picks up the password and forms a further order to the controller 12 for the purpose of sending the decrypted password to the chip card 11.
The invention avoids transmitting the password via the control interface 18 twice by virtue of the controller 12 being designed such that the result returned by the security module 20 is forwarded, generally after reformatting, directly to the chip card. This path is symbolized by the curved double-headed arrow 23 inside the controller 12.
It will be assumed that the control interface has received a command which contains the password in encrypted form. This command is characterized, generally by means of a code field, such that it needs to be passed to the security module 20 and the result of the security module's handling must not be returned via the control interface, but rather can be forwarded only to the chip card. In this case, the result is precisely the decrypted password which is sent to the chip card. The chip card makes a comparison with the password stored on it and delivers a statement regarding whether there is a match. To support this operation, provision is made for a preliminary instruction to be used to specify, particularly by specifying a position and a length, where in the security module's response the decrypted password needs to be extracted. In the same or in a further preliminary instruction, the controller is notified of that coded instruction into which the extracted password needs to be fitted. This can be done by specifying a character string which needs to be placed in front and one which needs to be placed behind.
The password is preferably encrypted in the actual keypad unit into which the user enters the password or the PIN. This means that the area in which the password is visible in unencrypted form is limited to the interior of the keypad and of the card reader. The devices required for this purpose are already provided in the keypads on cash machines. If appropriate, recoding can also take place if the keypad and the security module have no common key. In this case, the cash machine's controller is connected to a central control station which has access to both keys in a secure environment and uses the keypad's key for decryption and uses the card reader's key for decryption within this secure environment.
In card readers having a magnetic track, the invention can be applied to the extent that the information needing to be compared with the magnetic track can be sent to the card reader in encrypted form, is decrypted by said card reader and is then compared directly in the card reader with the data read from the magnetic track. This means that the data are less exposed to an attack; an attacker planning an attack using a relatively large amount of magnetic track data must then get hold of these data physically. In this respect, the security is increased at least slightly.
Number | Date | Country | Kind |
---|---|---|---|
100 22 314 | May 2000 | DE | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/DE01/01465 | 4/14/2001 | WO | 00 | 10/22/2002 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO01/86580 | 11/15/2001 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
5267315 | Narita et al. | Nov 1993 | A |
5577121 | Davis et al. | Nov 1996 | A |
5594227 | Deo | Jan 1997 | A |
5987438 | Nakano et al. | Nov 1999 | A |
6092202 | Veil et al. | Jul 2000 | A |
6226749 | Carloganu et al. | May 2001 | B1 |
6668326 | Sella et al. | Dec 2003 | B1 |
Number | Date | Country |
---|---|---|
693 01 530 | Jul 1996 | DE |
9710562 | Mar 1997 | WO |
Number | Date | Country | |
---|---|---|---|
20030084303 A1 | May 2003 | US |