Attack information generation device, control method, and program
The attack information generation device addresses the issue of non-malware events in malware detection by analyzing event occurrences during multiple attack executions, accurately identifying attack-related events for improved detection.
Patent Information
- Application Number
- JP2022571953
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-12-24
- Filing Date
- 2021-11-15
- Publication Date
- 2024-09-19
- Estimated Expiration
- 2041-11-15
AI Technical Summary
Existing systems face a high probability of including non-malware events in malware detection rules due to unrelated system calls during malware execution.
An attack information generation device that specifies the number of occurrences of each event during multiple executions of a target attack, determines if the occurrences satisfy a predetermined condition, and generates attack information associated with relevant events.
Effectively identifies events related to attacks by associating target attacks with events that consistently occur due to their influence, enhancing the accuracy of attack detection.
Smart Images

Figure 0007553892000005 
Figure 0007553892000004 
Figure 0007553892000006
Abstract
Description
[Technical field]
[0001] The present disclosure relates to analyzing attacks against computer systems. [Background technology]
[0002] As a measure against attacks on computer systems (cyber-attacks), efforts are being made to detect the presence of undetected attacks from various logs of computer systems. For this reason, technology is being developed to generate rules for detecting attacks from logs.
[0003] For example, Patent Document 1 discloses a technique for extracting character strings that satisfy certain conditions from a malware behavior log and generating malware detection rules that represent the extracted character strings in a chronological order. For example, the character strings are system calls, and the malware detection rules represent the system call sequence. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2013-092981 A Summary of the Invention [Problem to be solved by the invention]
[0005] In the invention of Patent Document 1, there is a high probability that events that are not caused by malware will be included in the malware detection rules, because not all system calls generated while malware is running are necessarily related to that malware.
[0006] The present disclosure has been made in consideration of the above-mentioned problems, and one of its objectives is to provide a new technique for identifying events related to an attack. [Means for solving the problem]
[0007] The attack information generation device disclosed herein includes an identification means for identifying the number of occurrences of one or more events for each of multiple executions of a targeted attack using logs for the execution period, a determination means for each of the events for which the number of occurrences of the event identified for each of multiple executions of the targeted attack satisfies a specified condition, and a generation means for generating attack information that corresponds the targeted attack with the event whose number of occurrences is determined to satisfy the specified condition.
[0008] The control method disclosed herein includes an identification step of identifying the number of occurrences of one or more events for each of multiple executions of a targeted attack using logs for the execution period, a determination step of determining, for each event, whether the number of occurrences of the event identified for each of multiple executions of the targeted attack satisfies a predetermined condition, and a generation step of generating attack information that corresponds the targeted attack with the event whose number of occurrences is determined to satisfy the predetermined condition.
[0009] The non-transitory computer-readable medium of the present disclosure stores a program that causes a computer to execute the control method of the present disclosure. Effect of the Invention
[0010] In accordance with the present disclosure, new techniques are provided for identifying events related to an attack. [Brief description of the drawings]
[0011] [Figure 1] 1 is a diagram illustrating an example of an outline of the operation of the attack information generation device of embodiment 1. [Diagram 2] 1 is a block diagram illustrating an example of the functional configuration of an attack information generation device of embodiment 1. [Diagram 3] 1 is a block diagram illustrating an example of a hardware configuration of a computer that realizes an attack information generation device. [Figure 4] 1 is a flowchart illustrating a processing flow executed by the attack information generation device of embodiment 1. [Diagram 5] 11 is a flowchart illustrating the flow of processing executed by the attack information generation device in a case where attack information is generated for each of multiple target attacks. [Figure 6] FIG. 13 is a diagram conceptually illustrating a method for identifying the number of occurrences for each event. [Figure 7] FIG. 13 is a diagram illustrating an example of an attack log in table format. [Figure 8] FIG. 11 is a diagram illustrating an example of an event identification rule in a table format. [Figure 9] 11 is a diagram illustrating an example of the configuration of attack information in table format. [Figure 10] 13 is a diagram illustrating a case in which each attack is associated with a duration of the attack in the attack information. FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] Hereinafter, an embodiment of the present disclosure will be described in detail with reference to the drawings. In each drawing, the same or corresponding elements are given the same reference numerals, and duplicated explanations will be omitted as necessary for clarity of explanation. Furthermore, unless otherwise specified, predetermined values such as predetermined values and threshold values are stored in advance in a storage device accessible from a device that uses the values.
[0013] Fig. 1 is a diagram illustrating an example of an outline of the operation of the attack information generation device 2000 of embodiment 1. Here, Fig. 1 is a diagram for easily understanding the outline of the attack information generation device 2000, and the operation of the attack information generation device 2000 is not limited to that shown in Fig. 1.
[0014] The attack information generation device 2000 associates an attack with an event that is recorded in a log (hereinafter, log 10) of the environment in which the attack is executed when the attack is executed. Hereinafter, information representing this association is referred to as attack information 30. Also, an attack that is the target of the generation of attack information 30 is referred to as a target attack.
[0015] An event here is any occurrence that occurs in the execution environment of the target attack. For example, it could be the execution of a system call or an API (Application Programming Interface) by a process, an operation on the registry or file system, or communication via a network. For example, an event is represented by a combination of its subject, its object, and its content (what did what to what). However, an event may be represented by a combination of information other than these three.
[0016] The attack information 30 is generated using a log 10. The log 10 has a number of entries. The entries indicate information about an event that has occurred (such as the subject, object, content, and time of occurrence of the event). The log 10 is, for example, a log of events recorded by an OS (operating system) or a log related to network flows.
[0017] Log 10 includes entries recorded during the execution of a targeted attack. In order to obtain such a log, for example, a test environment in which the targeted attack can be executed is prepared, and the targeted attack is executed in the test environment. Then, a log in which events that occur in the test environment are recorded is used as log 10.
[0018] The attack information generation device 2000 identifies the number of occurrences of each event by detecting entries representing each event that occurred during the execution period of the target attack from the log 10. Here, the target attack is executed multiple times. Therefore, the number of occurrences of the event is identified for each of the multiple executions of the target attack.
[0019] For example, in Fig. 1, in the first execution of the target attack, the occurrences of events I1, I2, and I3 are 1, 3, and 2, respectively. In addition, in the second execution of the target attack, the occurrences of events I2, I3, and I4 are 1 each.
[0020] The attack information generation device 2000 determines, for each event, whether the occurrence count of the event identified for each execution of the target attack satisfies a predetermined condition. The predetermined condition is a condition that is satisfied for an event that occurs as a result of the target attack. By employing such a predetermined condition, it is possible to determine, for each event, whether the event occurs as a result of the target attack. As will be described in more detail later, for example, an example of such a predetermined condition is "the statistical value of the occurrence count of the event is equal to or greater than a threshold value."
[0021] The attack information generation device 2000 associates events whose occurrence counts satisfy a predetermined condition with targeted attacks to generate attack information 30. For example, in the attack information 30 of Fig. 1, targeted attack A1 is associated with events I2 and I3. From this attack information 30, it can be seen that events I2 and I3 occur as a result of the impact of targeted attack A1.
[0022] <Example of action and effect> According to the attack information generation device 2000 of this embodiment, for each of the multiple executions of the target attack, the number of occurrences of each event is identified using the entries in the log 10 recorded during that execution period. Then, the event whose occurrence number identified for each of the multiple executions of the target attack satisfies a predetermined condition is associated with the target attack. In this way, according to the attack information generation device 2000, events related to the attack are identified by a new method.
[0023] In particular, the predetermined condition is assumed to be a condition satisfied for an event that occurs as a result of a targeted attack. In this way, it is possible to associate a targeted attack with an event that occurs as a result of the targeted attack, based on entries recorded for each of multiple executions of the targeted attack. Then, by analyzing a newly obtained log using attack information 30 that indicates such an association, it becomes possible to detect the possibility that a targeted attack has been performed using the log.
[0024] The attack information generation device 2000 of this embodiment will be described in more detail below.
[0025] <Example of functional configuration> 2 is a block diagram illustrating a functional configuration of the attack information generating device 2000 of the first embodiment. The attack information generating device 2000 includes an identifying unit 2020, a determining unit 2040, and a generating unit 2060. The identifying unit 2020 identifies the number of occurrences of one or more events for each of multiple executions of the target attack by using entries recorded in the log 10 during the execution period. The determining unit 2040 determines, for each event, whether the number of occurrences of the event identified for each execution of the target attack satisfies a predetermined condition. The generating unit 2060 generates attack information 30 that associates the target attack with an event whose number of occurrences satisfies a predetermined condition.
[0026] <Example of hardware configuration> Each functional component of the attack information generation device 2000 may be realized by hardware that realizes each functional component (e.g., a hardwired electronic circuit, etc.), or may be realized by a combination of hardware and software (e.g., a combination of an electronic circuit and a program that controls it, etc.). Below, a further explanation is given of the case where each functional component of the attack information generation device 2000 is realized by a combination of hardware and software.
[0027] 3 is a block diagram illustrating a hardware configuration of a computer 500 that realizes the attack information generation device 2000. The computer 500 is any computer. For example, the computer 500 is a stationary computer such as a PC (Personal Computer) or a server machine. In addition, for example, the computer 500 is a portable computer such as a smartphone or a tablet terminal. The computer 500 may be a dedicated computer designed to realize the attack information generation device 2000, or may be a general-purpose computer.
[0028] For example, by installing a specific application on the computer 500, each function of the attack information generation device 2000 is realized on the computer 500. The application is configured with a program for realizing the functional components of the attack information generation device 2000. The method of acquiring the program is arbitrary. For example, the program can be acquired from a storage medium (such as a DVD disk or a USB memory) on which the program is stored. Alternatively, the program can be acquired by downloading the program from a server device that manages the storage device on which the program is stored.
[0029] The computer 500 has a bus 502, a processor 504, a memory 506, a storage device 508, an input / output interface 510, and a network interface 512. The bus 502 is a data transmission path for the processor 504, the memory 506, the storage device 508, the input / output interface 510, and the network interface 512 to transmit and receive data to and from each other. However, the method of connecting the processor 504 and other components to each other is not limited to a bus connection.
[0030] The processor 504 is a processor such as a central processing unit (CPU), a graphics processing unit (GPU), or a field-programmable gate array (FPGA). The memory 506 is a main storage device realized using a random access memory (RAM) or the like. The storage device 508 is an auxiliary storage device realized using a hard disk, a solid state drive (SSD), a memory card, or a read only memory (ROM) or the like.
[0031] The input / output interface 510 is an interface for connecting the computer 500 to an input / output device. For example, the input / output interface 510 is connected to an input device such as a keyboard and an output device such as a display device.
[0032] The network interface 512 is an interface for connecting the computer 500 to a network. For example, an attack on the attack information generation device 2000 is launched from another machine communicatively connected to the computer 500 via this network. This network may be a LAN (Local Area Network) or a WAN (Wide Area Network).
[0033] The storage device 508 stores a program (a program that realizes the above-mentioned application) that realizes each functional component of the attack information generation device 2000. The processor 504 realizes each functional component of the attack information generation device 2000 by reading this program into the memory 506 and executing it.
[0034] The attack information generation device 2000 may be realized by one computer 500, or may be realized by multiple computers 500. In the latter case, the configuration of each computer 500 does not need to be the same, and can be different from each other.
[0035] <Processing flow> FIG. 4 is a flowchart illustrating the flow of processing executed by the attack information generation device 2000 of the first embodiment. S102 to S108 are loop processing L1 that is executed for each of the multiple executions of the target attack. In S102, the attack information generation device 2000 determines whether the loop processing L1 has already been executed for all of the multiple executions of the target attack. If the loop processing L1 has already been executed for all of the multiple executions of the target attack, the processing of FIG. 4 proceeds to S112. On the other hand, if there is any of the multiple executions of the target attack that has not yet been the target of the loop processing L1, the attack information generation device 2000 selects one of them. The execution selected here is called the i-th execution. After that, the processing of FIG. 4 proceeds to S104.
[0036] The identification unit 2020 extracts entries recorded during the i-th execution period of the target attack from the log 10 (S104). The identification unit 2020 identifies the number of occurrences of each event based on the extracted entries (S106). Since S108 is the end of the loop process L1, the process in FIG. 4 proceeds to S102.
[0037] S110 to S114 are loop processing L2 that is performed for each event that occurred during the execution period of the target attack. In S110, the attack information generation device 2000 determines whether or not the loop processing L2 has already been performed for all events that occurred during the execution period of the target attack. If the loop processing L2 has already been performed for all events that occurred during the execution period of the target attack, the processing in FIG. 4 proceeds to S116. On the other hand, if there are events that occurred during the execution period of the target attack that have not yet been subject to the loop processing L2, the attack information generation device 2000 selects one of them. The event selected here is called event j. The processing in FIG. 4 then proceeds to S112.
[0038] The determination unit 2040 determines whether the occurrence count of the event j, which is identified for each of the multiple executions of the target attack, satisfies a predetermined condition (S112). Since S114 is the end of the loop process L2, the process in FIG. 4 proceeds to S110.
[0039] The generation unit 2060 generates attack information 30 that associates the target attack with an event whose occurrence count has been determined to satisfy a predetermined condition (S116).
[0040] In the flowchart of Fig. 4, for one targeted attack, an event associated with the targeted attack is identified in the attack information 30. However, there may be multiple targeted attacks. When attack information 30 is generated for each of multiple targeted attacks, for example, as shown in Fig. 5, the processes from S102 to S116 are executed for each targeted attack. Fig. 5 is a flowchart illustrating the flow of the process executed by the attack information generating device 2000 for the case where attack information 30 is generated for each of multiple targeted attacks.
[0041] <Regarding Log 10> As mentioned above, the log 10 is a log of the environment in which the target attack is executed. For example, the log 10 can be broadly divided into 1) logs acquired on the machine that is subject to the target attack (hereinafter, the target machine) and 2) logs acquired on the communication path between the other target machine and other machines. Hereinafter, the log of 1) will be called the endpoint log, and the log of 2) will be called the endpoint log. ) Such a log is called a network log. The target machine may be a physical machine or a virtual machine.
[0042] The endpoint log is, for example, a log of the behavior of each process running on the target machine, a log of access to the registry, a file system log, etc. The behavior of a process is represented, for example, by a system call or other API (Application Programming Interface) executed by the process, etc. The network log is, for example, a log recorded by a proxy server present on the communication path, a network flow log, a packet capture log, etc.
[0043] The attack information generation device 2000 may use one of the various logs described above or other logs as the log 10, or may use each of a plurality of logs as the log 10.
[0044] <About targeted attacks> A targeted attack is any cyber attack. For example, a targeted attack consists of one or more commands. Here, a targeted attack may be part of a series of attacks (hereinafter, an attack sequence) to achieve a specific purpose. For example, an attacker who aims to steal important information from a target organization will invade a terminal in the target organization's network, and then investigate and collect files stored in the terminal. In addition, the attacker will search for other terminals where important information is likely to be stored, obtain authentication information to expand the intrusion to other terminals, and search for vulnerabilities. Using the obtained authentication information and vulnerability information, the attacker will invade other terminals discovered by the search, expanding the search range for important information. When important information is obtained from the terminal, the attacker will take the information to the attacker's server and end the attack.
[0045] The target attack does not have to be an actual attack performed by a malicious attacker, but may be a pseudo attack performed by the operator of the attack information generation device 2000 or the like for the purpose of generating the attack information 30. For example, the attack information 30 is generated by executing an attack sequence multiple times in a test environment and using the log 10 obtained as a result. For example, assume that the attack sequence is composed of attacks A1, A2, and A3. In this case, the attacks A1, A2, and A3 are each treated as a target attack. For example, in the flowchart of FIG. 5, a loop process L3 with attack A1 as the target attack k, a loop process L3 with attack A2 as the target attack k, and a loop process L3 with attack A3 as the target attack k are each executed. In this way, the attack information generation device 2000 generates attack information 30 in which attack A1 is associated with an event generated by the effect of attack A1, attack information 30 in which attack A2 is associated with an event generated by the effect of attack A2, and attack information 30 in which attack A3 is associated with an event generated by the effect of attack A3. However, the attack information generation device 2000 may treat only some of the attacks included in the attack sequence as targeted attacks.
[0046] Here, the target attack may be executed multiple times while changing the settings of the test environment. In other words, each execution may be performed in a test environment with different settings. Examples of the test environment settings that can be changed include log acquisition settings (settings for what type of events are to be recorded as logs), network configuration, and firewall settings. By using the log 10 obtained by executing the target attack while changing the test environment settings in various ways, it is possible to associate events that are less affected by the execution environment among events that occur due to the effect of the target attack with the target attack (in other words, it is possible to avoid associating events that occur only in a specific execution environment with the target attack).
[0047] <Extracting entries and identifying the number of occurrences of events: S104, S106> The identification unit 2020 identifies the number of occurrences of each event for each of the multiple executions of the target attack by using entries recorded in the log 10 during that execution period (S106). To do this, for example, the identification unit 2020 extracts entries recorded during each of the multiple executions of the target attack from the log 10 (S104). Hereinafter, a set of entries extracted from the log 10 for the execution period of the i-th target attack is referred to as entry group i.
[0048] Here, the method by which the identifying unit 2020 acquires the log 10 is arbitrary. For example, the identifying unit 2020 acquires the log 10 from a storage device accessible from the identifying unit 2020. Alternatively, for example, the identifying unit 2020 may transmit a request to a device (such as a database server) that manages the log 10, and acquire the log 10 as a response thereto.
[0049] The identification unit 2020 classifies the entries included in each entry group by event for each entry group. FIG. 6 is a diagram conceptually illustrating a method for identifying the number of occurrences of each event. In this example, the targeted attack is executed three times. The execution periods of the first to third targeted attacks are from t11 to t12, t21 to t22, and t31 to t32, respectively. Therefore, the entry group for the first targeted attack includes each entry recorded in the log 10 between time t11 and time t12. Similarly, the entry group for the second targeted attack includes each entry recorded in the log 10 between time t21 and time t22, and the entry group for the third targeted attack includes each entry recorded in the log 10 between time t31 and time t32.
[0050] The identification unit 2020 counts the entries for each entry group. FIG. 6 illustrates an example of counting the entry group 1 generated for the first target attack. The identification unit 2020 separates the entries included in the entry group 1 into entries that represent the same event. In this example, the entries E1 to E9 included in the entry group 1 are classified into "E1, E3, E5", "E2, E7", "E4, E6, E8", and "E9". Here, an identifier I1 is assigned to the event represented by the entries E1, E3, and E5, an identifier I2 is assigned to the event represented by the entries E2 and E7, an identifier I3 is assigned to the event represented by the entries E4, E6, and E8, and an identifier I4 is assigned to the event represented by the entry E9.
[0051] The identification unit 2020 identifies the number of occurrences of an event based on the number of entries corresponding to each event. For example, the identification unit 2020 treats the number of entries corresponding to a certain event as the number of occurrences of that event. For example, in the example of FIG. 6, the numbers of entries corresponding to events I1 to I4 are 3, 2, 3, and 1, respectively. Therefore, the numbers of occurrences of events I1 to I4 are 3, 2, 3, and 1, respectively.
[0052] Alternatively, for example, if there is no entry corresponding to a certain event (if the number of entries is 0), the identification unit 2020 may set the number of occurrences of the event to 0, and if there is an entry corresponding to the event (if the number of entries is 1 or more), the number of occurrences of the event may be set to 1. That is, in this case, the presence or absence of each event is grasped for each target attack. For example, in the case of FIG. 6, the number of occurrences of events I1 to I4 are all treated as 1.
[0053] <<Identifying the period during which a targeted attack was carried out>> In order to extract entries recorded during the execution period of the target attack from the log 10, it is necessary to be able to identify the execution period of the target attack. For this purpose, for example, when the target attack is executed, information indicating the start and end points of the execution (hereinafter, the attack log) is stored in an arbitrary storage device. The identification unit 2020 identifies the execution period of the target attack by using the attack log.
[0054] It should be noted that existing technology can be used for recording the start and end points of an attack. For example, when a target attack is executed using a script whose execution start point is scheduled in advance, the time scheduled as the execution start point of the script is recorded in the attack log as the start point of the attack. In this case, the end point of the execution of the script is recorded in the attack log as the end point of the attack. In addition, for example, when an operator or the like manually executes a target attack, the start and end points of the execution may be recorded in the attack log by the operator or the like.
[0055] Fig. 7 is a diagram illustrating an example of an attack log in table format. The attack log 40 in Fig. 7 includes an attack identifier 42 and an execution period 44. The attack identifier 42 indicates an identifier capable of identifying a target attack. The execution period 44 includes a start time 46 indicating the start time of the target attack and an end time 48 indicating the end time of the target attack.
[0056] <<Event Identification>> In order to separate entries by event, it is necessary to identify the events represented by each entry. In other words, it is necessary to use some criteria to determine whether multiple entries represent the same event or different events. A specific method for doing this is shown below.
[0057] For example, the identification unit 2020 treats entries having the same values in one or more predetermined items as representing the same event. The items of an entry may include various items representing, for example, the subject, object, or content of an event. When identifying an event based on the values of the items, a rule (hereinafter, event identification rule) that defines which item is to be used to identify an event is stored in advance in an arbitrary storage device in a manner that can be acquired by the identification unit 2020. The identification unit 2020 divides a plurality of entries included in an entry group into combinations of entries that represent the same event using the event identification rule.
[0058] For example, assume that each entry in the log 10 has five items B1 to B5. Also assume that an event identification rule is defined such that "entries with the same values of items B2 and B4 represent the same event." In this case, the identification unit 2020 compares the values of items B2 and B4 between entries included in the entry group. Then, a combination of multiple entries that satisfies the condition that "the values of item B2 are the same and the values of item B4 are also the same" is extracted as a combination of entries representing the same event.
[0059] Here, not only entries whose item values are completely the same, but also entries whose item values are similar may be treated as entries representing the same event. For example, for an "accessed file" item, not only entries whose accessed file names are completely the same, but also entries whose directories containing the accessed files are the same (i.e., file paths are the same up to a certain point) or whose accessed file types are the same (e.g., file extensions are the same) may be treated as entries representing the same event.
[0060] Here, the items included in the log may differ depending on the type of log, so when multiple types of logs are handled as the log 10, the above-mentioned event identification rule is determined in advance for each type of log.
[0061] FIG. 8 is a diagram illustrating an example of an event identification rule in table format. An event identification rule 50 has a log type 52 and a rule 54. The log type 52 indicates the type of log 10 to which the rule indicated in the rule 54 applies. The rule 54 indicates one or more pairs of an item name and an identification condition. For example, in the example of FIG. 8, a combination of multiple entries that satisfies the condition that "the values of item B1 match each other, and the file types indicated in item B3 match each other" is treated as a combination of entries that represent the same event.
[0062] However, when multiple pairs are indicated in rule 54, the meaning of rule 54 does not have to be limited to "satisfying all the conditions of each pair." For example, it may be possible to specify "pair 1 and pair 2 or pair 3" in rule 54, thereby allowing flexible rule setting based on multiple pairs.
[0063] <Determining whether or not a predetermined condition is satisfied: S112> The determination unit 2040 determines whether the occurrence number of each event satisfies a predetermined condition (S112). For example, as described above, the predetermined condition is a condition that is satisfied for an event that occurs due to the influence of a target attack. Here, if an event occurs due to the influence of a target attack, it is considered that the event occurs in all or most of the multiple executions of the target attack. Therefore, for example, the predetermined condition that is satisfied for an event that occurs due to the influence of a target attack can be a condition that is satisfied for an event that appears in all or most of the multiple executions of the target attack.
[0064] Such a predetermined condition is determined, for example, by a condition related to a statistical value (such as an average value, a median value, a mode value, or a minimum value) of the occurrence count of an event. Specifically, the condition is "the statistical value of the occurrence count of an event is equal to or greater than a threshold value." In this case, the determination unit 2040 calculates, for each event, a statistical value of the occurrence count of the event in each of multiple executions of the target attack, and determines whether the statistical value is equal to or greater than a threshold value. If the statistical value calculated for a certain event is equal to or greater than the threshold value, the predetermined condition is satisfied for the occurrence count of the event. On the other hand, if the statistical value calculated for the event is smaller than the threshold value, the predetermined condition is not satisfied for the occurrence count of the event.
[0065] <Generation of Attack Information 30: S116> The generation unit 2060 generates attack information 30 that associates the target attack with an event whose occurrence count is determined to satisfy a predetermined condition (S116). When a condition that is satisfied for an event that occurs in all or most of the multiple executions of the target attack is used as the predetermined condition, the attack information 30 becomes information that associates the target attack with an event that occurs as a result of the effect of the target attack.
[0066] FIG. 9 is a diagram illustrating an example of the configuration of attack information 30 in table format. In FIG. 9, attack information 30 has an attack identifier 32, a log type 34, and an event identifier 36. The attack identifier 32 indicates an identifier assigned to an attack. Any information capable of identifying an attack can be used for the attack identifier 32. For example, the name of the attack is used for the attack identifier 32. Alternatively, for example, the attack identifier 32 may be expressed as a combination of the name of the attack and its settings. For example, when a command whose behavior changes depending on an argument is used as an attack, the attack identifier 32 can be expressed as a combination of "command name, argument."
[0067] The log type 34 indicates the type of log used to generate the attack information 30. The event identifier 36 can use any information capable of identifying an event. For example, when an event identification rule 50 is used to identify an event, the generation unit 2060 generates the event identifier 36 based on the value of an item specified in the rule 54. For example, it is assumed that an event is identified based on the rule that "the process names match and the types of the accessed files match." In this case, for example, the event identifier 36 is represented by a pair of a process name and a file type.
[0068] Here, when multiple events whose occurrence counts satisfy a predetermined condition are identified for the same target attack and the same log 10, the event identifier 36 indicates the identifiers of each of these multiple events. That is, multiple events are associated with a pair of "target attack, log type." This indicates that, because the execution of a target attack causes these multiple events to occur, entries representing each of these multiple events are recorded in the same log 10.
[0069] For example, in the first line of Figure 9, the combination of "attack identifier = attack A1" and "log type = OS event" is associated with "event identifier = OI2, OI3." Therefore, if the OS event log contains both an entry representing an event with an event identifier OI2 and an entry representing an event with an event identifier OI3, it can be said that there is a high probability that attack A1 was carried out.
[0070] <Attack information 30 output> The generation unit 2060 may output the attack information 30 in any manner. For example, the generation unit 2060 stores the attack information 30 in a storage device accessible from the attack information generation device 2000. For example, the attack information 30 stored in the storage device is used by an attack detection device described later. As another example, the generation unit 2060 displays the attack information 30 on a display device accessible from the attack information generation device 2000. As another example, the generation unit 2060 transmits the attack information 30 to any device. For example, the destination of the attack information 30 is the attack detection device described later.
[0071] <Detecting attacks using Attack Information 30> One possible way to use the attack information 30 is to use it in a process of detecting attacks that may have been made against a computer system from logs generated in the actual operating environment of the computer system. Below, a method of detecting attacks that may have been made against a computer system using the attack information 30 will be described. Here, a computer system that is the target of attack detection is called a test target system, and a log obtained in the execution environment of the test target system is called a test target log. Also, a device that performs a process of detecting attacks using the attack information 30 is called an attack detection device.
[0072] The attack detection device may be provided integrally with the attack information generation device 2000, or may be provided separately. In other words, the attack detection device may be realized in the computer 500 together with the attack information generation device 2000, or may be realized in a separate computer. In the latter case, the computer that realizes the attack information generation device 2000 has the hardware configuration shown in FIG. 3, for example, similar to the computer 500.
[0073] For example, the attack detection device detects one or more events (hereinafter, event group) that are associated with the same attack in the attack information 30 from the log to be inspected. When a certain event group is detected from the log to be inspected, the attack detection device detects the attack associated with the event group as an attack that may have been performed against the system to be inspected. As described above, the attack information 30 may be generated using multiple logs 10. Therefore, the attack detection device detects the event group by using, as the log to be inspected, a log of the same type as the type indicated in the log type 34 from among the logs obtained from the execution environment of the system to be inspected.
[0074] The attack detection device may detect an event group by further taking into account the time required for the attack. That is, the attack detection device may detect an attack associated with an event group as an attack performed on the system under test only if the event group is included in a specific time range. By detecting an attack in this way by taking into account the time required for the attack, it is possible to detect attacks that may have been performed on the system under test with higher accuracy.
[0075] The duration of an attack may be common to all attacks, or may be determined for each attack. In the latter case, information regarding the duration of an attack is included in the attack information 30. FIG. 10 is a diagram illustrating a case in which each attack is associated with its duration in the attack information 30. The attack information 30 in FIG. 10 has an attack length 38. The attack length 38 indicates the length of the execution period of the corresponding attack.
[0076] 10, when the attack information 30 includes the attack length 38, for example, the generation unit 2060 determines the value to be set for the attack length 38 based on the length of the execution period of the target attack. For example, the generation unit 2060 uses the attack log 40 to identify the length of the execution period for each of multiple executions of the target attack, and sets the statistical value of the identified execution period length as the attack length 38. For example, the statistical value may be the average value, median value, mode value, maximum value, minimum value, or the like.
[0077] Although the present invention has been described above with reference to the embodiment, the present invention is not limited to the above embodiment. Various modifications that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention.
[0078] In the above example, the program can be stored and provided to the computer using various types of non-transitory computer readable media. The non-transitory computer readable medium includes various types of tangible storage media. Examples of the non-transitory computer readable medium include magnetic recording media (e.g., flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (e.g., magneto-optical disks), CD-ROMs, CD-Rs, CD-R / Ws, and semiconductor memories (e.g., mask ROMs, PROMs (Programmable ROMs), EPROMs (Erasable PROMs), flash ROMs, and RAMs). The program may also be provided to the computer by various types of transitory computer readable media. Examples of the transitory computer readable medium include electrical signals, optical signals, and electromagnetic waves. The transitory computer readable medium can supply the program to the computer via a wired communication path such as an electric wire or optical fiber, or via a wireless communication path.
[0079] A part or all of the above-described embodiments can be described as, but is not limited to, the following supplementary notes. (Appendix 1) An identification means for identifying the number of occurrences of one or more events for each of a plurality of executions of a target attack, using logs during the execution period of the target attack; a determination means for determining whether or not the number of occurrences of the event identified for each of the multiple executions of the target attack satisfies a predetermined condition; and a generation means for generating attack information that associates the target attack with the event whose occurrence count is determined to satisfy the specified condition. (Appendix 2) The attack information generation device described in Appendix 1, wherein the specified condition is that a statistical value of the number of occurrences of the event identified for each of multiple executions of the target attack is greater than or equal to a threshold value. (Appendix 3) The identification means is The number of occurrences of the event having a corresponding entry in the log during the execution period of the target attack is set to 1; 3. An attack information generation device as described in claim 1 or 2, wherein the number of occurrences of an event for which there is no corresponding entry in the log during the execution period of the target attack is set to 0. (Appendix 4) The identification means is Identifying, among a plurality of entries recorded in the log during the execution period of the target attack, each of the entries showing matching or similar values in one or more predetermined items as entries representing the same event; 4. An attack information generation device as claimed in any one of claims 1 to 3, further comprising: for each said event, determining the number of occurrences of said event based on the number of said entries determined to represent said event. (Appendix 5) 5. The attack information generation device according to claim 1, wherein the generation means identifies a length of an execution period of the target attack and includes the length of the execution period in the attack information. (Appendix 6) An attack information generation device as described in Appendix 5, wherein the length of the execution period of the target attack included in the attack information is a statistical value of the length of the execution period of each of the target attacks that are executed multiple times. (Appendix 7) 7. The attack information generation device according to any one of claims 1 to 6, wherein at least two of the multiple executions of the target attack are performed in different test environments. (Appendix 8) The identification means identifies the number of occurrences of each of the events for each of the plurality of types of logs, An attack information generation device described in any one of Appendix 1 to 7, wherein the generation means includes in the attack information the type of the log from which the entry representing the event was extracted. (Appendix 9) 1. A computer-implemented control method comprising: an identifying step of identifying the number of occurrences of one or more events for each of a plurality of executions of the target attack using a log during the execution period; a determination step of determining, for each of the events, whether or not the number of occurrences of the event identified for each of the multiple executions of the target attack satisfies a predetermined condition; A control method comprising: a generating step of generating attack information that associates the target attack with the event whose occurrence number is determined to satisfy the specified condition. (Appendix 10) 10. The control method according to claim 9, wherein the specified condition is that a statistical value of the number of occurrences of the event identified for each of multiple executions of the target attack is greater than or equal to a threshold value. (Appendix 11) In the identifying step, The number of occurrences of the event having a corresponding entry in the log during the execution period of the target attack is set to 1; The control method according to claim 9 or 10, wherein the number of occurrences of the event for which no corresponding entry exists in the log during the execution period of the target attack is set to 0. (Appendix 12) In the identifying step, Identifying, among a plurality of entries recorded in the log during the execution period of the target attack, each of the entries showing matching or similar values in one or more predetermined items as entries representing the same event; 12. A method according to any one of claims 9 to 11, further comprising determining, for each said event, the number of occurrences of the event based on the number of said entries identified as representing the event. (Appendix 13) A control method according to any one of appendices 9 to 12, wherein in the generation step, the length of an execution period of the target attack is identified and the length of the execution period is included in the attack information. (Appendix 14) The control method described in Appendix 13, wherein the length of the execution period of the target attack included in the attack information is a statistical value of the length of the execution period of each of the target attacks executed multiple times. (Appendix 15) 14. The control method of any one of appendixes 9 to 13, wherein at least two of the multiple executions of the targeted attack are performed in different test environments. (Appendix 16) In the identifying step, the number of occurrences of each of the events is identified for each of the plurality of types of logs; A control method according to any one of appendices 9 to 15, wherein, in the generation step, the attack information includes the type of the log from which the entry representing the event was extracted. (Appendix 17) an identifying step of identifying the number of occurrences of one or more events for each of a plurality of executions of the target attack using a log during the execution period; a determination step of determining, for each of the events, whether or not the number of occurrences of the event identified for each of the multiple executions of the target attack satisfies a predetermined condition; A generating step of generating attack information that associates the target attack with the event whose occurrence count is determined to satisfy the predetermined condition. (Appendix 18) 18. The program of claim 17, wherein the specified condition is that a statistical value of the number of occurrences of the event identified for each of multiple executions of the target attack is greater than or equal to a threshold. (Appendix 19) In the identifying step, The number of occurrences of the event having a corresponding entry in the log during the execution period of the target attack is set to 1; 19. The program described in Appendix 17 or 18, wherein the number of occurrences of the event for which no corresponding entry exists in the log during the execution period of the target attack is set to 0. (Appendix 20) In the identifying step, Among a plurality of entries recorded in the log during the execution period of the target attack, the entries that show matching or similar values in one or more predetermined items are identified as the entries that represent the same event; 20. The program of claim 17, further comprising: determining, for each said event, a number of occurrences of the event based on a number of the entries identified as representing the event. (Appendix 21) 21. The program according to any one of appendices 17 to 20, wherein in the generation step, the length of the execution period of the target attack is identified and the length of the execution period is included in the attack information. (Appendix 22) The program described in Appendix 21, wherein the length of the execution period of the target attack included in the attack information is a statistical value of the length of the execution period of each of the target attacks executed multiple times. (Appendix 23) 23. The program of any one of appendix 17 to 22, wherein at least two of the multiple executions of the targeted attack are performed in different test environments. (Appendix 24) In the identifying step, the number of occurrences of each of the events is identified for each of the plurality of types of logs; The program according to any one of appendices 17 to 23, wherein in the generation step, the attack information includes the type of the log from which the entry representing the event was extracted.
[0080] This application claims priority based on Japanese Patent Application No. 2020-215074, filed on December 24, 2020, the disclosure of which is incorporated herein in its entirety. [Explanation of symbols]
[0081] 10 Logs 30 Attack Information 32 Attack Identifier 34 Log Type 36 Event Identifier 38 Attack Length 40 Attack Log 42 Attack Identifier 44 Execution Period 46 Start time 48 End time 50 Event Identification Rules 52 Log Type 54 Rules 500 Computers 502 Bus 504 Processor 506 Memory 508 Storage Devices 510 Input / Output Interface 512 Network Interface 2000 Attack Information Generator 2020 Specific Department 2040 Judgment section 2060 Generation part
Claims
1. A means for acquiring information indicating the execution period of each of multiple targeted attacks, and for identifying the number of occurrences of one or more events for each of the targeted attacks using logs during the execution period of each of the targeted attacks; a determination means for determining, for each of the events, whether or not the occurrence count of the event identified for each of the target attacks satisfies a predetermined condition; An attack information generation device having a generation means for generating information that corresponds the target attack with the event whose occurrence number is determined to satisfy the specified condition, as attack information indicating events that may occur as a result of the target attack.
2. The attack information generation device according to claim 1 , wherein the predetermined condition is that a statistical value of the number of occurrences of the event identified for each of a plurality of executions of the target attack is equal to or greater than a threshold value.
3. The identification means is The number of occurrences of the event having a corresponding entry in the log during the execution period of the target attack is set to 1; The attack information generation device according to claim 1 , wherein the number of occurrences of the event for which no corresponding entry exists in the log during the execution period of the target attack is set to 0.
4. The identification means is Identifying, among a plurality of entries recorded in the log during the execution period of the target attack, the entries that show matching or similar values in one or more predetermined items as entries that represent the same event; The attack information generation device according to claim 1 , further comprising: a number of occurrences of each of the events based on a number of the entries identified as representing the event.
5. The attack information generation device according to claim 1 , wherein the generation means identifies a duration of an execution period of the target attack and includes the duration of the execution period in the attack information.
6. The attack information generating device according to claim 5 , wherein the duration of the execution of the target attack included in the attack information is a statistical value of the duration of each of the target attacks executed a plurality of times.
7. The attack information generation device according to claim 1 , wherein at least two of the multiple executions of the target attack are performed in mutually different test environments.
8. The identification means identifies the number of occurrences of each of the events for each of the plurality of types of logs, The attack information generating device according to claim 1 , wherein the generating means includes, in the attack information, a type of the log from which an entry representing the event is extracted.
9. 1. A computer-implemented control method comprising: acquiring information indicating the execution period of each of the targeted attacks executed multiple times, and identifying the number of occurrences of one or more events for each of the targeted attacks using a log during the execution period of each of the targeted attacks; a determination step of determining, for each of the events, whether or not the number of occurrences of the event identified for each of the targeted attacks satisfies a predetermined condition; A control method comprising: a generating step of generating information associating the target attack with the event whose occurrence number is determined to satisfy the specified condition, as attack information indicating events that may occur as a result of the target attack.
10. The control method according to claim 9 , wherein the predetermined condition is that a statistical value of the number of occurrences of the event identified for each of a plurality of executions of the target attack is equal to or greater than a threshold value.
11. In the identifying step, The number of occurrences of the event having a corresponding entry in the log during the execution period of the target attack is set to 1; The control method according to claim 9 or 10, further comprising setting the number of occurrences of the event for which no corresponding entry exists in the log during an execution period of the target attack to zero.
12. In the identifying step, Identifying, among a plurality of entries recorded in the log during the execution period of the target attack, the entries that show matching or similar values in one or more predetermined items as entries that represent the same event; A method according to claim 9 , further comprising identifying, for each said event, a number of occurrences of that event based on the number of said entries identified as representing that event.
13. The control method according to claim 9 , wherein in the generating step, a length of an execution period of the target attack is identified, and the length of the execution period is included in the attack information.
14. The control method according to claim 13 , wherein the duration of the execution of the target attack included in the attack information is a statistical value of the duration of each of the target attacks executed a plurality of times.
15. The method of claim 9 , wherein at least two of the multiple executions of the targeted attack are performed in different test environments.
16. In the identifying step, the number of occurrences of each of the events is identified for each of the plurality of types of logs; The control method according to claim 9 , wherein in the generating step, the attack information includes a type of the log from which an entry representing the event is extracted.
17. A step of acquiring information indicating the execution period of each of the targeted attacks that have been executed multiple times, and identifying the number of occurrences of one or more events for each of the targeted attacks using logs during the execution period of each of the targeted attacks; a determination step of determining, for each of the events, whether or not the number of occurrences of the event identified for each of the targeted attacks satisfies a predetermined condition; A program for causing a computer to execute a generation step of generating information that associates the target attack with the event whose occurrence number is determined to satisfy the specified condition, as attack information indicating events that may occur as a result of the target attack.
18. The program according to claim 17 , wherein the predetermined condition is that a statistical value of the number of occurrences of the identified event for each of a plurality of executions of the target attack is equal to or greater than a threshold value.
19. In the identifying step, The number of occurrences of the event having a corresponding entry in the log during the execution period of the target attack is set to 1; 19. The program according to claim 17, further comprising setting the number of occurrences of the event for which no corresponding entry exists in the log during an execution period of the target attack to zero.
20. In the identifying step, Identifying, among a plurality of entries recorded in the log during the execution period of the target attack, entries that indicate matching or similar values in one or more predetermined items as entries that represent the same event; 20. The program of claim 17, further comprising: determining, for each said event, a number of occurrences of said event based on a number of said entries identified as representing said event.
21. 21. The program according to claim 17, wherein in the generating step, a length of an execution period of the target attack is identified, and the length of the execution period is included in the attack information.
22. The program according to claim 21 , wherein the execution period of the target attack included in the attack information is a statistical value of the execution period of each of the target attacks executed a plurality of times.
23. 23. The program of claim 17, wherein at least two of the multiple executions of the targeted attack are performed in different test environments.
24. In the identifying step, the number of occurrences of each of the events is identified for each of the plurality of types of logs; 24. The program according to claim 17, wherein in the generating step, the attack information includes a type of the log from which an entry representing the event was extracted.
Citation Information
Patent Citations
Improper access handling system and improper access handling processing program
JP2004302956A
Attack determination device, and attack determination method and program
JP2010152773A
Equipment diagnosis system
JP2012003436A
Software detection rule generation device, software detection rule generation method and software detection rule generation program
JP2013092981A
Terminal analyzing device, behavior detection device, terminal analyzing program, and behavior detection program
JP2016115037A
