SSL encrypted traffic attack behavior intelligent identification system based on deep packet detection

Through the intelligent identification system of SSL encrypted traffic attack behavior based on deep packet inspection, it captures and analyzes traffic data in real time, identifies potential attack behaviors and updates detection parameters, solving the problems of low identification efficiency and poor adaptability of the existing system, achieving a more efficient identification of attack behaviors and faster response capabilities.

CN118694575AInactive Publication Date: 2024-09-24ZHUHAI POWER SUPPLY BUREAU GUANGDONG POWER GIRD CO
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410747333.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-09-24
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing SSL encrypted traffic attack behavior intelligent identification system has low identification efficiency and accuracy of attack behavior, slow adaptability and response speed, and cannot effectively respond to various network security threats. In particular, the identification ability of new attacks is poor and errors occur. High reporting rate.

Method used

Adopt an intelligent identification system for SSL encrypted traffic attack behavior based on deep packet inspection, including processing classification module, behavior identification module, decision analysis module, attack source tracing module, learning update module, anomaly monitoring module, alarm response module, log analysis module and system update The module captures and analyzes traffic data in real time through deep packet inspection technology, identifies potential attack behaviors, conducts risk assessment and locates attack sources, and updates detection parameters through the immune memory library to improve identification capabilities.

Benefits of technology

It improves the efficiency and accuracy of identifying attack behaviors, enhances the adaptability and response speed of the system, can more comprehensively respond to various network security threats, reduces the false alarm rate, and improves the ability to identify new types of attacks and network security. Security and stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118694575A
    Figure CN118694575A
Patent Text Reader

Abstract

The invention discloses an SSL encrypted traffic attack behavior intelligent identification system based on deep packet inspection, and belongs to the technical field of network monitoring. Comprising a processing classification module, a behavior identification module, a decision analysis module, an attack tracing module, a learning updating module, an abnormity monitoring module, an alarm response module, a log analysis module, a monitoring platform and a system updating module. According to the method, potential attack behaviors can be found in time, the identification efficiency and accuracy of the attack behaviors can be improved, various network attacks can be effectively handled, the adaptability and response speed of the system can be improved, various network security threats can be more comprehensively handled, and the overall security and stability of the system can be improved; according to the method, the identification capability for novel attacks is improved, rapid response to new attack forms and threats is realized, the real-time monitoring and reaction capability for the network security situation is maintained, the false alarm rate is reduced, and the detection rate for real attacks is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of network monitoring, and in particular to an intelligent identification system for SSL encrypted traffic attack behaviors based on deep packet inspection. Background Art

[0002] With the popularization of the Internet and the rapid development of information technology, the network has become an indispensable part of people's lives and work. However, cyberspace is also facing increasingly complex and diverse security threats, including malware, phishing, denial of service attacks, etc. Among them, the widespread application of encrypted communication technology has made the network security situation more severe, because encrypted traffic can effectively hide the intentions and behaviors of attackers, which brings challenges to security defense. SSL is a commonly used encrypted communication protocol used to protect the confidentiality and integrity of network communications. However, it is precisely because of the encryption characteristics of SSL that traditional network security defense methods have become difficult to detect attack behaviors in SSL encrypted traffic. Traditional signature-based or rule-based detection methods often cannot effectively identify malicious behaviors in encrypted traffic, while methods based on behavioral analysis face problems such as low recognition accuracy and high false alarm rate.

[0003] The existing SSL encrypted traffic attack behavior intelligent identification system has low efficiency and accuracy in identifying attack behaviors, and the system's adaptability and response speed are slow, and it cannot comprehensively deal with various network security threats; in addition, the existing SSL encrypted traffic attack behavior intelligent identification system has poor recognition ability for new attacks, cannot quickly respond to new attack forms and threats, and has a high false alarm rate. For this reason, we propose an SSL encrypted traffic attack behavior intelligent identification system based on deep packet inspection. Summary of the invention

