A security event alarm correlation aggregation method, device and medium

By generating a directed graph and generating edges according to the attack stage relationship, combined with the adjustment of the time range, the problem of difficulty in obtaining the time range value in security event alarm correlation is solved, and accurate correlation of attack behaviors and identification of key alarm information are achieved.

CN116032724BActive Publication Date: 2024-09-27广域铭岛数字科技有限公司 +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211641098.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-20
Publication Date
2024-09-27
Estimated Expiration
2042-12-20

AI Technical Summary

Technical Problem

When correlating security event alarms, the value of the time range is difficult to grasp, which may lead to the aggregation of multiple attack behaviors, or the inability to correlate multiple steps of an attack behavior, affecting operation and maintenance personnel to find key alarm information.

Method used

By generating a directed graph, the attacker and target host in the alarm information are used as nodes, and edges are generated according to the relationship between the attack stages. If the attacker or target host in the alarm information does not appear in the graph, the corresponding edge is generated; if only the attacker Or the target host appears in the graph, and edges are generated based on the relationship between attack stages; when the time range is inappropriate, the time range is expanded to requery the alarm information, and a subdirected graph is generated to avoid interference.

Benefits of technology

It effectively solves the problem of aggregation of multiple groups of attack behaviors when the time range is too large, helps operation and maintenance personnel understand the characteristics of specific attack behaviors, determines key alarm information, avoids interference from other groups of attack behaviors, and improves the accuracy and efficiency of alarm correlation aggregation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116032724B
    Figure CN116032724B
Patent Text Reader

Abstract

The present application discloses a security incident alarm correlation aggregation method, device and medium thereof, which relates to the technical field of security incident alarm, and is used for correlating and aggregating various alarm information. In view of the problem that it is difficult to grasp the value of the time range when correlating security incident alarms, a security incident alarm correlation aggregation method is provided. By introducing the concept of attack phase in the alarm information, only a directed graph that satisfies the attack phase in sequence is generated in the directed graph generation. Therefore, on the one hand, the present application realizes correlation aggregation of alarm information by means of a directed graph, which helps the operation and maintenance personnel to grasp the attack characteristics of a specific group of attack behaviors; on the other hand, it can also effectively solve the problem that other groups of attack behaviors may appear in the directed graph when the time range is too large, improve the flexibility of the time range value, and avoid being disturbed by other groups of attack behaviors when analyzing a group of attack behaviors, which is more conducive to the operation and maintenance personnel to extract key alarm information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of security event alarms, and in particular to a security event alarm correlation aggregation method, device, and medium thereof. Background Art

[0002] Security operations generally need to rely on the alarms generated by various security devices as a basis for implementation. Finding key alarms that can pose risks to enterprise security from a large number of alarms is the core of security operations. For this needle-in-a-haystack task, operators generally rely on their long-term accumulated experience (including the degree of awareness of alarms and the degree of awareness of enterprise assets, etc.) to gradually approach key alarms. On the other hand, security device alarms are generally low-level alarms. To obtain complete information about an attack behavior, it is often necessary to associate multiple alarms. It is difficult for operation and maintenance personnel to find key alarm information by simply viewing the individual attack alarm information returned by security devices.

[0003] Currently, there are two common methods: First, aggregate and associate through single or multiple fields such as the target host, attacker, alarm time, etc. of the alarm, such as aggregating and associating alarms from the same attacker within a certain time period; second, the attacker or target host of the alarm is used as a node of a directed graph, and a directed graph is generated for all alarms within a time period, and all alarms that generate a connected component are aggregated and associated together.

[0004] For the two common methods mentioned above, the first one is simply to filter the alarms together through certain features. It is essentially a conditional screening method for data, which does not have the real business significance of aggregation and association, and is of limited help to security operations. The second method uses the generation of a directed graph to express the situation that the target host of a certain alarm may be the attacker of another alarm, but the time range selection here must be compromised. If the time range is too large, multiple attack behaviors may be aggregated and associated together, and more alarm query performance will be consumed; if the time range is too small, it may not be possible to associate and aggregate multiple steps of an attack behavior, and the final generated directed graph is just a number of disconnected nodes, which cannot achieve the effect of aggregation and association.

