Information processing apparatus and information processing system
By using an isolated computing area and management unit for encryption key management in the information processing system, data processing is performed after verifying the integrity of the application, solving the performance degradation problem of data verification during malicious model attacks and achieving efficient security protection. .
Patent Information
- Application Number
- CN202280089960.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-01-27
- Filing Date
- 2022-11-29
- Publication Date
- 2024-09-03
AI Technical Summary
In order to verify the correctness of the data, the existing technology needs to verify the participant's data one by one when dealing with attacks from malicious models, which results in an increase in the amount of calculation, a decrease in processing speed, and degradation in performance.
By setting up an isolated computing area and management department in the information processing system, using encryption keys for data encryption and decryption, and only sending the key after the integrity of the application is verified, data tampering and application tampering are prevented, and one-by-one verification is avoided deal with.
Without reducing performance, it can effectively deal with attacks from malicious models, prevent data tampering and application tampering, and improve system security.
Smart Images

Figure CN118592007A
Abstract
Description
Technical Field
[0001] The present disclosure relates to an information processing device having an isolated operation area, and an information processing system having a plurality of information processing devices having isolated operation areas. Background Art
[0002] The so-called secret computing is a general term for technologies that can perform various processing while data is encrypted. In particular, there are known technologies for merging data of two parties without disclosing the data to each other (for example, refer to Patent Document 1), matching data of two parties (secure matching), etc. In terms of dealing with the threat model of such secret computing, security is required in the case where it is not the external third party but the participants of the secret computing who have malicious intent. As attacker models that pose a threat to secret computing, the two modes of "Semi-honest Model" and "Malicious Model" are generally known. Among them, the "Semi-honest Model" is an attacker who wants to obtain information of other participants from regular input and output without tampering with the data, and the "Malicious Model" is an attacker who wants to arbitrarily tamper with the data and obtain information of other participants.
[0003] Prior art literature
[0004] Patent Literature
[0005] Patent Document 1: Japanese Patent Application Publication No. 2011-081301 Summary of the invention
[0006] Problems to be solved by the invention
[0007] In order to deal with the attack from the above malicious model, it is necessary to ensure that the processing results obtained are the same as those of the regular participants acting honestly regardless of any tampering, and it is necessary to verify whether the data from the participants of the secret calculation is correct (not tampered with) one by one. Therefore, in order to make the system designed to be able to deal with the attack from the semi-ring honest model to deal with the attack from the malicious model, the above-mentioned one-by-one data verification processing is performed, which increases the amount of calculation, resulting in performance degradation such as reduced processing speed.
[0008] The present disclosure has been made to solve the above-mentioned problems, and an object of the present disclosure is to enable a system designed to cope with attacks from a semi-honest model without performance degradation to cope with attacks from a malicious model.
[0009] Means for solving problems
[0010] The information processing system disclosed in the present invention includes: a first information processing device, which is formed with a first isolated operation area as an isolated operation area; and a second information processing device, which is formed with a second isolated operation area as an isolated operation area, wherein a management unit for generating and managing a data encryption key for encrypting data sent and received between the first information processing device and the second information processing device is arranged inside the first information processing device or the second information processing device, or outside the first information processing device and the second information processing device, wherein the first information processing device has a first processing unit, and the first processing unit sends a data encryption key utilization request accompanied by first authentication information used for the management unit to verify the integrity of the first application to the management unit through a first application running in the first isolated operation area, and the management unit has a first management unit, and the first management unit verifies the integrity of the first application using the first authentication information and first verification information stored in advance, and only when the integrity is verified, the data encryption key is sent to the first information processing device via a secure environment between the management unit and the first information processing device. An information processing device, wherein the first information processing device further comprises a first encryption unit, wherein the first encryption unit encrypts object data as a processing object using the data encryption key received through the first application, and sends the encrypted object data to the second information processing device, wherein the second information processing device comprises a second processing unit, wherein the second processing unit sends a data encryption key utilization request accompanied by second authentication information used by the management unit to verify the integrity of the second application to the management unit through the second application running in the second isolated operation area, wherein the management unit further comprises a second management unit, wherein the second management unit verifies the integrity of the second application using the second authentication information and pre-stored second verification information, and only when the integrity is verified, the data encryption key is sent to the second information processing device via a secure environment between the management unit and the second information processing device, wherein the second information processing device further comprises a second encryption unit, wherein the second encryption unit decrypts the encrypted object data received from the first information processing device using the data encryption key received through the second application.
[0011] In the above-mentioned information processing system, when the first processing unit of the first information processing device sends a data encryption key utilization request accompanied by the first authentication information used for the management unit to verify the integrity of the first application to the management unit through the first application running in the first isolated operation area, the first management unit in the management unit verifies the integrity of the first application using the first authentication information and the pre-stored first verification information, and only when the integrity is verified, the data encryption key is sent to the first information processing device via the secure environment between the management unit and the first information processing device. As described above, the data encryption key is sent to the first information processing device via the secure environment between the management unit and the first information processing device only when the integrity of the first application running in the first isolated operation area is verified. In addition, the above-mentioned "integrity of the first application running in the first isolated operation area" is a concept that includes the integrity of the first application itself and the integrity of the first isolated operation area as its operating environment.
[0012] Then, the first encryption unit of the first information processing device encrypts the target data to be processed using the data encryption key received via the secure environment by the first application, and transmits the encrypted target data to the second information processing device.
[0013] Furthermore, when the second processing unit of the second information processing device sends a data encryption key utilization request accompanied by the second authentication information used for the management unit to verify the integrity of the second application to the management unit through the second application running in the second isolated operation area, the second management unit in the management unit verifies the integrity of the second application using the second authentication information and the pre-stored second verification information, and only when the integrity is verified, the data encryption key is sent to the second information processing device via the secure environment between the management unit and the second information processing device. As described above, the data encryption key is sent to the second information processing device via the secure environment between the management unit and the second information processing device only when the integrity of the second application running in the second isolated operation area is verified. In addition, the above-mentioned "integrity of the second application running in the second isolated operation area" is a concept that includes the integrity of the second application itself and the integrity of the second isolated operation area as its operating environment.
[0014] Furthermore, the second encryption unit of the second information processing device decrypts the encrypted object data received from the first information processing device using the data encryption key received via the secure environment by the second application program. Thus, the second information processing device obtains the plaintext object data by decrypting using the data encryption key received via the secure environment by the second application program whose integrity is authenticated and running in the second isolated computing area.
[0015] In the above series of processes, the data encryption key used in encryption of the object data is sent to the first information processing device via the secure environment between the management unit and the first information processing device, subject to the authentication of the integrity of the first application running in the first isolated operation area. Similarly, the data encryption key used in decryption of the object data is sent to the second information processing device via the secure environment between the management unit and the second information processing device, subject to the authentication of the integrity of the second application running in the second isolated operation area. In this way, the integrity of the applications running in the first and second isolated operation areas (i.e., the integrity of the applications themselves and the integrity of the isolated operation areas serving as their operating environments) is authenticated, so that tampering of the applications by processing participants can be prevented before it occurs.
[0016] As the secure environment between the management unit and the first information processing device and the secure environment between the management unit and the second information processing device, a secure communication environment may be used, or a mechanism for preventing data tampering (for example, envelope encryption in which a data key used in encryption and decryption of data is encrypted with an encryption key, an encryption method using a public key and a private key pair, etc.) may be used. An example of the latter is described in the embodiment of the invention. Through such a secure environment between the management unit and the first information processing device, the data encryption key used in encryption of the object data is sent and received between the management unit and the first information processing device, so that data tampering by other participants (in this case, the second information processing device) can be prevented before it happens. Similarly, through the secure environment between the management unit and the second information processing device, the data encryption key used in decryption of the object data is sent and received between the management unit and the second information processing device, so that data tampering by other participants (in this case, the first information processing device) can be prevented before it happens.
[0017] That is, it is possible to prevent both "data tampering" and "application tampering" from processing participants, so there is no need for data verification processing one by one as in the past, performance degradation will not occur, and a system designed to cope with attacks from a semi-honest model can cope with attacks from a malicious model.
[0018] Effects of the Invention
[0019] According to the present disclosure, a system designed to cope with attacks from a semi-honest model can cope with attacks from a malicious model without causing performance degradation. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 It is a structural diagram of an information processing system according to an embodiment of the present invention.
[0021] Figure 2 This is a first flowchart showing the processing executed by the information processing system according to the embodiment of the present invention.
[0022] Figure 3 This is a second flowchart showing the processing executed by the information processing system according to the embodiment of the present invention.
[0023] Figure 4 This is a third flowchart showing the processing executed by the information processing system according to the embodiment of the present invention.
[0024] Figure 5 It is a structural diagram showing a first modification of the information processing system.
[0025] Figure 6 It is a structural diagram showing a second modification of the information processing system.
[0026] Figure 7 It is a diagram showing a hardware configuration example of an information processing device. DETAILED DESCRIPTION
[0027] Hereinafter, embodiments of the present disclosure will be described with reference to the drawings.
[0028] (About the structure of information processing system)
[0029] like Figure 1As shown, the information processing system 1 of this embodiment includes: a first information processing device 100, which forms a first isolated operation area 150 as an isolated operation area; and a second information processing device 200, which forms a second isolated operation area 250 as an isolated operation area, and a management unit 300 for generating and managing an encryption key and an encryption data key encrypted with the encryption key is provided outside the first information processing device 100 and the second information processing device 200. In addition, the management unit 300 can also be provided inside the first information processing device 100 or the second information processing device 200, and such a modified example will be described later. In addition, the first isolated operation area 150 and the second isolated operation area 250 can both be formed by physical isolation or by logical isolation. Among them, as an example of formation by logical isolation, an example of formation by a secure execution environment, i.e., TEE (Trusted Execution Environment), which can use part of the resources such as the memory and CPU of the information processing device and is logically isolated from the host OS can be cited.
[0030] It is assumed that in the above-mentioned first information processing device 100, the secret computing participant operating the first information processing device 100 has verified the reliability of the application running in the first isolated computing area 150 (that is, ensured that the application has been correctly installed), and in addition, in the second information processing device 200, the secret computing participant operating the second information processing device 200 has verified the reliability of the application running in the second isolated computing area 250. In addition, as a method for verifying the reliability of the above-mentioned application, for example, source code review, verification by an external organization, etc. can be cited, but it is not limited to a specific method. On the premise that the reliability of the application running in such first and second isolated computing areas has been verified, the following method is executed. Figure 2 to Figure 4 On the other hand, in the following Figure 2 to Figure 4 The integrity of the application running in the first and second isolated computing areas is verified during the processing (that is, the integrity of the application itself (for example, ensuring that the application has not been tampered with from a certain moment on), and the integrity of the isolated computing area that serves as its operating environment).
[0031] exist Figure 1 In the functional block diagram of FIG. 1 , the first isolated operation area 150 formed in the first information processing device 100 is clearly described, and various functional units (such as the first authentication information acquisition unit 153, etc.) implemented by the application program running in the first isolated operation area 150 are described. The same is true for the second isolated operation area 250 formed in the second information processing device 200, and various functional units implemented by the application program running in the management unit 300 are also described. The functions of each functional unit are summarized below.
[0032] The first information processing device 100 has a first transceiver control unit 101 implemented by an application program running outside the first isolated computing area 150. The first transceiver control unit 101 serves as an input / output interface with a confidential computing participant operating the first information processing device 100, and is also a functional unit for communicating with a functional unit running in the first isolated computing area 150, a second information processing device 200, and a management unit 300. The communication content here widely includes authentication information, data, notifications, and the like.
[0033] The first information processing device 100 has a first internal data communication unit 151, a first data processing unit 152, a first authentication information acquisition unit 153, a first encryption unit 154, a first verification unit 155 and a first storage unit 156 as functional units implemented by an application program running in the first isolated operation area 150.
[0034] Among them, the first internal data communication unit 151 is a functional unit for performing communication between the following functional units of the first isolated operation area 150 and the first transceiver control unit 101, and the first data processing unit 152 is a functional unit for performing arbitrary data processing and calling other functional units according to the processing content. The first authentication information acquisition unit 153 is a functional unit for generating the first authentication information used by the management unit 300 to verify the integrity of the application running in the first isolated operation area 150 and generating a public key pair (the first public key and the first private key). The above-mentioned first authentication information, for example, includes a hash value of the application obtained by a predetermined hash function. The hash value is obtained by the above-mentioned hash function at the initial stage. By comparing it with the initial value of the hash value stored in the management unit 300, the integrity of the application itself is verified by the management unit 300. In addition, the first authentication information also includes test result data outputted by a predetermined action test for the purpose of verifying the integrity of the first isolated operation area 150 itself (hardware of the working environment, firmware to be started, etc.). The test result data is also compared with the initial value of the test result data obtained in the initial stage and stored in the management unit 300, and the integrity of the first isolated operation area 150 itself is verified by the management unit 300. The first encryption unit 154 is a functional unit that uses the first private key generated by the first authentication information acquisition unit 153 to decrypt the encrypted data key from the management unit 300, and uses the obtained plaintext data key to encrypt and decrypt the object data to be processed. The first verification unit 155 is a functional unit that verifies whether the decrypted object data is correct, and the first storage unit 156 is a functional unit that stores various data, authentication information, etc.
[0035] according to Figure 1It can be seen that the second information processing device 200 has the same functional block structure as the first information processing device 100, and has various functional units with the prefixes of the names of the functional units of the first information processing device 100 replaced from "first" to "second". That is, the second internal data communication unit 251 corresponds to the first internal data communication unit 151 and has the same function. The other functional units are also the same, so repeated descriptions are omitted.
[0036] The management unit 300 includes an authentication information transceiver unit 301, an authentication information management unit 302, an authority management unit 303, and an authentication information verification unit 304 as functional units implemented by applications running in the management unit 300. The authentication information transceiver unit 301 is a functional unit that performs communication with the first and second information processing devices, respectively, and the authentication information management unit 302 is a functional unit that performs generation, management, and deletion of encryption keys and data keys, encryption of data keys using public keys, encryption and decryption of data keys using encryption keys, and management of authentication information used when confirming the encryption key use authority. The authority management unit 303 is a functional unit that performs authority management for the encryption key of the authentication information management unit 302, specifically, sets the use authority such as who can use the key. In addition, the authority management unit 303 also performs operation authority management of the authority management function, specifically, sets the operation authority such as who can operate the use authority. The authentication information verification unit 304 is a functional unit that verifies the integrity of the application by comparing the authentication information (e.g., the hash value of the application) respectively sent from the first and second information processing devices with the authentication information (e.g., the initial value of the hash value of the application) stored in the authority management unit 303. The authentication information transceiver unit 301, the authentication information management unit 302, the authority management unit 303, and the authentication information verification unit 304 are integrated to perform the functions of the "first management unit" and the "second management unit" described in the claims.
[0037] (Regarding Processing Executed by Information Processing System)
[0038] exist Figure 1 In the information processing system 1, executing Figure 2 to Figure 4 As described above, the reliability of the application running in the first and second isolated operation areas has been verified as a prerequisite, and the following steps are executed. Figure 2 to Figure 4 In addition, Figure 2 to Figure 4 In the example, the processing of the functional unit running in the first isolated operation area 150 is recorded in the vertical column of "first isolated operation area", and the processing of the functional unit running in the second isolated operation area 250 is recorded in the vertical column of "second isolated operation area". Figure 2 The symbol A1 means to continue to the next figure ( Figure 3) is processed by the same symbol A1. The same applies to other symbols A2, B1, B2, ..., E2.
[0039] First, the first transmission and reception control unit 101 of the first information processing device 100 receives an instruction from a secret computing participant operating the first information processing device 100, and sends a cryptographic key generation request ( Figure 2 In addition, the encryption key generation request may be sent from the secret computing participant operating the first information processing device 100 to the management unit 300 instead of from the first information processing device 100. In the management unit 300, the authentication information transceiver unit 301 receives the encryption key generation request, and the authentication information management unit 302 generates an encryption key in response to the above request (step S2), and then generates a data key, and encrypts the data key with the encryption key to obtain an encrypted data key (step S3). Then, the authentication information transceiver unit 301 sends a generation completion notification to the first transceiver control unit 101 (step S4). As a result, in the management unit 300, an encryption key and an encrypted data key are generated and kept by the authentication information management unit 302.
[0040] Next, the first transceiver control unit 101 receives an instruction from the secret computing participant operating the first information processing device 100, and sends a permission setting request for the encryption key to the management unit 300 (step S5). In addition, the permission setting request may be sent from the secret computing participant operating the first information processing device 100 to the management unit 300 instead of from the first information processing device 100. In the management unit 300, the authentication information transceiver unit 301 receives the permission setting request, the permission management unit 303 sets the use permission for the encryption key in response to the request (step S6), and the authentication information management unit 302 registers the authentication information used when confirming the use permission (step S7). Here, for example, for an application running in the first isolated operation area 150, the first authentication information is registered, and the first authentication information includes the initial value of the hash value of the application obtained by a predetermined hash function, and the initial value of the test result data output by a predetermined action test for the integrity verification of the first isolated operation area 150 itself, and for an application running in the second isolated operation area 250, the second authentication information is registered, and the second authentication information includes the initial value of the hash value of the application obtained by a predetermined hash function, and the initial value of the test result data output by a predetermined action test for the integrity verification of the second isolated operation area 250 itself. In addition, the authority management unit 303 also sets the method for changing the use authority (step S8). As the method for changing the use authority here, for example, it can be listed that the use authority is set to a state where any secret computing participant cannot change the use authority, and the change is made according to the agreement between the secret computing participants. Then, the authentication information transceiver unit 301 sends a setting completion notification to the first transceiver control unit 101 (step S9). Thus, in the management unit 300, the use authority for the encryption key and the method of changing the use authority are set, and the authentication information used when confirming the use authority is registered.
[0041] Next, the data to be stored (data to be processed or referenced by the secret computing application later) is input and stored as follows. The first transceiver control unit 101 forwards the data to be stored in the first information processing device 100 to the first internal data communication unit 151 running in the first isolated operation area 150 (step S10A). The data received by the first internal data communication unit 151 is sent to the first data processing unit 152 and stored in the first storage unit 156 called by the first data processing unit 152 (step S11A). When the storage is completed, the first data processing unit 152 sends a storage completion notification to the first transceiver control unit 101 through the called first internal data communication unit 151 (step S12A). The same is true for the data to be stored in the second information processing device 200. Figure 2The data to be stored (data to be processed or referenced by the secure computing application program later) is input and stored in the second storage unit 256 after the processing of steps S10B to S12B. As described above, the data to be stored (data to be processed or referenced by the secure computing application program later) is input and stored in the first and second information processing devices, respectively.
[0042] Next, the first transceiver control unit 101 receives an instruction from the confidential computing participant operating the first information processing device 100, and sends a confidential computing application execution instruction ( Figure 3 The first data processing unit 152 forwards the instruction to the first internal data communication unit 151, starts the secret computing application processing (step S14), starts the communication between the isolated operation areas (step S15), and calls the first authentication information acquisition unit 153. The first authentication information acquisition unit 153 obtains the hash value of the application running in the first isolated operation area 150 through a predetermined hash function, and obtains the test result data output through the action test for the integrity verification of the first isolated operation area 150 itself, generates or obtains the first authentication information including the above hash value and the test result data, and generates the public key pair of the first isolated operation area (step S16). Then, the first data processing unit 152 calls the first internal data communication unit 151, and sends the encryption key utilization request accompanied by the first authentication information and the public key of the first isolated operation area to the management unit 300 through the first internal data communication unit 151 via the first transceiver control unit 101 (step S17).
[0043] In the management unit 300, after the authentication information transceiver unit 301 receives the encryption key utilization request accompanied by the first authentication information and the public key of the first isolated operation area, the authentication information verification unit 304 checks the hash value and test result data contained in the received first authentication information with the hash value and test result data in the first isolated operation area. Figure 2 The first authentication information is verified by checking whether the initial value of the hash value registered in step S7 and the initial value of the test result data are consistent with each other. Here, if the application running in the first isolated operation area 150 has not been tampered with and the first isolated operation area 150 as the operating environment has not been changed, the hash value and the test result data included in the first authentication information are consistent with their respective initial values, the integrity of the above-mentioned application (that is, the integrity of the application itself and the integrity of the isolated operation area itself) is verified (authentication is successful), and the authentication information verification unit 304 permits the authentication information management unit 302 to use the encryption key (step S18).
[0044] Receiving the above permission, the authentication information management unit 302 uses the encryption key to decrypt the encrypted data key obtained in the above step S3 (step S19) to obtain the plaintext data key, and encrypts the plaintext data key using the public key of the first isolated operation area (step S20) to obtain the encrypted data key. In addition, the authentication information management unit 302 causes the authentication information transceiver unit 301 to send the encryption key utilization request response accompanied by the encrypted data key to the first data processing unit 152 as the request source via the first transceiver control unit 101 (step S21).
[0045] The first data processing unit 152, which receives the encryption key utilization request response accompanied by the encryption data key via the first internal data communication unit 151, calls the first encryption unit 154, and uses the private key of the first isolated operation area paired with the public key of the first isolated operation area to decrypt the encryption data key (step S22). Furthermore, the first encryption unit 154 encrypts the object data (equivalent to a part or all of the data to be stored as described above) using the decrypted plaintext data key (step S23), and then deletes the plaintext data key (step S24). Then, the first data processing unit 152 calls the first internal data communication unit 151, and sends the encrypted object data obtained in step S23 to the second internal data communication unit 251 running in the second isolated operation area 250 through the first internal data communication unit 151 and the first transceiver control unit 101 and the second transceiver control unit 201 (step S25).
[0046] The second data processing unit 252 to which the encrypted object data is forwarded by the second internal data communication unit 251 calls the second authentication information acquisition unit 253. The second authentication information acquisition unit 253 obtains the hash value of the application program running in the second isolated operation area 250 by a predetermined hash function, obtains the test result data output by the action test for the integrity verification of the second isolated operation area 250 itself, generates or obtains the second authentication information including the above hash value and the test result data, and generates the public key pair ( Figure 4 Then, the second data processing unit 252 calls the second internal data communication unit 251, and sends the encryption key utilization request accompanied by the second authentication information and the public key of the second isolated operation area to the management unit 300 through the second internal data communication unit 251 via the second transceiver control unit 201 (step S27).
[0047] In the management unit 300, after the authentication information transceiver unit 301 receives the encryption key utilization request accompanied by the second authentication information and the public key of the second isolated operation area, the authentication information verification unit 304 checks the hash value and test result data contained in the received second authentication information with the hash value and test result data in the second isolated operation area. Figure 2 The second authentication information is verified by checking whether the initial value of the hash value registered in step S7 and the initial value of the test result data are respectively consistent. Here, if the application running in the second isolated operation area 250 has not been tampered with and the second isolated operation area 250 as the operating environment has not been changed, the hash value and the test result data included in the second authentication information are consistent with their respective initial values, the integrity of the above-mentioned application (that is, the integrity of the application itself and the integrity of the isolated operation area itself) is verified (authentication is successful), and the authentication information verification unit 304 permits the authentication information management unit 302 to use the encryption key (step S28).
[0048] Receiving the above permission, the authentication information management unit 302 uses the encryption key to decrypt the encrypted data key obtained in the above step S3 (step S29) to obtain the plaintext data key, and encrypts the plaintext data key using the public key of the second isolated operation area (step S30) to obtain the encrypted data key. In addition, the authentication information management unit 302 causes the authentication information transceiver unit 301 to send the encryption key utilization request response accompanied by the encrypted data key to the second data processing unit 252 as the request source via the second transceiver control unit 201 (step S31).
[0049] The second data processing unit 252, which receives the encryption key utilization request response accompanied by the encryption data key via the second internal data communication unit 251, calls the second encryption unit 254, and uses the private key of the second isolated operation area paired with the public key of the second isolated operation area to decrypt the encryption data key through the second encryption unit 254 (step S32). Furthermore, the second encryption unit 254 uses the decrypted plaintext data key to decrypt the encrypted object data sent in step S25 (step S33), and then deletes the plaintext data key (step S34). Then, the second data processing unit 252 forwards the plaintext object data decrypted in step S33 to the second verification unit 255, and the second verification unit 255 verifies the above-mentioned decrypted plaintext object data (step S35). If there is no problem as a result of the verification, the plaintext object data (that is, the object data from the first information processing device 100) is set as the processing object of the secret computing application together with the object data stored by the second information processing device 200. Then, the next processing of the secret computing application is started (step S36), and the process returns to step S15 to repeat the same processing.
[0050] In addition, the generation of the public key pair in the above steps S16 and S26 does not need to be performed in each processing cycle of steps S15 to S36, and may be performed only for the first time.
[0051] According to the above-described embodiment, the data key is decrypted using the "encryption key" required for decrypting the data key used in encryption and decryption of the object data, and the obtained plaintext data key is used for encryption and decryption of the object data, under the condition that the integrity of the application running in the first isolated operation area 150 and the integrity of the application running in the second isolated operation area 250 are authenticated. In this way, since the integrity of the application running in the first and second isolated operation areas (that is, the integrity of the application itself and the integrity of the isolated operation area as its operating environment) is authenticated as a condition, it is possible to prevent the tampering of the application by the secret computing participants before it happens.
[0052] In addition, the "data key" used in the encryption of the object data is sent from the management unit 300 to the first information processing device 100 in an encrypted and secure form using a pair of a first public key and a first private key generated by an application running in the first isolated operation area 150, and is decrypted in the first isolated operation area 150 using the first private key that can only be used in the first isolated operation area 150. In this way, the data encryption key used in the encryption of the object data is sent and received between the management unit 300 and the first information processing device 100 via the secure environment between the management unit 300 and the first information processing device 100, so that data tampering by other participants (in this case, the second information processing device 200) can be prevented before it occurs. Similarly, the "data key" used in decryption of the object data is sent from the management unit 300 to the second information processing device 200 in an encrypted secure form using a pair of a second public key and a second private key generated by an application running in the second isolated operation area 250, and decrypted in the second isolated operation area 250 using the second private key that can only be used in the second isolated operation area 250. In this way, the data encryption key used in decryption of the object data is sent and received between the management unit 300 and the second information processing device 200 via the secure environment between the management unit 300 and the second information processing device 200, so that data tampering by other participants (in this case, the first information processing device 100) can be prevented before it occurs. In addition, as a secure environment between the management unit 300 and each information processing device, it is not necessary to use the above-mentioned mechanism for preventing data tampering (for example, envelope encryption in which a data key used in encryption and decryption of data is encrypting with an encryption key, an encryption method using a public key and a private key pair, etc.), and a secure communication environment between the management unit 300 and each information processing device may also be used.
[0053] In this way, both "data tampering" and "application tampering" from secret computing participants can be prevented, so there is no need for data verification processing one by one as in the past, performance degradation will not occur, and a system designed to cope with attacks from semi-honest models can cope with attacks from malicious models.
[0054] In addition, the first isolated operation area 150 and the second isolated operation area 250 can be formed by physical isolation or logical isolation, wherein an example of forming by logical isolation can be given as an example formed by the aforementioned TEE. Since TEE is a prior art, the above-mentioned isolated operation area can effectively and flexibly utilize the prior art and be formed relatively simply while suppressing development costs.
[0055] (Variation of Information Processing System)
[0056] In the above-mentioned implementation mode, if Figure 1 In the above description, the management unit 300 is provided outside the first information processing device 100 and the second information processing device 200. However, the management unit 300 can be provided inside any information processing device under the agreement between the secret computing participants on the first information processing device 100 and the secret computing participants on the second information processing device 200. For example, Figure 5 As shown in FIG. 1 , a configuration in which the management unit 300 is disposed inside the first information processing device 100 (variation 1) may be adopted. Figure 6 As shown, a configuration in which the management unit 300 is provided inside the second information processing device 200 (variation 2) can be adopted, and the same effects as those of the above-described embodiment can be obtained.
[0057] (Explanation of terms, hardware structure) Figure 7 )
[0058] In addition, the block diagrams used in the description of the above-mentioned embodiments and variations show blocks in units of functions. These function blocks (structural parts) are implemented by any combination of at least one of hardware and software. In addition, there is no particular limitation on the implementation method of each function block. That is, each function block can be implemented using a device that is physically or logically combined, or two or more devices that are physically or logically separated can be directly or indirectly connected (for example, using wired, wireless, etc.) and implemented using these multiple devices. The function block can also be implemented by combining software in the above-mentioned one device or the above-mentioned multiple devices.
[0059] Functions include judging, determining, judging, calculating, calculating, processing, deriving, investigating, searching, confirming, receiving, sending, outputting, accessing, solving, selecting, selecting, establishing, comparing, assuming, expecting, regarding, broadcasting, notifying, communicating, forwarding, configuring, reconfiguring, allocating, mapping, assigning, etc., but are not limited to these. For example, a functional block (structural unit) that performs a sending function is called a transmitting unit or a transmitter. In short, as mentioned above, there is no particular limitation on the implementation method.
[0060] For example, the information processing device in one embodiment of the present disclosure may function as a computer that performs the processing in the present embodiment. Figure 7 1 is a diagram showing an example of a hardware configuration of a first information processing device 100 according to an embodiment of the present disclosure. The first information processing device 100 may be configured as a computer device that physically includes a processor 1001, a memory 1002, a storage 1003, a communication device 1004, an input device 1005, an output device 1006, and a bus 1007. In addition, the second information processing device 200 may also be configured similarly to the first information processing device 100.
[0061] In the following description, the word "device" may be replaced by "circuit", "device", "unit", etc. The hardware configuration of the first information processing device 100 may include one or more of the devices shown in the figure, or may exclude some of the devices.
[0062] The functions in the first information processing device 100 are implemented by the following method: predetermined software (program) is read into hardware such as the processor 1001 and the memory 1002, so that the processor 1001 performs calculations and controls the communication of the communication device 1004 or controls at least one of the reading and writing of data in the memory 1002 and the storage 1003.
[0063] The processor 1001 controls the entire computer by, for example, running an operating system. The processor 1001 may be constituted by a central processing unit (CPU) including an interface with peripheral devices, a control device, a calculation device, registers, and the like.
[0064] In addition, the processor 1001 reads a program (program code), a software module, data, etc. from at least one of the memory 1003 and the communication device 1004 to the memory 1002, and performs various processes accordingly. As a program, a program that causes a computer to perform at least a part of the actions described in the above embodiments is used. Although it is described that the above-mentioned various processes are performed by one processor 1001, the above-mentioned various processes can also be performed simultaneously or sequentially by more than two processors 1001. The processor 1001 can also be implemented by more than one chip. In addition, the program can also be sent from the network via a telecommunication line.
[0065] The memory 1002 is a computer-readable recording medium, and may be composed of at least one of a ROM (Read Only Memory), an EPROM (Erasable Programmable ROM), an EEPROM (Electrically Erasable Programmable ROM), a RAM (Random Access Memory), etc. The memory 1002 may be referred to as a register, a cache memory, a main memory (main storage device), etc. The memory 1002 may store a program (program code), a software module, etc. that can be executed to execute the wireless communication method according to an embodiment of the present disclosure.
[0066] The memory 1003 is a computer-readable recording medium, and may be composed of at least one of an optical disk such as a CD-ROM (Compact Disc ROM), a hard disk drive, a floppy disk, a magneto-optical disk (e.g., a compact disk, a digital versatile disk, a Blu-ray (registered trademark) disk), a smart card, a flash memory (e.g., a card, a stick, a key drive), a Floppy (registered trademark) disk, a magnetic strip, etc. The memory 1003 may also be referred to as an auxiliary storage device. The above-mentioned storage medium may be, for example, a database including at least one of the memory 1002 and the memory 1003, and other appropriate media.
[0067] The communication device 1004 is hardware (transceiver) used to communicate between computers via at least one of a wired network and a wireless network, and may also be called a network device, a network controller, a network card, a communication module, etc.
[0068] The input device 1005 is an input device that receives input from the outside (for example, a keyboard, a mouse, a microphone, a switch, a button, a sensor, etc.). The output device 1006 is an output device that implements output to the outside (for example, a display, a speaker, an LED light, etc.). In addition, the input device 1005 and the output device 1006 can also be integrally configured (for example, a touch panel). In addition, each device such as the processor 1001 and the memory 1002 is connected via a bus 1007 for communicating information. The bus 1007 can be configured using a single bus or different buses between devices.
[0069] Each form / implementation described in the present disclosure may be used alone or in combination, and may be switched depending on the execution. In addition, notification of scheduled information is not limited to being performed explicitly (e.g., notification of "yes X"), but may also be performed implicitly (e.g., notification of the scheduled information is not performed).
[0070] The present disclosure is described in detail above, but it should be clear to those skilled in the art that the present disclosure is not limited to the embodiments described in the present disclosure. The present disclosure can be implemented as a modification and variation without departing from the subject matter and scope of the present disclosure as determined by the claims. Therefore, the purpose of the description of the present disclosure is to illustrate and not to have any limiting meaning on the present disclosure.
[0071] The processing steps, timing, and flow of each form / implementation described in this disclosure may be changed in order if there is no contradiction. For example, the method described in this disclosure uses the order of examples to indicate the elements of various steps, but is not limited to the specific order indicated.
[0072] The input or output information can be stored in a specific location (e.g., memory) or managed using a management table. The input or output information can be rewritten, updated, or appended. The output information can also be deleted. The input information can also be sent to other devices.
[0073] The phrase "according to" used in the present disclosure does not mean "only according to" unless otherwise expressly stated. In other words, the phrase "according to" means both "only according to" and "at least according to".
[0074] When the terms "include", "including" and their variations are used in the present disclosure, these terms are intended to be inclusive like the term "comprising". Furthermore, the term "or" used in the present disclosure does not mean an exclusive or.
[0075] In the present disclosure, when an article is added by translation, such as a, an, and the in English, for example, the present disclosure also includes the case where the noun following the article is in plural form.
[0076] In the present disclosure, the term "A and B are different" may mean "A and B are different from each other". In addition, the term may mean "A and B are different from C, respectively". The terms "separate" and "combined" may also be interpreted in the same way as "different".
[0077] Description of symbols
[0078] 1: information processing system; 100: first information processing device; 101: first transceiver control unit; 150: first isolated operation area; 151: first internal data communication unit; 152: first data processing unit; 153: first authentication information acquisition unit; 154: first encryption unit; 155: first verification unit; 156: first storage unit; 200: second information processing device; 201: second transceiver control unit; 250: second isolated operation area; 251: second internal data communication unit; 2 ...56: second information processing device; 256: second information processing device; 251: second transceiver control unit; 252: second isolated operation area; 253: first authentication information acquisition unit; 154: first encryption unit; 155: first verification unit; 156: first storage unit; 256: second information processing device; 256: second information processing device; 251: second transceiver control unit; 252: second isolated operation area; 253: first internal data communication unit; 254: first data processing unit; 154: first authentication information acquisition unit; 154: first encryption unit; 155: first verification unit; 156: first storage unit; 254: second information processing device; 254: second information processing device; 254: second information processing device; 254: second information processing device; 254: 2: second data processing unit; 253: second authentication information acquisition unit; 254: second encryption unit; 255: second verification unit; 256: second storage unit; 300: management unit; 301: authentication information transceiver unit; 302: authentication information management unit; 303: authority management unit; 304: authentication information verification unit; 1001: processor; 1002: memory; 1003: storage; 1004: communication device; 1005: input device; 1006: output device; 1007: bus.
Claims
1. An information processing system, comprising: a first information processing device, which has a first isolated operation area as an isolated operation area; and a second information processing device, which has a second isolated operation area as an isolated operation area, wherein a management unit for generating and managing a data encryption key for encrypting data sent and received between the first information processing device and the second information processing device is arranged inside the first information processing device or the second information processing device, or outside the first information processing device and the second information processing device, wherein: The first information processing device has a first processing unit, and the first processing unit sends a data encryption key utilization request accompanied by first authentication information used by the management unit to verify the integrity of the first application to the management unit through a first application running in the first isolated operation area, The management unit includes a first management unit, the first management unit verifies the integrity of the first application using the first authentication information and pre-stored first verification information, and sends the data encryption key to the first information processing device via a secure environment between the management unit and the first information processing device only when the integrity is verified. The first information processing device further includes a first encryption unit that encrypts object data to be processed using the data encryption key received through the first application and transmits the encrypted object data to the second information processing device. The second information processing device has a second processing unit, and the second processing unit sends a data encryption key utilization request accompanied by second authentication information used by the management unit to verify the integrity of the second application to the management unit through a second application running in the second isolated operation area. The management unit further includes a second management unit, which verifies the integrity of the second application using the second authentication information and pre-stored second verification information, and sends the data encryption key to the second information processing device via the security environment between the management unit and the second information processing device only when the integrity is verified. The second information processing device further includes a second encryption unit configured to decrypt the encrypted target data received from the first information processing device using the data encryption key received via the second application program.
2. An information processing device, which is an information processing device in an information processing system, the information processing system comprising: the information processing device, which is formed with a first isolated operation area as an isolated operation area; and a counterpart device, wherein a second isolated operation area is formed as an isolated operation area, and a management unit for generating and managing a data encryption key for encrypting data sent and received between the information processing device and the counterpart device is arranged inside the information processing device or the counterpart device, or outside the information processing device and the counterpart device, wherein The information processing device comprises: a first processing unit that transmits, through a first application program running in the first isolated operation area, to the management unit a data encryption key utilization request accompanied by first authentication information used by the management unit to verify the integrity of the first application program; and a first encryption unit that receives the data encryption key from the management unit through the first application and encrypts the object data to be processed using the received data encryption key, wherein the management unit sends the data encryption key to the information processing device via a secure environment between the management unit and the information processing device only when the integrity of the first application is verified using the first authentication information and pre-stored first verification information, The first encryption unit transmits the encrypted object data to the counterpart device, wherein the counterpart device has: a second processing unit that transmits, through a second application program running in the second isolated operation area, to the management unit a data encryption key utilization request accompanied by second authentication information used by the management unit to verify the integrity of the second application program; and A second encryption unit receives the data encryption key from the management unit through the second application, and uses the received data encryption key to decrypt the encrypted object data from the information processing device, and the management unit sends the data encryption key to the other device via the security environment between the management unit and the other device only when the integrity of the second application is verified using the second authentication information and the pre-stored second verification information.
3. The information processing device according to claim 2, wherein: The data encryption key managed by the management unit includes an encryption key and an encrypted data key encrypted with the encryption key. The first processing unit generates a pair of a first public key and a first private key, and transmits the data encryption key utilization request accompanied by the first authentication information and the first public key to the management unit, The management unit decrypts the encrypted data key using the encryption key to obtain a plaintext data key only when the integrity is verified, encrypts the plaintext data key using the first public key, and sends the obtained encrypted data key to the information processing device, The first encryption unit decrypts the received encrypted data key using the first private key to obtain a plaintext data key, encrypts the object data using the plaintext data key, and transmits the encrypted object data to the counterpart device.
4. The information processing device according to claim 3, wherein: The second processing unit generates a pair of a second public key and a second private key, and sends the data encryption key utilization request accompanied by the second authentication information and the second public key to the management unit, The management unit decrypts the encrypted data key using the encryption key to obtain a plaintext data key only when the integrity is verified, encrypts the plaintext data key using the second public key, and sends the obtained encrypted data key to the counterpart device. The second encryption unit decrypts the received encrypted data key using the second private key to obtain a plaintext data key, and decrypts the encrypted target data using the plaintext data key.
5. An information processing device, which is an information processing device in an information processing system, the information processing system comprising: a counterpart device, which has a first isolated operation area as an isolated operation area; and the information processing device, which has a second isolated operation area as an isolated operation area, wherein a management unit for generating and managing a data encryption key for encrypting data sent and received between the information processing device and the counterpart device is arranged inside the information processing device or the counterpart device, or outside the information processing device and the counterpart device, wherein: The information processing device comprises: a second processing unit that transmits a data encryption key utilization request accompanied by second authentication information used by the management unit to verify the integrity of the second application program to the management unit through a second application program running in the second isolated operation area; as well as a second encryption unit that receives the data encryption key from the management unit through the second application, and the management unit sends the data encryption key to the information processing device via a secure environment between the management unit and the information processing device only when the integrity of the second application is verified using the second authentication information and pre-stored second verification information, The second encryption unit receives the encrypted target data from the counterpart device and decrypts the encrypted target data from the counterpart device using the data encryption key. The counterpart device has: a first processing unit that transmits, through a first application program running in the first isolated operation area, to the management unit a data encryption key utilization request accompanied by first authentication information used by the management unit to verify the integrity of the first application program; as well as The first encryption unit receives the data encryption key from the management unit through the first application, encrypts the object data to be processed using the received data encryption key, and sends the encrypted object data to the information processing device, and the management unit sends the data encryption key to the other device via the security environment between the management unit and the other device only when the integrity of the first application is verified using the first authentication information and the pre-stored first verification information.
6. The information processing device according to claim 5, wherein: The data encryption key managed by the management unit includes an encryption key and an encrypted data key encrypted with the encryption key. The first processing unit generates a pair of a first public key and a first private key, and transmits the data encryption key utilization request accompanied by the first authentication information and the first public key to the management unit, The management unit decrypts the encrypted data key using the encryption key to obtain a plaintext data key only when the integrity is verified, encrypts the plaintext data key using the first public key, and sends the obtained encrypted data key to the counterpart device. The first encryption unit decrypts the received encrypted data key using the first private key to obtain a plaintext data key, encrypts the object data using the plaintext data key, and transmits the encrypted object data to the information processing device.
7. The information processing device according to claim 6, wherein: The second processing unit generates a pair of a second public key and a second private key, and sends the data encryption key utilization request accompanied by the second authentication information and the second public key to the management unit, The management unit decrypts the encrypted data key using the encryption key to obtain a plaintext data key only when the integrity is verified, encrypts the plaintext data key using the second public key, and sends the obtained encrypted data key to the information processing device. The second encryption unit decrypts the received encrypted data key using the second private key to obtain a plaintext data key, and decrypts the encrypted target data using the plaintext data key.
8. The information processing device according to any one of claims 2 to 7, wherein: The first isolated operation area is formed by physical isolation or logical isolation, and the second isolated operation area is formed by physical isolation or logical isolation.
9. The information processing device according to any one of claims 2 to 8, wherein: The object data is a processing object of secret computing.
