Information analysis method, device and computer readable storage medium
Obtain and process alarm events through information analysis methods, build graph structures, optimize risk levels, and display the attack process. This solves the problem that maintenance personnel cannot quickly process alarm information when enterprise systems are attacked, and improves processing speed and efficiency.
Patent Information
- Application Number
- CN202210332608.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-30
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2042-03-30
AI Technical Summary
When enterprise systems suffer external attacks, maintenance personnel are unable to quickly identify and process a large number of different types of alarm information, resulting in system damage and data leakage.
Through an information analysis method, the target alarm event of the target asset is obtained, based on the target identification and target alarm information of the target alarm event, the attack process of the target asset is determined, the initial alarm information is processed using the preset correlation dimensions, and the alarms are divided and filtered out Events, build graph structures, optimize risk levels and node types, and display the attack process.
Quickly learn the attack status of target assets, handle alarm events in a timely manner, reduce damage, increase processing speed, and solve the problem of maintenance personnel being unable to quickly process alarm information.
Smart Images

Figure CN114826685B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to an information analysis method, device and computer-readable storage medium. Background Art
[0002] Network security incidents occur frequently. Generally, enterprises will use security equipment to perform security checks on enterprise systems to find out whether the enterprise system has been attacked from the outside, and issue an alarm in the event of an external attack. However, different devices generate different types of alarms. When enterprise maintenance personnel receive a large number of alarm messages, they are unable to effectively identify and handle them in a timely manner, which will lead to attacks on enterprise systems and data leakage. Summary of the invention
[0003] To solve the above technical problems, the embodiments of the present application hope to provide an information analysis method, device and computer-readable storage medium, which solves the problem in related technologies that maintenance personnel are unable to quickly analyze and process these alarm information.
[0004] The technical solution of this application is implemented as follows:
[0005] An information analysis method, the method comprising:
[0006] Obtaining a target alarm event of a target asset; wherein the target alarm event includes a plurality of target alarm information;
[0007] Based on the target identifier and target alarm information of each target alarm event, the attack process of the target asset is determined; wherein the target identifier represents the object that issues the target alarm information.
[0008] In the above solution, the step of obtaining the target alarm event of the target asset includes:
[0009] Obtaining initial alarm information of the asset to be processed; wherein the initial alarm information includes alarm information from the network layer, the log layer and the terminal layer;
[0010] The initial alarm information is processed based on the preset correlation dimension to obtain the alarm event of the asset to be processed; wherein the alarm event includes the asset identifier of each asset to be processed and the alarm information corresponding to each asset to be processed;
[0011] The target alarm event is determined from the alarm events based on the target asset identifier of the target asset.
[0012] In the above solution, the initial alarm information is processed based on the preset correlation dimension to obtain the alarm event of the asset to be processed, including:
[0013] Determining the temporal correlation between the initial alarm information; wherein the preset correlation dimension includes the temporal correlation;
[0014] Based on the time sequence association, the initial alarm information is divided to obtain the alarm event.
[0015] In the above solution, the initial alarm information is processed based on the preset correlation dimension to obtain the alarm event, including:
[0016] Determining an attack scenario of the asset to be processed; wherein the preset correlation dimension includes the attack scenario;
[0017] Based on the attack scenario list, acquiring attack alarm information corresponding to the attack scenario;
[0018] Based on the attack alarm information, the initial alarm information is screened to obtain the alarm event.
[0019] In the above solution, the initial alarm information is processed based on the preset correlation dimension to obtain the alarm event, including:
[0020] Determining a causal relationship between the initial warning information; wherein the preset correlation dimension includes the causal relationship;
[0021] Based on the causal relationship, the initial alarm information is divided to obtain the alarm event.
[0022] In the above solution, the initial alarm information is processed based on the preset correlation dimension to obtain the alarm event, including:
[0023] Determining a process chain association between the initial alarm information; wherein the preset association dimension includes the process chain association;
[0024] Based on the process chain association, the initial alarm information is divided to obtain the alarm event.
[0025] In the above solution, the step of determining the attack process of the target asset based on the target identifier and target alarm information of each target alarm event includes:
[0026] For each of the target warning events, determining the correlation between the target warning information;
[0027] The target identifier is used as a node, and connection relationships between nodes are set based on the association to obtain a graph structure; wherein the graph structure represents the attack process of the target asset.
[0028] In the above solution, the target identifier is used as a node, and the connection relationship between the nodes is set based on the association to obtain a graph structure, including:
[0029] The target identifier is used as a node, and based on the correlation degree between the target warning information and the correlation degree of the occurrence time of the target warning information, the connection relationship between the nodes is set to obtain the graph structure; wherein the correlation degree represents the logical relationship between the target warning information.
[0030] In the above scheme, the target identifier is used as a node, and based on the correlation degree between the target warning information and the correlation degree of the occurrence time of the target warning information, the connection relationship between the nodes is set to obtain the graph structure, including:
[0031] Determine the first alarm information with the earliest occurrence time from the target alarm information, and determine the target identifier corresponding to the first alarm information as the initial node; wherein the initial node is a node of the first level;
[0032] Based on the degree of association with the first alarm information, determine the second alarm information from the target alarm information, and determine that the target identifier corresponding to the second alarm information is a node of the second level;
[0033] Determining a second node from the nodes of the second level based on the correlation of the occurrence time of the second alarm information;
[0034] Based on the degree of association of the second alarm information corresponding to the second node, determine the third alarm information from the target alarm information, and determine that the target identifier corresponding to the third alarm information is a node of the third level, until the node of the i-th level and the i-th node of the i-th level are obtained; wherein the i-th node does not have an associated next-level node; wherein i is a positive integer;
[0035] Determine the node of the nth level that has the least number of levels between it and the i-th level and has an undetermined associated next-level node, and based on the correlation of the alarm information occurrence time corresponding to the node of the nth level, determine the n+1th node from the nodes of the nth level until the target alarm information is traversed to obtain the graph structure.
[0036] In the above scheme, the method further comprises:
[0037] Determining a risk level of each node in the graph structure based on the target warning information;
[0038] Determining a node type of each node based on a source of the target alarm information;
[0039] Based on the risk level and the node type, the graph structure is optimized to obtain the target graph structure.
[0040] In the above solution, the graph structure is optimized based on the risk level and the node type to obtain the target graph structure, including:
[0041] Based on the node type, determining the alarm detail information of the target alarm information corresponding to each node;
[0042] Based on the risk level, determining a representation form of each node;
[0043] The warning detail information and the risk level are marked in the graph structure in the representation form to obtain the target graph structure.
[0044] In the above scheme, the method further comprises:
[0045] Based on the relevance of the target alarm events, the target graph structures corresponding to the target alarm events are aggregated to obtain an aggregated graph structure.
[0046] In the above scheme, the method further comprises:
[0047] The attack process is shown.
[0048] An information analysis device, the device comprising: a processor, a memory and a communication bus;
[0049] The communication bus is used to realize the communication connection between the processor and the memory;
[0050] The processor is used to execute the information analysis program in the memory to implement the steps of the above-mentioned information analysis method.
[0051] A computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the above-mentioned information analysis method.
[0052] The information analysis method, device and computer-readable storage medium provided in the embodiments of the present application can obtain target alarm events of target assets, and determine the attack process of the target assets based on the target identification and target alarm information of each target alarm event. In this way, after determining the attack process of the target assets based on the target identification and target alarm information of each target alarm time, the attack situation of the target object can be quickly known, and the target alarm events can be analyzed and processed in time to reduce the damage to the target assets. This solves the problem in related technologies that maintenance personnel cannot quickly analyze and process these alarm information, thereby improving the processing rate. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 A flowchart of an information analysis method provided in an embodiment of the present application;
[0054] Figure 2 A flowchart of another information analysis method provided in an embodiment of the present application;
[0055] Figure 3 A flowchart of another information analysis method provided in an embodiment of the present application;
[0056] Figure 4 A schematic diagram of a graph structure of network activities corresponding to an information analysis method provided in an embodiment of the present application;
[0057] Figure 5 A schematic diagram of the structure of an information analysis device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0058] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0059] It should be understood that the "embodiments of the present application" or "the aforementioned embodiments" mentioned throughout the specification mean that specific features, structures or characteristics related to the embodiments are included in at least one embodiment of the present application. Therefore, "in the embodiments of the present application" or "in the aforementioned embodiments" appearing throughout the specification may not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics may be combined in one or more embodiments in any suitable manner. In the various embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The above-mentioned sequence numbers of the embodiments of the present application are for description only and do not represent the advantages and disadvantages of the embodiments.
[0060] Unless otherwise specified, the electronic device performs any step in the embodiments of the present application, and the processor of the electronic device may perform the step. It is also worth noting that the embodiments of the present application do not limit the order in which the electronic device performs the following steps. In addition, the methods used to process data in different embodiments may be the same method or different methods. It should also be noted that any step in the embodiments of the present application can be independently executed by the electronic device, that is, when the electronic device executes any step in the following embodiments, it may not rely on the execution of other steps.
[0061] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0062] The present application embodiment provides an information analysis method, which can be applied to an information analysis device, referring to Figure 1 As shown, the method comprises the following steps:
[0063] Step 101: Obtain target alarm events of target assets.
[0064] Among them, the target warning event includes multiple target warning information.
[0065] In the embodiment of the present application, the target asset is an asset currently under external attack, and the target asset may be a server, database, website, software application, etc. The target alarm event may be one alarm event or multiple alarm events. One alarm event may be an attack suffered by the current target asset; the target alarm event may be a worm attack, a Trojan attack, etc.; when the security detection detects the target alarm event, it may also obtain the occurrence time, type, attack stage, victim asset, threat description, risk level, network quintuple, etc. of the target alarm event. An alarm event may include multiple alarm information, that is, one attack may cause multiple anomalies and generate multiple alarm information, and these multiple alarm information are related to each other.
[0066] In one feasible approach, each target asset has a unique asset identifier, which may be the target asset's Internet Protocol (IP) address, Media Access Control Address (Mac) address, object name, etc.; the information analysis device may obtain the target alarm event from the alarm event list based on the unique identifier of the target asset, and the alarm event list includes multiple assets and the alarm events corresponding to each asset.
[0067] Step 102: Determine the attack process of the target asset based on the target identifier and target alarm information of each target alarm event.
[0068] The target identifier represents the object that issues the target warning information.
[0069] In an embodiment of the present application, the object for issuing the target alarm information may be an entity such as a process, file, registry, IP port, user, etc. in the target asset; the target identifier may be an IP address, a URL, an object name, etc.; in a feasible manner, if the object for issuing the target alarm information is a website, then the target identifier at this time may be a URL or an IP address; if the object for issuing the target alarm information is a process, then the target identifier at this time may be a process name or a process identity document (PID).
[0070] In an embodiment of the present application, multiple target alarm information included in a target alarm event are related. Therefore, a story line describing the target alarm event can be formed based on the correlation between the target alarm information included in the target alarm event and the target identifier corresponding to each target alarm information, so as to determine the attack process of the target asset, facilitate maintenance personnel to know the attack process of the target asset, and then quickly and effectively analyze and handle the target alarm event to reduce damage to the target asset.
[0071] The information analysis method provided in the embodiment of the present application obtains the target alarm events of the target assets, and determines the attack process of the target assets based on the target identification and target alarm information of each target alarm event. In this way, after determining the attack process of the target assets based on the target identification and target alarm information of each target alarm time, the attack situation of the target object can be quickly known, and the target alarm events can be analyzed and processed in time to reduce the damage to the target assets. This solves the problem in related technologies that maintenance personnel cannot quickly analyze and process these alarm information, thereby improving the processing rate.
[0072] Based on the above embodiments, the present application provides an information analysis method. Figure 2 As shown, the method comprises the following steps:
[0073] Step 201: The information analysis device obtains initial alarm information of the asset to be processed.
[0074] The initial alarm information includes alarm information from the network layer, log layer and terminal layer.
[0075] In the embodiment of the present application, the asset to be processed may be one or more assets of the enterprise system, and the asset to be processed may include servers, databases, websites, and various software applications. In a feasible manner, for each asset to be processed, the enterprise system may deploy a security detection device for the asset to be processed to perform security detection on the information of the network layer, log layer, and terminal layer, and obtain initial alarm information from multiple dimensions such as the network layer, log layer, and terminal layer; for each asset to be processed, the enterprise system may also deploy a security detection device on the network layer, log layer, and terminal layer to perform security detection on the information of the network layer, log layer, and terminal layer, and obtain initial alarm information from multiple dimensions such as the network log layer and terminal layer. The embodiment of the present application does not limit the method for obtaining the initial alarm information, as long as the initial alarm information of multiple assets to be processed can be obtained.
[0076] In an embodiment of the present application, there is consistency between the initial alarm information, that is, two initial alarm messages may come from the same object that issues the alarm information. The types of initial alarm information mainly include network layer and terminal layer. The initial alarm information from the network layer may include network five-tuple information: source IP address, source port, destination address, destination port and communication protocol; the initial alarm information from the terminal layer may include suspicious processes, host IP addresses, executed command lines, abnormal network links and other information.
[0077] Step 202: The information analysis device processes the initial alarm information based on the preset correlation dimension to obtain the alarm event of the asset to be processed.
[0078] The alarm event includes the asset identifier of each asset to be processed and the alarm information corresponding to each asset to be processed.
[0079] In an embodiment of the present application, a preset correlation dimension may be pre-set, and the preset correlation dimension is used to process the initial alarm information to obtain an alarm event corresponding to each asset to be processed and the alarm information included in each alarm event.
[0080] Step 203: The information analysis device determines a target alarm event from the alarm events based on the target asset identifier of the target asset.
[0081] Among them, the target warning event includes multiple target warning information.
[0082] In the embodiment of the present application, the target asset identifier is used to identify the target asset. In a feasible manner, after obtaining the alarm event of each asset and the alarm information included in each alarm event, the information analysis device can store the asset identifier and the alarm event of each asset in the alarm event list, so as to obtain the target alarm event of the target asset from the alarm event list based on the target asset identifier.
[0083] Step 204: The information analysis device determines the correlation between target alarm information for each target alarm event.
[0084] In the embodiment of the present application, since multiple alarm information of an alarm event can form a story line to jointly describe the alarm event, the multiple alarm information included in an alarm event are related to a certain extent. Then, after obtaining the target alarm event, the attack process of the target asset can be determined based on the correlation between the multiple target alarm information included in the target alarm event.
[0085] In a feasible manner, the correlation may include timing correlation, causal correlation and process chain correlation. In this case, the information analysis device determines the timing correlation, causal correlation and process chain correlation between the target alarm information for each target alarm event. Of course, other correlations such as active and passive correlations between the target alarm information can also be confirmed. As long as the logical relationship between the target alarm information can be reflected, the embodiments of the present application do not limit this.
[0086] Step 205: The information analysis device uses the target identifier as a node and sets the connection relationship between the nodes based on the association to obtain a graph structure.
[0087] The graph structure represents the attack process of the target asset, and the target identifier represents the object that issues the target warning information.
[0088] In the embodiment of the present application, the connection relationship between nodes is the edge between nodes. Since the correlation is the correlation between the target alarm information, the connection relationship between the nodes can be set based on the correlation. In a feasible manner, if the target alarm information generated by a process will pull up the target alarm information of another process, the connection relationship between the two target alarm information can be pulled up. Currently, the connection relationship between the target alarm information can also be attack, release, run and delete, etc. It should be noted that the target alarm information of a process may pull up the alarm information of multiple processes at the same time, and the embodiment of the present application does not limit this.
[0089] In the embodiment of the present application, the information analysis device can use the identifiers of objects such as processes, files, registries, IP ports, and users that generate target alarm information as nodes, and set the connection relationship between the nodes based on the correlation between the target alarm information issued by these objects, thereby constructing a graph structure that characterizes the attack status of the target asset. It should be noted that the attack status of the target asset can be displayed not only through a graph structure, but also through other methods, as long as the maintenance personnel can clearly understand the attack status of the target asset.
[0090] It should be noted that, for the description of the same steps and the same contents in this embodiment as those in other embodiments, reference can be made to the description in other embodiments and will not be repeated here.
[0091] The information analysis method provided in the embodiment of the present application can quickly obtain the attack situation of the target object after determining the attack process of the target asset based on the target identification and target alarm information of each target alarm time, and promptly analyze and process the target alarm event to reduce the damage to the target asset. This solves the problem in related technologies that maintenance personnel are unable to quickly analyze and process these alarm information, thereby improving the processing rate.
[0092] Based on the above embodiments, the present application provides an information analysis method. Figure 3 As shown, the method comprises the following steps:
[0093] Step 301: The information analysis device obtains initial alarm information of the asset to be processed.
[0094] The initial alarm information includes alarm information from the network layer, log layer and terminal layer.
[0095] In an embodiment of the present application, after obtaining the initial alarm information through step 301, any group of steps among steps 302 to 303, steps 304 to 306, steps 307 to 308, and steps 309 to 310 can be executed to obtain an alarm event, and after this group of steps is executed, step 311 is executed; of course, after obtaining the initial alarm information through step 301, steps 302 to 303, steps 304 to 306, steps 307 to 308, and steps 309 to 310 can be executed in sequence to obtain an alarm event, and step 311 can be executed after step 310.
[0096] It should be noted that Figure 3 It only shows that after executing step 301, steps 302 to 303, steps 304 to 306, steps 307 to 308, and steps 309 to 310 are executed in sequence; however, those skilled in the art can know the implementation process by referring to the steps and instructions provided in the embodiments of the present application, and the embodiments of the present application will not go into details.
[0097] Step 302: The information analysis device determines the temporal correlation between the initial alarm information.
[0098] Among them, the preset correlation dimension includes time series correlation.
[0099] In the embodiment of the present application, the timing correlation refers to the time sequence of the issuance of alarm information. Multiple initial alarm messages of an alarm event can be issued simultaneously or one after another, and have a certain timing correlation. Therefore, the information analysis device can sort the initial alarm messages based on the issuance time of the initial alarm messages to determine the timing correlation between the initial alarm messages.
[0100] Step 303: The information analysis device divides the initial alarm information into alarm events based on time series association.
[0101] The alarm event includes the asset identifier of each asset to be processed and the alarm information corresponding to each asset to be processed.
[0102] In the embodiment of the present application, multiple alarm events may occur successively, wherein multiple initial alarm information of each alarm event may also be issued in chronological order, then the initial alarm information may be divided based on the temporal association between the multiple initial alarm information to obtain the alarm event. If the alarm event has been obtained through steps 302 to 303, step 311 may be directly executed.
[0103] Step 304: The information analysis device determines the attack scenario of the target asset.
[0104] Among them, the preset correlation dimensions include attack scenarios.
[0105] In the embodiment of the present application, certain attacks will generate specific initial alarm information during the attack, so the attack scenario of the asset to be processed can be determined based on the specific initial alarm information.
[0106] Step 305: The information analysis device obtains attack alarm information corresponding to the attack scenario based on the attack scenario list.
[0107] In the embodiment of the present application, the attack scenario may include multiple attack stages such as initial attack, lateral movement, persistence, and credential theft. The alarm information issued at the same time may be divided based on the attack stage, and the initial alarm information of the same alarm stage may be divided into different alarm events. In a feasible manner, the information analysis device may be pre-set with an attack scenario list, which includes multiple attack scenarios and the alarm information corresponding to each attack stage of each attack scenario. Therefore, after determining the attack scenario of the asset to be processed, the attack alarm information corresponding to the attack scenario may be used.
[0108] Step 306: The information analysis device filters the initial alarm information based on the attack alarm information to obtain an alarm event.
[0109] The alarm event includes the asset identifier of each asset to be processed and the alarm information corresponding to each asset to be processed.
[0110] In the embodiment of the present application, after obtaining the attack alarm information corresponding to each attack scenario, the information analysis device can filter out the initial alarm information that matches the attack alarm information to obtain the alarm events under multiple attack scenarios. It should be noted that if the alarm event can be obtained through steps 304 to 306 or steps 302 to 306, step 311 can be directly executed.
[0111] Step 307: The information analysis device determines the causal relationship between the initial warning information.
[0112] Among them, the preset correlation dimensions include causal correlation.
[0113] In the embodiment of the present application, the generation of one initial alarm information is likely to lead to the generation of another initial alarm information. In this case, there is a causal relationship between the two initial alarm information.
[0114] Step 308: The information analysis device divides the initial alarm information into alarm events based on cause-effect relationships.
[0115] The alarm event includes the asset identifier of each asset to be processed and the alarm information corresponding to each asset to be processed.
[0116] In the embodiment of the present application, after determining the causal relationship between the initial alarm information, the information analysis device can divide the initial alarm information based on the causal relationship to obtain multiple alarm events. It should be noted that if the alarm event can be obtained through steps 307 to 308 or steps 302 to 308, step 311 can be directly executed.
[0117] Step 309: The information analysis device determines the process chain association between the initial alarm information.
[0118] Among them, the preset association dimension includes process chain association.
[0119] In the embodiment of the present application, multiple initial alarm messages on a process chain will be issued in sequence as the process progresses, so there will be a process chain association between the initial alarm messages.
[0120] Step 310: The information analysis device divides the initial alarm information into alarm events based on process chain association.
[0121] The alarm event includes the asset identifier of each asset to be processed and the alarm information corresponding to each asset to be processed.
[0122] In the embodiment of the present application, the initial alarm information of different process chains is different, so the initial alarm information can be divided based on the process chain association to obtain multiple alarm events. It should be noted that if the alarm event can be obtained through steps 309 to 310, step 311 can be directly executed.
[0123] In a feasible manner, after obtaining the initial alarm information, the information analysis device can determine the temporal correlation between the initial alarm information, that is, sort the initial alarm information based on the issuance time of the initial alarm information, and then determine the attack scenario of the asset to be processed, obtain the attack alarm information corresponding to the attack scenario, and divide the sorted initial alarm information based on the attack alarm information, and filter out the initial alarm information corresponding to the attack scenario based on the attack scenario, and then determine the causal correlation and process chain correlation of the initial alarm information to sort the initial alarm information that meets the requirements, and obtain multiple alarm events.
[0124] Step 311: The information analysis device determines a target alarm event from the alarm events based on the target asset identifier of the target asset.
[0125] Among them, the target warning event includes multiple target warning information.
[0126] Step 312: The information analysis device determines the correlation between target alarm information for each target alarm event.
[0127] Step 313: The information analysis device uses the target identifier as a node, and based on the correlation between the target alarm information and the correlation between the target alarm information occurrence time, sets the connection relationship between the nodes to obtain a graph structure.
[0128] Among them, the degree of association represents the logical relationship between the target warning information, the graph structure represents the attack process of the target asset, and the target identifier represents the object that issues the target warning information.
[0129] In an embodiment of the present application, the object for issuing the alarm information may be a process, a file, a registry, an IP port, a user, etc.; wherein the identifier of the process may be a PID, the identifier of the file may be a file name, the identifier of the registry may be a table name of the registry, the identifier of the IP port may be a source IP address, a destination IP address, and the user may be a user ID.
[0130] In the embodiment of the present application, if the correlation between two target warning information is higher, it means that the connection between the target warning information is closer; if the correlation between the occurrence time of two target warning information is higher, it means that the two target warning information are most likely to occur one after another. Therefore, the connection relationship between the nodes can be set based on the correlation between the target warning information and the correlation between the occurrence time of the target warning information to obtain a graph structure.
[0131] Wherein, step 313 can be implemented by the following steps:
[0132] Step 313a: The information analysis device determines the first alarm information with the earliest occurrence time from the target alarm information, and determines that the target identifier corresponding to the first alarm information is the initial node.
[0133] Among them, the initial node is the node of the first level.
[0134] In the embodiment of the present application, the first alarm information with the earliest occurrence time indicates that the first alarm information is the first target alarm information issued when the target asset is attacked, and the initial node is the target identifier of the object that issued the first alarm information. The information analysis device uses the first alarm information with the earliest occurrence time as the starting point of the graph structure, that is, the node of the first level.
[0135] Step 313b: The information analysis device determines the second alarm information from the target alarm information based on the degree of association with the first alarm information, and determines that the target identifier corresponding to the second alarm information is a node of the second level.
[0136] In an embodiment of the present application, the second alarm information is a plurality of target alarm information associated with the first alarm information. The second alarm information is determined from the target alarm information based on the degree of association with the first alarm information, which means that the second alarm information is determined in sequence according to the degree of association. The target identifier corresponding to the second alarm information is determined as a second-level node, that is, the target identifier of the object that issues the second alarm information is used as a second-level node, that is, the target identifiers corresponding to the target alarm information associated with the first alarm information are all used as second-level nodes.
[0137] Step 313c: The information analysis device determines a second node from the nodes of the second level based on the correlation of the occurrence time of the second alarm information.
[0138] In an embodiment of the present application, if it has been determined based on the degree of correlation of the first alarm information that there is only one target alarm information with the highest degree of correlation, the target alarm information with the highest degree of correlation is directly determined as the second node; if there are multiple target alarm information with the highest degree of correlation determined based on the degree of correlation of the first alarm information, then after the second alarm information is determined, the second alarm information with the highest degree of correlation in terms of occurrence time is determined as the second node, that is, the second alarm information with the earliest occurrence time is determined as the second node.
[0139] Step 313d, the information analysis device determines the third alarm information from the target alarm information based on the degree of association with the second alarm information corresponding to the second node, and determines that the target identifier corresponding to the third alarm information is a node of the third level, until the node of the i-th level and the i-th node of the i-th level are obtained.
[0140] The i-th node has no associated next-level node, and i is a positive integer.
[0141] In an embodiment of the present application, the third alarm information is the target alarm information determined according to the degree of association with the second alarm information corresponding to the second node, and the third alarm information with the earliest occurrence time is used as the third node, and the fourth alarm information associated with the third alarm information corresponding to the third node is continued to be determined, and the fourth alarm information with the earliest occurrence time is used as the fourth node, and this cycle is repeated until the determined node has no associated next node.
[0142] Step 313e, the information analysis device determines the node of the nth level that has the least number of levels between it and the i-th level and has an undetermined associated next-level node, and based on the correlation of the alarm information occurrence time corresponding to the node of the nth level, determines the n+1th node from the nodes of the nth level until the target alarm information is traversed to obtain a graph structure.
[0143] In an embodiment of the present application, after determining the i-th node of the i-th level, if there is any undetermined associated next-level node of the i-th level, determine the node with the earliest occurrence time among the remaining nodes except the i-th node from the nodes of the i-th level, and then determine the nodes of the next level in turn. If the determined node has no associated node, return the next-level node with the least level number from the level where the current node is located and has an undetermined associated level, and continue to determine the nodes of the next level. Repeat this cycle until the target alarm information is traversed. During the traversal process, the connection relationship between two adjacent nodes is set based on the correlation between the two nodes, thereby obtaining a graph structure.
[0144] Based on the foregoing embodiment, in other embodiments of the present application, the information analysis method may further include the following steps:
[0145] Step 314: The information analysis device determines the risk level of each node in the graph structure based on the target alarm information.
[0146] In the embodiment of the present application, the importance of the entity corresponding to each node may be different, so the risk level when issuing an alarm message will be different. The more important the node is, the higher the risk level will be when issuing an alarm message.
[0147] Step 315: The information analysis device determines the node type of each node based on the source of the target alarm information.
[0148] In an embodiment of the present application, the source of the target alarm information may be a network-side object such as a website or a port, or may be a terminal-side process, so the node type may include a network-side node and a terminal-side node.
[0149] Step 316: The information analysis device optimizes the graph structure based on the risk level and node type to obtain a target graph structure.
[0150] Wherein, step 316 can be implemented by the following steps:
[0151] Step 316a: The information analysis device determines the alarm details of the target alarm information corresponding to each node based on the node type.
[0152] In an embodiment of the present application, the corresponding alarm detail information on the network side can be pre-set, and can be set to the attack source IP, source port, destination IP, destination port, attack type, number of times, HTTP data packet and other contents; the alarm detail information on the terminal side can be set to the process command line, PID information, process tree and other contents.
[0153] Step 316b: The information analysis device determines the form of expression of each node based on the risk level.
[0154] In an embodiment of the present application, the information analysis device can set different risk levels, and the nodes of each risk level correspond to different colors, so that the risk level of different objects can be reflected through different colors, which is convenient for maintenance personnel to handle objects with higher risk levels based on the node color and reduce financial losses.
[0155] Step 316c: The information analysis device marks the alarm details and risk levels in the graph structure in a presentation form to obtain a target graph structure.
[0156] In an embodiment of the present application, the risk level can be reflected on the node in different colors, and the alarm detail information can also be marked on the node in a hidden form, and displayed when the maintenance personnel need to view the relevant information.
[0157] Step 317: Based on the relevance of the target alarm events, the information analysis device aggregates the target graph structures corresponding to the target alarm events to obtain an aggregated graph structure.
[0158] In an embodiment of the present application, the information analysis device may aggregate the target graph structure corresponding to the target alarm event included in the target asset based on the asset identifier of the target asset to obtain an aggregated graph structure.
[0159] Step 318: The information analysis device displays the attack process.
[0160] In an embodiment of the present application, after obtaining the attack process of the target asset, that is, after obtaining the graph structure of the target asset, or the target graph structure or the aggregate graph structure, the information analysis device can display the entire target alarm event in the form of a graph structure when the maintenance personnel clicks or queries a certain node, so as to facilitate the maintenance personnel to conduct an overall analysis of the entire target alarm event and handle it in a timely manner.
[0161] like Figure 4As shown, the information analysis method of the embodiment of the present application is described by taking the BlueHero botnet activity in the host office automation (OA) system as an example. Among them, the graph structure of the botnet activity may include the number of the current alarm event 0001, the disposal status: pending disposal, the affected host: ASDQFV (200.200.12.11), the discovery event is 2021-11-23 12:23, the detection source: Nanoparticle Tracking Analysis (NTA), and the danger level is high. The four-sided pyramid shown in the attack storyline of the botnet alarm event is the attack point. The process weblogic.exe corresponding to the earliest alarm information is the initial node of the graph structure. The occurrence of the process weblogic.exe will pull up the process sertutil.exe to initiate the task of downloading malicious files and trigger the alarm information. Therefore, the process sertutil.exe is taken as the second node. Since the process sertutil.exe will download malicious files through the http link, the http website can be used as the third node; after the process sertutil.exe downloads the malicious file, it will pull up the program mother download.exe, and the program mother download.exe is used as the fourth node; the program mother download.exe releases and runs the remote control process cnmbd.exe, The remote control process cnmbd.exe is taken as the fifth node; the remote control process cnmbd.exe will pull up the propagation module process lanmktmrm.exe to initiate an http request for download, the propagation module process lanmktmrm.exe is taken as the sixth node, and the download link is taken as the seventh node; the propagation module process lanmktmrm.exe releases and runs the processes mimikatz.exe and xmrige.exe. Since the process xmrige.exe is more closely associated, the process xmrige.exe is taken as the eighth node, and the process xmrige.exe will initiate a mining link to the host for mining, occupying the host resources. The mining link is taken as the ninth node, and the process mimikatz.exe is taken as the tenth node, and the graph structure of the mining attack is obtained. After obtaining the graph structure, the nodes corresponding to the processes xmrige.exe, mimikatz.exe, and lanmktmrm.exe, which have the highest risk levels, can be marked in red, the nodes corresponding to the program parent download.exe, which has a higher risk level, can be marked in orange, and the nodes corresponding to the processes weblogic.exe and sertutil.exe, which have lower risk levels, can be marked in gray. In this way, nodes with different risk levels can be distinguished, that is, processes with different risk levels can be distinguished.In addition, when displaying the graph structure, the corresponding disposal suggestions and disposal methods can be marked in the graph structure to facilitate the operation of maintenance personnel so as to quickly handle alarm events.
[0162] It should be noted that, for the description of the same steps and the same contents in this embodiment as those in other embodiments, reference can be made to the description in other embodiments and will not be repeated here.
[0163] The information analysis method provided in the embodiment of the present application can quickly obtain the attack situation of the target object after determining the attack process of the target asset based on the target identification and target alarm information of each target alarm time, and promptly analyze and process the target alarm event to reduce the damage to the target asset. This solves the problem in related technologies that maintenance personnel are unable to quickly analyze and process these alarm information, thereby improving the processing rate.
[0164] Based on the above embodiments, the embodiments of the present application provide an information analysis device, which can be applied to Figures 1 to 3 In the information analysis method provided in the corresponding embodiment, refer to Figure 5 As shown, the information analysis device 4 may include: a processor 41, a memory 42 and a communication bus 43, wherein:
[0165] The communication bus 43 is used to realize the communication connection between the processor 41 and the memory 42;
[0166] The processor 41 is used to execute the information analysis program in the memory 42 to implement the following steps:
[0167] Obtaining a target alarm event of a target asset; wherein the target alarm event includes multiple target alarm information;
[0168] Based on the target identification and target warning information of each target warning event, the attack process of the target asset is determined; wherein the target identification represents the object that issues the target warning information.
[0169] In other embodiments of the present application, the processor 41 is used to execute the information analysis program in the memory 42 to obtain the target alarm event of the target asset, so as to implement the following steps:
[0170] Obtaining initial alarm information of the asset to be processed; wherein the initial alarm information includes alarm information from the network layer, the log layer, and the terminal layer;
[0171] The initial alarm information is processed based on the preset correlation dimension to obtain the alarm event of the asset to be processed; wherein the alarm event includes the asset identifier of each asset to be processed and the alarm information corresponding to each asset to be processed;
[0172] Based on the target asset identifier of the target asset, a target alarm event is determined from the alarm events.
[0173] In other embodiments of the present application, the processor 41 is used to execute the information analysis program in the memory 42 to process the initial alarm information based on the preset correlation dimension to obtain the alarm event of the asset, so as to implement the following steps:
[0174] Determine the temporal correlation between the initial alarm information; wherein the preset correlation dimension includes the temporal correlation;
[0175] Based on the time series association, the initial alarm information is divided to obtain alarm events.
[0176] In other embodiments of the present application, the processor 41 is used to execute the information analysis program in the memory 42 to process the initial alarm information based on the preset correlation dimension to obtain an alarm event, so as to implement the following steps:
[0177] Determine an attack scenario for the asset; wherein the preset correlation dimension includes the attack scenario;
[0178] Based on the attack scenario list, obtain the attack alarm information corresponding to the attack scenario;
[0179] Based on the attack alarm information, the initial alarm information is filtered to obtain an alarm event.
[0180] In other embodiments of the present application, the processor 41 is used to execute the information analysis program in the memory 42 to process the initial alarm information based on the preset correlation dimension to obtain the alarm event, and can also implement the following steps:
[0181] Determine the causal relationship between the initial warning information; wherein the preset correlation dimension includes the causal relationship;
[0182] Based on the causal relationship, the initial alarm information is divided into alarm events.
[0183] In other embodiments of the present application, the processor 41 is used to execute the information analysis program in the memory 42 to process the initial alarm information based on the preset correlation dimension to obtain an alarm event, so as to implement the following steps:
[0184] Determine a process chain association between initial alarm information; wherein the preset association dimension includes a process chain association;
[0185] Based on the process chain association, the initial alarm information is divided to obtain alarm events.
[0186] In other embodiments of the present application, the processor 41 is used to execute the information analysis program in the memory 42 to determine the attack process of the target asset based on the target identification and target warning information of each target warning event, so as to implement the following steps:
[0187] For each target warning event, determine the correlation between target warning information;
[0188] The target identifier is used as a node, and the connection relationship between the nodes is set based on the association to obtain a graph structure; wherein the graph structure represents the attack process of the target asset.
[0189] In other embodiments of the present application, the processor 41 is used to execute the information analysis program in the memory 42, taking the target identifier as a node, and setting the connection relationship between the nodes based on the relevance to obtain a graph structure, so as to implement the following steps:
[0190] The target identifier is used as a node, and based on the correlation degree between the target warning information and the correlation degree of the target warning information occurrence time, the connection relationship between the nodes is set to obtain a graph structure; wherein the correlation degree represents the logical relationship between the target warning information.
[0191] In other embodiments of the present application, the processor 41 is used to execute the information analysis program in the memory 42, taking the target identifier as a node, and setting the connection relationship between the nodes to obtain a graph structure based on the correlation degree between the target warning information and the correlation degree of the target warning information occurrence time, so as to implement the following steps:
[0192] Determine the first alarm information with the earliest occurrence time from the target alarm information, and determine the target identifier corresponding to the first alarm information as the initial node; wherein the initial node is a node of the first level;
[0193] Based on the degree of association with the first alarm information, determine the second alarm information from the target alarm information, and determine that the target identifier corresponding to the second alarm information is a node of the second level;
[0194] Determining a second node from the nodes of the second level based on the relevance of the occurrence time of the second alarm information;
[0195] Based on the degree of association with the second alarm information corresponding to the second node, determine the third alarm information from the target alarm information, and determine that the target identifier corresponding to the third alarm information is a node of the third level, until the nodes of the i-th level and the i-th node of the i-th level are obtained; wherein the i-th node does not have an associated next-level node; wherein i is a positive integer;
[0196] Determine the node of the nth level that has the least number of levels between it and the i-th level and has an undetermined associated next-level node, and based on the correlation of the alarm information occurrence time corresponding to the node of the nth level, determine the n+1th node from the nodes of the nth level until the target alarm information is traversed to obtain the graph structure.
[0197] In other embodiments of the present application, the processor 41 is used to execute the information analysis program in the memory 42 and can also implement the following steps:
[0198] Based on the target warning information, determine the risk level of each node in the graph structure;
[0199] Determine the node type of each node based on the source of the target alarm information;
[0200] Based on the risk level and node type, the graph structure is optimized to obtain the target graph structure.
[0201] In other embodiments of the present application, the processor 41 is used to execute the information analysis program in the memory 42 to optimize the graph structure based on the risk level and the node type to obtain the target graph structure, so as to implement the following steps:
[0202] Based on the node type, determine the alarm details of the target alarm information corresponding to each node;
[0203] Based on the risk level, determine the manifestation of each node;
[0204] In the form of representation, the alarm detail information and risk level are marked in the graph structure to obtain the target graph structure.
[0205] In other embodiments of the present application, the processor 41 is used to execute the information analysis program in the memory 42 and can also implement the following steps:
[0206] Based on the relevance of the target alarm events, the target graph structures corresponding to the target alarm events are aggregated to obtain an aggregated graph structure.
[0207] In other embodiments of the present application, the processor 41 is used to execute the information analysis program in the memory 42 to optimize the graph structure based on the risk level and the node type to obtain the target graph structure, and can also implement the following steps:
[0208] Show the attack process.
[0209] It should be noted that the specific description of the steps executed by the processor can be referred to Figures 1 to 3 The information analysis method provided in the corresponding embodiment will not be repeated here.
[0210] The information analysis device provided in the embodiment of the present application can quickly learn the attack situation of the target object after determining the attack process of the target asset based on the target identification and target alarm information of each target alarm time, and promptly analyze and process the target alarm event to reduce the damage to the target asset. This solves the problem in related technologies that maintenance personnel are unable to quickly analyze and process these alarm information, thereby improving the processing rate.
[0211] Based on the foregoing embodiments, the embodiments of the present application provide a computer-readable storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement Figures 1 to 3 The corresponding embodiments provide steps of the information analysis method.
[0212] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of hardware embodiments, software embodiments, or embodiments in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.
[0213] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0214] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0215] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0216] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application.
Claims
1. An information analysis method, characterized in that: The method comprises: Obtaining a target alarm event of a target asset; wherein the target alarm event includes a plurality of target alarm information; Determine the correlation degree between the target warning information in the target warning event and the correlation degree of the occurrence time of the target warning information; wherein the correlation degree represents the logical relationship between the target warning information; Determine the first alarm information with the earliest occurrence time from the multiple target alarm information, and determine the target identifier corresponding to the first alarm information as the initial node; wherein the initial node is a node of the first level; the target identifier represents the object that issues each target alarm information; Based on the degree of association with the first warning information, determine the second warning information from the multiple target warning information, and determine that the target identifier corresponding to the second warning information is a node of the second level; Determining a second node from the nodes of the second level based on the correlation of the occurrence time of the second alarm information; Based on the degree of association with the second alarm information corresponding to the second node, determine the third alarm information from the multiple target alarm information, and determine that the target identifier corresponding to the third alarm information is a node of the third level, until the node of the i-th level and the i-th node of the i-th level are obtained; wherein the i-th node does not have an associated next-level node; i is a positive integer; Determine the node of the nth level that has the least number of levels between it and the ith level and has an undetermined associated next-level node, and based on the correlation of the alarm information occurrence time corresponding to the node of the nth level, determine the n+1th node from the nodes of the nth level until each target alarm information is traversed to obtain a graph structure; wherein the graph structure represents the attack process of the target asset.
2. The method according to claim 1, characterized in that The obtaining of the target alarm event of the target asset includes: Obtaining initial alarm information of the asset to be processed; wherein the initial alarm information includes alarm information from the network layer, the log layer and the terminal layer; The initial alarm information is processed based on the preset correlation dimension to obtain the alarm event of the asset to be processed; wherein the alarm event includes the asset identifier of each asset to be processed and the alarm information corresponding to each asset to be processed; The target alarm event is determined from the alarm events based on the target asset identifier of the target asset.
3. The method according to claim 2, characterized in that The processing of the initial alarm information based on the preset correlation dimension to obtain the alarm event of the asset to be processed includes: Determining the temporal correlation between the initial alarm information; wherein the preset correlation dimension includes the temporal correlation; Based on the time series association, the initial alarm information is divided to obtain the alarm events of the asset to be processed.
4. The method according to claim 2, characterized in that: The processing of the initial alarm information based on the preset correlation dimension to obtain the alarm event of the asset to be processed includes: Determining an attack scenario of the asset to be processed; wherein the preset correlation dimension includes the attack scenario; Based on the attack scenario list, acquiring attack alarm information corresponding to the attack scenario; Based on the attack alarm information, the initial alarm information is screened to obtain an alarm event of the asset to be processed.
5. The method according to claim 2, characterized in that: The processing of the initial alarm information based on the preset correlation dimension to obtain the alarm event of the asset to be processed includes: Determining a causal relationship between the initial warning information; wherein the preset correlation dimension includes the causal relationship; Based on the causal relationship, the initial alarm information is divided to obtain the alarm events of the assets to be processed.
6. The method according to claim 2, characterized in that The processing of the initial alarm information based on the preset correlation dimension to obtain the alarm event of the asset to be processed includes: Determining a process chain association between the initial alarm information; wherein the preset association dimension includes the process chain association; Based on the process chain association, the initial alarm information is divided to obtain the alarm events of the assets to be processed.
7. The method according to claim 1, characterized in that The method further comprises: Determining a risk level of each node in the graph structure based on the target warning information; Determining a node type of each node based on a source of the target alarm information; Based on the risk level and the node type, the graph structure is optimized to obtain a target graph structure.
8. The method according to claim 7, characterized in that The step of optimizing the graph structure based on the risk level and the node type to obtain a target graph structure includes: Based on the node type, determining the alarm detail information of the target alarm information corresponding to each node; Based on the risk level, determining a representation form of each node; The warning detail information and the risk level are marked in the graph structure in the representation form to obtain the target graph structure.
9. The method according to claim 8, characterized in that The method further comprises: Based on the relevance of the target alarm events, the target graph structures corresponding to the target alarm events are aggregated to obtain an aggregated graph structure.
10. The method according to claim 1, characterized in that The method further comprises: The attack process is shown.
11. An information analysis device, characterized in that: The device comprises: a processor, a memory and a communication bus; The communication bus is used to realize the communication connection between the processor and the memory; The processor is used to execute the information analysis program in the memory to implement the steps of the information analysis method as described in any one of claims 1 to 10.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the information analysis method as described in any one of claims 1 to 10.
Citation Information
Patent Citations
Data processing method and device thereof
CN109286511A
Network attack tracing method and device
CN111628964A
Network security detection method, terminal and network security equipment
CN111786964A
Attack event tracking and tracing method and system, terminal and storage medium
CN111858482A
