A network data attack tracing method based on multi-dimensional features

Through multi-dimensional feature analysis and event correlation of enterprise communication data, the problems of insufficient data screening and inaccurate IP address correlation in the existing technology are solved, high-precision attack source tracing and behavioral pattern identification are achieved, and the security of communication data is improved. reliability and traceability credibility.

CN118590323BActive Publication Date: 2024-10-08XIAN KANGNAI NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411067088.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-06
Publication Date
2024-10-08
Estimated Expiration
2044-08-06

AI Technical Summary

Technical Problem

The existing technology lacks data validity screening and relies on IP addresses for correlation in attack traceability of enterprise communication data, resulting in inaccurate traceability, low credibility, and difficulty in identifying the attacker's behavior pattern.

Method used

By extracting log files of enterprise historical communication data, we perform anomaly identification and risk communication data screening, combine access record analysis with application requirements and storage originality, extract attack characteristics for multi-dimensional classification, and use event correlation analysis to build attack paths.

Benefits of technology

It achieves accurate identification of risk communication data and improves the credibility of attack source tracing. It can more accurately identify attacker behavior patterns, provide richer attack source tracing support, and improve communication data security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118590323B_ABST
    Figure CN118590323B_ABST
Patent Text Reader

Abstract

The present invention belongs to the technical field of network attack tracing, and specifically relates to a network data attack tracing method based on multi-dimensional features. After selecting risk communication data that has been intercepted by an attack from retrieved historical communication data of an enterprise, the present invention performs detection and analysis on application requirements and stored originals on the selected communication data, and then selects effective risk communication data based on the detection results of the two, thereby achieving effective identification of risk communication data, and being able to provide accurate, safe, and valuable data samples for attack tracing of risk communication data, thereby helping to improve the credibility and practical value of attack tracing. At the same time, when performing attack tracing on the selected effective risk communication data, a communication subject event association method is adopted, which can more comprehensively understand the evolution of attack events and the attacker's operating ideas. Compared with association based on IP addresses, this association method can provide richer and deeper attack tracing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of network attack tracing, and in particular relates to a network data attack tracing method based on multi-dimensional features. Background Art

[0002] With the popularization of the Internet, the network has profoundly changed people's lifestyles and has become an indispensable part of modern society. Through the network, people can achieve instant communication, online shopping, remote office, etc., which has brought great convenience to people's daily life. However, due to the openness of the network, the network increases the risk of network attacks while providing convenience. This attack is particularly evident in corporate communication data. This is because companies need to continuously conduct internal and external communications during operations. Most of these communication data involve business information, customer information, etc., making them more likely to become targets of network attacks. Tracing the source of attacks on corporate communication data is a key security operation for enterprises. It helps companies understand the full path of the attack to carry out targeted security defense.

[0003] There are also technical solutions related to communication data attack tracing in the prior art, such as a network attack tracing method and system based on data lake with publication number CN118264479A. This solution collects various network security data from network devices, log files and intrusion detection systems, and groups and associates them with IP. When tracing the source, the data of the starting node of the entire path is queried, and then all the path data involved in the entire attack process are associated to improve the accuracy of network attack tracing. However, this solution also has the following defects: 1. After collecting the invaded network security data, the processing of the data is limited to the processing of cleaning, filtering, formatting and other forms, lacking the identification of data validity, especially the verification of the originality of data storage. This is because the accuracy of attack tracing depends on the security integrity of the data. If the data is tampered with or misinterpreted during the collection and processing process, then the analysis of the source of the attack may be biased or wrong, thereby reducing the credibility of the attack tracing, and it is easy to cause invalid tracing while spending a lot of resources on tracing.

[0004] 2. When using the collected network security data for association, only IP is used for attack association, ignoring the characteristics of IP addresses, such as sharing, dynamic changes, easy hiding, and forgery. In this case, association based on IP addresses may cause incorrect tracing of network attacks, making attack tracing limited and misleading. At the same time, the IP address itself does not provide enough specific information to reflect the characteristics of the attacker's attack, such as attack tools. The lack of this key information may limit the accuracy of the classification of network data attacked by the same attacker, making it difficult to provide reliable data support for attack tracing. Summary of the invention

