Title of Invention

SECURED COMPONENT FOR SECURITY MODULES

Abstract The aim of this invention is to improve in an optimal way the security of smart cards to prevent the fraudulent control of a cryptographic processor(s) by means of external signals that interfere with the normal development of the tasks of a processor(s). This aim is reached by a component IC of a security module comprising at least two processors CPU A, CPU B each connected to program memories ROM A, ROM B, to non-volatile programmable and erasable memories (EEPROM) EEPROM A, EEPROM B containing the data and random access memories (RAM) RAM A, RAM B that serve as temporary data storage during processing, the first processor CPU A having an interface bus with the exterior of the component IC, characterized in that the second processor CPU B is connected to the first processor CPU A through an exchange memory DPR, the non-volatile programmable and erasable memory EEPROM A of the first processor CPU A having read-only access R for said first processor CPU A, the second processor CPU B having read and write access R/W on said non-volatile programmable and erasable memory EEPROM A of the first processor CPU A.
Full Text FORM 2
THE PATENTS ACT, 1970
(39 of 1970)
As amended by the Patents (Amendment) Act, 2005
&
The Patents Rules, 2003
As amended by the Patents (Amendment) Rules, 2006
COMPLETE SPECIFICATION
(See section 10 and rule 13)
TITLE OF THE INVENTION
Security module component
INVENTOR
Name: KUDELSKI Andre
Address : Chemin de Bellingard, 1095 Lutry, Switzerland
Nationality: Swiss
APPLICANTS
Name : NAGRACARD SA
Address : Route de Geneve 22, CH-1033 Cheseaux-sur-Lausanne, Switzerland
Nationality : a Swiss Company
PREAMBLE TO THE DESCRIPTION
The following specification particularly describes the nature of this invention and the manner in which it is to be performed:

Background of the Invention
The present invention relates to the domain of security modules containing at least one processor and memories generally in the form of smart cards. These are available with or without contacts and are used in different applications requiring security transactions such as, for example, payment, exchanging of confidential data or access control.
Prior Art
As is well known to those skilled in the art, the security module can essentially be produced according to three different forms. One of these is a microprocessor card, a smart card, or more generally an electronic module (taking the form of a key, a badge...). This type of module is generally removable and connectable to a digital pay television decoder. The form with electric contacts is the type used most frequently, however a connection without contact is not excluded, for example, of the type ISO 14443.
A second known form is that of an integrated circuit, generally placed in a definitive and irremovable way in the decoder. An alternative is made up of a circuit that is welded or mounted onto a base or even a connector such as a SIM module connector.
In a third form, the security module is integrated into an integrated circuit that also has another function, for example, in a descrambling module of the decoder or the microprocessor of the decoder.
More particularly, in the field of digital pay television these security modules take the form of cards. They serve as means for the personalization and protection of access to encrypted programs received by decoders installed at the location of the subscriber.
In order to improve the security of access to conditional access data and to prevent different attempts at fraud, several solutions have been adopted such as: a material encapsulation of the security module, sophisticated encrypted algorithms, encryption / decryption keys with a high binary size, a multiplicity of cards or processors as described in the documents US5666412 or US5774546.
In these last two examples a Pay-TV decoder is equipped with a card reader with two openings into each of which a smart card is inserted. The first card comprises an identification element including
2

the partially encrypted personal and official data. The second smart card comprises an application element containing the access keys and algorithms that allow access to data contained in the identification element of the first card. This type of configuration is presented in particular in a parental control device that requires a second access control level by using a particular key.
According to one alternative to the document mentioned, the chips or integrated circuits of each of
the two cards are grouped together on only one support, in this way constituting a single card whose integrated circuits are separately accessible by the card reader. This card includes the necessary data that define several decryption levels allowing access to data contained in either of the two integrated circuits.
The means of the prior art applied to improve the security of the access cards to encrypted programs are sometimes shown to be vulnerable to certain attacks, in particular to attacks by interferences or "glitch attacks". It concerns a method for the violation of the security of a cryptographic processor by interrupting the execution of one or several instructions. The attacker analyzes the signals generated by a specific sequence of instructions issued by the processor and at the precise moment of the execution of a comparison or jump instruction applies the interference signals on the bus linked to the processor via the card reader, for example. These signals in the form of brief pulse trains block the execution of instructions or short circuit critical authentication programs thus allowing free access to protected data.
Aim of the Invention
The aim of this invention is to improve in an optimal way the security of the smart cards to prevent the fraudulent control of a cryptographic processors) by means of external signals that interfere with the normal development of the tasks of the processor(s).
Summary of the Invention
The aim of the invention is achieved by a security module component comprising at least two processors each connected to program memories, to non-volatile erasable programmable memories (EEPROM) containing the data and to random access memories (RAM) that serve as temporary data storage during processing, the first processor having an interface bus with the exterior of the component characterized in that the second processor is connected to the first processor by means of
3

