Comprehensive analysis and tracing method and device for industrial control network attack events
Through semi-supervised clustering algorithm and spectral clustering algorithm, combined with convolutional neural recurrent network, the characteristics of industrial control network traffic data are extracted, which solves the problem of insufficient traceability and operability of industrial control network attack traceability in the existing technology, and achieves more accurate Attack event source tracing and network security monitoring.
Patent Information
- Application Number
- CN202410832685.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-06-26
AI Technical Summary
Existing industrial control network attack source tracing methods have low analysis accuracy and insufficient operability, making it difficult to promote and apply them in actual environments. Especially in the case of forged source IP address attacks and springboard attacks, the real attacker is hidden.
A semi-supervised clustering algorithm is used to extract protocol information features by obtaining historical industrial control network traffic data packets. The spectral clustering algorithm and convolutional neural recurrent network are used for feature extraction and uncertainty sampling to construct a semi-supervised feature data set and constrain it. Clustering is used to determine the industrial control system data packet analysis model, and the matching of traffic data and fingerprint characteristics is determined for traceability analysis.
It improves the traceability accuracy and operability of industrial control network attacks, can more accurately identify and track the source of attacks, and enhances network security monitoring and early warning capabilities.
Smart Images

Figure CN118381682B
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing, and in particular to a method and device for comprehensive analysis and tracing of industrial control network attack events. Background Art
[0002] Industrial Control Systems (ICS) are often used to monitor and control equipment and machinery in industrial production processes. Since ICS networks are often involved in critical infrastructure such as electricity, water, oil and gas, and transportation, they are vital to information security and economic operations. Therefore, ICS network attacks can have serious consequences.
[0003] In industrial control network attack incidents, tracing the source of industrial control network attacks is an important link. At present, the mainstream method for tracing the source of industrial control network attacks is to collect abnormal data through probes, conduct in-depth analysis of the abnormal data to find attack evidence, and combine the attack data to conduct IP tracking, domain name analysis and external threat intelligence analysis to determine the source of the attack.
[0004] However, the current prevalent attack methods such as forged source IP address attacks and attacks using jump servers (also known as "zombies", puppet machines, zombie hosts, etc.) hide the real attackers, which brings great challenges to the tracing of industrial control network attack incidents. For this reason, some scholars have proposed attack tracing methods such as packet tag analysis tracing method, sending specific ICMP analysis tracing method, and link test analysis tracing method. However, these methods generally have problems such as low analysis and tracing accuracy and poor operability, and are difficult to promote and apply in actual industrial control network environments. Summary of the invention
[0005] In response to the problems in the prior art, the present application provides a method and device for comprehensive analysis and tracing of industrial control network attack events, which can perform comprehensive analysis and tracing of attack events based on a semi-supervised clustering algorithm, thereby improving the accuracy and operability of tracing the attack events of industrial control network.
[0006] In order to solve at least one of the above problems, the present application provides the following technical solutions:
[0007] In a first aspect, the present application provides a method for comprehensive analysis and tracing of industrial control network attack events, including:
[0008] Acquire historical industrial control network traffic data packets, perform feature extraction operations on protocol information in the historical industrial control network traffic data packets according to preset protocol analysis rules, and determine a corresponding fingerprint feature database according to fingerprint features obtained after the feature extraction operation, wherein the fingerprint features include at least one of a specific field, a byte sequence, and statistical information;
[0009] According to the historical industrial control network traffic data packets and a preset spectral clustering algorithm, a corresponding initialization clustering center is determined, the historical industrial control network traffic data packets are input into a preset convolutional neural recurrent network for feature extraction, uncertainty sampling operations and information density sampling operations are performed according to the first feature after the feature extraction operation to determine the corresponding feature sample, according to the feature sample and a preset feature labeling rule, a corresponding second feature is determined according to the first feature and the second feature, a corresponding semi-supervised feature data set is determined according to the first feature and the second feature, a constrained clustering operation is performed on the initialization clustering center according to the semi-supervised feature data set, parameters of the preset spectral clustering algorithm are updated according to the optimized clustering center obtained after the constrained clustering operation, and a corresponding industrial control system data message analysis model is determined.
[0010] Receive industrial control network traffic data, determine whether the industrial control network traffic data matches the fingerprint feature in the fingerprint feature database, and if so, output a first analysis result corresponding to the fingerprint feature and perform a comprehensive analysis and tracing operation; otherwise, input the industrial control network traffic data into the industrial control system data message analysis model, obtain a second analysis result output by the industrial control system data message analysis model, and perform a comprehensive analysis and tracing operation.
[0011] Furthermore, the step of determining a fingerprint feature database based on the fingerprint features obtained after the feature extraction operation includes:
[0012] Perform a labeling operation on the fingerprint features obtained after the feature extraction operation according to a preset labeling rule to obtain corresponding label information, and determine a corresponding traffic sample library according to the fingerprint features and the label information;
[0013] Perform data clustering and data classification operations on the traffic sample library to determine a corresponding fingerprint feature database.
[0014] Furthermore, the determining of the corresponding initialization cluster center according to the historical industrial control network traffic data packets and a preset spectral clustering algorithm includes:
[0015] Performing data standardization and data normalization operations on the historical industrial control network traffic data packets to determine corresponding pre-processed data;
[0016] Performing a similarity matrix construction operation according to the preprocessed data, and determining a corresponding degree matrix according to the similarity obtained after the similarity matrix construction operation;
[0017] A corresponding eigenvector matrix is determined according to the degree matrix and the similarity, and a corresponding initialized cluster center is determined according to the eigenvector matrix.
[0018] Furthermore, performing an uncertainty sampling operation and an information density sampling operation according to the first feature after the feature extraction operation to determine a corresponding feature sample includes:
[0019] Performing an uncertainty sampling operation on the first feature after the feature extraction operation to determine a corresponding most uncertain sample;
[0020] Performing an information density sampling operation according to the first feature after the feature extraction operation to determine a corresponding high-density area sample;
[0021] A corresponding feature sample is determined according to the most uncertain sample and the high-density area sample.
[0022] Further, the constrained clustering operation is performed on the initialized cluster center according to the semi-supervised feature data set, and the parameters of the preset spectral clustering algorithm are updated according to the optimized cluster center obtained after the constrained clustering operation to determine the corresponding industrial control system data message analysis model, including:
[0023] Performing a similarity matrix construction operation and a feature vector decomposition operation on the semi-supervised feature data set to determine a corresponding semi-supervised feature vector;
[0024] Performing a hard constraint operation on the initialized cluster center according to the semi-supervised feature vector to determine a corresponding optimized cluster center;
[0025] The parameters of the preset spectral clustering algorithm are adjusted according to the optimized cluster center to determine the corresponding industrial control system data message analysis model.
[0026] Further, the receiving of industrial control network traffic data, determining whether the industrial control network traffic data matches the fingerprint feature in the fingerprint feature database, and if so, outputting a first analysis result corresponding to the fingerprint feature and performing a comprehensive analysis and tracing operation, includes:
[0027] Receiving industrial control network traffic data, and determining whether the industrial control network traffic data matches the fingerprint feature in the fingerprint feature database according to a preset hash matching algorithm;
[0028] If so, a first analysis result corresponding to the fingerprint feature is output and a comprehensive analysis and tracing operation is performed, wherein the first analysis result includes at least one of a protocol type of traffic data, a normal behavior label, and an abnormal behavior label.
[0029] Furthermore, performing data clustering and data classification operations on the traffic sample library to determine a corresponding fingerprint feature database includes:
[0030] Performing data clustering operations according to the traffic sample library and a preset spectral clustering algorithm to determine corresponding traffic clustering features;
[0031] Perform data classification operations according to the traffic sample library, the label information, and a preset support vector machine classification algorithm to determine corresponding traffic classification features;
[0032] Feature validity verification is performed according to the traffic clustering feature and the traffic classification feature, and a corresponding fingerprint feature database is determined according to the optimal fingerprint feature that has undergone the feature validity verification.
[0033] In a second aspect, the present application provides a device for comprehensive analysis and tracing of industrial control network attack events, including:
[0034] A fingerprint feature database determination module is used to obtain historical industrial control network traffic data packets, perform feature extraction operations on protocol information in the historical industrial control network traffic data packets according to preset protocol analysis rules, and determine a fingerprint feature database according to fingerprint features obtained after the feature extraction operation, wherein the fingerprint features include at least one of a specific field, a byte sequence, and statistical information;
[0035] The industrial control system data message analysis model determination module is used to determine the corresponding initialization clustering center according to the historical industrial control network traffic data packets and a preset spectral clustering algorithm, input the historical industrial control network traffic data packets into a preset convolutional neural recurrent network for feature extraction, perform uncertainty sampling operations and information density sampling operations according to the first feature after the feature extraction operation, determine the corresponding feature sample, determine the corresponding second feature according to the feature sample and a preset feature labeling rule, determine the corresponding semi-supervised feature data set according to the first feature and the second feature, perform a constrained clustering operation on the initialization clustering center according to the semi-supervised feature data set, update the parameters of the spectral clustering algorithm according to the optimized clustering center obtained after the constrained clustering operation, and determine the corresponding industrial control system data message analysis model.
[0036] The comprehensive analysis and tracing module is used to receive industrial control network traffic data, determine whether the industrial control network traffic data matches the fingerprint feature in the fingerprint feature database, and if so, output a first analysis result corresponding to the fingerprint feature; otherwise, input the industrial control network traffic data into the industrial control system data message analysis model to obtain a second analysis result output by the industrial control system data message analysis model, and perform a comprehensive analysis and tracing operation based on the first analysis result and the second analysis result.
[0037] In a third aspect, the present application provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method for comprehensive analysis and tracing of industrial control network attack incidents when executing the program.
[0038] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method for comprehensive analysis and tracing of industrial control network attack events.
[0039] In a fifth aspect, the present application provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps of the method for comprehensive analysis and tracing of industrial control network attack incidents.
[0040] It can be seen from the above technical solution that the present application provides a method and device for comprehensive analysis and tracing of industrial control network attack events, which extracts features from protocol information in industrial control network traffic data through preset protocol analysis rules, determines the initial cluster center according to the spectral clustering algorithm, inputs the industrial control network traffic data into a preset convolutional neural recurrent network for uncertainty sampling operations and information density sampling operations, determines a semi-supervised feature data set and performs a constrained clustering operation on the initial cluster center, and determines the corresponding industrial control system data message analysis model. It is determined whether the industrial control network traffic data matches the fingerprint feature in the fingerprint feature database. If so, the first analysis result is output for tracing operation, otherwise, the second analysis result is output and a comprehensive analysis and tracing operation is performed, thereby being able to perform comprehensive analysis and tracing of attack events based on the semi-supervised clustering algorithm, and improving the accuracy and operability of tracing the industrial control network attack events. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0042] Figure 1 This is one of the flow charts of the method for comprehensive analysis and tracing of industrial control network attack events in the embodiment of the present application;
[0043] Figure 2 The second flowchart of the method for comprehensive analysis and tracing of industrial control network attack events in the embodiment of the present application;
[0044] Figure 3 The third flowchart of the method for comprehensive analysis and tracing of industrial control network attack events in the embodiment of the present application;
[0045] Figure 4 This is a fourth flow chart of a method for comprehensive analysis and tracing of industrial control network attack events in an embodiment of the present application;
[0046] Figure 5 This is a flowchart of a method for comprehensive analysis and tracing of industrial control network attack events in an embodiment of the present application;
[0047] Figure 6 This is a sixth flow chart of a comprehensive analysis and tracing method for industrial control network attack events in an embodiment of the present application;
[0048] Figure 7 FIG7 is a flow chart of a method for comprehensive analysis and tracing of industrial control network attack events in an embodiment of the present application;
[0049] Figure 8 A structural diagram of a device for comprehensive analysis and tracing of industrial control network attack events in an embodiment of the present application;
[0050] Fig. 9 It is a schematic diagram of the structure of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0052] The acquisition, storage, use, and processing of data in the technical solution of this application comply with the relevant provisions of national laws and regulations.
[0053] Considering the current prevalence of forged source IP address attacks, attacks using jump servers, and other attack methods, the real attackers are hidden, which brings great challenges to the tracing of industrial control network attack events. The current attack tracing methods generally have low analysis and tracing accuracy, low operability, and are difficult to promote and apply in actual industrial control network environments. The present application provides a comprehensive analysis and tracing method and device for industrial control network attack events, which extracts features from protocol information in industrial control network traffic data through preset protocol analysis rules, determines the initialization clustering center according to the spectral clustering algorithm, inputs the industrial control network traffic data into a preset convolutional neural recurrent network for uncertainty sampling operations and information density sampling operations, determines a semi-supervised feature data set and performs a constrained clustering operation on the initialization clustering center, and determines the corresponding industrial control system data message analysis model. It is determined whether the industrial control network traffic data matches the fingerprint feature in the fingerprint feature database. If so, the first analysis result is output for tracing operation, otherwise, the second analysis result is output and a comprehensive analysis and tracing operation is performed, thereby being able to perform comprehensive analysis and tracing of attack events based on the semi-supervised clustering algorithm, and improving the accuracy and operability of tracing the industrial control network attack event.
[0054] In order to perform comprehensive analysis and tracing of attack events based on a semi-supervised clustering algorithm and improve the accuracy and operability of tracing the source of industrial control network attack events, the present application provides an embodiment of a comprehensive analysis and tracing method for industrial control network attack events, see Figure 1 The comprehensive analysis and tracing method of industrial control network attack incidents specifically includes the following contents:
[0055] Step S101: obtaining a historical industrial control network traffic data packet, performing a feature extraction operation on the protocol information in the historical industrial control network traffic data packet according to a preset protocol analysis rule, and determining a corresponding fingerprint feature database according to the fingerprint feature obtained after the feature extraction operation, wherein the fingerprint feature includes at least one of a specific field, a byte sequence, and statistical information;
[0056] Optionally, in this embodiment, a feature extraction operation is performed on the protocol information in the historical industrial control network traffic data packet according to a preset protocol analysis rule, wherein the preset protocol includes at least one of ModbusTCP, ProfiNet, EtherNet / IP and S7. It is understandable that by adopting these protocols, the system can identify the communication modes of these protocols according to the preset protocol analysis rules, and analyze the communication behavior to detect abnormal activities.
[0057] Optionally, in this embodiment, the preset protocol analysis rules include:
[0058] 1. Decode the captured data packets and convert the raw binary data into a readable format.
[0059] 2. By analyzing the header information of the data packet, such as the source address, destination address, port number, etc., preliminarily identify the protocol type to which the data packet belongs.
[0060] 3. For each identified protocol, extract its key fields, such as the port number of TCP / UDP, the TTL (Time to Live) value of the IP packet, the URL of the HTTP request, etc.
[0061] 4. Analyze the payload in the protocol data packet and extract at least one of a specific field, a byte sequence, and statistical information.
[0062] It can be understood that in this embodiment, fingerprint features of each protocol are formed based on the extracted fields, byte sequences and statistical information. The fingerprint features are unique and identifiable to facilitate distinguishing different protocol traffic. These fingerprint features will serve as the key basis for distinguishing different protocol traffic.
[0063] Optionally, in this embodiment, a fingerprint feature database is established based on the fingerprint features, and the fingerprint feature database adopts efficient data storage and indexing technology to achieve fast query and matching of fingerprint features. At the same time, combined with machine learning and other technologies, fingerprint features are clustered, classified and other operations are performed to improve the accuracy and efficiency of anomaly detection.
[0064] It is understandable that this step provides a fingerprint feature database for data analysis and data comparison of the captured industrial control network traffic data, and the fingerprint feature database includes but is not limited to previous abnormal traffic information. By collecting network traffic data in real time and comparing it with the fingerprint feature database, it is possible to detect whether there is abnormal traffic. Once abnormal traffic is found, an alarm mechanism is immediately triggered to notify the management personnel to handle it.
[0065] Step S102: determining a corresponding initialization clustering center according to the historical industrial control network traffic data packets and a preset spectral clustering algorithm, inputting the historical industrial control network traffic data packets into a preset convolutional neural recurrent network for feature extraction, performing uncertainty sampling operations and information density sampling operations according to the first feature after the feature extraction operation, determining a corresponding feature sample, determining a corresponding second feature according to the feature sample and a preset feature annotation rule, determining a corresponding semi-supervised feature data set according to the first feature and the second feature, performing a constrained clustering operation on the initialization clustering center according to the semi-supervised feature data set, updating the parameters of the preset spectral clustering algorithm according to the optimized clustering center obtained after the constrained clustering operation, and determining a corresponding industrial control system data message analysis model;
[0066] Optionally, in this embodiment, spectral clustering is a clustering method based on graph theory, which uses the similarity between data points to construct a similarity graph and determines the cluster center by analyzing the spectral characteristics of the graph.
[0067] Optionally, in this embodiment, the uncertainty sampling operation is to select those samples that the model predicts are the most uncertain. In the classification task training, the model's category judgment for some samples is very close, that is, the classification probability distribution is close to a uniform distribution. In this case, the model cannot determine the true category of these samples, so they are considered to be samples with higher uncertainty.
[0068] The implementation methods of uncertainty sampling include but are not limited to:
[0069] 1. Prediction probability: For each sample, calculate the class probability distribution predicted by the model. Select those samples whose probability distribution is closest to the uniform distribution.
[0070] 2. Confidence interval: Calculate the confidence interval for each sample prediction. Select those samples with the widest confidence intervals, indicating that the model is most uncertain about the predictions for these samples.
[0071] 3. Entropy: Use the concept of entropy to quantify the uncertainty of the sample. The higher the entropy, the greater the uncertainty of the sample.
[0072] It is understandable that uncertainty sampling can help the model learn those samples that are difficult to classify, thereby improving the generalization ability of the model.
[0073] Optionally, in this embodiment, information density sampling is to select samples that contain the most information, and most of these samples are located in the boundary area of the data distribution because they provide more information about the data distribution.
[0074] The implementation methods of information density sampling include but are not limited to:
[0075] 1. Boundary samples: Select samples that are near the decision boundaries of different categories. These samples can help the model better understand the boundaries between different categories.
[0076] 2. Density estimation: Use density estimation techniques (such as kernel density estimation) to determine the density of the samples. Select samples that are located in low-density areas because the samples in these areas provide more information about the data distribution.
[0077] 3. Cluster analysis: Determine the distribution of samples through cluster analysis and select those samples located at the cluster boundary or cluster center.
[0078] It is understandable that information density sampling can help the model learn the details of the data distribution, especially in the marginal areas of the data distribution, which usually contain more information.
[0079] Optionally, in this embodiment, uncertainty sampling and information density sampling are used in combination to select feature samples that have both high uncertainty and rich information. This combination can more effectively utilize limited annotated data and improve the performance of the semi-supervised learning model.
[0080] It is understandable that through these two sampling strategies, the model can focus more on those samples that are most helpful in improving performance, thereby achieving better learning effects with limited labeled data.
[0081] Optionally, in this embodiment, the preset feature labeling rule is an active learning strategy introduced in the clustering algorithm, which selects unlabeled samples that have a greater impact on the clustering results for manual labeling to generate new labeled data. Active learning is a strategy that allows the algorithm to actively select data samples that need to be labeled for manual labeling, thereby effectively reducing the cost of manual labeling. In the semi-supervised clustering algorithm, the introduction of active learning can enable the algorithm to more intelligently select those unlabeled samples that have a greater impact on the clustering results for labeling, thereby improving the accuracy of clustering.
[0082] It can be understood that the first feature is the feature extracted from the historical industrial control traffic network data, and the second feature is obtained by collecting the most uncertain and dense information in the first feature and actively learning and labeling it. The second feature obtained in this way is used to constrain training and optimize clustering results.
[0083] Optionally, in this embodiment, the new active learning labeled data and the features extracted by deep learning are combined into a semi-supervised data set for training the spectral clustering algorithm model. Semi-supervised learning combines labeled and unlabeled data to improve the performance of the model with limited labeled data.
[0084] Optionally, in this embodiment, the constrained clustering operation is performed on the initialized cluster centers using the semi-supervised feature data set, which is an operation to adjust the cluster centers so that they are more consistent with the distribution of the feature data set. Updating the parameters of the preset spectral clustering algorithm based on the optimized cluster centers obtained after the constrained clustering operation helps to improve the performance of the clustering algorithm.
[0085] It can be understood that this step combines three technologies, namely spectral clustering, deep learning and active learning, to obtain an industrial control system data message analysis model, which can be used to analyze and identify network traffic patterns in industrial control systems in real time to facilitate the detection of abnormal behaviors or potential security threats.
[0086] Step S103: Receive industrial control network traffic data, and determine whether the industrial control network traffic data matches the fingerprint feature in the fingerprint feature database. If so, output a first analysis result corresponding to the fingerprint feature and perform a comprehensive analysis and tracing operation. Otherwise, input the industrial control network traffic data into the industrial control system data message analysis model, obtain a second analysis result output by the industrial control system data message analysis model, and perform a comprehensive analysis and tracing operation.
[0087] Optionally, in this embodiment, the system needs to receive real-time traffic data from the industrial control network, which includes communication information of various protocols, headers and payloads of data packets, etc.
[0088] Optionally, in this embodiment, the received data will be matched with the fingerprint feature database obtained in step S101, which contains features of known normal communication patterns and potential abnormal or malicious behaviors, including but not limited to specific fields, byte sequences, and statistical information.
[0089] Optionally, in this embodiment, the system will determine whether the received industrial control network traffic data matches any fingerprint feature in the fingerprint feature database.
[0090] Match: If the data matches an entry in the fingerprint feature database, it means that the traffic data belongs to a known normal or abnormal pattern. The system will output the first analysis result corresponding to the fingerprint feature and perform a comprehensive analysis and tracing operation.
[0091] No match: If the data does not match any fingerprint feature in the fingerprint feature database, it means that the traffic data belongs to an unknown pattern, and the data is input into the industrial control system data message analysis model obtained in step S102 for real-time data analysis. The model is used to identify and analyze unknown or new network behaviors.
[0092] Optionally, in this embodiment, the industrial control system data message analysis model will process the input traffic data, output a second analysis result and perform a comprehensive analysis and tracing operation to further understand the nature of the data and its potential security implications.
[0093] This example demonstrates how this embodiment can quickly identify and respond to potential security threats in an automated manner. By combining known fingerprint features and advanced data analysis models, the system can provide more comprehensive network security protection.
[0094] From the above description, it can be seen that the comprehensive analysis and tracing method of industrial control network attack events provided in the embodiment of the present application can extract features of protocol information in industrial control network traffic data through preset protocol analysis rules, determine the initial cluster center according to the spectral clustering algorithm, input the industrial control network traffic data into the preset convolutional neural recurrent network for uncertainty sampling operation and information density sampling operation, determine the semi-supervised feature data set and perform constrained clustering operation on the initial cluster center, and determine the corresponding industrial control system data message analysis model. Determine whether the industrial control network traffic data matches the fingerprint feature in the fingerprint feature database. If so, output the first analysis result for tracing operation, otherwise, output the second analysis result and perform comprehensive analysis and tracing operation, thereby being able to perform comprehensive analysis and tracing of attack events based on the semi-supervised clustering algorithm, and improve the accuracy and operability of tracing the industrial control network attack events.
[0095] In one embodiment of the method for comprehensive analysis and tracing of industrial control network attack events of the present application, see Figure 2 , and can also include the following:
[0096] Step S201: performing a labeling operation on the fingerprint features obtained after the feature extraction operation according to a preset labeling rule to obtain corresponding label information, and determining a corresponding traffic sample library according to the fingerprint features and the label information;
[0097] Step S202: performing data clustering and data classification operations on the traffic sample library to determine a corresponding fingerprint feature database.
[0098] Optionally, in this embodiment, the protocol fingerprint feature extraction uses the protocol analysis technology to extract the fingerprint features of various protocols for the collected network traffic data. The fingerprint feature can be a specific field, byte sequence or statistical information of the protocol, which is unique and identifiable. These fingerprint features will serve as the key basis for distinguishing different protocol traffic.
[0099] Optionally, in this embodiment, a traffic sample library is established based on the extracted protocol fingerprint features. The traffic sample library contains typical traffic samples of various protocols, each sample has corresponding fingerprint features and label information. These samples can be used for subsequent anomaly detection, pattern recognition and other tasks.
[0100] Optionally, in this embodiment, the fingerprint feature database is constructed, and the fingerprint feature database is further constructed on the basis of the traffic sample library. The fingerprint feature database adopts efficient data storage and indexing technology to realize fast query and matching of fingerprint features. At the same time, combined with machine learning and other technologies, fingerprint features are clustered, classified and other operations are performed to improve the accuracy and efficiency of anomaly detection.
[0101] Optionally, in this embodiment, based on the constructed fingerprint feature database, the application functions implemented include but are not limited to the following:
[0102] (1) Real-time monitoring and anomaly detection: By collecting network traffic data in real time and comparing it with the fingerprint feature database, we can detect whether there is abnormal traffic. Once abnormal traffic is found, the alarm mechanism will be triggered immediately to notify the management personnel to handle it.
[0103] (2) Source tracing: When an industrial control network attack occurs, the fingerprint feature database is used to trace the attack traffic. By tracing the source and path of the attack traffic, the identity and location of the attacker can be determined, providing a basis for subsequent response and disposal.
[0104] (3) Business health analysis and fault warning: Combine historical traffic data and statistical analysis results in the fingerprint feature database to evaluate the business health of the industrial control system. At the same time, based on the trend and law of traffic changes, predict possible faults or abnormal situations, and issue warning information in advance so that management personnel can take timely measures to prevent and respond.
[0105] By establishing a traffic sample library based on protocol fingerprint features and applying a fingerprint feature database, the security protection capabilities of the industrial control network can be effectively improved. This can not only reduce the losses and impacts of network attacks on the industrial control system, but also improve the reliability and stability of the system, providing a strong guarantee for the sustainable development of the industrial control network system.
[0106] Through step S202, this embodiment constructs a fingerprint feature database, which can realize fast query and matching of fingerprint features to improve the accuracy and efficiency of anomaly detection.
[0107] In one embodiment of the method for comprehensive analysis and tracing of industrial control network attack events of the present application, see Figure 3 , and can also include the following:
[0108] Step S301: performing data standardization and data normalization operations on the historical industrial control network traffic data packets to determine corresponding pre-processed data;
[0109] Step S302: performing a similarity matrix construction operation according to the preprocessed data, and determining a corresponding degree matrix according to the similarity obtained after the similarity matrix construction operation;
[0110] Step S303: determining a corresponding eigenvector matrix according to the degree matrix and the similarity, and determining a corresponding initialized cluster center according to the eigenvector matrix.
[0111] Optionally, in this embodiment, data standardization refers to scaling the data so that it falls into a small, specified range, such as 0 to 1, or converting it into a distribution with zero mean and unit variance. This helps to compare different features because they are adjusted to the same magnitude. Data normalization refers to scaling the data so that it falls into a fixed interval, such as the [0, 1] interval. Normalization helps to avoid certain features having a disproportionate impact on model results due to their large numerical range. After completing data standardization and normalization, the obtained data is called preprocessed data, and the preprocessed data is used for further analysis and modeling.
[0112] Optionally, in this embodiment, a similarity matrix is constructed based on the preprocessed data to represent the similarity between each sample in the data set. The similarity can be calculated based on different metrics, such as Euclidean distance, Manhattan distance, cosine similarity, etc.
[0113] Optionally, in this embodiment, after the similarity matrix is constructed, the similarity information is used to determine the degree matrix (Laplacian Matrix). The degree matrix is a diagonal matrix, and the elements on the diagonal represent the degree of each sample (i.e., the sum of the similarities between the sample and other samples), and the non-diagonal elements are usually 0.
[0114] Optionally, in this embodiment, the degree matrix and the similarity are used together to determine the eigenvector matrix. In the spectral clustering algorithm, the eigenvector matrix is obtained by solving the eigenvalue problem of the degree matrix. These eigenvectors can represent the distribution of data in a low-dimensional space. Based on the eigenvector matrix, the initial cluster centers can be determined. Spectral clustering involves selecting a portion of the rows in the eigenvector matrix as candidates for cluster centers, and then selecting the final cluster centers through the K-means++ strategy.
[0115] Through step S303, this embodiment ensures the consistency of different features in the analysis through data standardization and normalization. The construction of similarity matrix and degree matrix provides the necessary mathematical basis for spectral clustering algorithm, and the determination of eigenvector matrix and initialization cluster center is the core step of spectral clustering algorithm. Through these steps, it effectively prepares for the subsequent clustering analysis of industrial control network traffic data, so as to identify different patterns or abnormal behaviors in the data.
[0116] In one embodiment of the method for comprehensive analysis and tracing of industrial control network attack events of the present application, see Figure 4 , and can also include the following:
[0117] Step S401: performing an uncertainty sampling operation according to the first feature after the feature extraction operation to determine a corresponding most uncertain sample;
[0118] Step S402: determining corresponding feature samples according to the most uncertain samples and the high-density area samples.
[0119] Optionally, in this embodiment, implementation methods of uncertainty sampling include but are not limited to:
[0120] 1. Prediction probability: For each sample, calculate the class probability distribution predicted by the model. Select those samples whose probability distribution is closest to the uniform distribution.
[0121] 2. Confidence interval: Calculate the confidence interval for each sample prediction. Select those samples with the widest confidence intervals, indicating that the model is most uncertain about the predictions for these samples.
[0122] 3. Entropy: Use the concept of entropy to quantify the uncertainty of the sample. The higher the entropy, the greater the uncertainty of the sample.
[0123] Optionally, in this embodiment, the implementation of information density sampling includes but is not limited to:
[0124] 1. Boundary samples: Select samples that are near the decision boundaries of different categories. These samples can help the model better understand the boundaries between different categories.
[0125] 2. Density estimation: Use density estimation techniques (such as kernel density estimation) to determine the density of the samples. Select samples that are located in low-density areas because the samples in these areas provide more information about the data distribution.
[0126] 3. Cluster analysis: Determine the distribution of samples through cluster analysis and select those samples located at the cluster boundary or cluster center.
[0127] Optionally, in this embodiment, the feature sample consists of the following parts:
[0128] Most uncertain samples: achieved through uncertainty sampling, these samples can help the model learn how to deal with situations that are difficult to classify.
[0129] High-density area samples: achieved through information density sampling, these samples help the model capture the main features and distribution of the data and improve the model's ability to recognize common situations.
[0130] The determination of characteristic samples involves comprehensive consideration of samples obtained by uncertainty sampling and information density sampling, and the selection of samples that are both representative and can provide the most information.
[0131] Through step S402, this embodiment can construct a more comprehensive feature sample set by combining uncertainty sampling and information density sampling. This sample set includes both samples that are difficult for the model to predict and samples that are common and rich in information in the data. Such a sample set is very helpful for improving the generalization ability of the model and the ability to handle complex situations.
[0132] In one embodiment of the method for comprehensive analysis and tracing of industrial control network attack events of the present application, see Figure 5 , and can also include the following:
[0133] Step S501: performing a similarity matrix construction operation and a feature vector decomposition operation on the semi-supervised feature data set to determine a corresponding semi-supervised feature vector;
[0134] Step S502: performing a hard constraint operation on the initialized cluster center according to the semi-supervised feature vector to determine the corresponding optimized cluster center;
[0135] Step S503: adjusting the parameters of the preset spectral clustering algorithm according to the optimized cluster center to determine a corresponding industrial control system data message analysis model.
[0136] Optionally, in this embodiment, a similarity matrix of the semi-supervised feature data set is constructed, and this matrix represents the similarity between samples in the data set. The similarity can be calculated using a distance metric or a similarity metric (such as Euclidean distance or cosine similarity).
[0137] Optionally, in this embodiment, an eigenvector decomposition operation is performed on the similarity matrix to calculate the eigenvalues and eigenvectors of the similarity matrix. The eigenvector decomposition allows finding representations of the data in a low-dimensional space, which can capture the main structures and patterns of the data.
[0138] Optionally, in this embodiment, semi-supervised feature vectors refer to feature vectors that combine labeled and unlabeled data information, which are used to guide the clustering process.
[0139] Optionally, in this embodiment, the hard constraint operation optimizes the cluster center, and the semi-supervised feature vector is used to perform a hard constraint operation on the initialized cluster center. The hard constraint means that during the clustering process, some samples must belong to a specific cluster center.
[0140] It can be understood that the hard constraint operation uses labeled data to guide the determination of cluster centers, ensuring that the clustering results are consistent with the known label information. Through the hard constraint operation, a set of optimized cluster centers can be obtained, which is more consistent with the actual distribution of the data and matches the label information of the labeled data.
[0141] Optionally, in this embodiment, the parameters of the preset spectral clustering algorithm are adjusted according to the optimized cluster center. This includes adjusting the number of clusters, similarity thresholds, and other parameters that control the clustering process. The purpose of parameter adjustment is to improve the performance of the clustering algorithm and ensure the accuracy and reliability of the clustering results. Finally, the industrial control system data message analysis model is determined according to the adjusted spectral clustering algorithm parameters.
[0142] It is understandable that the entire process described above is an iterative and feedback process. By combining labeled and unlabeled data, the performance of the clustering algorithm is continuously optimized to adapt to the complexity and dynamics of industrial control system data messages. In this way, the monitoring and early warning capabilities of the industrial control system network security can be improved.
[0143] Through step S503, this embodiment successfully determines the industrial control system data message analysis model, which can perform effective cluster analysis on new data messages in real time and identify normal patterns and potential abnormal behaviors in the data.
[0144] In one embodiment of the method for comprehensive analysis and tracing of industrial control network attack events of the present application, see Figure 6 , and can also include the following:
[0145] Step S601: receiving industrial control network traffic data, and determining whether the industrial control network traffic data matches the fingerprint feature in the fingerprint feature database according to a preset hash matching algorithm;
[0146] Step S602: If yes, output a first analysis result corresponding to the fingerprint feature, wherein the first analysis result includes at least one of a protocol type of traffic data, a normal behavior label, and an abnormal behavior label.
[0147] Optionally, in this embodiment, the hash matching algorithm is a fast data matching technology, which is usually used to check whether the data matches the entries in the database. The algorithm is pre-set to compare the received traffic data with the fingerprint features in the fingerprint feature database to determine whether there is a match.
[0148] Optionally, in this embodiment, if the traffic data matches a fingerprint feature in the fingerprint feature database, the system will output a first analysis result. The results include but are not limited to:
[0149] Protocol type: The type of network protocol used in traffic data, such as TCP, UDP, ICMP, etc.
[0150] Normal behavior label: If the matching fingerprint features represent normal network behavior, the system will output a label or description of the normal behavior.
[0151] Abnormal behavior label: If the matching fingerprint features represent abnormal or potentially malicious network behavior, the system will output a label or description of the abnormal behavior.
[0152] Through step S602, the system of this embodiment can quickly identify whether the traffic data conforms to a known normal or abnormal pattern through a hash matching algorithm, and take corresponding security measures accordingly. This method improves the security of the industrial control network, reduces the reliance on manual analysis, and improves the response speed.
[0153] In one embodiment of the method for comprehensive analysis and tracing of industrial control network attack events of the present application, see Figure 7 , and can also include the following:
[0154] Step S701: performing data clustering operations according to the traffic sample library and a preset spectral clustering algorithm to determine corresponding traffic clustering features;
[0155] Step S702: performing data classification operations according to the traffic sample library, the label information and a preset support vector machine classification algorithm to determine corresponding traffic classification features;
[0156] Step S703: Perform feature validity verification based on the traffic clustering feature and the traffic classification feature, and determine a corresponding fingerprint feature database based on the optimal fingerprint feature that has undergone the feature validity verification.
[0157] Optionally, in this embodiment, spectral clustering is a clustering method based on graph theory, which constructs a similarity graph by analyzing the similarity between data points, and performs clustering using the spectrum of the graph (i.e., the Laplacian matrix). The purpose of the clustering operation is to group similar traffic data to identify different patterns or behaviors in network traffic.
[0158] Optionally, in this embodiment, a preset support vector machine (SVM) classification algorithm is used to classify data in combination with the traffic sample library and label information (known normal and abnormal behavior labels). Support vector machine is a supervised learning algorithm used for classification and regression analysis, which distinguishes different categories by finding the optimal boundary between data points. The purpose of the classification operation is to train a classifier that can distinguish normal behavior from abnormal behavior in network traffic.
[0159] Optionally, in this embodiment, feature validity verification is performed based on the traffic clustering features obtained from the clustering operation and the traffic classification features obtained from the classification operation. Feature validity verification methods include, but are not limited to, statistical testing, cross-validation, and using other machine learning models to evaluate the predictive and discriminative capabilities of features. The purpose of validity verification is to determine which features are most effective and useful for traffic analysis.
[0160] Optionally, in this embodiment, after feature validity verification, optimal fingerprint features are selected, which perform best in distinguishing normal and abnormal network behaviors.
[0161] Optionally, in this embodiment, the verified optimal fingerprint feature is used to construct or update the fingerprint feature database. The fingerprint feature database contains a collection of network behavior features that can be used to quickly identify and classify network traffic. The purpose of constructing this database is to improve the efficiency and accuracy of future network traffic analysis, so that the system can quickly match and respond to new traffic patterns in the network in real time.
[0162] Through step S703, this embodiment successfully integrates a comprehensive method of multiple data analysis technologies, improves the accuracy and efficiency of industrial control network traffic analysis in an automated manner, can effectively identify and classify network traffic, and promptly discover and respond to potential security threats.
[0163] In order to perform comprehensive analysis and tracing of attack events based on a semi-supervised clustering algorithm and improve the accuracy and operability of tracing the source of industrial control network attack events, the present application provides an embodiment of an industrial control network attack event comprehensive analysis and tracing device for realizing all or part of the contents of the industrial control network attack event comprehensive analysis and tracing method, see Figure 8 The industrial control network attack event comprehensive analysis and tracing device specifically includes the following contents:
[0164] The fingerprint feature database determination module 10 is used to obtain historical industrial control network traffic data packets, perform feature extraction operations on the protocol information in the historical industrial control network traffic data packets according to preset protocol analysis rules, and determine the corresponding fingerprint feature database according to the fingerprint features obtained after the feature extraction operation, wherein the fingerprint features include at least one of a specific field, a byte sequence, and statistical information;
[0165] The industrial control system data message analysis model determination module 20 is used to determine the corresponding initialization cluster center according to the historical industrial control network traffic data packet and the preset spectral clustering algorithm, input the historical industrial control network traffic data packet into the preset convolutional neural recurrent network to perform a feature extraction operation, perform an uncertainty sampling operation and an information density sampling operation according to the first feature after the feature extraction operation, determine the corresponding feature sample, determine the corresponding second feature according to the feature sample and the preset feature annotation rule, determine the corresponding semi-supervised feature data set according to the first feature and the second feature, perform a constrained clustering operation on the initialization cluster center according to the semi-supervised feature data set, update the parameters of the preset spectral clustering algorithm according to the optimized cluster center obtained after the constrained clustering operation, and determine the corresponding industrial control system data message analysis model;
[0166] The comprehensive analysis and tracing module 30 is used to receive industrial control network traffic data, determine whether the industrial control network traffic data matches the fingerprint feature in the fingerprint feature database, and if so, output the first analysis result corresponding to the fingerprint feature and perform a comprehensive analysis and tracing operation; otherwise, input the industrial control network traffic data into the industrial control system data message analysis model, obtain the second analysis result output by the industrial control system data message analysis model and perform a comprehensive analysis and tracing operation.
[0167] From the above description, it can be seen that the comprehensive analysis and tracing device for industrial control network attack events provided in the embodiment of the present application can extract features of protocol information in industrial control network traffic data through preset protocol analysis rules, determine the initial cluster center according to the spectral clustering algorithm, input the industrial control network traffic data into the preset convolutional neural recurrent network for uncertainty sampling operation and information density sampling operation, determine the semi-supervised feature data set and perform constrained clustering operation on the initial cluster center, and determine the corresponding industrial control system data message analysis model. Determine whether the industrial control network traffic data matches the fingerprint feature in the fingerprint feature database. If so, output the first analysis result for tracing operation, otherwise, output the second analysis result and perform comprehensive analysis and tracing operation, thereby being able to perform comprehensive analysis and tracing of attack events based on the semi-supervised clustering algorithm, and improve the accuracy and operability of tracing the industrial control network attack events.
[0168] From the hardware level, in order to perform comprehensive analysis and tracing of attack events based on a semi-supervised clustering algorithm and improve the accuracy and operability of tracing the source of industrial control network attack events, the present application provides an embodiment of an electronic device for implementing all or part of the contents of the comprehensive analysis and tracing method of industrial control network attack events, and the electronic device specifically includes the following contents:
[0169] Processor, memory, communication interface and bus; wherein the processor, memory and communication interface communicate with each other through the bus; the communication interface is used to realize information transmission between the method for comprehensive analysis and tracing of industrial control network attack events and related devices such as core business systems, user terminals and related databases; the logic controller can be a desktop computer, a tablet computer and a mobile terminal, etc., but the present embodiment is not limited thereto. In the present embodiment, the logic controller can be implemented with reference to the embodiment of the method for comprehensive analysis and tracing of industrial control network attack events in the embodiment, and the embodiment of the method for comprehensive analysis and tracing of industrial control network attack events, and the contents thereof are incorporated herein, and the repeated parts are not repeated.
[0170] It is understandable that the user terminal may include a smart phone, a tablet electronic device, a network set-top box, a portable computer, a desktop computer, a personal digital assistant (PDA), a vehicle-mounted device, a smart wearable device, etc. Among them, the smart wearable device may include smart glasses, a smart watch, a smart bracelet, etc.
[0171] In practical applications, part of the comprehensive analysis and tracing method for industrial control network attack events can be executed on the electronic device side as described above, or all operations can be completed in the client device. The specific selection can be based on the processing capability of the client device and the limitations of the user's usage scenario. This application does not limit this. If all operations are completed in the client device, the client device may also include a processor.
[0172] The client device may have a communication module (i.e., a communication unit) that can communicate with a remote server to achieve data transmission with the server. The server may include a server on the task scheduling center side, and other implementation scenarios may also include a server on an intermediate platform, such as a server on a third-party server platform that has a communication link with the task scheduling center server. The server may include a single computer device, or a server cluster consisting of multiple servers, or a server structure of a distributed device.
[0173] Fig. 9 FIG. 9 is a schematic block diagram of the system structure of the electronic device 9600 according to an embodiment of the present application. Fig. 9 As shown, the electronic device 9600 may include a central processor 9100 and a memory 9140; the memory 9140 is coupled to the central processor 9100. It is worth noting that Fig. 9 is exemplary; other types of structures may also be used to supplement or replace this structure to implement telecommunication functions or other functions.
[0174] In one embodiment, the function of the comprehensive analysis and tracing method of industrial control network attack events can be integrated into the central processing unit 9100. The central processing unit 9100 can be configured to perform the following control:
[0175] Step S101: obtaining a historical industrial control network traffic data packet, performing a feature extraction operation on the protocol information in the historical industrial control network traffic data packet according to a preset protocol analysis rule, and determining a corresponding fingerprint feature database according to the fingerprint feature obtained after the feature extraction operation, wherein the fingerprint feature includes at least one of a specific field, a byte sequence, and statistical information;
[0176] Step S102: determining a corresponding initialization clustering center according to the historical industrial control network traffic data packets and a preset spectral clustering algorithm, inputting the historical industrial control network traffic data packets into a preset convolutional neural recurrent network for feature extraction, performing uncertainty sampling operations and information density sampling operations according to the first feature after the feature extraction operation, determining a corresponding feature sample, determining a corresponding second feature according to the feature sample and a preset feature annotation rule, determining a corresponding semi-supervised feature data set according to the first feature and the second feature, performing a constrained clustering operation on the initialization clustering center according to the semi-supervised feature data set, updating the parameters of the preset spectral clustering algorithm according to the optimized clustering center obtained after the constrained clustering operation, and determining a corresponding industrial control system data message analysis model;
[0177] Step S103: Receive industrial control network traffic data, and determine whether the industrial control network traffic data matches the fingerprint feature in the fingerprint feature database. If so, output a first analysis result corresponding to the fingerprint feature and perform a comprehensive analysis and tracing operation. Otherwise, input the industrial control network traffic data into the industrial control system data message analysis model, obtain a second analysis result output by the industrial control system data message analysis model, and perform a comprehensive analysis and tracing operation.
[0178] From the above description, it can be seen that the electronic device provided in the embodiment of the present application extracts features from the protocol information in the industrial control network traffic data through preset protocol analysis rules, determines the initial cluster center according to the spectral clustering algorithm, inputs the industrial control network traffic data into the preset convolutional neural recurrent network for uncertainty sampling operations and information density sampling operations, determines the semi-supervised feature data set and performs constrained clustering operations on the initial cluster center, and determines the corresponding industrial control system data message analysis model. It is determined whether the industrial control network traffic data matches the fingerprint feature in the fingerprint feature database. If so, the first analysis result is output for tracing operations, otherwise, the second analysis result is output and a comprehensive analysis and tracing operation is performed, thereby being able to perform comprehensive analysis and tracing of attack events based on the semi-supervised clustering algorithm, thereby improving the accuracy and operability of tracing the industrial control network attack events.
[0179] In another embodiment, the comprehensive analysis and tracing method for industrial control network attack events can be configured separately from the central processing unit 9100. For example, the comprehensive analysis and tracing method for industrial control network attack events can be configured as a chip connected to the central processing unit 9100, and the functions of the comprehensive analysis and tracing method for industrial control network attack events can be realized through the control of the central processing unit.
[0180] like Fig. 9As shown, the electronic device 9600 may also include: a communication module 9110, an input unit 9120, an audio processor 9130, a display 9160, and a power supply 9170. It is worth noting that the electronic device 9600 does not necessarily have to include Fig. 9 In addition, the electronic device 9600 may also include Fig. 9 For components not shown, reference may be made to the prior art.
[0181] like Fig. 9 As shown, the central processing unit 9100 is sometimes also referred to as a controller or an operation control, and may include a microprocessor or other processor device and / or logic device. The central processing unit 9100 receives input and controls the operation of various components of the electronic device 9600.
[0182] The memory 9140 may be, for example, one or more of a cache, a flash memory, a hard drive, a removable medium, a volatile memory, a non-volatile memory or other suitable devices. The above-mentioned information related to the failure may be stored, and a program for executing the relevant information may also be stored. The CPU 9100 may execute the program stored in the memory 9140 to implement information storage or processing, etc.
[0183] The input unit 9120 provides input to the central processing unit 9100. The input unit 9120 is, for example, a key or a touch input device. The power supply 9170 is used to provide power to the electronic device 9600. The display 9160 is used to display display objects such as images and texts. The display may be, for example, an LCD display, but is not limited thereto.
[0184] The memory 9140 may be a solid-state memory, such as a read-only memory (ROM), a random access memory (RAM), a SIM card, etc. It may also be a memory that saves information even when the power is off, can be selectively erased, and is provided with more data, examples of which are sometimes referred to as EPROMs, etc. The memory 9140 may also be some other type of device. The memory 9140 includes a buffer memory 9141 (sometimes referred to as a buffer). The memory 9140 may include an application / function storage unit 9142, which is used to store application programs and function programs or processes for executing the operation of the electronic device 9600 through the central processor 9100.
[0185] The memory 9140 may also include a data storage unit 9143 for storing data, such as contacts, digital data, pictures, sounds, and / or any other data used by the electronic device. The driver storage unit 9144 of the memory 9140 may include various drivers for communication functions of the electronic device and / or for executing other functions of the electronic device (such as messaging applications, address book applications, etc.).
[0186] The communication module 9110 is a transmitter / receiver 9110 that sends and receives signals via an antenna 9111. The communication module (transmitter / receiver) 9110 is coupled to the central processor 9100 to provide input signals and receive output signals, which may be the same as the case of a conventional mobile communication terminal.
[0187] Based on different communication technologies, multiple communication modules 9110 may be provided in the same electronic device, such as a cellular network module, a Bluetooth module and / or a wireless LAN module, etc. The communication module (transmitter / receiver) 9110 is also coupled to a speaker 9131 and a microphone 9132 via an audio processor 9130 to provide an audio output via the speaker 9131 and receive an audio input from the microphone 9132, thereby realizing a common telecommunication function. The audio processor 9130 may include any suitable buffer, decoder, amplifier, etc. In addition, the audio processor 9130 is also coupled to the central processor 9100, so that recording can be performed on the local machine through the microphone 9132, and the sound stored on the local machine can be played through the speaker 9131.
[0188] The embodiments of the present application also provide a computer-readable storage medium capable of implementing all the steps in the method for comprehensive analysis and tracing of industrial control network attack events in the above embodiments, where the execution subject is a server or a client. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, all the steps in the method for comprehensive analysis and tracing of industrial control network attack events in the above embodiments are implemented. For example, when the processor executes the computer program, the following steps are implemented:
[0189] Step S101: obtaining a historical industrial control network traffic data packet, performing a feature extraction operation on the protocol information in the historical industrial control network traffic data packet according to a preset protocol analysis rule, and determining a corresponding fingerprint feature database according to the fingerprint feature obtained after the feature extraction operation, wherein the fingerprint feature includes at least one of a specific field, a byte sequence, and statistical information;
[0190] Step S102: determining a corresponding initialization clustering center according to the historical industrial control network traffic data packets and a preset spectral clustering algorithm, inputting the historical industrial control network traffic data packets into a preset convolutional neural recurrent network for feature extraction, performing uncertainty sampling operations and information density sampling operations according to the first feature after the feature extraction operation, determining a corresponding feature sample, determining a corresponding second feature according to the feature sample and a preset feature annotation rule, determining a corresponding semi-supervised feature data set according to the first feature and the second feature, performing a constrained clustering operation on the initialization clustering center according to the semi-supervised feature data set, updating the parameters of the preset spectral clustering algorithm according to the optimized clustering center obtained after the constrained clustering operation, and determining a corresponding industrial control system data message analysis model;
[0191] Step S103: Receive industrial control network traffic data, and determine whether the industrial control network traffic data matches the fingerprint feature in the fingerprint feature database. If so, output a first analysis result corresponding to the fingerprint feature and perform a comprehensive analysis and tracing operation. Otherwise, input the industrial control network traffic data into the industrial control system data message analysis model, obtain a second analysis result output by the industrial control system data message analysis model, and perform a comprehensive analysis and tracing operation.
[0192] From the above description, it can be seen that the computer-readable storage medium provided in the embodiment of the present application extracts features from the protocol information in the industrial control network traffic data through preset protocol analysis rules, determines the initial cluster center according to the spectral clustering algorithm, inputs the industrial control network traffic data into the preset convolutional neural recurrent network for uncertainty sampling operations and information density sampling operations, determines the semi-supervised feature data set and performs constrained clustering operations on the initial cluster center, and determines the corresponding industrial control system data message analysis model. It is determined whether the industrial control network traffic data matches the fingerprint feature in the fingerprint feature database. If so, the first analysis result is output for tracing operations, otherwise, the second analysis result is output and a comprehensive analysis and tracing operation is performed, thereby being able to perform comprehensive analysis and tracing of attack events based on the semi-supervised clustering algorithm, thereby improving the accuracy and operability of tracing the industrial control network attack events.
[0193] The embodiments of the present application also provide a computer program product capable of implementing all the steps of the method for comprehensive analysis and tracing of industrial control network attack events in the above-mentioned embodiment, where the execution subject is a server or a client. When the computer program / instruction is executed by a processor, the steps of the method for comprehensive analysis and tracing of industrial control network attack events are implemented. For example, the computer program / instruction implements the following steps:
[0194] Step S101: obtaining a historical industrial control network traffic data packet, performing a feature extraction operation on the protocol information in the historical industrial control network traffic data packet according to a preset protocol analysis rule, and determining a corresponding fingerprint feature database according to the fingerprint feature obtained after the feature extraction operation, wherein the fingerprint feature includes at least one of a specific field, a byte sequence, and statistical information;
[0195] Step S102: determining a corresponding initialization clustering center according to the historical industrial control network traffic data packets and a preset spectral clustering algorithm, inputting the historical industrial control network traffic data packets into a preset convolutional neural recurrent network for feature extraction, performing uncertainty sampling operations and information density sampling operations according to the first feature after the feature extraction operation, determining a corresponding feature sample, determining a corresponding second feature according to the feature sample and a preset feature annotation rule, determining a corresponding semi-supervised feature data set according to the first feature and the second feature, performing a constrained clustering operation on the initialization clustering center according to the semi-supervised feature data set, updating the parameters of the preset spectral clustering algorithm according to the optimized clustering center obtained after the constrained clustering operation, and determining a corresponding industrial control system data message analysis model;
[0196] Step S103: Receive industrial control network traffic data, and determine whether the industrial control network traffic data matches the fingerprint feature in the fingerprint feature database. If so, output a first analysis result corresponding to the fingerprint feature and perform a comprehensive analysis and tracing operation. Otherwise, input the industrial control network traffic data into the industrial control system data message analysis model, obtain a second analysis result output by the industrial control system data message analysis model, and perform a comprehensive analysis and tracing operation.
[0197] From the above description, it can be seen that the computer program product provided by the embodiment of the present application extracts features from the protocol information in the industrial control network traffic data through preset protocol analysis rules, determines the initial cluster center according to the spectral clustering algorithm, inputs the industrial control network traffic data into the preset convolutional neural recurrent network for uncertainty sampling operations and information density sampling operations, determines the semi-supervised feature data set and performs constrained clustering operations on the initial cluster center, and determines the corresponding industrial control system data message analysis model. It is determined whether the industrial control network traffic data matches the fingerprint feature in the fingerprint feature database. If so, the first analysis result is output for tracing operations, otherwise, the second analysis result is output and a comprehensive analysis and tracing operation is performed, thereby being able to perform comprehensive analysis and tracing of attack events based on the semi-supervised clustering algorithm, and improving the accuracy and operability of tracing the industrial control network attack events.
[0198] It should be understood by those skilled in the art that embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0199] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (apparatus), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0200] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0201] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0202] The present invention uses specific embodiments to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A comprehensive analysis and tracing method for industrial control network attack events, characterized in that: The method comprises: Acquire historical industrial control network traffic data packets, perform feature extraction operations on protocol information in the historical industrial control network traffic data packets according to preset protocol analysis rules, and determine a corresponding fingerprint feature database according to fingerprint features obtained after the feature extraction operation, wherein the fingerprint features include at least one of a specific field, a byte sequence, and statistical information; Determine the corresponding initialization cluster center according to the historical industrial control network traffic data packet and the preset spectral clustering algorithm, specifically including: perform data standardization and data normalization operations on the historical industrial control network traffic data packet, determine the corresponding preprocessed data, perform a similarity matrix construction operation according to the preprocessed data, determine the corresponding degree matrix according to the similarity obtained after the similarity matrix construction operation, determine the corresponding eigenvector matrix according to the degree matrix and the similarity, and determine the corresponding initialization cluster center according to the eigenvector matrix; input the historical industrial control network traffic data packet into a preset convolutional neural recurrent network for feature extraction operation, perform an uncertainty sampling operation according to the first feature after the feature extraction operation to determine the corresponding most uncertain sample; according to The first feature after the feature extraction operation is subjected to an information density sampling operation to determine a corresponding high-density area sample; the corresponding feature sample is determined according to the most uncertain sample and the high-density area sample, the corresponding second feature is determined according to the feature sample and a preset feature annotation rule, the corresponding semi-supervised feature data set is determined according to the first feature and the second feature, a similarity matrix construction operation and a feature vector decomposition operation are performed on the semi-supervised feature data set to determine a corresponding semi-supervised feature vector; a hard constraint operation is performed on the initialized cluster center according to the semi-supervised feature vector to determine a corresponding optimized cluster center; the parameters of the preset spectral clustering algorithm are adjusted according to the optimized cluster center to determine a corresponding industrial control system data message analysis model; Receive industrial control network traffic data, determine whether the industrial control network traffic data matches the fingerprint feature in the fingerprint feature database, and if so, output a first analysis result corresponding to the fingerprint feature and perform a comprehensive analysis and tracing operation; otherwise, input the industrial control network traffic data into the industrial control system data message analysis model, obtain a second analysis result output by the industrial control system data message analysis model, and perform a comprehensive analysis and tracing operation.
2. The method for comprehensive analysis and tracing of industrial control network attack events according to claim 1 is characterized in that: The step of determining a fingerprint feature database according to the fingerprint features obtained after the feature extraction operation comprises: Perform a labeling operation on the fingerprint features obtained after the feature extraction operation according to a preset labeling rule to obtain corresponding label information, and determine a corresponding traffic sample library according to the fingerprint features and the label information; Perform data clustering and data classification operations on the traffic sample library to determine a corresponding fingerprint feature database.
3. The method for comprehensive analysis and tracing of industrial control network attack events according to claim 1 is characterized in that: The receiving of industrial control network traffic data, determining whether the industrial control network traffic data matches the fingerprint feature in the fingerprint feature database, and if so, outputting a first analysis result corresponding to the fingerprint feature and performing a comprehensive analysis and tracing operation, includes: Receiving industrial control network traffic data, and determining whether the industrial control network traffic data matches the fingerprint feature in the fingerprint feature database according to a preset hash matching algorithm; If so, a first analysis result corresponding to the fingerprint feature is output and a comprehensive analysis and tracing operation is performed, wherein the first analysis result includes at least one of a protocol type of traffic data, a normal behavior label, and an abnormal behavior label.
4. The method for comprehensive analysis and tracing of industrial control network attack events according to claim 2 is characterized in that: The performing of data clustering and data classification operations on the traffic sample library to determine a corresponding fingerprint feature database includes: Performing data clustering operations according to the traffic sample library and a preset spectral clustering algorithm to determine corresponding traffic clustering features; Perform data classification operations according to the traffic sample library, the label information, and a preset support vector machine classification algorithm to determine corresponding traffic classification features; Feature validity verification is performed according to the traffic clustering feature and the traffic classification feature, and a corresponding fingerprint feature database is determined according to the optimal fingerprint feature that has undergone the feature validity verification.
5. The method for comprehensive analysis and tracing of industrial control network attack events according to claim 1 is characterized in that: It also includes a device for comprehensive analysis and tracing of industrial control network attack events, the device comprising: A fingerprint feature database determination module is used to obtain historical industrial control network traffic data packets, perform feature extraction operations on protocol information in the historical industrial control network traffic data packets according to preset protocol analysis rules, and determine a fingerprint feature database according to fingerprint features obtained after the feature extraction operation, wherein the fingerprint features include at least one of a specific field, a byte sequence, and statistical information; An industrial control system data message analysis model determination module is used to determine a corresponding initialization clustering center according to the historical industrial control network traffic data packets and a preset spectral clustering algorithm, input the historical industrial control network traffic data packets into a preset convolutional neural recurrent network for feature extraction, perform uncertainty sampling operations and information density sampling operations according to the first feature after the feature extraction operation, determine the corresponding feature sample, determine the corresponding second feature according to the feature sample and a preset feature annotation rule, determine the corresponding semi-supervised feature data set according to the first feature and the second feature, perform a constrained clustering operation on the initialization clustering center according to the semi-supervised feature data set, update the parameters of the spectral clustering algorithm according to the optimized clustering center obtained after the constrained clustering operation, and determine the corresponding industrial control system data message analysis model; The comprehensive analysis and tracing module is used to receive industrial control network traffic data, determine whether the industrial control network traffic data matches the fingerprint feature in the fingerprint feature database, and if so, output a first analysis result corresponding to the fingerprint feature and perform a comprehensive analysis and tracing operation; otherwise, input the industrial control network traffic data into the industrial control system data message analysis model, obtain a second analysis result output by the industrial control system data message analysis model, and perform a comprehensive analysis and tracing operation.
6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the method for comprehensive analysis and tracing of industrial control network attack events described in any one of claims 1 to 4 are implemented.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for comprehensive analysis and tracing of industrial control network attack events described in any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
DDoS detection method and device, and DDoS detection equipment
CN111385243A
Cloud network end cooperative defense method and system based on end-side edge computing
CN112769796A
