Network security assessment method
By using linear boundary feature thresholds to divide network security data in network security assessment, the problem of large influence of human factors in the existing technology is solved, and the accuracy and classification ability of the assessment results are improved.
Patent Information
- Application Number
- CN202411142594.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-08-19
AI Technical Summary
Existing network security risk assessment methods rely on expert experience and are easily affected by human factors, resulting in poor accuracy of assessment results.
By obtaining the target network security data of the system network, establishing an evaluation model and setting linear boundary feature thresholds, linear division is performed to avoid artificial parameter settings and improve classification capabilities and evaluation accuracy.
It effectively avoids the influence of human factors, improves the accuracy and classification capabilities of security risk assessment results, and can more accurately reflect the true status of network security.
Smart Images

Figure CN118869331A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of network security technology, and in particular, relates to a network security assessment method, device, equipment, computer storage medium, and program product. Background Art
[0002] With the evolution and development of information and communication technology, network information security has evolved from the initial confidentiality of information to the judgment of information integrity and availability, and then developed into basic theories and implementation technologies in many aspects such as "attack, prevention, detection, control, management, and evaluation". In order to manage and ensure network information security, it is necessary to conduct security risk assessment on network information.
[0003] There are many traditional security risk assessment methods available, but these traditional security risk assessment methods rely on the experience of experts to determine the relevant parameters of the assessment model during the assessment, which is easily affected by human subjective factors, resulting in poor accuracy of the security risk assessment results. Summary of the invention
[0004] The embodiments of the present application provide a network security assessment method, apparatus, device, computer storage medium, and program product to solve the problem of poor accuracy of assessment results of existing security risk assessment methods.
[0005] In a first aspect, an embodiment of the present application provides a network security assessment method, the method comprising:
[0006] Obtain target network security data of the system network;
[0007] The target network security data is input into the evaluation model, and the target network security data is evaluated by the feature threshold in the evaluation model to obtain the evaluation result. The feature threshold of the evaluation model is a linear boundary, which is used to linearly divide the target network security data to obtain network security classification of different categories of the target network security data.
[0008] In a second aspect, an embodiment of the present application provides a network security assessment device, the device comprising:
[0009] An acquisition module, used for acquiring target network security data of the system network;
[0010] The detection module is used to input the target network security data into the evaluation model, evaluate the target network security data through the feature threshold in the evaluation model, and obtain the evaluation result. The feature threshold of the evaluation model is a linear boundary, which is used to linearly divide the target network security data to obtain network security classification of different categories of the target network security data.
[0011] In a third aspect, an embodiment of the present application provides a terminal device, comprising: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the network security assessment method of the first aspect is implemented.
[0012] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having computer program instructions stored thereon, and when the computer program instructions are executed by a processor, the network security assessment method of the first aspect is implemented.
[0013] In a fifth aspect, an embodiment of the present application provides a computer program product. When instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the network security assessment method as in the first aspect.
[0014] The embodiments of the present application provide a network security assessment method, apparatus, device, computer storage medium, and program product. First, target network security data of a system network is acquired; the target network security data is input into an assessment model, and the target network security data is evaluated by a feature threshold in the assessment model to obtain an assessment result. The feature threshold of the assessment model is a linear boundary, which is used to linearly divide the target network security data to obtain network security classifications of different categories of the target network security data; by setting the feature threshold of the assessment model as a linear boundary, data points of different categories can be divided in feature spaces of different dimensions, thereby improving the classification ability of the model; by inputting the data to be detected into the assessment model to obtain the assessment result, and the feature threshold of the assessment model is trained by known assessment data, there is no need to manually set relevant parameters, which can effectively avoid the influence of human factors and improve the accuracy of the security risk assessment results. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0016] Figure 1 It is a schematic diagram of the system structure that can implement the network security assessment method provided in the embodiment of the present application;
[0017] Figure 2 It is a flowchart of a network security assessment method provided in an embodiment of the present application;
[0018] Figure 3 It is a schematic diagram of data points in a two-dimensional space provided in an embodiment of the present application.
[0019] Figure 4 is a schematic diagram of the structure of a network security assessment device provided in an embodiment of the present application;
[0020] Figure 5 It is a structural diagram of the terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0021] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0022] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0023] In the existing technology, when conducting network security assessment, the traditional security level assessment methods mainly include fault tree analysis, hierarchical analysis method, fuzzy comprehensive evaluation method, and assessment method based on DS evidence theory. However, these traditional assessment methods rely too much on the experience of experts, and determine the relevant parameters of the assessment model based on the experience of experts. The performance of the model is poor and it is easily affected by human factors. For example, although the fault tree analysis method can clearly show the causes and paths of system failures, it requires a large amount of accurate data as support; when constructing the relationship matrix and weight vector, the hierarchical analysis method is difficult to directly compare the importance of the factors of network security risks. Therefore, it first needs to rely on human judgment to provide the required data, resulting in the subjective and inaccurate results of network security assessments, which cannot accurately reflect the true situation of network security.
[0024] The following first provides an example of a system framework to which the network security assessment method provided in the embodiments of the present application can be applied.
[0025] like Figure 1As shown, the system may include an assessment model building module, a vulnerability scanning module and a risk analysis module.
[0026] The assessment model construction module includes a risk data acquisition unit, a risk data processing unit and an assessment model construction unit; the vulnerability scanning module includes a vulnerability scanning unit and a vulnerability exploitation test unit; the risk analysis module includes a threat analysis unit, a vulnerability analysis unit, a comprehensive risk analysis unit and a risk assessment unit. The risk data acquisition unit collects existing risk data, the risk data processing unit processes the collected risk data, and the assessment model construction module constructs a security assessment model for the processed risk data. The vulnerability scanning unit scans the network system for vulnerabilities, tests the scanned vulnerabilities through the vulnerability exploitation test module, and then analyzes the tested data through the risk analysis module. Among them, the threat analysis unit analyzes the current threat situation, including known threats and potential threats, and the vulnerability analysis unit analyzes the vulnerabilities existing in the system, including vulnerabilities, configuration errors, etc. The comprehensive risk analysis unit comprehensively considers factors such as threats and vulnerabilities to analyze and evaluate the overall risk of the system; the risk assessment unit evaluates and quantifies the risk level of the system based on the comprehensive risk analysis results.
[0027] In order to solve the existing technology, the embodiment of the present application provides a network security assessment method, firstly, obtain known network security data, establish a network security assessment model based on the known network security data, optimize the linear boundary of the network security assessment model, and set the feature threshold of the assessment model as the linear boundary, so that data points of different categories can be divided in the feature space of different dimensions, thereby improving the classification ability of the model. The shortest distance of the network security data from the linear boundary in the space where the linear boundary is located is maximized; secondly, the target network security data to be evaluated is collected, and the target network security data is subjected to dimensionality reduction processing by calculating the covariance formula, thereby reducing the complexity of the data, improving the calculation efficiency, and retaining the main features of the data, which is helpful to better understand and process the target network security data. The target network security data after dimensionality reduction is input into the assessment model, and the target network security data is linearly divided according to the linear boundary in the assessment model to obtain network security classifications of different categories. Among them, when the target network security data is linearly divided, the target network security data that is originally linearly inseparable is linearly separable by mapping the data to a high-dimensional space, thereby improving the accuracy and efficiency of classification. According to the relationship between the weight vector, bias term, mapping data and distance, the distance between each target network security data and the linear boundary in the high-dimensional space is calculated, and the network security is classified according to the calculated distance. There is no need to manually set relevant parameters, which can effectively avoid the influence of human factors and improve the accuracy of security risk assessment results.
[0028] The following is an introduction to the network security assessment method provided by an embodiment of the present invention.
[0029] Figure 2 FIG. 1 is a flow chart of a network security assessment method provided by an embodiment of the present application. Figure 2 As shown, the method may include the following steps: S201 to S202.
[0030] S201, obtaining target network security data of the system network.
[0031] In some embodiments, the system network may include a chip, system hardware, a system physical environment, and system software.
[0032] In some embodiments, the target network security data of the chip may include chip side-channel data; the target network security data of the system hardware may include device authentication records and hardware detection records, etc.; the target security data of the system physical environment may include physical access control records and environmental monitoring data, etc.; the target network security data of the system software may include vulnerability scanning records, malicious code analysis data and user authentication records, etc.
[0033] S202, input the target network security data into the evaluation model, evaluate the target network security data through the feature threshold in the evaluation model, and obtain an evaluation result. The feature threshold of the evaluation model is a linear boundary, which is used to linearly divide the target network security data to obtain network security classifications of different categories of the target network security data.
[0034] In some embodiments, network security classification may include threat classification and vulnerability classification. Threat classification may include threat source classification, threat subject classification, threat type, threat thing, threat timing and threat frequency; vulnerability classification may include physical environment vulnerability, network structure vulnerability, host system vulnerability, database vulnerability, application middleware vulnerability and security management vulnerability.
[0035] The present application provides a network security assessment method, which first obtains target network security data of a system network; inputs the target network security data into an assessment model, and evaluates the target network security data through a feature threshold in the assessment model to obtain an assessment result, wherein the feature threshold of the assessment model is a linear boundary, which is used to linearly divide the target network security data to obtain network security classifications of different categories of the target network security data; by setting the feature threshold of the assessment model as a linear boundary, data points of different categories can be divided in feature spaces of different dimensions, thereby improving the classification ability of the model; by inputting the data to be detected into the assessment model to obtain the assessment result, and the feature threshold of the assessment model is trained through known assessment data, there is no need to manually set relevant parameters, which can effectively avoid the influence of human factors and improve the accuracy of the security risk assessment results.
[0036] In some embodiments, the target network security data is network security data of a chip side channel, and obtaining the target network security data of a system network includes:
[0037] Obtain the parameter fingerprint of the chip side channel, which is the characteristic data;
[0038] According to the parameter fingerprint, simulation is performed based on the chip circuit to obtain multi-dimensional side channel signal data;
[0039] The multi-dimensional side channel signal data is subjected to dimensionality reduction processing by calculating the covariance matrix to obtain the multi-dimensional side channel signal data after dimensionality reduction, and the multi-dimensional side channel signal data is used as the target network security data.
[0040] By obtaining the parameter fingerprint of the chip side channel and performing simulation based on the chip circuit, the obtained data is made more real and reliable. By performing dimensionality reduction processing on the multi-dimensional side channel signal data, highly characterized multi-dimensional side channel signal data can be obtained, which improves the accuracy and reliability of network security analysis.
[0041] In some embodiments, when simulation is performed based on chip circuits according to parameter fingerprints to obtain multi-dimensional side channel signal data, circuit simulation is performed using Monte Carlo analysis.
[0042] In some embodiments, the linear boundary includes a weight vector and a bias term, the target network security data is input into the evaluation model, and the target network security data is evaluated by the feature threshold in the evaluation model to obtain an evaluation result, including:
[0043] Input the target network security data into the evaluation model, map the target network security data to a high-dimensional space according to a preset function, and obtain mapping data of the target network security data in the high-dimensional space, where the high-dimensional space is a space that makes the target network security data linearly separable;
[0044] Calculate the distance between each target network security data and the linear boundary in the high-dimensional space according to the relationship between the weight vector, the bias term, the mapping data and the distance;
[0045] According to the distance from the target network security data to the linear boundary and the preset classification range, the target network security data is assigned to the target network security classification to obtain an evaluation result. The target network security classification is the network security classification corresponding to the classification range to which the distance from the target network security data to the linear boundary belongs.
[0046] By mapping the target network security data to a high-dimensional space to make it linearly separable, the classification problem is simplified compared to the low-dimensional space that cannot be linearly divided. It has high computational efficiency and is suitable for processing large-scale data sets. It can quickly classify data and improve the accuracy and reliability of classification.
[0047] In some embodiments, the evaluation model includes multiple evaluation sub-models, each evaluation sub-model corresponds to a network security classification, and the target network security data is divided into positive and negative classes. For example, the network security classification corresponding to the evaluation sub-model is whether the chip circuit of the network system has redundant circuits, and the target network security data is divided into positive and negative classes, which may be the chip circuit has no redundant circuits and negative classes may be the chip circuit has redundant circuits.
[0048] In some embodiments, the network security is evaluated according to the classification result of the target network security data, and when the number of target network security data classified as negative is greater than a set threshold, the system network is considered to have a risk of network security classification corresponding to the negative class. For example, if the negative class of the target network security data is that the chip circuit has a redundant circuit and the number of target network security data classified as negative is greater than a set threshold, the chip circuit is considered to have a redundant circuit risk.
[0049] In some embodiments, the relationship between the weight vector, the bias term, the mapping data, and the distance may include:
[0050]
[0051] Where D is the distance, w is the weight vector, b is the bias term, and w T is the transpose of the weight vector, x i is the mapping data, ||w|| is the norm of the weight vector.
[0052] In some embodiments, when the distance is a positive number, the target network security data is classified into a positive class, and when the distance is a negative number, the target network security data is classified into a negative class. The positive and negative classes of the network security classification are selected according to actual needs.
[0053] In some embodiments, the chip circuit is simulated according to the parameter fingerprint to obtain multi-dimensional side channel signal data, including:
[0054] Obtain the target parameter fingerprint range of the known chip;
[0055] Filter parameter fingerprints within the target parameter fingerprint range to obtain the target parameter fingerprint;
[0056] Circuit simulation is performed based on target parameter fingerprints and known chip circuits to obtain multi-dimensional side channel signal data.
[0057] By obtaining the target parameter fingerprint range of known chips and screening the parameter fingerprints, we can ensure that the parameter fingerprints used in the simulation process have high reliability, improve the accuracy and reliability of circuit simulation, and simulate based on known chip circuits to achieve simulation of specific chips, which helps to comprehensively analyze and evaluate chip circuits.
[0058] In some embodiments, before inputting the target network security data into the assessment model, the method further includes:
[0059] Acquire known network security assessment data, the network security assessment data including network security data and corresponding network security classification;
[0060] Based on the network security data and the corresponding network security classification, the preset linear boundary is optimized and the target linear boundary is selected to establish a network security assessment model. The target linear boundary linearly divides the network security data according to the network security classification and maximizes the shortest distance between the network security data and the linear boundary in the space where the linear boundary is located.
[0061] By optimizing the selection of target linear boundaries, a more accurate division of network security data can be achieved. The closer the data is to the classification boundary, the easier it is to identify errors. By maximizing the shortest distance between network security data and the linear boundary in the space where the linear boundary is located, the model's detection capability for network security data can be improved, thereby improving the robustness of the model.
[0062] In one example, when the network security data is network traffic data, the corresponding network security classification is divided into malicious traffic and normal traffic; the preset linear boundary is optimized according to the network security traffic data so that the malicious traffic and normal traffic are respectively on both sides of the linear boundary, and the malicious traffic and normal data are within the space where the linear boundary is located, and the shortest distance from the linear boundary is maximized.
[0063] In some embodiments, based on the network security data and the corresponding network security classification, the preset linear boundary is optimized to select the target linear boundary, and a network security assessment model is established, including:
[0064] Mapping the network security data to a high-dimensional space according to a preset function to obtain mapping data of the network security data in the high-dimensional space, where the high-dimensional space is a space that makes the network security data linearly separable;
[0065] The constraints are determined based on the relationship between the mapping data, the network security classification corresponding to the mapping data, the weight vector and the bias value. The linear boundary of the security assessment model is optimized with the goal of minimizing the norm of the weight vector to obtain the network security assessment model, where the norm is the square root of the sum of the squares of the elements in the weight vector.
[0066] By mapping network security data to a high-dimensional space, the data is made linearly separable, which enhances the classification effect and accuracy. The norm represents the size or length of the weight vector. By minimizing the norm of the weight vector, the complexity of the model can be effectively controlled, the risk of overfitting can be reduced, and the generalization ability of the model can be improved.
[0067] In some embodiments, the relationship between the mapping data, the evaluation category corresponding to the mapping data, the weight vector and the bias value is:
[0068] The weight vector is multiplied by the feature vector of the mapped data and then summed with the bias value to obtain the sum result;
[0069] The summation result is multiplied by the evaluation label corresponding to the mapped data to obtain a multiplication result, where the evaluation label is a value corresponding to a preset evaluation category, and the multiplication result is greater than or equal to one.
[0070] The summation result is actually the distance from the mapped data to the linear boundary. When the distance is positive, the sample is classified as the positive class, and when the distance is negative, the sample is classified as the negative class. The evaluation label of the positive class is set to a positive number, and the evaluation label of the negative class is set to a negative number. After the summation result is multiplied by the evaluation label, the result is a positive number, which can ensure that the mapped data is classified into the correct category. The multiplication result is greater than or equal to one, which can ensure that the mapped data has a certain interval with the linear boundary, thereby increasing the generalization ability of the model.
[0071] In one example, the relationship between the mapping data, the evaluation category corresponding to the mapping data, the weight vector, and the bias value includes:
[0072]
[0073] Among them, y i is the evaluation category, w is the weight vector, b is the bias value, For mapping data.
[0074] In some embodiments, before optimizing the preset linear boundary and selecting the target linear boundary based on the network security data and the corresponding network security classification to establish the network security assessment model, the method further includes:
[0075] The association probability is calculated based on the relationship between the evaluation characteristics and evaluation categories of the network security data, and the network security data with an association probability greater than a set threshold is selected as the new network security data.
[0076] By calculating the association probability and setting the threshold, we can remove data points that are not strongly related to the evaluation category and only focus on data that are highly relevant to the evaluation category, which reduces the amount of calculation and improves the efficiency of model training and the accuracy of model classification.
[0077] In some embodiments, the relationship between the evaluation feature and the evaluation category of network security data is:
[0078]
[0079] Where A is the evaluation feature, B is the evaluation category, P(B|A) is the probability of being evaluated as evaluation category B when evaluation feature A appears, P(A|B) is the probability of evaluation feature A appearing when evaluation category is B, P(B) is the probability of evaluation category B, and P(A) is the probability of evaluation feature A appearing.
[0080] In some embodiments, performing dimensionality reduction processing on the multidimensional side channel data by calculating the covariance matrix to obtain the multidimensional side channel signal data includes:
[0081] Calculate the feature mean of the feature corresponding to the multi-dimensional side channel signal data and subtract the feature mean of each feature from the feature value of the feature to obtain the target feature value;
[0082] A covariance matrix is established based on the target eigenvalues. Each element in the covariance matrix represents the covariance between two features.
[0083] Perform eigenvalue decomposition on the covariance matrix to obtain multiple eigenvalues and corresponding eigenvectors;
[0084] Select the eigenvectors corresponding to the eigenvalues exceeding the set threshold as column vectors to construct the projection matrix;
[0085] The multidimensional side channel signal data is projected into the target feature space through a projection matrix to obtain the multidimensional side channel signal data after dimensionality reduction.
[0086] By setting the covariance matrix, the linear correlation between data features is quantified. The larger the eigenvalue corresponding to the eigenvector, the more important the eigenvector is. Screening the eigenvectors corresponding to eigenvalues exceeding the set threshold can remove redundant information, help improve classification accuracy, reduce the number of features, and reduce the complexity and computational cost of the model.
[0087] When performing dimensionality reduction processing, the actual purpose is to rotate the coordinate axis so that the projection of each data point on the new coordinate axis is dispersed. The more dispersed the data points are, the more information the data carries. The amount of information is defined by the variance.
[0088] In one example, if Figure 3 As shown, the points in the figure are randomly generated data points with certain correlation in a two-dimensional space. When the data points are projected to the dotted line position, they have more information than projecting to the x-axis or the y-axis.
[0089] In some embodiments, the covariance matrix may be expressed as:
[0090] XX T =QDQ T
[0091] Among them, XX T is the covariance matrix of the target eigenvalue, X is the data matrix established by the target eigenvalue, X T is the transposed matrix of X, Q is the orthogonal matrix consisting of the eigenvectors of the covariance matrix, D is the diagonal matrix whose diagonal is the eigenvalues of the covariance matrix, Q T is the transposed matrix of Q.
[0092] In some embodiments, eigenvectors corresponding to eigenvalues exceeding a set threshold are selected as column vectors to construct a projection matrix, that is, the first k columns of the matrix Q are selected as the projection matrix P, k is a preset value, and the data matrix Y=PX in the target feature space.
[0093] In some embodiments, before simulating based on the chip circuit according to the parameter fingerprint to obtain the multi-dimensional side channel signal data, the method further includes:
[0094] Calculate the distance between each parameter fingerprint and other parameter fingerprints in the parameter fingerprint in the feature space;
[0095] Calculate the average distance of each parameter fingerprint to a set number of neighboring parameter fingerprints;
[0096] Remove parameter fingerprints whose average distance is greater than the set threshold.
[0097] By removing parameter fingerprints whose average distance is greater than the set threshold, outliers or noise data that are significantly different from other parameter fingerprints can be removed, thereby improving the quality and reliability of the data.
[0098] In some embodiments, before simulating based on the chip circuit according to the parameter fingerprint to obtain the multi-dimensional side channel signal data, the method further includes:
[0099] When the feature value of the parameter fingerprint is missing, the missing feature value is replaced by the mean or fixed value of the feature.
[0100] By replacing the missing feature values with the mean or fixed value of the feature, the continuity of the simulation process and the integrity of the data can be guaranteed, avoiding simulation interruptions or deviations caused by missing data.
[0101] In some embodiments, before simulating based on the chip circuit according to the parameter fingerprint to obtain the multi-dimensional side channel signal data, the method further includes:
[0102] When the parameter fingerprint types are unbalanced, a set number of target parameter fingerprints adjacent to each minority type parameter fingerprint are screened;
[0103] Randomly select a target parameter fingerprint and calculate the difference between the corresponding parameter fingerprint and the target parameter fingerprint;
[0104] A new parameter fingerprint is generated according to the difference and the random minority type parameter fingerprint, so that the number of majority type parameter fingerprints is the same as that of minority type parameter fingerprints.
[0105] By generating new parameter fingerprints to expand the minority types, we can expand the data set when the data is small without increasing the data collection cost, and average the number of majority type fingerprint parameters and minority type parameter fingerprints.
[0106] In some embodiments, before simulating based on the chip circuit according to the parameter fingerprint to obtain the multi-dimensional side channel signal data, the method further includes:
[0107] When the parameter fingerprint types are unbalanced, the majority type parameter fingerprints are randomly selected and discarded so that the number of majority type parameter fingerprints is the same as that of minority type parameter fingerprints.
[0108] By randomly discarding the majority type parameter fingerprints, the ratio of the majority type parameter fingerprints to the minority type parameter types can be quickly adjusted when the data set is large and the parameter fingerprint types are unbalanced. This does not require a complex calculation process and is easy to implement. It also reduces the consumption of computing resources and improves efficiency.
[0109] Figure 4 FIG. 1 is a schematic diagram showing the structure of a network security assessment device provided in an embodiment of the present application. Figure 4 As shown, the device may include an acquisition module 401 and a detection module 402 .
[0110] Acquisition module 401, used to acquire target network security data of the system network;
[0111] The detection module 402 is used to input the target network security data into the evaluation model, evaluate the target network security data through the feature threshold in the evaluation model, and obtain the evaluation result. The feature threshold of the evaluation model is a linear boundary, which is used to linearly divide the target network security data to obtain network security classification of different categories of the target network security data.
[0112] In some embodiments, the target network security data is network security data of a chip side channel, and the acquisition module is further used to acquire a parameter fingerprint of the chip side channel, where the parameter fingerprint is feature data;
[0113] The acquisition module is also used to perform simulation based on the chip circuit according to the parameter fingerprint to obtain multi-dimensional side channel signal data;
[0114] The acquisition module is also used to perform dimensionality reduction processing on the multidimensional side channel signal data by calculating the covariance matrix to obtain the reduced-dimensional multidimensional side channel signal data, and use the multidimensional side channel signal data as target network security data.
[0115] In some embodiments, the linear boundary includes a weight vector and a bias term, and the detection module is further used to input the target network security data into the evaluation model, map the target network security data to the high-dimensional space according to a preset function, and obtain the mapping data of the target network security data in the high-dimensional space, where the high-dimensional space is a space that makes the target network security data linearly separable;
[0116] The detection module is also used to calculate the distance between each target network security data and the linear boundary in the high-dimensional space according to the relationship between the weight vector, the bias term, the mapping data and the distance;
[0117] The detection module is also used to assign the target network security data to a target network security classification according to the distance from the target network security data to the linear boundary and a preset classification range to obtain an evaluation result. The target network security classification is the network security classification corresponding to the classification range to which the distance from the target network security data to the linear boundary belongs.
[0118] In some embodiments, the acquisition module is further used to acquire a target parameter fingerprint range of a known chip;
[0119] The acquisition module is also used to screen parameter fingerprints within the target parameter fingerprint range to obtain the target parameter fingerprint;
[0120] The acquisition module is also used to perform circuit simulation based on the target parameter fingerprint and the known chip circuit to obtain multi-dimensional side channel signal data.
[0121] In some embodiments, before inputting the target network security data into the assessment model, the acquisition module is further used to acquire known network security assessment data, the network security assessment data including network security data and corresponding network security classification;
[0122] The detection module is also used to optimize the preset linear boundaries and select target linear boundaries based on the network security data and the corresponding network security classification, and establish a network security assessment model. The target linear boundary enables the network security data to be linearly divided according to the network security classification, and maximizes the shortest distance between the network security data and the linear boundary in the space where the linear boundary is located.
[0123] In some embodiments, the detection module is further used to map the network security data to a high-dimensional space according to a preset function to obtain mapping data of the network security data in the high-dimensional space, where the high-dimensional space is a space that makes the network security data linearly separable;
[0124] The detection module is also used to determine the constraint conditions based on the mapping data, the network security classification corresponding to the mapping data, the relationship between the weight vector and the bias value, and optimize the linear boundary of the security assessment model with the goal of minimizing the norm of the weight vector to obtain the network security assessment model, where the norm is the square root of the sum of the squares of the elements in the weight vector.
[0125] In some embodiments, the detection module is further used to multiply the weight vector by the feature vector of the mapping data and then sum the result with the bias value to obtain a sum result;
[0126] The detection module is also used to multiply the summation result by the evaluation label corresponding to the mapping data to obtain a multiplication result, where the evaluation label is a value corresponding to a preset evaluation category, and the multiplication result is greater than or equal to one.
[0127] In some embodiments, before optimizing the preset linear boundary and selecting the target linear boundary based on the network security data and the corresponding network security classification and establishing the network security assessment model, the acquisition module is also used to calculate the association probability based on the relationship between the assessment characteristics of the network security data and the assessment category, and select the network security data with an association probability greater than a set threshold as the new network security data.
[0128] In some embodiments, the detection module is further used to calculate a feature mean value corresponding to the multi-dimensional side channel signal data and subtract the feature mean value of each feature from the feature value of the feature to obtain a target feature value;
[0129] The detection module is also used to establish a covariance matrix based on the target feature values, and each element in the covariance matrix represents the covariance between two features;
[0130] The detection module is also used to perform eigenvalue decomposition on the covariance matrix to obtain multiple eigenvalues and corresponding eigenvectors;
[0131] The detection module is also used to select the eigenvectors corresponding to the eigenvalues exceeding the set threshold as column vectors to construct the projection matrix;
[0132] The detection module is also used to project the multi-dimensional side channel signal data into the target feature space through the projection matrix to obtain the multi-dimensional side channel signal data after dimensionality reduction.
[0133] In some embodiments, before simulating based on the chip circuit according to the parameter fingerprint to obtain the multi-dimensional side channel signal data, the acquisition module is further used to calculate the distance between each parameter fingerprint and other parameter fingerprints in the parameter fingerprint in the feature space;
[0134] The acquisition module is also used to calculate the average distance of each parameter fingerprint to a set number of neighboring parameter fingerprints;
[0135] The acquisition module is also used to remove parameter fingerprints whose average distance is greater than a set threshold.
[0136] Figure 4 The various modules in the device shown can be implemented Figure 2 Each step in the above steps can achieve the corresponding technical effect, which will not be repeated here for the sake of brevity.
[0137] Figure 5 A schematic diagram of the hardware structure of a terminal device provided in an embodiment of the present application is shown.
[0138] The terminal device may include a processor 501 and a memory 502 storing computer program instructions.
[0139] Specifically, the processor 501 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0140] The memory 502 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 502 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In one example, the memory 502 may include a removable or non-removable (or fixed) medium, or the memory 502 is a non-volatile solid-state memory. The memory 502 may be inside or outside the integrated gateway disaster recovery device.
[0141] In one example, the memory 502 may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the network security assessment method according to the present disclosure.
[0142] The processor 501 reads and executes the computer program instructions stored in the memory 502 to implement Figure 2 The network security assessment method in the illustrated embodiment.
[0143] In one example, the terminal device may further include a communication interface 503 and a bus 504. Figure 5 As shown, the processor 501, the memory 502, and the communication interface 503 are connected via a bus 504 and communicate with each other.
[0144] The communication interface 503 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0145] Bus 504 includes hardware, software or both, and the components of terminal equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (Accelerated Graphics Port, AGP) or other graphics bus, enhanced industry standard architecture (Extended Industry Standard Architecture, EISA) bus, front side bus (Front Side Bus, FSB), Hyper Transport (Hyper Transport, HT) interconnection, industry standard architecture (Industry Standard Architecture, ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 504 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the application considers any suitable bus or interconnection.
[0146] In addition, in combination with the network security assessment method in the above embodiment, the embodiment of the present application can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any network security assessment method in the above embodiment is implemented.
[0147] An embodiment of the present application also provides a computer program product, including a computer program, which implements any one of the network security assessment methods in the above embodiments when the computer program is processed and executed.
[0148] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0149] The functional blocks shown in the structural block diagram described above can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), appropriate firmware, plug-in, function card, etc. When implemented in software, the elements of the present application are programs or text segments used to perform the required tasks. The program or text segment can be stored in a machine-readable medium, or transmitted on a transmission medium or communication link via a data signal carried in a carrier. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, read-only memory (Read-Only Memory, ROM), flash memory, erasable read-only memory (Erasable ReadOnly Memory, EROM), floppy disks, compact disc read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical discs, hard disks, optical fiber media, radio frequency (Radio Frequency, RF) links, etc. The text segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0150] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0151] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0152] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A network security assessment method, It is characterized in that The method comprises: Obtain target network security data of the system network; The target network security data is input into an evaluation model, and the target network security data is evaluated by a feature threshold in the evaluation model to obtain an evaluation result. The feature threshold of the evaluation model is a linear boundary, which is used to linearly divide the target network security data to obtain network security classifications of different categories of the target network security data.
2. The network security assessment method according to claim 1, It is characterized in that The target network security data is the network security data of the chip side channel, and the step of acquiring the target network security data of the system network includes: Obtaining a parameter fingerprint of a chip side channel, wherein the parameter fingerprint is feature data; Performing simulation based on the chip circuit according to the parameter fingerprint to obtain multi-dimensional side channel signal data; The multi-dimensional side channel signal data is subjected to dimensionality reduction processing by calculating the covariance matrix to obtain the multi-dimensional side channel signal data after dimensionality reduction, and the multi-dimensional side channel signal data is used as the target network security data.
3. The network security assessment method according to claim 1, It is characterized in that The linear boundary includes a weight vector and a bias term, and the target network security data is input into an evaluation model, and the target network security data is evaluated by a feature threshold in the evaluation model to obtain an evaluation result, including: Inputting the target network security data into the evaluation model, mapping the target network security data to a high-dimensional space according to a preset function, and obtaining mapping data of the target network security data in the high-dimensional space, wherein the high-dimensional space is a space that makes the target network security data linearly separable; Calculate the distance between each target network security data and the linear boundary in the high-dimensional space according to the relationship between the weight vector, the bias term, the mapping data and the distance; According to the distance from the target network security data to the linear boundary and the preset classification range, the target network security data is assigned to the target network security classification to obtain an evaluation result. The target network security classification is the network security classification corresponding to the classification range to which the distance from the target network security data to the linear boundary belongs.
4. The network security assessment method according to claim 2, It is characterized in that The simulating the chip circuit according to the parameter fingerprint to obtain multi-dimensional side channel signal data includes: Obtain the target parameter fingerprint range of the known chip; Screening parameter fingerprints within the target parameter fingerprint range to obtain the target parameter fingerprint; Circuit simulation is performed based on target parameter fingerprints and known chip circuits to obtain multi-dimensional side channel signal data.
5. The network security assessment method according to claim 1, It is characterized in that Before inputting the target network security data into the assessment model, the method further includes: Acquire known network security assessment data, wherein the network security assessment data includes network security data and corresponding network security classification; Based on the network security data and the corresponding network security classification, the preset linear boundary is optimized and selected as a target linear boundary, and a network security assessment model is established. The target linear boundary linearly divides the network security data according to the network security classification and maximizes the shortest distance between the network security data and the linear boundary in the space where the linear boundary is located.
6. The network security assessment method according to claim 5, It is characterized in that The method of optimizing the preset linear boundary based on the network security data and the corresponding network security classification and selecting the target linear boundary to establish a network security assessment model includes: Mapping the network security data to a high-dimensional space according to a preset function to obtain mapping data of the network security data in the high-dimensional space, wherein the high-dimensional space is a space that makes the network security data linearly separable; Based on the mapping data, the network security classification corresponding to the mapping data, the relationship between the weight vector and the bias value, the constraint conditions are determined, and the linear boundary of the security assessment model is optimized with the goal of minimizing the norm of the weight vector to obtain the network security assessment model, where the norm is the square root of the sum of the squares of the elements in the weight vector.
7. The network security assessment method according to claim 6, It is characterized in that The relationship between the mapping data, the evaluation category corresponding to the mapping data, the weight vector and the bias value is: The weight vector is multiplied by the feature vector of the mapped data and then summed with the bias value to obtain the sum result; The summation result is multiplied by the evaluation label corresponding to the mapping data to obtain a multiplication result, the evaluation label is a value corresponding to a preset evaluation category, and the multiplication result is greater than or equal to one.
8. The network security assessment method according to claim 5, It is characterized in that Before optimizing the preset linear boundaries and selecting target linear boundaries based on the network security data and the corresponding network security classification to establish a network security assessment model, the method further includes: The association probability is calculated based on the relationship between the evaluation characteristics and evaluation categories of the network security data, and the network security data with an association probability greater than a set threshold is selected as the new network security data.
9. The network security assessment method according to claim 2, It is characterized in that The method of performing dimensionality reduction processing on the multidimensional side channel data by calculating the covariance matrix to obtain the multidimensional side channel signal data includes: Calculate the feature mean of the feature corresponding to the multi-dimensional side channel signal data and subtract the feature mean of each feature from the feature value of the feature to obtain the target feature value; Establishing a covariance matrix according to the target eigenvalue, each element in the covariance matrix represents the covariance between two features; Perform eigenvalue decomposition on the covariance matrix to obtain multiple eigenvalues and corresponding eigenvectors; Select the eigenvectors corresponding to the eigenvalues exceeding the set threshold as column vectors to construct the projection matrix; The multidimensional side channel signal data is projected into the target feature space through a projection matrix to obtain the multidimensional side channel signal data after dimensionality reduction.
10. The network security assessment method according to claim 2, It is characterized in that Before simulating based on the chip circuit according to the parameter fingerprint to obtain the multi-dimensional side channel signal data, the method further includes: Calculating the distance between each parameter fingerprint and other parameter fingerprints in the parameter fingerprint in the feature space; Calculate the average distance of each parameter fingerprint to a set number of neighboring parameter fingerprints; The parameter fingerprints whose average distance is greater than a set threshold are removed.
Citation Information
Patent Citations
Situation data information processing method based on computer network security
CN116756225A
Metadata classification and grading method and device, equipment and medium
CN116776237A
Multi-source data fusion network security situation awareness method and device
CN117240541A
Network security risk assessment method, system and equipment based on large model, and medium
CN117978545A
Internet intelligent manufacturing service platform
CN118261439A