[0005] Therefore, technical personnel in this field are in urgent need of a security event alarm correlation aggregation method to solve the problem that it is difficult to grasp the value of the time range when correlating security event alarms. When the time range is too large, multiple attack behaviors are easily aggregated and associated together. Summary of the invention

[0006] The purpose of this application is to provide a security event alarm association aggregation method, device and medium thereof, so as to solve the problem that it is difficult to grasp the value of the time range when correlating security event alarms. When the time range is too large, it is easy to aggregate and associate multiple attack behaviors together.

[0007] In order to solve the above technical problems, the present application provides a security event alarm association aggregation method, including:

[0008] Query all alarm information within the preset time range from the security device;

[0009] Traverse all alarm information to generate a directed graph; wherein, for each alarm information: if the attacker and the target host of the alarm information do not appear in the directed graph, then the attacker and the target host are taken as nodes of the directed graph, and the edge of the directed graph is generated between the attacker and the target host; if only the attacker appears in the directed graph, and the attack stage corresponding to the alarm information is later than one of the in-degree edges of the attacker, then the target host is taken as a node of the directed graph, and an edge is generated between the attacker and the target host; if only the target host appears in the directed graph, and the attack stage corresponding to the alarm information is earlier than one of the out-degree edges of the target host, then the attacker is taken as a node of the directed graph, and an edge is generated between the attacker and the target host;

[0010] Returns a directed graph.

[0011] Preferably, if only the attacker appears in the directed graph, and the attack stage corresponding to the warning information is later than one of the attacker's in-degree edges, and if only the target host appears in the directed graph, and the attack stage corresponding to the warning information is earlier than one of the target host's out-degree edges, it also includes:

[0012] The time range is expanded, and the new time range is returned to query all alarm information within the time range from the security device according to the preset time range.

[0013] Preferably, traversing all the alarm information to generate a directed graph further includes:

[0014] If only the attacker appears in the directed graph, and the attack phase corresponding to the alarm information is earlier than one of the attacker's in-degree edges, or only the target host appears in the directed graph, and the attack phase corresponding to the alarm information is later than one of the target host's out-degree edges, then the alarm information is generated as a sub-directed graph alone.

[0015] Preferably, expanding the time range and returning to querying all alarm information within the time range from the security device according to the preset time range with the new time range includes:

[0016] The time range is expanded, and the increment of the time range is used as the new time range, and all alarm information within the time range is queried from the security device according to the preset time range.

[0017] Preferably, the expanded time range includes:

[0018] Expanding time frames exponentially.

[0019] Preferably, the expanded time range includes:

[0020] Expand the time frame in a linear manner.

[0021] Preferably, the edges in the directed graph are labeled with attack stages.

[0022] In order to solve the above technical problems, the present application also provides a security event alarm association aggregation device, including:

[0023] The alarm information acquisition module is used to query all alarm information within a time range from the security device according to a preset time range;

[0024] A directed graph generation module is used to traverse all alarm information to generate a directed graph; wherein, for each alarm information: if the attacker and the target host of the alarm information do not appear in the directed graph, the attacker and the target host are used as nodes of the directed graph, and the edge of the directed graph is generated between the attacker and the target host; if only the attacker appears in the directed graph, and the attack stage corresponding to the alarm information is later than one of the in-degree edges of the attacker, the target host is used as a node of the directed graph, and an edge is generated between the attacker and the target host; if only the target host appears in the directed graph, and the attack stage corresponding to the alarm information is earlier than one of the out-degree edges of the target host, the attacker is used as a node of the directed graph, and an edge is generated between the attacker and the target host;

[0025] The directed graph return module is used to return a directed graph.

[0026] In order to solve the above technical problems, the present application also provides a security event alarm association aggregation device, including:

[0027] Memory for storing computer programs;

[0028] A processor is used to implement the steps of the security event alarm association aggregation method as described above when executing a computer program.

