A honeypot network security situation prediction method and system
By using the kernel ridge regression model optimized by the multi-objective wolf pack algorithm in honeypot network security situation prediction, the problem of false positives and false negatives in the existing technology under complex network security situations is solved, and the accuracy and flexibility of detection are improved. , enhanced protection capabilities against advanced attack methods.
Patent Information
- Application Number
- CN202411008367.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-26
AI Technical Summary
In the face of complex non-linear network security situations, existing technologies cannot ensure the accuracy and timeliness of security detection, and there are problems of false positives and missed negatives. It is especially difficult to effectively protect against advanced attack methods (such as APT).
The honeypot network security situation prediction method is adopted. By collecting and preprocessing the honeypot network security data of the power system, an initial integrated model and an initial weighted model are constructed. The multi-objective wolf pack algorithm is used to optimize the model, and several kernel ridges with different kernel functions are combined. The regression model is designed as a two-layer structure prediction model to improve the learning ability and accuracy of the model.
It improves the accuracy and flexibility of network security situational awareness, reduces false positives and false negatives, enhances protection against complex network attacks, and ensures the generalization ability of the model and the confirmation speed of hyperparameters.
Smart Images

Figure CN118540166B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of network security in power systems, and in particular to a network security situation prediction method and system for a honeypot. Background Art
[0002] In recent years, with the development of attack methods, honeypots, as a security tool, have played an important role in the security protection of power systems. Honeypots can help power systems achieve attack source tracing, active defense and other goals by simulating real systems and recording their activities, thereby improving the overall security of power systems.
[0003] The network security situation can reflect the overall status of the network and provide the necessary basis for active network defense. Network security situation awareness technology is a technology that relies on the analysis of attacker behavior data collected by honeypots to capture and identify potential threats in network security. It can achieve real-time monitoring, risk warning and emergency response of security threats in the network environment.
[0004] With the continuous development of network security defense technology, network attack methods are also constantly evolving and improving. Modern defense systems are often difficult to defend against network attacks such as APT. Therefore, efficient network security situation awareness methods have become a research focus, which can feed back the network security situation to administrators and defense systems, take reasonable response measures, and upgrade the alarm system.
[0005] The Chinese invention patent with publication number CN116996279A provides a security situation prediction method using the gray wolf algorithm to optimize the support vector machine. The prediction values of multiple security situation elements output by the training support vector machine model are integrated into the network security situation prediction value, which has good prediction effect and prediction accuracy. However, in the face of complex nonlinear network security situation, traditional firewalls and existing technologies cannot guarantee the accuracy and timeliness of security detection, and there are problems of false positives and false negatives.
[0006] Therefore, it is urgent to develop a solution to improve the above problems. Summary of the invention
[0007] The purpose of the present invention is to provide a honeypot network security situation prediction method and system, to improve the existing technology for advanced attack methods such as APT to ensure the accuracy and timeliness of security detection, and there are security detection false positives and omissions.
[0008] In a first aspect, the present invention provides a honeypot network security situation prediction method, comprising the following steps:
[0009] Collecting and preprocessing honeypot network security data to obtain situation data; the honeypot network security data comes from the power system;
[0010] Constructing an initial integrated model and an initial weighted model, training the initial integrated model based on situation data to obtain an integrated model and a predicted value; dividing the predicted value into K equal parts, cross-training the initial weighted model based on K-fold cross validation, and obtaining a weighted model after balancing overfitting and prediction errors; optimizing the integrated model and the weighted model based on a multi-objective wolf pack algorithm;
[0011] A prediction model is built based on the optimized integrated model and the optimized weighted model; the honeypot operation data is input into the prediction model to obtain the network security situation awareness value.
[0012] The beneficial effect of the prediction method provided by the present invention is that by integrating a number of kernel ridge regression models with different kernel functions and designing the prediction model as a two-layer structure including an integrated model and a weighted model, the learning ability of the model is enhanced, and the flexibility and accuracy of network security situation prediction are improved. By integrating multiple kernel ridge regression models with different kernel functions, the advantages of different kernel functions are taken into account to cope with complex and diverse network attacks in the power system, the flexibility and generalization ability of the model are improved, and the accuracy of network security situation perception is ensured. The hyperparameters of the model are automatically selected through the multi-objective wolf pack algorithm, which improves the confirmation speed of the model hyperparameters and the accuracy of security situation prediction.
[0013] Optionally, collecting and preprocessing honeypot network security data to obtain situation data includes:
[0014] Honeypot network security data is collected based on the operation data of the honeypot in the power system; the honeypot network security data is normalized to obtain situation data; wherein the honeypot network security data includes: subnet traffic change rate, number of security alarms, security audit coverage, number of security devices, vulnerability exploitation frequency, and average survival time of key devices in the sub-gateway.
[0015] Optionally, construct an initial integrated model and an initial weighted model, including:
[0016] The initial integrated model is composed of several kernel ridge regression models with different kernel functions; the initial weighted model is a kernel ridge regression model weighted by different kernel functions; wherein the kernel functions include: Gaussian kernel function, polynomial kernel function and hyperbolic tangent kernel function.
[0017] Optionally, training an initial integrated model based on the situation data to obtain an integrated model and a predicted value includes:
[0018] Randomly divide the situation data into training set and test set;
[0019] Based on the training set and the test set, several kernel ridge regression models with different kernel functions in the initial integrated model are trained and integrated to obtain an integrated model;
[0020] Based on the integrated model, the training sets are regressed respectively to obtain corresponding regression values, and the regression values are integrated to obtain the predicted values.
[0021] Optionally, in the process of cross-training the initial weighted model based on the K-fold cross validation, the weighted kernel function used by the initial weighted model is:
[0022] ;
[0023] In the formula, is the polynomial kernel function; is the Gaussian kernel function; and Represents the input sample data; are the weights of Gaussian kernel and polynomial kernel; For control Upper bound parameters.
[0024] Optionally, the process of optimizing the integrated model and the weighted model based on the multi-objective wolf pack algorithm includes:
[0025] Calculate the error between the predicted label obtained by the integrated model and the weighted model and the true label; wherein the error includes: mean square error and mean absolute percentage error;
[0026] Establishing a multi-objective optimization model for the hyperparameter minimization problem of the integrated model and the weighted model based on the error;
[0027] The hyperparameters are obtained by minimizing the error based on a multi-objective wolf pack algorithm; wherein the multi-objective optimization model of the minimization problem is:
[0028] ;
[0029] In the formula, Fitness function constructed by mean square error; The fitness number constructed from the mean absolute percentage error; Indicates the number of training samples; Represents the true label value; Represents the predicted label.
[0030] The model's hyperparameters are constructed as a minimization multi-objective optimization model using mean square error and mean absolute percentage error. The hyperparameters of the model are constrained based on the two errors to improve the confirmation accuracy of the hyperparameters and indirectly improve the prediction accuracy of the model.
[0031] Optionally, the process of minimizing the error based on the multi-objective wolf pack algorithm to obtain the hyperparameter includes:
[0032] Initialize the parameters of the multi-objective wolf pack algorithm; wherein the parameters include: population size, maximum number of iterations, distance determination factor, step size factor and maximum number of walks;
[0033] The hyperparameters are obtained by minimizing the error based on wandering behavior, elite guidance strategy and information interaction mechanism based on T-distribution perturbation.
[0034] The crowding distance is used to select the elite solution in the archive. Under the influence of the sub-group leader and the elite solution, the artificial wolf will explore a wider area, improve the global search ability of the algorithm, prevent the algorithm from falling into the local optimum, and improve the confirmation speed of the model hyperparameters and the accuracy of network security situation prediction.
[0035] The T distribution is used to introduce a certain amount of randomness and disturbance in the process of information exchange between artificial wolves, so as to add their own information understanding to the artificial wolves, prevent excessive communication from causing the artificial wolves to be too similar and cause the algorithm to fall into the local optimum, enhance the local search ability of the algorithm, and indirectly improve the robustness and adaptability of the system. It ensures that the population can carry out effective information exchange during the evolution process, so that good information can be spread among the population, pay attention to the differences between different individuals, ensure that good information will not be lost, and maintain population diversity.
[0036] Optionally, the wandering behavior of the multi-objective wolf pack algorithm includes the following steps:
[0037] Tan Lang in the solution space Explore in different directions and choose The highest rank after fast non-dominated sorting in the directions The roaming behavior repeats until it dominates the alpha wolf or reaches the maximum number of roaming times.
[0038] In a second aspect, the present invention provides a honeypot network security situation prediction system, comprising:
[0039] A data acquisition unit, used for collecting and preprocessing honeypot network security data to obtain situation data; the honeypot network security data comes from the power system;
[0040] A model training optimization unit is used to construct an initial integrated model and an initial weighted model, train the initial integrated model based on situation data to obtain an integrated model and a predicted value; divide the predicted value into K equal parts, cross-train the initial weighted model based on K-fold cross validation, and obtain a weighted model after balancing overfitting and prediction errors; optimize the integrated model and the weighted model based on a multi-objective wolf pack algorithm;
[0041] The model building application unit is used to build a prediction model based on the optimized integrated model and the optimized weighted model; and to obtain a network security situation awareness value by inputting honeypot operation data based on the prediction model.
[0042] Optionally, a prediction model is built based on the optimized integrated model and the optimized weighted model. The prediction model includes an integrated model and a weighted model. The integrated model is used to regress the honeypot operation data separately and then fuse them to obtain regression data. The weighted model is used to predict the regression data to obtain a network security situation awareness value.
[0043] For the beneficial effects of the second aspect, reference may be made to the description of the beneficial effects of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 The present invention provides a basic step flow chart of a honeypot network security situation prediction method and system;
[0045] Figure 2 The present invention provides a honeypot network security situation prediction method and system overall framework diagram;
[0046] Figure 3 The present invention provides a honeypot network security situation prediction method and system integrated model and weighted model training flow chart;
[0047] Figure 4 The present invention provides a honeypot network security situation prediction method and system multi-objective wolf pack optimization hyperparameter flow chart. DETAILED DESCRIPTION
[0048] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. Unless otherwise defined, the technical terms or scientific terms used herein should be understood by people with general skills in the field to which the present invention belongs. "Including" and similar words used in this article mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects.
[0049] The embodiment of the present invention provides a honeypot network security situation prediction method, which specifically includes the following steps:
[0050] Step S1, collecting and preprocessing honeypot network security data to obtain situation data; the honeypot network security data comes from the power system;
[0051] Step S2, constructing an initial integrated model and an initial weighted model, training the initial integrated model based on situation data to obtain an integrated model and a predicted value; dividing the predicted value into K equal parts, cross-training the initial weighted model based on K-fold cross validation, and obtaining a weighted model after balancing overfitting and prediction errors; optimizing the integrated model and the weighted model based on a multi-objective wolf pack algorithm;
[0052] Step S3: building a prediction model based on the optimized integrated model and the optimized weighted model; inputting the honeypot operation data based on the prediction model to obtain a network security situation awareness value.
[0053] In some embodiments, the process of executing step S1 to collect and pre-process honeypot network security data to obtain situation data includes:
[0054] Collect honeypot network security data based on the operation data of honeypots in the power system;
[0055] The honeypot network security data is normalized to obtain situation data.
[0056] Specifically, the normalization formula is as follows:
[0057] ;
[0058] is the original data; and is the maximum and minimum value in the original data sequence; The data are normalized.
[0059] Specifically, honeypot network security data includes: subnet traffic change rate, number of security alerts, security audit coverage, number of security devices, vulnerability exploitation frequency, and average survival time of key devices in the sub-gateway.
[0060] In other embodiments, see Figure 2 ,The overall framework is composed of a multi-objective wolf pack optimization algorithm and ,prediction model. The multi-objective wolf pack optimization algorithm optimizes the ,hyperparameters of the prediction model.
[0061] Specifically, the multi-objective wolf pack algorithm includes: grouping based on dominance relationship; roaming behavior; elite guidance strategy including improved summoning behavior and siege behavior; information interaction mechanism based on T distribution perturbation.
[0062] Specifically, the prediction model integrates multiple kernel ridge regression models with different kernel functions and is designed as a two-layer structure including an integrated model and a weighted model. The prediction value is obtained by using the three kernel ridge regression models in the integrated model. The K-fold cross-validation method is used to divide the data set into a new training set and a new test set. The weighted model is trained and finally the integrated model and the weighted model are combined to obtain the prediction model.
[0063] In some embodiments, when executing step S2, the following steps are specifically included:
[0064] Step S2-1, constructing an initial integrated model and an initial weighted model;
[0065] Step S2-2, training the initial integrated model based on the situation data to obtain the integrated model and the predicted value;
[0066] Step S2-3, dividing the predicted value into K equal parts, cross-training the initial weighted model based on K-fold cross validation, and obtaining the weighted model after balancing overfitting and prediction errors;
[0067] Step S2-4, optimizing the integrated model and the weighted model based on the multi-objective wolf pack algorithm.
[0068] Specifically, when executing step S2-1 to construct the initial integrated model and the initial weighted model, it includes:
[0069] The initial integrated model is composed of several kernel ridge regression models with different kernel functions; the initial weighted model is a kernel ridge regression model weighted by different kernel functions.
[0070] Furthermore, the kernel function includes: Gaussian kernel function, polynomial kernel function and hyperbolic tangent kernel function; the specific formula is as follows:
[0071] , , ;
[0072] In the formula, is a polynomial kernel function, where is the offset term of the polynomial, is the degree of the polynomial; is the Gaussian kernel function; is the hyperbolic tangent kernel function, is the coefficient of the variable; is a constant, is the standard deviation of the kernel function, and Represents the input sample.
[0073] Specifically, in the process of executing step S2-2 to train the initial integrated model, the following steps are included:
[0074] Step S2-2-1, randomly dividing the situation data into a training set and a test set;
[0075] Step S2-2-2, training several kernel ridge regression models with different kernel functions in the initial integrated model based on the training set and the test set, and integrating them to obtain an integrated model;
[0076] Step S2-2-3: regress the training sets based on the integrated model to obtain corresponding regression values, and fuse the regression values to obtain prediction values.
[0077] For details, see Figure 3 , divide the situation data into training set and test set; after training and testing the integrated model based on the training set and test set, the predicted value is obtained, and the data set is divided into new training set and new test set through K-fold cross validation to train and test the weighted model.
[0078] In fact, the process of executing step S2-2-2 to train the kernel ridge regression model includes:
[0079] Based on nonlinear mapping function Convert the training set data to a high-dimensional feature space, assuming that the initial kernel ridge regression model is: ; In the formula, is the slack variable; Make up the weight vector.
[0080] Furthermore, the weight vector is solved and the minimization function is constructed using the regularized least squares method, and the weight vector is finally obtained. ; The minimization function formula is as follows:
[0081] ; Where C is the regularization coefficient; ;
[0082] Further, solve Problem, the minimization problem is transformed using the Lagrangian function:
[0083] ;
[0084] In the formula, the coefficient to be determined is is the Lagrange multiplier.
[0085] By optimizing the conditions In order to produce The stable solution of Add diagonal elements to the matrix , and get the output weight vector for: ; In the formula, Y = [ y 1 , y 2 ,..., y N ] T ; is the N-order identity matrix;
[0086] Furthermore, in the feature space, Mercer's theorem is satisfied and this kernel function is used Reducing the complexity of high-dimensional space, we finally get the kernel ridge regression model: ; In the formula, is the core matrix; k = [ k ( x 1 , x ),..., k ( x N , x )] .
[0087] Specifically, in the process of executing step S2-3 to train the initial weighted model, it includes: dividing the predicted value into K equal parts, cross-training the initial weighted model based on K-fold cross validation, and obtaining the weighted model after balancing overfitting and prediction errors.
[0088] Furthermore, the weighted kernel function formula used in the weighted model is as follows:
[0089] ;
[0090] In the formula, is the polynomial kernel function; is the Gaussian kernel function; are the weights of Gaussian kernel and polynomial kernel; For control Parameters of the upper bound; and Represents the input sample.
[0091] Specifically, in the process of executing step S2-4 to optimize the integrated model and the weighted model, it includes:
[0092] Step S2-4-1, calculating the error between the predicted label obtained by the integrated model and the weighted model and the true label; wherein the error includes: mean square error and mean absolute percentage error;
[0093] Step S2-4-2, establishing a multi-objective optimization model for the hyperparameter minimization problem of the integrated model and the weighted model based on the error;
[0094] Step S2-4-3, minimizing the error based on a multi-objective wolf pack algorithm to obtain the hyperparameter.
[0095] Furthermore, the multi-objective optimization model of the minimization problem is:
[0096] ;
[0097] In the formula, Fitness function constructed by mean square error; The fitness number constructed from the mean absolute percentage error; Indicates the number of training samples; Represents the true label value; Represents the predicted label.
[0098] In fact, the process of executing step S2-4-3 to minimize the error and solve the hyperparameter includes:
[0099] Initialize the parameters of the multi-objective wolf pack algorithm; wherein the parameters include: population size, maximum number of iterations, distance determination factor, step size factor and maximum number of walks;
[0100] The hyperparameters are obtained by minimizing the error based on wandering behavior, elite guidance strategy and information interaction mechanism based on T-distribution perturbation.
[0101] For details, see Figure 4 ,The steps of the hyperparameters of the multi-objective wolf pack optimization model are: initialize the multi-objective wolf pack and parameters; convert the hyperparameters of the prediction model into population coordinates; divide the population into multiple groups based on the dominance relationship, conduct wolf pack wandering behavior and elite guidance strategy, and optimize based on the information interaction mechanism of T distribution perturbation, and loop until the maximum number of iterations is reached and the termination condition is met to obtain the optimal parameters.
[0102] Specifically, the wandering behavior of the multi-objective wolf pack algorithm includes the following steps:
[0103] Tan Lang in the solution space Explore in different directions and choose The highest rank after fast non-dominated sorting in the directions The roaming behavior repeats until it dominates the alpha wolf or reaches the maximum number of roaming times.
[0104] Specifically, the elite guidance strategy of the multi-objective wolf pack algorithm includes the following steps:
[0105] Perform a fast non-dominated sort based on the population, select the artificial wolves with a non-dominated level of 1, divide the artificial wolves dominated by the alpha wolf into a group, and assign them to the nearest group according to the Manhattan distance;
[0106] Create an archive, sort the artificial wolves in the archive according to the crowding distance, and select the artificial wolf with the largest crowding as the elite wolf; each group of artificial wolves explores the sparsely populated area under the guidance of the group leader and the elite wolf in the external archive.
[0107] Furthermore, the summoning behavior update formula is:
[0108] ;
[0109] In the formula, Represents an individual exist In the dimensional space Position information at the iteration; Be the alpha wolf of each group; The artificial wolf ranked first in the archive in terms of crowding; ω 1 ∈ [ 0 , 1 ] ; It is the running stride length.
[0110] Furthermore, the siege behavior update formula is:
[0111] ;
[0112] In the formula, Represents an individual exist In the dimensional space Position information at the iteration; Be the alpha wolf of each group; The artificial wolf ranked first in the archive in terms of crowding; ω 2 , λ ∈ [ 0 , 1 ] ; For the siege step length.
[0113] Specifically, the information interaction mechanism based on T-distribution perturbation refers to ensuring effective information exchange among populations during the evolution process, allowing excellent information to spread among the population, paying attention to the differences between different individuals, ensuring that excellent information will not be lost, and maintaining population diversity; generating a population of the same size as the original population according to the update formula, merging the new and old populations, and using the archive truncation strategy to screen offspring;
[0114] Furthermore, the interaction mechanism formula is as follows:
[0115] ;
[0116] In the formula, is the learning factor, μ ∈ [ − 1 . 5 , − 1 ] ∪ [ 1 , 1 . 5 ] ; is a random number between 0 and 1; is the step size factor, α ∈ [ 0 , 1 ] ; is a random number vector that follows T distribution; Is the distance between artificial wolves Recent Any one of the artificial wolves, Indicates rounding up. is the population size.
[0117] In some embodiments, the process of executing step S3 to build and apply the prediction model includes:
[0118] Specifically, before the weighted model predicts the regression data to obtain the network security situation awareness value, the regression data is randomly divided into K subsets of similar size and cross-input into the weighted model for prediction.
[0119] An embodiment of the present invention provides a honeypot network security situation prediction system, which specifically includes:
[0120] A data acquisition unit, used for collecting and preprocessing honeypot network security data to obtain situation data; the honeypot network security data comes from the power system;
[0121] A model training optimization unit is used to construct an initial integrated model and an initial weighted model, train the initial integrated model based on situation data to obtain an integrated model and a predicted value; cross-train the initial weighted model based on the predicted value to obtain a weighted model; and optimize the integrated model and the weighted model based on a multi-objective wolf pack algorithm;
[0122] The model building application unit is used to build a prediction model based on the optimized integrated model and the optimized weighted model; and to obtain a network security situation awareness value by inputting honeypot operation data based on the prediction model.
[0123] Specifically, a prediction model is built based on the optimized integrated model and the optimized weighted model. The prediction model includes an integrated model and a weighted model. The integrated model is used to regress the honeypot operation data separately and then fuse them to obtain regression data. The weighted model is used to predict the regression data to obtain a network security situation awareness value.
[0124] Although the embodiments of the present invention are described in detail above, it is obvious to those skilled in the art that various modifications and variations can be made to these embodiments. However, it should be understood that such modifications and variations are within the scope and spirit of the present invention as described in the claims. Moreover, the present invention described herein may have other embodiments and may be implemented or realized in a variety of ways.
Claims
1. A honeypot network security situation prediction method, characterized in that: include: Collect and pre-process honeypot network security data to obtain situation data; The honeypot network security data is derived from the power system; Constructing an initial integrated model and an initial weighted model, training the initial integrated model based on situation data to obtain an integrated model and a predicted value; dividing the predicted value into K equal parts, cross-training the initial weighted model based on K-fold cross validation, and obtaining a weighted model after balancing overfitting and prediction errors; optimizing the integrated model and the weighted model based on a multi-objective wolf pack algorithm; The initial integrated model is composed of several kernel ridge regression models with different kernel functions, and the initial weighted model is a kernel ridge regression model weighted by different kernel functions; the kernel functions include: Gaussian kernel function, polynomial kernel function and hyperbolic tangent kernel function; A prediction model is built based on the optimized integrated model and the optimized weighted model; the honeypot operation data is input into the prediction model to obtain the network security situation awareness value.
2. The network security situation prediction method of the honeypot according to claim 1 is characterized in that: Collect and pre-process honeypot network security data to obtain situation data, including: Collect honeypot network security data based on the operation data of honeypots in the power system; Normalizing the honeypot network security data to obtain situation data; The honeypot network security data includes: subnet traffic change rate, number of security alerts, security audit coverage, number of security devices, vulnerability exploitation frequency, and average survival time of key devices in the sub-gateway.
3. The network security situation prediction method of honeypot according to claim 1 is characterized in that: The initial integrated model is trained based on the situation data to obtain the integrated model and prediction value, including: Randomly divide the situation data into training set and test set; Based on the training set and the test set, several kernel ridge regression models with different kernel functions in the initial integrated model are trained and integrated to obtain an integrated model; Based on the integrated model, the training sets are regressed respectively to obtain corresponding regression values, and the regression values are integrated to obtain the predicted values.
4. The network security situation prediction method of honeypot according to claim 1 is characterized in that: In the process of cross-training the initial weighted model based on the K-fold cross validation, the weighted kernel function used by the initial weighted model is: ; In the formula, is the polynomial kernel function; is the Gaussian kernel function; are the weights of Gaussian kernel and polynomial kernel; For control Upper bound parameters.
5. The network security situation prediction method of honeypot according to claim 1 is characterized in that: The process of optimizing the integrated model and weighted model based on the multi-objective wolf pack algorithm includes: Calculate the error between the predicted label obtained by the integrated model and the weighted model and the true label; wherein the error includes: mean square error and mean absolute percentage error; Establishing a multi-objective optimization model for the hyperparameter minimization problem of the integrated model and the weighted model based on the error; The hyperparameters are obtained by minimizing the error based on a multi-objective wolf pack algorithm; wherein the multi-objective optimization model of the minimization problem is: ; In the formula, Fitness function constructed by mean square error; The fitness number constructed from the mean absolute percentage error; Indicates the number of training samples; Represents the true label value; Represents the predicted label.
6. The network security situation prediction method of honeypot according to claim 5 is characterized in that: The process of minimizing the error based on the multi-objective wolf pack algorithm to obtain the hyperparameter includes: Initialize the parameters of the multi-objective wolf pack algorithm; wherein the parameters include: population size, maximum number of iterations, distance determination factor, step size factor and maximum number of walks; The hyperparameters are obtained by minimizing the error based on wandering behavior, elite guidance strategy and information interaction mechanism based on T-distribution perturbation.
7. The network security situation prediction method of honeypot according to claim 6 is characterized in that: The wandering behavior of the multi-objective wolf pack algorithm includes the following steps: Tan Lang in the solution space Explore in different directions and choose The highest rank after fast non-dominated sorting in the directions The roaming behavior repeats until it dominates the alpha wolf or reaches the maximum number of roaming times.
8. A honeypot network security situation prediction system, characterized in that: include: A data collection unit, used for collecting and preprocessing honeypot network security data to obtain situation data; The honeypot network security data is derived from the power system; A model training optimization unit is used to construct an initial integrated model and an initial weighted model, train the initial integrated model based on situation data to obtain an integrated model and a predicted value; divide the predicted value into K equal parts, cross-train the initial weighted model based on K-fold cross validation, and obtain a weighted model after balancing overfitting and prediction errors; optimize the integrated model and the weighted model based on a multi-objective wolf pack algorithm; The initial integrated model is composed of several kernel ridge regression models with different kernel functions, and the initial weighted model is a kernel ridge regression model weighted by different kernel functions; the kernel functions include: Gaussian kernel function, polynomial kernel function and hyperbolic tangent kernel function; The model building application unit is used to build a prediction model based on the optimized integrated model and the optimized weighted model; and to obtain a network security situation awareness value by inputting honeypot operation data based on the prediction model.
9. The network security situation prediction system of the honeypot according to claim 8, characterized in that: A prediction model is built based on the optimized integrated model and the optimized weighted model. The prediction model includes an integrated model and a weighted model. The integrated model is used to regress the honeypot operation data separately and then fuse them to obtain regression data. The weighted model is used to predict the regression data to obtain a network security situation awareness value.
