Information processing device, program execution system, information processing method, and program

By anonymizing program information and using a security chip for blind signatures, the solution addresses the lack of confirmation of correct program execution in general TEEs, ensuring tamper detection and confidentiality.

JP7559841B2Active Publication Date: 2024-10-02NIPPON TELEGRAPH & TELEPHONE CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2022577888
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-01-27
Publication Date
2024-10-02
Estimated Expiration
2041-01-27

AI Technical Summary

Technical Problem

General TEEs lack a mechanism to confirm to users outside the secure area that a correct program is running within the secure area, despite ensuring data confidentiality within the secure area.

Method used

A secure area equipped with a security chip anonymizes program information and requests a blind signature from the chip, which calculates and returns a blind signature to the secure domain, allowing the secure domain to obtain a signature for program information, thus simulating a Remote Attestation mechanism.

Benefits of technology

Guarantees to users outside the secure area that a correct program is running within the secure area, ensuring tamper detection and confidentiality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007559841000001
    Figure 0007559841000001
  • Figure 0007559841000002
    Figure 0007559841000002
  • Figure 0007559841000003
    Figure 0007559841000003
Patent Text Reader

Abstract

This information processing device comprises a secure region that executes the concealment of a program, and a security chip, wherein the secure region conceals information pertaining to the program and requests, from the security chip, a blind signature for the concealed information produced by the concealment, the security chip calculates the blind signature and returns the blind signature to the secure region, and the secure region acquires, from the blind signature, a signature for the information pertaining to the program.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a secret execution technology and a remote verification technology in the information and communications field. [Background technology]

[0002] Recent machines include a Trusted Execution Environment (TEE), which is a function that can safely execute critical processes independently of the OS. Such machines include not only servers but also terminals such as smartphones.

[0003] A machine with TEE functionality has a secure area (which may be called an Enclave) that does not leak data to the outside. In particular, some TEEs, such as Intel's SGX, are equipped with a mechanism (such as Remote Attestation) that assures to outside the secure area (for example, outside the secure area within the machine, a remote user communicating with the machine, etc.) that a correct program is running in the secure area (Enclave). [Prior art documents] [Non-patent literature]

[0004] [Non-Patent Document 1] Arm TrustZone https: / / developer.arm.com / ip-products / security-ip / trustzone Summary of the Invention [Problem to be solved by the invention]

[0005] However, TEEs other than some TEEs such as Intel (registered trademark) SGX (hereinafter referred to as general TEEs) do not have the above mechanism (for example, the technology described in Non-Patent Document 1). Therefore, while a general TEE can guarantee that data in a secure area will not leak outside the secure area such as the OS, it cannot guarantee to users outside the secure area or remotely that a correct program is running in the secure area.

[0006] The present invention has been made in consideration of the above points, and aims to realize a mechanism in a device equipped with a general TEE that guarantees to outside the secure area that a correct program is running within the secure area. [Means for solving the problem]

[0007] According to the disclosed technology, a secure area for secretly executing a program; A security chip is provided. the secure area conceals information about the program and requests the security chip to issue a blind signature for the concealed information obtained by the concealment; The security chip calculates the blind signature and returns the blind signature to the secure area, and the secure area obtains a signature for information related to the program from the blind signature. An information processing device is provided. Effect of the Invention

[0008] According to the disclosed technology, in a device equipped with a general TEE, it is possible to realize a mechanism for assuring to outside the secure area that a correct program is running within the secure area. [Brief description of the drawings]

[0009] [Figure 1] 1 is an overall configuration diagram of a system according to an embodiment of the present invention. [Diagram 2]FIG. 2 is a diagram illustrating an example of a functional configuration of an information processing device. [Diagram 3] FIG. 2 is a functional configuration diagram of a user server. [Figure 4] FIG. 2 is a functional configuration diagram of a validation server. [Diagram 5] 11 is a flowchart illustrating a process flow. [Figure 6] FIG. 2 illustrates an example of a hardware configuration of the apparatus. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] Hereinafter, an embodiment of the present invention (the present embodiment) will be described with reference to the drawings. The embodiment described below is merely an example, and the embodiment to which the present invention is applied is not limited to the following embodiment.

