Attack control device, attack control system and program

The attack control device automates the management of multi-stage attacks and prioritizes successful commands to address inefficiencies in conventional penetration testing, improving detection speed and accuracy.

JP7571066B2Active Publication Date: 2024-10-22KK TOSHIBA
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2022001669
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-01-07
Publication Date
2024-10-22
Estimated Expiration
2042-01-07

AI Technical Summary

Technical Problem

Conventional methods for evaluating system vulnerabilities and security risks through penetration testing are inefficient in terms of time and accuracy due to the manual analysis of attack failures and the need to re-establish sessions during interrupted attacks.

Method used

An attack control device with detection, storage, and analysis units that automate the management of multi-stage attacks, identify session interruptions, and prioritize successful attack commands to optimize the testing process.

Benefits of technology

This approach reduces the time required for vulnerability detection and improves accuracy by automating session management and prioritizing successful attack scenarios, thereby enhancing system security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007571066000001
    Figure 0007571066000001
  • Figure 0007571066000002
    Figure 0007571066000002
  • Figure 0007571066000003
    Figure 0007571066000003
Patent Text Reader

Abstract

To shorten a time required for a test to detect vulnerability and improve detection accuracy.SOLUTION: An attack control device includes a detection unit, an attack result storage control unit, an attack result analysis unit, and an attack instruction unit. The detection unit analyzes an attack result of a multi-stage attack executed based on an attack scenario and detects a failed attack instruction that has failed because of a session interrupted during the multi-stage attack. The attack result storage control unit stores the attack result in a storage device. The attack result analysis unit analyzes an attack instruction that has established the interrupted session from the attack result. The attack instruction unit resumes the multi-stage attack from the attack instruction that has established the interrupted session.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] An embodiment of the present invention relates to an attack control device, an attack control system, and a program. [Background technology]

[0002] As a method for verifying the security of a system, there has been known a technique for evaluating vulnerabilities and security risks within the system from an attacker's perspective (e.g., penetration testing, etc.). By attempting a cyber attack before actually suffering damage from a cyber attack by an attacker, it is possible to grasp remaining vulnerabilities and security risks in advance and use them as material for considering countermeasures. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Patent No. 5418135 Summary of the Invention [Problem to be solved by the invention]

[0004] With conventional technology, it has been difficult to reduce the time required for testing to detect vulnerabilities while improving the accuracy of detection. [Means for solving the problem]

[0005] The attack control device of the embodiment includes a detection unit, an attack result storage control unit, an attack result analysis unit, and an attack command unit. The detection unit analyzes the attack results of a multi-stage attack executed based on an attack scenario, and detects a failed attack command that failed due to a session interrupted midway through the multi-stage attack. The attack result storage control unit stores the attack results in a storage device. The attack result analysis unit analyzes the attack command that established the interrupted session from the attack results. The attack command unit resumes the multi-stage attack from the attack command that established the interrupted session. [Brief description of the drawings]

[0006] [Figure 1] A diagram showing an example of the device configuration of the attack control system of the first embodiment. [Diagram 2] A diagram showing an example of the functional configuration of an attack control device in the first embodiment. [Diagram 3] FIG. 2 is a diagram showing an example of an attack scenario in the first embodiment. [Figure 4] FIG. 11 is a diagram showing an example of an attack result group in the first embodiment. [Diagram 5] FIG. 4 is a diagram showing an example of session information according to the first embodiment. [Figure 6] 4 is a flowchart showing an example of an attack control method according to the first embodiment. [Figure 7] A diagram showing an example of the functional configuration of an attack control device in the second embodiment. [Figure 8A] FIG. 13 is a diagram showing an example of a second attack scenario in the second embodiment. [Figure 8B] FIG. 11 is a diagram showing an example of an attack command group according to the second embodiment. [Figure 9] 10 is a flowchart showing an example of an attack control method according to a second embodiment. [Figure 10] FIG. 13 is a diagram showing an example of an apparatus configuration according to a third embodiment. [Figure 11] A diagram showing an example of the functional configuration of an attack control device in the third embodiment. [Figure 12] 13 is a flowchart showing an example of an attack control method according to a third embodiment. [Figure 13] A diagram showing an example of the hardware configuration of an attack control device of the first to third embodiments. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0007] Below, embodiments of an attack control device, an attack control system, and a program will be described in detail with reference to the accompanying drawings.

[0008] For example, a penetration test is performed by a security expert having knowledge, skills, etc. from an attacker's perspective. Attack paths and scenarios for achieving predetermined attack objectives are manually created by the security expert having knowledge, skills, etc. from an attacker's perspective. Therefore, the quality of a penetration test often depends on the knowledge, skills, etc. of the penetration tester.