an exchange memory (DPR), the non-volatile programmable and erasable memory of the first processor having read-only access through said first processor, the second processor having read and write access on said non-volatile programmable and erasable memory of the first processor.
Component is understood to mean a unit including all the elements necessary for cryptographic operations and brought together on a unique support in order to ensure its security. These components are generally made up of a single electronic chip, a chip which disposes of a mechanical or electronic anti-intrusion protection. Other structures composed, for example, of two electronic chips are also included in the denomination "component" as they are closely connected and provided by distributors as only one element.
This component preferably manufactured on a single silicon chip is generally implanted into a portable support, usually a removable smart card. The latter is equipped with accesses connected to the first processor that is made up either of a contact assembly arranged on one of the faces of the card according to regulation ISO 7816, or made up of an antenna that allows data exchanges in an electromagnetic way without galvanic contact (according to ISO 14443) with a suitable read-write device.
According to another embodiment of the component, the same is part of a larger electronic module comprising capabilities to process encrypted data.
One part of this module processes for example the encrypted DBV data and the component is only a piece of silicon in charge of the security aspect of this decryption. It is to be noted that the electronic module can be either mounted within the reception unit or be connected is a removable manner in said reception unit.
The configuration of the component according to this invention allows the complete isolation of the second processor in reference to external accesses. In fact, there is no direct connection between the two processors that would allow access to the second processor with the aid of adequate instructions transmitted to the first processor via the external access. The memories that connect the two processors act as barrier that on one hand serves to block undesirable commands originating from external accesses and on the other hand serves to prevent analysis, via the same accesses, of the signals that move between the two processors.
4

The first processor cannot modify its program itself. Each modification of its program must be verified by the second processor.
The second processor can in this way carry out the cryptography operations independently of the
operations executed by the first processor. Furthermore, the latter cannot carry out certain critical tasks related to security without the authorization of the second processor.
The invention will be better understood thanks to the following detailed description that refers to the single annexed figure given as a non-limitative example.
Brief Description of the Figure
Figure 1 shows a block scheme of a security module component comprising two processors each connected to a memory set and connected to one another by an exchange memory.
Detailed Description of the Invention and Operation Examples
The component IC in Figure 1 is generally produced on a single chip that is mounted on a portable support constituted, according to a preferred embodiment, of a card equipped with access ACC in the form of contacts or an antenna.
The component IC includes two processors CPU A, CPU B linked by means of an exchange random access memory DPR and by a non-volatile programmable and erasable memory EEPROM A. The first processor CPU A is connected on one hand to access ACC and on the other hand to a random access memory RAM A and to a read only memory ROM A. The second processor CPU B is also connected to a random access memory RAM B and to a read only memory ROM B as well as a nonvolatile programmable and erasable memory EEPROM B.
According to one alternative, a supplementary non-volatile programmable and erasable memory STAT can be connected in a read / write R/W way to the first processor CPU A. This serves for storing, for example, data concerning the working history of the component that would be accessible in reading from the exterior via the accesses ACC.
One of the essential particularities according to the invention consists in that the connection of the first processor CPU A with the non-volatile programmable and erasable memory EEPROM A is
5

configured in read only R while the connection with the second processor CPU B is configured both in reading and in writing R/W. Another aspect of this invention is the presence of the exchange random access memory DPR whose connections to each of the processors CPU A and CPU B are configured in reading and in writing R/W.
The first processor CPU A of this component, accessible from the exterior, is responsible for executing known tasks of the security modules, that is to say such as the management of the control words C W and the control messages ECM as well as the verification of the rights of the card. One can imagine that, security operations such as authentication, the decryption of management message EMM or the management of keys and of decryption algorithms are intended for the second processor CPU B.
The second processor CPU B manages and executes all the security operations that require encryption / decryption keys stored, for example, in the read only memory ROM B. The non-volatile programmable and erasable memory EEPROM B contains the programs as well as the algorithms necessary for decryption according to instructions communicated by the first processor CPU A via the exchange random access memory DPR.
Thanks to the configuration in read only way of the first processor CPU A, the contents of the nonvolatile programmable and erasable memory EEPROM A cannot be modified from the exterior. Each instruction of the processor issued through commands received via the access ACC is temporarily stored in exchange random access memory DPR and its execution is verified by the second processor CPU B before the resultant data is stored by said second processor CPU B in the non-volatile memory EEPROM A via the port R/W.
According to one alternative, the processor CPU B can directly control the processor CPU A by means of a connection C without passing through the exchange memory DPR. This type of control allows, for example, the activation or rapid blocking of the processor CPU A according to the result of a verification carried out by the processor CPU B.
A card that includes a component as described previously can be used in a digital pay television decoder where a high level of security is demanded on one hand, at the level of access rights to
6