[0011] (System Configuration)

[0012] An example of the configuration of a program execution system according to an embodiment of the present invention is shown in Fig. 1. As shown in Fig. 1, the program execution system according to the present embodiment includes an information processing device 100, a user server 200, and a verification server 300. Each of these devices is connected to a communication network and is capable of communicating with each other.

[0013] The information processing device 100, the user server 200, and the verification server 300 may each be a physical machine (computer) or a virtual machine on a cloud. The user server 200 may be a function (e.g., a web browser) that operates on a physical machine or a virtual machine.

[0014] In this embodiment, the information processing device 100 has the function of a general TEE. That is, as shown in Fig. 1, the information processing device 100 includes a secure area 110 (which may be called an Enclave) of the general TEE.

[0015] The information processing device 100 is a device that executes a program in a secure area 110. The user server 200 uses the verification server 300 to verify the authenticity of the program in the information processing device 100, and, for example, requests the information processing device 100 to perform data processing or the like using the program. The verification server 300 manages a public key corresponding to a private key used as a signature key in the information processing device 100, and verifies a signature made in the information processing device 100.

[0016] 1, the information processing device 100 includes a security chip 120 in addition to a secure area 110. The secure area 110 may be called a first secure area, and the security chip 120 may be called a second secure area.

[0017] The security chip 120 has a tamper-resistant area that securely stores the signature key (private key) including measures against physical attacks by the machine owner. The security chip 120 corresponds to a TPM (Trusted Platform Module) or SE (Secure Element) that is attached to many machines equipped with a general TEE.

[0018] If the technology of this embodiment is not used, the area between the secure area 110 and the security chip 120 in the information processing device 100 is a non-secure area, and it is not possible to prevent tampering by the machine owner in communication between the secure area 110 and the security chip 120.

[0019] On the other hand, in the technology of this embodiment, a blind signature (which may also be called an attestation) that asserts the authenticity of the program in the secure area 110 is assigned using a signature key stored in the security chip 120, thereby concealing communication between the secure area 110 and the security chip 120 and generating a pseudo-secure area 130.

[0020] The pseudo secure area 130 is an area that includes the secure area 110 and the security chip 120. Generating the pseudo secure area 130 by concealing communication between the secure area 110 and the security chip 120 corresponds to pseudo realization of a Remote Attestation mechanism in SGX or the like of Intel (registered trademark).

[0021] The above-mentioned mechanism realizes a function for detecting tampering with programs and data in the secure area 110, and a function for keeping communication between the secure area 110 and the security chip 120 confidential by using blind signatures.

[0022] That is, by providing the above-mentioned functions in information processing device 100 equipped with a general TEE, it is possible to assure users outside secure area 110 or at remote locations that a correct program is running within secure area 110.

[0023] (Example of device functional configuration) 2 shows an example of a functional configuration of the information processing device 100. As shown in FIG. 2, the information processing device 100 includes a secure area 110, a security chip 120, and a non-secure processing unit 150.

[0024] The secure area 110 is a protected area where confidentiality is maintained, and the contents of the data and programs therein cannot be known from the outside. Outside the secure area 110 (except inside the security chip 120), normal data storage, data processing (program execution), and data transmission and reception are possible. The function that performs such normal processing is shown as the non-secure processing unit 150.

[0025] Data storage and data processing (program execution) are possible while maintaining confidentiality in the secure area 110. In FIG. 2, a secure data storage unit 111 and a secure processing unit 112 are shown as functional units that perform these functions in the secure area 110.

[0026] The secure area 110 itself can be realized by existing technology. Any existing technology may be used to realize the secure area 110. For example, the secure area 110 may be realized as a separate chip that is independent in terms of hardware from the main CPU and memory, or the secure area 110 may be realized in terms of software by utilizing encryption technology and authentication technology.

[0027] As described above, the security chip 120 has a tamper-resistant area that securely stores the signature key (private key) including measures against physical attacks by the machine owner. The security chip 120 can at least execute a signature calculation using the private key.