[0005] To this end, one purpose of an embodiment of the present application is to propose a network data attack tracing method based on multi-dimensional features based on the problems mentioned in the background technology, and to achieve high-precision attack tracing of enterprise communication data by effectively optimizing data processing and data attack association before attack tracing for enterprise communication data.

[0006] The purpose of the present invention can be achieved through the following technical solutions: A network data attack tracing method based on multi-dimensional features, comprising the following steps: S1, extracting the log files generated by the enterprise's historical communication data, and performing anomaly identification on them, thereby screening out risky communication data, and retrieving access records associated with the risky communication data.

[0007] S2. Count the number of access records associated with the risk communication data, and extract the access time, visitor account and access behavior from the access records, thereby analyzing the application demand of the risk communication data.

[0008] S3. After the risk communication data is stored, regular inspections and verifications are performed to obtain the verification results of each inspection, and then the original verification results recorded when the risk communication data was stored are compared and analyzed to analyze the storage originality of the risk communication data.

[0009] S4. Filter out effective risk communication data based on its application requirements and storage originality.

[0010] S5. Extract attack features from the screened valid risk communication data, where attack features include attack tools, attack data types, and attack network traffic patterns. Then, classify the valid risk communication data corresponding to the same attack features to obtain a set of valid risk communication data corresponding to each type of attack. At the same time, extract subject events and timestamps from the screened valid risk communication data, and perform event correlation analysis to form an event correlation link.

[0011] S6. Extract the subject events and timestamps of each valid risk communication data from the valid risk communication data set corresponding to each type of attack, and combine them with the event association link to predict the attack path corresponding to each type of attack.

[0012] In combination with all the above-mentioned technical solutions, the positive effects of the present invention are as follows: 1. After selecting the risk communication data that has been intercepted by the attack from the retrieved historical communication data of the enterprise, the present invention performs detection and analysis on the application requirements and the original storage of the selected communication data, and then selects the valid risk communication data based on the detection results of the two, thereby achieving effective identification of the risk communication data, and being able to provide accurate, secure and valuable data samples for attack tracing of the risk communication data, which helps to improve the credibility and practical value of attack tracing and avoid invalid tracing.

[0013] 2. The present invention extracts attack features from multiple dimensions for the screened effective risk communication data, thereby classifying the effective risk communication data corresponding to the same attack features, instead of relying on IP addresses for classification. This can more accurately and quickly identify the attacker's behavior patterns and operating methods, help distinguish different attackers or attack groups, and provide reliable data support for attack tracing.

[0014] 3. The present invention adopts the communication subject event association method when tracing the attack source of the screened effective risk communication data, which can more comprehensively understand the evolution of the attack event and the attacker's operating ideas. Compared with relying on IP addresses for association, this association method can provide richer and deeper attack tracing, helping enterprises to more accurately understand and respond to complex security threats, thereby effectively protecting the security of their communication data. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The present invention is further described using the accompanying drawings, but the embodiments in the accompanying drawings do not constitute any limitation to the present invention. A person skilled in the art can obtain other drawings based on the following drawings without creative work.

[0016] Figure 1 The present invention is a flowchart of the steps for implementing the method.

[0017] Figure 2 This is a schematic diagram of the event association link structure in the present invention.

[0018] Figure 3 Schematic diagram of the attack path in the present invention.

[0019] Figure numerals: 1 - a group of subject events with causal associations, 2 - a group of subject events with co-occurrence associations, 3 - a nested effective risk communication data attack time path. DETAILED DESCRIPTION

[0020] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only 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.

[0021] See also Figure 1 As shown, the present invention proposes a network data attack tracing method based on multi-dimensional features, including the following steps: S1, extracting the log files generated by the enterprise's historical communication data, and performing anomaly identification on them, thereby screening out risky communication data, and retrieving access records associated with the risky communication data.

[0022] It should be added that the communication mentioned in the present invention includes but is not limited to file communication (such as email), audio communication (such as voice call), and video communication (such as video call).