[0004] The purpose of the present invention is to solve the defects in the prior art and to propose an intelligent identification system for SSL encrypted traffic attack behavior based on deep packet inspection.

[0005] In order to achieve the above object, the present invention adopts the following technical solutions:

[0006] The SSL encrypted traffic attack behavior intelligent identification system based on deep packet inspection includes a processing classification module, a behavior identification module, a decision analysis module, an attack source tracing module, a learning update module, an abnormal monitoring module, an alarm response module, a log analysis module, a monitoring platform, and a system update module;

[0007] The processing and classification module is used to pre-process and classify network traffic data;

[0008] The behavior recognition module is used to identify and analyze potential attack behaviors in network traffic data;

[0009] The decision analysis module is used to model traffic behavior, predict possible future attack behaviors, and perform risk assessment;

[0010] The attack tracing module is used to analyze the time series characteristics of network traffic and track the attack path;

[0011] The learning and updating module is used to collect traffic behavior recognition data and continuously update detection parameters;

[0012] The anomaly monitoring module is used to capture and analyze traffic data in real time and monitor potential attack behaviors through deep packet inspection technology;

[0013] The alarm response module is used to alarm the detected attack behavior and take different response measures for different levels of threats;

[0014] The log analysis module is used to store and analyze historical log data;

[0015] The monitoring platform is used to view network traffic data monitoring information and perform manual operations;

[0016] The system update module is used to regularly update and optimize detection algorithms and rules.

[0017] As a further solution of the present invention, the specific steps of classifying network traffic data in the processing classification module are as follows:

[0018] Step 1: Get the preprocessed network traffic data set, and standardize each group of data in the data set. Construct each standardized traffic data in the data set into three parts: query, key, and value. Then use the dot product to calculate the similarity between the query and each key.

[0019] Step 2: Scale the calculated similarity results of each group, convert the scaled similarity results of each group into the corresponding probability distribution through the Softmax function, then multiply each probability distribution with the corresponding Value, and sum all weighted Values ​​to obtain the final attention vector;

[0020] Step 3: Divide the network traffic dataset into multiple parts, calculate the attention vector of each part separately, and then splice these vectors together to form the final multi-head attention. Input the spliced ​​multi-head attention vector into the classifier, and then the classifier outputs different classification labels according to the attention vector.

[0021] As a further solution of the present invention, the specific steps of risk assessment of the decision analysis module are as follows:

[0022] Step 1: Collect the specific conditions of each group of network traffic at each moment, and collect the set of all possible states s to construct the state space S. Then collect the measures that the system may take for specific traffic states, and integrate the set of all possible actions a to construct the action space A.

[0023] Step 2: Calculate the probability that the system will transfer to state s′ after taking action a in state s, and record this probability as P(s′|s,a). Estimate the transfer probability through historical data or expert knowledge, and construct a state transfer probability matrix. After that, the system successfully identifies the attack behavior as a positive reward, and the failure to identify or falsely report it as a negative reward.

[0024] Step 3: Based on historical recognition and system processing measures, obtain the immediate reward R(s,a) after the system takes action a in state s, then use the Bellman equation to calculate the value function of each state, and evaluate the expected long-term benefits of taking the best action in each state based on the calculated value functions of each group of states;

[0025] Step 4: Update the value function repeatedly until the preset convergence threshold is reached, and then take the strategy of taking the best action in each state as the best strategy. Based on the best strategy, for each group of abnormal traffic detected, select the corresponding action according to the current state and the learned strategy. According to the value function and the immediate reward function, evaluate the long-term benefits of taking different actions and select the best action.

[0026] As a further solution of the present invention, the specific calculation formula of the value function is as follows:

[0027] V(s)=max a [R(s,a)+γ∑ s′ P(s′|s,a)V(s′)]

[0028] Where V(s) represents the value function of state s; R(s,a) represents the reward after taking action a in state s; γ represents the discount factor; P(s′|s,a) represents the probability of transferring to state s′ after taking action a in state s; ∑ s′ represents the sum of all possible next states s′; max a It represents choosing the action that maximizes the value among all possible actions a.

