Computer network information security monitoring method, system, equipment and medium
By building a spatiotemporal and spatial correlation data set and heterogeneous multimodal analysis model, and combining reinforcement learning algorithms to generate dynamic defense strategies, the real-time and policy delay problems of encrypted traffic detection in the existing technology are solved, real-time accurate detection and dynamic defense of encrypted traffic are realized, and the security and efficiency of the network environment are improved.
Patent Information
- Application Number
- CN202510582189.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-07
- Publication Date
- 2025-08-15
- Estimated Expiration
- 2045-05-07
AI Technical Summary
Existing cyber threat detection technologies are difficult to accurately detect hidden threats in encrypted traffic in real time, and lack dynamic environment perception capabilities, resulting in high latency for policy implementation and inability to effectively deal with new cyber attacks, especially in high security demand scenarios.
By obtaining encrypted traffic data and application log data, building a spatio-temporal and spatial correlation raw data, performing protocol parsing to generate protocol fingerprint feature vectors, and using heterogeneous multimodal analysis model and reinforcement learning algorithm to generate dynamic defense strategies to achieve real-time accurate detection and dynamic response to encrypted traffic.
Real-time accurate detection of encrypted traffic is realized, which can effectively respond to new network attacks, significantly improve the security and efficiency balance of the network environment, shorten threat handling time, and improve the real-time and accuracy of policy generation and execution.
Smart Images