[0009] Existing penetration tests analyze the cause of a failed attack, and if the attack fails because the session used for the attack was disconnected, the disconnected session must be re-established and the attack must be re-attempted. When conducting penetration tests manually, there is an issue that labor is required to analyze the cause of the attack failure and re-attempt the attack.

[0010] (First embodiment) First, an example of the device configuration of the attack control system of the first embodiment will be described.

[0011] [Example of device configuration] 1 is a diagram showing an example of the device configuration of an attack control system 10 of the first embodiment. The attack control system 10 of the first embodiment comprises an attack control device 100, an attack module storage device 200, and an attack execution device 300.

[0012] The attack control device 100 sends attack commands to the attack execution device 300 and receives attack results from the attack execution device 300.

[0013] The attack module storage device 200 stores the attack module. The attack module of the first embodiment is stored in an attack module database of the attack module storage device 200, for example.

[0014] The attack execution device 300 reads the attack module specified in the attack command from the attack module storage device 200, executes an attack on the attacked system 400 that is the target of the attack, and outputs the attack result.

[0015] The attack execution device 300 may be a device integrated with the attack module storage device 200. For example, the attack execution device 300 may be a device having a penetration test tool such as Metasploit. Also, for example, the attack execution device 300 may be a device that executes a penetration test script such as a Python script, a PowerShell script, or a Ruby script.

[0016] [Example of functional configuration] 2 is a diagram showing an example of the functional configuration of the attack control device 100 of the first embodiment. The attack control device 100 of the first embodiment includes an attack scenario analysis unit 110, an attack scenario storage control unit 120, an attack command unit 130, a detection unit 140, an attack result storage control unit 150, and an attack result analysis unit 160.

[0017] The attack scenario analysis unit 110 acquires at least one attack scenario and analyzes the attack scenario 500. The attack scenario 500 may be in, for example, a JSON format or an XML format.

[0018] [Example of an attack scenario] 3 is a diagram showing an example of an attack scenario 500 according to the first embodiment. The attack scenario 500 according to the first embodiment includes multiple attacks 510, 520, and 530. Since the explanations of the attacks 510, 520, and 530 are similar, the explanation will be given mainly by taking the attack 510 as an example.

[0019] The attack 510 includes an attack order 511 and an attack command 610. The attack command 610 includes attack module information 512 and parameters 513.

[0020] The attack order 511 indicates the order in which the attack commands 610 are executed. In the first embodiment, the attack order 511 indicates the dependency relationship between the attack commands 610, 620, and 630. For example, the dependency relationship indicates that the attack 520 in the attack order 521, which is later than the attack order 511, will not succeed unless the attack 510 in the attack order 511 is successful. Similarly, in order to execute the attack 530, the attacks 510 and 520 must be successful.

[0021] The attack module information 512 is information indicating an attack module used in an attack by the attack execution device 300. For example, the attack module information 512 is a file name and a file path of the attack module.

[0022] The parameters 513 are parameters of the attack module specified in the attack module information 512. There may be one parameter 513 or multiple parameters as shown in Fig. 3. The parameters 513 indicate, for example, an IP address, a port number, a user name, a password, a payload module, a session ID, and a type of attack target.

[0023] The attack command 610 may not include the parameter 513. If the attack command 610 does not include the parameter 513, for example, the attack scenario analysis unit 110 may accept input of the parameter 513 from a user. Also, for example, the attack scenario analysis unit 110 may have a unified parameter list for the attack commands 610, 620, and 630 as a whole, rather than setting the parameters 513, 523, and 533 for each of the attack commands 610, 620, and 630.

[0024] In addition, the attack scenario 500 may not include the attack orders 511, 521, and 531, and attacks may be performed in the order in which the attacks 510, 520, and 530 are written.

[0025] In addition, the dependencies between multiple attacks are not limited to the order of attacks, but may be expressed in a tree format or state transition diagram showing the relationships between individual attacks, or may be expressed by the prerequisites and effects (changes in state after an attack) for each attack, as in Goal-Oriented Action Planning (GOAP).

[0026] Returning to Fig. 2, the attack scenario storage control unit 120 stores the above-mentioned attack scenario 500 (see Fig. 3) in a storage device. The storage device that stores the attack scenario 500 may be built into the attack control device 100 or may be external to the attack control device 100.