[0023] In the specific implementation of the above scheme, the screening of risk communication data is as follows: the generated log files are identified for anomalies, wherein the anomalies of the log files include but are not limited to abnormal data transmission speeds, abnormal data packet loss rates, and abnormal network connection states. Such anomalies largely indicate the attacker's attack activities. Furthermore, the anomaly identification of log files can specifically utilize text processing tools, scripts, or specialized log analysis tools to match and identify log files with defined anomaly types, thereby counting the proportion of log files with anomalies and comparing them with a set allowable threshold, wherein the allowable threshold is initially set for the purpose of assisting in the screening of risk communication data. If the proportion of log files with anomalies corresponding to a certain piece of historical communication data is greater than the allowable threshold, then the piece of historical communication data is used as risk communication data.

[0024] As an explanation of the above implementation scheme, the communication log file records various details of the communication activities, such as network connection, transmission rate, data packet loss and other information. Through the log file, the implementation details of the communication can be fully and reliably understood.

[0025] The present invention screens out risky communication data based on the proportion of abnormal log files in historical communication data, providing a more accurate attack tracing target for subsequent attack tracing. Compared with attack tracing for all historical communication data, this method is more targeted by narrowing the tracing scope and can improve analysis efficiency instead of wasting time and resources on a large number of normal communications.

[0026] S2. Count the number of access records associated with the risk communication data, and extract the access time, visitor account and access behavior from the access records, thereby analyzing the application demand of the risk communication data.

[0027] In the example of the above scheme, the access behavior refers to the specific access operation of the visitor to the communication data, such as viewing, downloading, forwarding, etc.

[0028] As a preferred implementation of the above scheme, the application requirements of risk communication data refer to the following analysis process: the visitor accounts of each access record in the access records associated with the risk communication data are compared, thereby removing duplicate visitor accounts, and counting the number of visitor accounts after removal of duplicates.

[0029] Divide the number of visitor accounts after deduplication by the total number of access records to obtain the visitor breadth corresponding to the risky communication data. The more consistent the number of visitor accounts after deduplication is with the total number of access records, the more likely it is that each access record has a unique visitor, which means that the visitor is more extensive, which to a large extent represents the greater visitor's demand for access to communication data.

[0030] The access behaviors of each access record in the access records associated with the risk communication data are compared, so that the access records corresponding to the same access behavior are classified, and the proportion of access records corresponding to each access behavior is counted.

[0031] The access record proportion corresponding to each access behavior is extracted at the maximum value, and then the maximum access record proportion is subtracted from the minimum access record proportion. The diversity of access behaviors corresponding to the risk communication data is calculated using an exponential function with two-fifths as the base and the difference result as the exponent. The smaller the difference between the maximum access record proportion and the minimum access record proportion, the more evenly the access records corresponding to different access behaviors are distributed, and the more diverse the access behaviors are.

[0032] The access times of adjacent access records in the access records associated with the risk communication data are compared to obtain the access interval durations of adjacent access records, and the average is calculated to obtain the average access interval duration. At the same time, the access time of the first access record and the last access record in the access records associated with the risk communication data are compared to obtain the access period duration corresponding to the access records associated with the risk communication data. Thus, the access frequency corresponding to the risk communication data is calculated using an exponential function with three-fifths as the base and the ratio of the average access interval duration to the access period duration as the exponent, where the shorter the access interval duration, the greater the access frequency.

[0033] The application demand index of risk communication data is obtained by weighted average calculation of visitor breadth, visit behavior diversity and visit frequency corresponding to risk communication data. In a specific example, the weight factors corresponding to visitor breadth, visit behavior diversity and visit frequency are 0.3, 0.2 and 0.5 respectively.

[0034] The present invention analyzes the application requirements of risk communication data from three perspectives: visitors, access behaviors, and access frequencies, and can improve the overall accuracy of the analysis results.

[0035] S3. After the risk communication data is stored, regular inspections and verifications are performed to obtain the verification results of each inspection, and then the original verification results recorded when the risk communication data was stored are compared and analyzed to analyze the storage originality of the risk communication data.