encrypted data of a video audio flow transmitted by cable or satellite and on the other hand, at the level of the operating software of the card.
One function of the card consists in controlling access to the encrypted data of an audio flow video received by the decoder by verifying the control messages ECM that accompany said encrypted data. When this verification is completed, the decryption of the data of the flow is authorized according to the access rights to the audio video data included in the ECM message.
In order to define the rights of a user, the management centre sends the management messages EMM that are generally individual, namely encrypted by a unique key for this user. According to one application example of the invention, this type of message cannot be decrypted by the processor CPU A since the latter does not dispose of the unique personal key of the user. This key can be symmetrical or asymmetrical (private key and public key).
The memory that will contain this right is the memory EEPROM A in our example. Since this memory is accessible in write only through the processor CPU B, the processor CPU will transmit the management message EMM to the processor CPU B via the exchange memory DPR. The processor CPU B will begin its decryption cycle of the message, and after verification, will update the memory EEPROM A with the new rights.
It is also possible to place these rights in the memory STAT according to another alternative. In this case, the result of the decryption of the message EMM will be transmitted to the processor CPU A via the exchange memory DPR in order to be stored in the memory STAT.
The downloading of the software of the card stored in the non-volatile memory EEPROM A or the updating of this software is managed with a greater security in a card equipped with a component according to the invention. In fact, it will not be possible to store software in such a card via the accesses ACC and the processor CPU A without carrying out verifications by means of the processor CPU B.
The software or an update is received through the decoder in the form of encrypted blocks that will be then conveyed one by one to the first processor CPU A via the accesses ACC of the card. The processor CPU A cannot decipher them because it does not dispose of the corresponding key. These blocks are transmitted to the CPU B via the exchange memory DPR. The CPU B will launch a
7

decryption process in a secure way and thus uninterruptible. The result of this operation is stored in a specific memory of the CPU B, that is to say EEPROM B.
It is foreseen that the verification value or the signature will be contained in a management message EMM. The CPU B receives this message via the exchange memory DPR and can calculate the signature of the data block previously deciphered and compare it with the signature received in the message.
Only once this verification has been carried out will the CPU B initiate a write cycle of the memory of the CPU A, namely EEPROM A.
In the case where the result of this comparison is negative, the downloading or updating process of the software is stopped and the processor CPU A transmits either an error message to the decoder, or a download re-initialization command.
When all the blocks are successfully verified and stored in the memory EEPROM B, the processor CPU B transfers said blocks to the memory EEPROM A. The processor CPU is then responsible for the installation and activation of the new software.
According to one alternative, before the transfer of a block towards the memory EEPROM A, the assembly of blocks stored in memory EEPROM B can be verified again by the processor CPU B by calculating a signature on the totality of the blocks. The comparison is then carried out with the global signature of the software also obtained via a message EMM.
According to one working alternative, the management messages EMM are processed by the CPU A. It should be noted that at the time of each decryption session of these EMM messages, the processor CPU A requests the key necessary to the processor B for the direct execution of the decryption. Once the decryption has been completed, the key is erased and only stored in the random
access memory RAM A of the CPU A. There is thus no intermediate storage of the key in a nonvolatile memory EEPROM A that in this way would consequently be accessible in reading via the accesses ACC. Only the intermediate calculation results are stored in the random access memory RAM A and the processor CPU A transfers the final data (rights for example) in the memory STAT.
8

If the number of security tasks increases and exceeds the capacity of only one processor, it is possible to multiply the number of processors according to the complexity of the operations to be executed. The block scheme of this type of configuration would be an extension of that in Figure 1 wherein each supplementary processor would be connected to an exchange random access memory DPR with two ports, one of which would be linked to the first processor that has the accesses towards the exterior.
According to one alternative, the exchange random access memory DPR of separation can have as many supplementary ports as necessary for the connection of additional processors.
9