[0028] Fig. 3 shows an example of the functional configuration of the user server 200. As shown in Fig. 3, the user server 200 has a communication unit 210, a verification processing unit 220, and a data processing unit 230. The communication unit 210 is a functional unit that communicates with the information processing device 100 and the verification server 300. The verification processing unit 220 requests the verification server 300 to verify the signature in the information processing device 100, and receives the verification result.

[0029] When the data processing unit 230 is able to confirm the authenticity of the program in the information processing device 100 through signature verification, the data processing unit 230 executes processing such as requesting the information processing device 100 to process data using the program.

[0030] Fig. 4 shows an example of a functional configuration of the validation server 300. As shown in Fig. 4, the validation server 300 includes a communication unit 310, a validation unit 320, and a public key management unit 330. The communication unit 310 is a functional unit that communicates with the information processing device 100 and the user server 200.

[0031] The verification unit 320 uses the public key to verify the signature in the information processing device 100. The public key management unit 330 holds a public key that corresponds to a private key used in the information processing device 100 as a signature key.

[0032] (Example of system operation) Next, an example of the operation of the program execution system in this embodiment will be described with reference to the sequence diagram in Fig. 5. In the following example of the operation, blind signatures are used (Reference: Chaum D. (1983) Blind Signatures for Untraceable Payments. In: Chaum D., Rivest RL, Sherman AT (eds) Advances in Cryptology. Springer, Boston, MA. https: / / doi.org / 10.1007 / 978-1-4757-0602-4_18).

[0033] In blind signatures, the creator of a message conceals the message when requesting a signer to perform a signing process, so the signer cannot know what message the creator has signed. The creator of the message can generate a signature for the original message from the signature for the concealed message obtained from the signer.

[0034] In the following operation example, RSA-based blind signature is used as the blind signature, but this is only an example, and any type of blind signature may be used. For example, a blind signature using elliptic curve cryptography may be used.

[0035] 5, the secure processing unit 112 of the secure area 110 obtains m, which is a plaintext to be signed (plaintext to be verified for program authenticity), a public key (e, N), and a random number r. The secure processing unit 112 obtains the public key (e, N), for example, from the verification server 300. The secure processing unit 112 may read out and use the public key (e, N) previously stored in the secure data storage unit 111.

[0036] m may be called an attested resource. m is not limited to specific information, but in this operation example, m includes the ID of the secure area 110, a hash value of a program executed on the secure area 110, and a hash value of an initial state of the secure area 110.

[0037] In S102, the secure processing unit 112 calculates Hash(m), which is a hash value of m, and calculates r^e(modN) by encrypting r with a public key, and calculates Hash(m) × r^e(modN). Since Hash(m) is concealed by r^e(modN), r^e(modN) may be called a blinding factor. Hash(m) × r^e(modN) is defined as m'.

[0038] In S103, the secure processing unit 112 transmits m' (=Hash(m)×r̂e(modN)) to the security chip 120 to request a signature for m'.

[0039] The security chip 120 holds a private key (d, N) corresponding to the public key (e, N). In S104, the security chip 120 calculates a signature for m' by using the private key (d, N) as a signature key. Specifically, it calculates s'=m'^d(modN). The signature s' for m' may be called a blind signature.

[0040] In S105, the security chip 120 transmits the signature (s′=m′^d(modN)) to the secure area 110.

[0041] In S106, the secure processing unit 112 of the secure area 110 obtains the signature s for Hash(m) by dividing s' by r. That is, it calculates s=s' / r=Hash(m)^d(modN).

[0042] Using this s, it is possible to verify whether m has not been tampered with, using the public key (e, N). That is, for example, when verification is performed in the secure area 110, the secure processing unit 112 obtains the current m, calculates Hash(m), and also calculates s^e(modN). s^e(modN) corresponds to the signature s being decrypted using the public key (e, N).

[0043] If Hash(m) and s^e(modN) are equal, it is determined that there has been no tampering, and if Hash(m) and s^e(modN) are not equal, it is determined that tampering has occurred.