[0036] As a specific embodiment of the above scheme, the above-mentioned inspection verification can be verified by a hash algorithm, and the specific operation is as follows: use the hash algorithm to calculate the risk communication data, generate an original hash value, and store it together with the risk communication data.

[0037] After the risk communication data is stored, inspections are performed according to the set inspection interval, mainly using the same hash algorithm to calculate the hash value of the risk communication data.

[0038] The hash value calculated by the inspection is compared with the original hash value. If the two hash values ​​are consistent, the data integrity is not compromised and the data storage is original; if they are inconsistent, the data may be tampered or damaged.

[0039] It should be understood that the reason for using hash algorithms to conduct inspections and verifications on the storage originality of risk communication data is that hash algorithms provide a simple and effective way for administrators or auditors to verify the true originality of stored data at any time. This not only ensures the accuracy and reliability of the verification results, but also makes the implementation of inspections and verifications more convenient, which is conducive to improving the implementation efficiency of inspections and verifications.

[0040] As another specific embodiment of the above scheme, the storage originality of risk communication data is analyzed as follows: each inspection of risk communication data is numbered in order from the earliest to the latest inspection time, and the verification result of each inspection is compared with the original verification result, and the proportion of inspections with consistent comparison is counted as the proportion of security verification inspections, and the inspection numbers with consistent comparison are recorded.

[0041] Arrange the inspection numbers that match the comparison from small to large, extract the largest inspection number and the smallest inspection number, and then use the expression Obtain security inspection continuity , where , Respectively represent the maximum inspection number and the minimum inspection number. Indicates the number of inspections that are consistent with the comparison. Represents a natural constant.

[0042] The weighted average of the security verification inspection ratio and the security inspection duration is calculated to obtain the storage original index of the risk communication data. In the specific example implementation, the weight factors corresponding to the security verification inspection ratio and the security inspection duration are 0.6 and 0.4 respectively.

[0043] When the present invention uses a hash algorithm to perform inspection and verification on risk communication data, it analyzes the storage originality of the risk communication data from two perspectives: the proportion of security verification inspections and the continuity of security inspections. This can improve the comprehensiveness of the analysis results and ensure the reliability and credibility of the analysis results.

[0044] S4. Filter out effective risk communication data based on the application demand and storage originality of risk communication data. The specific screening process is: the application demand index and storage originality index of each risk communication data are expressed as follows: The use value of each risk communication data is obtained by statistics. , They respectively represent the application demand index and storage original index of risk communication data, among which the application demand index and storage original index both have a positive impact on the use value.

[0045] It is important to know that application requirements reflect the importance of risk communication data during use, and storage originality reflects the integrity and security of risk communication data. By screening risk communication data that meets the attack tracing requirements from the two levels of application requirements and storage originality, the attack tracing requirements can be effectively supported, so that the communication data based on the attack tracing has greater security and credibility on the one hand, thereby improving the accuracy of attack tracing. On the other hand, it has greater application requirements and can concentrate energy and resources on data that are of substantial help to attack tracing, thereby improving the efficiency and effectiveness of attack tracing.

[0046] Arrange each piece of risk communication data in descending order according to the use value to obtain an arrangement result of the risk communication data.

[0047] The required communication data quantity based on attack tracing is selected from the arrangement results of risk communication data that meets the required communication data quantity as effective risk communication data.

[0048] It is important to understand that the accuracy of attack tracing results depends largely on obtaining enough communication data to build a complete attack path and event chain. If the amount of data is too small, it may not cover the full picture of the attack activity, resulting in incomplete or misleading analysis results. Therefore, by setting the required number of communication data for attack tracing and selecting risk communication data that meets the required number from the arrangement results of risk communication data, the adverse effects of insufficient communication data on tracing results can be avoided.

[0049] Furthermore, the amount of communication data required for the above-mentioned attack tracing can be set according to the practice records of historical attack tracing.