[0029] As a further solution of the present invention, the attack path tracing module performs the following specific steps:

[0030] Step I: Use the IP address or the geographic location information of the network device to identify the geographic location of the network traffic data with attack behaviors, and cluster the geographic location information in the traffic data into different areas;

[0031] Step II: Based on the recognition results of the behavior recognition module, detect whether the traffic volume in each geographical location area is abnormal. If there is an abnormal traffic volume, it indicates that there is an area of ​​attack activity. Establish a network topology model based on network devices, connection relationships and communication paths;

[0032] Step III: Detect abnormal nodes or connections in the network topology, analyze the network topology, trace the possible paths of the attack, identify potential attack source devices, correlate and integrate the analysis results, and output the decision results of the attack source location, and feed it back to the user for subsequent analysis.

[0033] As a further solution of the present invention, the specific steps of updating the learning update module detection parameters are as follows:

[0034] Step 1: Initialize a set of immune memory banks to store historical network traffic data and their corresponding labels, randomly select multiple sets of data from the historically identified network traffic data as antigens, and then calculate the affinity of each antigen with the existing samples in the immune memory bank;

[0035] Step ②: Screen out antigens with affinity below the preset threshold, clone the remaining antigens in descending order of affinity, mutate the cloned antigens through random perturbation, mutation and recombination, and generate multiple sets of new antigens, then calculate the affinity of all current antigens with existing samples in the immune memory bank;

[0036] Step 3: Use the antigen with the highest affinity as training data, use the supervised learning algorithm to train the behavior recognition module, then add the cloned and mutated antigens and their corresponding labels to the immune memory bank, update the historical network traffic data, and repeatedly select antigens for training until the maximum number of iterations is reached. Then, reflect the latest network environment and threats to users based on the updated immune memory bank.

[0037] Compared with the prior art, the present invention has the following beneficial effects:

[0038] 1. The present invention collects the specific conditions of each group of network traffic at each moment, and collects the set of all possible states to construct a state space, then collects the measures that the system may take for a specific traffic state, integrates the set of all possible actions to construct an action space, calculates the probability of the system transferring to another state after taking action in the current state, estimates the transfer probability through historical data or expert knowledge, and constructs a state transfer probability matrix, then takes the successful identification of the attack behavior by the system as a positive reward, and takes the unidentified or false alarm as a negative reward, obtains the instant reward after the system takes action in the current state according to the historical identification situation and the system processing measures, and then uses the Bellman equation to calculate the value function of each state, and calculates the value function of each group of states according to the calculation. The value function under each state is used to evaluate the expected long-term benefits of taking the best action in each state. The value function is repeatedly updated until the preset convergence threshold is reached and then the strategy of taking the best action in each state is used as the best strategy. Based on the best strategy, for each group of abnormal traffic detected, the corresponding action is selected according to the current state and the learned strategy. According to the value function and the immediate reward function, the long-term benefits of taking different actions are evaluated and the best action is selected. Potential attack behaviors can be discovered in time, the efficiency and accuracy of identifying attack behaviors can be improved, various network attacks can be effectively responded to, the adaptability and response speed of the system can be improved, various network security threats can be more comprehensively responded to, and the overall security and stability of the system can be improved.

[0039] 2. The present invention initializes a group of immune memory banks to store historical network traffic data and their corresponding labels, randomly selects multiple groups of data from the historically identified network traffic data as antigens, then calculates the affinity of each antigen with existing samples in the immune memory bank, screens out antigens with affinity lower than a preset threshold, clones the remaining antigens according to affinity from large to small, mutates the cloned antigens through random perturbation, mutation and recombination, and generates multiple groups of new antigens, then calculates the affinity of all current antigens with existing samples in the immune memory bank, uses the antigen with the highest affinity as training data, uses a supervised learning algorithm to train the behavior recognition module, and then adds the cloned and mutated antigens and their corresponding labels to the immune memory bank, updates the historical network traffic data, repeatedly selects antigens for training, and stops after reaching the maximum number of iterations, and reflects the latest network environment and threats to the user based on the updated immune memory bank, improves the recognition ability of new attacks, realizes rapid response to new attack forms and threats, maintains real-time monitoring and response capabilities to network security situations, helps to reduce false alarm rates, and improves the detection rate of real attacks. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention.