[0029] In order to solve the above technical problems, the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the security event alarm association aggregation method as described above are implemented.

[0030] The present application provides a security event alarm association aggregation method, which traverses all alarm information to generate a corresponding directed graph. Compared with the existing alarm association method, the present application introduces the concept of attack stage in the alarm information. For each security device, it cannot directly classify and group the attack alarms, but many security devices can judge the stage of the attack in a group of attacks based on the characteristics of the attack. It is easy to know that since the attack alarms from asset to asset to asset are sometimes not independent, multiple attack alarms involving multiple assets will together constitute a complete attack behavior, that is, the attack behavior represented by each edge of the directed graph should be a directed graph established sequentially according to the attack stage. If there is a new attacker whose attack phase against an existing target host in a directed graph is earlier than any in-degree edge of the target host (i.e., the edge pointing to the target host), it means that the attack behavior may not be one of the set of attack behaviors represented in the current directed graph; similarly, if there is an attack behavior of an existing attacker against a new target host, if the attack behavior is later than any out-degree edge of the attacker (i.e., the edge pointing from the attacker), it also means that the attack behavior is not one of the set of attack behaviors represented by the current directed graph. Therefore, the security event alarm association aggregation method provided in the present application can effectively solve the problem that other groups of attack behaviors may appear in a directed graph when the time range is too large, and it helps operation and maintenance personnel to grasp the attack characteristics of a specific group of attack behaviors to determine key alarm information without being disturbed by other groups of attack behaviors.

[0031] The security event alarm association aggregation device and computer-readable storage medium provided in this application correspond to the above method and have the same effect as above. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0033] Figure 1 It is the logic block diagram of the security event alarm correlation aggregation method;

[0034] Figure 2 Generate a directed graph diagram for the alarm information;

[0035] Figure 3 Another schematic diagram for generating a directed graph for alarm information;

[0036] Figure 4 A flowchart of a security event alarm association aggregation method provided by the present invention;

[0037] Figure 5Directed graphs generated by existing association aggregation methods;

[0038] Figure 6 A directed graph corresponding to the added alarm information 1 provided by the present invention;

[0039] Figure 7 A directed graph corresponding to the added alarm information 2 provided by the present invention;

[0040] Figure 8 A directed graph corresponding to the added alarm information 3 provided by the present invention;

[0041] Fig. 9 A directed graph corresponding to the added alarm information 4 provided by the present invention;

[0042] Fig.10 A directed graph corresponding to the added alarm information 5 provided by the present invention;

[0043] Fig.11 A directed graph corresponding to the added alarm information 6 provided by the present invention;

[0044] Fig.12 A directed graph corresponding to the added alarm information 7 provided by the present invention;

[0045] Fig.13 A directed graph corresponding to the added alarm information 8 provided by the present invention;

[0046] Fig.14 A directed graph corresponding to the added alarm information 9 provided by the present invention;

[0047] Fig.15 A structural diagram of a security event alarm association aggregation device provided by the present invention;

[0048] Fig.16 A structural diagram of another security event alarm association aggregation device provided by the present invention. DETAILED DESCRIPTION

[0049] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0050] The core of this application is to provide a security event alarm association aggregation method, device and medium.

[0051] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0052] At present, when correlating and aggregating security event alarms, we usually first filter by alarm time to obtain alarm information within a specified time range, and consider this part of alarm information as a set of attack behaviors that are expected to be correlated and aggregated. Furthermore, we use the directed graph method to represent the sequence of attack behaviors and the nodes they pass through, thereby realizing the correlation and aggregation of security event alarms. The logical architecture diagram is as follows: Figure 1 As shown, the original unprocessed alarm log is obtained from the security device, and the alarm log is aggregated and associated in a directed graph manner, and finally the aggregated alarm log is obtained to facilitate the operation and maintenance personnel to analyze the key alarm information.

[0053] Specifically, Figure 2 As shown in FIG. 1 , it is a directed graph corresponding to an alarm message. The alarm message at least includes the attacker A of this attack behavior and the attacked target host B. Therefore, an edge from node A to node B is used to represent this attack behavior.

