As credit card fraud and identify fraud becomes more prevalent, credit card issuers and personal information providers (government agencies, etc) are requiring greater security by companies that process transactions using credit cards or other personal information. The software applications used by these companies must meet strict standards for credit card processing required by credit card issuers and personal information. The standards include providing secure processing and storage of credit card information, and other privacy identifiers such as driver's license, banking or other financial data as for example as may be achieved by suitable encryption of credit card identifiers, identification numbers or bank account numbers. However, it is very difficult for companies with existing credit card and other identifiable information (driver's license, social security numbers, banking information, etc) to meet these requirements.
A method and apparatus is provided for privacy identifier remediation using a secure server installation. The secure server installation abstracts privacy identifiers from its server, network, application and database environments, thus reducing investment in securing, segregating and/or isolating these environments in their entirety. The secure server installation intercepts transactions using privacy identifiers that are sent from front end applications to back end applications, and forwards tokens in replacement of privacy identifiers for processing by the back end applications. The secure server component also acts as a mediation gateway to connect to external agencies or processing systems. In an embodiment, the privacy identifiers comprise credit card numbers.
These and other aspects of the apparatus and method are set out in the claims, which are incorporated here by reference.
Embodiments will now be described with reference to the figures, in which like reference characters denote like elements, by way of example, and in which:
In the claims, the word “comprising” is used in its inclusive sense and does not exclude other elements being present. The indefinite article “a” before a claim feature does not exclude more than one of the claim feature being present. Each one of the individual features described here may be used in one or more embodiments and is not, by virtue only of being described here, to be construed as essential to all embodiments as defined by the claims.
In
The secure server installation 10 comprises in the embodiment shown a first server 22, referred to here for convenience as the Avalon server 22 (token management server), a second server 24, referred to here for convenience as the HSM server (hardware security module) and a third server 26, which acts as a database server. Other configurations of fewer or more servers could be used, and the entire functionality of the secure server installation in some embodiments could comprise a single server. The servers 22, 24 and 26 are connected together in this embodiment via multiple IP/Ethernet inter-connects in a bind configuration (for example an Ether-Channel) into a switch 28 such as a Cisco L2 or L3 switch. Database server 26 in this embodiment connects to a storage system, for example a disk array 27, via a suitable switch 29, such as a Brocade FC switch. Other arrangements may be used for storage, such as flash memory, tape or optical disk.
In operation, the system of
As shown in
As outlined below, in one exemplary embodiment applied to credit card identifiers, although similar operations may also be applied to other privacy identifiers, the Avalon server 22 is configured to generate unique and meaningless tokens, to request a search and match of tokens for association of correct credit card identifiers and an authentication code for the credit card identifiers via database server 26, to extract credit card identifiers and insert tokens for internal backend system processing and to extract tokens and insert credit card identifiers for external communications processing for payment validation.
A token is substituted for a privacy identifier for all back end transactions. The token is unique to the privacy identifier and meaningless in relation to the privacy identifier. That is, the privacy identifier cannot be determined from the token. One manner of accomplishing generation of a meaningless token is to select a length of characters by an irreversible function such as generating the token in sequential order as credit card identifiers are processed by the Avalon server 22. The token may thus be obtained by looking up an ordered sequence of tokens, and selecting an unused token from the ordered sequence. A suitably long token should be adopted to cover variable length privacy identifiers. The characters may include any suitable characters, such as numerals and letters but may include other characters.
In one embodiment, all tokens have a one-to-one relationship with privacy identifiers such as credit card numbers and other privacy identifiers. Thus, in the case where the privacy identifier is a credit card number, no matter how many times a customer issues a credit purchase with the same credit card identifier, the transactions may always use the same token that was issued the first time the customer completes a transaction using the secure server installation 10. The same applies to other privacy identifiers. If an individual provides the same ID for any number of financial transactions, the token associated with that ID will always be the same one utilized during the processing of the transaction.
By selecting a suitably long token, for example in one embodiment a numerical entity 21 digits long, there will never be more tokens issued to any particular individual than the total possible number of unique credit card identifiers and other privacy identifiers that an individual possesses and uses in the system. For example, as an extreme scenario, if an individual uses 40 different credit card identifiers and provides 40 pieces of different ID for various financial transactions, this individual would require a total of 80 unique tokens from the secure server installation 10. If we consider a total adult population of 500,000,000 (500 Million) for this scenario, the total number of tokens that the secure server installation would need to issue is 40,000,000,000 (40 Billion) tokens (80×500 Million). Thus, a token of length 21 digits will not be exhausted in practice. However, longer tokens could be used.
Tokens in one embodiment are issued in a sequential format for every request the system receives. Each request received however is completely random with no discernable pattern or ability to anticipate the type of value associated with the token. Token requests may come in from a variety of front end servers 16 and the generated token delivered to any of a large number of back end servers 18. The token requests may be processed in batches amongst other individual requests coming into the back end servers 18. Token requests may be associated with different types of identifiers (credit card verses other privacy identifiers), different credit card suppliers, different privacy identifiers (such as drivers license, bank account, PIN, Student Card, Government Employee #, etc. . . . ) and may be issued during any time of the day. Accordingly, due to the randomness, types of requests and data to be tokenized being sent to the secure server installation 10, it is quite impossible to define or construct a usable pattern of token issuing.
Request for tokens are restricted to specific applications whose authorization and authentication is tracked each time those applications need to communicate with the secure server installation 10. Once communication and access have been granted to the system, the activity to request a token, encryption/decryption or hashing service may be monitored, tracked and written to a log file. Tracking software may also be applied to the back end servers 18 which need to connect to the secure server installation 10. Thus there are multiple areas where processes are in place to ensure the secure request and issuing of tokens. The same security measures apply to those teams which need to access secure server installation 10 such as audit teams, reverse payment teams, system administrators and security officers. Thus only those systems and/or individuals with strict secure pre-defined credentials are able to request a credit card identifier for decryption by submitting a token. Each role of the audit teams, reverse payment teams, system administrators and security officers are granted specific levels of security without overlap of the other roles, further reducing risk.
Tokens are stored in the clear within the backend systems 18. If the token is sufficiently long, such as for example longer than any credit card or other privacy identifier, the token has no meaning that can be deduced from its length. In addition, even if the token was truncated, the specific format of the digits' numbering scheme would not meet the validation process of a credit card identifier. By generating the token from an irreversible function such as a sequential number generator, the token is completely independent of the credit card or privacy identifier randomly submitted by a particular person or business for the secure server installation 10 to process. Further, there is no association between the token and credit card identifier except for the token being the prime search key to find the encrypted credit card identifier which enables the completion of the requested financial transaction by a particular backend system 18. Additionally, this process is a one-way stream in which the back end system 18 cannot and does not see the privacy identifier when a transaction is processed. The secure server installation 10 is the last step in the communication stream between the back end servers 18 and external privacy identifier processing servers.
Referring to
Step 60 Front End Server 16→Avalon Server 22 (Token Request) A process of credit card remediation begins with generation of a token request by a front end server 16 during a credit card processing request. The front end server 16 may be a web tier application that requires use of a credit card payment to complete a transaction. The front end server 16 will need to communicate with a back end server 18 for the purpose of completing the transaction. The normal transaction process using a credit card is commenced, but the front end server 16 pauses the transaction process for the time required to send the credit card identifier to the secure server installation 10 for a token request/receipt. Communication stream between the front end server 16 and secure server installation 10 is secured via SSL.
Step 62 Avalon Server 22→HSM Server 24 (Encryption Request) The Avalon server 22 at the secure server installation 10 receives credit card identifier and sends it to the HSM Server 24 for encryption and generation of the keyed hash of credit card identifier, for example by a KEYed Hash process.
Step 64 HSM (Encryption) The HSM server 24 encrypts the credit card identifier (using a strong encryption KEY #1 hash, as for example using a 1024 bit key) and builds an authentication code corresponding to the credit card identifier for look up purposes. The cryptography key for decryption is kept at the HSM server 24. An example of an authentication code is a keyed hash based on the credit card identifier+a 256 bit KEY (using Key #2) The strength of encryption KEY #1 and KEY #2 should be sufficiently strong to meet security standards applicable to the transaction process. An example authentication code is a keyed-hash message authentication code, or HMAC, calculated using a cryptographic hash function in combination with a secret key. As with any MAC, it may be used to simultaneously verify both the data integrity and the authenticity of a message. Any suitably strong iterative cryptographic hash function, such as MD5,SHA-1 or better, may be used in the calculation of an HMAC for this purpose. The cryptographic strength of the HMAC depends upon the cryptographic strength of the underlying hash function, on the size and quality of the key and the size of the hash output length in bits.
Step 66 HSM Server 24→Avalon Server 22 (Return CCI) The HSM server 24 returns the encrypted Credit card identifier and authentication code to the Avalon server 22.
Step 68 Avalon Server 22→Database Server 26 (Existing Token?) In an embodiment, before creating a token, the Avalon Server 22 sends the authentication code and, in some embodiments, an entity type to the database server 26 to search for an existing token. An entity type may be an additional security code based on a feature of the transaction being paused, as for example based on the credit card issuer (such as VISA™). Look up in the database server 26 is done via the authentication code and the entity type to lower or avoid the possibility of collisions (or token mismatch).
Step 70 Database Server 26→Avalon Server 22 (Existing token returned) If a match on authentication code and entity type is found, the database server 26 returns the token matched.
Step 72 Database Server 26→Avalon Server 22 (No existing token) If no match is found, the database server 26 returns a “null” response indicating to the Avalon server 22 that a new token must be created.
Step 74 Avalon server 22 (Create token). If no existing token is returned from the database server 26, the Avalon server 22 generates a new token as for example a unique sequential and meaningless number. The Avalon server 22 associates the token with an encrypted credit card identifier, the authentication code, and entity type, and also any other suitable identification information, such as a table name or key label, used by the database.
Step 76 Avalon server 22→Database Server (Store Token). In this step, the Avalon server 22 sends the token, encrypted credit card identifier, authentication code, entity type and other suitable identification information to the database server 26 for processing and storage. The database server 26 returns an acknowledge message when this process is complete.
Step 78 Avalon server 22→Back End Server 18 (Forward Token). Once an acknowledge response from the database server 26 has been received, the Avalon server 22 sends the token to the back end server 18, where the token is used by the back end server 18 to carry out the transaction requested by the front end server 16 that requested the transaction and originally forwarded the credit card identifier that has now been substituted by the token.
Referring to
Step 80 Back End Server 18→Secure server installation 10 (Verification Request) If credit card verification is required, the following steps may be taken. Once the back end server 18 has completed its processing, the back end server 18 sends its financial transaction data stream (which includes the unique token) to the secure server installation 10 for credit card identifier lookup and re-insertion. Communication stream between the two entities is secured via SSL.
Step 82 Avalon server 22 (Token/CCI Exchange Request) The Avalon server 22 receives the data stream from the back end server 18 and pauses the transaction process for the time required to extract unique token, look up credit card identifier in the database 27 and re-insert credit card identifier in the data stream.
Step 84 Avalon server 22→Database Server 26 (Find encrypted CCI). Avalon server 22 sends the token to the database server 26 for encrypted credit card identifier look up.
Step 86 Database Server 26→Avalon server 22 (Return encrypted CCI) The database server 26 receives unique token, searches for matching token and associated encrypted credit card identifier. The database server 26 sends the encrypted credit card identifier to the Avalon server 22.
Step 88 Avalon server 22→HSM Server 24 (Request CCI). The Avalon server 22 receives the encrypted credit card identifier with the cryptography key label and sends it to the HSM server 24 for decryption.
Step 90 HSM Server 24→Avalon server 22 (Decryption and CCI Insertion) The HSM server 24 receives encrypted credit card identifier, decrypts and sends the decrypted CCI to the Avalon server 22. The Avalon server 22 receives decrypted credit card identifier and inserts into transaction stream in place of token.
Step 92 Avalon server 22→Private Information Validation Company 20 (Payment Completion Request, for example).The transaction stream from the back end server 18 with decrypted or real credit card identifier is sent to the Credit Card Validation Company 20 for payment process completion.
Step 94 Private Information Validation Company 20→Avalon server 22 (Payment Completion). The Private Information Validation Company 20 returns payment confirmation details to Avalon server 22. If the Private Information Validation Company 20 returns the private information identifier as part of its confirmation data to Avalon server 22, the private information identifier is stripped out prior to re-directing the completed transaction stream back to the back end server 18.
Step 96 Server 18→Front End Server 16 (Complete Transaction). The completed transaction with associated confirmation data is sent to the originating front end server 16. The transaction terminates where it originated from. A user could be a connected user to server 16 (a web browser for example).
The Avalon server 22 is configured for example using suitable software to generate unique & meaningless sequential numbers for variable field length credit card identifiers and privacy identifier fields. The tokens should thus have a sufficient number of digits to cover various length identifiers. While one type of encryption KEY may be used for the credit card identifier, other encryption keys may be used for other fields, such as privacy identifier fields, that require encryption. The Avalon server 22 may in some embodiments track, monitor, log and audit all activity relating to credit card processing done by the secure server installation 10. If separate servers 22, 24 and 26 are used, they should be clustered for reliability.
The HSM server 24 should be permitted to communicate only with the Avalon server 22 by suitable identification measures. In some embodiments, for strictest security, no device other than the Avalon server 22 should be able to issue requests to the HSM server 24. Some systems 20 may be permitted access to the Avalon server 22 for purposes of maintenance, operations, audits and investigations.
The HSM Server 26 provides encryption, decryption, authentication code, keyed hash generation and key management for the secure server installation 10.
Immaterial modifications may be made to the embodiments described here without departing from what is covered by the claims.