We claim:
1. Component (IC) of a security module comprising at least two processors (CPU A, CPU B) each connected to program memories (ROM A, ROM B), to non-volatile programmable and erasable (EEPROM) memories (EEPROM A, EEPROM B) containing the data and the random access memories (RAM) RAM A, RAM B serving as temporary data storage during processing, the first processor (CPU A) having an interface bus with the exterior of the component (IC), characterized in that the second processor (CPU B) is connected to the first processor (CPU A) by means of an exchange memory (DPR), the non-volatile programmable and erasable memory (EEPROM A) of the first processor (CPU A) having read only access (R) for said first processor (CPU A), the second processor (CPU B) having read and write (R/W) access on said non-volatile programmable and erasable memory (EEPROM A) of the first processor (CPU A).
2. Component according to claim 1, characterized in that the exchange memory (DPR) consists of a random access memory intended for temporary data storage, said exchange memory (DPR) being equipped with two ports, each configured in read and write (R/W), one of which is connected to the first processor (CPU A) and the other to the second processor (CPU B).
3. Component according to claims 1 and 2, characterized in that it is mounted on a portable support including the accesses (ACC) intended for the exchange of data with an external processing unit, said accesses (ACC) being connected to the first processor (CPU A) via the interface bus.
4. Component according to claims 1 to 3, characterized in that the first processor (CPU A) includes execution means for known tasks of the security modules and that the second processor (CPU B) includes management and execution means of security operations such as authentication, the decryption or the management of keys and decryption algorithms.
5. Component according to claims 1 to 4, characterized in that the program memory (ROM B) and the non-volatile programmable and erasable memory (EEPROM B) contain the programs as well as the algorithms necessary for decryption
10

according to instructions communicated by the first processor (CPU A) via the exchange random access memory (DPR).
6. Component according to claim 4, characterized in that the second processor (CPU B) includes verification means for data received via the accesses (ACC) and the exchange random access memory (DPR), said data being temporarily stored in the non-volatile memory (EEPROM B) at the time of verification.
7. Component according to claims 1 and 6, characterized in that the second processor (CPU B) includes storage means via the port (R/W) of the data verified in the non-volatile memory A.
8. Component according to claim 2, characterized in that it is mounted on a card provided with galvanic contacts, of ISO 7816 format, forming the accesses (ACC), said card functioning as a removable security module in a Pay-TV decoder.
9. Component according to claim 1, characterized in that it includes at least one supplementary processor connected in read / write to a first port of a non-volatile programmable erasable supplementary memory, the second port of said memory being connected in read only to the first processor.
10. Component according to claim 1, characterized in that it includes at least one supplementary processor connected in read / write to a supplementary port of the nonvolatile programmable and erasable memory, said memory being connected in read only to the first processor.
Dated this 28th day of December 2006

11

ABSTRACT
The aim of this invention is to improve in an optimal way the security of smart cards to prevent the fraudulent control of a cryptographic processor(s) by means of external signals that interfere with the normal development of the tasks of a processor(s).
This aim is reached by a component IC of a security module comprising at least two processors CPU A, CPU B each connected to program memories ROM A, ROM B, to non-volatile programmable and erasable memories (EEPROM) EEPROM A, EEPROM B containing the data and random access memories (RAM) RAM A, RAM B that serve as temporary data storage during processing, the first processor CPU A having an interface bus with the exterior of the component IC, characterized in that the second processor CPU B is connected to the first processor CPU A through an exchange memory DPR, the non-volatile programmable and erasable memory EEPROM A of the first processor CPU A having read-only access R for said first processor CPU A, the second processor CPU B having read and write access R/W on said non-volatile programmable and erasable memory EEPROM A of the first
processor CPU A.

Documents:

1638-MUMNP-2006-ABSTRACT(29-12-2006).pdf

1638-MUMNP-2006-ABSTRACT(GRANTED)-(20-1-2012).pdf

1638-mumnp-2006-abstract.doc

1638-mumnp-2006-abstract.pdf

1638-mumnp-2006-annexure to form 3(11-3-2008).pdf

1638-MUMNP-2006-ANNEXURE TO FORM 3(21-11-2011).pdf

1638-MUMNP-2006-ANNEXURE TO FORM 3(5-1-2012).pdf

1638-mumnp-2006-annexure to form 3(7-5-2007).pdf

1638-MUMNP-2006-CANCELLED PAGES(5-1-2012).pdf

1638-MUMNP-2006-CLAIMS(29-12-2006).pdf

1638-MUMNP-2006-CLAIMS(AMENDED)-(21-11-2011).pdf