[0050] S5. Extract attack features from the screened valid risk communication data, where attack features include attack tools, attack data types, and attack network traffic patterns. Then, classify the valid risk communication data corresponding to the same attack features to obtain a set of valid risk communication data corresponding to each type of attack. At the same time, extract subject events and timestamps from the screened valid risk communication data, and perform event correlation analysis to form an event correlation link.

[0051] It should be explained that an attack tool refers to a software or hardware tool used by an attacker to launch a network attack. For example, an attack tool may be a scanning tool, a vulnerability exploitation tool, a password cracking tool, etc.

[0052] The attack data type refers to the specific data that is attacked during a communication data attack. The communication data contains multiple metadata such as the sender, receiver, timestamp, and communication subject.

[0053] Network traffic patterns refer to the specific patterns or characteristics of data packets during transmission in a computer network. When attackers conduct network data attacks, they usually use specific network traffic patterns to carry out attacks. These patterns may be different from normal network traffic patterns, which help them hide their activities or achieve the purpose of the attack. As a specific example, the network traffic patterns that attackers may exploit include the following: 1. Burst traffic: Attackers may create a large amount of burst traffic at the beginning of an attack to confuse the network monitoring system or exceed the capacity of network equipment, resulting in denial of service or distributed denial of service attacks. 2. Asymmetric traffic: Some attacks may cause asymmetric data transmission, such as a large amount of upload traffic (such as in data leakage or theft of sensitive information), or a large amount of download traffic (such as downloading malware or command control files in remote control attacks). 3. Encrypted traffic: Attackers often use encryption technology to hide the content of their communications, making it difficult for network monitoring to analyze the specific details and data content of the attack, thereby increasing the difficulty of detection and defense.

[0054] It is important to understand that attack features such as attack tools, attack data types, and attack network traffic patterns represent multiple aspects of an attack. Attackers may use different tools to attack, attack specific data, and leave specific traffic patterns on the network. By comprehensively analyzing these features, more comprehensive and diverse information about attack activities can be obtained, thereby improving the understanding and detection capabilities of attacks.

[0055] The present invention identifies attackers by using attack features from three dimensions: attack tools, attack data types, and attack network traffic patterns, which can more comprehensively analyze and understand the nature and methods of attacks. This multi-dimensional analysis does not focus on IP addresses, because attackers often use various technical means to hide their real IP addresses or disguise IP addresses. Direct reliance on IP addresses may lead to misjudgment or inability to accurately track the real source of attacks. Instead, by covering the behavioral characteristics of attacks, it helps to identify more complex and covert attack activities, more effectively bypass these IP address disguise and forwarding technologies, and improve the comprehensiveness and accuracy of attacker identification.

[0056] Preferably, the valid risk communication data corresponding to the same attack feature are classified as follows: each attack feature corresponding to each valid risk communication data is clustered and analyzed, and then the valid risk communication data corresponding to the same attack feature are formed into a communication data set, thereby obtaining a number of communication data sets corresponding to each attack feature, and the communication data sets are numbered.

[0057] According to the numbering order, communication data sets are extracted in sequence from several communication data sets corresponding to each attack feature as the main communication data sets corresponding to each attack feature, and then the main communication data sets corresponding to each attack feature are subjected to intersection operation, and then the intersection operation result is used as the effective risk communication data set corresponding to each type of attack.

[0058] It should be pointed out that the various types of attacks mentioned above refer to various attackers and attacking parties. Generally speaking, the same attacker will usually exhibit certain attack habits and attack preferences. Therefore, the attack characteristics of the same attacker are highly consistent.

[0059] It should be further pointed out that not all valid risk communication data that have been screened out can extract attack features. This is because the anomaly ratio based on log files can only indicate the attacker's attack activities, but does not necessarily mean that the data has been attacked. When a piece of valid risk communication data fails to extract attack features, it may mean that the data has been attacked. In this case, the valid risk communication data should be eliminated. When the number of communication data after elimination cannot meet the attack tracing requirements, it is necessary to continue extracting from the arrangement results of the risk communication data.

[0060] Further preferably, the event association analysis is performed as follows: the subject events in each valid risk communication data are compared, and then the valid risk communication data corresponding to the same subject event are summarized to form a number of valid risk communication data corresponding to each subject event.

