File confirmation device, file confirmation method, and file confirmation program
The file confirmation device uses concealed paths and hash values to verify file integrity, addressing the risk of path exposure and maintaining confidentiality during verification processes.
Patent Information
- Application Number
- JP2023520595
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-05-10
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2041-05-10
AI Technical Summary
Conventional methods for confirming file integrity risk exposing confidential information through file paths, especially when integrity verification is performed by entities without direct access to the files.
A file confirmation device and method that generates concealed paths from actual file paths and combines them with hash values to create masking criteria, allowing integrity verification without revealing sensitive file path information.
Enables integrity confirmation of files while minimizing the risk of file path leakage, ensuring confidentiality even when verification is conducted by unauthorized parties.
Smart Images

Figure 0007563586000001 
Figure 0007563586000002 
Figure 0007563586000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a file checking device, a file checking method, and a file checking program for checking the integrity of a file. [Background technology]
[0002] Conventionally, there is known a technique for detecting loss of file data and verifying the integrity of a file without requiring direct access to the file.
[0003] Here, one technology for checking the integrity of files within a device is to define a list showing a combination of file paths within the device and hash values of file data as a judgment criterion, and check whether there is a difference between this judgment criterion and the file paths within the device and the hash values of the file data to check the integrity of files within the device (see, for example, Patent Document 1). [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2019-008376 A Summary of the Invention [Problem to be solved by the invention]
[0005] However, the conventional technology has a problem in that it is not possible to check the integrity of files in a device while reducing the risk of file path leakage. For example, when a third party without access authority to a file checks the integrity of file data, there is a possibility that confidential information may be leaked or inferred from the file path information.
[0006] In addition, for example, when a business operator who is not authorized to access files in a device (for example, a user business operator who only imports and uses the device) checks the integrity of the files, there is a problem that providing a judgment criterion results in the file path included in the judgment criterion being provided.
[0007] As a result, even if a business operator does not have access to files within a device to begin with, confidential information such as software configuration information and software module version information may be leaked or inferred based on the file path information used as the judgment criteria.
[0008] Therefore, an object of the present invention is to solve the above-mentioned problems and to verify the integrity of files in a device while reducing the risk of file path leakage. [Means for solving the problem]
[0009] In order to solve the above-mentioned problems and achieve the object, a file checking device of the present invention includes an acquisition unit that acquires a file path of a determination target device that is a target for file integrity determination, an anonymization path generation unit that generates, for each file path, an anonymization path that digests the file path acquired by the acquisition unit, an anonymization determination criterion generation unit that generates an anonymization determination criterion that links and lists the anonymization path generated by the anonymization path generation unit and a hash value that digests file data stored in the determination target device, and the anonymization list generation unit that generates an anonymization list by linking the anonymization path generated by the anonymization criteria generation unit and the anonymization list generated by the anonymization list generation unit, a criterion generation unit that generates a criterion by linking the file path and a hash value obtained by digesting the file data, using the anonymization criteria generated by the anonymization criteria generation unit and the anonymization list generated by the anonymization list generation unit, and a comparison unit that calculates a hash value for each file data in the device to be judged and judges the integrity of the file based on the hash value and the hash value included in the criterion generated by the criterion generation unit.
[0010] The file confirmation method of the present invention includes an acquisition step of acquiring a file path of a determination target device that is a target for file integrity determination, an anonymization path generation step of generating an anonymization path for each file path by digesting the file path acquired by the acquisition step, an anonymization determination criterion generation step of generating an anonymization determination criterion by linking the anonymization path generated by the anonymization path generation step with a hash value obtained by digesting file data stored in the determination target device, and the anonymization list generating step of generating an anonymization list in which the file paths and hash values obtained by digesting the file data are linked to each other, using the anonymization criteria generated by the anonymization criteria generating step and the anonymization list generated by the anonymization list generating step, a criterion generating step of generating a criterion by linking the file paths and hash values obtained by digesting the file data, and a step of calculating a hash value for each of the file data in the device to be determined, and determining the integrity of the file based on the hash value and the hash value included in the criterion generated by the criterion generating step.
[0011] Further, the file confirmation program of the present invention includes an acquisition step of acquiring a file path of a determination target device that is a target for file integrity determination, an anonymization path generation step of generating, for each file path, an anonymization path that digests the file path acquired by the acquisition step, an anonymization determination criterion generation step of generating an anonymization determination criterion that links and lists the anonymization path generated by the anonymization path generation step and a hash value that digests file data stored in the determination target device, and the anonymization list generating step of linking and listing the anonymization criteria generated by the anonymization criteria generating step and the anonymization list generated by the anonymization list generating step, a criterion generating step of linking the file paths and hash values obtained by digesting the file data to generate a criterion, and a step of calculating a hash value for each of the file data in the device to be determined, and determining the integrity of the file based on the hash value and the hash value included in the criterion generated by the criterion generating step. Effect of the Invention
[0012] According to the present invention, it is possible to verify the integrity of files in a device while reducing the risk of file path leakage. [Brief description of the drawings]
[0013] [Figure 1] FIG. 1 is a block diagram showing the configuration of a file checking device according to the first embodiment. [Diagram 2] FIG. 2 is a diagram illustrating an example of digest value generation conditions stored in the digest value generation condition storage unit of the file verification device of the first embodiment. [Diagram 3]FIG. 3 is a diagram illustrating an example of an anonymization determination criterion stored in the anonymization determination criterion storage unit of the file checking device of the first embodiment. [Figure 4] FIG. 4 is a diagram illustrating an example of the anonymization list stored in the anonymization list storage unit of the file checking device of the first embodiment. [Diagram 5] FIG. 5 is a diagram illustrating an example of the criteria stored in the criteria storage unit of the file checking device of the first embodiment. [Figure 6] FIG. 6 is a diagram illustrating an example of a process flow in which the criterion generating unit of the file checking device of the first embodiment restores the criterion. [Figure 7] FIG. 7 is a diagram illustrating an example of a process flow for directly providing an anonymization determination criterion to the file checking device of the first embodiment and checking the integrity of a file. [Figure 8] FIG. 8 is a diagram illustrating an example of a process flow for registering an anonymization determination criterion in a shared base and verifying the integrity of a file in the file verification device of the first embodiment. [Figure 9] FIG. 9 is a flowchart illustrating an example of a process procedure in which the file checking device generates a masking determination criterion. [Figure 10] FIG. 10 is a flowchart illustrating an example of a processing procedure in which the file checking device checks the integrity of a file by using the anonymization determination criterion. [Figure 11] FIG. 11 is a diagram illustrating an example of the configuration of a computer that executes a file checking program. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] Hereinafter, a first embodiment, which is a form (embodiment) for carrying out the present invention, will be described with reference to the drawings. The present invention is not limited to the embodiment. The file checking device 10 checks whether there is a difference between a list showing a combination of a file path in the judgment target device 1 and a hash value of file data as a judgment criterion and a file path in the device and a hash value of the file data, thereby checking the integrity of the file in the device. The file checking device 10 generates a new judgment criterion (hereinafter, anonymization judgment criterion) including digested information (hereinafter, anonymization path) instead of the file path included in the judgment criterion so that the file path is not passed to a third party, and performs integrity checking using the anonymization judgment criterion. In this way, the file checking device 10 checks the integrity of the file in the device while reducing the risk of the file path being leaked.
[0015] All or part of the functions of the file checking device 10 may be included in the device to be judged 1, or may be a device separate from the device to be judged 1, but in the following, the file checking device 10 will be described as being a device separate from the device to be judged 1. The process for generating anonymization criteria and the process for checking integrity using the anonymization criteria may be performed by separate devices, but in the following, the file checking device 10 will be described as having a function for performing both the process for generating anonymization criteria and the process for checking integrity using the anonymization criteria.
[0016] [First embodiment] First, a description will be given of the configuration of the file checking device 10 shown in Fig. 1. As shown in the figure, the file checking device 10 has a communication unit 11, a control unit 12, and a storage unit 13. The processing of each unit of the file checking device 10 will be described below.
[0017] The communication unit 11 controls communication related to various information. For example, the communication unit 11 controls communication related to various information exchanged between the determination target device 1 and the file checking device 10 or an information processing device connected via a network. For example, the communication unit 11 receives file information of the determination target device 1 from the determination target device 1.
[0018] Next, the storage unit 13 will be described. The storage unit 13 stores data and programs necessary for various processes by the control unit 12, and has a file storage unit 13a, a digest value generation condition storage unit 13b, an anonymization criterion storage unit 13c, an anonymization list storage unit 13d, a criterion storage unit 13e, and a file path list storage unit 13f. For example, the storage unit 13 is a semiconductor memory element such as a RAM (Random Access Memory) or a flash memory, or a storage device such as a hard disk or an optical disk.
[0019] The file storage unit 13a stores file information including a file path and file data in the determination target device 1 acquired by an acquisition unit 14 described later.
[0020] The digest value generation condition storage unit 13b stores digest value generation conditions, which are conditions for generating a concealed path, which is a digest value, from a file path. Fig. 2 is a diagram showing an example of digest value generation conditions stored in the digest value generation condition storage unit 13b of the file verification device 10 of the first embodiment. As shown in Fig. 2, the digest value generation condition storage unit 13b stores, as digest value generation conditions, conditions such as a "digesting algorithm" which is an algorithm for obtaining a digest value, a "digesting repetition count" which is the number of times digesting is repeated, and a "character string added to a file path" which is a character string added before and after a file path when digesting.
[0021] The digest value generation conditions in the digest value generation condition storage unit 13b can be set arbitrarily by the user. The digest value generation condition storage unit 13b transmits the digest value generation conditions to the anonymization path generation unit 15a, which will be described later. The anonymization path generation unit 15a calculates a digest value (anonymization path) of a file path according to the digest value generation conditions received from the digest value generation condition storage unit 13b.
[0022] The anonymization criterion storage unit 13c stores anonymization criteria generated by the anonymization criterion generation unit 15b described later. Fig. 3 is a diagram showing an example of anonymization criteria stored in the anonymization criterion storage unit 13c of the file checking device 10 of the first embodiment. As illustrated in Fig. 3, the anonymization criterion storage unit 13c stores anonymization paths and hash values of file data in association with each other. Note that the anonymization criterion storage unit 13c may store anonymization criteria generated in advance, or may store anonymization criteria provided by a user.
[0023] The anonymization list storage unit 13d stores an anonymization list. The anonymization list is a list showing a combination of a file path in the determination target device 1 and an anonymization path generated by the anonymization path generation unit 15a. Fig. 4 is a diagram showing an example of an anonymization list stored in the anonymization list storage unit 13d of the file checking device 10 of the first embodiment. As illustrated in Fig. 4, the anonymization list storage unit 13d stores a file path in the determination target device 1 and an anonymization path generated in the determination target device 1.
[0024] The criterion storage unit 13e stores the criterion generated by the criterion generation unit 15d described later. Fig. 5 is a diagram showing an example of the criterion stored in the criterion storage unit 13e of the file checking device 10 of the first embodiment. As shown in Fig. 5, the criterion storage unit 13e stores the criterion in which the file path and the hash value of the file data are associated with each other.
[0025] The file path list storage unit 13f stores the actual file path and the hash value of the file data of the determination target device 1. For example, at this time, the file path list storage unit 13f stores the hash value of the file data in the determination target device 1 calculated by the calculation unit 16a described later.
[0026] Next, the control unit 12 will be described. The control unit 12 has an internal memory for storing programs that define various processing procedures and required data, and executes various processes using these. For example, the control unit 12 has an acquisition unit 14, a generation unit 15, and a collation unit 16. Here, the control unit 12 is an electronic circuit such as a CPU (Central Processing Unit) or an MPU (Micro Processing Unit), or an integrated circuit such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array).
[0027] The acquisition unit 14 acquires a file path of the determination target device 1, which is an object of the file integrity judgment. For example, the acquisition unit 14 acquires file information including a file path and file data in the determination target device 1, and stores the acquired file path and file information including the file data in the file storage unit 13a.
[0028] Furthermore, the acquisition unit 14 may acquire anonymization determination criteria provided by a third party from outside via the communication unit 11, and store the anonymization determination criteria in the anonymization determination criteria storage unit 13c.
[0029] Next, the generating unit 15 will be described. The generating unit 15 generates an anonymization path, an anonymization criterion, an anonymization list, and a criterion. For example, the generating unit 15 includes an anonymization path generating unit 15a, an anonymization criterion generating unit 15b, an anonymization list generating unit 15c, and a criterion generating unit 15d.
[0030] Furthermore, the anonymization path generating unit 15a generates an anonymization path for each file path by digesting the file path acquired by the acquiring unit 14. Here, the anonymization path is a value obtained by digesting the file path to reduce the amount of information. For example, the anonymization criterion generating unit 15b reads out the digest value generation condition from the digest value generation condition storage unit 13b, and calculates a digest value (anonymization path) from the file path in the criterion according to the digest value generation condition.
[0031] Furthermore, when generating a concealment path, the concealment path generating unit 15a may receive settings of arbitrary digest value generation conditions from a user and generate a concealment path in accordance with the digest value generation conditions.
[0032] The anonymization criterion generating unit 15b generates an anonymization criterion by linking the anonymization path generated by the anonymization path generating unit 15a with a hash value obtained by digesting the file data stored in the device to be determined 1, and listing the linked anonymization criterion.
[0033] For example, the anonymization criterion generating unit 15b generates a list in which anonymization paths and hash values of file data are associated with each other, as exemplified in Fig. 3. That is, as shown in Fig. 3, the anonymization criterion generating unit 15b generates anonymization criterion, which is a new criterion in which the file path in the determination target device 1 is replaced with anonymization paths in a conventional list indicating a combination of the file path and the hash value of the file data. Then, the anonymization criterion generating unit 15b outputs the generated anonymization criterion. Note that the method of outputting the anonymization criterion may be any method as long as it is possible to output the anonymization criterion to provide it to the importer of the device.
[0034] The anonymization list generating unit 15c generates an anonymization list that links and lists the file paths stored in the determination target device 1 and the anonymization paths generated by the anonymization path generating unit 15a. For example, when checking the integrity of a file, the anonymization list generating unit 15c acquires a list of file paths in the determination target device 1, generates anonymization paths that are digest values of the file paths based on the same digest value generation conditions as those used when generating the anonymization determination criteria, and generates a list of combinations of file paths and anonymization paths.
[0035] As illustrated in FIG. 4, the anonymization list generation unit 15c generates an anonymization list, which is a list showing combinations of the anonymization paths generated by the anonymization path generation unit 15a and file paths within the device, based on the file paths within the device to be determined.
[0036] The criterion generation unit 15d generates a criterion by linking the file path with a hash value obtained by digesting the file data, using the anonymization criterion generated by the anonymization criterion generation unit 15b and the anonymization list generated by the anonymization list generation unit 15c.
[0037] For example, the criterion generating unit 15d compares the anonymization path included in the anonymization criterion generated by the anonymization criterion generating unit 15b with the anonymization path included in the anonymization list generated by the anonymization list generating unit 15c, and if there is an identical anonymization path, obtains a hash value of file data corresponding to the anonymization path from the anonymization criterion and obtains a file path corresponding to the anonymization path from the anonymization list. Then, the criterion generating unit 15d generates a criterion by linking the obtained hash value with the file path, as illustrated in FIG.
[0038] Next, a description will be given of the collation unit 16. The collation unit 16 calculates a hash value for each file data in the judgment target device 1, and judges the integrity of the file based on the calculated hash value and a hash value included in the judgment criterion generated by the judgment criterion generation unit 15d.
[0039] The collation unit 16 includes a calculation unit 16a and a judgment unit 16b. The calculation unit 16a calculates a hash value for each file data in the judgment target device 1. The calculation unit 16a then stores the calculated hash value in the file path list storage unit 13f. The judgment unit 16b judges the integrity of the file based on the hash value calculated by the calculation unit 16a and the hash value included in the judgment criterion generated by the judgment criterion generation unit 15d.
[0040] 6 is a diagram showing an example of a process flow in which the criterion generating unit 15d of the file checking device 10 of the first embodiment restores the criterion. First, the acquiring unit 14 identifies which file path in the determination target device 1 is indicated by the anonymization path in the anonymization criterion. The anonymization path generating unit 15a generates an anonymization path based on the file path in the device. The anonymization list generating unit 15c generates an anonymization list (FIG. 4) which is a list indicating combinations of file paths in the device and anonymization paths.
[0041] Then, by comparing the anonymization paths in the anonymization list generated by the anonymization list generation unit 15c with the anonymization paths in the anonymization criteria, a list equivalent to the conventional criteria is generated, which shows a combination of file paths within the device and hash values in the anonymization criteria.
[0042] Then, from the file path found above, the calculation unit 16a calculates a hash value of the file data in the determination target device 1. By comparing the "hash value of the file data in the determination target device 1" calculated by the calculation unit 16a with the "hash value of the file data within the anonymization determination criteria", it becomes possible to confirm the integrity of the file.
[0043] Fig. 7 is a diagram showing an example of a process flow for directly providing anonymization criteria of the file checking device 10 of the first embodiment and checking the integrity of a file. As shown in Fig. 7, for example, a device manufacturer manufactures a device and ships it to the device manufacturer (intermediate). At that time, the judgment criteria are generated in advance and are directly provided. The "device" here is the same as the judgment target device 1.
[0044] Next, the equipment manufacturer (intermediate) receives the judgment criteria and the equipment from the equipment manufacturer. The equipment manufacturer (intermediate) uses the judgment criteria to check the integrity of the files in the equipment. After making the changes, the equipment manufacturer (intermediate) generates the anonymization judgment criteria for the equipment. The equipment manufacturer (intermediate) sets it so that access to the files in the equipment is not possible. The equipment manufacturer (intermediate) provides the anonymization judgment criteria directly to the user business operator and ships the equipment.
[0045] Next, the user company receives the anonymization criteria and the equipment from the equipment manufacturer (intermediate). The user company uses the anonymization criteria to check the integrity of the files in the equipment. After checking the integrity of the files in the equipment, the user company starts operation.
[0046] Fig. 8 is a diagram showing an example of a process flow for registering the anonymization criteria of the file checking device 10 of the first embodiment in a shared base and checking the integrity of a file. As shown in Fig. 8, for example, a device manufacturer manufactures a device and ships it to a device manufacturer (intermediate). At that time, the judgment criteria are generated in advance and registered in a shared base or the like.
[0047] Next, the device manufacturer (intermediate) receives the device from the device manufacturer. The device manufacturer (intermediate) obtains the judgment criteria through a shared infrastructure or the like, and uses the judgment criteria to check the integrity of the files in the device. After making the changes, the device manufacturer (intermediate) generates confidentiality judgment criteria for the device and registers them in the shared infrastructure or the like. The device manufacturer (intermediate) sets the files in the device so that they cannot be accessed, and ships the device to the user business operator.
[0048] Next, the user company receives the equipment from the equipment manufacturer (intermediate). The user company obtains the anonymization criteria through a shared platform, etc., and uses the anonymization criteria to check the integrity of the files in the equipment. After checking the integrity of the files in the equipment, the user company starts operation.
[0049] [An example of processing by a classification device] Next, an example of a processing procedure in which the file checking device 10 generates an anonymization determination criterion will be described with reference to Fig. 9. Fig. 9 is a flowchart showing an example of a processing procedure in which the file checking device 10 generates an anonymization determination criterion.
[0050] 9, the criterion generating unit 15d generates a conventional criterion composed of a combination of a file path and a hash value of file data (step S11). At this time, for example, the criterion generating unit 15d generates a conventional criterion composed of a combination of a file path and a hash value of file data in the same manner as in the past.
[0051] Next, the concealment path generating unit 15a sets digest value generation conditions and stores them in the digest value generation condition storage unit 13b in the judgment target device 1 (step S12). At this time, for example, the digest value generation condition storage unit 13b may store externally generated digest value generation conditions in advance. Also, at this time, for example, the digest value generation condition storage unit 13b may store changed digest value generation conditions.
[0052] Next, the anonymization path generating unit 15a calculates a digest value (anonymization path) from the file path in the criterion, and the anonymization criterion generating unit 15b generates an anonymization criterion using the anonymization path (step S13). For example, at this time, the anonymization path generating unit 15a calculates a digest value (anonymization path) from the file path in the criterion according to the digest value generation condition, and transmits the calculated anonymization path to the anonymization criterion generating unit 15b.
[0053] Next, the anonymization criterion generating unit 15b generates an anonymization criterion by using the anonymization path calculated by the anonymization path generating unit 15a (step S14). For example, at this time, as shown in FIG. 3, the anonymization criterion generating unit 15b generates an anonymization criterion by linking the anonymization path generated in step S13 with the hash value of the file data.
[0054] Next, the generated anonymization judgment criterion is provided to a third party such as a buyer of the equipment (step S15). For example, at this time, the anonymization judgment criterion may be provided directly to the third party such as a buyer of the equipment as shown in Fig. 7. Also, for example, as shown in Fig. 8, the anonymization judgment criterion may be registered in a shared infrastructure or the like, and the third party such as a buyer of the equipment may acquire the anonymization judgment criterion from the shared infrastructure or the like.
[0055] Next, an example of a processing procedure in which the file checking device 10 checks the integrity of a file using the anonymization determination criteria will be described with reference to Fig. 10. Fig. 10 is a flowchart showing an example of a processing procedure in which the file checking device 10 checks the integrity of a file using the anonymization determination criteria.
[0056] 10, the acquisition unit 14 acquires a list of file paths in the determination target device 1 (step S21). For example, at this time, the acquisition unit 14 may acquire the list of file paths in the determination target device 1 via the communication unit 11. Also, for example, if the file storage unit 13a stores file path information in advance, the acquisition unit 14 may acquire the list of file paths in the determination target device 1 from the file storage unit 13a.
[0057] Then, the anonymization path generating unit 15a generates a digest value (anonymization path) of the file path based on the digest value generation conditions stored in the digest value generation condition storage unit 13b (step S22). For example, at this time, when generating the anonymization path, the anonymization path generating unit 15a may receive a setting of an arbitrary digest value generation condition from the user and generate the anonymization path according to the digest value generation condition.
[0058] Next, the anonymization list generating unit 15c generates a list of combinations of file paths and anonymization paths (step S23). As illustrated in FIG. 4, the anonymization list generating unit 15c generates an anonymization list, which is a list indicating combinations of anonymization paths generated by the anonymization path generating unit 15a and file paths in the device, based on the file paths in the determination target device 1.
[0059] Next, the acquiring unit 14 acquires the anonymization judgment criterion from the shipper of the device or the like (step S24). For example, at this time, the acquiring unit 14 may acquire the anonymization judgment criterion provided directly from the device manufacturer or the like from outside as shown in Fig. 7. Also, for example, the acquiring unit 14 may acquire the anonymization judgment criterion registered in a shared platform or the like directly from the shared platform or the like as shown in Fig. 8.
[0060] Next, the criterion generating unit 15d compares the anonymization criterion and the anonymization list with the anonymization path to generate a criterion (step S25). For example, at this time, the anonymization criterion and the anonymization list are compared with each other with the anonymization path to generate a list (criterion) of combinations of file paths and hash values of file data.
[0061] Next, the calculation unit 16a calculates a hash value of the file data in the device based on the file path in the judgment criteria (step S26). For example, at this time, the calculation unit 16a stores the calculated hash value of the file data in the device in the file path list storage unit 13f.
[0062] Next, the determination unit 16b compares the hash value calculated in S26 with the hash value of the file data in the determination criteria to confirm the integrity of the file (step S27). For example, at this time, the determination unit 16b may store the determination result of the integrity of the file in the file path list storage unit 13f.
[0063] [Advantages of the first embodiment] In this way, the file verification device 10 according to the first embodiment acquires a file path of the device to be determined 1 that is the target of file integrity determination, generates an anonymization path for each file path, which is a value obtained by digesting the acquired file path, generates an anonymization determination criterion that lists the generated anonymization path and a hash value obtained by digesting the file data stored in the device to be determined 1, generates an anonymization list that lists the file paths stored in the device to be determined 1 and the generated anonymization path, generates a determination criterion by linking the file path and the hash value obtained by digesting the file data using the generated anonymization determination criterion and anonymization list, calculates a hash value for each file data in the device to be determined 1, and determines the integrity of the file based on the hash value and the hash value included in the determination criterion, thereby making it possible to verify the integrity of the files in the device while reducing the risk of the file path being leaked.
[0064] For example, in the file verification device 10 according to the first embodiment, a device manufacturer or the like defines judgment criteria, and the recipient of the device can verify the integrity of the device without the device shipper having to provide the file path within the device, which is confidential information, to a third party such as the recipient of the device.
[0065] In addition, user companies and other businesses that have received equipment can check the integrity of the equipment they have received based on the provided anonymization criteria.
[0066] For example, the file verification device 10 of embodiment 1 sets digest value generation conditions, which are conditions for generating a digest value, including conditions for an algorithm for obtaining a digest value that becomes a concealed path, conditions for the number of times digestion is repeated, and conditions for a string to be added to the file path when digesting, and can calculate a digest value for each file path using the digest value generation conditions.
[0067] A rainbow table attack is a known attack method against mechanisms that use digest values. When an attacker attacks the proposed method, the attacker may generate a large number of pairs of various assumed file paths and their corresponding digest values, and by comparing them with the digest values (hidden paths) in the criteria, the file paths may be revealed.
[0068] As a countermeasure against this, a mechanism is provided in which the conditions for generating a digest value (anonymous path) from a file path, such as the "algorithm for calculating the digest value," the "number of times digesting is repeated," and the "character string to be added to the file path when digesting" can be set arbitrarily, and the digest value (anonymous path) of the file path is calculated according to these conditions. The digest value generation conditions can also be stored in the device, and the digest value (anonymous path) can be calculated according to these conditions when verifying integrity. Furthermore, if the conditions are specified as being complex, an attacker would have to calculate an enormous number of pairs of expected file paths and their corresponding digest values, making it difficult to decrypt in a realistic amount of time.
[0069] In addition, the unit for generating digest values can be set to any larger unit (such as a directory unit) rather than on a file-by-file basis, which reduces the number of masking paths included in the judgment criteria and reduces the amount of information an attacker needs to infer file paths, thereby neutralizing attacks.
[0070] [program] The file checking device 10 described above can be implemented by installing a program as package software or online software on a desired computer. For example, by executing the above program on an information processing device, the information processing device can function as the file checking device 10 of each embodiment. The information processing device referred to here includes desktop or notebook personal computers. In addition, the information processing device also includes mobile communication terminals such as smartphones, mobile phones, and PHS (Personal Handyphone System), and further terminals such as PDAs (Personal Digital Assistants).
[0071] The file checking device 10 can also be implemented as a server device that provides services related to the above-mentioned processes to a client, the client being a terminal device used by the user. In this case, the server device may be implemented as a Web server, or may be implemented as a cloud that provides services related to the above-mentioned processes by outsourcing.
[0072] 11 is a diagram showing an example of a computer that executes a file checking program. The computer 1000 has, for example, a memory 1010 and a CPU 1020. The computer 1000 also 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 by a bus 1080.
[0073] The memory 1010 includes a read only memory (ROM) 1011 and a random access memory (RAM) 1012. The ROM 1011 stores a boot program such as a basic input output system (BIOS). The hard disk drive interface 1030 is connected to a hard disk drive 1090. The disk drive interface 1040 is connected to a disk drive 1100. 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 a mouse 1110 and a keyboard 1120, for example. The video adapter 1060 is connected to a display 1130, for example.
[0074] 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 prescribes each process executed by the file checking device 10 is implemented as a program module 1093 in which computer-executable code is written. The program module 1093 is stored, for example, in the hard disk drive 1090. For example, a program module 1093 for executing a process similar to the functional configuration of the file checking device 10 is stored in the hard disk drive 1090. The hard disk drive 1090 may be replaced by an SSD.
[0075] Furthermore, each piece of 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. Then, the CPU 1020 reads out the program module 1093 or the program data 1094 stored in the memory 1010 or the hard disk drive 1090 into the RAM 1012 as necessary, and executes them.
[0076] Note that the program module 1093 and the program data 1094 are not limited to being stored in the hard disk drive 1090, but may be stored in, for example, a removable storage medium and read 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 another computer connected via a network (such as a local area network (LAN) or wide area network (WAN)). The program module 1093 and the program data 1094 may then be read by the CPU 1020 from the other computer via the network interface 1070. [Explanation of symbols]
[0077] 1. Equipment subject to evaluation 10 File Verification Device 11 Communications Department 12 Control section 13 Storage section 13a File storage section 13b Digest value generation condition storage unit 13c Concealment criteria storage unit 13d Anonymization list storage unit 13e Judgment criteria storage section 13f File path list storage section 14 Acquisition Department 15 Generation part 15a Concealment path generation unit 15b Concealment Criteria Generation Unit 15c Anonymization list generation unit 15d Judgment criteria generation section 16 Matching section 16a Calculation part 16b Judgment part
Claims
1. An acquisition unit that acquires a file path of a determination target device that is a target for determining the integrity of a file; a concealment path generation unit that generates a concealment path for each file path acquired by the acquisition unit by digesting the file path; a masking determination criterion generation unit that generates a masking determination criterion by linking the masking path generated by the masking path generation unit and a hash value obtained by digesting file data stored in the determination target device to each other and listing the linked result; an anonymization list generating unit that generates an anonymization list by linking the file path stored in the determination target device and the anonymization path generated by the anonymization path generating unit; a criterion generation unit that generates a criterion by linking the file path with a hash value obtained by digesting the file data, using the anonymization criterion generated by the anonymization criterion generation unit and the anonymization list generated by the anonymization list generation unit; a comparison unit that calculates a hash value for each of the file data in the determination target device and determines the integrity of the file based on the hash value and a hash value included in the determination criterion generated by the determination criterion generation unit; A file checking device comprising:
2. The anonymization path generation unit sets digest value generation conditions as conditions for generating the digest value, including a condition for an algorithm for obtaining a digest value that becomes the anonymization path, a condition for the number of times digestion is repeated, and a condition for a character string to be added to the file path when the digestion is performed, and calculates the digest value of each of the file paths using the digest value generation conditions.
2. The file checking device according to claim 1.
3. The criterion generation unit compares the anonymization path included in the anonymization criterion with the anonymization path included in the anonymization list, and if there is an identical anonymization path, obtains a hash value of file data corresponding to the anonymization path from the anonymization criterion and obtains a file path corresponding to the anonymization path from the anonymization list, and generates the criterion by linking the obtained hash value with the file path.
2. The file checking device according to claim 1.
4. A file verification method executed by a file verification device, comprising: An acquisition step of acquiring a file path of a device to be judged for the integrity of a file; a concealment path generating step of generating, for each file path, a concealment path that digests the file path acquired by the acquisition step; a concealment determination criterion generating step of generating a list of concealment determination criteria by linking the concealment path generated by the concealment path generating step with a hash value obtained by digesting file data stored in the determination target device; an anonymization list generating step of generating an anonymization list by linking the file path stored in the determination target device and the anonymization path generated by the anonymization path generating step; a criterion generating step of generating a criterion by linking the file path with a hash value obtained by digesting the file data, using the anonymization criterion generated by the anonymization criterion generating step and the anonymization list generated by the anonymization list generating step; a step of calculating a hash value for each of the file data in the determination target device, and determining the integrity of the file based on the hash value and a hash value included in the determination criterion generated by the determination criterion generating step; A method for verifying a file, comprising:
5. An acquisition step of acquiring a file path of a determination target device that is a target for determining the integrity of a file; a concealment path generating step of generating, for each file path, a concealment path that digests the file path acquired by the acquisition step; a concealment determination criterion generating step of generating a list of concealment determination criteria by linking the concealment path generated by the concealment path generating step with a hash value obtained by digesting file data stored in the determination target device; an anonymization list generating step of generating an anonymization list in which the file path stored in the determination target device and the anonymization path generated by the anonymization path generating step are linked and listed; a criterion generating step of generating a criterion by linking the file path with a hash value obtained by digesting the file data, using the anonymization criterion generated in the anonymization criterion generating step and the anonymization list generated in the anonymization list generating step; calculating a hash value for each of the file data in the determination target device, and determining the integrity of the file based on the hash value and a hash value included in the determination criterion generated in the determination criterion generating step; A file verification program that causes a computer to execute the above steps.
Citation Information
Patent Citations
Device and method for monitoring alteration of digital contents, and recorded medium therefor
JP2001265217A
File management device and file management method
JP2019008376A
Collation information generation device, management system, and collation information generation method
JP2019008377A
Protecting user identifiable information in the transfer of telemetry data
US20160314315A1