[0027] The attack command unit 130 transmits attack commands 610, 620, and 630 to the attack execution device 300 in the order of attack orders 511, 521, and 531 of the attack scenario 500. The attack commands 610, 620, and 630 must be attack commands compatible with the attack execution device 300. Specifically, each attack module specified in the attack commands 610, 620, and 630 must be an attack module that can be referenced from an attack module database loaded into the attack execution device 300. Additionally, the parameters 513, 523, and 533 must specify information required for the execution of the attack module.

[0028] The detection unit 140 acquires a group of attack results from the attack execution device 300, and detects an attack failure due to a session interruption that occurs during a multi-stage attack (a plurality of attacks executed in sequence).

[0029] [Examples of attack results] Fig. 4 is a diagram showing an example of an attack result group 700 in the first embodiment. The attack result group 700 includes the attack result of at least one attack executed by the attack execution device 300. In the example of Fig. 4, the attack result group 700 includes attack results 710, 720, and 730 generated for attacks 510, 520, and 530, respectively. Since the explanations of the attack results 710, 720, and 730 are similar, the explanation will be given mainly by taking the attack result 710 as an example.

[0030] The attack result 710 includes the attack order 511 , the attack command 610 , the attack success / failure 711 , and the session information 712 .

[0031] The attack order 511 and attack orders 610 are the same as in FIG.

[0032] By including the attack order 511 in the attack result 710, it becomes easier to analyze at what stage a multi-stage attack failed, and when re-executing an attack, it is possible to create an attack procedure that takes the attack order into account.

[0033] The attack command 610 is a command sent from the attack command unit 130 and executed by the attack execution device 300 .

[0034] The attack success / failure 711 is information indicating whether an attack by the attack command 610 was successful. The attack success / failure 711 may include an attack execution log and a cause of attack failure as auxiliary information. The presence of auxiliary information makes it easier to detect the cause of an attack failure. The cause of an attack failure may be, for example, the interruption of a session established by a previous attack.

[0035] The session information 712 indicates information on a session established by the attack execution device 300 with the attacked system 400. The session information 712 is information on a session used when executing the attack command 610, or information on a session established after executing the attack command 610. The session information 712 may be information on only one of the sessions, or information on both sessions.

[0036] [Example of session information] 5 is a diagram showing an example of session information 712 in the first embodiment. The session information 712 in the first embodiment includes a session ID 751, a session state 752, a session type 753, a source IP address 754, a source port number 755, a destination IP address 756, a destination port number 757, and the like.

[0037] The session ID 751 is identification information for identifying a session. For example, the session ID 751 may be an identification number assigned to the attack execution device 300 for managing the session. When the session ID 751 is an identification number, it can be set as one of the parameters 513 included in the attack command 610.

[0038] Session state 752 indicates the state of the session (eg, connected or disconnected).

[0039] The session type 753 indicates the type of session, such as the type of execution authority in the attacked system 400 (e.g., the presence or absence of administrator authority, etc.).

[0040] The source IP address 754 indicates the IP address of the source device of the session. The source port number 755 indicates the port number of the source device of the session. The destination IP address 756 indicates the IP address of the destination device of the session. The destination port number 757 indicates the port number of the destination device of the session.

[0041] Returning to Figure 2, the attack result storage control unit 150 stores the attack results 710, 720, and 730 in a storage device. The storage device that stores the attack results 710, 720, and 730 may be built into the attack control device 100 or may be external to the attack control device 100.

[0042] For example, the attack result storage control unit 150 stores multiple attack results (in the example of FIG. 4, attack results 710, 720, and 730), making it possible to grasp the success or failure of each attack (in the example of FIG. 2, attacks 510, 520, and 530). Specifically, it becomes easier for a tester using the attack control system 10 to organize the attack results in a report after executing a test.

[0043] The attack result analysis unit 160 analyzes the next attack to be executed based on the attack result. For example, when the detection unit 140 detects that the attack failed due to the interruption of a session established during the execution of the attack in the attack execution device 300, the attack result analysis unit 160 transmits an attack command that traces back to the attack that established the interrupted session to the attack command unit 130. The attack command that traces back to the attack that established the interrupted session is identified based on, for example, the dependency relationship of the attacks.

[0044] Also, for example, the attack result analysis unit 160 refers to the success or failure of attacks stored in the storage device, traces back attacks included in the multi-stage attack, and analyzes attacks that have been successful once. This allows the attack command unit 130 to give priority to commands for attacks that have been successful once.

[0045] Also, for example, the attack result analysis unit 160 analyzes the attack commands that are more likely to succeed based on the success or failure of the attack commands. Then, the attack command unit 130 issues an attack command by giving priority to an attack scenario that includes more attack commands that are more likely to succeed.

