Network security attack threat analysis method and device based on rough set
By adopting a rough set-based network security attack threat analysis method in network security technology, the problem that existing technology is difficult to deal with complex network security threats is solved, and more efficient network security monitoring and defense capabilities are achieved.
Patent Information
- Application Number
- CN202510501487.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-21
- Publication Date
- 2025-06-17
- Estimated Expiration
- 2045-04-21
AI Technical Summary
Existing network security technologies are difficult to deal with vague or incomplete information and cannot adapt to complex network security threat environments. Static protection strategies are easily bypassed by new or mutated threats, and lack effective security threat simulation and testing methods.
The network security attack threat analysis method based on rough set is adopted, and network traffic data is collected in real time, data attribute evaluation technology is used to dynamically adjust the time window, random forest algorithm is used to identify abnormal behavior patterns, dynamically configure resources, simulate network security attack threat scenarios, and conduct network security testing.
It improves the flexibility and accuracy of data processing, improves the efficiency and response speed of network security monitoring, enhances the initiative and foresight of network security management, and improves the defense capabilities and overall security of the entire network security system.
Smart Images

Figure CN120165971A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network security technology, and particularly to a method and device for analyzing network security attack threats based on rough sets. Background Art
[0002] The field of network security technology encompasses a variety of techniques and methods ranging from data protection to preventing unauthorized access. This field focuses on protecting computer systems, networks, and data from attacks, damage, or unauthorized access. The core elements of network security include information security, application security, network defense, endpoint protection, and cloud security, etc. Collectively, they build a comprehensive system aimed at defending against various network threats and attacks. From basic firewalls and virus protection to advanced intrusion detection systems and encryption technologies are all methods by which network security attempts to prevent or mitigate security threats.
[0003] Among them, the method for analyzing network security attack threats based on rough sets refers to the technology of using rough set theory to analyze and identify network security threats. As a data analysis tool, rough set theory allows for the handling of ambiguous and incomplete information, making it particularly suitable for dynamic network security environments. This patent theme involves using a rough set model to identify patterns and associations in data. In this way, potential security threats and abnormal behaviors can be effectively distinguished. This method mainly conducts threat assessment based on the relevance and importance of data attributes, rather than relying on traditional data processing or filtering algorithms.
[0004] Existing network security technologies mainly rely on traditional firewalls, virus protection, and intrusion detection systems, etc. They have limited capabilities in dealing with ambiguous or incomplete information and are difficult to adapt to the increasingly complex network security threat environment. The fixed time window size cannot be adjusted in a timely manner in the face of sudden network traffic fluctuations, missing the identification of critical abnormal behaviors. Traditional methods are static in terms of resource allocation and cannot be dynamically optimized according to the changes in real-time data streams, resulting in low efficiency in resource utilization and risk management. In actual operation, this static protection strategy is easily bypassed by new or mutated security threats, posing risks of data leakage or system intrusion. The lack of effective security threat simulation and testing means is also a major shortcoming of the existing technology, unable to foresee and prepare for future security challenges, leading to the vulnerability of the entire network. Summary of the Invention
[0005] To address the technical problems in the prior art, such as limited ability to handle ambiguous or incomplete information and difficulty in adapting to the increasingly complex network security threat environment; static protection strategies are easily bypassed by new or mutated security threats, resulting in the risk of data leakage or system intrusion; and the lack of effective security threat simulation and testing means, the embodiments of the present invention provide a method and device for analyzing network security attack threats based on rough sets. The technical solutions are as follows:
[0006] On the one hand, a method for analyzing network security attack threats based on rough sets is provided. This method is implemented by a network security attack threat analysis device and includes:
[0007] S1: Collect real-time network traffic data, apply the data attribute evaluation technology in rough set theory to analyze the characteristics of the network traffic data, evaluate the fluctuation intensity and change range of the data, and dynamically adjust the size of the time window to obtain a time window size adjustment parameter;
[0008] S2: Use the time window size adjustment parameter and the random forest algorithm to analyze the real-time network traffic. By statistically characterizing and recording abnormal data, identify the abnormal behavior patterns in the real-time network environment to obtain an abnormal pattern recognition result;
[0009] S3: According to the abnormal pattern recognition result, evaluate the abnormal frequency and severity in the data stream, dynamically configure resources, prioritize the data streams at risk, adjust the monitoring frequency, and analyze the real-time changing network threat environment to obtain an optimized resource configuration;
[0010] S4: Based on the optimized resource configuration, simulate the network security attack threat scenario, automatically adjust the simulation parameters using the real-time updated network status data, simulate covering key security risk points, and refer to the network traffic and attack patterns to obtain a network security attack threat simulation result;
[0011] S5: Use the network security attack threat simulation result to conduct network security testing, dynamically adjust the attack frequency, detect the response and processing capabilities of the network, optimize the network security configuration, and obtain a network security evaluation result.
[0012] On the other hand, a device for analyzing network security attack threats based on rough sets is provided. This device is applied to the method for analyzing network security attack threats based on rough sets and includes:
[0013] A data attribute evaluation module for collecting real-time network traffic data, applying the data attribute evaluation technology in rough set theory to analyze the characteristics of the network traffic data, evaluating the fluctuation intensity and change range of the data, and dynamically adjusting the size of the time window to obtain a time window size adjustment parameter;
[0014] A real-time traffic analysis module, which is used to use the time window size adjustment parameter, utilize the random forest algorithm to analyze the real-time network traffic, identify the abnormal behavior patterns in the real-time network environment by statistical features and record abnormal data, and obtain the abnormal pattern recognition result;
[0015] An abnormal pattern diagnosis module, which is used to evaluate the abnormal frequency and severity in the data stream according to the abnormal pattern recognition result, dynamically configure resources, give priority to processing the data stream with risks, adjust the monitoring frequency, analyze the real-time changing network threat environment, and obtain the optimized resource configuration;
[0016] A security scenario simulation module, which is used to simulate the network security attack threat scenario based on the optimized resource configuration, automatically adjust the simulation parameters by using the real-time updated network state data, simulate and cover the key security risk points, and obtain the network security attack threat simulation result with reference to the network traffic and attack patterns;
[0017] A network defense optimization module, which is used to use the network security attack threat simulation result to conduct network security tests, dynamically adjust the attack frequency, detect the response and processing capabilities of the network, optimize the network security configuration, and obtain the network security evaluation result.
[0018] On the other hand, there is provided a network security attack threat analysis device, which includes: a processor; a memory, on which computer-readable instructions are stored, and when the computer-readable instructions are executed by the processor, any one of the methods in the above-mentioned rough set-based network security attack threat analysis method is implemented.
[0019] On the other hand, there is provided a computer-readable storage medium, in which at least one instruction is stored, and the at least one instruction is loaded and executed by a processor to implement any one of the methods in the above-mentioned rough set-based network security attack threat analysis method.
[0020] The beneficial effects brought by the technical solutions provided in the embodiments of the present invention at least include:
[0021] The present invention proposes a method for analyzing network security attack threats based on rough sets. By collecting network traffic data in real time and applying data attribute evaluation techniques, it can dynamically analyze the characteristics of network traffic, adjust the size of the time window through volatility and variability evaluation, and effectively enhance the flexibility and accuracy of data processing. Using the random forest algorithm to further analyze the data can not only identify abnormal behavior patterns, but also quickly locate abnormal data through statistical features, improving the efficiency and response speed of network security monitoring. By evaluating the abnormal frequency and severity in the data stream to dynamically configure resources and optimize the frequency of network monitoring, it not only improves the resource utilization efficiency, but also makes network security management more proactive and forward-looking. Simulating network security attack threat scenarios and dynamically adjusting simulation parameters enables security protection measures to be updated in a timely manner and cover key security risk points, enhancing the defense capabilities of the entire network security system. The simulation results are used for network security testing. By dynamically adjusting the attack frequency to detect the network's response and processing capabilities, the network security configuration is further optimized, greatly improving the overall security and stability of the network. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0023] Figure 1 It is a flowchart of a method for analyzing network security attack threats based on rough sets provided by an embodiment of the present invention;
[0024] Figure 2 It is a block diagram of a device for analyzing network security attack threats based on rough sets provided by an embodiment of the present invention;
[0025] Figure 3 It is a schematic structural diagram of a device for analyzing network security attack threats provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0026] The following describes the technical solutions in the present invention in conjunction with the drawings.
[0027] In the embodiments of the present invention, words such as "exemplarily" and "for example" are used to represent examples, illustrations or explanations. Any embodiment or design solution described as an "example" in the present invention should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Exactly speaking, the use of the word "example" is intended to present concepts in a specific manner. In addition, in the embodiments of the present invention, the meaning expressed by "and / or" can be both, or either one of the two can be selected.
[0028] In the embodiments of the present invention, the terms "image" and "picture" can sometimes be used interchangeably. It should be noted that when the difference is not emphasized, their intended meanings are the same. The terms "of", "corresponding", and "corresponding" can sometimes be used interchangeably. It should be noted that when the difference is not emphasized, their intended meanings are the same.
[0029] In the embodiments of the present invention, sometimes a subscript such as W1 may be written in a non-subscript form such as W1. When the difference is not emphasized, their intended meanings are the same.
[0030] To make the technical problems, technical solutions, and advantages to be solved by the present invention clearer, the following will be described in detail with reference to the accompanying drawings and specific embodiments.
[0031] The embodiments of the present invention provide a method for analyzing network security attack threats based on rough sets. This method can be implemented by a network security attack threat analysis device, which can be a terminal or a server. As Figure 1 shown in the flowchart of the method for analyzing network security attack threats based on rough sets, the processing flow of this method can include the following steps:
[0032] S1: Collect real-time network traffic data, apply the data attribute evaluation technology in rough set theory to analyze the characteristics of the network traffic data, evaluate the fluctuation intensity and variation range of the data, dynamically adjust the size of the time window, and obtain the time window size adjustment parameter.
[0033] Among them, the time window size adjustment parameter includes the window duration, the traffic threshold for triggering expansion, and the dynamic reduction rate;
[0034] The abnormal pattern recognition result includes the frequency, duration, and influence range of abnormal events;
[0035] Resource optimization configuration includes the processing priority of risk traffic, the backup strategy of key resources, and the monitoring of key services;
[0036] The network security attack threat simulation result includes the type of simulated attack, the success rate of simulation, and the network's defense response;
[0037] The network security evaluation result includes the number of detected vulnerabilities, the repair speed, and the network security recovery ability.
[0038] Optionally, collecting real-time network traffic data, applying the data attribute evaluation technology in rough set theory to analyze the characteristics of the network traffic data, evaluating the fluctuation intensity and variation range of the data, dynamically adjusting the size of the time window, and obtaining the time window size adjustment parameter includes:
[0039] S101: Collect real-time network traffic data, classify and record data packets, analyze the source addresses of data packets, evaluate the sizes and transmission frequencies of data packets, perform initial screening of data traffic, set a dynamically adjustable time window to capture traffic fluctuations, and obtain real-time network traffic records.
[0040] In a feasible implementation, the capture of data packets is processed in stages. Each data packet in the network traffic is obtained through a traffic collection tool, and the data packets are classified according to protocol types by using a protocol parsing tool, such as Transmission Control Protocol (TCP), User Datagram Protocol (UDP), HyperText Transfer Protocol (HTTP), etc.; core fields such as the source address, destination address, data length, and timestamp of the data packets are extracted, all data packets are sorted according to the timestamp to generate a complete traffic record table, the sizes of the data packets are statistically analyzed, and at the same time, the transmission frequencies of the data packets are calculated to capture the characteristics of high-frequency data packets. Based on the statistical results, the traffic is initially screened, and the number of data packets within a unit time is calculated by setting a dynamically adjustable time window to identify the time points of traffic fluctuations, and real-time network traffic records are obtained.
[0041] S102: Adopt real-time network traffic records, apply rough set theory, divide the upper approximation set and lower approximation set of the data, analyze the statistical characteristics and frequency distributions of the elements in the differential set, compare the differences between the upper approximation set and the lower approximation set, identify the volatility and abnormal data points of the network traffic, and obtain the analysis result of data attribute fluctuations.
[0042] In a feasible implementation, the characteristics of data traffic are analyzed by introducing rough set theory. The data packets in the traffic records are divided into discrete sets, and the upper approximation set and the lower approximation set are constructed for each set respectively. The upper approximation set includes the elements belonging to the target data classification, and the lower approximation set includes the elements that necessarily belong to the target data classification. The statistical characteristics of the upper and lower approximation sets are extracted, including the number of set elements, element occurrence frequencies, etc. The fluctuation characteristics and abnormal data points in the traffic are identified by analyzing the degree of difference between the two sets, the statistical distributions of the differential sets are compared, the significant fluctuation points of the traffic are found, and the analysis result of data attribute fluctuations is obtained by combining the positions and times of the abnormal data points.
[0043] S103: Based on the analysis result of data attribute fluctuations, dynamically adjust the size of the time window, compare the data variability under short-time and long-time windows, calculate the window size, and obtain the time window size adjustment parameter.
[0044] Among them, the calculation formula for the window size is as follows in Equation (1):
[0045]
[0046] Among them, W t represents the window size at time point t, w i represents the weight coefficient at time point t - i, X t-i represents the data value at time point t - i, n represents the number of data points within the window, X t represents the data value at time point t, represents the average value of the data within the window, σ represents the standard deviation of the data within the window, and β represents the adjustment coefficient.
[0047] In a feasible implementation, w i is the weight coefficient, obtained through a time-decreasing function of the data points within the window, ensuring that recent data has a greater impact on the calculation result. For a 5-point window, it is set to [0.5, 0.7, 0.8, 0.9, 1.0]; set according to the more relevant recent data;
[0048] X t-i is the value of the historical data point, a value collected in real time from the data, such as temperature or price data;
[0049] n is the window size, set to 5. Based on historical data analysis, a shorter window can effectively capture data trends;
[0050] X t is the value of the current data point, collected in real time from the sensor or data;
[0051] is the average value of the data within the window, calculated as
[0052] σ is the standard deviation, obtained through the standard deviation calculation function of all data points within the window;
[0053] β is the adjustment coefficient, set according to the data volatility. A larger β strengthens the response to mutations and is set to 0.5, based on the response pattern of past data deviating from the average value;
[0054] Substitute the parameters into the formula for calculation:
[0055] Set the data points X t-1 to X t-5 to be [100, 102, 98, 104, 103] respectively, and the current data point X t is 105, and the window average is calculated as:
[0056]
[0057] The standard deviation σ is set to 2, and the adjustment coefficient β is 0.5;
[0058]
[0059] The results show that under the current data and settings, the calculated window size should be adjusted to approximately 114.24, which reflects the variability of the data within the window and the deviation of the current data, provides a specific quantitative indicator for data variability analysis, helps to further adjust and optimize the time window size, and improves the accuracy of data processing and analysis.
[0060] S2: Use the time window size adjustment parameter, and utilize the random forest algorithm to analyze the real-time network traffic. By statistically characterizing and recording abnormal data, identify the abnormal behavior patterns in the real-time network environment to obtain the abnormal pattern recognition results.
[0061] Optionally, use the time window size adjustment parameter, and utilize the random forest algorithm to analyze the real-time network traffic. By statistically characterizing and recording abnormal data, identify the abnormal behavior patterns in the real-time network environment to obtain the abnormal pattern recognition results, including:
[0062] S201: According to the time window size adjustment parameter, initialize and filter the network data within the target time, eliminate the irrelevant data, and extract the basic statistical features from the remaining data, including the traffic volume, the number of connections, and the duration, to obtain the basic feature data set.
[0063] In a feasible implementation, process the network traffic data within the target time range. Divide the data traffic into multiple segments according to the length of the time window, classify the data packets within each segment according to the protocol type and source address, filter out the irrelevant data such as background noise and the data packets irrelevant to the analysis target, perform traffic statistical analysis on the remaining data, extract the basic statistical features of the data, including the traffic volume, the number of source and target connections, the average duration and the fluctuation range of the data packets. By calculating the above features within each time window and preliminarily verifying the features, remove the redundant data or abnormal invalid data omitted during the feature extraction process to obtain the basic feature data set.
[0064] S202: Based on the basic feature data set, standardize the data, process the data format, screen the abnormal points of the data, and screen the potential abnormal data according to the deviation from the average value and the standard deviation to obtain the abnormal candidate data set.
[0065] In a feasible implementation, the data is standardized to unify the feature data within different time windows into the same format and unit values. For example, the traffic volume is converted into a value in bytes, the duration is converted into seconds, and the number of connections is recorded as an integer value. The dataset is normalized by calculating the mean and standard deviation of the features, and all feature values are standardized to the interval between 0 and 1. At the same time, the outlier points in the feature data are screened, and potential outliers are judged according to the degree of deviation of each feature value from the mean value. The difference between the feature value and the mean value is calculated and judged whether it belongs to an abnormal data point based on the standard deviation, and an abnormal candidate dataset is obtained.
[0066] S203: Using the abnormal candidate dataset, analyze the network data behavior pattern. Through the pattern matching algorithm, compare the data behavior with the abnormal behavior pattern to generate the abnormal behavior pattern recognition result.
[0067] In a feasible implementation, a deep analysis is performed on the behavior pattern of network data. By presetting the abnormal behavior pattern, a matching analysis is carried out based on the multi-dimensional features of the network traffic and the predefined abnormal behavior pattern. The pattern matching algorithm is used to compare the similarity between the data traffic features and the abnormal behavior template item by item, and the matched abnormal behavior pattern is marked. The degree of coincidence between the data and the abnormal pattern is quantified by calculating the feature similarity. For the matched abnormal pattern, the key data points of the behavior features are further extracted, including the start time, duration, and target address of the abnormal traffic, to generate the abnormal behavior pattern recognition result.
[0068] S3: According to the abnormal pattern recognition result, evaluate the abnormal frequency and severity in the data stream, dynamically configure resources, give priority to processing the data stream with risks, adjust the monitoring frequency, analyze the real-time changing network threat environment, and obtain the optimized resource configuration.
[0069] Optionally, according to the abnormal pattern recognition result, evaluate the abnormal frequency and severity in the data stream, dynamically configure resources, give priority to processing the data stream with risks, adjust the monitoring frequency, analyze the real-time changing network threat environment, and obtain the optimized resource configuration, including:
[0070] S301: Based on the abnormal pattern recognition result, perform a frequency and severity analysis on the identified abnormal behavior, evaluate the potential impact and urgency of the abnormal event, and obtain the abnormal risk assessment result.
[0071] In a feasible implementation, the behavior patterns in the network traffic log data are analyzed. By performing statistical frequency analysis on the identified abnormal behaviors, the number of triggers of each abnormal behavior in a specific time window is obtained. Key influencing factors are decomposed through a behavior feature extraction method, including time, source address, traffic category, and traffic fluctuation characteristics, etc., and classified into different abnormal behavior patterns. The corresponding trigger weights are calculated for each abnormal behavior pattern. By combining the trigger weights with the cumulative impact value of the abnormal behavior, a set of behavior pattern impact weights is established. At the same time, the potential risk influencing factors of each abnormal behavior in different network environments are measured through a specific algorithm, including the estimated resource occupancy or the service failure time caused, and the overall risk index of the abnormal behavior is further calculated through a weighted model to obtain the abnormal risk assessment result.
[0072] S302: Adopt the abnormal risk assessment result to dynamically configure network monitoring and protection resources, prioritize the identified risk data streams for processing, adjust the resource allocation and response mechanism of network security data monitoring, optimize the distribution and use of network resources, and obtain the risk prioritization processing result.
[0073] In a feasible implementation, prioritize the identified risk data streams for processing, and calculate the risk priority score according to formula (2):
[0074]
[0075] where R represents the risk priority score, F p represents the trigger frequency of the p-th type of risk, S p represents the impact severity score of the p-th type of risk, Z is the total monitoring resource allocation value, and U is the risk type;
[0076] Detailed explanation of the formula and the formula calculation derivation process: The trigger frequency F p By classifying and counting the total number of triggers of each type of risk behavior in the historical monitoring data, it is set that within a certain time period, the number of triggers of the first type of risk behavior is 120 times, then F1 = 120;
[0077] The number of triggers of the second type of risk behavior is 80 times, then F2 = 80, and the impact severity score S p is obtained by comprehensively calculating the resource occupancy ratio and interruption time caused by each type of risk behavior. It is set that the comprehensive impact score of the first type of risk behavior is 70, then S1 = 70, and the comprehensive score of the second type of risk behavior is 90, then S2 = 90;
[0078] The total monitoring resource allocation value Z is obtained by counting the total amount of currently available resources. For example, if the current network monitoring resources are 2000 units, then Z = 2000,
[0079] Substitute the above values:
[0080]
[0081] The results show that the priority score of the current risk data stream is 7.8, indicating that the risk handling requires a certain adjustment of resource priority. According to the calculation results, the risk types and severities that need to be prioritized for resource allocation can be determined.
[0082] S303: Based on the results of risk prioritization, adjust the monitoring frequency, analyze the real-time changes in network traffic, evaluate the dynamic characteristics of the network threat environment, and continuously monitor to match the changes in the network environment to obtain optimized resource allocation.
[0083] In a feasible implementation, adjust the network monitoring frequency, decompose and classify the data characteristics of the change trend of real-time network traffic, obtain the mean value and fluctuation range of the traffic feature distribution, extract the main feature factors of the traffic change within the time window, combine with the historical traffic anomaly distribution law in a specific sub-network area, construct a real-time traffic trend prediction model to predict the traffic anomaly behavior that will occur in the short term, preferentially adjust the frequency distribution of network monitoring according to the predicted anomaly behavior, reallocate the existing network monitoring resources, preferentially monitor the sub-network areas with large abnormal traffic fluctuations, use the monitoring data to analyze the characteristics of the network threat environment in real time, deeply analyze the flow direction, source and frequency changes of network traffic, and dynamically adjust the monitoring strategy by comparing the differences between real-time monitoring data and historical abnormal behaviors, further improving the monitoring ability and protection efficiency of the overall network resources to obtain optimized resource allocation.
[0084] S4: Based on the optimized resource allocation, simulate the network security attack threat scenario, automatically adjust the simulation parameters using the real-time updated network status data, simulate covering key security risk points, and refer to the network traffic and attack patterns to obtain the network security attack threat simulation results.
[0085] Optionally, based on the optimized resource allocation, simulate the network security attack threat scenario, automatically adjust the simulation parameters using the real-time updated network status data, simulate covering key security risk points, and refer to the network traffic and attack patterns to obtain the network security attack threat simulation results, including:
[0086] S401: According to the optimized resource allocation, set the initial parameters of the network security simulation, automatically adjust the simulation behavior and parameters using the real-time updated network status data, verify the simulation consistency, and obtain the adjusted simulation parameters.
[0087] In a feasible implementation, the parameter settings for network security simulation are initialized, the resource distribution status and optimization configuration strategy of the current network are extracted, and the initial simulation parameters are set based on the extracted status data, including parameters such as traffic baseline, number of connections, and packet size. The real-time status data of the network is used as a dynamic input to adjust the simulation behavior characteristics in real time, analyze the difference between the simulation data output result and the actual network status, verify the consistency of the simulation by comparing the simulation output result and the network real-time status data, and gradually adjust the simulation parameters, such as dynamically adjusting the traffic fluctuation range and attack frequency, until the simulation parameters can accurately reflect the network real-time status, and the adjusted simulation parameters are output.
[0088] S402: Using the adjusted simulation parameters, construct and execute a security attack threat scenario in the network security simulation, perform a security attack simulation on the key nodes of the network, calculate the quantitative evaluation value of the network response, and obtain a security risk coverage record.
[0089] Among them, the calculation formula for the quantitative evaluation value of the network response is as follows in formula (3):
[0090]
[0091] Among them, RQ is the quantitative evaluation value of the network response, N represents the total number of attack events in the simulation, w a represents the weight of the a-th attack event, s a represents the security status score of the a-th node before the attack, t a represents the security status score of the a-th node after being attacked.
[0092] In a feasible implementation, the parameter meanings and setting values:
[0093] N represents the total number of attack events simulated in the simulation. This number is determined according to the number of key nodes in the network system. If there are 10 key nodes in the actual network, then N is set to 10;
[0094] w a is the weight of the a-th attack event, which is quantified according to the network traffic of this node and the frequency of historical security events. Set the network traffic ratio of node A to be 20% and the frequency of being attacked historically is higher than the average level. w a can be set to 1.2;
[0095] s a represents the security status score of the a-th node before the attack. This score is obtained by comprehensively analyzing the vulnerability scanning and intrusion detection results of this node by a security monitoring tool. Set the number of vulnerabilities of node A to be medium. s a can be set to 70 points;
[0096] ta Represents the security status score of the a-th node after being attacked, which is also obtained through the evaluation of the security monitoring tool. For example, after the attack, some vulnerabilities of node A are exploited, and t a can be set to 50 points;
[0097] Substitute the parameters into the formula for calculation: Suppose there are 3 key nodes in the network, and the parameter settings of each node are as follows: N = 3, w1 = 1.0, w2 = 1.2, w3 = 0.8, s1 = 90, s2 = 70, s3 = 85, t1 = 60, t2 = 50, t3 = 75;
[0098] Calculate the terms of each node:
[0099]
[0100] Calculate the sum:
[0101]
[0102] Substitute the sum into the formula for calculation:
[0103]
[0104] The result shows the simulated average attack impact degree. This value represents the average degree of decrease in the security score of each node after being attacked among the three simulated key nodes. This result reflects the actual impact of the attack simulation on the security status of network nodes and is further used to evaluate and adjust the network security strategy.
[0105] S403: Based on the security risk coverage record, analyze the network traffic data and the simulated attack patterns, evaluate the correlation and impact effect between the two, optimize the authenticity and coverage of the simulation, and obtain the network security attack threat simulation result.
[0106] In a feasible implementation, analyze the interaction characteristics of the network traffic data and the simulated attack patterns, extract the key parameters in the historical security risk records, such as attack type, target resource, time window, etc., conduct statistical analysis in combination with the characteristics of the current network traffic data, evaluate the correlation and potential impact effect between the two by comparing the matching degree of the actual traffic fluctuation and the simulated attack pattern, and adjust the behavioral characteristics of the simulated attack pattern, including attack entry selection, data packet sending frequency, and attack duration, etc., to improve the adaptability of the simulated attack to the current network state, further expand the coverage of the simulation, and optimize the authenticity of the simulation by combining multiple attack behavior patterns and historical risk records to generate the network security attack threat simulation result.
[0107] S5: Use the results of network security attack threat simulation to conduct network security testing, dynamically adjust the attack frequency, detect the network's response and processing capabilities, optimize the network security configuration, and obtain the network security assessment results.
[0108] Optionally, use the results of network security attack threat simulation to conduct network security testing, dynamically adjust the attack frequency, detect the network's response and processing capabilities, optimize the network security configuration, and obtain the network security assessment results, including:
[0109] S501: Use the results of network security attack threat simulation to configure the network security testing environment, set and adjust the frequency and intensity of attack simulation, simulate different types of network attacks, detect the network's real-time response and defense capabilities, and obtain the network response test record.
[0110] In a feasible implementation, collect various attack types and related indicator data in the current network environment, including basic information such as the intensity, frequency, duration, and entry point distribution of attack types. Combine network topology structure analysis with the distribution of attack points, and construct a customizable threat simulation scenario through a threat modeling tool or an attack simulation platform. In the scenario, gradually simulate different types of network attacks, including DDoS attacks, SQL injections, malware propagation, zero-day vulnerability exploitation, etc. By adjusting the grading threshold of attack intensity and the fluctuation parameter of attack frequency, refine the stress test on the network. Use packet analysis tools and network log monitoring tools to monitor and record the traffic data and network behavior changes generated during the simulated attack in real time. Extract technical indicators such as traffic distribution, throughput, latency, and packet loss rate during the attack period through packet capture technology, record and store the entire process of the network's response process under attack pressure, and obtain the network response test record through comprehensive data analysis.
[0111] S502: By analyzing the network response test record, evaluate the network's performance and processing capabilities in the attack scenario, adjust and optimize the network's response to attack threats, and obtain the optimized security configuration.
[0112] In a feasible implementation, by analyzing the network response test record, calculate the average response ability of the network in multiple attack scenarios according to formula (4):
[0113]
[0114] Among them, R represents the average response ability of the network, L represents the size of attack traffic, S represents the attack intensity level, T represents the attack duration, and Q represents the total number of attack tests.
[0115] Detailed explanation of the formula and the formula calculation derivation process:
[0116] The specific calculation process of each parameter is as follows:
[0117] The value of the traffic volume L is collected by a network monitoring tool for the size of attack data packets within a unit of time and quantified in megabytes. For example, the total amount of data packets collected in a certain attack scenario is 480 MB;
[0118] The attack intensity level S is defined by a grading method and quantified according to the number of queries per second or the number of connections per second generated by the attack tool. For example, if the QPS generated in a certain attack scenario is 1800, then S is 3 (defined according to the QPS grading standard: 1 - 1000 is low intensity, 1001 - 5000 is medium intensity, and 5001 and above is high intensity);
[0119] The duration T is counted based on the actual duration of the attack simulation and is in seconds. For example, the duration of a certain attack simulation is 150 seconds;
[0120] The total number Q is counted based on the number of attack scenarios in a complete test. For example, in multiple simulated attacks, the total number of tests is 12 times;
[0121] Combined with an example:
[0122] Suppose the test records include the following data:
[0123] The first test: L = 480 MB, S = 3, T = 150 seconds;
[0124] The second test: L = 520 MB, S = 2, T = 130 seconds;
[0125] The third test: L = 600 MB, S = 3, T = 140 seconds;
[0126] The remaining 9 tests record similar data in sequence. Substitute the first 3 records into formula (4):
[0127]
[0128]
[0129] The results show that the average response ability of the network in the first 3 attack scenarios is 201066.67 unit index values. This result indicates that the response ability of the network changes significantly under the combined action of attack traffic, intensity level, and duration. The calculation results can provide an important basis for optimizing network security configurations.
[0130] S503: Apply the optimized security configuration, conduct network security tests, continuously monitor the defense response of the network, evaluate the adjusted network security protection effect and processing efficiency, and obtain the network security evaluation result.
[0131] In a feasible implementation, the performance of the network during the defense process is monitored comprehensively, and the log data generated during the defense process is collected frequently, including key technical indicators such as CPU occupancy rate, memory usage, network bandwidth consumption, and latency response time. During the attack simulation, the centralized monitoring platform automatically screens high-priority security events that occur during the defense process and extracts the corresponding feature data. The distributed storage device is used to record the response details of all security events. The protection effects of the security configurations before and after optimization are compared one by one through the data comparison and analysis tool. The changes in the response performance of high-frequency attack scenarios and the key performance improvements after optimization are quantitatively summarized. The protection strategies with high processing efficiency are summarized emphatically. The adaptation effects and processing efficiencies of the optimized configurations in different attack scenarios are analyzed, and the optimized configuration effects are verified layer by layer to obtain the network security assessment results.
[0132] The present invention proposes a method for analyzing network security attack threats based on rough sets. By collecting network traffic data in real time and applying data attribute evaluation technology, the characteristics of network traffic can be dynamically analyzed. The size of the time window is adjusted through volatility and variability evaluation, effectively enhancing the flexibility and accuracy of data processing. The random forest algorithm is used to further analyze the data, which can not only identify abnormal behavior patterns but also quickly locate abnormal data through statistical features, improving the efficiency and response speed of network security monitoring. Resources are dynamically configured by evaluating the abnormality frequency and severity in the data stream, and the frequency of network monitoring is optimized, which not only improves the resource utilization efficiency but also makes network security management more proactive and forward-looking. The network security attack threat scenario is simulated and the simulation parameters are dynamically adjusted, so that the security protection measures can be updated in time and cover key security risk points, enhancing the defense ability of the entire network security system. The simulation results are used for network security testing. By dynamically adjusting the attack frequency, the response and processing capabilities of the network are detected, and the network security configuration is further optimized, greatly improving the overall security and stability of the network.
[0133] Figure 2 FIG. is a block diagram of a device for analyzing network security attack threats based on rough sets according to an exemplary embodiment. The device is used for the method for analyzing network security attack threats based on rough sets. Referring to Figure 2 FIG., the device includes a data attribute evaluation module 210, a real-time traffic analysis module 220, an abnormal pattern diagnosis module 230, a security scenario simulation module 240, and a network defense optimization module 250. Among them:
[0134] The data attribute evaluation module 210 is used to collect real-time network traffic data, apply the data attribute evaluation technology in rough set theory to analyze the characteristics of the network traffic data, evaluate the fluctuation intensity and change range of the data, and dynamically adjust the size of the time window to obtain the time window size adjustment parameter;
[0135] The real-time traffic analysis module 220 is used to analyze real-time network traffic by using the time window size adjustment parameter and the random forest algorithm, identify the abnormal behavior patterns in the real-time network environment by statistical features and recording abnormal data, and obtain the abnormal pattern recognition result;
[0136] The abnormal pattern diagnosis module 230 is used to evaluate the abnormal frequency and severity in the data stream according to the abnormal pattern recognition result, dynamically configure resources, give priority to processing the data stream at risk, adjust the monitoring frequency, analyze the real-time changing network threat environment, and obtain the optimized resource configuration;
[0137] The security scenario simulation module 240 is used to simulate the network security attack threat scenario based on the optimized resource configuration, automatically adjust the simulation parameters by using the real-time updated network state data, simulate covering the key security risk points, and obtain the network security attack threat simulation result with reference to the network traffic and attack patterns;
[0138] The network defense optimization module 250 is used to perform network security tests by using the network security attack threat simulation result, dynamically adjust the attack frequency, detect the response and processing capabilities of the network, optimize the network security configuration, and obtain the network security evaluation result.
[0139] Among them, the time window size adjustment parameter includes the window duration, the traffic threshold for triggering expansion, and the dynamic reduction rate;
[0140] The abnormal pattern recognition result includes the frequency, duration, and influence range of abnormal events;
[0141] The optimized resource configuration includes the processing priority of risk traffic, the backup strategy of key resources, and the monitoring of key services;
[0142] The network security attack threat simulation result includes the type of simulated attack, the success rate of simulation, and the defense response of the network;
[0143] The network security evaluation result includes the number of detected vulnerabilities, the repair speed, and the network security recovery ability.
[0144] Optionally, the data attribute evaluation module 210 is further used for:
[0145] S101: Collect real-time network traffic data, classify and record data packets, analyze the source address of data packets, evaluate the size and sending frequency of data packets, perform initial screening of data traffic, set a dynamically adjustable time window to capture traffic fluctuations, and obtain real-time network traffic records;
[0146] S102: Using real-time network traffic records and applying rough set theory, the data is divided into upper approximate sets and lower approximate sets, the statistical characteristics and frequency distribution of elements in the differentiated sets are analyzed, the differences between the upper approximate sets and the lower approximate sets are compared, the volatility and abnormal data points of the network traffic are identified, and the data attribute volatility analysis results are obtained;
[0147] S103: Based on the data attribute fluctuation analysis results, dynamically adjust the size of the time window, compare the data variability under the short time window and the long time window, calculate the window size, and obtain the time window size adjustment parameter.
[0148] The calculation formula of the window size is as follows (1):
[0149]
[0150] Among them, W t represents the window size at time point t, w i represents the weight coefficient at time point ti, X t-i represents the data value at time point ti, n represents the number of data points in the window, X t represents the data value at time point t, represents the mean value of the data in the window, σ represents the standard deviation of the data in the window, and β represents the adjustment coefficient.
[0151] Optionally, the real-time traffic analysis module 220 is further configured to:
[0152] S201: adjusting parameters according to the time window size, performing initial filtering on the network data within the target time, removing irrelevant data, and extracting basic statistical features from the remaining data, including traffic size, number of connections, and duration, to obtain a basic feature data set;
[0153] S202: Based on the basic feature data set, the data is standardized, the data format is processed, the data is screened for abnormal points, and potential abnormal data is screened according to deviation from the mean value and the standard deviation to obtain an abnormal candidate data set;
[0154] S203: Analyze the network data behavior pattern using the abnormal candidate data set, compare the data behavior with the abnormal behavior pattern through a pattern matching algorithm, and generate an abnormal behavior pattern recognition result.
[0155] Optionally, the abnormal mode diagnosis module 230 is further configured to:
[0156] S301: Based on the abnormal pattern recognition results, the frequency and severity of the identified abnormal behaviors are analyzed, the potential impact and urgency of the abnormal events are evaluated, and the abnormal risk assessment results are obtained;
[0157] S302: Use the abnormal risk assessment results to dynamically allocate network monitoring and protection resources, prioritize the identified risk data streams, adjust the resource allocation and response mechanism for network security data monitoring, optimize the distribution and utilization of network resources, and obtain the risk prioritization processing results;
[0158] S303: Based on the risk prioritization processing results, adjust the monitoring frequency, analyze the real-time changes in network traffic, evaluate the dynamic characteristics of the network threat environment, and continuously monitor to match the changes in the network environment to obtain optimized resource allocation.
[0159] Optionally, the security scenario simulation module 240 is further configured to:
[0160] S401: Set the initial parameters for network security simulation according to the optimized resource allocation, automatically adjust the simulation behavior and parameters using the real-time updated network status data, verify the simulation consistency, and obtain the adjusted simulation parameters;
[0161] S402: Use the adjusted simulation parameters to construct and execute a security attack threat scenario in the network security simulation, perform security attack simulations on key network nodes, calculate the quantitative evaluation value of the network response, and obtain the security risk coverage record;
[0162] S403: Based on the security risk coverage record, analyze the network traffic data and the simulated attack patterns, evaluate the correlation and impact effect between the two, optimize the authenticity and coverage of the simulation, and obtain the network security attack threat simulation results.
[0163] Among them, the calculation formula for the quantitative evaluation value of the network response is as follows in Equation (2):
[0164]
[0165] Among them, RQ is the quantitative evaluation value of the network response, N represents the total number of attack events in the simulation, w a represents the weight of the a-th attack event, s a represents the security status score of the a-th node before the attack, t a represents the security status score of the a-th node after being attacked.
[0166] Optionally, the network defense optimization module 250 is further configured to:
[0167] S501: Use the network security attack threat simulation results to configure the network security test environment, set and adjust the frequency and intensity of the attack simulation, simulate different types of network attacks, detect the real-time response and defense capabilities of the network, and obtain the network response test record;
[0168] S502: By analyzing the network response test records, evaluate the performance and processing capabilities of the network under attack scenarios, adjust and optimize the network's response to attack threats, and obtain an optimized security configuration.
[0169] S503: Apply the optimized security configuration to conduct network security tests, continuously monitor the network's defense responses, evaluate the adjusted network security protection effect and processing efficiency, and obtain the network security evaluation results.
[0170] The present invention proposes a method for analyzing network security attack threats based on rough sets. By collecting network traffic data in real time and applying data attribute evaluation techniques, it can dynamically analyze the characteristics of network traffic, adjust the size of the time window through volatility and variability evaluations, and effectively enhance the flexibility and accuracy of data processing. Further analyzing the data using the random forest algorithm can not only identify abnormal behavior patterns but also quickly locate abnormal data through statistical features, improving the efficiency and response speed of network security monitoring. Dynamically configure resources by evaluating the abnormal frequency and severity in the data stream and optimize the frequency of network monitoring, which not only improves resource utilization efficiency but also makes network security management more proactive and forward-looking. Simulate network security attack threat scenarios and dynamically adjust simulation parameters, enabling security protection measures to be updated in a timely manner and cover key security risk points, enhancing the defense capabilities of the entire network security system. The simulation results are used for network security tests. By dynamically adjusting the attack frequency to detect the network's response and processing capabilities, further optimize the network security configuration, greatly improving the overall security and stability of the network.
[0171] Figure 3 is a schematic structural diagram of a network security attack threat analysis device provided by an embodiment of the present invention. As Figure 3 shown, the network security attack threat analysis device may include the above-mentioned Figure 2 network security attack threat analysis device based on rough sets. Optionally, the network security attack threat analysis device 310 may include a first processor 2001.
[0172] Optionally, the network security attack threat analysis device 310 may further include a memory 2002 and a transceiver 2003.
[0173] Among them, the first processor 2001, the memory 2002, and the transceiver 2003 may be connected through a communication bus.
[0174] Next, in combination with Figure 3 specifically introduce each component of the network security attack threat analysis device 310:
[0175] Among them, the first processor 2001 is the control center of the network security attack threat analysis device 310, which can be a single processor or a collective term for multiple processing elements. For example, the first processor 2001 is one or more central processing units (CPUs), or can be an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention. For example: one or more digital signal processors (DSPs), or one or more field programmable gate arrays (FPGAs).
[0176] Optionally, the first processor 2001 can execute various functions of the network security attack threat analysis device 310 by running or executing software programs stored in the memory 2002 and calling data stored in the memory 2002.
[0177] In a specific implementation, as an embodiment, the first processor 2001 may include one or more CPUs, such as Figure 3 the CPU0 and CPU1 shown in
[0178] In a specific implementation, as an embodiment, the network security attack threat analysis device 310 may also include multiple processors, such as Figure 3 the first processor 2001 and the second processor 2004 shown in. Each of these processors can be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). Here, the processor can refer to one or more devices, circuits, and / or processing cores for processing data (such as computer program instructions).
[0179] Among them, the memory 2002 is used to store the software program for executing the solution of the present invention and is controlled by the first processor 2001 for execution. The specific implementation manner can refer to the above method embodiments and will not be elaborated here.
[0180] Optionally, the memory 2002 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, or may also be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 2002 may be integrated with the first processor 2001 or may exist independently and be coupled to the first processor 2001 through an interface circuit ( Figure 3 not shown) of the network security attack threat analysis device 310. The embodiments of the present invention do not make specific limitations on this.
[0181] The transceiver 2003 is used to communicate with a network device or with a terminal device.
[0182] Optionally, the transceiver 2003 may include a receiver and a transmitter ( Figure 3 not shown separately). Among them, the receiver is used to implement the receiving function, and the transmitter is used to implement the sending function.
[0183] Optionally, the transceiver 2003 may be integrated with the first processor 2001 or may exist independently and be coupled to the first processor 2001 through an interface circuit ( Figure 3 not shown) of the network security attack threat analysis device 310. The embodiments of the present invention do not make specific limitations on this.
[0184] It should be noted that Figure 3 the structure of the network security attack threat analysis device 310 shown does not constitute a limitation on the router. The actual knowledge structure recognition device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.
[0185] In addition, the technical effects of the network security attack threat analysis device 310 may refer to the technical effects of the network security attack threat analysis method based on rough sets described in the above method embodiments, and will not be elaborated here.
[0186] It should be understood that the first processor 2001 in the embodiments of the present invention may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0187] It should also be understood that the memory in the embodiments of the present invention may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of random access memory (RAM) are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced SDRAM (ESDRAM), synchlink DRAM (SLDRAM), and direct rambus RAM (DR RAM).
[0188] The above embodiments can be implemented in whole or in part by software, hardware (such as circuits), firmware, or any other combination. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the processes or functions described in the embodiments of the present invention are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (such as infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains one or more collections of available media. The available medium can be a magnetic medium (such as a floppy disk, hard disk, magnetic tape), an optical medium (such as a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state drive.
[0189] It should be understood that the term "and / or" in this document is merely a description of the association relationship between associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. Here, A and B can be singular or plural. In addition, the character " / " in this document generally represents an "or" relationship between the associated objects before and after, but it may also represent an "and / or" relationship, which can be specifically understood by referring to the context.
[0190] In the present invention, "at least one" means one or more, and "a plurality" means two or more. "At least one of the following" or its similar expressions refer to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can represent: a, b, c, a - b, a - c, b - c, or a - b - c, where a, b, and c can be single or multiple.
[0191] It should be understood that in various embodiments of the present invention, the magnitudes of the sequence numbers of the above processes do not mean the order of execution. The order of execution of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
[0192] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in connection with the embodiments disclosed herein can be implemented in electronic hardware, or in a combination of computer software and electronic hardware. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of the present invention.
[0193] Those skilled in the art can clearly understand that for the sake of convenience and brevity of description, the specific working processes of the devices, apparatuses, and units described above can refer to the corresponding processes in the foregoing method embodiments, and will not be elaborated herein.
[0194] In several embodiments provided by the present invention, it should be understood that the disclosed devices, apparatuses, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces, and the indirect couplings or communication connections of the devices or units can be in electrical, mechanical, or other forms.
[0195] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they can be located in one place, or can be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0196] In addition, the functional units in each embodiment of the present invention can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit.
[0197] When the above-mentioned functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs.
[0198] The above is only the specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present invention can easily think of changes or substitutions, which should all be covered by the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
Claims
1. A network security attack threat analysis method based on rough sets, characterized in that: The method comprises: S1: Collect real-time network traffic data, apply data attribute evaluation technology in rough set theory, analyze the characteristics of network traffic data, evaluate the fluctuation intensity and amplitude of data, dynamically adjust the size of time window, and obtain the time window size adjustment parameter; S2: Use the time window size adjustment parameters and the random forest algorithm to analyze the real-time network traffic. By counting the features and recording the abnormal data, the abnormal behavior patterns in the real-time network environment are identified to obtain the abnormal pattern recognition results. S3: Based on the results of abnormal pattern recognition, evaluate the frequency and severity of abnormalities in the data stream, dynamically configure resources, prioritize risky data streams, adjust monitoring frequency, analyze the real-time changing network threat environment, and obtain optimal resource configuration; S4: Based on resource optimization configuration, simulate network security attack threat scenarios, use real-time updated network status data to automatically adjust simulation parameters, simulate key security risk points, refer to network traffic and attack patterns, and obtain network security attack threat simulation results; S5: Use the network security attack threat simulation results to conduct network security testing, dynamically adjust the attack frequency, detect the network's response and processing capabilities, optimize the network security configuration, and obtain network security assessment results.
2. The network security attack threat analysis method based on rough sets according to claim 1 is characterized in that: The time window size adjustment parameters include window duration, flow threshold triggering expansion, and dynamic reduction rate; The abnormal pattern recognition results include the frequency, duration and impact range of abnormal events; The resource optimization configuration includes the processing priority of risk traffic, the backup strategy of key resources and the monitoring of key services; The network security attack threat simulation results include the type of simulated attack, the success rate of the simulation and the network's defense response; The network security assessment results include the number of vulnerabilities detected, the speed of repair, and the network security recovery capability.
3. The network security attack threat analysis method based on rough sets according to claim 1 is characterized in that: The real-time network traffic data is collected, and the data attribute evaluation technology in the rough set theory is applied to analyze the characteristics of the network traffic data, evaluate the fluctuation intensity and fluctuation range of the data, dynamically adjust the size of the time window, and obtain the time window size adjustment parameters, including: S101: collect real-time network traffic data, classify and record data packets, analyze the source addresses of data packets, evaluate the size and sending frequency of data packets, perform initialization screening of data traffic, set a dynamically adjusted time window to capture traffic fluctuations, and obtain real-time network traffic records; S102: Using real-time network traffic records and applying rough set theory, the data is divided into upper approximate sets and lower approximate sets, the statistical characteristics and frequency distribution of elements in the differentiated sets are analyzed, the differences between the upper approximate sets and the lower approximate sets are compared, the volatility and abnormal data points of the network traffic are identified, and the data attribute volatility analysis results are obtained; S103: Based on the data attribute fluctuation analysis results, dynamically adjust the size of the time window, compare the data variability under the short time window and the long time window, calculate the window size, and obtain the time window size adjustment parameter.
4. The network security attack threat analysis method based on rough sets according to claim 3 is characterized in that: The calculation formula of the window size is as follows (1): Among them, W t represents the window size at time point t, w i represents the weight coefficient at time point ti, X t-i represents the data value at time point ti, n represents the number of data points in the window, X t represents the data value at time point t, represents the mean value of the data in the window, σ represents the standard deviation of the data in the window, and β represents the adjustment coefficient.
5. The network security attack threat analysis method based on rough sets according to claim 1 is characterized in that: The time window size adjustment parameter is used to analyze the real-time network traffic using the random forest algorithm, and the abnormal behavior pattern in the real-time network environment is identified by statistical features and recording abnormal data to obtain the abnormal pattern recognition result, including: S201: adjusting parameters according to the time window size, performing initial filtering on the network data within the target time, removing irrelevant data, and extracting basic statistical features from the remaining data, including traffic size, number of connections, and duration, to obtain a basic feature data set; S202: Based on the basic feature data set, the data is standardized, the data format is processed, the data is screened for abnormal points, and potential abnormal data is screened according to deviation from the mean value and the standard deviation to obtain an abnormal candidate data set; S203: Analyze the network data behavior pattern using the abnormal candidate data set, compare the data behavior with the abnormal behavior pattern through a pattern matching algorithm, and generate an abnormal behavior pattern recognition result.
6. The network security attack threat analysis method based on rough sets according to claim 1 is characterized in that: According to the abnormal pattern recognition results, the abnormal frequency and severity in the data flow are evaluated, resources are dynamically configured, risky data flows are processed first, the monitoring frequency is adjusted, and the real-time changing network threat environment is analyzed to obtain resource optimization configuration, including: S301: Based on the abnormal pattern recognition results, the frequency and severity of the identified abnormal behaviors are analyzed, the potential impact and urgency of the abnormal events are evaluated, and the abnormal risk assessment results are obtained; S302: Using the abnormal risk assessment results, dynamically configure network monitoring and protection resources, prioritize the identified risk data flows, adjust the resource allocation and response mechanism of network security data monitoring, optimize the distribution and use of network resources, and obtain risk priority processing results; S303: Based on the risk priority processing results, the monitoring frequency is adjusted, the real-time changes of network traffic are analyzed, the dynamic characteristics of the network threat environment are evaluated, and the resource optimization configuration is obtained by continuously monitoring and matching the changes in the network environment.
7. The network security attack threat analysis method based on rough sets according to claim 1 is characterized in that: The method of simulating network security attack threat scenarios based on resource optimization configuration, automatically adjusting simulation parameters by using real-time updated network status data, simulating and covering key security risk points, and obtaining network security attack threat simulation results by referring to network traffic and attack patterns includes: S401: according to the resource optimization configuration, the initial parameters of the network security simulation are set, the simulation behavior and parameters are automatically adjusted by using the real-time updated network status data, the consistency of the simulation is verified, and the adjusted simulation parameters are obtained; S402: Using the adjusted simulation parameters, construct and execute security attack threat scenarios in network security simulation, perform security attack simulations on key network nodes, calculate quantitative evaluation values of network responses, and obtain security risk coverage records; S403: Based on the security risk coverage records, analyze the network traffic data and simulated attack patterns, evaluate the correlation and impact between the two, optimize the authenticity and coverage of the simulation, and obtain the network security attack threat simulation results.
8. The network security attack threat analysis method based on rough sets according to claim 7 is characterized in that: The calculation formula of the quantitative evaluation value of the network response is as follows (2): Where RQ is the quantitative evaluation value of the network response, N represents the total number of attack events in the simulation, and w a represents the weight of the a-th attack event, s a represents the security status score of the a-th node before the attack, t a Represents the security status score of the a-th node after being attacked.
9. The network security attack threat analysis method based on rough sets according to claim 1 is characterized in that: The network security attack threat simulation results are used to conduct network security testing, dynamically adjust the attack frequency, detect the response and processing capabilities of the network, optimize the network security configuration, and obtain network security assessment results, including: S501: Using the network security attack threat simulation results, configure the network security test environment, set and adjust the frequency and intensity of attack simulation, simulate differentiated types of network attacks, detect the real-time response and defense capabilities of the network, and obtain network response test records; S502: By analyzing the network response test records, evaluating the performance and processing capabilities of the network in the attack scenario, adjusting and optimizing the network's response to the attack threat, and obtaining an optimized security configuration; S503: Apply the optimized security configuration, conduct network security testing, continuously monitor the network's defense response, evaluate the adjusted network security protection effect and processing efficiency, and obtain network security evaluation results.
10. A rough set-based network security attack threat analysis device, the rough set-based network security attack threat analysis device is used to implement the rough set-based network security attack threat analysis method according to any one of claims 1 to 9, characterized in that: The device comprises: The data attribute evaluation module is used to collect real-time network traffic data, apply the data attribute evaluation technology in the rough set theory, analyze the characteristics of network traffic data, evaluate the fluctuation intensity and amplitude of the data, dynamically adjust the size of the time window, and obtain the time window size adjustment parameter; The real-time traffic analysis module is used to use the time window size adjustment parameters and the random forest algorithm to analyze the real-time network traffic, identify the abnormal behavior patterns in the real-time network environment by statistical features and recording abnormal data, and obtain the abnormal pattern recognition results; The abnormal pattern diagnosis module is used to evaluate the abnormal frequency and severity in the data flow according to the abnormal pattern recognition results, dynamically configure resources, prioritize the risky data flow, adjust the monitoring frequency, analyze the real-time changing network threat environment, and obtain the optimal resource configuration; The security scenario simulation module is used to simulate network security attack threat scenarios based on resource optimization configuration, automatically adjust simulation parameters using real-time updated network status data, simulate key security risk points, and obtain network security attack threat simulation results by referring to network traffic and attack patterns; The network defense optimization module is used to use the network security attack threat simulation results to conduct network security tests, dynamically adjust the attack frequency, detect the network's response and processing capabilities, optimize the network security configuration, and obtain network security assessment results.
Citation Information
Patent Citations
Network security situation assessment method based on fuzzy rough set
CN105306438A
Industrial Internet intrusion detection method based on flow feature map and perception hash
CN107070943A
Security risk assessment method for risk cascade of power distribution network under network attack
CN115361150A
Network security situation assessment method combining ACPN algorithm and rough set analysis
CN116318986A
Time sequence attack alarm prediction method and system based on situation awareness
CN117938464A
Cited By
Detection method fusing depth feature extraction and attack recognition
CN120455178A
Integrated safety management and control method and system for substation service terminal
CN121036339A
Third-party system security access method for collaborative optimization of dynamic flow control and elastic resource scheduling
CN121037064A
