Information processing device, verification method and recording medium
By using a tamper-resistant security module in the information processing device, the integrity and version of the setting file are verified and updated independently of the OS, which solves the problem of being unable to confirm the integrity of the setting data in the existing technology and achieves low-cost, high-efficiency security testing.
Patent Information
- Application Number
- CN201980049031.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-07-31
- Filing Date
- 2019-07-30
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2039-07-30
AI Technical Summary
In the existing technology, the integrity of the setting data cannot be properly confirmed in the application program without relying on the operating system (OS), and the security module cannot be used to confirm the integrity of the setting file after the OS is started, resulting in management costs. High and difficult to detect tampering.
By using a tamper-proof security module in the information processing device, the digital signature verification key and ID information are obtained, the integrity of the setting file is verified through the application, and the version information is updated when specific conditions are met, independently of the OS. Integrity and version handling.
It realizes the integrity confirmation of setting data independent of the OS, reduces management costs, and can detect the tampering behavior of malware, improving security.
Smart Images

Figure CN112513849B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an information processing device, a verification method and a recording medium. Background Art
[0002] Conventionally, there is a known technique for confirming the integrity of the setting data when an application (AP) program uses the setting file. Here, integrity means that the object data has not been tampered with. In addition, tampering includes replacing with a different version (rollback attack, etc.).
[0003] For example, it is known that access control is performed by an operating system (OS) to ensure the integrity of setting data. The OS provides an access control mechanism to AP programs or files. Through the function of the OS, the setting file can be given permissions that can only be updated by users or programs with permissions. In other words, as long as the OS works properly, the AP program that is granted permissions works properly, and the user sets permissions properly, it can be considered that when the AP program refers to the setting data, the integrity of the setting data is protected.
[0004] There is a known technology for checking the integrity of a startup program using a security module such as a TPM (Trusted Platform Module) in an information processing device. This technology can check the integrity of programs such as firmware and kernel executed in the process before the OS is started, but it is only given to programs executed before the OS is started and cannot be used by AP programs executed after the OS is started. In other words, the security module cannot be used in the integrity check of the setting file only by the AP program executed after the OS is started.
[0005] For example, the security module has an access control mechanism independent of the OS, has the function of recording and referring to the version number of the program, and has the function of increasing the version number (version upgrade) according to the authority set by the access control mechanism. In addition, the security module is tamper-proof, and it is physically very difficult to perform operations other than the above on the version number.
[0006] For example, before the OS is started, programs are executed in the order of firmware that reads a dedicated area (read-only firmware), upgradeable firmware (read-write firmware), the kernel, and programs or services that constitute the OS. The previously executed program confirms the version of the next program and the version number recorded by the security chip, and if the version is correct, the next program is executed. The access control mechanism of the security module has a mechanism for determining the access rights of programs executed before the OS of the information processing device is started (pre-OS environment), and only legitimate programs (firmware before OS startup) that have been determined to have access rights in this way can execute version number updates.
[0007] Prior art literature
[0008] Non-patent literature
[0009] Unlicensed Document 1: "File and Folder Permissions", [online], [July 18, 2011], インターネット<https: / / docs.microsoft.com / en-us / previous-versions / windows / it-pro / windows-server-2000 / bb727008(v=technet.10)>
[0010] Unlicensed Document 2: "TPM Usage", [online], [July 18, 2011], インターネット<https: / / www.chromium.org / developers / design-documents / tpm-usage> Summary of the invention
[0011] Problems to be solved by the invention
[0012] However, in the conventional technology, there is a problem that the integrity of setting data cannot be properly confirmed in the application program without relying on the OS. For example, in the conventional access control technology relying on the OS, permissions are properly set for all programs and files operating on the OS, and all programs and files granted with privileges do not perform unexpected operations due to tampering, etc., and only when all privileged users using the information processing device properly manage passwords used to exercise permissions, etc., can it be expected that the integrity of the setting data will be protected when the AP program refers to the setting data.
[0013] However, the above conditions have many management objects (users, files, programs), and it takes a lot of cost to maintain the complete state, and it is difficult to confirm it. In other words, in reality, there are many cases where the complete state is not maintained. For example, due to illegal operations or operational errors by users, a path (security vulnerability) is created in the system that malware can invade with administrator privileges. If malware invades this path, the malware can tamper with all setting files with administrator privileges. AP programs that only rely on OS access control have difficulty detecting such tampering with setting files.
[0014] Furthermore, in the boot program integrity confirmation technology using the security module, the access right (permission) of the security chip when updating version information, etc. in the integrity confirmation of the process before OS startup is given to the program executed before OS startup, and cannot be used from the general AP program after OS startup. That is, the security chip cannot be used in the integrity confirmation of the setting file, etc. only by the general AP program executed after OS startup.
[0015] Means for solving problems
[0016] In order to solve the above-mentioned problems and achieve the purpose, the information processing device of the present invention is characterized in that it has: a setting file verification unit, which obtains information related to a verification key for verifying a digital signature of a setting file and ID information of the setting file from a storage unit of a tamper-proof security module, and uses the obtained information related to the verification key and ID information to execute a process of verifying the integrity of the setting data of the setting file through an application; a setting file version verification unit, which obtains registration version information from the storage unit of the security module, and uses the obtained registration version information to execute a process of verifying the setting version of the setting file through the application; and a setting file version update unit, which updates the registration version information to the version of the setting version when the setting version of the setting file and the registration version information meet specified conditions.
[0017] In addition, the verification method of the present invention is a verification method performed by an information processing device, characterized in that the verification method includes the following steps: a setting file verification step, obtaining information related to a verification key for verifying a digital signature of a setting file and ID information of the setting file from a storage unit of a tamper-proof security module, and using the obtained information related to the verification key and ID information to perform a process of verifying the integrity of setting data of the setting file through an application; a version verification step, obtaining registration version information from the storage unit of the security module, and using the obtained registration version information to perform a process of verifying the setting version of the setting file through the application; and an update step, updating the registration version information to the version of the setting version when the setting version of the setting file and the registration version information meet specified conditions.
[0018] In addition, the verification program of the present invention is characterized in that it causes the computer to execute the following steps: a setting file verification step, obtaining information related to a verification key used to verify the digital signature of the setting file and ID information of the setting file from a storage unit of a tamper-proof security module, and using the obtained information related to the verification key and ID information to verify the integrity of the setting data of the setting file through an application; a processing version verification step, obtaining registration version information from the storage unit of the security module, and using the obtained registration version information to execute a process of verifying the setting version of the setting file through the application; and a version update step, when the setting version of the setting file and the registration version information meet specified conditions, the registration version information is updated to the version of the setting version.
[0019] Effects of the Invention
[0020] According to the present invention, there is an effect that the integrity of setting data can be appropriately confirmed by the application program without depending on the OS. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 This is a diagram showing an example of the configuration of the system according to the first embodiment.
[0022] Figure 2 This is a diagram showing an example of information included in a setting file.
[0023] Figure 3 This is a diagram showing an example of information included in the public key / ID information.
[0024] Figure 4 This is a flowchart for explaining the setting file use processing performed by the information processing device according to the first embodiment.
[0025] Figure 5This is a flowchart for explaining the setting file update process performed by the information processing device according to the first embodiment.
[0026] Figure 6 This is a flowchart illustrating the AP program activation process performed by the information processing device according to the first embodiment.
[0027] Figure 7 This is a flowchart for explaining the setting file recording process performed by the information processing device according to the first embodiment.
[0028] Figure 8 This is a flowchart for explaining the public key / ID information update process performed by the information processing device according to the first embodiment.
[0029] Fig. 9 It is a diagram for explaining the operation cycle in the information processing device according to the first embodiment.
[0030] Fig.10 is a diagram showing a computer that executes a verification program. DETAILED DESCRIPTION
[0031] Hereinafter, embodiments of the information processing device, verification method, and verification program of the present application will be described in detail with reference to the accompanying drawings. In addition, the information processing device, verification method, and verification program of the present application are not limited to the embodiments.
[0032] [First embodiment]
[0033] In the following embodiments, the configuration of the system of the first embodiment and the flow of processing in the information processing device are described in order, and finally, the effects of the first embodiment are described.
[0034] [System Structure]
[0035] First, use Figure 1 , the system of the first embodiment is described. Figure 1 1 is a diagram showing an example of the configuration of the system of the first embodiment. The system of the first embodiment includes an information processing device 10 and a management device 20. Figure 1 The number of each device shown is just an example and is not limited to this. For example, the information processing device 10 and the management device 20 may be composed of a single device.
[0036] The information processing device 10 is equipped with one or more AP programs 11. The information processing device 10 is equipped with a tamper-resistant security module 12 (eg, TPM, etc.) In addition, the information processing device 10 has a device storage unit 13 such as a hard disk and a device control unit 14 such as an operating system.
[0037] The management device 20 remotely creates a setting file input to the AP program 11 by a user with digital signature authority, and sends it to the information processing device 10. In addition, the management device 20 allows a user with access to the public key information to remotely update the public key information of the security module. In addition, as an apparatus structure, it can also be the same as the apparatus structure of the information processing device 10.
[0038] First, the functional units of the information processing device 10 are described. The application 11 of the information processing device 10 includes a setting file input unit 11a, a setting file verification unit 11b, a setting file version verification unit 11c, a setting file version update unit 11d, and an AP control unit 11e.
[0039] The setting file input unit 11a reads the setting file recorded in the device storage unit 13. In the present embodiment, a case where the setting file is read from the storage unit of the same device is described, but the setting file may be acquired via the NW.
[0040] The configuration file verification unit 11b obtains a public key for verifying the digital signature of the configuration file and the ID information of the configuration file from the secure module storage unit 12d, and executes a process for verifying the integrity of the configuration data of the configuration file using the obtained public key and ID information.
[0041] The configuration file version verification unit 11 c acquires the registration version information from the secure module storage unit 12 d and executes a process of verifying the configuration version of the configuration file using the acquired registration version information.
[0042] When the setting version and the registered version information of the setting file meet the prescribed conditions, the setting file version update unit 11d performs the process of updating the registered version information to the setting version. For example, when the setting version of the setting file is a version previous to the registered version information as a prescribed condition, it is set to update (increment) the registered version to the previous version, and the following description is performed. In addition, the prescribed condition can be set according to each information processing device 10 or each AP program 11. In this way, as a result of specifying the update program to be allowed for each information processing device 10 or each AP program 11, the operator can create the version information and setting file for each information processing device 10 or each AP program 11, thereby implementing a unique update. In addition, the prescribed condition is information that can be changed. For example, when the setting version of the setting file is two versions earlier than the registered version information as a prescribed condition, it can also be allowed as a result of an appropriate update, such as updating the registered version to the setting version.
[0043] The AP control unit 11 e controls the above components of the AP program 11 . The AP control unit 11 e permits the use of the setting file only when the integrity of the setting data is OK and the setting version is equal to the registered version. The AP control unit 11 e also accesses the security module 12 via the device control unit 14 .
[0044] The security module 12 includes an access control unit 12a, a public key / ID information management unit 12b, a registration version management unit 12c, a security module storage unit 12d, and a security module control unit 12e.
[0045] The access control unit 12a controls access to data in the security module storage unit 12d. Specifically, the access control unit 12a receives a request to update the public key and ID information stored in the security module storage unit 12d, verifies the authentication password input by the user, and determines whether to permit the update based on the verification result.
[0046] For example, the access control unit 12a restricts access to the update operation of the public key and ID information based on authentication such as HMAC (Hash-based Message Authentication Code). That is, when the access control unit 12a remotely updates the public key / ID information, it performs a tampering check and HMAC authentication on the message. Here, the message is a command to update the public key / ID information (the command argument contains the new public key / ID information of the update object). In addition, the authentication method is not limited to HMAC authentication. In addition, the access control unit 12a does not restrict access to the reference to the public key and ID information, the reference to the registered version information, and the increment of the registered version information.
[0047] The public key / ID information management unit 12b refers to and updates the public key and ID information. Specifically, when the access control unit 12a determines that the update is permitted, the public key / ID information management unit 12b updates the public key and ID information stored in the security module storage unit 12d.
[0048] The registration version management unit 12c refers to and updates (increments) the registration version information. The security module storage unit 12d stores the public key, ID information, and registration version information. In addition, the security module storage unit 12d stores the authentication password for updating the public key and ID information. The security module control unit 12e controls the above components of the security module 12.
[0049] The device storage unit 13 stores setting files. The access rights of the OS can be set in the setting files. The device control unit 14 controls the above-mentioned components and communicates with the management device 20. In addition, the device control unit 14 records the setting files independently created in the management device 20 for each application in the device storage unit 13.
[0050] In this way, in the information processing device 10, the security module 12 having an access control function and a data protection function independent of the OS is used, so that the integrity of the setting file can be confirmed without relying on the permission setting for the OS.
[0051] The management device 20 includes a setting file creation unit 21 , a setting file transmission unit 22 , a public key / ID information registration unit 23 , and a control unit 24 .
[0052] The setting file creation unit 21 has a function and a user interface to create a separate setting file for each of the one or more AP programs 11 of the one or more information processing devices 10. In addition, the setting file creation unit 21 also includes a function of managing a key for generating a digital signature or user authentication. In addition, the setting file creation unit 21 can also, for example, give a single digital signature to a plurality of setting files.
[0053] The setting file sending unit 22 sends the setting file to one or more information processing devices 10. The public key / ID information registration unit 23 updates the public key / ID information of the security module 12 via the device control unit 14 of the information processing device 10. In addition, the public key / ID information registration unit 23 also includes an HMAC creation function for HMAC authentication. The control unit 24 controls the above-mentioned components and communicates with the information processing device 10.
[0054] [Explanation of data]
[0055] Here, the above-mentioned setting file, public key / ID information and registration version information are described respectively. First, the setting file is described. Figure 2 As illustrated, the setting file is a file including setting data, a setting file ID, a setting version, and a digital signature as structural elements.
[0056] The setting data is data (content) read by the AP program. The setting data can be uniquely identified by the setting file ID and the setting version. The setting file ID is the type of setting file inherent to the information processing device 10 and the AP program 11. In addition, there may be multiple versions of setting files with the same setting file ID.
[0057] The setting version is information that identifies the version of the setting file with the same setting file ID. The format of the version information is consistent with the format of the registration version information. The digital signature is a digital signature based on a public key encryption method (such as the RSA algorithm) for information including setting data, setting file ID, and setting version.
[0058] Next, the public key and ID information (public key / ID information) are explained. Figure 3 As shown in the example, the public key / ID information is data required to verify the digital signature of the setting file, and is composed of the registered public key information and the registered ID information. This data does not need to be kept confidential, and needs to be protected in integrity by the security module 12.
[0059] For example, the registered public key information is the verification key (public key) of the digital signature of the setting file, and the registered ID information is the setting data ID of the setting file. In this case, the verification method can directly verify the digital signature through the public key information and compare it with the setting data ID. In addition, it is not limited to this. For example, the registered public key information can also be the root certificate of the certificate of the verification key (public key) of the digital signature of the setting file, and the registered ID information can also be the data ID of the setting file and the identification ID of the certificate of the verification key (public key) of the digital signature of the setting file.
[0060] In this case, as a verification method, a certificate of a verification key (public key) of a digital signature of a setting file is stored in advance in the device storage unit 13 of the information processing device 10. Then, first, the digital signature of the setting file is verified using the certificate, and then the certificate is verified using a root certificate obtained from the security module, and the setting data ID is further compared.
[0061] Next, the registration version information is described. The registration version information does not need to be kept confidential, but the integrity needs to be protected by the security module. In addition, the registration version information uses the calculation result of the one-way operation. As the main examples, the following two examples specified by TPM2.0 are described, but they are not limited to these.
[0062] For example, the registration version information includes a counter value (integer value) and a memory index of the counter value, and the increment method is new counter value = old counter value + 1. In addition, the registration version information includes a hash value (sha256, etc.) and a memory index of the hash value, and the increment method can also be new hash value = hash (old hash value | hash (setting file)). In this case, the registration version information initial value is set as the old hash value, and the new hash value is registered. In addition, the random value is confidential information and is not used afterwards, so it is immediately deleted from the memory, etc.
[0063] [Processing flow of information processing device]
[0064] Next, use Figures 4 to 8 , describing the processing flow of the information processing device 10 of the first embodiment. Figure 4 This is a flowchart for explaining the setting file use processing performed by the information processing device according to the first embodiment. Figure 5 This is a flowchart for explaining the setting file update process performed by the information processing device according to the first embodiment. Figure 6 This is a flowchart illustrating the AP program activation process performed by the information processing device according to the first embodiment. Figure 7 This is a flowchart for explaining the setting file recording process performed by the information processing device according to the first embodiment. Figure 8 This is a flowchart for explaining the public key / ID information update process performed by the information processing device according to the first embodiment.
[0065] First, use Figure 4 , describing the processing performed by the information processing device 10 when using the setting file. Figure 4 As shown, first, the configuration file input unit 11a of the AP program 11 of the information processing device 10 reads the configuration file from the device storage unit 13 (step S101). Then, the configuration file verification unit 11b of the AP program 11 obtains the public key / ID information from the security module storage unit 12d (step S102).
[0066] Next, the configuration file verification unit 11b of the AP program 11 verifies the digital signature and configuration data ID of the configuration file using the registered public key information and the registered ID information (step S103). Then, if the configuration file verification unit 11b verifies that the verification result is NG (step S104 is negative), the process is terminated directly. In addition, if the configuration file verification unit 11b verifies that the verification result is OK (step S104 is positive), the configuration file version verification unit 11c of the AP program 11 obtains the registered version information from the security module storage unit 12d (step S105).
[0067] Next, the configuration file version verification unit 11c of the AP program 11 verifies the configuration file version using the registered version information (step S106). If the configuration file version verification unit 11c of the AP program 11 verifies that the configuration version is inconsistent with the registered version (step S107 is negative), the process ends directly.
[0068] In addition, when the result of verification performed by the setting file version verification unit 11c of the AP program 11 is that the setting version is consistent with the registration version (step S107 is affirmative), the AP control unit 11e of the AP program 11 determines that the read-in setting file has integrity and permits the use of the read-in setting file (step S108).
[0069] Next, use Figure 5 , which explains the process of updating the setting file of the information processing device 10. Figure 5 As shown, first, the configuration file input unit 11a of the AP program 11 of the information processing device 10 reads the configuration file from the device storage unit 13 (step S201). Then, the configuration file verification unit 11b of the AP program 11 obtains the public key / ID information from the security module storage unit 12d (step S202).
[0070] Next, the configuration file verification unit 11b of the AP program 11 verifies the digital signature and configuration data ID of the configuration file using the registered public key information and the registered ID information (step S203). Then, if the configuration file verification unit 11b verifies that the verification result is NG (step S204 is negative), the process is terminated directly. Also, if the configuration file verification unit 11b verifies that the verification result is OK (step S204 is positive), the configuration file version verification unit 11c of the AP program 11 obtains the registered version information from the security module storage unit 12d (step S205).
[0071] Next, the configuration file version verification unit 11c of the AP program 11 verifies the configuration file version using the registered version information (step S206). Then, if the configuration file version verification unit 11c of the AP program 11 verifies that the configuration version is inconsistent with the registered version+1 (no at step S207), that is, the configuration version is not a version earlier than the registered version, the process is terminated directly.
[0072] In addition, when the result of verification by the setting file version verification unit 11c of the AP program 11 is that the setting version is consistent with the registration version + 1 (step S207 is affirmative), the setting file version update unit 11d of the AP program 11 instructs the registration version management unit of the security module to increment the registration version information (step S208).
[0073] Next, use Figure 6 , which explains the process when the AP program 11 of the information processing device 10 is started. Figure 6 In the example of FIG. 1 , the case where the "settings file use" process and the "settings file update" process are implemented as one process when the AP program 11 is started is described. Figure 6As shown, first, the configuration file input unit 11a of the AP program 11 of the information processing device 10 reads the configuration file from the device storage unit 13 (step S301). Then, the configuration file verification unit 11b of the AP program 11 obtains the public key / ID information from the security module storage unit 12d (step S302).
[0074] Next, the configuration file verification unit 11b of the AP program 11 verifies the digital signature and configuration data ID of the configuration file using the registered public key information and the registered ID information (step S303). Then, if the configuration file verification unit 11b verifies that the verification result is NG (step S304 is negative), the process is terminated directly. Also, if the configuration file verification unit 11b verifies that the verification result is OK (step S304 is positive), the configuration file version verification unit 11c of the AP program 11 obtains the registered version information from the security module storage unit 12d (step S305).
[0075] Next, the configuration file version verification unit 11c of the AP program 11 verifies the configuration file version using the registered version information (step S306). Then, if the configuration file version verification unit 11c of the AP program 11 verifies that the configuration file is consistent with the registered version (yes in step S307), the AP control unit 11e of the AP program 11 determines that the read configuration file has integrity and permits the use of the read configuration file (step S308).
[0076] In addition, when the result of verification performed by the setting file version verification unit 11c of the AP program 11 is that the setting version is inconsistent with the registration version (step S307 is negative) and the setting version is consistent with the registration version + 1 (step S309 is positive), the setting file version update unit 11d of the AP program 11 instructs the registration version management unit of the security module to increment the registration version information (step S310).
[0077] In addition, when the result of verification performed by the setting file version verification unit 11c of the AP program 11 is that the setting version is inconsistent with the registered version (step S307 is negative) and the result of verification performed by the setting file version verification unit 11c of the AP program 11 is that the setting version is inconsistent with the registered version + 1 (step S309 is negative), the processing is directly terminated.
[0078] Next, use Figure 7 , describing the creation / recording process of the setting file performed by the information processing device 10 and the management device 20. Figure 7As shown, first, the setting file creation unit 21 of the management device 20 creates separate setting files for one or more AP programs 11 of one or more information processing devices 10 (step S401). In this case, the setting file creation unit 21 performs user authentication every time a digital signature is created.
[0079] Next, the setting file transmission unit 22 transmits the setting file to one or more information processing devices 10 (step S402). Then, the device control unit 14 records the setting file in the device storage unit 13 (step S403).
[0080] Next, use Figure 8 , describes the process of updating the public key / ID information by the information processing device 10 and the management device 20. Figure 8 As shown, first, the public key / ID information registration unit 23 sends a command to update the public key / ID information to the security module 12 via the device control unit 14 (step S501). This command includes an HMAC for authentication, and the user enters an authentication password to create the HMAC.
[0081] Then, the access control unit 12a of the security module 12 verifies the HMAC using the authentication password of the public key / ID information stored in the security module storage unit 12d (step S502). If the result of the verification is NG (step S503 is negative), the access control unit 12a of the security module 12 directly ends the processing.
[0082] When the access control unit 12a of the security module 12 verifies that the verification result is OK (Yes in step S503), the public key / ID information management unit 12b of the security module updates the public key / ID information stored in the security module storage unit 12d (step S504).
[0083] As described above, for example, the user gives a digital signature to the setting file to which the version information is given, and the AP program 11 verifies the signature based on the public key / ID information stored in the security module 12. Then, the AP program 11 confirms the integrity of the version information and the setting file based on the above verification result. In addition, the user is authenticated by using the authentication password stored in the security module 12, and the registration and update of the above public key / ID information is performed.
[0084] [Operation cycle]
[0085] Here, use Fig. 9 , the operation cycle in the information processing device 10 of the first embodiment is described. Fig. 9 FIG. 2 is a diagram for explaining the operation cycle of the information processing device according to the first embodiment. Fig. 9As shown, the operation in the information processing device 10 is composed of three cycles of operation cycles 1 to 3 in an inclusive relationship. Operation cycle 1 is the start and stop cycle of the AP program 11, and has the highest frequency. When started, the AP program 11 automatically checks the integrity and version of the setting file. In addition, it can be automatically executed without user operation (authentication operation, etc.).
[0086] In addition, the operation cycle 2 is the setting file change cycle of the AP program 11, and the frequency is lower than the operation cycle 1. In order to give a digital signature when creating the setting file, a user authentication operation is performed. For one or more AP programs 11 of one or more information processing devices 10, it can be implemented asynchronously and through a single operation. Asynchronous means that the setting file creation time for the user and the setting file update time (the increment of the registration version information of the security chip) for the AP program 11 are asynchronous.
[0087] In addition, operation cycle 3 is a change of public key / ID information, and the frequency is lower than that of operation cycle 2 (for example, a cycle of several years). Here, it is accompanied by a user authentication operation for updating the security module / ID information. For safe implementation, synchronous processing is preferred.
[0088] As described above, it is possible to set the frequency of operations with high frequency to be less frequent and the frequency of operations with more frequent user operations to be less frequent. Therefore, the total operation cost can be sufficiently reduced, and even when multiple devices and multiple AP programs are targeted, efficient operation can be achieved.
[0089] Furthermore, by forming the above structure, it is possible to set the operation cycle so that the user operation of the operation with high frequency is less and the operation with more user operation is less frequent. According to the above content, the update of version information is not limited to the program executed before the OS is started, and the integrity confirmation of the setting file etc. can be carried out at low cost only by the general AP program 11.
[0090] [Effects of the First Embodiment]
[0091] In this way, the information processing device 10 of the first embodiment obtains the public key for verifying the digital signature of the setting file and the ID information of the setting file from the tamper-resistant security module storage unit 12d, and uses the obtained public key and ID information to execute the process of verifying the integrity of the setting data of the setting file through the application 11. Then, the information processing device 10 obtains the registration version information from the security module storage unit 12d, and uses the obtained registration version information to execute the process of verifying the setting version of the setting file through the application 11. In addition, when the setting version of the setting file and the registration version information meet the prescribed conditions, the information processing device 10 updates the registration version information to the setting version.
[0092] In addition, in the information processing device 10 of the first embodiment, when determining the integrity / version of the setting file, it not only relies on the access control of the OS, but also uses the access control and tamper-proofness of the security module 12 that is independent of the OS function as the basis for determination, thereby being able to properly confirm the integrity of the setting data through the application without relying on the OS.
[0093] In addition, for example, if a path (security vulnerability) is created in the system where malware can enter with administrator privileges due to illegal operations or operational errors by the user, and if malware enters this path, the malware can tamper with all setting files with administrator privileges. Even in such a case, the AP program 11 of the information processing device 10 can detect the tampering of the setting files. That is, it is much more difficult for malware to tamper with the data of the security module storage unit 12d or the functions of the security module 12 than to tamper with the files or functions on the OS.
[0094] In addition, the verification method of the present application can be used in all AP programs 11 executed on the OS of the information processing device 10 equipped with the security module 12. In addition, the information processing device 10 can, for example, confirm the version upgrade to the unique setting file version specified by the user. This is because the setting data is uniquely identified in the "setting file ID" and "setting version" recorded in the setting file, and the "setting file ID" is the type of setting file inherent to the information processing device 10 and the AP program 11.
[0095] [System structure, etc.]
[0096] In addition, the structural elements of each device shown in the figure are functional conceptual structural elements, and do not necessarily need to be physically configured as shown in the figure. That is, the specific method of dispersing / merging each device is not limited to the figure, and it can be functionally or physically dispersed / merged in arbitrary units to constitute all or part of it according to various loads and usage conditions. In addition, each processing function performed in each device can be realized in whole or in part by a CPU and a program analyzed and executed by the CPU, or as hardware based on wired logic.
[0097] In addition, all or part of the processes described in the present embodiment as processes that are automatically performed can be performed manually, or all or part of the processes described as processes that are manually performed can be performed automatically by a known method. In addition, unless otherwise specified, the processing procedures, control procedures, specific names, and information including various data or parameters shown in the above documents and drawings can be arbitrarily changed.
[0098] [program]
[0099] Fig.10 1000 is a diagram showing a computer that executes a verification program. The computer 1000 has, for example, a memory 1010 and a CPU 1020. In addition, the computer 1000 has a hard disk drive interface 1030, a disk drive interface 1040, a serial port interface 1050, a video adapter 1060, and a network interface 1070. These components are connected via a bus 1080.
[0100] The memory 1010 includes a ROM (Read Only Memory) 1011 and a RAM 1012. The ROM 1011 stores a boot program such as a BIOS (Basic Input Output System). The hard disk drive interface 1030 is connected to the hard disk drive 1090. The disk drive interface 1040 is connected to the disk drive 1100. For example, a removable storage medium such as a magnetic disk or an optical disk is inserted into the disk drive 1100. The serial port interface 1050 is connected to, for example, a mouse 1051 and a keyboard 1052. The video adapter 1060 is connected to, for example, a display 1061.
[0101] The hard disk drive 1090 stores, for example, an OS 1091, an application program 1092, a program module 1093, and program data 1094. That is, the program that specifies each process of the information processing device 10 is installed as a program module 1093 in which a code executable by a computer is described. The program module 1093 is stored in, for example, the hard disk drive 1090. For example, the program module 1093 for executing the same process as the functional structure in the device is stored in the hard disk drive 1090. In addition, the hard disk drive 1090 may be replaced by an SSD (Solid State Drive).
[0102] The data used in the processing of the above-described embodiment is stored as program data 1094 in, for example, the memory 1010 or the hard disk drive 1090. The CPU 1020 reads the program module 1093 or program data 1094 stored in the memory 1010 or the hard disk drive 1090 into the RAM 1012 as necessary and executes them.
[0103] In addition, the program module 1093 or the program data 1094 is not limited to being stored in the hard disk drive 1090, and may be stored in a removable storage medium, for example, and read out by the CPU 1020 via the disk drive 1100 or the like. Alternatively, the program module 1093 and the program data 1094 may be stored in other computers connected via a network or WAN. Furthermore, the program module 1093 and the program data 1094 may also be read out by the CPU 1020 from other computers via the network interface 1070.
[0104] Description of symbols
[0105] 10: Information processing device;
[0106] 11: AP Program;
[0107] 11a: Setting file input section;
[0108] 11b: Setting document verification section;
[0109] 11c: Setting file version verification section;
[0110] 11d: Setting file version update section;
[0111] 11e: AP control unit;
[0112] 12: Security module;
[0113] 12a: Access control unit;
[0114] 12b: Public key / ID information management unit;
[0115] 12c: Registration version management department;
[0116] 12d: security module storage unit;
[0117] 12e: security module control unit;
[0118] 13: device storage unit;
[0119] 14: device control unit;
[0120] 20: Management device;
[0121] 21: Setting file creation section;
[0122] 22: Set the file sending unit;
[0123] 23: Public key / ID information registration unit;
[0124] 24: Control department.
Claims
1. An information processing device, characterized in that: The device comprises: a device control unit as an operating system, which records a setting file independently created for each application in a device storage unit, wherein the setting file sets the access right of the device control unit; a device storage unit, which stores the setting file; an application program; and a security module, which has an access control function and a data protection function independent of the device control unit, The application has: a setting file verification unit that obtains information related to a verification key for verifying a digital signature of the setting file and ID information of the setting file from a storage unit of the tamper-resistant security module, and performs a process of verifying the integrity of setting data of the setting file using the obtained information related to the verification key and the ID information; a configuration file version verification unit that obtains registration version information from a storage unit of the security module and uses the obtained registration version information to perform a process of verifying the configuration version of the configuration file; as well as The configuration file version updating unit updates the registered version information to the configuration version when the configuration version of the configuration file and the registered version information satisfy a predetermined condition.
2. The information processing device according to claim 1, characterized in that The information processing device also has: an access control unit that receives a request to update the information related to the verification key and the ID information stored in the storage unit of the security module, verifies the authentication password input by the user, and determines whether to permit the update based on the verification result; as well as The management unit updates the information related to the verification key and the ID information stored in the storage unit of the security module when the access control unit determines that the update is permitted.
3. The information processing device according to claim 1, characterized in that The predetermined conditions can be changed in setting.
4. A verification method performed by an information processing device, the information processing device comprising: a device control unit as an operating system, which records a setting file independently created for each application in a device storage unit, the setting file setting the access right of the device control unit; a device storage unit storing the setting file; an application program; and a security module having an access control function and a data protection function independent of the device control unit, the verification method comprising the following steps: a setting file verification step of obtaining information related to a verification key for verifying the digital signature of the setting file and ID information of the setting file from a storage unit of the tamper-resistant security module, and executing a process of verifying the integrity of setting data of the setting file through the application program using the obtained information related to the verification key and the ID information; a version verification step of acquiring registration version information from a storage unit of the security module, and executing a process of verifying a setting version of the setting file through the application program using the acquired registration version information; and The updating step is to update the registered version information to the setting version by the application program when the setting version of the setting file and the registered version information satisfy a predetermined condition.
5. A recording medium storing a verification program, wherein the verification program causes a computer functioning as the following component to execute the following steps, the component comprising: a device control unit as an operating system, which records a setting file independently created for each application in a device storage unit, the setting file setting access rights of the device control unit; a device storage unit storing the setting file; app; and a security module having an access control function and a data protection function independent of the device control unit, the step comprising: a setting file verification step of acquiring information related to a verification key for verifying a digital signature of the setting file and ID information of the setting file from a storage unit of the tamper-resistant security module, and executing a process of verifying the integrity of setting data of the setting file through the application program using the acquired information related to the verification key and ID information; A version verification step of obtaining registration version information from a storage unit of the security module and executing a process of verifying a setting version of the setting file through the application program using the obtained registration version information; as well as The updating step is to update the registration version information to the setting version by the application program when the setting version of the setting file and the registration version information satisfy a predetermined condition.
Citation Information
Patent Citations
Electronic device, update server device, key update device
CN101189617A
Method for implementing safe storage system in cloud storage environment
CN102014133A
A secured storage system and a method used for secured storage
CN107797827A
Processing method and device for code update, storage medium, processor and servers
CN107894895A
Identification mode of contents file producer and its program
CN1517827A