Figure CN120498736A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of network security, and in particular to a computer network information security monitoring method, system, equipment and medium. Background Art
[0002] With the widespread adoption of new encryption protocols like TLS 1.3 and QUIC, coupled with stringent requirements for data transmission confidentiality, network threat detection technology faces new challenges. Existing intrusion detection systems (IDS / IPS) primarily rely on plaintext traffic feature matching, but their ability to deeply analyze encrypted traffic is severely limited. This results in a persistently high rate of missed detections for subtle threats like ransomware and APT attacks.
[0003] Existing technologies have proposed traffic classification methods based on deep learning. While these methods improve detection accuracy, they are limited in their ability to reconstruct encrypted session metadata, and processing delays generally exceed 800ms, making them incapable of meeting the real-time requirements of 5G networks. Furthermore, in terms of security policies, policy orchestration solutions lack dynamic environmental awareness, resulting in high policy implementation delays and the need for manual intervention to resolve conflicts. This makes them unable to promptly defend against new cyberattacks, which can easily lead to significant economic losses in high-security scenarios such as finance and government affairs. Therefore, there is room for improvement. Summary of the Invention
[0004] In order to achieve real-time and accurate detection of encryption threats and build a dynamic defense system that balances security and efficiency, the present application provides a computer network information security monitoring method, system, device and medium.
[0005] In the first aspect, the above-mentioned invention object of the present application is achieved through the following technical solutions:
[0006] A computer network information security monitoring method, the computer network information security monitoring method comprising the steps of:
[0007] Acquire encrypted traffic data and application log data in a network environment, and construct a spatiotemporally correlated original data set based on the encrypted traffic data and application log data;
[0008] Performing protocol analysis on the spatiotemporally associated original data set to generate a protocol fingerprint feature vector;
[0009] Inputting the protocol fingerprint feature vector and application log data into a preset heterogeneous multimodal analysis model to obtain a multidimensional security situation assessment result including threat level and attack path;
[0010] Based on the multi-dimensional security situation assessment results, a dynamic defense strategy instruction set is generated through a reinforcement learning algorithm, and the strategy instructions are sent to the network execution node in real time.
[0011] By adopting the above technical solutions, by deploying multi-level probes in the network environment and establishing a millisecond-level time synchronization mechanism, the time-space correlation original data set is constructed, which breaks through the data island problem of traditional solutions and can capture comprehensive information of network activities, including data transmission time, source, destination and application layer behavior records, providing a rich and accurate data foundation for subsequent in-depth analysis. The time-space alignment of network traffic and application logs is conducive to improving the accuracy of correlation analysis of covert threats such as cross-regional attacks and low-frequency and slow penetration. The protocol analysis of the time-space correlation original data set is performed. By deeply analyzing the network protocol, the key features that can uniquely identify network behavior are extracted, and the protocol fingerprint feature vector is generated, which provides an accurate identification basis for subsequent anomaly detection. In the threat assessment stage , using heterogeneous multimodal analysis models to achieve three-dimensional analysis of encrypted traffic timing patterns, device relationship maps and log semantic features, and generate multi-dimensional security situation assessment results including threat levels and attack paths. The comprehensive assessment of network security not only reveals the current security threat level, but also provides a detailed attack path analysis, which provides strong support for the formulation of defense strategies. Based on the multi-dimensional security situation assessment results, the defense strategy is adjusted in real time through the reinforcement learning algorithm, which realizes dynamic response and active defense to network threats. It can flexibly adjust defense measures according to real-time changes in the network environment, effectively respond to various new and complex network attacks, significantly improve the overall security of the network environment, realize real-time and accurate detection of encryption threats, and build a dynamic defense system that balances security and efficiency.
[0012] In a preferred example, the present application may be further configured as follows: performing protocol parsing on the spatiotemporally associated original data set to generate a protocol fingerprint feature vector specifically includes:
[0013] Extracting a protocol field sequence of a transport layer handshake phase based on the spatiotemporally correlated original data set, and establishing a 256-dimensional feature vector space, wherein each dimension corresponds to a specific protocol parameter of the handshake phase;
[0014] Acquire historical network attack data, and train a coupling coefficient matrix of a preset quantum annealing model based on the historical network attack data;
[0015] The quantum annealing model is updated according to the trained coupling coefficient matrix, the protocol field sequence is input into the updated quantum annealing model, the encrypted session metadata is reconstructed, and a protocol fingerprint feature vector is generated.
[0016] By employing the above technical solution, the protocol field sequence of the transport layer handshake phase is extracted based on the spatiotemporally correlated raw data set. By focusing on the initial phase of the network connection, the most critical protocol information is captured, laying a solid foundation for subsequent feature extraction. By establishing a 256-dimensional feature vector space, each dimension precisely corresponds to a specific protocol parameter in the handshake phase, ensuring the comprehensiveness and representativeness of the feature vectors, providing detailed data support for subsequent model analysis. Historical network attack data is obtained and used to train the coupling coefficient matrix of a preset quantum annealing model. The quantum annealing algorithm is introduced, leveraging its powerful global optimization capabilities to learn the potential characteristics of attack behavior from historical attack data, providing the model with strong recognition capabilities. The quantum annealing model is updated with the trained coupling coefficient matrix, enabling the model to adaptively adjust based on historical experience, improving the model's recognition accuracy for new attack behaviors. The protocol field sequence is input into the updated quantum annealing model to reconstruct the encrypted session metadata and generate a protocol fingerprint feature vector. Unique fingerprint features are extracted from complex protocol data in a short period of time, providing a strong basis for subsequent anomaly detection and threat analysis, and achieving in-depth analysis and feature extraction of encrypted network traffic.
[0017] In a preferred example, the present application may be further configured as follows: the protocol fingerprint feature vector and application log data are input into a preset heterogeneous multimodal analysis model to obtain a multi-dimensional security situation assessment result including threat level and attack path, specifically including:
[0018] Based on the bidirectional LSTM network, the protocol fingerprint feature vector is processed, the time series traffic pattern is extracted, and the first intermediate feature containing 128-dimensional hidden states is output;
[0019] Building a dynamic relationship graph of device-user-application based on the application log data, calculating abnormal communication weights between nodes in the dynamic relationship graph of device-user-application, and generating a second intermediate feature;
[0020] The first intermediate feature and the second intermediate feature are fused according to the cross-modal attention mechanism to generate a fused feature, and the threat confidence of the fused feature is calculated. When the confidence exceeds the confidence threshold, the attack path backtracking analysis is triggered to generate a multi-dimensional security situation assessment result including the threat level and attack path.
[0021] By adopting the above technical solution, based on the bidirectional LSTM network processing protocol fingerprint feature vector, it is possible to effectively capture the temporal dynamic characteristics of network traffic. The output of the 128-dimensional hidden state encodes the essence of traffic behavior through a high-dimensional vector space. Compared with the traditional statistical threshold method, it can improve the detection accuracy and reduce the dependence on prior knowledge, thus achieving the generalized recognition capability of zero-day attacks. At the application log analysis level, by constructing a device-user-application dynamic relationship map, the interaction behavior between entities is converted into a network topology structure that can be quantified and analyzed. The map dynamically updates the communication weights between nodes and adopts an anomaly detection algorithm based on a graph neural network, which can effectively identify horizontal and vertical attacks. To address internal threats that are difficult for traditional rule engines to capture, such as mobile attacks and privilege abuse, the cross-modal attention mechanism is used to achieve a deep fusion of temporal traffic patterns and relationship graph features. The attention mechanism dynamically assigns feature weights, allowing the model to focus on key threat signals and calculate the threat confidence of the fused features. For example, when a sudden increase in abnormal communication weight and a timing anomaly on a specific port occur at the same time, the system automatically strengthens the correlation analysis of related features. When the confidence exceeds the preset threshold, the system triggers an attack path backtracking analysis based on causal reasoning, and generates a multi-dimensional assessment report that includes attack entry points, lateral diffusion paths, and high-risk asset annotations by reversely tracing the key nodes on the attack link.
[0022] In a preferred example, the present application may be further configured as follows: generating a dynamic defense strategy instruction set based on the multi-dimensional security situation assessment result through a reinforcement learning algorithm, specifically including:
[0023] Defining a state space for reinforcement learning, wherein the state space for reinforcement learning includes 23-dimensional real-time network state features and defense actions;
[0024] Based on the Monte Carlo tree search algorithm, the state space is traversed to generate a deep policy network. The action selection strategy is optimized through the double-delayed DDPG algorithm, and a set of policy instructions with priority sorting is output.
[0025] Dynamically filter the policy instruction set, remove policy instructions with high execution latency or high resource consumption, and generate a dynamic defense policy instruction set.
[0026] By adopting the above technical solution and defining a reinforcement learning state space containing 23-dimensional real-time network state features and defense actions, the system can comprehensively characterize the dynamic complexity of the network environment. The 23-dimensional features cover multi-dimensional indicators such as traffic baselines, device vulnerability scores, user behavior entropy, and threat assessment results. Combined with 12 types of defense actions such as port blocking, device isolation, and traffic cleaning, a high-granularity state-action mapping relationship is constructed. A hybrid architecture of Monte Carlo tree search and double-delayed deep deterministic policy gradient is used to address the issue of policy exploration efficiency in high-dimensional state spaces. Monte Carlo tree search uses simulation to predict possible multi-hop attack paths launched by attackers in advance, generating a decision tree containing more than 2000 nodes, providing high-quality training samples for the deep policy network. The double-delayed DDPG algorithm effectively suppresses the Q-value overestimation problem of traditional DDPG through a dual critic network and a delayed policy update mechanism, thereby improving the convergence speed of the policy network. Finally, a dynamic screening mechanism based on resource consumption models and execution delay prediction ensures the engineering feasibility of the defense strategy. By constructing a cost function that includes parameters such as CPU / memory usage, network bandwidth loss, and policy effectiveness delay, the initial policy instruction set is screened for Pareto optimality. By providing real-time feedback on network load status, high-overhead strategies such as full-flow mirror analysis are dynamically eliminated to avoid business interruptions caused by defensive actions. The overall solution uses three-layer optimization of state-space modeling, hybrid reinforcement learning algorithm, and resource-aware screening to build a predictive, adaptive, and sustainable active defense system. In real network attack and defense drills, the average threat residence time was shortened from 8.2 hours in the traditional solution to 11 minutes, and the defense policy update cycle was optimized from 24 hours in the manual era to autonomous iteration in seconds. At the same time, by prioritizing policy instructions, the optimal balance between protection strength and business continuity under limited resources is achieved, providing large enterprise networks with an intelligent defense paradigm with elastic scalability.
[0027] In a preferred example, the present application may be further configured as follows: the real-time delivery of the policy instructions to the network execution node specifically includes:
[0028] Convert policy instructions into eBPF bytecode, use the LLVM compiler for instruction-level optimization, and generate security rules that can be executed by network execution nodes;
[0029] Inject policy checking functions at key hook points in the network protocol stack, including IP routing decision points, socket connection establishment points, and file system access points;
[0030] The lock-free transmission of policy instructions is achieved through a shared memory ring buffer. When a policy conflict is detected, a policy arbitration mechanism based on game theory is activated to select the optimal execution plan according to the Nash equilibrium principle.
[0031] By adopting the above technical solution, policy instructions are compiled into eBPF bytecode and optimized at the instruction level through LLVM, breaking through the limitations of static compilation of traditional firewall rule sets. eBPF technology directly executes verified security rules in kernel mode, avoiding the performance loss caused by user-kernel context switching, and reducing instruction execution latency to microseconds. Policy check functions are injected into the IP routing decision points, Socket connection establishment points, and file system access points of the network protocol stack to build a three-dimensional defense and interception system. By deploying hooks in the XDP (eXpress Data Path) layer of the Linux kernel, the TCP state machine transition points, and the VFS virtual file system interface, full-stack coverage monitoring of the network layer, transport layer, and application layer is achieved, allowing defense policies to act simultaneously on inbound / outbound traffic, inter-process communication, and sensitive file operations, successfully intercepting lateral movement attacks and data exfiltration behaviors. For example, the check function embedded in the IP routing decision point can block attackers' forged BGP routing hijacking traffic in real time, while the socket layer hook can identify and intercept SSH brute force attacks during the TCP three-way handshake phase. The combination of the shared memory ring buffer's lock-free transmission mechanism and the game theory policy arbitration mechanism solves the problem of policy synchronization and conflict resolution in high-concurrency scenarios. By pre-allocating a CPU cache line-aligned ring buffer and adopting a producer-consumer model to implement batch push of policy instructions, a single node can process 500,000 policy update instructions per second, and the transmission process completely avoids the thread switching overhead caused by mutex locks. When a multi-policy conflict is detected (such as the mutual exclusion of traffic cleaning and connection maintenance policies), the arbitration algorithm based on Nash equilibrium constructs a defense benefit matrix, calculates the possible countermeasures that the attacker may take after the execution of each policy, and ultimately selects the optimal policy combination that minimizes the attacker's benefits.
[0032] In a preferred example, the present application may be further configured as follows: after generating a dynamic defense strategy instruction set based on the multi-dimensional security situation assessment result through a reinforcement learning algorithm and sending the strategy instructions to the network execution node in real time, the computer network information security monitoring method further includes:
[0033] Collect network status change data after policy execution and calculate the deviation between the actual risk reduction rate and the expected target;
[0034] When the deviation exceeds the deviation threshold, the strategy backtracking analysis is triggered to reconstruct the attack scenario and correct the reward function of the reinforcement learning algorithm;
[0035] Based on the reward function of the modified reinforcement learning algorithm, the strategy generation parameters are adjusted through the Bayesian optimization algorithm, the optimized strategy parameters are encrypted and stored in the blockchain network, and cross-domain strategy synchronization is achieved through smart contracts.
[0036] By adopting the above technical solutions, the system establishes a quantitative evaluation mechanism for defense effectiveness based on the calculation of the deviation between the actual risk reduction rate and the expected target. By collecting 12 indicators such as the change in network traffic entropy value after the execution of the strategy, the number of vulnerability exploitation attempts, and the abnormal session termination rate, combined with the Kalman filter for noise filtering and state estimation, the dynamic evaluation of defense effectiveness is completed. When the deviation exceeds the threshold, the strategy backtracking analysis is triggered. By constructing a generative adversarial network (GAN), the attack scenario is reconstructed and the reward function of the reinforcement learning algorithm is corrected. For example, when defending against ransomware attacks, the system dynamically adjusts the reward weight of the device isolation action by analyzing the correlation between the encryption behavior detection delay and the lateral movement blocking effect, so that the disposal of new variant ransomware is more timely. The optimization time is shortened from 15 seconds to 1.8 seconds. By constructing a Gaussian process agent model, the eight core parameters of the strategy generator, such as the learning rate, discount factor, and exploration coefficient, are probabilistically modeled. The expected improvement (EI) acquisition function is combined to guide the parameter search direction, which improves the parameter optimization speed and avoids falling into local optimality. The optimized parameters are encrypted with the national secret SM4 algorithm and stored in the blockchain. The Merkle tree is used to build a tamper-proof version control chain to ensure that the historical records of each strategy iteration are traceable and verifiable. The cross-domain policy synchronization mechanism based on smart contracts defines a standardized policy description language (PDL) and automated version compatibility check rules to achieve minute-level synchronization updates of defense strategies in different security domains (such as cloud platforms, edge nodes, and industrial control networks).
[0037] Secondly, the above-mentioned invention objectives of this application are achieved through the following technical solutions:
[0038] A computer network information security monitoring system, comprising:
[0039] A data acquisition module is used to obtain encrypted traffic data and application log data in the network environment, and to construct a spatiotemporally correlated original data set based on the encrypted traffic data and application log data;
[0040] A feature vector generation module is used to perform protocol analysis on the spatiotemporally associated original data set to generate a protocol fingerprint feature vector;
[0041] A security assessment module, configured to input the protocol fingerprint feature vector and application log data into a preset heterogeneous multimodal analysis model to obtain a multidimensional security situation assessment result including threat level and attack path;
[0042] The defense strategy generation module is used to generate a dynamic defense strategy instruction set based on the multi-dimensional security situation assessment results through a reinforcement learning algorithm, and send the strategy instructions to the network execution node in real time.
[0043] By adopting the above technical solutions, by deploying multi-level probes in the network environment and establishing a millisecond-level time synchronization mechanism, the time-space correlation original data set is constructed, which breaks through the data island problem of traditional solutions and can capture comprehensive information of network activities, including data transmission time, source, destination and application layer behavior records, providing a rich and accurate data foundation for subsequent in-depth analysis. The time-space alignment of network traffic and application logs is conducive to improving the accuracy of correlation analysis of covert threats such as cross-regional attacks and low-frequency and slow penetration. The protocol analysis of the time-space correlation original data set is performed. By deeply analyzing the network protocol, the key features that can uniquely identify network behavior are extracted, and the protocol fingerprint feature vector is generated, which provides an accurate identification basis for subsequent anomaly detection. In the threat assessment stage , using heterogeneous multimodal analysis models to achieve three-dimensional analysis of encrypted traffic timing patterns, device relationship maps and log semantic features, and generate multi-dimensional security situation assessment results including threat levels and attack paths. The comprehensive assessment of network security not only reveals the current security threat level, but also provides a detailed attack path analysis, which provides strong support for the formulation of defense strategies. Based on the multi-dimensional security situation assessment results, the defense strategy is adjusted in real time through the reinforcement learning algorithm, which realizes dynamic response and active defense to network threats. It can flexibly adjust defense measures according to real-time changes in the network environment, effectively respond to various new and complex network attacks, significantly improve the overall security of the network environment, realize real-time and accurate detection of encryption threats, and build a dynamic defense system that balances security and efficiency.
[0044] Thirdly, the above-mentioned purpose of this application is achieved through the following technical solutions:
[0045] An electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the above-mentioned computer network information security monitoring method are implemented.
[0046] Fourthly, the above-mentioned purpose of the present application is achieved through the following technical solutions:
[0047] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the above-mentioned computer network information security monitoring method.
[0048] In summary, this application includes at least one of the following beneficial technical effects:
[0049] 1. By deploying multi-level probes in the network environment and establishing a millisecond-level time synchronization mechanism, the time-space correlation original data set is constructed, which breaks through the data island problem of traditional solutions and can capture comprehensive information of network activities, including data transmission time, source, destination and application layer behavior records, providing a rich and accurate data foundation for subsequent in-depth analysis. The time-space alignment of network traffic and application logs is conducive to improving the accuracy of correlation analysis of covert threats such as cross-regional attacks and low-frequency slow penetration. Protocol analysis is performed on the time-space correlation original data set. By deeply analyzing the network protocol, the key features that can uniquely identify network behavior are extracted and the protocol fingerprint feature vector is generated, which provides an accurate identification basis for subsequent anomaly detection. In the threat assessment stage, the use of anomalies A multimodal analysis model is constructed to achieve three-dimensional analysis of encrypted traffic timing patterns, device relationship maps, and log semantic features, generating multi-dimensional security situation assessment results that include threat levels and attack paths. This comprehensive assessment of network security not only reveals the current security threat level, but also provides detailed attack path analysis, providing strong support for the formulation of defense strategies. Based on the multi-dimensional security situation assessment results, the defense strategy is adjusted in real time through reinforcement learning algorithms, achieving dynamic response and active defense to network threats. It can flexibly adjust defense measures according to real-time changes in the network environment, effectively respond to various new and complex network attacks, significantly improve the overall security of the network environment, achieve real-time and accurate detection of encrypted threats, and build a dynamic defense system that balances security and efficiency.
[0050] 2. Extracting the protocol field sequence of the transport layer handshake phase from the original dataset based on spatiotemporal correlation. By focusing on the initial stage of the network connection, the most critical protocol information can be captured, laying a solid foundation for subsequent feature extraction. By establishing a 256-dimensional feature vector space, each dimension precisely corresponds to the specific protocol parameters of the handshake phase, ensuring the comprehensiveness and representativeness of the feature vector, providing detailed data support for subsequent model analysis. Historical network attack data is obtained and used to train the coupling coefficient matrix of the preset quantum annealing model. The quantum annealing algorithm is introduced and its powerful global optimization capability is used to learn the potential characteristics of attack behavior from historical attack data, providing the model with strong recognition capabilities. The quantum annealing model is updated with the trained coupling coefficient matrix, allowing the model to adaptively adjust based on historical experience, improving the model's recognition accuracy for new attack behaviors. The protocol field sequence is input into the updated quantum annealing model, reconstructing the encrypted session metadata and generating a protocol fingerprint feature vector. Unique fingerprint features are extracted from complex protocol data in a short period of time, providing a strong basis for subsequent anomaly detection and threat analysis, and achieving in-depth analysis and feature extraction of encrypted network traffic.
[0051] 3. Based on the bidirectional LSTM network processing protocol fingerprint feature vector, it can effectively capture the temporal dynamic characteristics of network traffic. The output of the 128-dimensional hidden state encodes the essence of traffic behavior through a high-dimensional vector space. Compared with the traditional statistical threshold method, it can improve the detection accuracy and reduce the dependence on prior knowledge, thus achieving the generalized recognition capability of zero-day attacks. At the application log analysis level, by constructing a dynamic relationship map of device-user-application, the interaction behavior between entities is converted into a network topology structure that can be quantified and analyzed. The map dynamically updates the communication weights between nodes and adopts an anomaly detection algorithm based on graph neural network, which can effectively identify lateral movement attacks. , abuse of authority, and other internal threats that are difficult to capture with traditional rule engines. Through the cross-modal attention mechanism, the deep fusion of temporal traffic patterns and relationship graph features is achieved. The attention mechanism dynamically assigns feature weights, allowing the model to focus on key threat signals and calculate the threat confidence of the fused features. For example, when a sudden increase in abnormal communication weight and a timing anomaly on a specific port occur at the same time, the system automatically strengthens the correlation analysis of related features. When the confidence exceeds the preset threshold, the system triggers an attack path retrospective analysis based on causal reasoning. By reversely tracing the key nodes on the attack link, it generates a multi-dimensional assessment report that includes attack entry points, lateral diffusion paths, and high-risk asset annotations.
[0052] 4. Based on the calculation of the deviation between the actual risk reduction rate and the expected target, the system has established a quantitative evaluation mechanism for the defense effect. By collecting 12 indicators such as the change in network traffic entropy value after the execution of the strategy, the number of vulnerability exploitation attempts, and the abnormal session termination rate, combined with the Kalman filter for noise filtering and state estimation, the dynamic evaluation of the defense effectiveness is completed. When the deviation exceeds the threshold, the strategy backtracking analysis is triggered. By building a generative adversarial network (GAN), the attack scenario is reconstructed and the reward function of the reinforcement learning algorithm is corrected. For example, when defending against ransomware attacks, the system analyzes the correlation between the encryption behavior detection delay and the lateral movement blocking effect, and dynamically adjusts the reward weight of the device isolation action, so that the disposal time of the new variant ransomware is reduced from 15 seconds to 15 seconds. It is shortened to 1.8 seconds. By constructing a Gaussian process agent model, the eight core parameters of the strategy generator, such as the learning rate, discount factor, and exploration coefficient, are probabilistically modeled. The expected improvement (EI) acquisition function is combined to guide the parameter search direction, and the parameter optimization speed is improved while avoiding falling into local optimality. The optimized parameters are encrypted by the national secret SM4 algorithm and stored in the blockchain. The Merkle tree is used to build a tamper-proof version control chain to ensure that the historical records of each strategy iteration are traceable and verifiable. The cross-domain policy synchronization mechanism based on smart contracts realizes minute-level synchronization updates of defense strategies in different security domains (such as cloud platforms, edge nodes, and industrial control networks) by defining standardized policy description languages (PDLs) and automated version compatibility check rules. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 This is a flow chart of a computer network information security monitoring method in one embodiment of the present application;
[0054] Figure 2 This is a flowchart for implementing step S20 in a computer network information security monitoring method in one embodiment of the present application;
[0055] Figure 3 This is a flowchart for implementing step S30 in a computer network information security monitoring method according to an embodiment of the present application;
[0056] Figure 4 This is a flowchart for implementing step S40 in a computer network information security monitoring method according to an embodiment of the present application;
[0057] Figure 5 This is another implementation flowchart of step S40 in a computer network information security monitoring method in one embodiment of the present application;
[0058] Figure 6 This is another implementation flow chart of a computer network information security monitoring method in one embodiment of the present application;
[0059] Figure 7 This is a principle block diagram of a computer network information security monitoring system in one embodiment of the present application;
[0060] Figure 8 It is a schematic diagram of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION
[0061] The present application is further described in detail below with reference to the accompanying drawings.
[0062] In one embodiment, if Figure 1 As shown, the present application discloses a computer network information security monitoring method, which specifically includes the following steps:
[0063] S10: Acquire encrypted traffic data and application log data in the network environment, and construct a spatiotemporally correlated original data set based on the encrypted traffic data and application log data.
[0064] Specifically, by deploying multi-layer probes in the network environment and establishing a millisecond-level time synchronization mechanism, a spatiotemporal correlation original data set is constructed, which breaks through the data silo problem of traditional solutions and can capture comprehensive information on network activities, including data transmission time, source, destination, and application layer behavior records, providing a rich and accurate data foundation for subsequent in-depth analysis. The spatiotemporal alignment of network traffic and application logs is conducive to improving the accuracy of correlation analysis of hidden threats such as cross-regional attacks, low-frequency and slow infiltration.
[0065] Furthermore, modeling the spatiotemporal correlation between encrypted traffic and application logs overcomes the limitations of single-dimensional detection in traditional security devices. By building a distributed probe cluster to extract metadata from SSL / TLS encrypted traffic, while simultaneously collecting log data such as process call chains and API access sequences at the application layer, and employing timestamp alignment algorithms and spatial topology mapping techniques, millisecond-level data correlation is achieved in a 5Gbps network environment, forming a three-dimensional observation matrix covering the network layer, transport layer, and application layer. This three-dimensional data fusion mechanism effectively identifies the hidden behaviors of APT attacks that intermingle encrypted channels with legitimate business operations. Compared to traditional NetFlow-based detection methods, it increases the detection rate of encrypted C2 traffic, such as Cobalt Strike, by 47%, while reducing the false alarm rate to 0.15%.
[0066] S20: performing protocol analysis on the spatiotemporally associated original data set to generate a protocol fingerprint feature vector.
[0067] Specifically, protocol analysis is performed on the original data set with temporal and spatial correlation. By deeply analyzing the network protocol, key features that can uniquely identify network behavior are extracted, and a protocol fingerprint feature vector is generated, providing an accurate identification basis for subsequent anomaly detection.
[0068] S30: Input the protocol fingerprint feature vector and application log data into a preset heterogeneous multimodal analysis model to obtain a multidimensional security situation assessment result including threat level and attack path.
[0069] Specifically, during the threat assessment phase, a heterogeneous multimodal analysis model is used to achieve a three-dimensional analysis of encrypted traffic timing patterns, device relationship graphs, and log semantic features. A graph convolutional network (GCN) is used to process the spatiotemporal correlation characteristics of network traffic, combined with a bidirectional LSTM to parse the timing patterns of application logs. Cross-modal feature fusion is achieved through an attention mechanism. In a 100-node network environment, attack path reconstruction and threat level assessment can be completed within 800ms. In testing, the model successfully identified the implicit association between web log anomalies and DNS tunnel traffic in new supply chain attacks, and the detection coverage of zero-day attacks increased to 89%, a 63% increase compared to a single IDS detection solution. The model generates a multi-dimensional security situation assessment result that includes threat level and attack path. This comprehensive assessment of network security not only reveals the current security threat level, but also provides a detailed attack path analysis, providing strong support for the formulation of defense strategies.
[0070] S40: Based on the multi-dimensional security situation assessment results, a dynamic defense strategy instruction set is generated through a reinforcement learning algorithm, and the strategy instructions are sent to the network execution node in real time.
[0071] Specifically, based on the results of multi-dimensional security situation assessments, defense strategies are adjusted in real time through a reinforcement learning algorithm. By constructing a three-dimensional state space (network topology, asset vulnerabilities, and attacker behavior patterns) and a dual reward function (immediate defense benefits and long-term security costs), policy instructions are iteratively optimized within a distributed training framework within minutes. When a new ransomware attack is detected, the system generates a combined defense strategy encompassing traffic scrubbing, vulnerability patching, and permission freezing within 0.8 seconds, a 300-fold increase in response speed compared to traditional manual intervention. The effectiveness of this strategy has been verified through adversarial testing, achieving a 98.5% blocking success rate.
[0072] In this embodiment, by deploying multi-level probes in the network environment and establishing a millisecond-level time synchronization mechanism, a spatiotemporal correlation original data set is constructed, which breaks through the data island problem of traditional solutions and can capture comprehensive information on network activities, including data transmission time, source, destination, and application layer behavior records, providing a rich and accurate data foundation for subsequent in-depth analysis. Aligning the network traffic with the spatiotemporal alignment of application logs is conducive to improving the accuracy of correlation analysis of covert threats such as cross-regional attacks and low-frequency and slow penetration. Protocol analysis is performed on the spatiotemporal correlation original data set. By deeply analyzing the network protocol, key features that can uniquely identify network behavior are extracted, and protocol fingerprint feature vectors are generated, which provides an accurate identification basis for subsequent anomaly detection. In the threat assessment stage, A heterogeneous multimodal analysis model is used to achieve three-dimensional analysis of encrypted traffic timing patterns, device relationship maps, and log semantic features, generating multi-dimensional security situation assessment results that include threat levels and attack paths. This comprehensive assessment of network security not only reveals the current security threat level, but also provides a detailed attack path analysis, providing strong support for the formulation of defense strategies. Based on the multi-dimensional security situation assessment results, the defense strategy is adjusted in real time through the reinforcement learning algorithm, achieving dynamic response and active defense to network threats. It can flexibly adjust defense measures according to real-time changes in the network environment, effectively respond to various new and complex network attacks, significantly improve the overall security of the network environment, achieve real-time and accurate detection of encryption threats, and build a dynamic defense system that balances security and efficiency.
[0073] In one embodiment, if Figure 2 As shown, in step S20, protocol parsing is performed on the spatiotemporally associated original data set to generate a protocol fingerprint feature vector, specifically including:
[0074] S21: extracting a protocol field sequence of the transport layer handshake phase based on the spatiotemporally associated original data set, and establishing a 256-dimensional feature vector space, wherein each dimension corresponds to a specific protocol parameter of the handshake phase.
[0075] Specifically, the protocol field sequence of the transport layer handshake phase is extracted based on the original data set with spatiotemporal correlation. By focusing on the initial stage of the network connection, the most critical protocol information can be captured, laying a solid foundation for subsequent feature extraction. By establishing a 256-dimensional feature vector space, each dimension accurately corresponds to the specific protocol parameters of the handshake phase, ensuring the comprehensiveness and representativeness of the feature vector, and providing detailed data support for subsequent model analysis.
[0076] S22: Acquire historical network attack data, and train a coupling coefficient matrix of a preset quantum annealing model based on the historical network attack data.
[0077] Specifically, historical network attack data is obtained and used to train the coupling coefficient matrix of the preset quantum annealing model. The quantum annealing algorithm is introduced and its powerful global optimization capability is used to learn the potential characteristics of attack behavior from historical attack data, providing the model with powerful recognition capabilities.
[0078] S23: updating the quantum annealing model according to the trained coupling coefficient matrix, inputting the protocol field sequence into the updated quantum annealing model, reconstructing the encrypted session metadata, and generating a protocol fingerprint feature vector.
[0079] Specifically, the quantum annealing model is updated through the trained coupling coefficient matrix, enabling the model to adaptively adjust based on historical experience, thereby improving the model's recognition accuracy for new attack behaviors. The protocol field sequence is input into the updated quantum annealing model, the encrypted session metadata is reconstructed, and the protocol fingerprint feature vector is generated. Unique fingerprint features are extracted from complex protocol data in a short time, providing a strong basis for subsequent anomaly detection and threat analysis, and realizing in-depth analysis and feature extraction of encrypted network traffic.
[0080] In one embodiment, if Figure 3 As shown, in step S30, the protocol fingerprint feature vector and application log data are input into a preset heterogeneous multimodal analysis model to obtain a multidimensional security situation assessment result including threat level and attack path, specifically including:
[0081] S31: Process the protocol fingerprint feature vector based on the bidirectional LSTM network, extract the time series traffic pattern, and output the first intermediate feature containing 128-dimensional hidden states.
[0082] S32: Construct a dynamic relationship graph of device-user-application based on the application log data, calculate abnormal communication weights between nodes of the dynamic relationship graph of device-user-application, and generate a second intermediate feature.
[0083] S33: The first intermediate feature and the second intermediate feature are fused according to the cross-modal attention mechanism to generate a fused feature, and the threat confidence of the fused feature is calculated. When the confidence exceeds the confidence threshold, the attack path backtracking analysis is triggered to generate a multi-dimensional security situation assessment result including the threat level and attack path.
[0084] Specifically, the protocol fingerprint feature vector processed based on the bidirectional LSTM network can effectively capture the temporal dynamic characteristics of network traffic. The output of the 128-dimensional hidden state encodes the essence of traffic behavior through a high-dimensional vector space. Compared with the traditional statistical threshold method, it can improve the detection accuracy and reduce the dependence on prior knowledge, thus achieving the generalized recognition capability of zero-day attacks. At the application log analysis level, by constructing a dynamic relationship graph of device-user-application, the interaction behavior between entities is converted into a network topology structure that can be quantified and analyzed. The graph dynamically updates the communication weights between nodes and adopts an anomaly detection algorithm based on a graph neural network, which can effectively identify lateral movement attacks. It can solve internal threats that are difficult to capture with traditional rule engines, such as hacking and abuse of authority. It achieves a deep fusion of temporal traffic patterns and relationship graph features through a cross-modal attention mechanism. The attention mechanism dynamically assigns feature weights, allowing the model to focus on key threat signals and calculate the threat confidence of the fused features. For example, when a sudden increase in abnormal communication weight and a timing anomaly on a specific port occur at the same time, the system automatically strengthens the correlation analysis of related features. When the confidence exceeds the preset threshold, the system triggers an attack path retrospective analysis based on causal reasoning. By reversely tracing the key nodes on the attack link, it generates a multi-dimensional assessment report that includes attack entry points, lateral diffusion paths, and high-risk asset annotations.
[0085] In one embodiment, if Figure 4 As shown, in step S40, based on the multi-dimensional security situation assessment result, a dynamic defense strategy instruction set is generated by a reinforcement learning algorithm, specifically including:
[0086] S41: Define a state space of reinforcement learning, where the state space of reinforcement learning includes 23-dimensional real-time network state features and defense actions.
[0087] S42: Based on the Monte Carlo tree search algorithm, the state space is traversed to generate a deep policy network, the action selection strategy is optimized through the double-delayed DDPG algorithm, and a set of policy instructions with priority sorting is output.
[0088] S43: Dynamically screen the policy instruction set, remove policy instructions with high execution delay or high resource consumption, and generate a dynamic defense policy instruction set.
[0089] Specifically, by defining a reinforcement learning state space that includes 23-dimensional real-time network state features and defense actions, the system can comprehensively characterize the dynamic complexity of the network environment. The 23-dimensional features cover multi-dimensional indicators such as traffic baseline, device vulnerability score, user behavior entropy, threat assessment results, etc., and combined with 12 types of defense actions such as blocking ports, isolating devices, and traffic cleaning, a high-granularity state-action mapping relationship is constructed. The hybrid architecture of Monte Carlo tree search and double-delay deep deterministic policy gradient is adopted to solve the problem of policy exploration efficiency in high-dimensional state space. Monte Carlo tree search predicts the multi-hop attack path that may be launched by attackers through simulation and deduction, and generates a decision tree containing 2000+ nodes, providing high-quality training samples for the deep policy network. The double-delay DDPG algorithm effectively suppresses the Q-value over-estimation problem of traditional DDPG through dual critic networks and delayed policy update mechanism, thereby improving the convergence speed of the policy network. Finally, the dynamic screening mechanism based on resource consumption model and execution delay prediction ensures the engineering feasibility of the defense strategy. By constructing a cost function that includes parameters such as CPU / memory usage, network bandwidth loss, and policy effectiveness delay, the initial policy instruction set is screened for Pareto optimality. By providing real-time feedback on network load status, high-overhead strategies such as full-flow mirror analysis are dynamically eliminated to avoid business interruptions caused by defensive actions. The overall solution uses three-layer optimization of state-space modeling, hybrid reinforcement learning algorithm, and resource-aware screening to build a predictive, adaptive, and sustainable active defense system. In real network attack and defense drills, the average threat residence time was shortened from 8.2 hours in the traditional solution to 11 minutes, and the defense policy update cycle was optimized from 24 hours in the manual era to autonomous iteration in seconds. At the same time, by prioritizing policy instructions, the optimal balance between protection strength and business continuity under limited resources is achieved, providing large enterprise networks with an intelligent defense paradigm with elastic scalability.
[0090] In one embodiment, if Figure 5 As shown, in step S40, the policy instructions are sent to the network execution node in real time, specifically including:
[0091] S44: Convert policy instructions into eBPF bytecode, use the LLVM compiler for instruction-level optimization, and generate security rules that can be executed by network execution nodes;
[0092] S45: Injects policy checking functions at key hook points in the network protocol stack, including IP routing decision points, socket connection establishment points, and file system access points;
[0093] S46: Lock-free transmission of policy instructions is achieved through a shared memory ring buffer. When a policy conflict is detected, a policy arbitration mechanism based on game theory is started to select the optimal execution plan according to the Nash equilibrium principle.
[0094] Specifically, the policy instructions are compiled into eBPF bytecode and optimized at the instruction level through LLVM, breaking through the limitations of static compilation of traditional firewall rule sets. eBPF technology directly executes verified security rules in kernel mode, avoiding the performance loss caused by user-kernel context switching, and reducing the instruction execution delay to microseconds. Policy check functions are injected into the IP routing decision points, Socket connection establishment points, and file system access points of the network protocol stack to build a three-dimensional defense interception system. By deploying hooks in the XDP (eXpress Data Path) layer of the Linux kernel, the TCP state machine transition points, and the VFS virtual file system interface, full-stack coverage monitoring of the network layer, transport layer, and application layer is achieved, so that the defense strategy can act simultaneously on inbound / outbound traffic, inter-process communication, and sensitive file operations, successfully intercepting lateral movement attacks and data exfiltration behaviors. For example, the check function embedded in the IP routing decision point can block attackers' forged BGP routing hijacking traffic in real time, while the socket layer hook can identify and intercept SSH brute force attacks during the TCP three-way handshake phase. The combination of the shared memory ring buffer's lock-free transmission mechanism and the game theory policy arbitration mechanism solves the problem of policy synchronization and conflict resolution in high-concurrency scenarios. By pre-allocating a CPU cache line-aligned ring buffer and adopting a producer-consumer model to implement batch push of policy instructions, a single node can process 500,000 policy update instructions per second, and the transmission process completely avoids the thread switching overhead caused by mutex locks. When a multi-policy conflict is detected (such as the mutual exclusion of traffic cleaning and connection maintenance policies), the arbitration algorithm based on Nash equilibrium constructs a defense benefit matrix, calculates the possible countermeasures that the attacker may take after the execution of each policy, and ultimately selects the optimal policy combination that minimizes the attacker's benefits.
[0095] In one embodiment, if Figure 6 As shown, after step S40, the computer network information security monitoring method further includes:
[0096] S50: Collect network status change data after the policy is executed and calculate the deviation between the actual risk reduction rate and the expected target;
[0097] S60: When the deviation exceeds the deviation threshold, trigger the strategy backtracking analysis, reconstruct the attack scenario and correct the reward function of the reinforcement learning algorithm;
[0098] S70: Based on the reward function of the modified reinforcement learning algorithm, the strategy generation parameters are adjusted through the Bayesian optimization algorithm, the optimized strategy parameters are encrypted and stored in the blockchain network, and cross-domain strategy synchronization is achieved through smart contracts.
[0099] Specifically, based on the calculation of the deviation between the actual risk reduction rate and the expected target, the system established a quantitative evaluation mechanism for the defense effect. By collecting 12 indicators such as the change in network traffic entropy value after the execution of the strategy, the number of vulnerability exploitation attempts, and the abnormal session termination rate, combined with the Kalman filter for noise filtering and state estimation, the dynamic evaluation of the defense effectiveness is completed. When the deviation exceeds the threshold, the strategy backtracking analysis is triggered. By constructing a generative adversarial network (GAN), the attack scenario is reconstructed and the reward function of the reinforcement learning algorithm is corrected. For example, when defending against ransomware attacks, the system dynamically adjusts the reward weight of the device isolation action by analyzing the correlation between the encryption behavior detection delay and the lateral movement blocking effect, so that the disposal time of the new variant ransomware is reduced from 15 The optimization time is shortened to 1.8 seconds. By building a Gaussian process agent model, the eight core parameters of the strategy generator, such as the learning rate, discount factor, and exploration coefficient, are probabilistically modeled. The expected improvement (EI) acquisition function is combined to guide the parameter search direction, and the parameter optimization speed is improved while avoiding falling into the local optimum. The optimized parameters are encrypted by the national secret SM4 algorithm and stored in the blockchain. The Merkle tree is used to build a tamper-proof version control chain to ensure that the historical records of each strategy iteration are traceable and verifiable. The cross-domain policy synchronization mechanism based on smart contracts realizes minute-level synchronous updates of defense strategies in different security domains (such as cloud platforms, edge nodes, and industrial control networks) by defining standardized policy description languages (PDLs) and automated version compatibility check rules.
[0100] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0101] In one embodiment, a computer network information security monitoring system is provided, which corresponds to the computer network information security monitoring method in the above embodiment. Figure 7 As shown in Figure 1, the computer network information security monitoring system includes a data acquisition module, a feature vector generation module, a security assessment module, and a defense strategy generation module. The detailed description of each functional module is as follows:
[0102] A data acquisition module is used to obtain encrypted traffic data and application log data in the network environment, and to construct a spatiotemporally correlated original data set based on the encrypted traffic data and application log data;
[0103] A feature vector generation module is used to perform protocol analysis on the spatiotemporally associated original data set to generate a protocol fingerprint feature vector;
[0104] A security assessment module, configured to input the protocol fingerprint feature vector and application log data into a preset heterogeneous multimodal analysis model to obtain a multidimensional security situation assessment result including threat level and attack path;
[0105] The defense strategy generation module is used to generate a dynamic defense strategy instruction set based on the multi-dimensional security situation assessment results through a reinforcement learning algorithm, and send the strategy instructions to the network execution node in real time.
[0106] Optionally, the feature vector generation module includes:
[0107] A data parsing submodule is configured to extract a protocol field sequence of a transport layer handshake phase based on the spatiotemporally associated original data set, and establish a 256-dimensional feature vector space, wherein each dimension corresponds to a specific protocol parameter of the handshake phase;
[0108] A model training submodule is used to obtain historical network attack data and train a coupling coefficient matrix of a preset quantum annealing model based on the historical network attack data;
[0109] The data reconstruction submodule is used to update the quantum annealing model according to the trained coupling coefficient matrix, input the protocol field sequence into the updated quantum annealing model, reconstruct the encrypted session metadata, and generate the protocol fingerprint feature vector.
[0110] The specific definitions of the computer network information security monitoring system can be found in the definitions of the computer network information security monitoring method above and will not be repeated here. Each module in the aforementioned computer network information security monitoring system can be implemented in whole or in part through software, hardware, or a combination thereof. Each of the aforementioned modules can be embedded in or independent of a processor in an electronic device in hardware form, or can be stored in a memory in the electronic device in software form, so that the processor can call and execute the corresponding operations of each of the aforementioned modules.
[0111] In one embodiment, an electronic device is provided. The electronic device may be a server, and its internal structure diagram may be as follows: Figure 8 As shown. The electronic device includes a processor, a memory, a network interface and a database connected via a system bus. The processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The database of the electronic device is used to store a database. The network interface of the electronic device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a computer network information security monitoring method is implemented.
[0112] In one embodiment, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the following steps are performed:
[0113] Acquire encrypted traffic data and application log data in a network environment, and construct a spatiotemporally correlated original data set based on the encrypted traffic data and application log data;
[0114] Performing protocol analysis on the spatiotemporally associated original data set to generate a protocol fingerprint feature vector;
[0115] Inputting the protocol fingerprint feature vector and application log data into a preset heterogeneous multimodal analysis model to obtain a multidimensional security situation assessment result including threat level and attack path;
[0116] Based on the multi-dimensional security situation assessment results, a dynamic defense strategy instruction set is generated through a reinforcement learning algorithm, and the strategy instructions are sent to the network execution node in real time.
[0117] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:
[0118] Acquire encrypted traffic data and application log data in a network environment, and construct a spatiotemporally correlated original data set based on the encrypted traffic data and application log data;
[0119] Performing protocol analysis on the spatiotemporally associated original data set to generate a protocol fingerprint feature vector;
[0120] Inputting the protocol fingerprint feature vector and application log data into a preset heterogeneous multimodal analysis model to obtain a multidimensional security situation assessment result including threat level and attack path;
[0121] Based on the multi-dimensional security situation assessment results, a dynamic defense strategy instruction set is generated through a reinforcement learning algorithm, and the strategy instructions are sent to the network execution node in real time.
[0122] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0123] Those skilled in the art will clearly understand that for the sake of convenience and brevity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0124] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present application, and should all be included in the scope of protection of the present application.
Claims
1. A computer network information security monitoring method, characterized in that: The computer network information security monitoring method comprises the steps of: Acquire encrypted traffic data and application log data in a network environment, and construct a spatiotemporally correlated original data set based on the encrypted traffic data and application log data; Performing protocol analysis on the spatiotemporally associated original data set to generate a protocol fingerprint feature vector; Inputting the protocol fingerprint feature vector and application log data into a preset heterogeneous multimodal analysis model to obtain a multidimensional security situation assessment result including threat level and attack path; Based on the multi-dimensional security situation assessment results, a dynamic defense strategy instruction set is generated through a reinforcement learning algorithm, and the strategy instructions are sent to the network execution node in real time.
2. A computer network information security monitoring method according to claim 1, characterized in that: The performing protocol analysis on the spatiotemporally associated original data set to generate a protocol fingerprint feature vector specifically includes: Extracting a protocol field sequence of a transport layer handshake phase based on the spatiotemporally correlated original data set, and establishing a 256-dimensional feature vector space, wherein each dimension corresponds to a specific protocol parameter of the handshake phase; Acquire historical network attack data, and train a coupling coefficient matrix of a preset quantum annealing model based on the historical network attack data; The quantum annealing model is updated according to the trained coupling coefficient matrix, the protocol field sequence is input into the updated quantum annealing model, the encrypted session metadata is reconstructed, and a protocol fingerprint feature vector is generated.
3. A computer network information security monitoring method according to claim 1, characterized in that: Inputting the protocol fingerprint feature vector and application log data into a preset heterogeneous multimodal analysis model to obtain a multi-dimensional security situation assessment result including threat level and attack path, specifically includes: Based on the bidirectional LSTM network, the protocol fingerprint feature vector is processed, the time series traffic pattern is extracted, and the first intermediate feature containing 128-dimensional hidden states is output; Building a dynamic relationship graph of device-user-application based on the application log data, calculating abnormal communication weights between nodes in the dynamic relationship graph of device-user-application, and generating a second intermediate feature; The first intermediate feature and the second intermediate feature are fused according to the cross-modal attention mechanism to generate a fused feature, and the threat confidence of the fused feature is calculated. When the confidence exceeds the confidence threshold, the attack path backtracking analysis is triggered to generate a multi-dimensional security situation assessment result including the threat level and attack path.
4. A computer network information security monitoring method according to claim 1, characterized in that: The generating of a dynamic defense strategy instruction set based on the multi-dimensional security situation assessment result by a reinforcement learning algorithm specifically includes: Defining a state space for reinforcement learning, wherein the state space for reinforcement learning includes 23-dimensional real-time network state features and defense actions; Based on the Monte Carlo tree search algorithm, the state space is traversed to generate a deep policy network. The action selection strategy is optimized through the double-delayed DDPG algorithm, and a set of policy instructions with priority sorting is output. Dynamically filter the policy instruction set, remove policy instructions with high execution latency or high resource consumption, and generate a dynamic defense policy instruction set.
5. A computer network information security monitoring method according to claim 1, characterized in that: The real-time delivery of the policy instructions to the network execution node specifically includes: Convert policy instructions into eBPF bytecode, use the LLVM compiler for instruction-level optimization, and generate security rules that can be executed by network execution nodes; Inject policy checking functions at key hook points in the network protocol stack, including IP routing decision points, socket connection establishment points, and file system access points; The lock-free transmission of policy instructions is achieved through a shared memory ring buffer. When a policy conflict is detected, a policy arbitration mechanism based on game theory is activated to select the optimal execution plan according to the Nash equilibrium principle.
6. A computer network information security monitoring method according to claim 1, characterized in that: After generating a dynamic defense strategy instruction set based on the multi-dimensional security situation assessment result through a reinforcement learning algorithm and issuing the strategy instructions to the network execution node in real time, the computer network information security monitoring method further includes: Collect network status change data after policy execution and calculate the deviation between the actual risk reduction rate and the expected target; When the deviation exceeds the deviation threshold, the strategy backtracking analysis is triggered to reconstruct the attack scenario and correct the reward function of the reinforcement learning algorithm; Based on the reward function of the modified reinforcement learning algorithm, the strategy generation parameters are adjusted through the Bayesian optimization algorithm, the optimized strategy parameters are encrypted and stored in the blockchain network, and cross-domain strategy synchronization is achieved through smart contracts.
7. A computer network information security monitoring system, characterized in that: The computer network information security monitoring system includes: A data acquisition module is used to obtain encrypted traffic data and application log data in the network environment, and to construct a spatiotemporally correlated original data set based on the encrypted traffic data and application log data; A feature vector generation module is used to perform protocol analysis on the spatiotemporally associated original data set to generate a protocol fingerprint feature vector; A security assessment module, configured to input the protocol fingerprint feature vector and application log data into a preset heterogeneous multimodal analysis model to obtain a multidimensional security situation assessment result including threat level and attack path; The defense strategy generation module is used to generate a dynamic defense strategy instruction set based on the multi-dimensional security situation assessment results through a reinforcement learning algorithm, and send the strategy instructions to the network execution node in real time.
8. A computer network information security monitoring system according to claim 7, characterized in that: The feature vector generation module includes: A data parsing submodule is configured to extract a protocol field sequence of a transport layer handshake phase based on the spatiotemporally associated original data set, and establish a 256-dimensional feature vector space, wherein each dimension corresponds to a specific protocol parameter of the handshake phase; A model training submodule is used to obtain historical network attack data and train a coupling coefficient matrix of a preset quantum annealing model based on the historical network attack data; The data reconstruction submodule is used to update the quantum annealing model according to the trained coupling coefficient matrix, input the protocol field sequence into the updated quantum annealing model, reconstruct the encrypted session metadata, and generate a protocol fingerprint feature vector.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the computer network information security monitoring method as described in any one of claims 1 to 6 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of a computer network information security monitoring method as described in any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
APT covert channel identification method and system based on multi-mode anomaly detection
CN119066464A
Equipment access authentication method and device, equipment and storage medium
CN119182599A
Artificial intelligence driven adaptive firewall rule optimization method and system
CN119484148A
Variational analog quantum oracle learning
US20230368063A1
Cited By
Flow collection system, threat analysis method and strategy generation method
CN120785652A
Cloud edge collaborative security response method integrating strategy self-generation and resource arrangement
CN120880793A
Real-time analyzing and monitoring method for port network security information data
CN120915606A
Network operation and maintenance environment evaluation system based on mimicry security technology
CN121012700A
A network operation and maintenance environment evaluation system based on a quasimode security technology
CN121012700B