[0044] The above tamper detection process may be performed by the user server 200 or by the validation server 300. In the example of Fig. 5, the validation server 300 performs the tamper detection process.

[0045] In S107, for example, the verification processing unit 220 of the user server 200 acquires m and s from the secure area 110. In S108, the verification processing unit 220 requests the verification server 300 to verify whether m has been tampered with by transmitting m and s to the verification server 300. Note that in S108, the verification processing unit 220 may request the verification server 300 to verify whether m has been tampered with by transmitting Hash(m) and s to the verification server 300.

[0046] In S109, the verification unit 320 of the verification server 300 verifies whether m has been tampered with by checking whether Hash(m) is equal to s^e(modN) using the public key (e,N) held in the public key management unit 330. In S110, the verification server 300 transmits the verification result to the user server 200.

[0047] The user server 200 can verify the authenticity of a program running in the secure area 110 using the above-mentioned tamper detection mechanism, and then request the secure area 110 to execute, for example, data processing using that program. In other words, the user server 200 and the secure area 110 are connected via a channel in which the authenticity of the program is guaranteed, and this is shown as Attested TLS in Fig. 5.

[0048] As described above, in this operation example, since the user server 200 performs a verification process for detecting tampering, the program cannot be tampered with from outside the secure area 110. Also, in the standard model (where hash is not assumed to be a random oracle), partial information about m is not leaked from m' by r. Also, the signature process in the security chip 120 itself is a normal signature process, and can be executed in the security chip 120.

[0049] (Hardware configuration example) The information processing device 100, the user server 200, and the verification server 300 can all be realized, for example, by causing a computer to execute a program. This computer may be a physical computer or a virtual machine on the cloud. The information processing device 100, the user server 200, and the verification server 300 are collectively referred to as "devices."

[0050] That is, the device can be realized by executing a program corresponding to the processing performed by the device, using hardware resources such as a CPU and memory built into a computer. The program can be recorded on a computer-readable recording medium (such as a portable memory) and stored or distributed. The program can also be provided via a network such as the Internet or email.

[0051] Fig. 6 is a diagram showing an example of the hardware configuration of the computer. The computer in Fig. 6 includes a drive device 1000, an auxiliary storage device 1002, a memory device 1003, a CPU 1004, an interface device 1005, a display device 1006, an input device 1007, an output device 1008, and the like, all of which are connected to one another via a bus BS. Note that some of these devices may not be included. For example, if no display is performed, the display device 1006 may not be included. Furthermore, the information processing device 100 includes a security chip 1009 (corresponding to the security chip 120 described above).

[0052] The program for realizing the processing on the computer is provided by a recording medium 1001 such as a CD-ROM or a memory card. When the recording medium 1001 storing the program is set in the drive device 1000, the program is installed from the recording medium 1001 to the auxiliary storage device 1002 via the drive device 1000. However, the program does not necessarily have to be installed from the recording medium 1001, but may be downloaded from another computer via a network. The auxiliary storage device 1002 stores the installed program as well as necessary files, data, etc.

[0053] The memory device 1003 reads out and stores the program from the auxiliary storage device 1002 when an instruction to start the program is received. The CPU 1004 realizes the functions related to the device in accordance with the program stored in the memory device 1003. The interface device 1005 is used as an interface for connecting to a network, and functions as a transmitting unit and a receiving unit. The display device 1006 displays a GUI (Graphical User Interface) or the like according to a program. The input device 1007 is composed of a keyboard and mouse, buttons, a touch panel, or the like, and is used to input various operation instructions. The output device 1008 outputs the results of calculations.

[0054] (Effects of the embodiment) As described above, according to the technology of this embodiment, in an apparatus equipped with a general TEE, it is possible to guarantee to outside the secure area (e.g., a remote user server 200) that a correct program is running within the secure area of ​​the general TEE.