[0046] For example, the attack result analysis unit 160 analyzes attack commands that are less likely to fail due to a session based on failed attack commands that failed due to a session interrupted during a multi-stage attack. The attack command unit 130 then commands an attack by giving priority to an attack scenario that includes more attack commands that are less likely to fail due to a session.

[0047] When there are multiple attack scenarios 500, it is possible to perform a penetration test taking into consideration time, labor, etc. by prioritizing the attack scenarios 500. Specifically, when there are a huge number of attack scenarios 500, it is possible to perform only attack scenarios whose priorities are higher than a threshold value, for example.

[0048] [Examples of attack control methods] 6 is a flowchart showing an example of the attack control method according to the first embodiment. First, the attack scenario analysis unit 110 acquires the above-mentioned attack scenario 500 and analyzes the attack scenario 500 (step S11).

[0049] Next, the attack scenario storage control unit 120 stores the attack scenario 500 analyzed in step S11 in the storage device (step S12). Even if there are multiple attack scenarios 500, storing the attack scenarios 500 in the storage device allows the attack command unit 130 to re-execute the attack scenario 500 or execute multiple attack scenarios 500 consecutively.

[0050] Next, the attack command unit 130 commands the attack execution device 300 to launch an attack (step S13).

[0051] The attack commands 610, 620, and 630 sent to the attack execution device 300 are sent in accordance with the attack orders 512, 522, and 532 of the attack scenario 500. The attack commands 610, 620, and 630 may be sent one at a time, or multiple at a time.

[0052] When one attack command 610, 620, or 630 is sent at a time, the attack result 710, 720, or 730 can be obtained each time, making it easier to investigate the cause of the attack failure. When multiple attack commands 610, 620, and 630 are sent at a time, there is no need to wait for the next attack command, so the time required to complete the execution of the attack scenario 500 can be shortened.

[0053] When the attack command unit 130 has already found a session available for the attack that was interrupted due to the disconnection of the session, such as when the process has transitioned from step S18 to step S13, the attack command unit 130 may use that session when re-attacking. Specifically, in the example of FIG. 4, the attack command unit 130 refers to the session information 712, 722, and 732 included in the attack result group 700 and the correspondence between the attack commands 610, 620, and 630. Assume that the session established by the attack command 620 during the execution of the attack command 630 during the execution of the first attack scenario 500 is disconnected during the execution of the attack command 630, and the attack command 630 fails. In this case, when the attack command unit 130 executes the second attack scenario 500, the attack command unit 130 does not start over from the attack command 610, but re-executes from the attack command 620 using the session already established by the attack command 610 of the first attack scenario 500.

[0054] Next, the detection unit 140 receives the attack result group 700 from the attack execution device 300 (step S14).

[0055] Next, the detection unit 140 determines whether or not all of the attacks 510, 520, and 530 were successful based on the attack success / failures 711, 721, and 731 of the attack result group 700 received in step S14 (FIG. 3, step S15).

[0056] If all of the attacks 510, 520, and 530 are successful (Yes at step S15), the attack result storage control unit 150 stores the attack results 710, 720, and 730 included in the attack result group 700 in the storage device (step S16).

[0057] The attack result storage control unit 150 may store the attack result in the storage device regardless of whether the attack is successful or unsuccessful. By storing the attack result when the attack fails in the storage device, the attack result storage control unit 150 can interrupt the execution of the attack scenario 500 when the number of attack failures exceeds a threshold, and prevent the execution time of the attack scenario 500 from becoming long due to repeated attack failures. The threshold may be set arbitrarily by a user such as a tester. Specifically, the number of attack failures is, for example, the number of times failed attack commands are detected that fail due to a session interrupted in the middle of a multi-stage attack. For example, when the number of times failed attack commands are detected is greater than the threshold, the attack command unit 130 commands an attack based on an attack scenario that does not include a failed attack command.

[0058] Furthermore, by having the attack result storage control unit 150 store the attack success / failures 711, 721, and 731 in the storage device, the attack command unit 130 can identify attack commands that have been successful in the past. This allows the attack command unit 130 to, for example, disable the above-mentioned threshold and perform control such as re-executing the attack if a previously successful attack command fails when executing multiple attack scenarios 500.

