Cross-border abnormal data flow identification method and device based on atypical behavior analysis
Through atypical behavior analysis methods, the generalized characteristics of VPN service illegal outreach behaviors are extracted and combined with logistic regression algorithms and long-short-term memory networks to identify cross-border abnormal data flows, solving the problem of high false alarm rates in existing technologies and improving It improves detection accuracy and system stability and ensures network security.
Patent Information
- Application Number
- CN202410889767.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-07-04
AI Technical Summary
When existing technology detects illegal external access to overseas websites in virtual private network (VPN) services, the false positive rate is high, resulting in reduced detection effectiveness. It lacks accurate identification methods and is difficult to effectively respond to cross-border data security threats.
Using a cross-border abnormal data flow identification method based on atypical behavior analysis, through in-depth mining and pattern analysis, the generalized characteristics of illegal outreach behaviors are extracted, combined with logistic regression algorithm and long short-term memory network, real-time monitoring and early warning, and dynamic adjustment detection Parameters to identify abnormal behavior.
It improves the detection speed and accuracy of illegal external access behaviors, reduces false positives and false negatives, reduces the burden on computing resources, enhances system stability and robustness, and ensures the security of the network environment and the reliability of data transmission. .
Smart Images

Figure CN118449781B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data communication technology, and in particular to a method and device for identifying cross-border abnormal data flow based on atypical behavior analysis. Background Art
[0002] In today's era of globalization and deep integration of technology, the digitalization process of various core fields, such as industry, finance, energy and education, is advancing rapidly. With the widespread application of generative artificial intelligence (AI-Generated Content) technology, global data flows have become more active and complex than ever before, and the amount of cross-border data exchange has also increased exponentially. However, this trend has also exacerbated cross-border data security challenges, and there is an urgent need for efficient cross-border data governance solutions to deal with major security issues such as data leakage and malicious infiltration.
[0003] Of particular concern is the increasing use of virtual private network (VPN) services to access overseas websites without permission, which has become a major hidden danger in data security management. Such illegal outreach activities may lead to the leakage of sensitive data and information, inducing legal risks.
[0004] Currently, the detection and identification of VPN violations still faces major technical bottlenecks. Since the characteristics of such behaviors are hidden and diverse, existing detection methods are often accompanied by a high false alarm rate. When the false alarm rate exceeds 50%, the effectiveness of the detection is greatly reduced. There is an urgent need to develop more accurate and effective identification methods.
[0005] Therefore, the present invention proposes a method for "extracting and identifying abnormal data flow behavior features of illegal external connections to overseas websites by virtual private network (VPN) services". This method conducts in-depth mining and pattern analysis on a large number of VPN service illegal external cross-border data messages, aiming to establish a set of systematic feature screening and refining mechanisms, so as to quickly and accurately capture the hallmarks of abnormal behavior in a complex cross-border data transmission environment, effectively improve the accuracy and pertinence of such behavior detection, and provide strong technical support for revealing and preventing potential risks in cross-border data transmission. Summary of the invention
[0006] The purpose of the invention is to provide a method and device for identifying cross-border abnormal data flow based on atypical behavior analysis to solve the above-mentioned problems existing in the prior art.
[0007] The technical solution is a method for identifying cross-border abnormal data flows based on atypical behavior analysis, including the following steps:
[0008] Step S1, start the system and initialize the configuration, including: setting the detection cycle to meet the demand for abnormal behavior detection frequency in different time periods; configuring the detection factor, which includes the feature extraction threshold, feature importance weight allocation, and time window length to control the accuracy and coverage of feature extraction;
[0009] Step S2, data collection and preprocessing, including: data packet acquisition, through the low-latency interface deployed at the network traffic entrance, real-time capture of VPN data packets to record metadata; message classification cache within the period, the system classifies and caches the captured data packets according to the detection period for host network behavior detection;
[0010] Step S3, quick match check of illegal external IP, including: illegal IP comparison and quick response, the system compares the IP of the data packet captured in step S2 with the illegal external IP library, if the record matches, it is determined to be a violation, outputs the judgment result, triggers the alarm mechanism, responds and handles; if the record does not match, enters step S4;
[0011] Step S4, extracting generalized features of illegal external connections, wherein the generalized features of illegal external connections include traffic patterns, source IP addresses and target IP addresses, and message session features;
[0012] Step S5: Calculate and determine the illegal external connection behavior. The illegal external connection behavior is determined by the association analysis model. If it is an illegal external connection behavior, the determination result is output, the alarm mechanism is triggered, and the response and disposal are carried out. The illegal external connection behavior is updated to the illegal external connection IP library in real time; if it is not an illegal external connection behavior, the next host detection is carried out, specifically:
[0013] S51, feature weighting, assigning a predefined weight to each feature according to the relevance of each generalized feature to the illegal external contact behavior;
[0014] S52, feature association calculation, using the logistic regression algorithm, taking the weighted generalized features as input, calculating through the learned model coefficients, and converting the linear combination of features into violation probability. The specific formula is:
[0015]
[0016] Among them, P(y=1|x) represents the probability that the category y is 1 under the condition of a given input feature x, that is, the violation probability, e is the base of the natural logarithm, (β0,β1,…,β n ) are the coefficients learned by the logistic regression model, (x0,x1,…,x n ) is the input feature value;
[0017] S53, probability threshold determination: the system sets a threshold according to the configured detection factor, and determines the illegal external connection behavior by comparing the violation probability calculated in step S52 with the threshold.
[0018] Furthermore, the preprocessing in step S2 is message classification caching within a period, specifically including:
[0019] S21, creating a message structured cache data table for each monitoring host;
[0020] S22, parse the message, structure the message data, and write it into the corresponding cache data table with the host IP as the keyword;
[0021] S23. Classify and sort the messages according to http, https, and dns protocols.
[0022] Furthermore, the step S4 is further as follows:
[0023] S41, time series analysis, the system applies long short-term memory network LSTM to learn the time dependency in network traffic and extract features that reflect the changes in traffic patterns over time;
[0024] S42. Based on the analysis of the behavioral baseline, the system builds a baseline of normal network behavior and uses the Isolation Forest algorithm to identify traffic patterns that are significantly different from the baseline. The specific formula is:
[0025] Isolation is used to measure the degree of isolation of network behavior relative to the baseline. The isolation formula is:
[0026]
[0027] Where x is the network behavior to be evaluated for the sample, n is the subsample set of the isolated sample, h(n) is the expected value of the path length from the evaluated network behavior x to the subsample n, E(h(n)) is the expected value of h(n), and c(n) is the average path length of the complete binary tree;
[0028] The anomaly metric is calculated based on the isolation degree. The specific formula is:
[0029] M(x)=E(h(n));
[0030] Among them, M(x) is the average path length of the network behavior to be evaluated by the sample, which is used to measure the abnormality of the network behavior to be evaluated;
[0031] S43. Statistical analysis: The system implements principal component analysis (PCA) to reduce the dimension of the data set and extract the main features, including:
[0032] Calculate the mean, the specific formula is:
[0033]
[0034] Where N is the number of samples, x i is the i-th sample;
[0035] Calculate the covariance matrix. The specific formula is:
[0036]
[0037] Where σ is the covariance matrix, For sample x i With the mean The difference, is transposed;
[0038] Perform eigendecomposition on the covariance matrix to obtain the eigenvalues and corresponding eigenvectors. The formula is:
[0039] σ v =λv;
[0040] Among them, λ is the eigenvalue and v is the corresponding eigenvector;
[0041] The corresponding feature vector is processed by dimension reduction to obtain the reduced-dimensional data.
[0042] According to another aspect of the present application, a device for identifying cross-border abnormal data flow based on atypical behavior analysis is also provided, comprising:
[0043] At least one processor for executing abnormality identification logic computing tasks;
[0044] A memory in communication with at least one of the processors, for storing collected VPN data packets, analysis models, and historical record information;
[0045] At least one network interface to connect to the network and obtain cross-border flow information;
[0046] and input and output interfaces for connecting to external devices or systems for data transmission;
[0047] The memory stores instructions that can be executed by the processor, and the instructions are used by the processor to implement the cross-border abnormal data flow identification method based on atypical behavior analysis as described in any of the above technical solutions.
[0048] Beneficial effects of the present invention: Through flexible detection cycle settings and adjustable detection factor configurations, the system can dynamically adjust detection strategies according to real-time network traffic and business characteristics, thereby improving the detection speed and accuracy of illegal external access behaviors, reducing operation and maintenance problems caused by false positives and missed positives, and improving detection efficiency and accuracy.
[0049] Through the real-time update and rapid response mechanism of the illegal external IP library, the system can quickly identify known illegal IPs and take targeted measures to avoid in-depth analysis of irrelevant data packets, thereby greatly reducing the burden on computing resources and reducing equipment and labor costs.
[0050] The violation generalization feature extraction method enables the system to analyze VPN traffic from multiple angles and levels, and deeply explore the abnormal patterns hidden behind network behavior. Whether it is for sudden traffic changes or long-term covert behavior, it can provide more comprehensive and three-dimensional identification capabilities.
[0051] This solution uses a correlation analysis model to determine illegal external contact behaviors. Combined with a real-time monitoring and early warning system, it can adjust detection parameters in real time to adapt to the ever-changing network environment and threat situation, ensuring that abnormal behaviors can be effectively identified in various situations and improving the stability and robustness of the overall system.
[0052] This solution shortens the time from discovering anomalies to taking action by outputting judgment results in real time and triggering corresponding security response strategies, ensuring the security of the network environment and preventing potential security threats and information leakage risks. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 It is a flow chart of the present invention.
[0054] Figure 2 This is a schematic diagram of the structured classification cache of periodic messages.
[0055] Figure 3 This is a flow chart of Example 1 of the present invention. DETAILED DESCRIPTION
[0056] Traditional virtual private network (VPN) services generally use preset rule sets and single data packet attribute analysis to extract and identify abnormal data flow behavior characteristics of illegal external connections to overseas websites. The specific measures are as follows:
[0057] 1. Rule filtering strategy: This method sets a series of fixed rules, such as detecting specific ports, IP addresses, protocol types or specific keywords in message payloads, and identifying known illegal behavior patterns through signature matching technology. Once the content of the data packet matches the rules, it will be initially identified as a potential violation.
[0058] 2. Single packet feature extraction: Focus on analyzing the basic attributes of a single data packet, including source and destination IP addresses, port numbers, protocol types, packet sizes, timestamps, etc. For VPN environments, specific parameters such as the encryption tunnel initialization process, authentication mechanisms, and tunnel configurations are also considered.
[0059] However, traditional methods have limitations in dealing with the following issues:
[0060] 1. High reliance on rules: Traditional methods are limited to identifying known and static violation patterns. In the face of evolving new violations, variant attacks, or unforeseen network activities, the effectiveness of the rule set may be greatly weakened, making it impossible to achieve timely and effective monitoring.
[0061] 2. High false positive and false negative rates: Analysis based on single message features is prone to false positives, and normal network communications may also trigger existing rules. At the same time, overly detailed rules may miss violations that are not characterized by obvious features.
[0062] 3. Lack of understanding of the global context: Single packet analysis cannot fully grasp the time series properties of abnormal behavior and the multi-dimensional connections of network interactions, such as frequent connection activities in a specific time period, changes in network structure, and access patterns hidden in long time series data.
[0063] In view of the above limitations, the present invention develops a behavioral feature extraction technology with strong generalization ability to make up for the shortcomings of existing methods in identifying complex abnormal behaviors. The key technical paths include: first, in-depth excavation and extraction of deep-level behavioral features in cross-border data transmission; second, the use of association analysis models to extract multivariate features for accurate determination of abnormal behaviors; finally, building a system that integrates real-time monitoring, early warning, and dynamic adjustment and optimization mechanisms to ensure that the entire solution is both efficient and accurate in actual operation. The present invention aims to break through traditional shackles, effectively identify known violation patterns, and flexibly respond to new abnormal behaviors that have never appeared.
[0064] Example 1
[0065] like Figure 1 and Figure 2 As shown, according to one aspect of the present application, a method for identifying cross-border abnormal data flow based on atypical behavior analysis includes the following steps:
[0066] Step S1, start the system and initialize the configuration, including: setting the detection cycle to meet the demand for abnormal behavior detection frequency in different time periods; configuring the detection factor to control the accuracy and coverage of feature extraction;
[0067] Step S2, data collection and preprocessing, including: data packet acquisition, through the low-latency interface deployed at the network traffic entrance, real-time capture of VPN data packets to record metadata, and decoding and recording of handshake information, authentication mechanism and tunnel type related to the encrypted tunnel; Figure 2 , pre-process the message classification cache within the period for host network behavior detection, including:
[0068] S21, creating a message structured cache data table for each monitoring host;
[0069] S22, parse the message, structure the message data, the structured information includes timestamp, source and destination IP, source and destination port number, message direction, message protocol, etc., and write the corresponding cache data table with host IP as the keyword;
[0070] S23, classify and sort the messages according to http, https, and dns protocols;
[0071] Step S3, quick match check of illegal external IP, including: illegal IP comparison and quick response, the system compares the IP of the data packet captured in step S2 with the illegal external IP library, if the record matches, it is determined to be a violation, outputs the judgment result, triggers the alarm mechanism, responds and handles; if the record does not match, enters step S4;
[0072] Step S4, extracting generalized features of illegal external connections, specifically includes:
[0073] S41, time series analysis, the system applies long short-term memory network LSTM to learn the time dependency in network traffic and extract features that reflect the changes in traffic patterns over time;
[0074] S42. Based on the analysis of the behavioral baseline, the system builds a baseline of normal network behavior and uses the Isolation Forest algorithm to identify traffic patterns that are significantly different from the baseline. The specific formula is:
[0075] Isolation is used to measure the degree of isolation of network behavior relative to the baseline. The isolation formula is:
[0076]
[0077] Where x is the network behavior to be evaluated for the sample, n is the subsample set of the isolated sample, h(n) is the expected value of the path length from the evaluated network behavior x to the subsample n, E(h(n)) is the expected value of h(n), and c(n) is the average path length of the complete binary tree;
[0078] The anomaly metric is calculated based on the isolation degree. The specific formula is:
[0079] M(x)=E(h(n));
[0080] Among them, M(x) is the average path length of the network behavior to be evaluated by the sample, which is used to measure the abnormality of the network behavior to be evaluated;
[0081] S43. Statistical analysis: The system implements principal component analysis (PCA) to reduce the dimension of the data set and extract the main features, including:
[0082] Calculate the mean, the specific formula is:
[0083]
[0084] Where N is the number of samples, x i is the i-th sample;
[0085] Calculate the covariance matrix. The specific formula is:
[0086]
[0087] Where σ is the covariance matrix, For sample x i With the mean The difference, is transposed;
[0088] Perform eigendecomposition on the covariance matrix to obtain the eigenvalues and corresponding eigenvectors. The formula is:
[0089] σ v =λv;
[0090] Among them, λ is the eigenvalue and v is the corresponding eigenvector;
[0091] The eigenvectors corresponding to the first k eigenvalues are selected as the main components to form the projection matrix W. The dimensionality reduction process formula is:
[0092] Y = XW;
[0093] Among them, Y is the data after dimension reduction;
[0094] Step S5: Calculate and determine the illegal external connection behavior. The illegal external connection behavior is determined by the association analysis model. If it is an illegal external connection behavior, the determination result is output, and the alarm mechanism is triggered to respond and deal with it. If it is not an illegal external connection behavior, the next host detection is carried out, which specifically includes:
[0095] S51, feature weighting, assigning a predefined weight to each feature according to the feature extraction threshold, feature importance weight allocation, time window length, and the correlation between each feature and the illegal external contact behavior;
[0096] S52, feature association calculation, using the logistic regression algorithm, taking the weighted generalized features as input, calculating through the learned model coefficients, and converting the linear combination of features into violation probability. The specific formula is:
[0097]
[0098] Among them, P(y=1|x) represents the probability that the category y is 1 under the condition of a given input feature x, that is, the violation probability, e is the base of the natural logarithm, (β0,β1,…,β n ) are the coefficients learned by the logistic regression model, (x0,x1,…,x n ) is the input feature value;
[0099] S53, probability threshold determination: the system sets a threshold according to the configured detection factor, and compares the violation probability calculated in step S52 with the threshold. When the calculated violation probability value exceeds the set threshold, the illegal external connection behavior is determined.
[0100] In this embodiment, the system uses the association analysis model to determine illegal external contact behaviors and generate a detailed abnormal behavior analysis report, which includes key information such as behavior description, occurrence time, involved IP addresses, abnormal indicators, etc. Based on these reports, the system will automatically trigger corresponding security response strategies, such as notifying administrators, isolating the terminals involved, recording event logs, etc., and support manual intervention and further investigation. At the same time, these results can also serve as important inputs for future optimization algorithms and strategies of the system.
[0101] Example 2
[0102] like Figure 3 As shown, according to one aspect of the present application, a method for identifying cross-border abnormal data flow based on atypical behavior analysis includes the following steps:
[0103] Step S1, system initialization and configuration phase:
[0104] When the system is started, necessary initialization work is performed, including loading basic configuration files, configuring server hardware resources, and installing required software dependencies.
[0105] Set the detection cycle, use a timer or event-driven mechanism to trigger a detection task every 5 minutes, and set the time interval parameters at the code level.
[0106] Configure detection factor: The detection factor plays a key role in measuring the risk level of network behavior characteristics. The detection factor value includes feature extraction threshold, feature importance weight allocation, and time window length. The design range is from 10 to 100, increasing by 10. In this embodiment, the step size of the detection factor is set to 20.
[0107] Step S2, data collection and preprocessing stage:
[0108] Packet capture: Use the underlying network interface to capture network traffic and collect raw message data within a set period;
[0109] Intra-cycle message classification cache: Classify and cache data packets for host network behavior detection.
[0110] Step S3, abnormal behavior determination stage:
[0111] For IP behaviors within each detection cycle, the system first excludes known compliant behaviors and IPs that are clearly marked as violating, and focuses on IPs that have not been clearly determined;
[0112] Based on the feature extraction threshold, feature importance weight allocation, time window length and other features, the detection host's illegal external connection behavior is determined. If it is not a suspected abnormality, the next host is detected. If it is a suspected abnormality, a whitelist match is performed. If a certain IP triggers the abnormal threshold multiple times within a continuous detection cycle but is confirmed to be a false alarm after manual review, the system will optimize the processing of such false alarms and add it to the whitelist to detect the next host. Otherwise, enter step S4.
[0113] Step S4, quick match check of illegal external IP:
[0114] Illegal IP comparison and rapid response, the system compares the IP of the data packet with the illegal external IP library. If the records match, it is determined to be a violation, the judgment result is output, the alarm mechanism is triggered, and response and disposal are carried out; after the response and disposal, the system adds a false alarm IP whitelist mechanism. When the system detects that the IP in the whitelist has similar abnormal behavior that triggers anomalies, it will automatically downgrade or ignore the alarm, thereby reducing the false alarm rate and improving the accuracy and practicality of the system; if the records do not match, go to step S5.
[0115] Step S5, extraction and determination of generalized features of illegal external links:
[0116] The system uses the long short-term memory network (LSTM) to learn the time dependency in network traffic and extract features that reflect the changes in traffic patterns over time. Based on the analysis of the behavioral baseline, the system builds a baseline for normal network behavior and uses the Isolation Forest algorithm to identify traffic patterns that are significantly different from the baseline. The system implements principal component analysis (PCA) to reduce the dimension of the data set and extract the main features. The system also uses the association analysis model to determine illegal external connection behavior. If it is illegal external connection behavior, the determination result is output, the alarm mechanism is triggered, and the response and disposal are carried out, and the illegal external connection IP library is updated; if it is not illegal external connection behavior, the next host detection is carried out.
[0117] In this embodiment, the system automatically summarizes the analysis results and generates a security analysis report containing suspicious behaviors, relevant features, impact range, etc. Based on the analysis report, the security team takes targeted security reinforcement measures, adjusts defense strategies or conducts emergency response. The implementation of the entire process requires not only specific programming skills, but also relevant knowledge of network communication, data analysis, machine learning, etc., and the deployment of high-performance data processing and storage facilities in the actual environment. At the same time, the system design should have good scalability and adaptability so that it can be continuously optimized as the network environment changes and the threat model evolves.
[0118] According to another aspect of the present application, a method and device for identifying cross-border abnormal data flow based on atypical behavior analysis is also provided, comprising:
[0119] At least one processor for executing abnormality identification logic computing tasks;
[0120] A memory in communication with at least one of the processors, for storing collected VPN data packets, analysis models, and historical record information;
[0121] At least one network interface to connect to the network and obtain cross-border flow information;
[0122] and input and output interfaces for connecting to external devices or systems for data transmission;
[0123] The memory stores instructions that can be executed by the processor, and the instructions are used to be executed by the processor to implement the cross-border abnormal data flow identification method based on atypical behavior analysis as described in any of the above technical solutions.
[0124] It should be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present invention will not further describe various possible combinations.
Claims
1. A method for identifying cross-border abnormal data flow based on atypical behavior analysis, characterized in that: The steps include: Step S1, start the system and initialize the configuration, including: setting the detection cycle to meet the demand for abnormal behavior detection frequency in different time periods; configuring the detection factor, which includes the feature extraction threshold, feature importance weight allocation, and time window length to control the accuracy and coverage of feature extraction; Step S2, data collection and preprocessing, including: data packet acquisition, through the low-latency interface deployed at the network traffic entrance, real-time capture of VPN data packets to record metadata; message classification cache within the period, the system classifies and caches the captured data packets according to the detection period for host network behavior detection; Step S3, quick match check of illegal external IP, including: illegal IP comparison and quick response, the system compares the IP of the data packet captured in step S2 with the illegal external IP library, if the record matches, it is determined to be a violation, outputs the judgment result, triggers the alarm mechanism, responds and handles; if the record does not match, enters step S4; Step S4, extracting generalized features of illegal external connections, wherein the generalized features of illegal external connections include traffic patterns, source IP addresses and target IP addresses, and message session features; Step S5: Calculate and determine the illegal external connection behavior. The illegal external connection behavior is determined by the association analysis model. If it is an illegal external connection behavior, the determination result is output, the alarm mechanism is triggered, and the response and disposal are carried out. The illegal external connection behavior is updated to the illegal external connection IP library in real time; if it is not an illegal external connection behavior, the next host detection is carried out, specifically: S51, feature weighting, assigning a predefined weight to each feature according to the relevance of each generalized feature to the illegal external contact behavior; S52, feature association calculation, using the logistic regression algorithm, taking the weighted generalized features as input, calculating through the learned model coefficients, and converting the linear combination of features into violation probability. The specific formula is: Among them, P(y=1|x) represents the probability that the category y is 1 under the condition of a given input feature x, that is, the violation probability, e is the base of the natural logarithm, (β0,β1,…,β n ) are the coefficients learned by the logistic regression model, (x0,x1,…,x n ) is the input feature value; S53, probability threshold determination: the system sets a threshold according to the configured detection factor, and determines the illegal external connection behavior by comparing the violation probability calculated in step S52 with the threshold.
2. The method for identifying cross-border abnormal data flow based on atypical behavior analysis as claimed in claim 1, characterized in that: The preprocessing in step S2 is the message classification cache within the period, which specifically includes: S21, creating a message structured cache data table for each monitoring host; S22, parse the message, structure the message data, and write it into the corresponding cache data table with the host IP as the keyword; S23. Classify and sort the messages according to http, https, and dns protocols.
3. The method for identifying cross-border abnormal data flow based on atypical behavior analysis as claimed in claim 1, characterized in that: The step S4 is further as follows: S41, time series analysis, the system applies long short-term memory network LSTM to learn the time dependency in network traffic and extract features that reflect the changes in traffic patterns over time; S42. Based on the analysis of the behavioral baseline, the system builds a baseline of normal network behavior and uses the Isolation Forest algorithm to identify traffic patterns that are significantly different from the baseline, specifically: Isolation is used to measure the degree of isolation of network behavior relative to the baseline. The isolation formula is: Where x is the network behavior to be evaluated for the sample, n is the subsample set of the isolated sample, h(n) is the expected value of the path length from the evaluated network behavior x to the subsample n, E(h(n)) is the expected value of h(n), and c(n) is the average path length of the complete binary tree; The anomaly metric is calculated based on the isolation degree. The specific formula is: M(x)=E(h(n)); Among them, M(x) is the average path length of the network behavior to be evaluated by the sample, which is used to measure the abnormality of the network behavior to be evaluated; S43. Statistical analysis: The system implements principal component analysis (PCA) to reduce the dimension of the data set and extract the main features, including: Calculate the mean, the specific formula is: Where N is the number of samples, x i is the i-th sample; Calculate the covariance matrix. The specific formula is: Where σ is the covariance matrix, For sample x i With the mean The difference, is transposed; Perform eigendecomposition on the covariance matrix to obtain the eigenvalues and corresponding eigenvectors. The formula is: s v =λv; Among them, λ is the eigenvalue and v is the corresponding eigenvector; The corresponding feature vector is processed by dimension reduction to obtain the reduced-dimensional data.
4. A device for identifying cross-border abnormal data flow based on atypical behavior analysis, characterized in that: include: At least one processor for executing abnormality identification logic computing tasks; A memory in communication with at least one of the processors, for storing collected VPN data packets, analysis models, and historical record information; At least one network interface to connect to the network and obtain cross-border flow information; and input and output interfaces for connecting to external devices or systems for data transmission; The memory stores instructions that can be executed by the processor, and the instructions are used to be executed by the processor to implement the cross-border abnormal data flow identification method based on atypical behavior analysis as described in any one of claims 1 to 3.