[0061] It should be added that the subject events of enterprise communication data are specific events or topics that can be identified and analyzed by analyzing communication data during the process of internal or external interactions of the enterprise. These events or topics usually involve the business operations, marketing activities, customer exchanges, internal communications, etc. of the enterprise.

[0062] Combine each theme event in pairs to form several theme event groups.

[0063] Exemplarily, the existing subject events are A, B, C, D, and E. The subject event groups formed in this example are (A, B), (A, C), (A, D), (A, E), (B, C), (B, D) (B, E), (C, D), (C, E), and (D, E).

[0064] A number of valid risk communication data corresponding to each theme event are formed into a time series corresponding to each theme event according to the timestamp of the communication data.

[0065] The time series corresponding to the two theme events in each theme event group are subjected to causal test to screen out theme event groups with causal relationship.

[0066] As an implementation example of the above scheme, causality test is a method that uses statistical methods to infer whether one variable causally affects another variable. Specifically, the Granger causality test method can be used, which is applicable to time series data. Its basic principle is to judge the causal relationship between two variables by comparing their predictive abilities.

[0067] The timestamps existing in the corresponding time series of two subject events in each subject event group are compared pairwise, and the proportion of communication data with consistent timestamps is counted.

[0068] The proportion of communication data with consistent timestamps in each subject event group is compared with the set effective proportion. Exemplarily, the effective proportion is 0.8, and subject event groups with a proportion greater than or equal to the effective proportion are selected as subject event groups with co-occurrence associations.

[0069] The present invention analyzes the association between effective risk communication data and corresponding subject events from the two dimensions of causal association and co-occurrence association, which helps to deeply understand the hidden relationships and patterns in the data, provides multi-angle association, and thus provides a full and comprehensive association relationship for the construction of event association links.

[0070] Still more preferably, see Figure 2 As shown, the construction of the event association link is as follows: the subject event existing in the subject event group with causal association is taken as a node, and several event causal links are formed in the order from cause to effect.

[0071] In the example of the above scheme, assuming that the subject event groups with causal relationship are (A, B), (B, D), (D, E), then the event causal link formed is A→B→D→E.

[0072] Based on the theme event group with co-occurrence association, the node where the corresponding theme event is located is located in the constructed event causal chain, thereby connecting the theme events with common association with it in parallel at this node to form several event association chains.

[0073] The present invention classifies the screened effective risk communication data according to attack characteristics and simultaneously performs event correlation analysis on the effective risk communication data, which can improve the construction efficiency and save time cost for the subsequent construction of attack paths corresponding to various types of attacks.

[0074] S6. Extract the subject events and timestamps of each valid risk communication data from the valid risk communication data set corresponding to each type of attack, and combine them with the event association link to predict the attack path corresponding to each type of attack. The specific prediction is as follows: extract the subject events of each valid risk communication data from the valid risk communication data set corresponding to each type of attack, and classify the valid risk communication data belonging to the same subject event, and summarize the subject events involved in each type of attack.

[0075] The subject events involved in each type of attack are compared with the formed event association links, and the event association links corresponding to each type of attack are intercepted.

[0076] In the event association links corresponding to various attacks, nodes are nested based on the valid risk communication data classified by the same subject event to form attack paths corresponding to various attacks. In the specific implementation, node nesting is to arrange the valid risk communication data classified by the same subject event in the order of timestamps to form an attack time path for the valid risk communication data corresponding to each subject event, see Figure 3 shown.

[0077] The node where each subject event is located is located in the event association link corresponding to each type of attack, and then the attack time path of the effective risk communication data corresponding to each subject event is nested in the corresponding node.

[0078] The present invention adopts the communication subject event association method when tracing the attack source of the screened effective risk communication data, which can more comprehensively understand the evolution of the attack event and the attacker's operating ideas. Compared with relying on IP addresses for association, this association method can provide richer and deeper attack tracing, helping enterprises to more accurately understand and respond to complex security threats, thereby effectively protecting the security of their communication data.