[0041] Figure 1 This is a system block diagram of the SSL encrypted traffic attack behavior intelligent identification system based on deep packet inspection proposed by the present invention. DETAILED DESCRIPTION

[0042] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.

[0043] Example 1

[0044] Reference Figure 1 The SSL encrypted traffic attack behavior intelligent identification system based on deep packet inspection includes a processing classification module, a behavior identification module, a decision analysis module, an attack tracing module, a learning and updating module, an anomaly monitoring module, an alarm response module, a log analysis module, a monitoring platform and a system update module.

[0045] The processing and classification module is used to preprocess and classify network traffic data.

[0046] Specifically, a preprocessed network traffic data set is obtained, and each group of data in the data set is standardized. Each standardized traffic data in the data set is constructed into three parts: query, key and value. The dot product is used to calculate the similarity between the query and each key, and the calculated similarity results of each group are scaled. The scaled similarity results of each group are converted into corresponding probability distributions through the Softmax function, and then each probability distribution is multiplied by the corresponding Value, and all weighted Values ​​are summed to obtain the final attention vector. The network traffic data set is divided into multiple parts, and the attention vector of each part is calculated separately. These vectors are then spliced ​​together to form the final multi-head attention, and the spliced ​​multi-head attention vector is input into the classifier, and then the classifier outputs different classification labels according to the attention vector.

[0047] The behavior recognition module is used to identify and analyze potential attack behaviors in network traffic data; the decision analysis module is used to model traffic behaviors, predict possible future attack behaviors, and conduct risk assessments.

[0048] Specifically, the specific situation of each group of network traffic at each moment is collected, and the set of all possible states s is collected to construct the state space S. Then, the measures that the system may take for a specific traffic state are collected, and the set of all possible actions a is integrated to construct the action space A. The probability of the system transferring to state s′ after taking action a in state s is calculated, and the probability is recorded as P(s′|s,a). The transition probability is estimated through historical data or expert knowledge, and a state transition probability matrix is ​​constructed. Then, the successful identification of the attack behavior by the system is regarded as a positive reward, and the unrecognized or false positive is regarded as a negative reward. According to the historical recognition situation and the system processing Measures, obtain the immediate reward R(s,a) after the system takes action a in state s, and then use the Bellman equation to calculate the value function of each state, and evaluate the expected long-term benefits of taking the best action in each state based on the calculated value function of each group of states, and repeatedly update the value function until it reaches the preset convergence threshold and stops, and then take the strategy of taking the best action in each state as the best strategy. Based on the best strategy, for each group of abnormal traffic detected, according to the current state and the learned strategy, select the corresponding action, and evaluate the long-term benefits of taking different actions according to the value function and the immediate reward function, and select the best action.

[0049] It should be further explained that the specific calculation formula of the value function is as follows:

[0050] V(s)=max a [R(s,a)+γ∑ s′ P(s′|s,a)V(s′)]

[0051] Where V(s) represents the value function of state s; R(s,a) represents the reward after taking action a in state s; γ represents the discount factor; P(s′|s,a) represents the probability of transferring to state s′ after taking action a in state s; ∑ s′ represents the sum of all possible next states s′; max a It represents choosing the action that maximizes the value among all possible actions a.

[0052] Example 2

[0053] Reference Figure 1 The SSL encrypted traffic attack behavior intelligent identification system based on deep packet inspection includes a processing classification module, a behavior identification module, a decision analysis module, an attack tracing module, a learning and updating module, an anomaly monitoring module, an alarm response module, a log analysis module, a monitoring platform and a system update module.

[0054] The attack tracing module is used to analyze the time series characteristics of network traffic and track the attack path.