[0055] (Summary of the embodiment) This specification discloses at least the following information processing device, program execution system, information processing method, and program. (Section 1) a secure area for secretly executing a program; A security chip is provided. the secure area conceals information about the program and requests the security chip to issue a blind signature for the concealed information obtained by the concealment; The security chip calculates the blind signature and returns the blind signature to the secure area, and the secure area obtains a signature for information related to the program from the blind signature. Information processing device. (Section 2) The secure area conceals information about the program by using a public key corresponding to a private key used as a signing key for the blind signature. 2. The information processing device according to claim 1. (Section 3) A program execution system including the information processing device according to claim 1 or 2, a user server, and a verification server, The user server transmits information about the program and the signature to the verification server, and the verification server verifies the signature and transmits the verification result to the user server. Program execution system. (Section 4) In verifying the signature, the verification server checks whether information about the program is equal to information obtained by decrypting the signature with a public key corresponding to a private key used as a signing key for the blind signature. 3. A program execution system as set forth in claim 2. (Section 5) An information processing method in an information processing device including a secure area for secretly executing a program and a security chip, comprising: a step in which the secure area conceals information related to the program and requests the security chip to make a blind signature on the concealed information obtained by the concealment; the security chip calculating the blind signature and returning the blind signature to the secure world; the secure domain obtaining a signature for information relating to the program from the blind signature; An information processing method comprising: (Section 6) A computer including a secure area for secretly executing a program and a security chip, a process in which the secure area conceals information related to the program and requests the security chip to make a blind signature on the concealed information obtained by the concealment; a process in which the security chip calculates the blind signature and returns the blind signature to the secure area; a process in which the secure area obtains a signature for information related to the program from the blind signature; A program that executes the following.

[0056] Although the present embodiment has been described above, the present invention is not limited to such a specific embodiment, and various modifications and variations are possible within the scope of the gist of the present invention described in the claims. [Explanation of symbols]

[0057] 100 Information processing device 110 Secure Area 111 Secure Data Storage 112 Secure Processing Unit 120 Security Chip 130 Pseudo-Secure Area 200 User Server 210 Communications Department 220 Verification processing unit 230 Data Processing Unit 300 Validation Server 310 Communications Department 320 Verification Department 330 Public Key Management Department 1000 Drive Device 1001 Recording media 1002 Auxiliary storage device 1003 Memory device 1004 CPU 1005 Interface device 1006 Display device 1007 Input Device 1008 Output device

Claims

1. a secure area for secretly executing a program; A security chip is provided. the secure area conceals information about the program and requests the security chip to issue a blind signature for the concealed information obtained by the concealment; The security chip calculates the blind signature and returns the blind signature to the secure area, and the secure area obtains a signature for information related to the program from the blind signature. Information processing device.

2. The secure area conceals information about the program by using a public key corresponding to a private key used as a signing key for the blind signature. The information processing device according to claim 1 .

3. 3. A program execution system comprising the information processing device according to claim 1, a user server, and a verification server, The user server transmits information about the program and the signature to the verification server, and the verification server verifies the signature and transmits the verification result to the user server. Program execution system.

4. In verifying the signature, the verification server checks whether information about the program is equal to information obtained by decrypting the signature with a public key corresponding to a private key used as a signing key for the blind signature.

4. The program execution system according to claim 3.

5. An information processing method in an information processing device including a secure area for secretly executing a program and a security chip, comprising: a step in which the secure area conceals information related to the program and requests the security chip to make a blind signature on the concealed information obtained by the concealment; the security chip calculating the blind signature and returning the blind signature to the secure world; the secure domain obtaining a signature for information relating to the program from the blind signature; An information processing method comprising:

6. A computer including a secure area for secretly executing a program and a security chip, a process in which the secure area conceals information related to the program and requests the security chip to make a blind signature on the concealed information obtained by the concealment; a process in which the security chip calculates the blind signature and returns the blind signature to the secure area; a process in which the secure area obtains a signature for information related to the program from the blind signature; A program that executes the following.

Citation Information

Patent Citations

  • Microprocessor, node terminal, computer system and program execution certification method

    JP2006203564A

  • Authentication system

    JP2017011491A