[0059] Furthermore, the attack result storage control unit 150 may store supplementary information for the attack results 710, 720, and 730 in a storage device. For example, the supplementary information includes information indicating whether or not the attack failed due to a session interruption. Also, for example, the supplementary information includes the number of failed attacks. By having the attack result storage control unit 150 store supplementary information for identifying attacks that are likely to be interrupted (fail) in a storage device, the attack command unit 130 can prioritize attacks that are unlikely to be interrupted when re-executing an attack, and can also issue additional attack commands that make the session unlikely to be interrupted (attacks that merge an established session into another process).

[0060] Next, the attack command unit 130 refers to the attack scenario 500 and determines whether or not there is a next attack (step S19). Specifically, the attack command unit 130 determines whether or not the previous attack command in the attack order has been successful and there is an attack command that has not been sent to the attack execution device 300.

[0061] If there is a next attack (step S19, Yes), the process proceeds to step S13, and if there is no next attack (step S19, No), the process ends.

[0062] If there are multiple attack scenarios 500, an attack scenario 500 that has not yet been executed may be read from the storage device and the process may proceed to step S13.

[0063] If any of the attacks 510, 520, and 530 fails (step S15, No), the detection unit 140 determines whether the attack failed due to the session being disconnected midway through the attack (step S17).

[0064] The attack results 710, 720, and 730 include session information 712, 722, and 732 after the attack commands 610, 620, and 630 are executed. For example, the detection unit 140 can detect sessions established and sessions disconnected when the attack command 620 is executed by comparing the session information 722 of the attack command 620 with the session information 712 of the attack command 610 before the attack command 620.

[0065] The detection unit 140 refers to the attack success / failures 711, 721, and 731 to search for attack commands that caused the attack to fail, and if any sessions were disconnected when the attack commands were executed, it determines that the attack was interrupted due to the disconnection of the sessions, and notifies the attack result analysis unit 160.

[0066] If the attack has not been interrupted due to a disconnection of the session (step S17, No), the process proceeds to step S16.

[0067] If the attack is interrupted due to the disconnection of the session (step S17, Yes), the attack result analysis unit 160 reconstructs the attack scenario 500 that traces back to the attack that established the session necessary for the interrupted attack (step S18). The attack system 500 reconstructed in step S18 is sent to the attack command unit 130, and the process of step S13 is executed again. For example, if it is determined that the attack of the attack command 630 has failed because the session established by the attack command 620 has been disconnected while the attack command 630 is being executed, and if the session established by the attack command 610 remains in an established state, the attack result analysis unit 160 reconstructs the attack scenario 500 excluding the attack command 610. Also, if the session established by the attack command 610 is also in a disconnected state, the attack result analysis unit 160 reconstructs the attack scenario 500 that still includes all the attack commands 610, 620, and 630.

[0068] As described above, in the attack control device 100 of the first embodiment, the detection unit 140 analyzes the attack results of a multi-stage attack executed based on the attack scenario 500, and detects a failed attack command that failed due to a session interrupted during the multi-stage attack. The attack result storage control unit 150 stores the attack results in the storage device. The attack result analysis unit 160 analyzes the attack command that established the interrupted session from the attack results. Then, the attack command unit 130 resumes the multi-stage attack from the attack command that established the interrupted session.

[0069] As a result, according to the attack control device 100 of the first embodiment, the time required for testing to detect vulnerabilities can be shortened and the detection accuracy can be improved.

[0070] For example, according to the attack control device 100 of the first embodiment, sessions used in attacks are managed, so that, for example, a part of a penetration test can be automated. This reduces the time required for a penetration test and realizes a uniform test that does not require an experienced tester.

[0071] In addition, for example, it can prevent overlooking security risks, such as mistakenly concluding that there is no attack risk because an attack fails when in fact it is successful.

[0072] As described above, according to the attack control device 100 of the first embodiment, the security of the attacked system 400 can be improved.

[0073] Second embodiment Next, a second embodiment will be described. In the description of the second embodiment, the description of the same parts as in the first embodiment will be omitted, and only the parts different from the first embodiment will be described.

[0074] [Example of functional configuration] 7 is a diagram showing an example of the functional configuration of the attack control device 100-2 of the first embodiment. The attack control device 100-2 of the first embodiment includes an attack scenario analysis unit 110, an attack command unit 130, a detection unit 140, an attack result storage control unit 150, an attack result analysis unit 160, a dependency storage control unit 170, and an attack command storage control unit 180.

[0075] The attack scenario analysis unit 110, attack command unit 130, detection unit 140, attack result storage control unit 150 and attack result analysis unit 160 are similar to those in the first embodiment, so their explanation will be omitted.

[0076] The dependency storage control unit 170 stores the dependency relationships of the attacks 510, 520, and 530 included in the attack scenario 500 in the storage device as a second attack scenario.