[0054] The directed graph generated for multiple alarm messages is the same as above, for example Figure 3 The directed graph is described as follows, except Figure 2 The corresponding alarm information also includes another alarm information - node B points to node C.

[0055] Furthermore, it should be noted that although current security devices cannot directly associate and aggregate alarm information, many security devices can determine the attack stage of an attack in a group of attacks based on the characteristics of the attack behavior, such as Figure 3 As shown, the attack stage of node A pointing to node B in the set of attack behaviors to which it belongs is 1, and the attack stage of node B pointing to node C in the set of attack behaviors to which it belongs is 3; the smaller the value of the attack stage, the earlier the attack behavior is carried out.

[0056] Since not every attack can be detected for a group of attack behaviors, the numbers representing the attack stages are not necessarily continuous. It should also be noted that each alarm message should include the time when the attack behavior occurred, which is used to filter out a large number of alarm messages according to the time range, but it does not mean that the attack time is related to the attack stage. The attack stage is analyzed through the characteristics of the attack behavior.

[0057] Based on the above, this application aims to solve the problem that the selection of time range is too strict when aggregating alarm information through directed graph association. If the value is too small, the aggregation association effect cannot be achieved. If the value is too large, multiple groups of attack behaviors are easily associated, which wastes the alarm query performance and also interferes with the analysis of key alarm information. A security event alarm association aggregation method is provided, such as Figure 4 As shown, including:

[0058] S10: Query all alarm information within a preset time range from the security device.

[0059] As can be seen from the above, the alarm information returned by the safety device includes the alarm time, and the alarm information can be filtered by using the time as a condition to obtain the required alarm information.

[0060] S20: Traverse all alarm information to generate a directed graph. For each alarm information: if the attacker and the target host of the alarm information do not appear in the directed graph, the attacker and the target host are used as nodes of the directed graph, and the edge of the directed graph is generated between the attacker and the target host; if only the attacker appears in the directed graph, and the attack stage corresponding to the alarm information is later than one of the in-degree edges of the attacker, the target host is used as a node of the directed graph, and an edge is generated between the attacker and the target host; if only the target host appears in the directed graph, and the attack stage corresponding to the alarm information is earlier than one of the out-degree edges of the target host, the attacker is used as a node of the directed graph, and an edge is generated between the attacker and the target host.

[0061] Specifically, step S20 can be viewed as being implemented by sub-steps triggered by three conditions, including:

[0062] S21: If the attacker and the target host of the alarm information do not appear in the directed graph, the attacker and the target host are used as nodes of the directed graph, and an edge of the directed graph is generated from the attacker to the target host;

[0063] S22: If only the attacker appears in the directed graph, and the attack phase corresponding to the alarm information is later than one of the in-degree edges of the attacker, the target host is taken as a node of the directed graph, and an edge is generated between the attacker and the target host;

[0064] S23: If only the target host appears in the directed graph, and the attack phase corresponding to the alarm information is earlier than one of the out-degree edges of the target host, the attacker is taken as a node of the directed graph, and an edge is generated between the attacker and the target host.

[0065] There is no order relationship between step S21 to step S23, and one of the above steps is triggered to be executed according to whether the current alarm information satisfies any of the above conditions. For alarm information that does not fall into any of the above conditions, it can be considered that it is not an attack behavior in the group of attack behaviors and can be discarded or processed in another way. This embodiment does not limit this.

[0066] S30: Return a directed graph.

[0067] For situations not included in step S21 to step S23, in addition to discarding the alarm information, this embodiment also provides a preferred implementation scheme:

[0068] S24: If only the attacker appears in the directed graph, and the attack stage corresponding to the alarm information is earlier than one of the attacker's in-degree edges, or only the target host appears in the directed graph, and the attack stage corresponding to the alarm information is later than one of the target host's out-degree edges, then the alarm information is generated separately as a sub-directed graph.

