Security assurance device, security assurance method, and program
The security assurance device and method reproduce risk analysis on modified systems by using scenario and rule information to analyze data flows, ensuring security quality by comparing initial and modified system assessments.
Patent Information
- Application Number
- JP2023565717
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-12-07
- Publication Date
- 2024-10-16
- Estimated Expiration
- 2041-12-07
AI Technical Summary
Conventional risk analysis methods fail to reproduce security assessments on systems that have been modified or used differently at the transfer destination, compromising the security quality of the developed system.
A security assurance device and method that utilizes scenario information, data flow information, and rule information to reproduce risk analysis on the developed system by generating and analyzing data flows in the modified system, ensuring security quality through comparison with initial analysis results.
Enables the reproduction of risk analysis on systems that have undergone additional development, allowing for the detection of modifications and ensuring the security quality of the transferred system.
Smart Images

Figure 0007568139000001 
Figure 0007568139000002 
Figure 0007568139000003
Abstract
Description
[Technical field]
[0001] The technical field relates to a security assurance device and a security assurance method for analyzing risks to the security of a system, and further to a program for realizing these. To Regarding. [Background technology]
[0002] After a developed system is transferred to a user such as an end user or a secondary developer, if the developed system is modified or its usage is changed by the user at the transferee, the security quality of the additionally developed system (the transferred system) cannot be guaranteed. Therefore, it is desirable to reproduce the security risk analysis (e.g. vulnerability check) that was performed on the developed system at the transferee.
[0003] However, with conventional risk analysis such as binary checks and code checks, if the developed system is modified or the way it is used is changed, the same risk analysis performed on the developed system cannot be reproduced.
[0004] As a related technique, Patent Document 1 discloses a vulnerability risk assessment system for diagnosing risks due to vulnerabilities. The vulnerability risk assessment system of Patent Document 1 registers vulnerability information disclosed by vendors and incident information for each system device, compares the registered vulnerability information with the incident information, and performs risk assessment of the system device against vulnerabilities. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] Japanese Patent Application Publication No. 08-006783 Summary of the Invention [Problem to be solved by the invention]
[0006] However, the vulnerability risk assessment system of Patent Document 1 only performs risk assessment on the developed system, and does not assume risk assessment on the additionally developed system at the transfer destination. Therefore, the risk assessment performed on the developed system cannot be reproduced in the additionally developed system.
[0007] As one aspect, a security assurance device and a security assurance method capable of reproducing risk analysis performed on a developed system even in a system additionally developed by a transferee, and program The purpose is to provide. [Means for solving the problem]
[0008] In order to achieve the above object, a security assurance device in one aspect comprises: an acquisition unit that acquires scenario information generated for detecting a risk of a first system, first data flow information representing a data flow of the first system generated based on first history information acquired by an agent of the first system, rule information for analyzing the risk of the first data flow information, and first analysis result information representing a result of analyzing the risk of the first system; a generation unit that generates second data flow information representing a data flow of the second system based on second history information acquired by the agent after executing an attack on a second system based on the scenario information; and an analysis unit that analyzes a risk by using the second data flow information and the rule information; The present invention is characterized by having the following.
[0009] In order to achieve the above object, a security assurance method in one aspect includes: The computer an acquisition step of acquiring scenario information generated to detect a risk of a first system, first data flow information representing a data flow of the first system generated based on first history information acquired by an agent of the first system, rule information for analyzing the risk of the first data flow information, and first analysis result information representing a result of analyzing the risk of the first system; a generation step of generating second data flow information representing a data flow of the second system based on second history information acquired by the agent after executing an attack on a second system based on the scenario information; an analysis step of analyzing a risk using the second data flow information and the rule information; The present invention is characterized by having the following.
[0010] Furthermore, in order to achieve the above object, M is , The computer an acquisition step of acquiring scenario information generated to detect a risk of a first system, first data flow information representing a data flow of the first system generated based on first history information acquired by an agent of the first system, rule information for analyzing the risk of the first data flow information, and first analysis result information representing a result of analyzing the risk of the first system; a generation step of generating second data flow information representing a data flow of the second system based on second history information acquired by the agent after executing an attack on a second system based on the scenario information; an analysis step of analyzing a risk using the second data flow information and the rule information; Run Ruko It is characterized by: Effect of the Invention
[0011] One aspect is that the risk analysis performed on the developed system can be reproduced even in systems that are additionally developed at the transferee. [Brief description of the drawings]
[0012] [Figure 1] FIG. 1 is a diagram for explaining an example of a security assurance device. [Diagram 2] FIG. 2 is a diagram illustrating an example of a system including a security assurance device. [Diagram 3] FIG. 3 is a diagram illustrating an example of scenario information. [Figure 4] FIG. 4 is a diagram for explaining the data flow information. [Diagram 5] FIG. 5 is a diagram illustrating an example of the rule information. [Figure 6] FIG. 6 is a diagram for explaining the risk analysis. [Figure 7] FIG. 7 is a diagram illustrating an example of the first analysis result information. [Figure 8] FIG. 8 is a diagram for explaining an example of the second analysis result information. [Figure 9] FIG. 9 is a diagram illustrating an example of the verification result information. [Figure 10] FIG. 10 is a diagram for explaining an example of the operation of the security assurance device. [Figure 11] FIG. 11 is a diagram for explaining an example of the security assurance information. [Figure 12] FIG. 12 is a block diagram showing an example of a computer that realizes the security assurance device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] First, an overview will be given to facilitate understanding of the embodiments described below. Typically, when a system (first system) developed by a developer is transferred to a transferee (e.g., an end user, a secondary developer, etc.), a risk analysis is performed on the developed system, and once it is determined that there are no risks, the developed system is transferred to the transferee.
[0014] However, if the risk analysis performed on the system (second system) additionally developed at the transfer destination is a check using natural language, the checks performed at the time of development may not be possible. Also, if the system is modified or the method of use is changed at the transfer destination (additional development), the security quality of the additionally developed system cannot be guaranteed.
[0015] Through this process, the inventors have identified the problem of ensuring security quality even in an incrementally developed system, and have also derived a means for solving this problem.
[0016] That is, the inventor has derived a means for carrying out risk analysis that was carried out at the time of development even in an additionally developed system. As a result, since the risk analysis carried out at the time of development can be reproduced in an additionally developed system, the security quality can be guaranteed even in a transferred system.
[0017] Hereinafter, an embodiment will be described with reference to the drawings. In the drawings described below, elements having the same or corresponding functions are denoted by the same reference numerals, and repeated description thereof may be omitted.
[0018] (Embodiment) We will explain the security assurance device that guarantees the security quality of the additionally developed system. The security assurance device is a device that makes it possible to reproduce the risk analysis performed on the developed system (first system) on the additionally developed system (second system) at the transfer destination.
[0019] [Device configuration] 1 is a diagram for explaining an example of a security assurance device. The security assurance device 10 includes an acquisition unit 11, a generation unit 12, and an analysis unit 13.
[0020] The acquisition unit 11 acquires scenario information, first data flow information, rule information, and first analysis result information used in risk analysis of the first system.
[0021] Specifically, the acquisition unit 11 acquires scenario information, first data flow information, rule information, and first analysis result information stored in a storage device by a first risk analysis device that performed a risk analysis on the first system.
[0022] The scenario information is a scenario generated to detect a risk of the first system. The first data flow information is information representing a data flow of the first system (information representing a data flow diagram) generated based on first history information acquired by an agent of the first system.
[0023] The rule information is information for analyzing the risk of the first data flow information (information representing a data flow diagram). The first analysis result information is information representing the result of analyzing the risk of the first system.
[0024] In addition, as security assurance information for ensuring the security of the first system, the scenario information, the first data flow information, the rule information, and the first analysis result information may be associated with each other and stored in a storage device.
[0025] The generating unit 12 generates second data flow information based on second history information acquired by the agent after an attack is executed on the second system based on the scenario information.
[0026] Specifically, the security assurance device 10 first installs an agent having the same functions as the agent used by the developer in the second system and causes the agent to start collection processing. Next, an attack is executed based on the scenario information, and second history information is acquired from the second system by the installed agent during a period including the attack execution period. Then, the generation unit 12 generates second data flow information based on the acquired second history information.
[0027] The second data flow information is information that represents the flow of data in the second system and is generated based on second history information acquired by an agent of the second system.
[0028] The analysis unit 13 performs risk analysis using the second data flow information and the rule information. Specifically, the analysis unit 13 first acquires the second data flow information and the rule information. Next, the analysis unit 13 executes a collation process (matching process) using the rule information and the second data flow information.
[0029] The matching process is, for example, a process of detecting a portion (information representing a data flow: pattern) of the second data flow information (information representing a data flow diagram) that matches the rule information (information representing a data flow diagram).
[0030] Next, if the analysis unit 13 determines that there is no part of the second data flow information that matches the rule information as a result of the comparison, it determines that there is no risk to the second system regarding the rule information. On the other hand, if the analysis unit 13 determines that there is a part of the second data flow information that matches the rule information, it determines that there is a possibility of a risk to the second system regarding the rule information.
[0031] Furthermore, the analysis unit 13 analyzes the risk using the second data flow information and the rule information, and then generates second analysis result information representing the result of the analysis of the risk of the second system.
[0032] As described above, in the embodiment, by using the scenario information and rule information used in the first system, the risk analysis performed in the first system can be reproduced in the second system.
[0033] In addition, by comparing the first analysis result information of the developer with the second analysis result information of the transferee, it is possible to detect whether the first system has been altered or its usage has been changed, thereby ensuring the security quality of the second system.
[0034] [System Configuration] Fig. 2 is a diagram for explaining an example of a system including a security assurance device. The system 100 shown in Fig. 2 includes a first system 1 and a risk analysis device 20 developed in a developer's development environment (developer's network 3), a second system 30 and a security assurance device 10 developed in a transferee's development environment (transferee's network 32), a storage device 40, and an output device 50.
[0035] The risk analysis device 20 is a device that determines the presence or absence of a security risk based on the flow of data in the first system 1. The risk analysis device 20 is connected to the first system 1 and the storage device 40 via a network or the like.
[0036] The risk analysis device 20 is, for example, an information processing device such as a CPU (Central Processing Unit), a programmable device such as an FPGA (Field-Programmable Gate Array), a GPU (Graphics Processing Unit), or a circuit equipped with any one or more of these, a server computer, a personal computer, or a mobile terminal.
[0037] The first system 1 is a system developed by a developer that is to be analyzed. The first system 1 is composed of devices such as a server computer, a terminal device, and a database. The first system 1 may be, for example, an authentication system. However, the first system 1 is not limited to an authentication system.
[0038] The network is a general network constructed using communication lines such as the Internet, a LAN (Local Area Network), a dedicated line, a telephone line, an in-house network, a mobile communication network, Bluetooth (registered trademark), and WiFi (Wireless Fidelity).
[0039] The storage device 40 is a device that stores scenario information, rule information, first data flow information, and first analysis result information. The storage device 40 is a device such as a server computer, a database, or a memory. In the example of FIG. 2, the storage device 40 is provided outside the risk analysis device 20, but may be provided as an internal memory of the risk analysis device 20. internal It may also be provided in.
[0040] The risk analysis device developed by the developer will now be described in detail. The risk analysis device 20 includes a control unit 21, a generation unit 22, and an analysis unit 23, as shown in FIG.
[0041] The control unit 21 controls the installation and uninstallation of the agent 2 that executes a collection process for collecting first history information from the first system 1. The control unit 21 controls the installed agent 2 to start and end collection of the first history information.
[0042] The first history information is information related to data generated by executing a program in the first system 1, data exchanged in the first system 1, etc. The first history information is, for example, a system call, a snapshot, etc. The program is an authentication program when the first system 1 is an authentication system.
[0043] The control unit 21 acquires the scenario information stored in the storage device 40, and executes one or more processes (e.g., an attack scenario, etc.) based on the scenario information for the first system 1. Specifically, after the collection process by the agent 2 installed in the first system 1 is started, the control unit 21 starts one or more processes described in the scenario information (e.g., a test code, etc.).
[0044] Thereafter, after the multiple processes described in the test code are completed and access right information, which will be described later, is acquired, the control unit 21 ends the collection process by the agent 2 and uninstalls the agent 2.
[0045] The scenario information is, for example, a test code created for the purpose of verifying the operation of the first system 1. In the case of an authentication system, the processing can be, for example, a processing for transferring user information received by a server computer to another server computer, a processing for performing user authentication in another server computer for user information received from a server computer, and a processing for storing and managing user information of a user authenticated in a server computer in a database.
[0046] Fig. 3 is a diagram for explaining an example of scenario information. Fig. 3 shows a scenario written in the Docker language. Some of the test code in Fig. 3 has been omitted for ease of understanding.
[0047] The scenario in Figure 3 is a test code that sets file permissions to full permissions. The test code in Figure 3 first downloads an image from the registry. Then, it starts Docker and executes the test file.
[0048] Next, set the file permissions to full permissions by writing "chmod 777 file.txt". Next, start the first system 1 and access the first system 1 by writing "curl localhost:8080 > result.txt".
[0049] Next, a risk analysis is executed using the rule "rule_001" described below based on the description of "rule_001". Then, the result of the risk analysis is used to generate an analysis result described below.
[0050] Furthermore, the control unit 21 acquires first access right information for a file accessed by a program executed based on the scenario information. The first access right information is information related to an access right set for a file accessed by a program executed in the first system 1.
[0051] The generating unit 22 has a function equivalent to that of the above-mentioned generating unit 12. Specifically, the generating unit 22 first generates first data flow information representing a data flow in the first system 1 based on the first history information, or the first history information and the first access right information. The first data flow information is automatically generated using a known technology or the like.
[0052] For example, Agent 2 uses sysdig or Audit in the case of Linux (registered trademark), or ETW (Event Tracing for Windows) in the case of Windows, to collect information such as which process accessed which file, which process was started, and which socket was used for communication. Based on this information, it grasps the data flow between processes, files, and sockets and generates data flow information.
[0053] The first data flow information includes node information and flow information. The flow information is information that represents the flow of data between nodes (elements) (information that represents a data flow diagram). For example, the flow information includes flow identification information for identifying a flow, start node information that represents a node that is a start point, and end node information that represents a node that is an end point.
[0054] The flow identification information is, for example, information that indicates a process resulting from an exchange performed between elements (information related to the flow of data). The flow identification information may be, for example, information related to reading, writing, sending, receiving, starting, stopping, etc. of a file. However, the flow identification information is not limited to the above-mentioned information.
[0055] Node information includes information that represents elements such as process information, data store information, and source / absorption information. Process information is information that represents data processing. Data store information is information that represents a temporary data storage location, such as information that represents a file or database. Source / absorption information is information that represents, for example, a person or organization outside the analyzed system. Sources are elements that pass data to the analyzed system. Absorption is information that represents the data that is being transferred from the analyzed system to the analyzed system. from This is the element that receives the data.
[0056] Fig. 4 is a diagram for explaining data flow information. Fig. 4A is a diagram showing a data flow diagram. Fig. 4B is a diagram showing data flow information used to create the data flow diagram of Fig. 4A. The example of Fig. 4 shows a flow showing process #1 starting process #2, a flow showing process #2 sending data to process #3, and a flow showing process #2 reading data from a file.
[0057] In the example of Figure 4, a table is used, but the data flow is not limited to a table, and any description that can express a data flow diagram can be used. For example, descriptions based on a relational database, a graph database, etc. are also acceptable.
[0058] The analysis unit 23 has the same functions as the above-mentioned analysis unit 13. The analysis unit 23 uses the rule information stored in the storage device 40 to refer to the first data flow information and judges whether or not there is a risk in the first data flow information (judges whether or not there is a security risk in the first data flow information).
[0059] The rule information is information for detecting risks from the first data flow information. The rule information has one or more rules (judgment conditions). The rules are generated manually or automatically based on, for example, a check sheet (rule description specification) for checking whether or not the first system 1 has vulnerabilities.
[0060] The checklist will be generated based on disclosed information about system vulnerabilities or incidents, such as CVE (Common Vulnerabilities and Exposures) and CWE (Common Weakness Enumeration).
[0061] Fig. 5 is a diagram for explaining an example of rule information. Fig. 5A is a diagram showing an example of a rule description. Note that the description in Fig. 5A is a rule described in the Cypher language. Fig. 5B is a diagram showing the description in Fig. 5A in the form of a data flow diagram. Note that a part of the description in Fig. 5A is omitted for ease of understanding.
[0062] In A of Fig. 5, a rule named "rule_001" is described. The description of the MATCH clause in A of Fig. 5 uses node information and flow information to represent a pattern (data flow diagram) like that shown in B of Fig. 5.
[0063] The MATCH clause also has identifiers "file", "proc", and "socket" for reference in the WHERE clause. ":File" indicates data store information, ":read" indicates flow identification information representing reading, ":Process" indicates process information, and "socket:send" indicates flow identification information representing socket sending.
[0064] The description "proc.md5 == xxx..." indicates that "proc" is the program to be analyzed, as described in the comment A in Figure 5. "socket.protocol == 'HTTP'" indicates access to the web. "file.permission == 777" indicates that the file permissions are set to 777. Permissions of 777 indicate full authority. In other words, it indicates that there is a vulnerability.
[0065] In the example of FIG. 5, the Cypher language is used, but the description of the rules is not limited to the Cypher language, and any description that can detect risks from data flow information may be used.
[0066] Fig. 6 is a diagram for explaining risk analysis. First, the analysis unit 23 acquires rule information 62 generated based on a risk check sheet 61 and first data flow information 63. In the example of Fig. 6, a data flow diagram 64 of the first data flow information 63 is auxiliary shown for ease of explanation.
[0067] Next, the analysis unit 23 uses the pattern (information representing a data flow diagram) defined in the rules of the rule information 62 to determine whether there is any part that matches the pattern (information representing a data flow diagram) defined in the first data flow information 63.
[0068] When the first data flow information 63 contains a portion that matches the rule, the analysis unit 23 determines that the portion that matches the rule may be a risk.
[0069] In the example of FIG. 6, risk detection 66 (dashed area) in data flow diagram 64 represents the portion that matches the rule.
[0070] Next, the analysis unit 23 generates the first analysis result information 65 based on the detection result as described above. FIG. 7 is a diagram for explaining an example of the first analysis result information. In the "rule identification information" of the first analysis result information in FIG. 7, "rule_001", "rule_002", ... "rule_999" representing the names of the rules are shown. In the "first analysis result" of FIG. 7, the result of the risk analysis of the first system 1 is shown. In the example of FIG. 7, "Pass" is shown as the result of the risk analysis. "Pass" indicates that there was no part that matched the rule. In the "check item" of FIG. 7, the check items "CVE2021-1234", "CVE2021-5678", ... "CVE2021-9012" of the check sheet that is the basis of the rule are shown. Note that the developer will debug until all rules are "pass".
[0071] The details of the security assurance device to which the information is to be transferred will now be described. The security assurance device 10 is a device that judges the presence or absence of a security risk based on the data flow in the second system 30, and guarantees the security quality of the second system 30 based on the judgment result.
[0072] The security assurance device 10 is connected to a storage device 40, a second system 30, and an output device 50 via a network or the like.
[0073] The second system 30 is a system that is the target of analysis of the transferee. The second system 30 is composed of devices such as a server computer, a terminal device, and a database. The second system 30 may be, for example, an authentication system. However, the second system 30 is not limited to an authentication system.
[0074] The network and the storage device 40 have already been described, so a description of the network and the storage device 40 will be omitted.
[0075] The output device 50 acquires the output information converted into an outputtable format, and outputs the generated image and sound based on the output information. The output device 50 is, for example, an image display device using a liquid crystal, an organic EL (Electro Luminescence), or a CRT (Cathode Ray Tube). Furthermore, the image display device may include an audio output device such as a speaker. The output device 50 may also be a printing device such as a printer.
[0076] The security assurance device 10 is, for example, an information processing device such as a CPU (Central Processing Unit), a programmable device such as an FPGA (Field-Programmable Gate Array), a GPU (Graphics Processing Unit), or a circuit equipped with any one or more of these, a server computer, a personal computer, a mobile terminal, or the like.
[0077] The security assurance device 10 includes an acquisition unit 11, a risk analysis device 20', and a verification unit 15 as shown in FIG.
[0078] The acquisition unit 11 acquires the scenario information, the first data flow information, the rule information, and the first analysis result information used in the risk analysis of the first system 1 from the storage device 40. Specifically, the acquisition unit 11 acquires security assurance information.
[0079] The risk analysis device 20′ has the same functions as the above-described risk analysis device 20. The risk analysis device 20′ has a control unit 14, a generation unit 12, and an analysis unit 13.
[0080] The control unit 14 has functions equivalent to those of the above-mentioned control unit 21. The control unit 14 controls the installation and uninstallation of an agent 31 that executes a collection process for collecting second history information from the second system 30. The control unit 14 controls the installed agent 31 to start and end collection of the second history information. The agent 31 has functions equivalent to those of the above-mentioned agent 2.
[0081] The control unit 14 acquires the scenario information stored in the storage device 40, and executes one or more processes based on the scenario information for the second system 30. Specifically, after the collection process by the agent 31 installed in the second system 30 is started, the control unit 14 starts one or more processes described in the scenario information (e.g., test code, etc.).
[0082] Thereafter, after the multiple processes described in the test code are completed and access right information, which will be described later, is acquired, the control unit 14 causes the agent 31 to terminate the collection process and uninstalls the agent 31.
[0083] The control unit 14 also acquires second access right information for a file accessed by the program executed based on the scenario information. The second access right information is information about the access authority set for a file accessed by the program executed in the second system 30.
[0084] The generation unit 12 first generates second data flow information representing a data flow in the second system 30 based on the second history information or the second history information and the second access right information. The second data flow information is automatically generated using a known technique or the like.
[0085] The second data flow information includes node information and flow information. Note that the node information and flow information have already been explained, so explanation of the node information and flow information will be omitted.
[0086] It should be noted that if the second system 30 is modified or the method of use is changed, the contents of the second data flow information may differ from the contents of the first data flow information.
[0087] The analysis unit 13 uses the rule information stored in the storage device 40 to refer to the second data flow information and determine whether or not there is a risk in the second data flow information (determines whether or not there is a security risk in the data flow information).
[0088] Specifically, the analysis unit 13 compares the rule information (information representing a data flow diagram) with the second data flow information (information representing a data flow diagram), and if there is no part in the second data flow information that matches the rule information, it determines that there is no risk to the second system 30 regarding the rule information.
[0089] In this manner, when the second data flow information contains a portion that matches the rule information, the analysis unit 13 determines that there is a possibility of a risk to the second system 30 regarding the rule information.
[0090] Next, when it is determined that there is a possibility of risk to the second system 30 with respect to the rule information, the analysis unit 13 further determines whether or not the node information included in the data flow information of the matching portion matches the node information of the corresponding first data flow information. For example, it determines whether a file has been rewritten.
[0091] If the node information included in the data flow information of the matching portion all matches the node information of the corresponding first data flow information, the analysis unit 13 judges that there is a risk in the second system 30 with respect to the rule information ("Fail"). In other words, since it matches the same rule as the first system 1, it is judged that there is also a risk in the second system 30. The reason for the "Fail" is thought to be a mistake by the developer, since there was a risk under the same conditions as the developer.
[0092] If the node information included in the data flow information of the matching portion does not match in part or in whole with the node information of the corresponding first data flow information, the analysis unit 13 judges that there is a risk in the second system 30 with respect to the rule information, but the usage situation is different ("NA") from that of the first system 1. The reason for the "NA" is considered to be that a risk has arisen due to additional development at the transferee.
[0093] Next, the analysis unit 13 generates second analysis result information based on the detection result as described above. FIG. 8 is a diagram for explaining an example of the second analysis result information. In the "rule identification information" of the second analysis result information in FIG. 8, "rule_001", "rule_002", . . . "rule_999", which represent the names of the rules, are shown. In the "first analysis result" of FIG. 8, the result of the risk analysis of the first system 1 is shown. In the example of FIG. 8, "Pass" is shown as the result of the risk analysis. "Pass" indicates that there was no part that matched the rule.
[0094] The "Second Analysis Result" in Fig. 8 shows the result of the risk analysis of the second system 30. In the example of Fig. 8, information "Fail" is shown, which indicates that there is a possibility of risk in the second system 30.
[0095] “NA” is information indicating that when there is a possibility of risk in the second system 30, the node information contained in the matching portion of the data flow information is partially different from the node information contained in the corresponding first data flow information.
[0096] In addition, the "Check Items" in Figure 8 shows the check items "CVE2021-1234," "CVE2021-5678," and "CVE2021-9012" from the checklist that is the basis for the rules.
[0097] The verification unit 15 uses the second analysis result information generated by the analysis unit 13 to generate verification result information (output information) to be output to the output device 50, and outputs it to the output device 50. The verification result information that is output to the output device 50 includes at least the date and time when the analysis was performed, and the second analysis result of the second analysis result information.
[0098] Fig. 9 is a diagram for explaining an example of the verification result information. For example, as shown in Fig. 9, in addition to the date and time, and the tabulation result of the second analysis result, detailed information may be output to the output device 50. The detailed information includes rule identification information of the rule determined to be risky, a data flow diagram corresponding to the rule, a check item corresponding to the rule, an explanation of the check item, etc.
[0099] In the example in Figure 9, the analysis date is displayed as "2021 / 09 / 28 10:19:57", and the aggregation results are displayed as "Pass:997" total, "NA:1" total, and "Fail:1" total.
[0100] In addition, in the example of Figure 9, detailed information is displayed including the rule identification information "rule_002" and "rule_999", a data flow diagram for "rule_002", the check item corresponding to the rule "CVE:CVE2021-5678", and an explanation of the check item "Communication with client is not encrypted".
[0101] Furthermore, as detailed information, condition information indicating the difference between the development source node and the transfer destination node, and solution information indicating a method for solving the risk may be displayed. In the example of Fig. 9, "The file config.txt is different from the one at the time of development" is displayed as the condition information. Also, in the example of Fig. 9, "Change to encrypt the settings" is displayed as the solution information.
[0102] [Device operation] The operation of the security assurance device 10 will be described. FIG. 10 is a diagram for explaining an example of the operation of the security assurance device. In the following description, the diagram will be referred to as appropriate. In addition, in the embodiment, the security assurance method is implemented by operating the security assurance device. Therefore, the explanation of the security assurance method in the embodiment will be replaced by the following explanation of the operation of the security assurance device.
[0103] The acquiring unit 11 first acquires scenario information, first data flow information, rule information, and first analysis result information (step A1). Specifically, in step A1, the acquiring unit 11 acquires security assurance information.
[0104] Next, the generating unit 12 generates second data flow information based on second history information acquired by the agent after an attack is executed on the second system 30 based on the scenario information (step A2).
[0105] Next, the analysis unit 13 selects a rule from the rule information (step A3). Next, the analysis unit 13 executes a matching process (collation) using the selected rule (information representing a data flow diagram) and second data flow information (information representing a data flow diagram) (step A4).
[0106] Next, if there is no part in the second data flow information that matches the selected rule (step A5: No), the analysis unit 13 determines that there is no risk to the second system 30 for the selected rule information. In that case, the analysis unit 13 associates "Pass" with the selected rule, which indicates that there is no part that matches the selected rule (step A6).
[0107] Furthermore, if the second data flow information has a portion that matches the selected rule (step A5: Yes), the analysis unit 13 determines that the rule information may pose a risk to the second system 30. In that case, the analysis unit 13 compares the nodes included in the matching portion (pattern) with the nodes of the first data flow information (step A7).
[0108] Next, if the node included in the part that matches the selected rule matches a node in the corresponding first data flow information (step A8: Yes), the analysis unit 13 determines that there is a risk in the second system 30 and associates "Fail" with the selected rule (step A9).
[0109] Furthermore, if the nodes included in the part that matches the selected rule do not match in whole or in part with the nodes in the corresponding first data flow information (step A8: No), the analysis unit 13 determines that there is a risk in the second system 30 but that its usage conditions are different from those of the first system 1, and associates "NA" with the selected rule (step A10).
[0110] Next, when the analysis unit 13 has finished matching all the rules (step A11: Yes), it generates second analysis result information based on the detection result (step A12). When the analysis unit 13 has not finished matching all the rules (step A11: No), it selects a new rule for the process of step A3.
[0111] (Modification) Furthermore, as a modified example, a function for generating security assurance information may be provided in the developer's risk analysis device 20. Fig. 11 is a diagram for explaining an example of security assurance information.
[0112] Figure 11 shows security assurance information written in the Docker language. Some of the test code in Figure 11 has been omitted for ease of understanding.
[0113] The security guarantee information in FIG. 11 is created for each scenario. In the example of FIG. 11, the security guarantee information has container information, first data flow information, scenario information, hash information, and signature information.
[0114] The container information is information about the container used in the first system 1 or the second system 30. In the example of FIG. 11, the container information (e.g., Docker Content Trust information) is <container> and< / container> described between. Also, the first data flow information of the first system 1 is <dfd> and< / dfd> described between. Also, the scenario information is <script>と< / script> described between. Also, the hash information ( <scenario> from< / scenario> hash value up to) is <hash> and< / hash> described between. Also, the signature information of the hash information is described between <signature> and < / signature>.
[0115] [Effects of the Embodiment] As described above, in the embodiment, by using the scenario information and rule information used in the first system, the risk analysis performed in the first system can be reproduced in the second system.
[0116] Also, by comparing the first analysis result information of the developer and the second analysis result information of the transferee, it can be detected that the first system has been modified or the usage method has been changed at the transferee.
[0117] Also, when it is determined that there is a risk in the second system (when the analysis result is NG), it becomes clear whether it is the responsibility of the developer or the transferee. As a result, the security quality of the second system can be guaranteed.
[0118] [Program] The program in the embodiment may be a program that causes a computer to execute steps A1 to A12 shown in Fig. 10. By installing and executing this program in a computer, the security assurance device and security assurance method in the embodiment can be realized. In this case, the processor of the computer functions as the acquisition unit 11, the control unit 14, the generation unit 12, the analysis unit 13, and the verification unit 15, and performs processing.
[0119] The program in the embodiment may be executed by a computer system constructed by a plurality of computers. In this case, for example, each computer may function as any one of the acquisition unit 11, the control unit 14, the generation unit 12, the analysis unit 13, and the verification unit 15.
[0120] [Physical configuration] Here, a computer that realizes the security assurance device by executing the program in the embodiment will be described with reference to Fig. 12. Fig. 12 is a block diagram showing an example of a computer that realizes the security assurance device in the embodiment.
[0121] 12, the computer 110 includes a CPU (Central Processing Unit) 111, a main memory 112, a storage device 113, an input interface 114, a display controller 115, a data reader / writer 116, and a communication interface 117. These components are connected to each other via a bus 121 so as to be able to communicate data with each other. Note that the computer 110 may include a GPU or an FPGA in addition to the CPU 111 or instead of the CPU 111.
[0122] The CPU 111 loads the programs (codes) in the embodiment stored in the storage device 113 into the main memory 112 and executes them in a predetermined order to perform various calculations. The main memory 112 is typically a volatile storage device such as a dynamic random access memory (DRAM). The programs in the embodiment are provided in a state stored in a computer-readable recording medium 120. The programs in the embodiment may be distributed on the Internet connected via the communication interface 117. The recording medium 120 is a non-volatile recording medium.
[0123] Specific examples of the storage device 113 include a hard disk drive and a semiconductor storage device such as a flash memory. The input interface 114 mediates data transmission between the CPU 111 and input devices 118 such as a keyboard and a mouse. The display controller 115 is connected to a display device 119 and controls the display on the display device 119.
[0124] Data reader / writer 116 mediates data transmission between CPU 111 and recording medium 120, reads programs from recording medium 120, and writes processing results in computer 110 to recording medium 120. Communication interface 117 mediates data transmission between CPU 111 and other computers.
[0125] Specific examples of recording medium 120 include general-purpose semiconductor storage devices such as CF (Compact Flash (registered trademark)) and SD (Secure Digital), magnetic recording media such as a flexible disk, or optical recording media such as a CD-ROM (Compact Disk Read Only Memory).
[0126] The security assurance device 10 in the embodiment can be realized by using hardware corresponding to each part, instead of a computer with a program installed. Furthermore, the security assurance device 10 may be partially realized by a program and the remaining part by hardware.
[0127] [Note] The following supplementary notes are further disclosed regarding the above-described embodiments. A part or all of the above-described embodiments can be expressed by (Supplementary Note 1) to (Supplementary Note 12) described below, but are not limited to the following descriptions.
[0128] (Appendix 1) an acquisition unit that acquires scenario information generated for detecting a risk of a first system, first data flow information representing a data flow of the first system generated based on first history information acquired by an agent of the first system, rule information for analyzing the risk of the first data flow information, and first analysis result information representing a result of analyzing the risk of the first system; a generation unit that generates second data flow information representing a data flow of the second system based on second history information acquired by the agent after executing an attack on a second system based on the scenario information; and an analysis means for analyzing a risk by using the second data flow information and the rule information; A security assurance device having the following:
[0129] (Appendix 2) 2. A security assurance device according to claim 1, The analysis unit compares the rule information with the second data flow information, and if there is no part in the second data flow information that matches the rule information, determines that there is no risk to the second system for the rule information, and if there is a part in the second data flow information that matches the rule information, determines that there is a possibility of a risk to the second system for the rule information. Security assurance device.
[0130] (Appendix 3) A security assurance device according to claim 2, When it is determined that there is a possibility of a risk to the second system for the rule information, if the node information included in the data flow information of the matching portion matches all of the node information of the corresponding first data flow information, the analysis unit determines that there is a risk to the first system for the rule information. Security assurance device.
[0131] (Appendix 4) A security assurance device according to claim 2 or 3, When it is determined that there is a possibility of a risk to the second system for the rule information, if node information included in the data flow information of the matching portion does not match in part or in whole with node information of the corresponding first data flow information, the analysis unit determines that there is a risk to the second system for the rule information. Security assurance device.
[0132] (Appendix 5) The computer an acquisition step of acquiring scenario information generated to detect a risk of a first system, first data flow information representing a data flow of the first system generated based on first history information acquired by an agent of the first system, rule information for analyzing the risk of the first data flow information, and first analysis result information representing a result of analyzing the risk of the first system; a generation step of generating second data flow information representing a data flow of the second system based on second history information acquired by the agent after executing an attack on a second system based on the scenario information; an analysis step of analyzing a risk using the second data flow information and the rule information; A security assurance method that performs the above.
[0133] (Appendix 6) A security assurance method according to claim 5, comprising: The analysis step compares the rule information with the second data flow information, and if there is no part of the second data flow information that matches the rule information, determines that there is no risk to the second system for the rule information, and if there is a part of the second data flow information that matches the rule information, determines that there is a possibility of a risk to the second system for the rule information. Security assurance methods.
[0134] (Appendix 7) A security assurance method according to claim 6, comprising: In the analysis step, when it is determined that there is a possibility of a risk to the second system for the rule information, if node information included in the data flow information of the matching portion matches all node information of the corresponding first data flow information, it is determined that there is a risk to the first system for the rule information. Security assurance methods.
[0135] (Appendix 8) A security assurance method according to claim 6 or 7, In the analysis step, when it is determined that there is a possibility of a risk to the second system for the rule information, if node information included in the data flow information of the matching portion does not match part or all of the node information of the corresponding first data flow information, it is determined that there is a risk to the second system for the rule information. Security assurance methods.
[0136] (Appendix 9) On the computer, an acquisition step of acquiring scenario information generated to detect a risk of a first system, first data flow information representing a data flow of the first system generated based on first history information acquired by an agent of the first system, rule information for analyzing the risk of the first data flow information, and first analysis result information representing a result of analyzing the risk of the first system; a generation step of generating second data flow information representing a data flow of the second system based on second history information acquired by the agent after executing an attack on a second system based on the scenario information; an analysis step of analyzing a risk using the second data flow information and the rule information; A program that contains instructions to execute Hmm.
[0137] (Appendix 10) As described in Appendix 9 program And, The analysis step compares the rule information with the second data flow information, and if there is no part of the second data flow information that matches the rule information, determines that there is no risk to the second system for the rule information, and if there is a part of the second data flow information that matches the rule information, determines that there is a possibility of a risk to the second system for the rule information. program .
[0138] (Appendix 11) As described in Appendix 10 program And, In the analysis step, when it is determined that there is a possibility of a risk to the second system for the rule information, if node information included in the data flow information of the matching portion matches all node information of the corresponding first data flow information, it is determined that there is a risk to the first system for the rule information. program .
[0139] (Appendix 12) The method according to claim 10 or 11 program And, In the analysis step, when it is determined that there is a possibility of a risk to the second system for the rule information, if node information included in the data flow information of the matching portion does not match part or all of the node information of the corresponding first data flow information, it is determined that there is a risk to the second system for the rule information. program .
[0140] Although the invention has been described above with reference to the embodiments, the invention is not limited to the above-described embodiments. Various modifications that can be understood by those skilled in the art can be made to the configuration and details of the invention within the scope of the invention. [Industrial Applicability]
[0141] According to the above description, the risk analysis performed on the developed system can be reproduced on the transferred system. This is also useful in fields where analysis of attacks is required. [Explanation of symbols]
[0142] 1. First System 2. Agent 3. Developer Network 10. Security Assurance Device 11 Acquisition Department 12, 22 Generation part 13, 23 Analysis Department 14, 21 Control section 15 Verification Department 20, 20´ Risk Analysis Device 30 Second System 31 Agent 32 Transferee Network 40 Storage device 50 Output Device 100 Systems 110 Computer 111 CPU 112 Main memory 113 Storage device 114 Input Interface 115 Display Controller 116 Data Reader / Writer 117 Communication Interface 118 Input Devices 119 Display device 120 Recording media 121 Bus
Claims
1. an acquisition means for acquiring scenario information generated to detect a risk of a first system, first data flow information representing a data flow of the first system generated based on first history information acquired by an agent of the first system, rule information for analyzing the risk of the first data flow information, and first analysis result information representing a result of analyzing the risk of the first system; a generating means for generating second data flow information representing a data flow of the second system based on second history information acquired by the agent after executing an attack on a second system based on the scenario information; an analysis means for analyzing a risk by using the second data flow information and the rule information; A security assurance device having the following:
2. 2. A security assurance device according to claim 1, The analysis means compares the rule information with the second data flow information, and when there is no part in the second data flow information that matches the rule information, determines that there is no risk to the second system for the rule information, and when there is a part in the second data flow information that matches the rule information, determines that there is a possibility of a risk to the second system for the rule information. Security assurance device.
3. 3. A security assurance device according to claim 2, When it is determined that there is a possibility of a risk to the second system for the rule information, if the node information included in the data flow information of the matching portion matches all of the node information of the corresponding first data flow information, the analysis means determines that there is a risk to the first system for the rule information. Security assurance device.
4. A security assurance device according to claim 2 or 3, When it is determined that there is a possibility of a risk to the second system for the rule information, if node information included in the data flow information of the matching portion does not match in part or in whole with node information of the corresponding first data flow information, the analysis means determines that there is a risk to the second system for the rule information. Security assurance device.
5. The computer acquiring scenario information generated to detect a risk of a first system, first data flow information representing a data flow of the first system generated based on first history information acquired by an agent of the first system, rule information for analyzing the risk of the first data flow information, and first analysis result information representing a result of analyzing the risk of the first system; After executing an attack on a second system based on the scenario information, generating second data flow information representing a data flow in the second system based on second history information acquired by the agent; Analyzing risk using the second data flow information and the rule information Security assurance methods.
6. A security assurance method according to claim 5, In the risk analysis, the rule information is compared with the second data flow information, and if there is no part of the second data flow information that matches the rule information, it is determined that there is no risk to the second system with respect to the rule information, and if there is a part of the second data flow information that matches the rule information, it is determined that there is a possibility of a risk to the second system with respect to the rule information. Security assurance methods.
7. A security assurance method according to claim 6, comprising: In the risk analysis, if it is determined that there is a possibility of a risk to the second system for the rule information, and if the node information included in the data flow information of the matching portion entirely matches the node information held by the corresponding first data flow information, it is determined that there is a risk to the first system for the rule information. Security assurance methods.
8. A security assurance method according to claim 6 or 7, comprising: In the risk analysis, if it is determined that there is a possibility of a risk to the second system for the rule information, and if the node information included in the data flow information of the matching portion does not match in part or in whole with the node information of the corresponding first data flow information, it is determined that there is a risk to the second system for the rule information. Security assurance methods.
9. On the computer, acquiring scenario information generated for detecting a risk of a first system, first data flow information representing a data flow of the first system generated based on first history information acquired by an agent of the first system, rule information for analyzing the risk of the first data flow information, and first analysis result information representing a result of analyzing the risk of the first system; After executing an attack on a second system based on the scenario information, generating second data flow information representing a data flow in the second system based on second history information acquired by the agent; Analyzing risk using the second data flow information and the rule information A program containing instructions.
10. The program according to claim 9, In the risk analysis, the rule information is compared with the second data flow information, and if there is no part of the second data flow information that matches the rule information, it is determined that there is no risk to the second system with respect to the rule information, and if there is a part of the second data flow information that matches the rule information, it is determined that there is a possibility of a risk to the second system with respect to the rule information. program.
11. The program according to claim 10, In the risk analysis, when it is determined that there is a possibility of a risk to the second system for the rule information, if the node information included in the data flow information of the matching portion entirely matches the node information of the corresponding first data flow information, it is determined that there is a risk to the first system for the rule information. program.
12. The program according to claim 10 or 11, In the risk analysis, when it is determined that there is a possibility of a risk to the second system for the rule information, if node information included in the data flow information of the matching portion does not match part or all of the node information of the corresponding first data flow information, it is determined that there is a risk to the second system for the rule information. program.
Citation Information
Patent Citations
Software quality guarantee supporting device
JP1996006783A
Rule generation device, rule generation method, and computer readable storage medium
WO2020246227A1
Risk analysis result display device, method, and computer-readable medium
WO2021130943A1