[0077] The attack command storage control unit 180 stores the attack commands 610, 620, and 630 included in the attack scenario 500 in a storage device as a group of attack commands.

[0078] 8A is a diagram showing an example of a second attack scenario 800 according to the second embodiment. The second attack scenario 800 according to the second embodiment includes attack orders 511, 521, and 531, and attack command identifiers 812, 822, and 832.

[0079] The attack order 511 indicates the order in which the attack commands 610 identified by the attack command identifier 812 are executed. The attack order 521 indicates the order in which the attack commands 620 identified by the attack command identifier 822 are executed. The attack order 531 indicates the order in which the attack commands 630 identified by the attack command identifier 832 are executed.

[0080] The information indicating the dependency relationship between attacks does not have to be the attack orders 511, 521, and 531, and may be a list of attacks that should be performed beforehand in order to execute the attack in question.

[0081] By storing the attack dependencies in the storage device, the dependency storage control unit 170 can identify attacks that need to be traced back when the attack command unit 130 re-executes an attack. In addition, when there are multiple attack scenarios 500, the dependency storage control unit 170 can generate a new attack scenario including a new combination of attacks as the second attack scenario 800.

[0082] 8B is a diagram showing an example of an attack command group 900 according to the second embodiment. The attack command group 900 according to the second embodiment includes attack commands 610, 620, and 630, as well as attack command identifiers 812, 822, and 832. The attack command 610 is an attack command identified by the attack command identifier 812. The attack command 620 is an attack command identified by the attack command identifier 822. The attack command storage control unit 180 stores the attack command group 900 in a storage device, allowing the attack command unit 130 to refer to the attack command of an attack to be re-executed, or to create an attack command with some of the parameters changed.

[0083] [Examples of attack control methods] Fig. 9 is a flowchart showing an example of an attack control method according to the second embodiment. In Fig. 9, step S12 (see Fig. 6) of the first embodiment is changed to step S12-2.

[0084] In step S12, the dependency storage control unit 170 stores the dependency of each attack in the storage device as the above-mentioned second attack scenario 800, and the attack command storage control unit 180 stores the attack command of each attack in the storage device as the above-mentioned attack command group 900. By storing the second attack scenario 800 and the attack command group 900 separately, the attack command unit 130 can transmit an attack scenario other than the attack scenario 500 input to the attack scenario analysis unit 110 to the attack execution device 300. The attack command unit 130 can refer to the attack orders 511, 521, and 531 of the second attack scenario 800 and the attack commands 610, 620, and 630 of the attack command group 900 using the attack command identifiers 812, 822, and 832 as necessary.

[0085] Third embodiment Next, a third embodiment will be described. In the description of the third embodiment, the description of the same parts as in the second embodiment will be omitted, and only the parts different from the first embodiment will be described.

[0086] [Example of device configuration] 10 is a diagram showing an example of the device configuration of the third embodiment. In the third embodiment, the attack control device 100-3 also has the functions of the attack execution device 300 of the second embodiment. The attack module storage device 200 and the attacked system 400 are the same as those of the second embodiment, so their explanations are omitted.

[0087] The attack control device 100-3 receives one or more attack scenarios 500 from an external device and refers to the attack module in the attack module storage device 200. Then, the attack control device 100-3 performs communication for evaluating cyber-attack resistance (communication related to an attack by the attack module) with the attacked system 400 and evaluates the attack resistance of the attacked system 400.

[0088] In addition, the attack module memory device 200 may be built into the attack control device 100.

[0089] [Function configuration] 11 is a diagram showing an example of the functional configuration of an attack control device 100-3 according to the third embodiment. The attack control device 100-3 according to the third embodiment includes an attack scenario analysis unit 110, an attack command unit 130, a detection unit 140, an attack result storage control unit 150, an attack result analysis unit 160, a dependency storage control unit 170, an attack command storage control unit 180, and an attack execution unit 190.

[0090] The attack scenario analysis unit 110, attack command unit 130, detection unit 140, attack result storage control unit 150, attack result analysis unit 160, dependency storage control unit 170 and attack command storage control unit 180 are the same as those in the second embodiment, so their explanations will be omitted.

[0091] For example, when the attack execution unit 190 receives an attack command 610 from the attack command unit 130, it refers to the attack module in the attack module storage device 200 using the attack module information 512 included in the attack command 610. Then, the attack execution unit 190 sets a plurality of parameters 513 included in the attack command 610 to the attack module and executes it against the attacked system 400.