[0069] From the above, it can be seen that for the alarm information that does not meet the conditions in step S21 to step S23, it can be seen from the above that the alarm information is not in the current group attack behavior, so no distinction is made to prevent interference with the judgment of the operation and maintenance personnel. A directed graph is made for it, which can be a directed graph independent of the current directed graph, or it can be a sub-directed graph within the current directed graph as shown in this embodiment.

[0070] Further, it can be seen from the above that the present application associates and aggregates the alarm information by the attack stage corresponding to each alarm information, so the present embodiment also provides a preferred implementation scheme based on this:

[0071] The edges in the directed graph are labeled with the attack phase.

[0072] The directed graph with the attack phases marked is shown in Figure 3 As shown, it is convenient for operation and maintenance personnel to know the attack stage corresponding to each edge in the directed graph, so as to help operation and maintenance personnel better understand the current attack behavior and help find key alarm information.

[0073] A security incident alarm association and aggregation method provided in this embodiment utilizes the feature that the attack stages of the same group of attack behaviors must be performed in sequence. When generating a corresponding directed graph based on the alarm information, only the alarm information that meets the above-mentioned feature is associated and aggregated. Thus, in the generation of the directed graph, only the directed graph of the same group of attack behaviors is generated, thereby avoiding the interference to the operation and maintenance personnel caused by the appearance of multiple groups of attack behaviors in the directed graph. It can also be more flexible in taking the value of the time range, and a slightly larger value will not affect the operation and maintenance personnel's judgment on key alarm information, thereby achieving a better association and aggregation effect.

[0074] Further, based on the above embodiment, this embodiment also provides a preferred implementation scheme, which further includes after step S22 and step S23:

[0075] S25: Expand the time range, and return to query all alarm information within the time range from the security device according to the preset time range with the new time range.

[0076] The purpose of this embodiment is that the situation corresponding to step S21 usually occurs at the beginning of a group of attack behaviors, or the group of attack behaviors contains only one attack behavior, and in this case, a too large time range is not required; while the situations corresponding to steps S22 and S23 are both extensions of the current group of attack behaviors, that is, the group of attack behaviors contains multiple attack behaviors, and a slightly larger time range is required to ensure that sufficient alarm information is obtained, so the time range is expanded to obtain the alarm information again. Under the preferred solution provided by this embodiment, the time range set for the first time does not need to be very large, and a slightly smaller time range will not cause the problem of having only multiple disconnected nodes, making the value of the time range more flexible.

[0077] It should be noted that when reacquiring the alarm information within the expanded time range, all the alarm information within the time range can be acquired (i.e., the alarm information for which the directed graph has been generated is repeatedly acquired), but the present embodiment preferably acquires only the alarm information for the time range increment. Exemplarily, assuming that the original time range is 0-T and the expanded time range is 0-2T, when returning to step S10 to acquire the alarm information, the alarm information of 0-2T can be acquired, or the alarm information of T-2T can be acquired. The present embodiment does not impose any restrictions on this, but preferably acquires the alarm information of T-2T, and when generating a directed graph for this part of the alarm information, it can be superimposed on the original directed graph.

[0078] In addition, the time range can be expanded by linear growth, exponential growth, or other forms of expansion methods. This embodiment does not limit this. The exponential growth expansion method is also the best, followed by the linear expansion method. This expansion method is more in line with the actual behavioral habits of a group of attack behaviors and has a better performance in achieving the goal of not losing attack behaviors.

[0079] It should be noted that, through the exponential growth expansion method, the expansion method for time T can be shown as follows:

[0080] T = T * 2^n;

[0081] Here, n is the number of repetitions of step S10.

[0082] A preferred solution provided by this embodiment is that when there is a node in the current alarm information in the directed graph, it can be considered that the group of attack behaviors contains not only one attack behavior, the time range is expanded, and the alarm information in the new time range is re-acquired, so as to ensure that the group of attack behaviors is not lost while making the time range value more flexible, and the time range value can be slightly smaller. If the group of attack behaviors contains only one attack behavior, the time range will not be expanded, and the consumption of alarm query performance can be effectively reduced by a smaller time range. If the group of attack behaviors contains multiple attack behaviors, the attack behavior will not be lost by expanding the time range and re-acquiring the alarm information, effectively solving the problem of demanding time range value requirements.

