Network attack path reconstruction and evaluation method and system
Through preprocessing and similarity and causal analysis of monitoring data, the graph neural network is used to reconstruct the network attack path and evaluate the degree of threat, the problem of inability to distinguish between real attacks and feints in the existing technology is solved, and efficient and accurate Attack path reconstruction and threat assessment.
Patent Information
- Application Number
- CN202411083675.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-08
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2044-08-08
AI Technical Summary
The existing cyber attack path reconstruction technology cannot accurately determine which of the reconstruction completion path is a feint attack conducted by the attacker and which is the real attack path, resulting in low data processing efficiency and ineffective distinction between real attacks and false attacks.
By obtaining monitoring data for preprocessing, extracting features and labeling, similarity analysis and causal correlation analysis are performed, the attack path is reconstructed using graph neural network, and the threat degree and behavior pattern are evaluated based on security threat indicators, distinguishing between real attacks and Feint attack.
It realizes automated and accurate attack path reconstruction and threat level assessment, reduces resource consumption, and can effectively distinguish between real attacks and feints during attack path reconstruction, providing reliable defense technical basis.
Smart Images

Figure CN119051914A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of network attack path reconstruction, and in particular to a network attack path reconstruction and evaluation method and system. Background Art
[0002] Reconstructing the network attack path means analyzing the data left by the attacker during the attack, such as honeypot logs, and combining the data logically according to the relationship between the data to restore the attacker's activity path in the entire program, and then tracing the attacker based on the path. The following two issues must be considered when reconstructing the network attack path. First, the same attack behavior in multiple log devices may cause a large number of repeated attack alarms. Second, network attacks are becoming more and more complex. An attack behavior may include multiple attack steps, and each attack step may generate alarms on different devices.
[0003] There are three main methods for network attack path reconstruction and evaluation. The first is network attack path reconstruction based on the similarity of attack alarms. This type of method aggregates and associates alarms from intrusion detection systems, uses the similarity between alarms to infer the continuity and progress of attacks, and constructs an attack chain based on the time sequence between these coherence and progress; the second is network attack path reconstruction based on the causal correlation of attack alarms. This type of method assumes that each attack step contains a series of preconditions and postconditions. If the consequences of other alarms meet the prerequisites of other alarms, it is considered that there is a causal relationship between these alarms, thereby constructing an attack chain; the third is attack path reconstruction using graph theory and multi-information fusion technology. This type of method does not rely solely on the similarity of alarms, but represents attacks as nodes and edges in a graph. By fusing multiple information sources such as attack time information, risk assessment information, and attack node information, a weighted directed graph of the attack scenario is constructed to reflect the entire attacker's activity trajectory in the system.
[0004] However, current attack path reconstruction technologies are unable to determine which attack path in the reconstructed path is a feint by the attacker and which attack path is the actual attack path that the attacker wants to carry out during the attack path reconstruction. Instead, they use other technologies to infer it afterwards, which consumes more resources and results in lower data processing efficiency. Summary of the invention
[0005] The purpose of the present invention is to provide a network attack path reconstruction and evaluation method and system, aiming to solve the problem that traditional attack path reconstruction technology cannot accurately infer the threat level of the current path attack and distinguish between real attacks and false attacks.
[0006] In a first aspect, the present invention provides a network attack path reconstruction and evaluation method, comprising:
[0007] Acquire at least one piece of monitoring data, and pre-process the monitoring data to obtain at least one security threat indicator corresponding to each piece of the monitoring data, wherein the pre-processing includes feature extraction and labeling processing;
[0008] Performing similarity analysis on all attack events, so as to reconstruct the attack paths of all attack events contained in the monitoring data one by one according to the similarity analysis results;
[0009] Performing a threat level assessment on the reconstructed attack path according to the at least one security threat indicator, and retrieving a threat level corresponding to the reconstructed attack path from a preset threat level table according to the assessment result;
[0010] A behavior pattern corresponding to the reconstructed attack path is obtained according to preset rules, wherein the behavior pattern includes a real attack and a feint attack.
[0011] Furthermore, the obtaining of at least one piece of monitoring data and preprocessing of the monitoring data to obtain at least one security threat indicator corresponding to each piece of the monitoring data, wherein the preprocessing includes feature extraction and labeling processing steps, includes:
[0012] The monitoring data includes intrusion detection system alerts, honey spot logs, network traffic reports, and system call logs;
[0013] Feature extraction is performed on the monitoring data to obtain at least one data feature, wherein the data feature includes text feature, classification feature, numerical feature, sequence feature, and interactive text feature.
[0014] Furthermore, after the step of extracting features from the monitoring data, the following steps are further included:
[0015] Analyze the at least one data feature to obtain, according to the analysis result, an attack type corresponding to each piece of the monitoring data, and label the monitoring data according to the attack type to obtain at least one security threat indicator;
[0016] The security threat indicators include the complexity of attack techniques, the importance of affected assets, and the number of defense resources deployed.
[0017] Furthermore, the step of performing similarity analysis on all attack events to reconstruct attack paths of all attack events contained in the monitoring data one by one according to the similarity analysis results includes:
[0018] Acquire the causal relationship between the attack events based on causal correlation analysis, so as to construct an event relationship graph according to the causal relationship;
[0019] Apply graph neural network to analyze the event relationship graph, and infer the potential causal chain through iterative aggregation to obtain the starting point, logical flow and key factors of the attack event;
[0020] The attack path of the attack event is reconstructed based on the similarity analysis results, the starting point, logical flow and key factors of the attack event.
[0021] Furthermore, the step of evaluating the threat level of the reconstructed attack path according to the at least one security threat indicator, and retrieving the threat level corresponding to the reconstructed attack path from a preset threat level table according to the evaluation result includes:
[0022] Retrieving a corresponding score from a preset score table according to the security threat indicator;
[0023] The evaluation result is calculated according to the following formula:
[0024] S total =W1S tech +W2S asset +W3S defense
[0025] Among them, S total represents the evaluation result, W1, W2, and W3 represent the weights corresponding to the complexity of attack technology, the importance of affected assets, and the number of defense resources deployed, respectively, and S tech Represents the score corresponding to the complexity of the attack technology, S asset represents the score corresponding to the importance of the affected assets, S defense Indicates the score corresponding to the number of defense resources deployed.
[0026] Furthermore, the step of obtaining a behavior pattern corresponding to the reconstructed attack path according to a preset rule, wherein the behavior pattern includes a real attack and a feint attack, comprises:
[0027] Predefine multiple features to be analyzed, the features to be analyzed include attack frequency, attack complexity, target asset value, and attack concealment;
[0028] Analyze the reconstructed attack path according to the feature to be analyzed to obtain the attack probability corresponding to the reconstructed attack path;
[0029] Determining whether the attack probability is greater than a first preset attack probability threshold;
[0030] If the attack probability is greater than a first preset attack threshold, determining that the behavior pattern of the reconstructed attack path is a real attack;
[0031] If the attack probability is less than or equal to the first preset attack threshold, it is determined that the behavior mode of the reconstructed attack path is a feint attack.
[0032] Furthermore, after the step of obtaining the behavior pattern corresponding to the reconstructed attack path according to the preset rule, wherein the behavior pattern includes a real attack and a feint attack, the following step is further included:
[0033] The reconstructed attack path is labeled according to the threat level and the behavior pattern to convert the reconstructed attack path into a graph.
[0034] In a second aspect, the present invention provides a network attack reconstruction system based on a large model, the system comprising:
[0035] A preprocessing module, used to obtain at least one piece of monitoring data and preprocess the monitoring data to obtain at least one security threat indicator corresponding to each piece of monitoring data, wherein the preprocessing includes feature extraction and labeling processing;
[0036] A path reconstruction module, used to perform similarity analysis on all attack events, so as to reconstruct the attack paths of all attack events contained in the monitoring data one by one according to the similarity analysis results;
[0037] An evaluation module, configured to evaluate the threat level of the reconstructed attack path according to the at least one security threat indicator, and retrieve the threat level corresponding to the reconstructed attack path from a preset threat level table according to the evaluation result;
[0038] The behavior pattern analysis module is used to obtain the behavior pattern corresponding to the reconstructed attack path according to preset rules, and the behavior pattern includes real attack and feint attack.
[0039] In a third aspect, the present invention provides a readable storage medium, which stores one or more programs, which, when executed by a processor, implement the above-mentioned network attack path reconstruction and evaluation method.
[0040] In a fourth aspect, the present invention provides a computer device, the computer device comprising a memory and a processor, wherein:
[0041] The memory is used to store computer programs;
[0042] When the processor is used to execute the computer program stored in the memory, the above-mentioned network attack path reconstruction and evaluation method is implemented.
[0043] Compared with the prior art, the present invention has the following advantages:
[0044] 1. The present invention can automatically extract various features contained in the acquired monitoring data, namely text semantics, and automatically label the information after the semantics are extracted, so as to mark the danger level of the attack path reconstructed using the monitoring data.
[0045] 2. The present invention realizes automatic attack path reconstruction through large model technology. It only needs to input at least one piece of monitoring data generated by each defense device to realize the reconstruction of the attack path, that is, automatically restore the entire attack path without the need for additional personnel intervention, thus reducing resource consumption.
[0046] 3. The present invention can automatically and accurately evaluate the threat level of each reconstructed attack path while reconstructing the attack path, and effectively distinguish between real attacks and feints, thereby providing a reliable technical basis for the defense system to respond in advance and deploy defense resources.
[0047] 4. The large model of the present invention has the ability to learn and adapt to new attack patterns. With the continuous input of new data, the model can update its mechanism of identifying and analyzing attacks to adapt to the evolving network threat environment. This dynamic adaptability enables the present invention to maintain efficient and effective defense capabilities when facing new and rapidly changing attacks. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 A framework diagram of a large model proposed for the first embodiment of the present invention;
[0049] Figure 2 A flowchart of network attack path reconstruction proposed in the first embodiment of the present invention;
[0050] Figure 3 A flowchart of a network attack path reconstruction and evaluation method proposed in the first embodiment of the present invention;
[0051] Figure 4 A flowchart of a network attack path reconstruction and evaluation method proposed in the second embodiment of the present invention;
[0052] Figure 5 A visualization diagram of the attack path proposed in the second embodiment of the present invention;
[0053] Figure 6 It is a structural diagram of a network attack path reconstruction and evaluation system proposed in the third embodiment of the present invention.
[0054] The following specific embodiments will further illustrate the present invention in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION
[0055] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. Unless otherwise defined, the technical terms or scientific terms used herein should be understood by people with general skills in the field to which the present invention belongs. "Including" and similar words used in this article mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects.
[0056] See also Figure 1 and Figure 2 The large model used in the embodiment of the present invention is designed for automatic reconstruction of network attack paths and consists of three core parts. First, it is necessary to process and understand the multi-format monitoring data (monitoring data) generated by each device in the network defense system, such as intrusion detection system alarms and honey spot logs. At the same time, the indicators for assessing the danger level of the attack path will be input. The key information is extracted based on the input labels and nodes within the large model, and the monitoring data generated by the defense system is labeled. Secondly, the large language model receives the text and label information processed by the feature integration module, and performs complex reasoning tasks, including analyzing the causal relationship and similarity between data items, and reconstructing potential attack paths. Finally, the visualization module converts the path reconstruction results of the large language model into attack path graphs. These graphs can intuitively show the attacker's action trajectory, and can optimize the recognition and understanding of attack behaviors through graph analysis technology.
[0057] See also Figure 3 , which is a flow chart of a network attack path reconstruction and evaluation method provided by the first embodiment of the present invention, the method includes steps S101 to S104, wherein:
[0058] Step S101: Acquire at least one piece of monitoring data, and pre-process the monitoring data to obtain at least one security threat indicator corresponding to each piece of the monitoring data, wherein the pre-processing includes feature extraction and labeling processing.
[0059] It should be noted that, in some embodiments, the monitoring data is generated by a network defense system. The monitoring data includes intrusion detection system (IDS) alarms, honey spot logs, network traffic reports, and system call logs, etc., which are used as data sources for constructing attack paths for large models. This process does not require preprocessing of multi-source data formats to unify them. Compared with previous methods, the efficiency of network attack path reconstruction is greatly improved.
[0060] In addition, in this step, hidden features in the data stream are extracted through automatic features, so that the subsequent large language model can automatically classify attacks based on the features extracted by this module and reduce the false alarm rate.
[0061] In addition, in the labeling process, the data will first be analyzed according to the input characteristics to determine the specific attack type reflected by each piece of data. After that, the data will be labeled according to the security threat indicators input at the beginning. The purpose of the label is to use the label of each path to comprehensively judge the danger level of each attack path and whether it is a real attack or a feint in the subsequent reconstruction of the attack path.
[0062] Step S102: performing similarity analysis on all attack events, and reconstructing the attack paths of all attack events contained in the monitoring data one by one according to the similarity analysis results.
[0063] Step S103: evaluating the threat level of the reconstructed attack path according to the at least one security threat indicator, and retrieving the threat level corresponding to the reconstructed attack path from a preset threat level table according to the evaluation result.
[0064] It should be pointed out that by assessing the threat level, it is possible to reflect the extent of damage caused by the attack to the attacked system, or to describe the severity of the consequences.
[0065] Step S104: obtaining a behavior pattern corresponding to the reconstructed attack path according to a preset rule, wherein the behavior pattern includes a real attack and a feint attack.
[0066] In this step, the big model is mainly used to deeply analyze the attacker's behavior pattern. By comparing the known real attack and feint behavior patterns, the model can identify whether the characteristics of the current attack path are closer to a real attack or a feint. For example, a feint is usually intended to distract the defender and may not involve a direct attack on a high-value asset or use advanced attack techniques. Specifically, a set of feature vectors are first defined to describe the attack behavior pattern, such as: [attack frequency, attack complexity, target asset value, attack concealment]. Each attack event is assigned a corresponding numerical value according to its behavioral characteristics, such as attack frequency (times / day), attack complexity (1-5 rating), target asset value (1-5 rating), and attack concealment (1-5 rating). We let the big model analyze the above features on the data used to construct the current path, and give a prediction result for the feature vector of each attack event, indicating whether the event is closer to a real attack or a feint. Based on the model's prediction results, a decision threshold is applied to finally determine the nature of the attack path. For example, the model may output an attack probability that is a real attack. If this attack probability exceeds a preset threshold (such as 75%), it is determined to be a real attack; otherwise, it is considered a feint. The threshold probability can be adjusted based on historical data analysis, expert opinions or actual defense needs, and is not specified in detail in this embodiment.
[0067] In summary, according to the above-mentioned network attack path reconstruction and evaluation method, this method can automatically and accurately realize the network attack path reconstruction. At the same time, when reconstructing the attack path, it can infer the threat level of each current attack path and whether the current path is a real attack or a feint, so as to help the defense system respond to the attack in advance and make good defense resource deployment. It solves the problem that the reconstruction process of the traditional method is cumbersome and requires professional security analysts to perform multiple analyses of the data in the reconstruction path process.
[0068] See also Figure 4 , which is a flow chart of a network attack path reconstruction and evaluation method provided by the second embodiment of the present invention, the method includes steps S201 to S207, wherein:
[0069] Step S201: extracting features from the monitoring data to obtain at least one data feature, wherein the data feature includes a text feature, a classification feature, a numerical feature, a sequence feature, and an interactive text feature.
[0070] In this step, text features are extracted from the input intrusion detection system (IDS) alarms, honey spot logs, network traffic reports, and system call logs. These features can be processed by the large language model to achieve automatic attack classification. For IDS alarms, these features include text features (such as keywords or phrases in the alarm), classification features (such as alarm type and alarm level in the alarm), and numerical features (such as attack time in the alarm, etc.); for honey spot logs, they include behavior sequence features (interaction command sequence) and interaction text features (such as text content of interaction commands); for network traffic reports, they include text features (such as statistical information such as traffic size, session duration, and total number of packets); for system call logs, they include sequence features (such as system call sequence), etc.
[0071] Step S202: Analyze the at least one data feature to obtain the attack type corresponding to each piece of the monitoring data according to the analysis result, and label the monitoring data according to the attack type to obtain at least one security threat indicator.
[0072] In some embodiments, security threat indicators include the complexity of attack techniques, the importance of affected assets, and the number of defense resources deployed:
[0073] 1. Attack technology complexity: By analyzing the content of intrusion detection system (IDS) alerts, we can identify the attack technologies used, such as SQL injection, cross-site scripting (XSS), remote code execution (RCE), etc. More advanced attack technologies, such as the use of zero-day vulnerabilities, usually mean more complex attacks. Generally speaking, more complex attacks correspond to attacks with higher threat levels. Based on this, in order to reflect the correspondence between the complexity of attack technologies and the threat level, these attack methods need to be scored according to their complexity. For details, please refer to Table 1 below:
[0074] Table 1 Attack technology complexity score table
[0075]
[0076]
[0077] 2. Importance of affected assets: The importance of assets can be determined by their role in the organization, the amount of data, and the impact on business continuity. The more important the assets affected by this attack path, the more dangerous the attack path is. According to the national standard "Information Security Risk Assessment Specification", asset importance is divided into five levels: L1, L2, L3, L4, and L5. Each level corresponds to an asset importance score. Please refer to Table 2 below for details.
[0078] Table 2 Importance rating table of affected assets
[0079]
[0080] 3. The number of defense resources deployed on the attack path: For an attack path, the more defense resources there are on the path, the lower the attack success rate. On the contrary, the higher the success rate, the higher the risk level of the path. Since the types of common network defense methods are relatively fixed, such as firewalls, IPS, IDS, WAF, and honeypots, we assume here that for an attack path, if no defense methods are deployed, the threat level score of the path is considered to be 5 points. For each additional defense method on the path, the attack threat score is reduced by one point. For details, please refer to Table 3 below:
[0081] Table 3 Scoring table for the number of defense resource deployments
[0082]
[0083]
[0084] Step S203: Acquire the causal relationship between the attack events based on the causal correlation analysis, so as to construct an event relationship graph according to the causal relationship.
[0085] Step S204: Analyze the event relationship graph using a graph neural network, and infer potential causal chains through iterative aggregation to obtain the starting point, logical flow, and key factors of the attack event.
[0086] Step S205: reconstructing the attack path of the attack event according to the similarity analysis result and the starting point, logic flow and key factors of the attack event.
[0087] It should be noted that in the process of attack path reconstruction: First, through similarity analysis, the similarity between different attack events is calculated using the trained deep learning model, so as to identify events with the same or similar attack patterns. The key to this step is to use word embedding technology to convert event descriptions into vector form, so that the model can understand and evaluate the characteristics of attack events and their contextual information. Next, the causal relationship between attack events is revealed through causal correlation analysis. In this process, a dynamic event relationship graph is constructed, and a graph neural network (GNN) is applied to conduct in-depth analysis of the graph to capture the complex relationships in the graph structure data, and infer the potential causal chain through iterative aggregation, so as to understand the logical order and internal connection of the attack behavior.
[0088] The results of the causal correlation analysis provide key clues for building an accurate attack path, revealing the starting point, logical flow, and key factors of the attack event. Finally, after similarity and causal correlation analysis, we use multi-information fusion technology to fuse these analysis results with the original data from different monitoring devices. Through advanced data processing and analysis algorithms, key attack features and behavior patterns are integrated. This process model not only considers a single event, but also comprehensively considers the interaction and timing relationship between events to build a more complete and accurate attack path. The reconstructed attack path is visualized and provides detailed explanations and analysis, allowing security analysts to intuitively understand the attacker's behavior patterns and attack strategies, thereby formulating effective defense measures.
[0089] Step S206: evaluating the threat level of the reconstructed attack path according to the at least one security threat indicator, and retrieving the threat level corresponding to the reconstructed attack path from a preset threat level table according to the evaluation result;
[0090] In some embodiments, please refer to Table 1 below, which is a table of preset threat levels:
[0091] Table 4 Preset Threat Level Table
[0092]
[0093] It should be noted that the corresponding scores are retrieved from a preset score table according to the security threat indicators, and then the evaluation results are obtained based on the scores of each indicator.
[0094] In some embodiments, the evaluation result is calculated according to the following formula:
[0095] S total =W1S tech +W2S asset +W3S defense
[0096] Among them, S total represents the evaluation result, W1, W2, and W3 represent the weights corresponding to the complexity of attack technology, the importance of affected assets, and the number of defense resources deployed, respectively, and S tech Represents the score corresponding to the complexity of the attack technology, S asset represents the score corresponding to the importance of the affected assets, S defense Indicates the scores corresponding to the number of defense resource deployments. These weights are related to historical monitoring data, expert opinions, or actual defense needs. When actually applied by users, they can be adjusted according to specific circumstances and are not limited in detail in this embodiment.
[0097] Step S207: acquiring a behavior pattern corresponding to the reconstructed attack path according to a preset rule, wherein the behavior pattern includes a real attack and a feint attack.
[0098] Specifically, in order to accurately obtain the behavior pattern, it is first necessary to predefine a plurality of features to be analyzed, the features to be analyzed include attack frequency, attack complexity, target asset value, and attack concealment; then, the reconstructed attack path is analyzed according to the features to be analyzed to obtain the attack probability corresponding to the reconstructed attack path; then, it is determined whether the attack probability is greater than a first preset attack probability threshold;
[0099] If the attack probability is greater than the first preset attack threshold, the behavior pattern of the reconstructed attack path is determined to be a real attack; if the attack probability is less than or equal to the first preset attack threshold, the behavior pattern of the reconstructed attack path is determined to be a feint, thereby achieving accurate and rapid output of the behavior pattern corresponding to the reconstructed attack path.
[0100] In some embodiments, see Figure 5 In order to realize path visualization and model update, the attack path reconstructed by the large language model needs to be converted into a graphical representation, including the starting point of the attack, the nodes passed through, and the end point. For attack paths with different threat levels, different colors will be used to mark the attack paths with different threat levels, and warning symbols will be used to identify real attacks. This graphical display method makes the complex attack process intuitive and easy to understand, helping security analysts to quickly grasp the attacker's action mode. At the same time, in order to deal with network attacks, attack methods and defense strategies are in constant evolution. The large model implemented by this patent can continuously absorb new data and intelligence through online learning and incremental learning mechanisms, and then adjust and optimize its algorithm. This not only improves the model's ability to deal with emerging threats, but also maintains effective response to known attack methods. In addition, the introduced transfer learning capability enables the large model to apply its learning results across network environments, greatly improving the practicality and flexibility of the model.
[0101] In summary, according to the above-mentioned network attack path reconstruction and evaluation method, this method uses a large model to process monitoring data in various formats such as honey spot logs, intrusion detection system (IDS) alarms, network traffic, and system calls generated by the defense system, and extracts the features of these monitoring data. Then, the large model first automatically analyzes the attack type based on the extracted features and performs data labeling processing. Then, based on the causal relationship, similarity and other information between multi-source data, the attack path is reconstructed using multi-information fusion technology. Finally, after the reconstruction process, the danger level of each reconstructed attack path is scored based on the previous data labeling results, and it is predicted whether the current attack path is a real attack or a feint launched by the attacker. After all paths are reconstructed, these paths are merged into an overall path diagram and visualized to show the attacker's activity path in the entire protected system. At the same time, the large model will continuously update and optimize its algorithm based on the input data to adapt to the ever-changing network situation.
[0102] See also Figure 6 , shown is a network attack reconstruction system based on a large model in the third embodiment of the present invention, the system comprising:
[0103] A preprocessing module 10 is used to obtain at least one piece of monitoring data and preprocess the monitoring data to obtain at least one security threat indicator corresponding to each piece of the monitoring data, wherein the preprocessing includes feature extraction and labeling processing;
[0104] A path reconstruction module 20 is used to perform similarity analysis on all attack events, so as to reconstruct the attack paths of all attack events contained in the monitoring data one by one according to the similarity analysis results;
[0105] An evaluation module 30, configured to evaluate the threat level of the reconstructed attack path according to the at least one security threat indicator, and retrieve the threat level corresponding to the reconstructed attack path from a preset threat level table according to the evaluation result;
[0106] The behavior pattern analysis module 40 is used to obtain the behavior pattern corresponding to the reconstructed attack path according to preset rules, and the behavior pattern includes a real attack and a feint attack.
[0107] Furthermore, in some optional embodiments, the system further includes:
[0108] The visualization module is used to mark the reconstructed attack path according to the threat level and the behavior pattern to convert the reconstructed attack path into a graph.
[0109] On the other hand, the present invention further provides a readable storage medium on which one or more programs are stored, and when the program is executed by a processor, the above-mentioned network attack reconstruction and evaluation method is implemented.
[0110] On the other hand, the present invention further proposes a computer device, including a memory and a processor, wherein the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory to implement the above-mentioned network attack reconstruction and evaluation method.
[0111] Those skilled in the art will appreciate that the logic and / or steps represented in the flowchart or otherwise described herein, for example, may be considered as an ordered list of executable instructions for implementing logical functions, and may be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For purposes of this specification, "computer-readable medium" may be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0112] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.
[0113] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or a combination thereof: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0114] Although the embodiments of the present invention are described in detail above, it is obvious to those skilled in the art that various modifications and variations can be made to these embodiments. However, it should be understood that such modifications and variations are within the scope and spirit of the present invention as described in the claims. Moreover, the present invention described herein may have other embodiments and may be implemented or realized in a variety of ways.
Claims
1. A network attack path reconstruction and evaluation method, characterized in that: The method comprises: Acquire at least one piece of monitoring data, and pre-process the monitoring data to obtain at least one security threat indicator corresponding to each piece of the monitoring data, wherein the pre-processing includes feature extraction and labeling processing; Performing similarity analysis on all attack events, so as to reconstruct the attack paths of all attack events contained in the monitoring data one by one according to the similarity analysis results; Performing a threat level assessment on the reconstructed attack path according to the at least one security threat indicator, and retrieving a threat level corresponding to the reconstructed attack path from a preset threat level table according to the assessment result; A behavior pattern corresponding to the reconstructed attack path is obtained according to preset rules, wherein the behavior pattern includes a real attack and a feint attack.
2. The network attack path reconstruction and evaluation method according to claim 1 is characterized in that: The step of obtaining at least one piece of monitoring data and preprocessing the monitoring data to obtain at least one security threat indicator corresponding to each piece of monitoring data, wherein the preprocessing includes feature extraction and labeling processing, comprises: The monitoring data includes intrusion detection system alerts, honey spot logs, network traffic reports, and system call logs; Feature extraction is performed on the monitoring data to obtain at least one data feature, wherein the data feature includes text feature, classification feature, numerical feature, sequence feature, and interactive text feature.
3. The network attack path reconstruction and evaluation method according to claim 2 is characterized in that: The step of extracting features from the monitoring data further includes: Analyze the at least one data feature to obtain, according to the analysis result, an attack type corresponding to each piece of the monitoring data, and label the monitoring data according to the attack type to obtain at least one security threat indicator; The security threat indicators include the complexity of attack techniques, the importance of affected assets, and the number of defense resources deployed.
4. The network attack path reconstruction and evaluation method according to claim 1 is characterized in that: The step of performing similarity analysis on all attack events to reconstruct the attack paths of all attack events contained in the monitoring data one by one according to the similarity analysis results includes: Acquire the causal relationship between the attack events based on causal correlation analysis, so as to construct an event relationship graph according to the causal relationship; Apply graph neural network to analyze the event relationship graph, and infer the potential causal chain through iterative aggregation to obtain the starting point, logical flow and key factors of the attack event; The attack path of the attack event is reconstructed based on the similarity analysis results, the starting point, logical flow and key factors of the attack event.
5. The network attack path reconstruction and evaluation method according to claim 3 is characterized in that: The step of evaluating the threat level of the reconstructed attack path according to the at least one security threat indicator, and retrieving the threat level corresponding to the reconstructed attack path from a preset threat level table according to the evaluation result includes: Retrieving a corresponding score from a preset score table according to the security threat indicator; The evaluation result is calculated according to the following formula: S total =W1S tech +W2S asset +W3S defense Among them, S total represents the evaluation result, W1, W2, and W3 represent the weights corresponding to the complexity of attack technology, the importance of affected assets, and the number of defense resources deployed, respectively, and S tech Represents the score corresponding to the complexity of the attack technology, S asset represents the score corresponding to the importance of the affected assets, S defense Indicates the score corresponding to the number of defense resources deployed.
6. The network attack path reconstruction and evaluation method according to claim 1 is characterized in that: The step of obtaining a behavior pattern corresponding to the reconstructed attack path according to a preset rule, wherein the behavior pattern includes a real attack and a feint attack, comprises: Predefine multiple features to be analyzed, the features to be analyzed include attack frequency, attack complexity, target asset value, and attack concealment; Analyze the reconstructed attack path according to the feature to be analyzed to obtain the attack probability corresponding to the reconstructed attack path; Determining whether the attack probability is greater than a first preset attack probability threshold; If the attack probability is greater than a first preset attack threshold, determining that the behavior pattern of the reconstructed attack path is a real attack; If the attack probability is less than or equal to the first preset attack threshold, it is determined that the behavior mode of the reconstructed attack path is a feint attack.
7. The network attack path reconstruction and evaluation method according to claim 1 is characterized in that: After the step of obtaining the behavior pattern corresponding to the reconstructed attack path according to the preset rules, wherein the behavior pattern includes a real attack and a feint attack, the following step is further included: The reconstructed attack path is labeled according to the threat level and the behavior pattern to convert the reconstructed attack path into a graph.
8. A network attack reconstruction system based on a large model, characterized in that: The system comprises: A preprocessing module, used to obtain at least one piece of monitoring data and preprocess the monitoring data to obtain at least one security threat indicator corresponding to each piece of monitoring data, wherein the preprocessing includes feature extraction and labeling processing; A path reconstruction module, used to perform similarity analysis on all attack events, so as to reconstruct the attack paths of all attack events contained in the monitoring data one by one according to the similarity analysis results; An evaluation module, configured to evaluate the threat level of the reconstructed attack path according to the at least one security threat indicator, and retrieve the threat level corresponding to the reconstructed attack path from a preset threat level table according to the evaluation result; The behavior pattern analysis module is used to obtain the behavior pattern corresponding to the reconstructed attack path according to preset rules, and the behavior pattern includes real attack and feint attack.
9. A readable storage medium, characterized in that: The readable storage medium stores one or more programs, which, when executed by a processor, implement a network attack path reconstruction and evaluation method as described in any one of claims 1-7.
10. A computer device, characterized in that: The computer device comprises a memory and a processor, wherein: The memory is used to store computer programs; When the processor is used to execute a computer program stored in the memory, it implements a network attack path reconstruction and evaluation method described in any one of claims 1-7.
Citation Information
Patent Citations
An attack path reconstruction method based on similarity computation
CN109308409A
Network attack behavior detection method and detection system
CN111901296A
Attack behavior response method and system based on threat intelligence
CN117220957A
Federated Graph Neural Network for Fast Anomaly Detection in Controller Area Networks
US20240064160A1
Similarity search for discovering multiple vector attacks
WO2019028341A1
Cited By
Simulation method and system based on honeypot network in attack trapping system
CN119696932A
Active link flooding attack mitigation method and system
CN119743302A