[0092] Note that the attack command 610 does not necessarily have to include the parameter 513. If the attack command 610 does not include the parameter 513, the attack execution unit 190 may separately execute an attack command that collects information to set the value of the parameter 513, and set the value acquired by the attack command as the parameter 513 in the attack module. Specifically, for example, the attack execution unit 190 may execute a new attack command for a host scan, and set the acquired IP address as a parameter for the next attack command. Also, for example, the attack execution unit 190 may execute a new attack command for a password brute force attack, and set the revealed password as a parameter for the next attack command.

[0093] [Examples of attack control methods] Fig. 12 is a flowchart showing an example of an attack control method according to the third embodiment. Fig. 12 differs from the flowchart of the attack control method according to the second embodiment (see Fig. 9) in that step S13-2 is added.

[0094] In step S13-2, the attack execution unit 190 executes an attack on the attacked system 400. The attack executed in step S13-2 is, for example, an attack that exploits a known vulnerability. Known vulnerabilities that can be attacked include vulnerabilities that allow arbitrary code execution, vulnerabilities that allow privilege escalation, and vulnerabilities that allow authentication information and confidential information to be obtained, altered, or deleted.

[0095] For example, the attack executed in step S13-2 is an attack that transmits data in which a part of normal communication data has been altered, such as fuzzing. For example, the attack executed in step S13-2 is an attack that switches a normal communication sequence, changes the timing, or transmits communication data with some communication data omitted. For example, the attack executed in step S13-2 may be an attack using remote access communication such as RDP, SSH, or Telnet, or an attack that transmits a large number of requests in a short period of time, such as a SYN flood attack.

[0096] The attack execution unit 190 generates an attack result group 700 based on the response of the attacked system 400 to the attack communication transmitted in step S13-2 (step S14), and transmits the result to the detection unit 140.

[0097] In the third embodiment, since the attack result can be composed of any element, session information created or disconnected for each attack command can be recorded. This allows the attack execution unit 190 to prioritize the execution of attack commands that have been successful in the past when re-executing an attack or executing a different attack scenario.

[0098] Finally, an example of the hardware configuration of the attack control device 100 (100-2, 100-3) of the first to third embodiments will be described.

[0099] [Example of hardware configuration] 11 is a diagram showing an example of the hardware configuration of the attack control device 100 (100-2, 100-3) of the first to third embodiments. The attack control device 100 (100-2, 100-3) of the first to third embodiments includes a processor 201, a main memory device 202, an auxiliary memory device 203, a display device 204, an input device 205, and a communication device 206. The processor 201, the main memory device 202, the auxiliary memory device 203, the display device 204, the input device 205, and the communication device 206 are connected via a bus 210.

[0100] The attack control device 100 (100-2, 100-3) may not have some of the above configuration. For example, if the attack control device 100 (100-2, 100-3) can use the input function and display function of an external device, the attack control device 100 (100-2, 100-3) may not have the display device 204 and the input device 205.

[0101] The processor 201 executes a program read from the auxiliary storage device 203 to the main storage device 202. The main storage device 202 is a memory such as a ROM and a RAM. The auxiliary storage device 203 is a hard disk drive (HDD), a memory card, or the like.

[0102] The display device 204 is, for example, a liquid crystal display. The input device 205 is an interface for operating the attack control device 100. The display device 204 and the input device 205 may be realized by a touch panel having a display function and an input function. The communication device 206 is an interface for communicating with other devices.

[0103] The programs executed by the attack control device 100 (100-2, 100-3) are provided as computer program products recorded in an installable or executable format on a computer-readable storage medium such as a CD-ROM, memory card, CD-R, or DVD.

[0104] The programs executed by the attack control device 100 (100-2, 100-3) may be stored on a computer connected to a network such as the Internet and provided by downloading via the network. The programs executed by the attack control device 100 (100-2, 100-3) may be provided via a network such as the Internet without being downloaded.

[0105] In addition, the program for the attack control device 100 (100-2, 100-3) may be configured to be provided by being pre-installed in a ROM or the like.

[0106] The programs executed by the attack control device 100 (100-2, 100-3) are modularized to include functions that can be realized by programs among the functional configurations shown in FIG. 2 (FIG. 7, FIG. 11) above. As for each of these functions, as actual hardware, the processor 201 reads the program from a storage medium and executes it, and the above-mentioned functional blocks are loaded onto the main memory device 202. In other words, the above-mentioned functional blocks are generated on the main memory device 202.

[0107] Note that some or all of the functions shown in FIG. 2 (FIGS. 7 and 11) may be realized by hardware such as an IC rather than by software.