[0055] Specifically, the network traffic data with attack behaviors is geographically identified through the IP address or geographic location information of the network device, and the geographic location information in the traffic data is clustered into different areas. The traffic volume of each geographic location area is detected to see if it is abnormal based on the recognition result of the behavior recognition module. If there is an abnormal traffic volume, it indicates that there is an area of ​​attack activity. A network topology model is established based on the network devices, connection relationships and communication paths, and abnormal nodes or connections in the network topology are detected. By analyzing the network topology structure, the possible paths of attack propagation are traced, and potential attack source devices are determined. The analysis results are then correlated and integrated, and the decision result of locating the source of the attack is output, and the result is fed back to the user for subsequent analysis.

[0056] The learning update module is used to collect traffic behavior identification data and continuously update the detection parameters.

[0057] Specifically, a group of immune memory banks are initialized to store historical network traffic data and their corresponding labels, and multiple groups of data are randomly selected from the historically identified network traffic data as antigens. Then, the affinity of each antigen with existing samples in the immune memory bank is calculated, and antigens with affinity lower than a preset threshold are screened out. The remaining antigens are cloned in descending order of affinity, and the cloned antigens are mutated through random perturbation, mutation and recombination to generate multiple groups of new antigens. Then, the affinity of all current antigens with existing samples in the immune memory bank is calculated, and the antigen with the highest affinity is used as training data. The behavior recognition module is trained using a supervised learning algorithm, and the cloned and mutated antigens and their corresponding labels are added to the immune memory bank, the historical network traffic data is updated, and antigens are repeatedly selected for training until the maximum number of iterations is reached and the training stops. The latest network environment and threats are reflected to users based on the updated immune memory bank.

[0058] The anomaly monitoring module is used to capture and analyze traffic data in real time and monitor potential attack behaviors through deep packet inspection technology; the alarm response module is used to alarm detected attack behaviors and take different response measures for different levels of threats; the log analysis module is used to store and analyze historical log data;

[0059] The monitoring platform is used to view network traffic data monitoring information and perform manual operations; the system update module is used to regularly update and optimize detection algorithms and rules.

Claims

1. An intelligent identification system for SSL encrypted traffic attack behaviors based on deep packet inspection, characterized in that: It includes processing classification module, behavior recognition module, decision analysis module, attack source tracing module, learning update module, abnormal monitoring module, alarm response module, log analysis module, monitoring platform and system update module; The processing and classification module is used to pre-process and classify network traffic data; The behavior recognition module is used to identify and analyze potential attack behaviors in network traffic data; The decision analysis module is used to model traffic behavior, predict possible future attack behaviors, and perform risk assessment; The attack tracing module is used to analyze the time series characteristics of network traffic and track the attack path; The learning and updating module is used to collect traffic behavior recognition data and continuously update detection parameters; The anomaly monitoring module is used to capture and analyze traffic data in real time and monitor potential attack behaviors through deep packet inspection technology; The alarm response module is used to alarm the detected attack behavior and take different response measures for different levels of threats; The log analysis module is used to store and analyze historical log data; The monitoring platform is used to view network traffic data monitoring information and perform manual operations; The system update module is used to regularly update and optimize detection algorithms and rules.

2. According to claim 1, the SSL encrypted traffic attack behavior intelligent identification system based on deep packet inspection is characterized in that: The specific steps of classifying network traffic data in the processing classification module are as follows: Step 1: Get the preprocessed network traffic data set, and standardize each group of data in the data set. Construct each standardized traffic data in the data set into three parts: query, key, and value. Then use the dot product to calculate the similarity between the query and each key. Step 2: Scale the calculated similarity results of each group, convert the scaled similarity results of each group into the corresponding probability distribution through the Softmax function, then multiply each probability distribution with the corresponding Value, and sum all weighted Values ​​to obtain the final attention vector; Step 3: Divide the network traffic dataset into multiple parts, calculate the attention vector of each part separately, and then splice these vectors together to form the final multi-head attention. Input the spliced ​​multi-head attention vector into the classifier, and then the classifier outputs different classification labels according to the attention vector.