[0083] To clearly illustrate a security event alarm association aggregation method provided in the above embodiment, this embodiment is further described with reference to an example:

[0084] Assume that the initial time range of this alarm correlation aggregation is 0-T, and a total of 8 attacks were detected:

[0085] 1. From node A to node B, the attack phase is 5;

[0086] 2. From node B to node C, the attack phase is 4;

[0087] 3. From node B to node D, the attack phase is 7;

[0088] 4. From node B to node E, the attack phase is 8;

[0089] 5. From node B to node F, the attack phase is 8;

[0090] 6. From node F to node G, the attack stage is 9;

[0091] 7. From node B to node F, the attack phase is 4;

[0092] 8. From node H to node F, the attack phase is 2;

[0093] For the current application scenario, the directed graph obtained using the currently used association aggregation method is as follows Figure 5 As shown, it is easy to see that the directed graph generated by the currently used association aggregation method contains multiple groups of different attack behaviors, which brings certain difficulties for operation and maintenance personnel to find key alarm information.

[0094] As for a security event alarm association aggregation method provided in this application, first, each of the alarm information obtained above is analyzed one by one:

[0095] For alarm information 1, the directed graph is empty at this time, which is consistent with the situation in step S21 in the above embodiment. At this time, the corresponding nodes and edges are directly generated. The generated directed graph is as follows: Figure 6 shown.

[0096] For alarm information 2, at this time, node B is already in the directed graph, and the attack stage of the out-degree edge of node B is less than the attack stage of the in-degree edge, which meets the situation of step S24 in the above embodiment. Then, a sub-directed graph is generated for this alarm information. For distinction, node B of the sub-directed graph is represented by B1. The generated directed graph is as follows: Figure 7 As shown, each sub-directed graph is named after its starting node, so the current directed graph contains two sub-directed graphs, Graph A and Graph B1.

[0097] For warning information 3, in sub-directed graph A, node B already exists, and the attack stage corresponding to the out-degree edge of node B is greater than the in-degree edge, which meets the situation of step S22 in the above embodiment, then it can be added to sub-directed graph A. The directed graph after addition is as follows Figure 8 shown.

[0098] As for the alarm information 4, similarly to the above alarm information 3, if it meets the conditions of step S22, it can be added to the sub-directed graph A. The directed graph after addition is as follows: Fig. 9 shown.

[0099] As for the alarm information 5, similarly to the above alarm information 3, if it meets the situation of step S22, it can be added to the sub-directed graph A. The directed graph after addition is as follows: Fig.10 shown.

[0100] For warning information 6, in the sub-directed graph A, node F already exists, and the attack stage corresponding to the out-degree edge of node F is greater than the in-degree edge, which meets the situation of step S22 in the above embodiment, then it can be added to the sub-directed graph A. The directed graph after addition is as follows Fig.11 shown.

[0101] For warning information 7, node B already exists at this time, but for any sub-directed graph, node B does not meet the situation that the attack stage of the out-degree edge is later than any in-degree edge, so it still meets the situation in step S24 in the above embodiment. Another sub-directed graph is generated. For distinction, node B is represented by B2 and node F is represented by F1. The sub-directed graph is graph B2. The corresponding directed graph is as follows Fig.12 shown.

[0102] For warning information 8, there is no node H in the three existing sub-directed graphs, and the edge corresponding to the warning information is the out-degree edge of node H (or there is no out-degree edge for node F), so it meets the situation corresponding to step S24 in the above embodiment, and another sub-directed graph H is generated. Node F is represented by F2, and the corresponding directed graph is as follows: Fig.13 shown.

[0103] In the above process, 4 sub-directed graphs (Figure A, Figure B1, Figure B2 and Figure H) are generated in the time range 0-T, that is, the above 8 alarm information are divided into 4 groups of attack behaviors according to the division of the directed graph.