[0079] In the further innovation of the above scheme, after predicting the attack paths corresponding to various attacks, the lengths of the attack paths corresponding to various attacks are counted to rank the risks of various attacks. The specific implementation is as follows: the lengths of the attack paths corresponding to various attacks are arranged in order from large to small to obtain the risk ranking of various attacks.

[0080] It should be added that the attack path length may be the number of nodes passed through in the attack path.

[0081] The present invention can prioritize and respond to attackers with longer attack paths by ranking the risks of attackers who have attacked the historical communication data of an enterprise according to the length of the attack path. The length of the attack path may reflect the attacker's ability to deeply penetrate and persist in the communication data. A longer attack path usually means that the attacker has obtained more permissions within the system or has deeper access to key resources. Therefore, prioritizing these attackers can reduce the potential risk of data leakage, system damage or service interruption.

[0082] The above contents are merely examples and explanations of the structure of the present invention. The technicians in this technical field may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the structure of the invention or exceed the scope defined by the present invention, they should all fall within the protection scope of the present invention.

Claims

1. A network data attack tracing method based on multi-dimensional features, It is characterized in that The following steps are involved: S1. Extract the log files generated by the enterprise's historical communication data and identify anomalies thereon, thereby screening out risky communication data and retrieving access records associated with the risky communication data; S2. Count the number of access records associated with the risk communication data, and extract the access time, visitor account and access behavior from the access records, thereby analyzing the application demand of the risk communication data; S3. After the risk communication data is stored, regular inspections and verifications are performed to obtain the verification results of each inspection, and then the original verification results recorded when the risk communication data is stored are compared to analyze the storage originality of the risk communication data; S4. Filter out effective risk communication data based on the application requirements and storage originality of risk communication data; S5. Extract attack features from the selected valid risk communication data, where the attack features include attack tools, attack data types, and attack network traffic patterns. Then, classify the valid risk communication data corresponding to the same attack features to obtain a set of valid risk communication data corresponding to each type of attack. At the same time, extract subject events and timestamps from the selected valid risk communication data, thereby performing event correlation analysis to form an event correlation link. S6. Extract the subject events and timestamps of each valid risk communication data from the valid risk communication data set corresponding to each type of attack, and combine them with the event association link to predict the attack path corresponding to each type of attack; The application requirements for analyzing risk communication data are shown in the following analysis process: Compare the visitor accounts of each access record in the access records associated with the risk communication data, thereby removing duplicate visitor accounts, and counting the number of visitor accounts after removing duplicates; Divide the number of visitor accounts after deduplication by the total number of access records to obtain the visitor breadth corresponding to the risk communication data; Compare the access behaviors of each access record in the access records associated with the risk communication data, thereby classifying the access records corresponding to the same access behavior, and count the proportion of access records corresponding to each access behavior; The access record proportion corresponding to each access behavior is extracted, and then the maximum access record proportion is subtracted from the minimum access record proportion. The diversity of access behaviors corresponding to the risk communication data is calculated using an exponential function with two-fifths as the base and the result of the subtraction as the exponent. The access times of adjacent access records in the access records associated with the risk communication data are compared to obtain the access intervals between adjacent access records, and the average is calculated to obtain the average access interval. At the same time, the access time of the first access record and the last access record in the access records associated with the risk communication data are compared to obtain the access period duration corresponding to the access records associated with the risk communication data. Thus, the access frequency corresponding to the risk communication data is calculated using an exponential function with three fifths as the base and the ratio of the average access interval duration to the access period duration as the exponent; The application demand index of risk communication data is obtained by performing weighted average calculation on visitor breadth, visit behavior diversity and visit frequency corresponding to risk communication data; The process of analyzing the storage originality of risk communication data is as follows: Number each inspection of risk communication data in order of inspection time from the earliest to the latest, and compare the verification result of each inspection with the original verification result. Count the percentage of inspections with consistent comparisons as the percentage of safety verification inspections, and record the inspection numbers with consistent comparisons. Arrange the inspection numbers that match the comparison from small to large, extract the largest inspection number and the smallest inspection number, and then use the expression Obtain the continuity of safety inspections , where , Respectively represent the maximum inspection number and the minimum inspection number. Indicates the number of inspections that are consistent with the comparison. represents a natural constant; The weighted average of the safety verification inspection ratio and the safety inspection duration is calculated to obtain the original storage index of risk communication data; The screening process for effective risk communication data is as follows: The application demand index and storage original index of each risk communication data are expressed as The use value of each risk communication data is obtained by statistics. , They represent the application demand index and storage raw index of risk communication data respectively; Arrange each piece of risk communication data in descending order of use value to obtain an arrangement result of the risk communication data; The required communication data quantity based on attack tracing is selected from the arrangement results of risk communication data that meets the required communication data quantity as effective risk communication data.

