Network security investigation and investigation device based on multi-dimensional dynamic hidden aggregation
Through the aggregation weighted multi-task learning and adaptive learning rate adjustment algorithm, the problems of single task, data imbalance and confrontation attacks in existing network security threat detection technologies are solved, the accuracy and interpretation of detection are improved, and the multi-to-many Effective processing of source heterogeneous data.
Patent Information
- Application Number
- CN202410969314.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2024-11-22
AI Technical Summary
Existing cybersecurity threat detection technologies have problems such as single task, data imbalance, adversarial attacks and poor interpretability. Deep learning methods are difficult to make full use of relevant information between multiple tasks and cannot effectively process multi-source heterogeneous data.
Using algorithms based on aggregation weighted multi-task learning and adaptive learning rate adjustment algorithms, the data collection, aggregation and analysis of multi-dimensional network data is realized through data collection modules, hidden aggregation modules, dynamic adjustment modules and network security analysis modules, and the network security threat is enhanced. Accuracy and robustness of the detection.
It improves the accuracy and comprehensive analysis capabilities of cybersecurity threat detection, enhances the resistance to attacks, and provides better interpretability and flexibility, and can adapt to the needs and data characteristics of different tasks.
Smart Images

Figure CN119011205A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of network security investigation, and mainly to a network security investigation device based on multi-dimensional dynamic hidden aggregation. Background Art
[0002] With the rapid development of the Internet and the rise of intelligence, network security threats are becoming increasingly complex and hidden. Traditional security protection measures can no longer meet the detection needs of new threats. Various types of network attacks occur frequently. Network security threat detection is an important research direction in the field of information security, and network security threat detection technology has become one of the current research hotspots.
[0003] In the macro-technical context, typical network security threat detection solutions include rule-based, feature-based, and machine learning-based methods. Rule-based methods identify known threat behaviors by defining rules, but are difficult to deal with unknown threats and variant attacks. Feature-based methods extract feature information from network traffic data and use classification algorithms to make threat judgments, but the classification accuracy is low for complex data forms and multi-task situations. Machine learning-based methods learn the features of network traffic data through training models and perform threat detection, but they require a large amount of labeled data and expertise, and cannot handle multi-source heterogeneous data.
[0004] In the micro-technical context, the prior art closest to the present invention is the application of deep learning methods in network security threat detection. Deep learning methods extract feature information of data through the learning of multi-layer neural networks and perform classification judgments. Convolutional neural networks (CNNs), recurrent neural networks (RNNs) and deep belief networks (DBNs) are commonly used deep learning models. They are widely used in image recognition, natural language processing and other fields, and have also achieved certain results in network security threat detection.
[0005] Existing network security threat detection technologies can be divided into two types: traditional methods and deep learning methods. Traditional methods include rule-based, feature-based, and machine learning-based. Among them, the rule-based method detects threat behaviors by defining a series of rules in advance, but it has the disadvantage of not covering all situations. The feature-based method extracts the feature information of the data for classification and judgment, but the accuracy is low for complex data forms and multi-task situations. The machine learning-based method classifies and judges by training models, but it requires a large amount of labeled data and professional knowledge, and cannot handle multi-source heterogeneous data.
[0006] Deep learning methods include convolutional neural networks (CNN), recurrent neural networks (RNN), and deep belief networks (DBN). These methods extract feature information of data and make classification judgments through the learning of multi-layer neural networks. Compared with traditional methods, deep learning methods have higher accuracy and robustness. However, these methods still have the following shortcomings:
[0007] (1) Single task: Most deep learning methods focus only on a single task and cannot fully utilize the relevant information between multiple tasks.
[0008] (2) Data imbalance: The data in network security threat detection is usually unbalanced, lacking normal samples or threat samples, resulting in insufficient training and generalization capabilities of the model.
[0009] (3) Adversarial attacks: Malicious attackers can deceive deep learning models by changing data, thereby reducing the accuracy of threat detection.
[0010] (4) Poor interpretability: The black box nature of deep learning models limits their interpretability and cannot provide detailed judgment basis and threat analysis. Summary of the invention
[0011] In view of the technical problems of deficiencies in multi-tasking, data imbalance, counterattack and interpretability in the prior art, the present invention relates to a network security reconnaissance and investigation device, which includes a data collection module, a hidden aggregation module, a dynamic adjustment module, a network security analysis module and a result output module, wherein the hidden aggregation module adopts an aggregated weighted multi-task learning (Aggregated Weighted Multi-Task Learning, AWMTL) algorithm, the dynamic adjustment module adopts an adaptive learning rate adjustment algorithm (Adaptive Learning Rate AdjustmentAlgorithm), and the network security analysis module can perform network attack detection and security analysis on the aggregation results.
[0012] According to one aspect of the present invention, a network security investigation device based on multi-dimensional dynamic hidden aggregation is proposed, comprising: a data collection module, a hidden aggregation module, a dynamic adjustment module, a network security analysis module and a result output module, wherein:
[0013] A data collection module configured to collect multi-dimensional network data, using data collection technology to identify, collect and initialize the multi-dimensional network data;
[0014] A hidden aggregation module configured to aggregate and hide multi-dimensional network data using an aggregated weighted multi-task learning algorithm;
[0015] a dynamic adjustment module configured to use an adaptive learning rate adjustment algorithm to adjust the hidden aggregation module to adapt to different network security detection and investigation scenarios;
[0016] A network security analysis module configured to monitor, collect, analyze and interpret data, traffic and behavior in the network to identify security threats and attack behaviors, perform network attack detection and security analysis on the results of hidden aggregation, identify and analyze network attack behaviors, and provide security decisions and measures;
[0017] The result output module is configured to output the results of the network security analysis to the user, and the user uses the obtained network security data to make corresponding network security protection measures.
[0018] Furthermore, the multi-dimensional network data represents different types of network data, including but not limited to: network traffic data, log data and attack event data.
[0019] The network traffic data includes: PCAP (Packet Capture) files, which capture all original data packets transmitted in the network, including protocol header information such as IP / TCP / UDP, which can be used to deeply analyze network communication behavior and detect potential malicious activities such as DOS attacks, port scans, malware communications, etc.
[0020] The log data includes: system and application log data, system logs (System Logs): including logs generated by the operating system, such as Windows Event Log, Linux Syslog, etc., which record information such as system startup, shutdown, user login, system errors, program execution, etc. Application logs: logs generated by specific applications and services, such as Web server (Apache / Nginx) access logs, database operation logs, firewall rule change logs, etc.
[0021] The attack event data includes: SDEE (Security Device Event Exchange) events, SNMP (Simple Network Management Protocol) traps, etc.
[0022] Other network data includes: threat intelligence data, user behavior data, file integrity monitoring data, performance indicator data, etc.
[0023] Furthermore, the specific steps of the aggregated weighted multi-task learning algorithm are as follows:
[0024] Construct a feature matrix X, where each row represents a network data sample and each column represents a feature;
[0025] Initialize the weight matrix W, where each column represents a task;
[0026] Learning the task weights and the weight matrix W by minimizing the weighted loss function;
[0027] The learned task weights and weight matrix W are used to predict the feature matrix X to obtain prediction results, and the prediction results are weighted averaged according to the task weights to obtain the final aggregation result.
[0028] Aggregate weighted multi-task learning is a machine learning method that allows the model to learn and optimize multiple related learning tasks simultaneously. In such a framework, the model not only shares some structure to exploit the commonalities between different tasks, but also weights the loss function of each task to reflect their relative importance in the overall learning goal or to take into account their difficulty differences during training.
[0029] Suppose there are three network security tasks: malware detection, intrusion detection, and abnormal behavior detection. Each task requires extracting features from network data and classifying them.
[0030] Malware detection task: This task aims to identify potential malware files or processes. It may use techniques such as static analysis and dynamic behavior analysis to extract features and classify samples as normal or malicious.
[0031] Intrusion detection task: The goal of this task is to detect intrusion behaviors in the network, such as port scanning, brute force cracking, etc. It may use techniques such as traffic analysis and behavioral pattern recognition to extract features and classify network traffic as normal or suspicious.
[0032] Abnormal behavior detection task: This task aims to capture abnormal behaviors in the network, such as large-scale data transmission, use of unknown protocols, etc. It may use statistical analysis and machine learning methods to extract features and classify network behaviors as normal or abnormal.
[0033] In the aggregated weighted multi-task learning algorithm, the three tasks are regarded as tasks that need to be learned and aggregated simultaneously.
[0034] By using the aggregated weighted multi-task learning algorithm, we can make full use of the interrelationships and information interactions between different network security tasks to improve the overall network security detection capabilities. The algorithm can adaptively learn task weights to adapt to the importance of different tasks and data characteristics, thereby improving the accuracy and robustness of network security.
[0035] Furthermore, the adaptive learning rate adjustment algorithm dynamically adjusts the learning rate based on the convergence and performance of the hidden aggregation module. The specific steps are as follows:
[0036] Initialize learning rate: Initialize the initial learning rate and a constant value. The constant value is a very small number to prevent division by zero errors.
[0037] Initialize the gradient accumulation variable: initialize the cumulative square gradient variable r for each parameter w, and the initial value of the variable r is 0;
[0038] Iterative update: Each iteration calculates the gradient g of the current step, and adds the square of the gradient element by element to the cumulative square gradient variable r;
[0039] Learning rate adjustment: adjusting the learning rate according to the cumulative square gradient variable r;
[0040] Parameter update: Update the parameter w using the adjusted learning rate.
[0041] The learning rate is adjusted according to the cumulative square gradient variable r, and the adjusted learning rate is:
[0042] Ir_adjusted=Ir / sqrt(r+epsilon)
[0043] Among them, Ir represents the initial learning rate, sqrt represents the square root, r represents the cumulative square gradient variable, and epsilon represents a constant value used to prevent division by zero errors.
[0044] The parameter w is updated using the adjusted learning rate, and the specific formula is as follows:
[0045] w_adjusted=w-Ir_adjusted*g
[0046] Among them, w represents each task parameter, Ir_adjusted represents the adjusted learning rate, and g represents the gradient.
[0047] Adaptive learning rate adjustment algorithm is a method used to dynamically adjust the learning rate when training neural networks and other machine learning models. In the traditional gradient descent or stochastic gradient descent optimization process, the learning rate is a fixed hyperparameter that determines the pace of parameter updates in each iteration. However, a fixed global learning rate may limit training efficiency because it cannot cope well with the heterogeneity of gradients in each dimension in the model parameter space, that is, some parameters may need to be updated faster, while other parameters need to be updated slower to reach the optimal solution.
[0048] The adaptive learning rate algorithm adopted in the present invention is Adagrad (Adaptive Gradient): it maintains a learning rate for each parameter separately, and adjusts the learning rate of each parameter according to the cumulative sum of squares of historical gradients, so that the parameters corresponding to high-frequency large gradients obtain a smaller learning rate, while the parameters corresponding to low-frequency small gradients obtain a larger learning rate.
[0049] The core idea of the adaptive learning rate algorithm is to automatically adjust the learning rate of each parameter during the training process, so that the model can explore the complex terrain of the loss function more efficiently, thereby accelerating the training process and improving model performance.
[0050] Furthermore, the network security analysis module has the following specific steps:
[0051] Data preprocessing: Preprocess the collected log data, traffic data, and event raw data, including data cleaning, deduplication, and format conversion.
[0052] Data analysis: Use data mining and machine learning techniques to analyze pre-processed data, including anomaly detection, behavior analysis, correlation analysis, and time series analysis;
[0053] Threat identification: Identify security threats and attack behaviors by studying the analysis results, including identifying known attack patterns, detecting unknown new attacks, and analyzing the attacker's means and purpose;
[0054] Security decisions and measures: Based on the results of threat identification, the network security analysis module provides corresponding security decisions and measures, including blocking attack traffic, updating security policies, and notifying security administrators or users.
[0055] The goal of network security analysis is to detect and prevent network attacks in a timely manner and protect the security and integrity of network systems.
[0056] The network security analysis module may be adjusted and optimized in actual applications according to specific needs and scenarios. The key to network security analysis is to collect a large amount of accurate data and adopt effective analysis techniques and strategies to quickly discover and respond to changing network threats.
[0057] The above one or more technical solutions in the embodiments of the present application have at least one of the following technical effects:
[0058] (1) Improve the accuracy of network security threat detection;
[0059] By aggregating the learning and prediction results of multiple tasks, the solution can make full use of the information interaction and mutual complementation between different tasks to improve the overall threat detection capability. By weighing the weights of different tasks, the system can better adapt to the needs of each task, thereby improving the accuracy of threat detection.
[0060] (2) Strengthen the comprehensive analysis capabilities of network security threats;
[0061] By combining the feature matrices and weight vectors of multiple tasks, the solution can comprehensively analyze the feature information in different tasks, form a global feature matrix, and learn the task weights and weight matrix by minimizing the loss function. This will enable the system to have stronger comprehensive analysis capabilities and more comprehensively evaluate whether there are potential threats or attacks in network data.
[0062] (3) Adaptive learning of task weights;
[0063] By learning task weights, the solution can dynamically adjust the weights according to the importance of the task and the characteristics of the data. This means that the system can adaptively optimize the weights of tasks and better meet the needs of different tasks. This can make the system more flexible and adaptable, and improve the effectiveness of network security threat detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] The accompanying drawings are included to provide a further understanding of the embodiments and are incorporated into and constitute a part of this specification. The accompanying drawings illustrate the embodiments and are used together with the description to explain the principles of the present invention. It will be easy to recognize other embodiments and many expected advantages of the embodiments because they become better understood by reference to the following detailed description. The elements of the drawings are not necessarily to scale with each other. The same reference numerals refer to corresponding similar parts.
[0065] Figure 1 A schematic diagram of a network security investigation and reconnaissance device based on multi-dimensional dynamic hidden aggregation according to an embodiment of the present invention is shown;
[0066] Figure 2 A schematic diagram of a dynamic adjustment module flow chart according to a specific embodiment of the present invention is shown;
[0067] Figure 3 A schematic diagram of a network security detection and analysis process according to a specific embodiment of the present invention is shown;
[0068] Figure 4 A schematic diagram of a method flow according to a specific embodiment of the present invention is shown. DETAILED DESCRIPTION
[0069] The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It should also be noted that, for ease of description, only the parts related to the relevant invention are shown in the accompanying drawings.
[0070] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0071] Figure 1 FIG. 4 shows a schematic diagram of a network security investigation and reconnaissance device based on multi-dimensional dynamic hidden aggregation according to an embodiment of the present invention. Figure 1 As shown, it includes a data collection module, a hidden aggregation module, a dynamic adjustment module, a network security analysis module and a result output module, wherein:
[0072] S11, a data collection module, configured to collect multi-dimensional network data, using advanced data collection technology to identify and collect the multi-dimensional network data;
[0073] The multi-dimensional network data represents different types of network data, specifically including: network flow data, log data and attack event data.
[0074] The data collection module uses advanced data collection technology to effectively identify, collect and initialize different types of network data to ensure the comprehensiveness and accuracy of data sources.
[0075] S12, a hidden aggregation module, configured to aggregate and hide multi-dimensional network data using an aggregated weighted multi-task learning algorithm;
[0076] The specific steps of the aggregate weighted multi-task learning algorithm are as follows:
[0077] Construct a feature matrix X, where each row represents a network data sample and each column represents a feature;
[0078] Initialize the weight matrix W, where each column represents a task;
[0079] Learning the task weights and the weight matrix W by minimizing the weighted loss function;
[0080] The learned task weights and weight matrix W are used to predict the feature matrix X to obtain prediction results, and the prediction results are weighted averaged according to the task weights to obtain the final aggregation result.
[0081] In this embodiment, there are N network security threat detection tasks, and each task i contains m_i samples and d_i-dimensional features. X_i represents the feature matrix of task i, whose size is m_i×d_i. Each task i has a corresponding weight vector α_i, whose size is d_i, indicating the importance of the features in task i.
[0082] In the training phase, we first construct a global feature matrix X of size M×D, where M is the sum of the number of samples for all tasks and D is the total dimension of all task features. The feature matrix X_i of task i is inserted into the appropriate position of the global feature matrix X.
[0083] Next, a weight matrix W is initialized with a size of D×N, where each column represents the weight vector of a task. During the training process, the task weight α and the weight matrix W are learned by minimizing the loss function. The form of the loss function can be determined according to the specific network security threat detection problem. Commonly used ones include cross entropy loss, mean square error, etc.
[0084] This embodiment adopts the cross entropy loss function, and the formula is as follows:
[0085] Loss=∑_i∑_j*w_ij*H(y_ij,f(X,W)_ij)
[0086] Where i represents the task index, j represents the sample index, w_ij represents the i-th row and j-th column element in the weight matrix W, y_ij represents the true label of the j-th sample of the i-th task, and f(X,W)_ij represents the model's prediction result for the j-th sample of the i-th task. H(,) represents the cross entropy loss function.
[0087] In the test phase, when new network data arrives, predictions are made using the learned task weights α and weight matrix W. For each task i, we calculate its prediction result f(X,W)_i, and then weight the prediction results of each task according to the task weight α to obtain the final aggregated result.
[0088] The final aggregation result can be used as the output of the network security threat detection system to determine whether there are potential threats or attacks in the network data.
[0089] By using the aggregated weighted multi-task learning algorithm for network security threat detection, we can make full use of the information interaction and mutual complementation between multiple tasks to improve the overall threat detection capability and accuracy. The aggregated weighted multi-task learning algorithm adaptively learns task weights and can dynamically adjust weights according to the importance of the task and data characteristics, thereby better adapting to the needs of different tasks.
[0090] The aggregate weighted multi-task learning algorithm improves the comprehensive ability and accuracy of network security threat detection by aggregating the learning and prediction results of multiple tasks. The weight matrix W and task weight α in the formula are key parameters of learning, which can be optimized according to specific problems and adjusted and updated according to actual conditions.
[0091] S13, a dynamic adjustment module, configured to use an adaptive learning rate adjustment algorithm to adjust the hidden aggregation module to adapt to different network security investigation scenarios; Figure 2 A schematic diagram of the dynamic adjustment module process according to the present invention is shown;
[0092] The adaptive learning rate adjustment algorithm dynamically adjusts the learning rate based on the convergence and performance of the hidden aggregation module. The specific steps are as follows:
[0093] S21, initializing the learning rate: initializing the initial learning rate and a constant value, wherein the constant value is a very small number for preventing division by zero errors;
[0094] S22, initializing the gradient accumulation variable: initializing the accumulated square gradient variable r for each parameter w, wherein the initial value of the variable r is 0;
[0095] S23, iterative update: each iteration calculates the gradient g of the current step, and adds the square of the gradient element by element to the accumulated square gradient variable r;
[0096] S24, learning rate adjustment: adjusting the learning rate according to the cumulative square gradient variable r;
[0097] S25, parameter update: update the parameter w using the adjusted learning rate.
[0098] The learning rate is adjusted according to the cumulative square gradient variable r, and the adjusted learning rate is:
[0099] Ir_adjusted=Ir / sqrt(r+epsilon)
[0100] Among them, Ir represents the initial learning rate, sqrt represents the square root, r represents the cumulative square gradient variable, and epsilon represents a constant value used to prevent division by zero errors.
[0101] The parameter w is updated using the adjusted learning rate, and the specific formula is as follows:
[0102] w_adjusted=w-Ir_adjusted*g
[0103] Among them, w represents each task parameter, Ir_adjusted represents the adjusted learning rate, and g represents the gradient.
[0104] In the network security investigation and reconnaissance device based on multi-dimensional dynamic hidden aggregation, the dynamic adjustment module can dynamically adjust the hidden aggregation algorithm according to actual needs to adapt to different network security investigation and reconnaissance scenarios. The module adopts an adaptive learning rate adjustment algorithm, which automatically adjusts the learning rate according to the convergence of the model, thereby improving the convergence speed and performance of the model.
[0105] Through the adaptive learning rate adjustment algorithm, the dynamic adjustment module can automatically adjust the learning rate according to the performance of the model during the training process. When the gradient of the model is large, the learning rate is small to reduce the step size of the parameter update and avoid missing the convergence point. When the gradient of the model is small, the learning rate is large to speed up the parameter update and improve the convergence speed. Through this adaptive learning rate adjustment algorithm, the dynamic adjustment module can improve the convergence speed and performance of the model, thereby improving the flexibility and adaptability of the network security detection and investigation device based on multi-dimensional dynamic hidden aggregation.
[0106] S14, network security analysis module, configured to monitor, collect, analyze and interpret data, traffic and behavior in the network to identify security threats and attack behaviors, perform network attack detection and security analysis on the results of hidden aggregation, identify and analyze network attack behaviors, and provide security decisions and measures; such as Figure 3 A schematic diagram of a network security detection and analysis process according to the present invention is shown;
[0107] The specific steps of the network security analysis module are as follows:
[0108] S31. Data preprocessing: Preprocess the collected log data, traffic data and event raw data, including data cleaning, deduplication and format conversion.
[0109] S32. Data analysis: Use data mining and machine learning techniques to analyze pre-processed data, including anomaly detection, behavior analysis, association analysis, and time series analysis;
[0110] S33, Threat Identification: Identify security threats and attack behaviors through the study of analysis results, including identifying known attack patterns, detecting unknown new attacks, and analyzing the attacker's means and purpose;
[0111] S34. Security decisions and measures: Based on the results of threat identification, the network security analysis module provides corresponding security decisions and measures, including blocking attack traffic, updating security policies, and notifying security administrators or users.
[0112] The network security analysis module can monitor, collect, analyze and interpret data, traffic and behavior in the network to identify potential security threats and attack behaviors, perform network attack detection and security analysis on the results of hidden aggregation, identify and analyze network attack behaviors, and provide corresponding security decisions and measures. The goal of network security analysis is to detect and prevent network attacks in a timely manner and protect the security and integrity of the network system.
[0113] The network security analysis module will be adjusted and optimized according to specific needs and scenarios in actual applications. The key to network security analysis is to collect a large amount of accurate data and adopt effective analysis techniques and strategies to quickly discover and respond to ever-changing network threats.
[0114] S15. A result output module is configured to output the results of the network security analysis to the user, and the user uses the obtained network security data to make corresponding network security protection measures.
[0115] The following is another embodiment of the present invention, which is a method implemented by a network security investigation and detection device using multi-dimensional dynamic hidden aggregation, such as Figure 4 As shown:
[0116] S41. Data collection: First, use the data collection module to collect data from the network for each task.
[0117] S42, data preprocessing: preprocess the collected data. In addition, the data of each task is divided into a training set and a test set to facilitate model training and evaluation.
[0118] S43. Feature extraction: The hidden aggregation module is used to extract features for each task. Existing deep learning techniques such as convolutional neural network (CNN) or recurrent neural network (RNN) can be used to extract features from the data. The feature matrix of each task is used as the input of the task.
[0119] S44, global feature matrix construction: Use the hidden aggregation module to insert the feature matrices of different tasks into the global feature matrix to form a comprehensive global feature matrix that includes all tasks. This can make full use of the feature information of each task and improve the effect of network security threat detection.
[0120] S45, Aggregate Weighted Multi-Task Learning Algorithm Training: Next, the model is trained using the aggregate weighted multi-task learning algorithm on the global feature matrix using the hidden aggregation module. During the training process, the system learns the relationship between task weights, weight matrices, and global feature matrices, thereby improving the accuracy of threat detection and comprehensive analysis capabilities.
[0121] S46, Adaptive learning task weight: Using the dynamic adjustment module, after the model training is completed, the system can dynamically adjust the task weight according to the importance of the task and the characteristics of the data. This can make the system more flexible and adaptable, and improve the effect of network security threat detection.
[0122] S47, Threat Detection: Finally, by using the network security analysis module to perform threat detection in the global feature matrix, the system can evaluate whether there are potential threats or attack behaviors in the network data, and use the result output module S48 to provide users with relevant alerts and suggestions.
[0123] In summary, the device of the present invention has the following advantages:
[0124] (1) A data processing method based on multi-dimensional dynamic hidden aggregation is adopted to effectively protect the security, privacy and network security of network data.
[0125] (2) It adopts an aggregated weighted multi-task learning algorithm and an adaptive learning rate adjustment algorithm, which are efficient, flexible and adaptive, and can adapt to different network security investigation scenarios and needs.
[0126] (3) The data collection module can comprehensively collect various types of network data to improve the comprehensiveness and accuracy of investigative work.
[0127] (4) The network security analysis module can detect and conduct security analysis on the analysis results of network intrusion events and provide corresponding security decisions and measures.
[0128] (5) The result output module can quickly and accurately output network security related data and information, thereby improving the efficiency and real-time nature of investigation work.
[0129] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0130] The modules involved in the embodiments of the present application may be implemented by software or by hardware.
[0131] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above invention concept. For example, the above features are replaced with the technical features with similar functions disclosed in this application (but not limited to) by each other.
Claims
1. A network security investigation device based on multi-dimensional dynamic hidden aggregation, characterized in that: It includes data collection module, hidden aggregation module, dynamic adjustment module, network security analysis module and result output module, among which: A data collection module configured to collect multi-dimensional network data and to identify, collect and initialize the multi-dimensional network data using data collection technology; A hidden aggregation module configured to aggregate and hide multi-dimensional network data using an aggregated weighted multi-task learning algorithm; a dynamic adjustment module configured to use an adaptive learning rate adjustment algorithm to adjust the hidden aggregation module to adapt to different network security detection and investigation scenarios; A network security analysis module configured to monitor, collect, analyze and interpret data, traffic and behavior in the network to identify security threats and attack behaviors, perform network attack detection and security analysis on the results of hidden aggregation, identify and analyze network attack behaviors, and provide security decisions and measures; The result output module is configured to output the results of the network security analysis to the user, and the user uses the obtained network security data to make corresponding network security protection measures.
2. The network security investigation device according to claim 1, characterized in that: The multi-dimensional network data represents different types of network data, specifically including: network flow data, log data and attack event data.
3. The network security investigation device according to claim 1, characterized in that: The specific steps of the aggregate weighted multi-task learning algorithm are as follows: Construct a feature matrix X, where each row represents a network data sample and each column represents a feature; Initialize the weight matrix W, where each column represents a task; The task weight α and the weight matrix W are learned by minimizing the weighted loss function; The learned task weight α and weight matrix W are used to predict the feature matrix X to obtain a prediction result, and the prediction results are weighted averaged according to the task weight α to obtain the final aggregation result.
4. The network security investigation device according to claim 1, characterized in that: The adaptive learning rate adjustment algorithm dynamically adjusts the learning rate based on the convergence and performance of the hidden aggregation module. The specific steps are as follows: Initialize learning rate: Initialize the initial learning rate and a constant value, which is used to prevent division by zero errors; Initialize the gradient accumulation variable: initialize the cumulative square gradient variable r for each parameter w, and the initial value of the variable r is 0; Iterative update: Each iteration calculates the gradient g of the current step, and adds the square of the gradient element by element to the cumulative square gradient variable r; Learning rate adjustment: adjusting the learning rate according to the cumulative square gradient variable r; Parameter update: Update the parameter w using the adjusted learning rate.
5. The network security investigation device according to claim 4, characterized in that: The learning rate is adjusted according to the cumulative square gradient variable r, and the adjusted learning rate is: Ir_adjusted=Ir / sqrt(r+epsilon) Among them, Ir represents the initial learning rate, sqrt represents the square root, r represents the cumulative square gradient variable, and epsilon represents a constant value used to prevent division by zero errors.
6. The network security investigation device according to claim 4, characterized in that: The parameter w is updated using the adjusted learning rate, and the specific formula is as follows: w_adjusted=w-Ir_adjusted*g Among them, w represents each task parameter, Ir_adjusted represents the adjusted learning rate, and g represents the gradient.
7. The network security investigation device according to claim 1, characterized in that: The steps performed by the network security analysis module specifically include: Data preprocessing: Preprocess the collected log data, traffic data, and event raw data, including data cleaning, deduplication, and format conversion. Data analysis: Use data mining and machine learning techniques to analyze pre-processed data, including anomaly detection, behavior analysis, correlation analysis, and time series analysis; Threat identification: Identify security threats and attack behaviors by studying the analysis results, including identifying known attack patterns, detecting unknown new attacks, and analyzing the attacker's means and purpose; Security decisions and measures: Based on the results of threat identification, the network security analysis module provides corresponding security decisions and measures, including blocking attack traffic, updating security policies, and notifying security administrators or users.
8. A computer-readable medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the apparatus according to any one of claims 1 to 7.
9. A computing system comprising a processor and a memory, wherein the processor is configured to execute the apparatus according to any one of claims 1 to 7.