[0104] Taking into account the situation that steps S22 and S23 are triggered in the above process, it means that there is a group of attack behaviors containing multiple alarm information. Therefore, in order to ensure the most comprehensive possible association aggregation of the group of attack behaviors, the time range should be expanded. According to the exponential growth, the newly obtained time range is 0-2T. Taking into account that the same alarm information is not repeatedly obtained, only the alarm information in the time range T-2T is re-acquired. Suppose that new alarm information 9 is obtained: from node H to node A, the attack stage is 2.

[0105] For warning information 9, since node A is an existing node in the sub-directed graph A, and node A satisfies the attack stage of the in-degree edge is less than the attack stage of any out-degree edge, the warning information can be added to the sub-directed graph A. The corresponding directed graph is as follows: Fig.14 shown.

[0106] At this time, for the alarm information 9, if it meets the situation of step S23, the time range should be expanded to 0-4T again, and the alarm information should be acquired again. Since the subsequent process is similar to the above, it will not be described in detail in this embodiment.

[0107] In the above embodiment, a security event alarm association aggregation method is described in detail, and the present application also provides an embodiment corresponding to a security event alarm association aggregation device. It should be noted that the present application describes the embodiments of the device part from two perspectives, one is based on the perspective of functional modules, and the other is based on the perspective of hardware.

[0108] Based on the perspective of functional modules, such as Fig.15 As shown, this embodiment provides a security event alarm association aggregation device, including:

[0109] The alarm information acquisition module 11 is used to query all alarm information within a time range from the security device according to a preset time range;

[0110] The directed graph generation module 12 is used to traverse all alarm information to generate a directed graph; wherein, for each alarm information: if the attacker and the target host of the alarm information do not appear in the directed graph, the attacker and the target host are used as nodes of the directed graph, and the edge of the directed graph is generated between the attacker and the target host; if only the attacker appears in the directed graph, and the attack stage corresponding to the alarm information is later than one of the in-degree edges of the attacker, the target host is used as a node of the directed graph, and an edge is generated between the attacker and the target host; if only the target host appears in the directed graph, and the attack stage corresponding to the alarm information is earlier than one of the out-degree edges of the target host, the attacker is used as a node of the directed graph, and an edge is generated between the attacker and the target host;

[0111] The directed graph returning module 13 is used to return the directed graph.

[0112] Since the embodiments of the apparatus part correspond to the embodiments of the method part, please refer to the description of the embodiments of the method part for the embodiments of the apparatus part, which will not be repeated here.

[0113] Fig.16 A structural diagram of a security event alarm association aggregation device provided in another embodiment of the present application, such as Fig.16 As shown, a security event alarm correlation aggregation device includes: a memory 20, for storing a computer program;

[0114] The processor 21 is used to implement the steps of a security event alarm association aggregation method as described in the above embodiment when executing a computer program.

[0115] The security event alarm association aggregation device provided in this embodiment may include but is not limited to a smart phone, a tablet computer, a laptop computer or a desktop computer.

[0116] Among them, the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 can be implemented in at least one hardware form of a digital signal processor (DSP), a field programmable gate array (FPGA), and a programmable logic array (PLA). The processor 21 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 21 may be integrated with a graphics processing unit (GPU), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 21 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.

[0117] The memory 20 may include one or more computer-readable storage media, which may be non-transitory. The memory 20 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used to store the following computer program 201, wherein, after the computer program is loaded and executed by the processor 21, it can implement the relevant steps of a security event alarm association aggregation method disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202 and data 203, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 202 may include Windows, Unix, Linux, etc. Data 203 may include, but is not limited to, a security event alarm association aggregation method, etc.

[0118] In some embodiments, a security event alarm association aggregation device may also include a display screen 22, an input and output interface 23, a communication interface 24, a power supply 25 and a communication bus 26.

[0119] Those skilled in the art will understand that Fig.16 The structure shown in does not constitute a limitation on a security event alarm correlation aggregation device, and may include more or fewer components than shown in the figure.

[0120] An embodiment of the present application provides a security event alarm correlation aggregation device, including a memory and a processor. When the processor executes a program stored in the memory, it can implement the following method: a security event alarm correlation aggregation method.

