Network traffic confrontation sample generation method and system based on time sequence
Through the network traffic adversarial sample generation method based on time series, the FGSM attack algorithm and mask mechanism are used to generate universal adversarial perturbations, which solves the problem of adversarial sample generation in the existing technology being difficult to apply to multiple types of traffic, and achieves efficient adversarial sample generation. and attack effects.
Patent Information
- Application Number
- CN202410844264.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-06-27
AI Technical Summary
Existing network traffic adversarial sample generation methods are difficult to apply to the coexistence detection of multiple types of traffic, and the adversarial sample generation process requires additional computing overhead to maintain traffic functionality, resulting in poor detection results.
Adopting a time series-based network traffic adversarial sample generation method, the FGSM attack algorithm is used to generate general adversarial perturbations on the 1D-CNN model, and the mask mechanism is combined to insert perturbations at designated positions to generate adversarial samples suitable for multiple types of traffic, reducing the Dependence on detailed parameters of the model.
It achieves the generation of efficient adversarial samples without knowing the detailed parameters of the classifier model, which significantly improves the effect of adversarial attacks. The detection accuracy of the classifier model for adversarial samples drops to 78.77%, and reduces the model detection performance. The attack performance and generation efficiency of adversarial samples are enhanced.
Smart Images

Figure CN118659907A
Abstract
Description
Technical Field
[0001] The present invention belongs to but is not limited to the field of artificial intelligence security technology, and in particular relates to a method and system for generating network traffic adversarial samples based on time series. Background Art
[0002] Artificial intelligence technology has become an indispensable part of the field of network security, especially in identifying and defending against complex network threats. With the advancement of technology, deep learning models have been widely used in network traffic monitoring and anomaly detection. These models are able to learn potential attack patterns and subtle differences in normal behavior from large amounts of data. However, these advanced models also face new challenges, especially the threat of adversarial sample attacks. Adversarial sample attacks aim to deceive the model by imposing tiny perturbations on the data, resulting in misclassification or wrong prediction. This attack not only reveals the vulnerability of deep learning models, but also prompts researchers to explore more robust artificial intelligence solutions to enhance the defense of these systems.
[0003] The network traffic intrusion detection system based on artificial intelligence uses machine learning, deep learning and statistical analysis to identify abnormal network data packets and network interactions, thereby blocking abnormal traffic. The main task of such a system is to collect network traffic data passively or actively, extract key features such as data packet size, sending and receiving time, and packet header information for analysis. Network traffic anomaly detection mainly includes two methods: anomaly detection and traffic classification. Anomaly detection can effectively identify unknown attacks by classifying the anomaly scores of traffic, but the accuracy is relatively low; while traffic classification detection has high efficiency and accuracy in identifying known attacks, but its detection ability for unknown attacks is weak.
[0004] Current research has found that machine learning-based detection methods are vulnerable to adversarial sample attacks, where attackers add some minor perturbations to the original samples, resulting in inaccurate model predictions. Similar to the methods in the field of computer vision, adversarial sample generation for malicious traffic detection still adds imperceptible perturbations to traffic samples, such as slightly modifying the content of data packets or modifying the statistical characteristics of data flows. Adversarial sample attacks can change the prediction results of an intrusion detection system with a well-trained model. However, adversarial sample perturbations for intrusion detection are different from adversarial sample generation for images. Perturbations need to be constrained to make the characteristics of traffic legal so that it can maintain the functionality of traffic.
[0005] The existing technologies of adversarial sample generation methods are usually divided into two technical methods: white-box and black-box. Existing studies have generated adversarial samples through white-box methods and successfully applied them to intrusion detection models. For example, the traditional FGSM attack technology calculates the minimum perturbation for all features to quickly generate adversarial samples that are effective for the model, but does not consider the constraints of traffic samples. The generated adversarial samples cannot effectively maintain their functionality. In addition, the adversarial sample generation method based on white boxes requires understanding the internal architecture and training parameters of the intrusion detection model. In real scenarios, it is difficult for attackers to obtain this information, so the white-box generation method is not very meaningful. Black-box methods generally modify the data in the data set through specific algorithms, such as optimization methods and GAN-based methods. This type of attack usually generates adversarial samples for a single botnet traffic or DDoS traffic type, and still needs to consider the issue of retaining traffic functionality. Therefore, additional computing overhead is required to maintain normal traffic communication while generating adversarial samples.
[0006] In view of the above analysis, the technical problems that need to be solved urgently in the existing technology are: Most of the existing studies modify the statistical characteristics of network traffic to generate adversarial samples, and the modified statistical characteristics cannot be simply applied to network traffic. There are still some problems in the generation of adversarial samples of a single traffic type. Although it has a good attack effect on detectors of this type, it is difficult to apply to the situation where multiple types of traffic coexist. Summary of the invention
[0007] In view of the problems existing in the prior art, the present invention provides a method and system for generating adversarial samples of network traffic based on time series.
[0008] The present invention is implemented as follows: a method for generating adversarial samples of network traffic based on time series, characterized by comprising:
[0009] S1, input the original network traffic dataset into the model for preprocessing;
[0010] S2, input the traffic time series feature vector obtained by S1 into the classifier model used for training;
[0011] S3, combining the FGSM attack algorithm in the classifier model to generate adversarial perturbations;
[0012] S4, inject the adversarial perturbation generated by S3 into the specified position of the original sample, and return it to the classifier model to iteratively update the adversarial perturbation;
[0013] S5, injects the adversarial perturbation iteratively generated in S4 into the original traffic sample of the corresponding type as a universal adversarial perturbation.
[0014] S6, finally, the adversarial sample is input into the final classifier model for classification.
[0015] Furthermore, the original network traffic data set extracted in S1 specifically includes: extracting the network traffic data PCAP package through Wireshark, and extracting the arrival timestamp of the data packet in the flow through the five-tuple; src and IP dst Respectively represent the source IP address and destination IP address of the data packet, Port src and Port dst Respectively represent the source port and destination port of the data packet, Pro represents the communication protocol of the data packet, and Time represents the timestamp information of the data packet. These information are combined together to represent the time feature content of a data packet:
[0016]
[0017] A flow is composed of multiple data packets communicated between two applications in the same time period. It is a collection of the common header of the data packets and the time information of a series of data packets. A flow contains a collection of time characteristics of data packets in both the upstream and downstream directions; Represents the set of all packets in a flow. Finger Flow F i The collection of data packet payloads, which in this article refers to the time interval information between each data packet in a flow. Represented as flow F i The kth time series feature in . Represents flow F i The total duration of the stream is the sum of the time intervals of all packets in the stream:
[0018]
[0019]
[0020] For the intrusion detector of network traffic classification, its input space is defined as elements, and use Indicates that the flow duration is the sum of the time intervals between packets. To improve the detector performance, the time interval is multiplied by the direction D of the packet and combined with the total duration of the flow. The positive or negative indicates whether the packet is uplink or downlink:
[0021]
[0022] Furthermore, S2 specifically includes: for the normalized traffic time series feature vector, a 1D-CNN one-dimensional convolutional neural network is used for model training:
[0023] (1) Input the normalized original sample of network traffic time series features;
[0024] (2) The input data is compressed from 1001 to 63 by four convolution blocks, and then expanded into a one-dimensional vector by a flattening layer;
[0025] (3) Using multiple fully connected layer network structures and ReLu activation function, the result of step (2) is gradually reduced in feature dimension through the fully connected layers;
[0026] (4) Normalize the result of step (3) and use the Softmax function to finally map the probability distribution of the five categories of features.
[0027] Furthermore, S3 specifically includes: using random numbers in the sample time feature domain to initialize the perturbation of the validation set, and then using the FGSM attack algorithm on the initialized perturbation sample on the CNN model to generate adversarial samples. Where x represents the original sample, ∈ represents the learning rate, θ represents the weight parameter of the model, J(θ, x, y) is the loss function of the model, Represents the gradient of the loss function of the neural network model J, where sign is the sign function, i.e. the direction of the gradient;
[0028]
[0029] Furthermore, S4 specifically includes: injecting the result of S3 as adversarial disturbance into the specified position of the original sample, and generating different methods for different traffic flows:
[0030] (1) Select the number of traffic packets that need to be disturbed, n+1, corresponding to the number of features that need to be disturbed, which is n;
[0031] (2) The masking mechanism is based on the time series characteristics of the flow samples and their directionality. As described in claim 2, the input space of the model is defined, and a directionality mark is added to each time interval feature. In each flow sample, the positions where the direction of the data packet changes are found, and a number n of perturbations are inserted at these positions;
[0032] (3) After generating adversarial perturbations, botnet, brute force, port scanning, and common Web attack traffic is injected into the location selected in step (2) of the original sample and returned to the model for calculation together with the flow duration of the original sample;
[0033] (4) After the DDoS traffic generates the adversarial sample, it is injected into the position selected by the original sample in step (2). The adversarial sample is first denormalized, then the duration of the perturbed flow is recalculated, and finally the sample is renormalized and returned to the model for calculation;
[0034] (5) Continue to use the FGSM attack algorithm on the model based on the adversarial sample, update the adversarial perturbation, inject the original sample, and iterate T rounds.
[0035] Further, S5 specifically includes: saving the two different adversarial perturbations generated for different traffic in S4 as universal adversarial perturbations using the following formula; where ||δ v || p is the perturbation δ v l p norm (p∈[1,∞)), used to measure the size of the perturbation, ∈ is a small positive number, indicating the allowable error rate. By solving this optimization problem, a perturbation δ can be generated v , this perturbation is effective for most samples:
[0036]
[0037] Furthermore, S6 specifically includes: injecting the universal adversarial perturbations of different traffic types stored in S5 into the corresponding type of traffic, and inputting them into the final classifier model for classification:
[0038] (1) Input the normalized original sample of network traffic time series features;
[0039] (2) The data passes through three denoising autoencoders and fully connected layers, with lengths ranging from 1000 to 5, corresponding to five traffic types;
[0040] (3) The output is mapped into the probability distribution of five traffic types through the Softmax function;
[0041] (4) Generic adversarial perturbations of different traffic types are injected into traffic samples of corresponding types;
[0042] (5) Finally, the data is input into the trained stacked denoising autoencoder classifier to test the adversarial sample generation effect.
[0043] Another object of the present invention is to provide a network traffic adversarial sample generation system based on time series features to implement the network traffic adversarial sample generation method based on time series features, comprising:
[0044] Data preprocessing module, used to extract time series features of network traffic and normalize data;
[0045] A deep neural network training module, which is used to train a deep neural network that generates adversarial samples using data;
[0046] Adversarial sample generation module, which is used to combine data with neural networks and use the FGSM attack algorithm to iteratively generate universal adversarial perturbations for different traffic types;
[0047] The classifier detection module is used to input the final adversarial sample into the classifier for detection.
[0048] Another object of the present invention is to provide a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method for generating network traffic adversarial samples based on time series features.
[0049] Another object of the present invention is to provide an information data processing terminal, which includes the network traffic adversarial sample generation system based on time series characteristics.
[0050] In combination with the above technical solutions and the technical problems solved, the advantages and positive effects of the technical solutions to be protected by the present invention are as follows:
[0051] First, the present invention introduces the time series characteristics of network traffic, and pre-processes the original data based on the training model and the generation of adversarial samples. The design handles the entire traffic adversarial sample generation process from the perspective of multiple types of network traffic. The adversarial sample generation process for different traffic types is introduced in the adversarial sample generation module, and a single type of adversarial network traffic is processed into multiple types of adversarial network traffic. The flow duration and the weight parameters of 1D-CNN are combined in the time series characteristics to perform FGSM attacks to generate general adversarial perturbations. Compared with other adversarial sample generation methods, it has certain advantages. Experiments conducted on public intrusion detection data sets show that this method can achieve better attack effects without the need to understand the detailed parameters of the classifier model. The overall detection accuracy of the classifier model for adversarial samples drops by up to 78.77%, which can effectively carry out adversarial attacks on the model.
[0052] The technical effects and advantages of the technical solution of the present invention are as follows: First, in the experimental comparison of the same data set, the adversarial sample generation method can achieve certain advantages over the same type of methods. Second, for the general direction of the entire adversarial sample attack, the adversarial sample generation method based on multi-type traffic is more practical than the single-type generation method.
[0053] Second, as auxiliary evidence of the inventiveness of the claims of the present invention, it is also reflected in the following important aspects:
[0054] (1) The expected benefits and commercial value of the technical solution of the present invention after transformation are as follows: the expected benefits are to reduce the overall efficiency and overall accuracy of the network traffic detector, provide an attack model for the relevant commercial detection system, and integrate relevant modules to process the generation of adversarial samples of different types of network traffic.
[0055] (2) The technical solution of the present invention fills the technical gap in the industry at home and abroad: it expands the time series features based on the statistical features of network traffic, and combines the different characteristics of the two features to generate adversarial samples, filling the technical gap in the generation of adversarial samples that is difficult to generate adversarial samples for multiple types of traffic at the same time and difficult to generate effective adversarial samples in real time.
[0056] (3) The technical solution of the present invention solves a technical problem that people have long been eager to solve but have never been able to solve: it solves the problem that the attack effect of network traffic adversarial samples is poor and cannot be applied in practice due to the statistical characteristics of the data. It combines the time series characteristics of multiple types of network traffic and extracts the corresponding statistical characteristics, effectively enhancing the attack effect of the overall adversarial samples on the model.
[0057] (4) The technical solution of the present invention overcomes technical bias: based on multiple types of network traffic, general adversarial perturbations are trained in combination with time series features to generate adversarial samples, which can better reduce the model detection performance.
[0058] Third, the present invention solves a series of technical problems in the prior art and achieves significant technical progress by introducing a method for generating adversarial samples of network traffic based on time series. These aspects are described in detail below:
[0059] Technical issues solved:
[0060] 1. Limitations of traditional methods: Most existing studies modify the statistical characteristics of network traffic to generate adversarial samples. The modified statistical characteristics cannot be simply applied to network traffic. This paper analyzes the characteristics of network traffic and proposes a method for generating adversarial samples of network traffic based on time series.
[0061] 2. Poor domain adaptability: Existing adversarial samples have poor attack effects in DDoS traffic and are usually only applicable to a single specific traffic type field such as botnets. The adversarial sample generation method of the present invention not only has good attack effects on adversarial samples generated under traffic such as botnets, port scanning, Web attacks, and brute force cracking, but also has good effects on adversarial samples generated for DDoS traffic.
[0062] 3. Lack of real-time performance: The usual adversarial sample generation method cannot access the complete stream data in the stream classification task. If each stream is perturbed, it will lead to a huge consumption of computing resources. At this time, the stream data with too much computing time usually cannot be transmitted to the host. Therefore, offline perturbation is usually performed. The present invention introduces universal adversarial perturbation, which can generate adversarial samples for the model in real time.
[0063] Significant technological advances achieved:
[0064] 1. Enhanced data feature space: The present invention analyzes the characteristics of network traffic, extracts time series features based on conventional statistical features, and combines the two features to learn and train adversarial samples.
[0065] 2. Multi-type adversarial network traffic: The present invention is not only applicable to a single type of traffic such as DDoS traffic and botnet traffic, but can also be extended to other types of network traffic such as port scanning, Web attack traffic, etc., with high flexibility and adaptability.
[0066] 3. Improve adversarial attack performance: The application method combining deep learning and general adversarial perturbations not only makes adversarial samples degrade model detection performance, but also improves attack efficiency by generating adversarial samples in real time.
[0067] The method provided by the present invention has achieved significant technical progress, effectively solved many defects of the prior art, and provided an innovative solution in the field of network traffic adversarial sample generation. These technical advances not only improve the attack performance and generation efficiency of adversarial samples, but also provide a new perspective for the field of network security and lay the foundation for more effectively designing artificial intelligence models that can resist adversarial attacks.
[0068] Fourth, the technical design adopted by the time series-based network traffic adversarial sample generation method of the present invention targets several key technical problems in the prior art and achieves significant technical progress.
[0069] 1. Dataset expansion and feature enhancement: The original PCAP file of network traffic is expanded to extract time series features and combined with traffic statistical features. This not only increases the feature dimension of the dataset, but also enhances the temporal characteristics of the traffic for model training.
[0070] 2. Perturbation injection algorithm and mask mechanism: Use the mask mechanism to find the appropriate location to insert the adversarial perturbation, so as to quickly and accurately locate the perturbation position and iteratively generate the correct adversarial perturbation.
[0071] 3. Universal adversarial perturbation technology: Generate adversarial samples through a white-box attack algorithm that understands the detailed parameters of the model, and use these adversarial samples as universal adversarial perturbations. This not only reduces the overhead of generating adversarial samples in real-time systems, but also improves the performance of adversarial sample attacks.
[0072] Technical issues solved:
[0073] 1. Limitation of a single feature source: Traditional adversarial samples rely on a single network traffic source or simple data statistical features, which makes it difficult to comprehensively consider the characteristics of network traffic. By integrating extended data and multi-dimensional features, the present invention improves the comprehensiveness and performance of adversarial samples.
[0074] 2. Inadequate adversarial sample processing: Previous adversarial sample generation methods were ineffective in attacking models and lacked flexibility. The introduction of universal adversarial perturbations allows adversarial sample generation to be independent of the target model, better generating adversarial samples in real time without the need to query model-related information.
[0075] 3. Adaptability and flexibility of network traffic types: Existing methods often generate adversarial samples for a single type of network traffic and lack comprehensive adaptability. The time series features of the present invention and two universal adversarial perturbation designs for different traffic types make the method flexibly applicable to a variety of network traffic types, enhancing the versatility and adaptability of the method.
[0076] Technological advances achieved:
[0077] 1. Improved the efficiency of adversarial sample generation and attack performance: By combining general adversarial perturbations and masking mechanisms, the efficiency of adversarial sample generation and attack effects are significantly improved.
[0078] 2. Improved adaptability and flexibility of adversarial samples: The design of adversarial samples for multiple types of network traffic and data expansion strategies enable the present invention to adapt to a wider range of applications and more complex information environments.
[0079] 3. Make adversarial samples transferable: The universal adversarial perturbations generated by this method can attack different detection models, significantly reducing the detection performance of the model.
[0080] The present invention not only solves the existing problems technically, but also demonstrates significant technical advantages in practical applications, providing an efficient, accurate and flexible new tool for generating network traffic adversarial samples.
[0081] Fifth, the present invention solves the vulnerability problem of network traffic classification intrusion detectors in the face of adversarial attacks in the prior art through a method for generating network traffic adversarial samples based on time series. Traditional network traffic classification methods are difficult to maintain efficient and accurate detection effects when facing malicious attacks. By introducing the Wireshark tool to extract network traffic data PCAP packets and using quintuples to extract data packet timestamp information, the present invention achieves accurate description of traffic data packets and extraction of time features, thereby laying the foundation for subsequent adversarial sample generation.
[0082] Specifically, the present invention uses 1D-CNN one-dimensional convolutional neural network to perform model training on the normalized traffic time series feature vector, effectively compresses data and extracts deep features through a multi-layer fully connected network structure. This process significantly improves the model's ability to capture network traffic features, improves classification accuracy and the generation of adversarial samples. Compared with traditional methods, the combination of the convolutional neural network and the fully connected layer of the present invention can process large-scale time series data more efficiently, and use ReLU and Softmax activation functions to improve the nonlinear expression ability of the model.
[0083] In the process of generating adversarial samples, the present invention introduces the FGSM attack algorithm, initializes the perturbation through random numbers in the sample time feature domain, and generates adversarial samples on the CNN model. This method can not only generate efficient adversarial samples, but also optimize the effect of adversarial samples through perturbation injection and iterative update. By generating and injecting perturbations for different traffic types (such as botnets, brute force cracking, port scanning, and DDoS, etc.), the present invention ensures the effectiveness of adversarial samples against various types of traffic attacks, thereby significantly improving the robustness and defense capabilities of network traffic classification intrusion detectors.
[0084] Finally, the present invention further improves the efficiency and effect of adversarial sample generation by saving and injecting universal adversarial perturbations. Through the combination of denoising autoencoders and fully connected layers, the final classifier model can efficiently process traffic samples injected with adversarial perturbations, and map them to the probability distribution of traffic types through the Softmax function, thereby achieving accurate classification of different traffic types. Compared with the prior art, the present invention has made significant technical progress in adversarial sample generation methods and classifier robustness, greatly improving network security defense capabilities and intrusion detection effects. BRIEF DESCRIPTION OF THE DRAWINGS
[0085] Figure 1 It is a schematic diagram of a method for generating network traffic adversarial samples based on time series provided by an embodiment of the present invention;
[0086] Figure 2 It is a flow chart of a method for generating adversarial samples of network traffic based on time series provided by an embodiment of the present invention;
[0087] Figure 3 It is a structural diagram of a method for generating adversarial samples of network traffic based on time series provided in an embodiment of the present invention.
[0088] Figure 4 This is a rendering of the method for generating adversarial samples of network traffic based on time series provided in an embodiment of the present invention.
[0089] Figure 5This is a comparison effect diagram between the time series-based network traffic adversarial sample generation method provided by an embodiment of the present invention and similar technologies. DETAILED DESCRIPTION
[0090] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0091] The network traffic adversarial sample generation method based on time series of the present invention provides an effective solution for network traffic adversarial sample generation by combining general adversarial perturbations and deep learning technology. Two specific embodiments are listed below to demonstrate the application of this method in different scenarios.
[0092] Example 1: DDoS traffic adversarial sample generation
[0093] 1. Data preprocessing: Use a variety of DDoS attack tools to attack the server and collect the corresponding network traffic to build training and test data sets.
[0094] 2. Feature extraction: Use the quintuple to extract the corresponding flow in the PCAP traffic file, extract the time interval between packets in the flow and the flow duration as features, and add directions to the time series features.
[0095] 3. Deep neural network training: Use the feature data obtained in step 2 to train a one-dimensional convolutional neural network model, which is used to generate and adjust universal adversarial perturbations.
[0096] 4. Adversarial sample generation: Use the FGSM attack algorithm on the model in step 3 to generate adversarial samples of DDoS traffic, inject the adversarial samples into the corresponding positions and recalculate the flow duration characteristics, and finally iteratively generate the corresponding type of general adversarial perturbations.
[0097] 5. Classification detection: Generic adversarial perturbations are injected into DDoS traffic and input into the classifier, which significantly reduces the accuracy of the classifier in identifying DDoS traffic.
[0098] Example 2: Generating adversarial samples of botnet traffic
[0099] 1. Data preprocessing: Use multiple botnets to attack the server, focus on the botnet network traffic, and collect its PCAP raw traffic data.
[0100] 2. Feature extraction: Use quintuples to extract the time interval between data packets in the flow and the flow duration as features, add direction to the time series features, and construct test and training datasets.
[0101] 3. Deep neural network training: Use the processed data to train a one-dimensional convolutional neural network model for detecting botnet traffic.
[0102] 4. Adversarial sample generation: Use the FGSM attack algorithm on the white-box model, inject the adversarial sample into the corresponding position of the original sample, and iteratively generate a time-series-based universal adversarial perturbation of the botnet traffic.
[0103] 5. Classification detection: By injecting universal adversarial perturbations into botnet traffic, the accuracy of identifying botnet traffic using other classifiers is greatly reduced.
[0104] These two embodiments demonstrate that the adversarial sample generation method can target multiple traffic types and perform appropriate generation processing on different traffic types, thereby effectively improving the attack performance of the adversarial samples.
[0105] like Figure 1 , Figure 2 As shown, the method for generating network traffic adversarial samples based on time series provided by an embodiment of the present invention includes:
[0106] S1, input the original network traffic dataset into the model for preprocessing;
[0107] S2, input the traffic time series feature vector obtained by S1 into the classifier model used for training;
[0108] S3, combining the FGSM attack algorithm in the classifier model to generate adversarial perturbations;
[0109] S4, use the adversarial perturbation generated in step 3 to inject into the specified position of the original sample, and return it to the classifier model to iteratively update the adversarial perturbation;
[0110] S5, injecting the adversarial perturbation iteratively generated in step 4 as a universal adversarial perturbation into the original traffic sample of the corresponding type.
[0111] S6, finally, the adversarial sample is input into the final classifier model for classification.
[0112] The method for generating adversarial samples of network traffic based on time series provided by the embodiment of the present invention involves a series of steps from preprocessing of the original network traffic data set, to deep neural network training, to iterative use of the FGSM attack algorithm combined with statistical features, and application of general adversarial perturbations, and finally detection through a classifier. The signal and data processing process in each step will be explained in detail below:
[0113] S1: Input the original network traffic dataset into the model for preprocessing
[0114] *Signal and data reception: First, the system receives raw network traffic data sets. These data sets contain various types of network traffic, such as DDoS traffic, botnet traffic, port scanning traffic, etc.
[0115] * Preprocessing: The preprocessing model extracts the corresponding time series feature vectors and the corresponding flow duration statistical features from the original network traffic data, and normalizes the data set to make the data consistent with the smoothness of neural network training.
[0116] S2: Input the traffic time series feature vector obtained by S1 into the classifier model used for training
[0117] *Feature vector dataset division: The time series feature vector dataset after network traffic preprocessing is divided into a test set, a validation set, and a training set for model training and adjustment.
[0118] *Network training: The one-dimensional convolutional neural network performs classification tests on the test set through multiple iterative learning, and continuously optimizes the model parameters to improve the model's detection performance for different traffic types.
[0119] S3: Generate adversarial perturbations by combining the FGSM attack algorithm in the classifier model
[0120] *Data preparation: The validation set in the model training dataset is used for the generation and training of adversarial samples.
[0121] * Adversarial sample generation: fill the perturbation positions in the data and use the FGSM attack algorithm on the model to generate adversarial samples.
[0122] S4: Use the adversarial perturbation generated in step 3 to inject into the specified position of the original sample, and return it to the classifier model to iteratively update the adversarial perturbation:
[0123] *Inject perturbation: The adversarial sample generated in step 3 is injected into the original sample using a mask mechanism as a perturbation.
[0124] *Update perturbation: Return the perturbed sample to the classifier model to calculate the loss and gradient, and update the adversarial sample based on the loss and gradient.
[0125] S5: Inject the adversarial perturbation generated iteratively in step 4 as a universal adversarial perturbation into the original traffic sample of the corresponding type
[0126] * Save perturbations: After T rounds of iterations in step 4, the adversarial samples of different types of traffic generated based on the classifier model are saved as universal adversarial perturbations of the corresponding types of traffic.
[0127] * Apply perturbations: Inject the common adversarial perturbations of the corresponding type of traffic into the original samples of the corresponding type of network traffic using the same masking mechanism.
[0128] S6: Finally, the adversarial sample is input into the final classifier model for classification
[0129] *Classifier detection: The last perturbed network traffic sample is input into the classifier (such as stacked denoising autoencoder) for detection. The classifier will classify the adversarial sample and give the corresponding detection result.
[0130] S1 specifically includes: extracting the PCAP packets of network traffic data through Wireshark, and extracting the arrival timestamps of the data packets in the flow through the five-tuple; network traffic consists of multiple data packets, each of which consists of a header and data payload information generated by the application. src and IP dst Respectively represent the source IP address and destination IP address of the data packet, Port src and Port dst Respectively represent the source port and destination port of the data packet, Pro represents the communication protocol of the data packet, and Time represents the timestamp information of the data packet. These information are combined together to represent the time feature content of a data packet:
[0131]
[0132] A flow is composed of multiple data packets communicated between two applications in the same time period. It is a collection of the common header of the data packets and the time information of a series of data packets. A flow contains a collection of time characteristics of data packets in both the upstream and downstream directions; Represents the set of all packets in a flow. Finger Flow F i The collection of data packet payloads, which in this article refers to the time interval information between each data packet in a flow. Represented as flow F i The kth time series feature in . Represents flow F i The total duration of the stream is the sum of the time intervals of all packets in the stream:
[0133]
[0134] For the intrusion detector of network traffic classification, its input space is defined as elements, and use Indicates that the flow duration is the sum of the time intervals between packets. To improve the detector performance, the time interval is multiplied by the direction D of the packet and combined with the total duration of the flow. The positive or negative indicates whether the packet is uplink or downlink:
[0135]
[0136] S2 specifically includes: normalizing the flow time series feature vector of the input space in S1 to meet the smoothing requirements of the neural network training data:
[0137] (1) The original network traffic data set obtained in S1 is first logarithmically transformed:
[0138]
[0139] (2) Then the result of step (1) is normalized to the maximum value:
[0140]
[0141] (3) Finally, adjust the result of step (2) to the minimum value:
[0142] x norm =x maxnorm -min(x maxnorm ) (6)
[0143] For the normalized traffic time series feature vector in S2, the 1D-CNN one-dimensional convolutional neural network is used for model training:
[0144] (1) Input the normalized original sample of network traffic time series features;
[0145] (2) The input data is compressed from 1001 to 63 by four convolution blocks, and then expanded into a one-dimensional vector by a flattening layer;
[0146] (3) Using multiple fully connected layer network structures and ReLu activation function, the result of step (2) is gradually reduced in feature dimension through the fully connected layers;
[0147] (4) Normalize the result of step (3) and use the Softmax function to finally map the probability distribution of the five categories of features.
[0148] S3 specifically includes: using random numbers in the sample time feature domain to initialize the perturbation of the validation set, and then using the FGSM attack algorithm on the initialized perturbation sample on the CNN model to generate adversarial samples. Where x represents the original sample, ∈ represents the learning rate, θ represents the weight parameter of the model, J(θ, x, y) is the loss function of the model, Represents the gradient of the loss function of the neural network model J, where sign is the sign function, i.e. the direction of the gradient;
[0149]
[0150] S4 specifically includes: injecting the adversarial samples generated by the FGSM attack algorithm on 1D-CNN into the specified position of the original sample as adversarial perturbations, and the generation method is different for different traffic flows:
[0151] (1) Select the number of traffic packets that need to be disturbed, n+1, corresponding to the number of features that need to be disturbed, which is n;
[0152] (2) The masking mechanism is based on the time series characteristics of the flow samples and their directionality. As described in claim 2, the input space of the model is defined, and a directionality mark is added to each time interval feature. In each flow sample, the positions where the direction of the data packet changes are found, and a number n of perturbations are inserted at these positions;
[0153] (3) After generating adversarial perturbations, botnet, brute force, port scanning, and common Web attack traffic is injected into the location selected in step (2) of the original sample and returned to the model for calculation together with the flow duration of the original sample;
[0154] (4) After the DDoS traffic generates the adversarial sample, it is injected into the position selected by the original sample in step (2). The adversarial sample is first denormalized, then the duration of the perturbed flow is recalculated, and finally the sample is renormalized and returned to the model for calculation;
[0155] (5) Continue to use the FGSM attack algorithm on the model based on the adversarial sample, update the adversarial perturbation, inject the original sample, and iterate T rounds.
[0156] S5 specifically includes: saving the two different adversarial perturbations generated for different traffic in S4 as universal adversarial perturbations using the following formula; where ||δ v || p is the perturbation δ v l p norm (p∈[1,∞)), used to measure the size of the perturbation, ∈ is a small positive number, indicating the allowable error rate. By solving this optimization problem, a perturbation δ can be generated v , this perturbation is effective for most samples:
[0157]
[0158] S6 specifically includes: training a stacked denoising autoencoder as a black-box traffic classifier, injecting universal adversarial perturbations of different traffic types into the corresponding types of traffic, and inputting them into the final classifier model for classification:
[0159] (1) Input the normalized original sample of network traffic time series features;
[0160] (2) The data passes through three denoising autoencoders and fully connected layers, with lengths ranging from 1000 to 5, corresponding to five traffic types;
[0161] (3) The output is mapped into the probability distribution of five traffic types through the Softmax function;
[0162] (4) Generic adversarial perturbations of different traffic types are injected into traffic samples of corresponding types;
[0163] (5) Finally, the data is input into the trained stacked denoising autoencoder classifier to test the adversarial sample generation effect.
[0164] like Figure 3 As shown, the network traffic adversarial sample generation system based on time series provided by the embodiment of the present invention includes:
[0165] Data preprocessing module, used to extract time series features of network traffic and normalize data;
[0166] A deep neural network training module, which is used to train a deep neural network that generates adversarial samples using data;
[0167] Adversarial sample generation module, which is used to combine data with neural networks and use the FGSM attack algorithm to iteratively generate universal adversarial perturbations for different traffic types;
[0168] The classifier detection module is used to input the final adversarial sample into the classifier for detection.
[0169] An application embodiment of the present invention provides a computer device, which includes a memory and a processor. The memory stores a computer program. When the computer program is executed by the processor, the processor executes the steps of the method for generating network traffic adversarial samples based on time series.
[0170] An application embodiment of the present invention provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the processor executes the steps of a method for generating adversarial samples of network traffic based on time series.
[0171] An application embodiment of the present invention provides an information data processing terminal, which is used to implement the network traffic adversarial sample generation system based on time series.
[0172] A method for generating adversarial samples of network traffic based on time series, characterized by universal adversarial perturbation generation for multiple types of network traffic, includes the following steps:
[0173] Step 1: Load and read the public CIC-IDS2017 dataset network traffic PCAP data;
[0174] Step 2: Input the data in step 1 into the data preprocessing module;
[0175] Step 3: Use the network traffic quintuple to extract the flow and payload from the PCAP data. The payload includes the flow duration, the time interval between each packet in the flow, and the upstream and downstream directions of the packet.
[0176] Step 4: Logarithmically transform, normalize the maximum value, and adjust the minimum value of the data obtained in step 3, and divide it into a test set, a validation set, and a training set;
[0177] Step 5: Construct four convolution blocks, each of which uses the ELU activation function, the Dropout rate is 0.1, the optimizer is Adamax, the vector dimension is 1001, the learning rate is set to 0.000001, and the fully connected layer uses the ReLU activation function;
[0178] Step 6: Input the training set and validation set of the data in step 4 into the one-dimensional convolutional neural network model in step 5 for training;
[0179] Step 7: Input the verification set of the data in step 4 into the adversarial sample generation module;
[0180] Step 8: Input data and use the FGSM attack algorithm to attack the neural network trained in step 6;
[0181] Step 9: Extract the data at the position where the disturbance is required in the generated time series adversarial sample and the original sample, and insert it into the corresponding original sample;
[0182] Step 10: Return the adversarial sample in step 9 together with the flow duration to the neural network to calculate the loss and gradient;
[0183] Step 11: Continue to use the FGSM attack algorithm to update the adversarial sample based on the loss and gradient;
[0184] Step 12: Repeat steps 9 to 11 until 100 rounds of adversarial sample generation are completed;
[0185] Step 13: For the DDoS type traffic of the data in step 4, use the data to perform FGSM attack on the neural network;
[0186] Step 14: Extract the data at the position where the disturbance is required in the generated time series adversarial sample and the original sample, and insert it into the corresponding original sample;
[0187] Step 15: Denormalize the adversarial sample in step 14;
[0188] Step 16: Recalculate the flow duration of the adversarial sample;
[0189] Step 17: Combine the flow duration in step 16 with the adversarial sample in step 13 and return them to the neural network to calculate the loss and gradient;
[0190] Step 18: Update the adversarial example based on the loss and gradient;
[0191] Step 19: Repeat steps 14 to 18 until 100 rounds of adversarial sample generation are completed;
[0192] Step 20: Save the adversarial sample generated after iteration of step 12 and step 19 as a universal adversarial sample;
[0193] Step 21: Construct three denoising autoencoders, add Gaussian noise with a standard deviation of 0.001, use ReLU as the activation function, Adam as the optimizer, 1000 as the vector dimension, and set the learning rate to 0.00001;
[0194] Step 22: Extract the data that is not related to the convolutional neural network in step 3 and construct the test set, validation set and training set;
[0195] Step 23: Input the data from step 22 into the stacked denoising autoencoder for training;
[0196] Step 24: Insert the universal adversarial perturbation of step 20 into the test set data of step 22;
[0197] Step 25: Input the adversarial sample constructed in step 24 into the stacked denoising autoencoder trained in step 23 for final detection;
[0198] Step 26: The overall accuracy of the model is 92.89%, and the overall accuracy of the model after using adversarial samples is 16.41%.
[0199] Application Example 1: Enterprise-level Network Security Protection System
[0200] In large enterprises, network security is of vital importance. The enterprise's network often faces various attacks, including DDoS attacks, botnet attacks, brute force cracking and port scanning. In order to protect the sensitive data and business systems of the enterprise, an efficient intrusion detection and protection system is necessary.
[0201] 1) Data collection and preprocessing:
[0202] Use the Wireshark tool to collect traffic data in the enterprise network, extract PCAP packets and obtain five-tuple information (source IP, destination IP, source port, destination port, protocol, timestamp, etc.).
[0203] The data is cleaned and normalized to generate time series feature vectors.
[0204] 2) Model training:
[0205] The 1D-CNN one-dimensional convolutional neural network is used to train the model on the preprocessed time series feature vector.
[0206] Through multi-layer convolution blocks and fully connected layers, deep features are extracted, and ReLU and Softmax activation functions are used to improve the classification accuracy of the model.
[0207] 3) Adversarial sample generation and optimization:
[0208] The FGSM attack algorithm is used to generate adversarial samples on the trained CNN model.
[0209] Different types of traffic (such as DDoS, brute force cracking, etc.) are disturbed and injected separately to ensure the effectiveness of adversarial samples.
[0210] 4) Real-time monitoring and protection:
[0211] The generated adversarial samples are injected into the enterprise network traffic for testing, and the trained stacked denoising autoencoder classifier is used for real-time monitoring.
[0212] Based on the monitoring results, network security strategies are automatically adjusted to enhance the defense capabilities against attacks.
[0213] Results and benefits:
[0214] Enhanced protection capabilities: By generating adversarial samples and conducting real-time monitoring, enterprise network security protection systems can more effectively detect and defend against various types of attacks.
[0215] Reduce false positives and false negatives: The optimized model can accurately classify and process traffic, improve the accuracy of intrusion detection, and reduce false positives and false negatives.
[0216] Improve network security: Through the continuous optimization and injection of adversarial samples, the robustness and defense capabilities of the enterprise network security protection system are significantly improved, protecting the company's sensitive data and business systems.
[0217] Application Example 2: Traffic Management and Security System in Smart Cities
[0218] In smart cities, the management and security of network traffic are key issues. The normal operation of intelligent transportation systems, public service systems, and municipal infrastructure all rely on a stable and secure network environment. However, these systems are also exposed to various cyber attacks and security threats.
[0219] 1) Data collection and preprocessing:
[0220] Deploy Wireshark tools at various network nodes in smart cities (such as traffic control systems, public service platforms, etc.) to collect network traffic data.
[0221] Extract the five-tuple information, clean and normalize the data, and generate the time series feature vector.
[0222] 2) Model training:
[0223] The 1D-CNN one-dimensional convolutional neural network is used to train the model of the time series feature vectors of each network node in the smart city.
[0224] Through multi-layer convolution blocks and fully connected layers, deep features are extracted to improve the classification accuracy and protection capabilities of the model.
[0225] 3) Adversarial sample generation and optimization:
[0226] Use the FGSM attack algorithm to generate adversarial samples on the trained CNN model.
[0227] For different types of traffic attacks (such as botnets, port scans, common Web attacks, etc.), disturbance generation and injection are performed separately.
[0228] 4) Real-time monitoring and protection:
[0229] The trained stacked denoising autoencoder classifier is deployed in the network traffic management system of the smart city to monitor the traffic in real time after the adversarial samples are injected.
[0230] Based on the monitoring results, security policies are dynamically adjusted to ensure the stability and security of the network.
[0231] Results and benefits:
[0232] Improve public safety: Through real-time monitoring and protection, the network traffic management system of smart cities can effectively defend against various network attacks and ensure public safety.
[0233] Optimize traffic management: Through accurate classification and processing of network traffic, the traffic management of smart cities is optimized and the network utilization efficiency is improved.
[0234] Enhance system robustness: Continuously generate and optimize adversarial samples to improve the robustness of the system in the face of complex network environments and attacks, ensuring the normal operation of various smart city systems.
[0235] Through the above two specific embodiments, it can be seen that the network traffic adversarial sample generation method based on time series of the present invention has significant application value and effect in enterprise-level network security protection and smart city traffic management and security systems. These optimization methods and technologies not only improve network security protection capabilities, but also provide strong guarantees for the stable operation of intelligent systems.
[0236] The embodiments of the present invention have achieved some positive effects during the development or use process, and indeed have great advantages over the prior art. The following content is described in conjunction with data, charts, etc. of the test process.
[0237] Traffic Type Accuracy Recall Botnet 97.79% 88.08% BruteForce 94.29% 100.00% DDoS 93.71% 92.73% PortScan 94.29% 100.00% WebAttack 100.00% 98.61%
[0238] As shown in the above table, the table shows the accuracy and recall of the stacked denoising autoencoder (SDAE) model trained according to the embodiment method using network traffic time series feature data, which has a relatively accurate effect on the detection of five types of network traffic.
[0239] like Figure 4 As shown in the figure, the attack effect of the network traffic adversarial sample generation method based on time series provided by the embodiment of the present invention on the SDAE model is shown in the figure. The original accuracy of the model is shown in the figure without attack. The AdvBurst attack is the attack effect of the same type of technology. Attack 1 and Attack 2 are Figure 1 The network traffic adversarial sample generation method based on time series in the present invention targets two attack methods of different traffic. The attack method proposed in the present invention reduces the model accuracy by 70.68%, and has better attack effect than the same type of technical attacks. Compared with applying attack 1 or attack 2 to all traffic types, the attack proposed by the present invention that combines the two also has a certain effect improvement.
[0240] like Figure 5 As shown, the specific comparative effect of the network traffic adversarial sample generation method based on time series provided by the embodiment of the present invention and the same type of technical attack method on the SDAE detection model in different traffic flows. The horizontal axis is the number of perturbed features, and the vertical axis is the model recall rate or accuracy percentage.
[0241] It should be noted that the embodiments of the present invention can be implemented by hardware, software, or a combination of software and hardware. The hardware part can be implemented using dedicated logic; the software part can be stored in a memory and executed by an appropriate instruction execution system, such as a microprocessor or dedicated design hardware. It can be understood by a person of ordinary skill in the art that the above-mentioned devices and methods can be implemented using computer executable instructions and / or contained in a processor control code, such as a carrier medium such as a disk, CD or DVD-ROM, a programmable memory such as a read-only memory (firmware), or a data carrier such as an optical or electronic signal carrier. Such code is provided on the carrier medium. The device and its modules of the present invention can be implemented by hardware circuits such as very large-scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, etc., or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc., can also be implemented by software executed by various types of processors, and can also be implemented by a combination of the above-mentioned hardware circuits and software, such as firmware.
[0242] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any modifications, equivalent substitutions and improvements made by any technician familiar with the technical field within the technical scope disclosed by the present invention and within the spirit and principle of the present invention should be covered by the protection scope of the present invention.
Claims
1. A method for generating adversarial samples of network traffic based on time series, characterized in that: include: S1, input the original network traffic dataset into the model for preprocessing; S2, input the traffic time series feature vector obtained by S1 into the classifier model used for training; S3, combining the FGSM attack algorithm in the classifier model to generate adversarial perturbations; S4, inject the adversarial perturbation generated by S3 into the specified position of the original sample, and return it to the classifier model to iteratively update the adversarial perturbation; S5, injecting the adversarial perturbation iteratively generated in S4 into the original traffic sample of the corresponding type as a universal adversarial perturbation; S6, finally, the adversarial sample is input into the final classifier model for classification.
2. The method for generating adversarial samples of network traffic based on time series according to claim 1, characterized in that: The original network traffic data set extracted from S1 specifically includes: extracting the network traffic data PCAP package through Wireshark, and extracting the arrival timestamp of the data packet in the flow through the five-tuple; src and IP dst Respectively represent the source IP address and destination IP address of the data packet, Port src and Port dst Respectively represent the source port and destination port of the data packet, Pro represents the communication protocol of the data packet, and Time represents the timestamp information of the data packet. The information is aggregated together to represent the time characteristic content of a data packet: A flow is composed of multiple data packets communicated between two applications in the same time period. It is a collection of the common header of the data packets and the time information of a series of data packets. A flow contains the time feature set of data packets in both the upstream and downstream directions. Represents the set of all packets in a flow; Finger Flow F i The collection of data packet payloads, that is, the time interval information between each data packet in a flow; Represented as flow F i The kth time series feature in ; Represents flow F i The total duration of the stream is the sum of the time intervals of all packets in the stream: stk∈(1,n-1),j∈(1,n) (2) For the intrusion detector of network traffic classification, its input space is defined as elements, and use Indicates that the flow duration is the sum of the time intervals between packets. To improve the detector performance, the time interval is multiplied by the direction D of the packet and combined with the total duration of the flow. The positive or negative indicates whether the packet is uplink or downlink:
3. The method for generating adversarial samples of network traffic based on time series according to claim 1, characterized in that: S2 specifically includes: for the normalized traffic time series feature vector, a 1D-CNN one-dimensional convolutional neural network is used for model training: (1) Input the normalized original sample of network traffic time series features; (2) The input data is compressed from 1001 to 63 by four convolution blocks, and then expanded into a one-dimensional vector by a flattening layer; (3) Using multiple fully connected layer network structures and ReLu activation function, the result of step (2) is gradually reduced in feature dimension through the fully connected layers; (4) Normalize the result of step (3) and use the Softmax function to finally map the probability distribution of the five categories of features.
4. The method for generating adversarial samples of network traffic based on time series according to claim 1, characterized in that: S3 specifically includes: using random numbers in the sample time feature domain to initialize the perturbation of the validation set, and then using the FGSM attack algorithm on the initialized perturbation sample on the CNN model to generate adversarial samples; where x represents the original sample, ∈ represents the learning rate, θ represents the weight parameter of the model, J(θ,x,y) is the loss function of the model, Represents the gradient of the loss function of the neural network model J, where sign is the sign function, i.e. the direction of the gradient; 5. The method for generating adversarial samples of network traffic based on time series according to claim 1, characterized in that: S4 specifically includes: injecting the result of S3 as adversarial disturbance into the specified position of the original sample, and generating different methods for different traffic flows: (1) Select the number of traffic packets that need to be disturbed, n+1, corresponding to the number of features that need to be disturbed, which is n; (2) The masking mechanism is based on the time series characteristics and directionality of the flow samples, as described in claim 2, defining the input space of the model and adding a directional marker to each time interval feature; finding the locations where the direction of the data packet changes in each flow sample, and inserting a number n of perturbations at these locations; (3) After generating adversarial perturbations, botnet, brute force, port scanning, and common Web attack traffic is injected into the location selected in step (2) of the original sample and returned to the model for calculation together with the flow duration of the original sample; (4) After the DDoS traffic generates the adversarial sample, it is injected into the position selected by the original sample in step (2). The adversarial sample is first denormalized, then the duration of the perturbed flow is recalculated, and finally the sample is renormalized and returned to the model for calculation; (5) Continue to use the FGSM attack algorithm on the model based on the adversarial sample, update the adversarial perturbation, inject the original sample, and iterate T rounds.
6. The method for generating adversarial samples of network traffic based on time series according to claim 1, characterized in that: S5 specifically includes: saving the two different adversarial perturbations generated for different traffic in S4 as universal adversarial perturbations using the following formula; where ||δ v || p is the perturbation δ v l p norm (p∈[1,∞)), which is used to measure the size of the disturbance, ∈ is a small positive number, indicating the allowable error rate; by solving this optimization problem, a disturbance δ can be generated v , this perturbation is effective for most samples:
7. The method for generating adversarial samples of network traffic based on time series according to claim 1, characterized in that: S6 specifically includes: injecting the universal adversarial perturbations of different traffic types saved in S5 into the corresponding type of traffic, and inputting them into the final classifier model for classification: (1) Input the normalized original sample of network traffic time series features; (2) The data passes through three denoising autoencoders and fully connected layers, with lengths ranging from 1000 to 5, corresponding to five traffic types; (3) The output is mapped into the probability distribution of five traffic types through the Softmax function; (4) Generic adversarial perturbations of different traffic types are injected into traffic samples of corresponding types; (5) Finally, the data is input into the trained stacked denoising autoencoder classifier to test the adversarial sample generation effect.
8. A network traffic adversarial sample generation system based on time series features that implements the network traffic adversarial sample generation method based on time series features as described in any one of claims 1 to 7, characterized in that: include: Data preprocessing module, used to extract time series features of network traffic and normalize data; A deep neural network training module, which is used to train a deep neural network that generates adversarial samples using data; Adversarial sample generation module, which is used to combine data with neural networks and use the FGSM attack algorithm to iteratively generate universal adversarial perturbations for different traffic types; The classifier detection module is used to input the final adversarial sample into the classifier for detection.
9. A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method for generating network traffic adversarial samples based on time series features as described in any one of claims 1 to 7.
10. An information data processing terminal, used for implementing the network traffic adversarial sample generation system based on time series features as described in claim 8.
Citation Information
Patent Citations
General adversarial sample generation method based on DE-CW
CN116304703A
Cited By
Zero-trust behavior anomaly detection method and device, electronic equipment and storage medium
CN118869357A
Traffic shaping method and system based on deep learning and antagonism strategy
CN119383017A
Method for generating network traffic general disturbance patch based on superposition and confusion
CN119402271A
Website fingerprint attack-oriented few-sample data enhancement method and system, medium and program product
CN119788394A
Encrypted traffic attack resisting method, electronic equipment, storage medium and product
CN120498624A