2. A network data attack tracing method based on multi-dimensional features as claimed in claim 1, Features: The classification of valid risk communication data corresponding to the same attack characteristics is implemented as follows: Perform cluster analysis on each attack feature corresponding to each valid risk communication data, and then form a communication data set with the valid risk communication data corresponding to the same attack feature, thereby obtaining a number of communication data sets corresponding to each attack feature, and numbering the communication data sets; According to the numbering order, communication data sets are extracted in sequence from several communication data sets corresponding to each attack feature as the main communication data sets corresponding to each attack feature, and then the main communication data sets corresponding to each attack feature are subjected to intersection operation, and then the intersection operation result is used as the effective risk communication data set corresponding to each type of attack.

3. A network data attack tracing method based on multi-dimensional features as claimed in claim 1, Features: The event correlation analysis process is as follows: Compare the subject events in each valid risk communication data, and then aggregate the valid risk communication data corresponding to the same subject event to form a number of valid risk communication data corresponding to each subject event; Combine each theme event in pairs to form several theme event groups; The valid risk communication data corresponding to each theme event are formed into a time series corresponding to each theme event according to the timestamp of the communication data; Conduct causal tests on the time series corresponding to the two theme events in each theme event group, and select theme event groups with causal relationships; The timestamps existing in the corresponding time series of two subject events in each subject event group are compared in pairs, and the proportion of communication data with the same timestamp is counted; The proportion of communication data with consistent timestamps in each subject event group is compared with the set effective proportion, and the subject event group with a proportion greater than or equal to the effective proportion is selected as the subject event group with co-occurrence association.

4. A network data attack tracing method based on multi-dimensional features as claimed in claim 3, Features: The event association link is constructed as follows: The subject event in the subject event group with causal relationship is taken as a node, and several event causal links are formed in the order from cause to effect; Based on the theme event group with co-occurrence association, the node where the corresponding theme event is located in the constructed event causal chain is located, thereby connecting the theme events with common association with it in parallel at this node to form several event association chains.

5. A network data attack tracing method based on multi-dimensional features as claimed in claim 4, Features: The attack paths corresponding to the various attacks are predicted as follows: Extract the subject events of each valid risk communication data from the valid risk communication data set corresponding to each type of attack, classify the valid risk communication data belonging to the same subject event, and summarize the subject events involved in each type of attack; Compare the subject events involved in each type of attack with the formed event association links, and extract the event association links corresponding to each type of attack; In the event association links corresponding to various types of attacks, nodes are nested based on the effective risk communication data classified based on the same subject event to form attack paths corresponding to various types of attacks.

6. A network data attack tracing method based on multi-dimensional features as claimed in claim 5, Features: The node nesting is implemented based on the valid risk communication data classified by the same subject event in the event association link corresponding to each type of attack as follows: Arrange the valid risk communication data classified under the same subject event in the order of timestamps to form an attack time path of the valid risk communication data corresponding to each subject event; The node where each subject event is located is located in the event association link corresponding to each type of attack, and then the attack time path of the effective risk communication data corresponding to each subject event is nested in the corresponding node.

7. A network data attack tracing method based on multi-dimensional features as claimed in claim 1, Features: After predicting the attack paths corresponding to various attacks, the lengths of the attack paths corresponding to various attacks are counted to rank the risks of various attacks.