[0121] Finally, the present application also provides an embodiment corresponding to a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps recorded in the above method embodiment are implemented.

[0122] It is understandable that if the method in the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0123] The above is a detailed introduction to a security event alarm association aggregation method, device and medium provided by the present application. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the embodiments can refer to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can refer to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.

[0124] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

Claims

1. A security event alarm correlation aggregation method, characterized in that: include: Query all alarm information within a preset time range from the security device; Traverse all the alarm information to generate a directed graph; wherein, for each alarm information: if the attacker and the target host of the alarm information do not appear in the directed graph, then the attacker and the target host are used as nodes of the directed graph, and the edge of the directed graph is generated between the attacker and the target host; if only the attacker appears in the directed graph, and the attack stage corresponding to the alarm information is later than one of the in-degree edges of the attacker, then the target host is used as a node of the directed graph, and an edge is generated between the attacker and the target host; if only the target host appears in the directed graph, and the attack stage corresponding to the alarm information is earlier than one of the out-degree edges of the target host, then the attacker is used as a node of the directed graph, and an edge is generated between the attacker and the target host; the attack stage is obtained by analyzing the characteristics of the attack behavior; Returns the directed graph.

2. The security event alarm correlation aggregation method according to claim 1 is characterized in that: After the step of: if only the attacker appears in the directed graph, and the attack stage corresponding to the warning information is later than one of the in-degree edges of the attacker, and if only the target host appears in the directed graph, and the attack stage corresponding to the warning information is earlier than one of the out-degree edges of the target host, the method further includes: The time range is expanded, and the new time range is returned to the query of all alarm information within the time range from the security device according to the preset time range.

3. The security event alarm association aggregation method according to claim 2 is characterized in that: The traversing all the alarm information to generate a directed graph further includes: If only the attacker appears in the directed graph, and the attack stage corresponding to the alarm information is earlier than one of the attacker's in-degree edges, or only the target host appears in the directed graph, and the attack stage corresponding to the alarm information is later than one of the target host's out-degree edges, then the alarm information is generated separately as a sub-directed graph.

4. The security event alarm association aggregation method according to claim 2 is characterized in that: The step of expanding the time range and returning to the step of querying all alarm information within the time range from the security device according to the preset time range with the new time range includes: The time range is expanded, and the increment of the time range is used as the new time range, and the process returns to querying the security device for all alarm information within the time range according to the preset time range.

5. The security event alarm association aggregation method according to claim 4 is characterized in that: The expansion of the time range includes: Expanding said time frame exponentially.

6. The security event alarm association aggregation method according to claim 4 is characterized in that: The expansion of the time range includes: The time range is expanded in a linear manner.

7. The security event alarm association aggregation method according to any one of claims 1 to 6, characterized in that: The edges in the directed graph are labeled with attack phases.

8. A security event alarm association aggregation device, characterized in that: include: An alarm information acquisition module is used to query all alarm information within a preset time range from the security device; A directed graph generation module is used to traverse all the alarm information to generate a directed graph; wherein, for each alarm information: if the attacker and the target host of the alarm information do not appear in the directed graph, the attacker and the target host are used as nodes of the directed graph, and the edge of the directed graph is generated between the attacker and the target host; if only the attacker appears in the directed graph, and the attack stage corresponding to the alarm information is later than one of the in-degree edges of the attacker, the target host is used as a node of the directed graph, and an edge is generated between the attacker and the target host; if only the target host appears in the directed graph, and the attack stage corresponding to the alarm information is earlier than one of the out-degree edges of the target host, the attacker is used as a node of the directed graph, and an edge is generated between the attacker and the target host; the attack stage is obtained by analyzing the characteristics of the attack behavior; The directed graph returning module is used to return the directed graph.

9. A security event alarm association aggregation device, characterized in that: include: Memory for storing computer programs; A processor, used to implement the steps of the security event alarm association aggregation method as described in any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the security event alarm association aggregation method as described in any one of claims 1 to 7 are implemented.