3. The SSL encrypted traffic attack behavior intelligent identification system based on deep packet inspection according to claim 2 is characterized in that: The specific steps of risk assessment of the decision analysis module are as follows: Step 1: Collect the specific conditions of each group of network traffic at each moment, and collect the set of all possible states s to construct the state space S. Then collect the measures that the system may take for specific traffic states, and integrate the set of all possible actions a to construct the action space A. Step 2: Calculate the probability that the system will transfer to state s′ after taking action a in state s, and record this probability as P(s′|s,a). Estimate the transfer probability through historical data or expert knowledge, and construct a state transfer probability matrix. After that, the system successfully identifies the attack behavior as a positive reward, and the failure to identify or falsely report it as a negative reward. Step 3: Based on historical recognition and system processing measures, obtain the immediate reward R(s,a) after the system takes action a in state s, then use the Bellman equation to calculate the value function of each state, and evaluate the expected long-term benefits of taking the best action in each state based on the calculated value functions of each group of states; Step 4: Update the value function repeatedly until the preset convergence threshold is reached, and then take the strategy of taking the best action in each state as the best strategy. Based on the best strategy, for each group of abnormal traffic detected, select the corresponding action according to the current state and the learned strategy. According to the value function and the immediate reward function, evaluate the long-term benefits of taking different actions and select the best action.

4. According to claim 3, the SSL encrypted traffic attack behavior intelligent identification system based on deep packet inspection is characterized in that: The specific calculation formula of the value function is as follows: V(s)=max a [R(s,a)+γ∑ s′ P(s′|s,a)V(s′)] Where V(s) represents the value function of state s; R(s,a) represents the reward after taking action a in state s; γ represents the discount factor; P(s′|s,a) represents the probability of transferring to state s′ after taking action a in state s; ∑ s′ represents the sum of all possible next states s′; max a It represents choosing the action that maximizes the value among all possible actions a.

5. According to claim 3, the SSL encrypted traffic attack behavior intelligent identification system based on deep packet inspection is characterized in that: The specific steps of attack path tracing by the attack tracing module are as follows: Step I: Use the IP address or the geographic location information of the network device to identify the geographic location of the network traffic data with attack behaviors, and cluster the geographic location information in the traffic data into different areas; Step II: Based on the recognition results of the behavior recognition module, detect whether the traffic volume in each geographical location area is abnormal. If there is an abnormal traffic volume, it indicates that there is an area of ​​attack activity. Establish a network topology model based on network devices, connection relationships and communication paths; Step III: Detect abnormal nodes or connections in the network topology, analyze the network topology, trace the possible paths of the attack, identify potential attack source devices, correlate and integrate the analysis results, and output the decision results of the attack source location, and feed it back to the user for subsequent analysis.

6. The SSL encrypted traffic attack behavior intelligent identification system based on deep packet inspection according to claim 1 is characterized in that: The specific steps of the learning update module detection parameter update are as follows: Step 1: Initialize a set of immune memory banks to store historical network traffic data and their corresponding labels, randomly select multiple sets of data from the historically identified network traffic data as antigens, and then calculate the affinity of each antigen with the existing samples in the immune memory bank; Step ②: Screen out antigens with affinity below the preset threshold, clone the remaining antigens in descending order of affinity, mutate the cloned antigens through random perturbation, mutation and recombination, and generate multiple sets of new antigens, then calculate the affinity of all current antigens with existing samples in the immune memory bank; Step 3: Use the antigen with the highest affinity as training data, use the supervised learning algorithm to train the behavior recognition module, then add the cloned and mutated antigens and their corresponding labels to the immune memory bank, update the historical network traffic data, and repeatedly select antigens for training until the maximum number of iterations is reached. Then, reflect the latest network environment and threats to users based on the updated immune memory bank.

Citation Information

Cited By

  • Information security tracking system based on network supervision demand

    CN119696925A

  • Information security tracking system based on network supervision requirements

    CN119696925B