The present invention relates to an encrypting keypad module. In particular, the present invention relates to an encrypting PIN pad (EPP) module for use with a retail point of sale (PoS) terminal or a self-service terminal (SST) such as an automated teller machine (ATM). The invention also relates to a terminal including such an encrypting keypad module.
ATMs require high electronic security because sensitive information, such as a user's personal identification number (PIN), is entered by a user at the ATM. The entered information is conveyed within the ATM and also outside the ATM to an authorization center that authorizes a requested transaction.
To ensure that the user's PIN is not divulged by the ATM after it has been entered by the user, a tamper-resistant integral unit is provided having a keypad and an encryption unit. The integral unit is referred to as an encrypting PIN pad (EPP) module.
Once a user has entered his/her PIN, the EPP encrypts the entered digits to ensure that the digits are encrypted prior to leaving the EPP. This ensures that a user's PIN is never conveyed (either within or outside the ATM) as plaintext.
The EPP includes an encryption unit having a random number generator, a cryptographic processor, a non-volatile memory for storing a unique master encryption key and an encryption algorithm, and a volatile memory for storing customer-specific encryption keys, such as a key exchange key and a PIN key.
Typically, when an EPP is manufactured the unique master key is generated by the cryptographic processor within the EPP and stored in the non-volatile memory (which may be EEPROM or battery-backed RAM). The encryption algorithm to be used by the module is also loaded into the non-volatile memory during manufacture of the EPP. The algorithm may be, for example, the data encryption standard (DES).
If the EPP is tampered with, for example by a third party attempting to gain access to it, then the EPP deletes the master key stored in the non-volatile memory, and any other keys stored in the volatile memory.
When a user enters his/her PIN at an ATM, the EPP uses its PIN key and the stored encryption algorithm (such as DES) to encrypt the entered digits using a standard protocol. The result of this encryption on the entered digits is generally referred to as a PIN block.
A protocol (also referred to as a framework) indicates how a cryptographic processor is to operate on data, how the processor is to use encryption keys, what type of algorithm is to be used for encryption, and such like.
A number of different protocols exist, some of these are described in international standards, such as: ANSI standard X9.8 “PIN management and security”, ANSI X9.9 “Financial institution message authentication”, ANSI X9.17 “Financial institution key management”, Australian standard for electronic funds transfer AS 2805, and such like.
The PIN block is then transmitted from the EPP to an ATM controller, which transmits the PIN block (together with the requested transaction, and typically a sequence number and a date/time stamp) to an authorization center. The authorization center decrypts the encrypted PIN block to verify the claimed identity of the user, and authorizes a requested transaction if sufficient funds are present.
One problem associated with current EPPs is that it is difficult to change the protocol used by the EPP. Another problem is that it is difficult to derive new keys for current EPPs. There are a number of reasons for these problems. To upgrade the EPP protocol and to derive new keys, a complex application programming interface (API) must be used. In addition, the ATM application program is constrained so that only certain functions can be performed relating to deriving new keys and upgrading protocols. Furthermore, the architecture of an EPP is typically vendor-specific, so an ATM application program may have to be changed if a new type of EPP is used in the ATM.
Thus, when a new key is to be derived, or when a new protocol is to be implemented, on a network of ATMs having different types of EPPs (that is, EPPs from different vendors), then each type of EPP requires different instructions. This makes upgrading the ATM network a time-consuming, complex, and expensive task. However, to ensure high levels of data security, EPPs in ATM networks have to be upgraded frequently.
It is among the objects of an embodiment of the present invention to obviate or mitigate one or more of the above disadvantages or other disadvantages associated with encrypting keypad modules.
According to a first aspect of the present invention there is provided an encrypting keypad module comprising a keypad and an encryption unit, characterized in that the encryption unit includes an interpreter for receiving a file containing data and instructions for processing the data, whereby the encryption unit is operable to process the data in the file by interpreting the instructions in the file.
By virtue of this aspect of the invention, the module is able to receive data and instructions from a source external to the module, and to process the data and any entered PIN, according to the instructions received. This obviates the requirement to pre-load protocols, as a protocol can be described by the file.
This has the advantage that a standard set of instructions can be used for any such module, regardless of the architecture of the module, as the interpreter is able to translate the instructions into code that a cryptographic processor can execute.
Preferably, the interpreter is implemented in software or firmware.
The file may include instructions for deriving a new key based on an existing key and new data contained in the file.
The file may have a structure comprising tagged commands and data, in a similar manner to a standard mark up language such as XML.
Preferably, the encrypting keypad module is a single integrated unit.
According to a second aspect of the present invention there is provided a terminal including an encrypting keypad module, characterized in that the module has an encryption unit including an interpreter for receiving a file containing data and instructions for processing the data, whereby the encryption unit is operable to process the data in the file by interpreting the instructions in the file.
The terminal may be a point of sale terminal or a self-service terminal such as an ATM.
According to a third aspect of the present invention there is provided a method of encrypting data in an encryption module, the method comprising the steps of: receiving data to be encrypted and instructions for encrypting the data from a source external to the module; interpreting the instructions to generate code for implementing the instructions; and applying the code to a cryptographic processor.
These and other aspects of the present invention will be apparent from the following specific description, given by way of example, with reference to the accompanying drawings, in which:
Reference is now made to
The transaction host 14 is owned and operated by a financial institution and includes an authorization facility 18 and a back-office facility 20. As is well known in the art, the authorization facility 18 authorizes transactions received from the ATMs 12.
The back-office facility 20 typically includes details of bank accounts held by customers of the financial institution and stores information relating to transactions executed at the ATMs 12.
Referring now to
Each ATM 12 also includes conventional ATM modules (such as a receipt printer, a journal printer, and such like) that are coupled to the ATM bus 36, which are not illustrated in
Referring now to
The keypad 40 comprises sixteen individual keys 44, each key having a surface that is either blank or provided with a legend. Those keys having a legend have either a numeral (such as “1”, “2”, or such like) or a word (such as “Enter”, “Cancel”, or such like) etched or printed on the surface of the key 44.
Data from the keypad 40 is transmitted to the encryption unit 42 via a tamper-detecting bus 46. Bus 46 includes the scan out lines that indicate which key is depressed. Bus 46 is enveloped by a membrane shield (not shown) that detects any attempt to access the data lines in the bus 46 covered by the shield.
The encryption unit 42 has a cryptographic processor 48 in the form of a general cryptographic device. Suitable cryptographic devices are available from: Pijnenburg Custom Chips B.V., Dallas Semiconductor Corporation, or Philips Crypto B.V. (such as the Philips General Crypto Device GCD-PHI). The processor 48 has associated volatile memory 50 in the form of RAM (which has a battery back-up), and non-volatile memory 52 in the form of EEPROM.
The RAM 50 stores a master key which was loaded during manufacture. The EEPROM 52 stores at least one encryption algorithm 54 (in this embodiment triple DES) which was also loaded during manufacture. The EEPROM 52 also stores an interpreter program 56 that is loaded into RAM 50 on power-up of the EPP 30.
The processor 48, RAM 50, and EEPROM 52 communicate via an internal bus 58.
Unit 42 includes a tamper-detecting membrane (not shown) for detecting any attempt to open or otherwise access the unit 42.
The unit 42 also includes an erase line 60 coupled to the RAM 50. If any of the tamper-detecting membranes detects a breach, then the processor 48 activates erase line 60 to delete the master key stored therein.
Unit 42 is also coupled to function display keys (FDKs) (not shown) via bus 62. FDKs typically comprise two columns of keys, each column being located on an opposite side of a display, so that the FDKs align with options presented on the display, and a user can select an option by depressing an FDK aligned with that option.
The keypad 40 and encryption unit 42 each receives power via bus 64; and the encryption unit 42 outputs encrypted data to the ATM controller 32 (
When the keypad module 30 is connected to an ATM 12 (
A typical transaction will now be described with reference to
Initially, a user enters a card into MCRW module 31. The MCRW 31 reads the card (step 100) to determine account information such as the account number and the card issuer, and conveys this account information to the ATM application program 39. ATM program 39 creates a file (step 102) containing this account information (the file will be described in more detail below) and some instructions.
The ATM application 39 then sends this file (step 104) to the EPP 30, and invites the user to enter his/her PIN at the EPP 30.
The EPP 30 reads the PIN entered by the user (step 106), interprets the received file (step 108) and executes the instructions contained in the received file (step 110) using the PIN and the account information, so that a PIN block is generated.
The EPP 30 then sends the PIN block (step 112) to the ATM application 39, which appends (step 114) a sequence number, transaction details (for example, the amount of cash to be withdrawn), and a time and date stamp thereto to generate a wrapped PIN block.
The ATM application 39 then sends (step 116) the wrapped PIN block to the transaction host 14 for authorizing (step 118).
If the transaction host validates the transaction then the ATM application invites the user to remove the card (step 120) then fulfills (step 122) the transaction (for example, by dispensing the requested cash).
If the transaction host does not validate the transaction then the ATM application aborts the transaction (step 124).
The account file created in step 102 of
The file 150 has an instruction tag 152 (in the form of an element called “message”) indicating that what follows is a set of instructions.
In the format shown, as is conventional for markup languages, each element is activated by a tag comprising an identifier surrounded by angled brackets, and deactivated by a tag comprising an identifier preceded by a forward slash character and surrounded by angled brackets.
After the instruction tag there is an encryption tag 154 indicating that what follows is an encryption routine having instructions for encrypting data.
The encryption routine has an algorithms tag 156 including an algorithm code 158 indicating the type of algorithm to be used in the encryption process. In this embodiment, the algorithm code 158 is “2 k3des_ecb”, which indicates that the two key triple DES algorithm is to be used in electronic code book mode of operation. Although only one algorithm is shown in the EPP of
The encryption routine also has a plain text tag 160 including data to be operated on. In this embodiment, the plain text is the account number read from the user's card in step 100.
The encryption routine also has a use key tag 162 including a key code 164 indicating which of the stored keys is to be used in the encryption process. In this embodiment, the code is “Key 1”, which indicates that the key labeled “Key 1” and stored in the EPP is to be used.
The encryption routine also has a use cipher text tag 166 indicating that the results of the two key triple DES encryption using “Key 1” on the entered PIN and the account information should be referenced by the name “result”; that is, the PIN block generated is referenced by the name “result”.
The file 150 also has an output tag 168 that instructs the EPP to send the encrypted PIN block to the ATM application program 39.
When this file 150 is received by the EPP 30, the EPP 30 interprets each command to generate the cryptographic processor codes required to instruct the application programming interface in the encryption unit to execute the functions required.
A different account file 180 is shown in
It will be appreciated that each of the blocks of commands comprises tags indicating an operation to be performed or data to be used; however, for clarity of explanation, tags have been grouped to indicate the function performed by that group.
Yet another account file 190 is shown in
Thus, the key derivation account file 190 does not involve a user entering any data, it is used by an owner or operator of the ATM to update the encryption in the ATM.
Yet another account file 200 is shown in
It will be appreciated that this embodiment of the invention has several advantages. It enables an ATM, or a host remote from the ATM, to send an electronic file to an EPP instructing the EPP to process data in a specified manner. It also enables a single file to be used that specifies data to be operated on and the algorithms and modes to be used in operating on that data, thus a single file contains both data and instructions. It simplifies key derivation by using a single file, and enables key derivation to be initiated from a location remote from an ATM. This enables a central location to update multiple ATMs with new keys without having to send personnel to each ATM. The markup language format used for the file enables the file to be easily generated and understood by a human.
Various modifications may be made to the above described embodiment within the scope of the invention, for example, in other embodiments, the encrypting keypad may be used in a point of sale terminal, and the point of sale terminal may be connected to an open and public network.
Number | Date | Country | Kind |
---|---|---|---|
0027327.6 | Nov 2000 | GB | national |
Number | Name | Date | Kind |
---|---|---|---|
4578530 | Zeidler | Mar 1986 | A |
4941176 | Matyas et al. | Jul 1990 | A |
5142578 | Matyas et al. | Aug 1992 | A |
5404403 | Bright et al. | Apr 1995 | A |
5448638 | Johnson et al. | Sep 1995 | A |
5539400 | Mears | Jul 1996 | A |
5592552 | Fiat | Jan 1997 | A |
5745576 | Abraham et al. | Apr 1998 | A |
5768386 | Yokomoto et al. | Jun 1998 | A |
5970146 | McCall et al. | Oct 1999 | A |
6044155 | Thomlinson et al. | Mar 2000 | A |
6049790 | Rhelimi | Apr 2000 | A |
6167137 | Marino et al. | Dec 2000 | A |
6226749 | Carloganu et al. | May 2001 | B1 |
6470449 | Blandford | Oct 2002 | B1 |
6578145 | Greene | Jun 2003 | B1 |
6598023 | Drummond et al. | Jul 2003 | B1 |
6736313 | Dickson | May 2004 | B1 |
6772331 | Hind et al. | Aug 2004 | B1 |
6823172 | Forrest | Nov 2004 | B1 |
7010689 | Matyas et al. | Mar 2006 | B1 |
7024562 | Flink et al. | Apr 2006 | B1 |
Number | Date | Country |
---|---|---|
2168514 | Jun 1986 | GB |
Number | Date | Country | |
---|---|---|---|
20020066020 A1 | May 2002 | US |