[0108] Furthermore, each function may be realized using a plurality of processors 201. In this case, each processor 201 may realize one of the functions, or may realize two or more of the functions.

[0109] Although some embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their modifications are included in the scope and spirit of the invention, and are included in the scope of the invention and its equivalents described in the claims. [Explanation of symbols]

[0110] 10. Attack Control System 100 Attack Control Device 110 Attack Scenario Analysis Department 120 Attack scenario memory control unit 130 Attack Command 140 Detection unit 150 Attack result memory control unit 160 Attack Results Analysis Department 170 Dependency storage control unit 180 Attack command memory control unit 190 Attack Execution Department 200 Attack module storage device 201 Processor 202 Main storage 203 Auxiliary storage device 204 Display device 205 Input Device 206 Communication Equipment 210 Bus 300 Attack Execution Device

Claims

1. a detection unit that analyzes an attack result of a multi-stage attack executed based on an attack scenario and detects a failed attack command that has failed due to a session that has been interrupted during the multi-stage attack; an attack result storage control unit that stores the attack result in a storage device; an attack result analysis unit that analyzes an attack command that established the interrupted session based on the attack result; an attack command unit that resumes the multi-stage attack from the attack command that established the interrupted session; An attack control device comprising:

2. The attack scenario includes a plurality of attack commands and dependencies between the plurality of attack commands; an attack scenario storage control unit that stores the attack scenario in the storage device, the attack command unit traces back to the attack command that established the interrupted session based on the dependency relationship, and resumes the multi-stage attack from the attack command that established the interrupted session. The attack control device of claim 1 .

3. an attack scenario analysis unit that analyzes the attack scenario and acquires a plurality of attack commands and dependencies between the plurality of attack commands; an attack command storage control unit that stores the plurality of attack commands in the storage device; A dependency storage control unit that stores the dependency in a storage device, the attack command unit traces back to the attack command that established the interrupted session based on the dependency relationship, and resumes the multi-stage attack from the attack command that established the interrupted session. The attack control device of claim 1 .

4. The attack result includes whether the attack command was successful or not; the attack result analysis unit analyzes an attack command that is more likely to succeed based on the success or failure of the attack command, The attack command unit issues an attack command by giving priority to an attack scenario that includes a greater number of attack commands that are more likely to succeed. An attack control device according to any one of claims 1 to 3.

5. The attack result analysis unit analyzes an attack command that is less likely to fail due to the session based on the failed attack command, The attack command unit commands an attack by giving priority to an attack scenario including a greater number of attack commands that are less likely to fail due to the session. An attack control device according to any one of claims 1 to 3.

6. When the attack command unit re-executes the failed attack command, if an available session has already been established, the attack command unit uses the available session. An attack control device according to any one of claims 1 to 3.

7. The attack result analysis unit determines whether the number of times the failed attack command was detected is greater than a threshold value; When the number of times the failed attack command is detected is greater than a threshold, the attack command unit commands an attack based on an attack scenario that does not include the failed attack command. An attack control device according to any one of claims 1 to 3.

8. an attack execution unit that executes an attack based on an attack command from the attack command unit; The attack control device according to any one of claims 1 to 7, further comprising:

9. An attack control device and an attack execution device, The attack control device includes: a detection unit that analyzes an attack result of a multi-stage attack executed based on an attack scenario and detects a failed attack command that has failed due to a session that has been interrupted during the multi-stage attack; an attack result storage control unit that stores the attack result in a storage device; an attack result analysis unit that analyzes an attack command that established the interrupted session based on the attack result; an attack command unit that resumes the multi-stage attack from the attack command that established the interrupted session, the attack execution device executes an attack based on an attack command from the attack command unit. Attack control system.

10. Computer, a detection unit that analyzes an attack result of a multi-stage attack executed based on an attack scenario and detects a failed attack command that has failed due to a session that has been interrupted during the multi-stage attack; an attack result storage control unit that stores the attack result in a storage device; an attack result analysis unit that analyzes an attack command that established the interrupted session based on the attack result; an attack command unit that resumes the multi-stage attack from the attack command that established the interrupted session; A program to function as a

Citation Information

Patent Citations

  • Main pillar and making method thereof

    JP1979018135A

  • Automatic test method and automatic testing machine

    JP2004341652A

  • Test management system, test method, and computer program

    JP2016218714A

  • Operation simulator system, operation simulator method, and computer program

    JP2017146699A

  • Data generation apparatus, data generation method, and program

    JP2020107284A