1638-MUMNP-2006-CLAIMS(AMENDED)-(5-1-2012).pdf

1638-MUMNP-2006-CLAIMS(GRANTED)-(20-1-2012).pdf

1638-MUMNP-2006-CLAIMS(MARKED COPY)-(21-11-2011).pdf

1638-MUMNP-2006-CLAIMS(MARKED COPY)-(5-1-2012).pdf

1638-mumnp-2006-claims.doc

1638-mumnp-2006-claims.pdf

1638-MUMNP-2006-CORRESPONDENCE(11-12-2008).pdf

1638-MUMNP-2006-CORRESPONDENCE(23-7-2009).pdf

1638-MUMNP-2006-CORRESPONDENCE(8-7-2011).pdf

1638-MUMNP-2006-CORRESPONDENCE(9-4-2010).pdf

1638-MUMNP-2006-CORRESPONDENCE(IPO)-(20-1-2012).pdf

1638-mumnp-2006-correspondence-received.pdf

1638-mumnp-2006-description (complete).pdf

1638-MUMNP-2006-DESCRIPTION(COMPLETE)-(29-12-2006).pdf

1638-MUMNP-2006-DESCRIPTION(GRANTED)-(20-1-2012).pdf

1638-MUMNP-2006-DRAWING(29-12-2006).pdf

1638-MUMNP-2006-DRAWING(5-1-2012).pdf

1638-MUMNP-2006-DRAWING(GRANTED)-(20-1-2012).pdf

1638-mumnp-2006-drawings.pdf

1638-MUMNP-2006-ENGLISH TRANSLATION(29-12-2006).pdf

1638-MUMNP-2006-FORM 1(21-11-2011).pdf

1638-mumnp-2006-form 13(8-7-2011).pdf

1638-mumnp-2006-form 18(11-3-2008).pdf

1638-MUMNP-2006-FORM 2(COMPLETE)-(29-12-2006).pdf

1638-MUMNP-2006-FORM 2(GRANTED)-(20-1-2012).pdf

1638-MUMNP-2006-FORM 2(TITLE PAGE)-(21-11-2011).pdf

1638-mumnp-2006-form 2(title page)-(29-12-2006).pdf

1638-MUMNP-2006-FORM 2(TITLE PAGE)-(GRANTED)-(20-1-2012).pdf

1638-MUMNP-2006-FORM 26(21-11-2011).pdf

1638-MUMNP-2006-FORM 26(29-12-2006).pdf

1638-MUMNP-2006-FORM 26(9-4-2010).pdf

1638-MUMNP-2006-FORM 3(29-12-2006).pdf

1638-mumnp-2006-form 6(9-4-2010).pdf

1638-MUMNP-2006-FORM 8(21-11-2011).pdf

1638-mumnp-2006-form-1.pdf

1638-mumnp-2006-form-2.doc

1638-mumnp-2006-form-2.pdf

1638-mumnp-2006-form-26.pdf

1638-mumnp-2006-form-3.pdf

1638-mumnp-2006-form-5.pdf

1638-MUMNP-2006-OTHER DOCUMENT(9-4-2010).pdf

1638-MUMNP-2006-PETITION UNDER RULE 137(5-1-2012).pdf

1638-MUMNP-2006-POWER OF ATTORNEY(9-4-2010).pdf

1638-MUMNP-2006-REPLY TO EXAMINATION REPORT(21-11-2011).pdf

1638-MUMNP-2006-REPLY TO HEARING(5-1-2012).pdf

1638-MUMNP-2006-US DOCUMENT(21-11-2011).pdf

1638-MUMNP-2006-WO INTERNATIONAL PUBLICATION REPORT(29-12-2006).pdf

abstract1.jpg


Patent Number 250703
Indian Patent Application Number 1638/MUMNP/2006
PG Journal Number 04/2012
Publication Date 27-Jan-2012
Grant Date 20-Jan-2012
Date of Filing 29-Dec-2006
Name of Patentee NAGRAVISION SA
Applicant Address ROUTE DE GENEVE 22-24, 1033 CHESEAUX-SUR-LAUSANNE, SWITZERLAND, A SWISS COMPANY.
Inventors:
# Inventor's Name Inventor's Address
1 KUDELSKI ANDRE CHEMIN DE BELLINGARD 1095 LUTRY.
PCT International Classification Number G07F7/10
PCT International Application Number PCT/EP2005/052519
PCT International Filing date 2005-06-02
PCT Conventions:
# PCT Application Number Date of Convention Priority Country
1 EP 04102505.7 2004-06-03 EUROPEAN UNION