A method and device for evaluating mobile network risk vulnerability
By combining neural network and fuzzy theory, combined with genetic algorithm optimization, the problem of incompatibility between subjective and objective factors in mobile network risk vulnerability determination is solved, the accuracy and pertinence of the determination are improved, and a more objective risk assessment is achieved.
Patent Information
- Application Number
- CN202110567457.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-24
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2041-05-24
AI Technical Summary
In existing mobile network risk vulnerability measurement methods, subjective factors and objective factors are separated, resulting in inaccurate measurement results.
Basic information data is obtained by traversing the mobile network, combined with the preset comparison database and pre-training model, using neural network and fuzzy theory to conduct risk vulnerability assessment, introducing genetic algorithm optimization model, and adjusting the proportion of intelligent methods to improve measurement accuracy.
It improves the accuracy and pertinence of mobile network risk vulnerability measurement, reduces the influence of human subjective factors, and enhances the objectivity of measurement results.
Smart Images

Figure CN113378158B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of risk determination, and in particular to a method and device for evaluating risk vulnerability of a mobile network. Background Art
[0002] With the rapid development of unmanned mobile technology, the types and number of unmanned mobile platforms in the network are increasing, and the functions of unmanned mobile platforms are also becoming more diverse. The changes in unmanned mobile platforms have led to the gradual increase in the number of network layers of unmanned mobile platforms, and the increasingly complex network architecture. As a result, new complex networks represented by mobile networks have emerged. Mobile network chips have the characteristics of high integration and complex spatial environment. Therefore, the information security risks faced by mobile networks are also high, such as hardware failures, software failures, network attacks and other information security incidents. In order to effectively prevent information security incidents, it is necessary to assess the risks of mobile networks, that is, the possibility of information security accidents in mobile networks, and then strengthen mobile networks according to the risks of mobile networks. Risk assessment, as an effective method for identifying and analyzing risks in the field of information security, has been widely used in various network systems. Risk assessment mainly involves basic elements such as assets, threats and vulnerabilities. Each element has its own attributes. The attribute of assets is the value of assets; the attribute of threats can be the threat subject, the affected object and the frequency of occurrence; the attribute of vulnerabilities is the severity of asset weaknesses, etc.
[0003] The existing methods for determining mobile network risk vulnerability include expert evaluation methods, which rely on expert experience to judge mobile network vulnerability. The expert evaluation method can evaluate the target system in a targeted manner and directly provide recommended protection measures and structural frameworks. However, this method relies too much on the human judgment of experts and has certain subjective factors.
[0004] In order to solve the problem of too strong subjective factors in the existing methods for measuring mobile network risk vulnerability, researchers have proposed a variety of solutions, including the method for measuring mobile network vulnerability based on fuzzy neural network or the method for measuring mobile network risk vulnerability based on chaotic particle swarm optimization BP neural network. However, these improved methods only use intelligent neural networks, and when there is less known information, they do not consider subjective factors at all and fail to give reasonable and targeted measurement results.
[0005] Based on this, there is an urgent need for a method for measuring mobile network risk vulnerability to solve the problem that the subjective factors and objective factors of the measurement methods in the existing technology are completely separated. Summary of the invention
[0006] The present application provides a method and device for evaluating risk vulnerability of a mobile network, which can be used to solve the problem in the prior art that subjective factors and objective factors of the measurement method are completely separated.
[0007] In a first aspect, an embodiment of the present application provides a method for assessing risk vulnerability of a mobile network, the method comprising:
[0008] Traversing the mobile network to be measured, and acquiring basic information data of the mobile network to be measured; the basic information data includes asset data, risk data, vulnerability data, and defense measures data;
[0009] The basic information data is compared with a preset comparison database to obtain initial processing data; the comparison database includes a correspondence between the basic information data and the initial processing data; the comparison database is established according to the historical information data and the historical measurement results of experts; the initial processing data reflects the initial measurement results of the mobile network to be measured; wherein the asset data corresponds to the initial asset processing data, the risk data corresponds to the initial risk processing data, the vulnerability data corresponds to the initial vulnerability processing data, and the defense measures data corresponds to the initial defense measures processing data;
[0010] Inputting the initial risk processing data into a pre-trained first measurement model to obtain a first measurement result; the first measurement model includes a correspondence between the initial processing data and the measurement result;
[0011] Inputting the initial vulnerability processing data and the initial defense measure processing data into a pre-trained second measurement model to obtain a second measurement result; the second measurement model includes a correspondence between the initial processing data and the measurement result;
[0012] A measurement result is determined based on the initial processing data, the first measurement result, and the second measurement result.
[0013] In combination with the first aspect, in an implementable manner of the first aspect, comparing the basic information data with a preset comparison database to obtain initial processing data includes:
[0014] Determining an assessment level based on the asset data;
[0015] Target comparison data consistent with the basic information data in the preset comparison database is determined, and the initial processing data is determined according to the evaluation level.
[0016] In conjunction with the first aspect, in an implementation manner of the first aspect, the first measurement model is determined by the following method:
[0017] Inputting the first sample data into a first measurement model to be trained for multiple times, performing training, and obtaining a trained first measurement model; the first measurement model is a neural network model;
[0018] The first measurement model was constructed by the following method;
[0019] First, the basic structure of the first measurement model is determined. The first measurement model includes three layers, namely, an input layer, a hidden layer, and an output layer. The first layer is the input layer, which has 4 neurons. The input layer is represented by X={x i |i∈(1,4)}; the initial risk processing data is represented as an input vector IN=<NL,HL,ML,NA> , where NL represents software vulnerability threat data, HL represents hardware vulnerability threat data, ML represents management vulnerability threat data, and NA represents network attack threat data; the second layer of the first measurement model is the hidden layer, which has 5 nodes; the hidden layer is represented by B={b j |j∈(1,5)}; the third layer of the first measurement model is the output layer, which has 1 node; the output layer node is represented by y, and the output characteristic function is a Sigmoid function;
[0020] The output of the input layer neurons is determined in the following way:
[0021]
[0022] Among them, α h is the input of the hth neuron in the hidden layer, and is also the output of the neuron in the input layer; x i is the i-th neuron in the input layer; v ih Set the weight from the input layer to the hidden layer;
[0023] The input to the output layer neurons is determined in the following way:
[0024]
[0025] Among them, β is the input of the output layer neurons, and also the output of all neurons in the hidden layer; w h is the weight from the hidden layer to the output layer; γ h is the threshold of the hth neuron in the hidden layer; α h is the input of the hth neuron in the hidden layer;
[0026] The first determination result is determined by the following method:
[0027] Γ=f(β-θ)
[0028] Wherein, Γ is the first measurement result; β is the input of the output layer neuron; θ is the threshold of the output layer neuron; f is the activation function of the neural network, which is a unipolar Sigmoid function;
[0029] The activation function of the neural network is determined by the following method:
[0030]
[0031] Wherein, Z is the formal parameter of f; f is the activation function of the neural network;
[0032] Finally, the first measurement model is optimized and the output error is calculated using the least square method;
[0033] The output error is determined using the following method:
[0034]
[0035] Wherein, E is the output error; d is the output expectation; f is the activation function of the neural network; v ih is the weight from the input layer to the hidden layer; γ h is the threshold value of the hth neuron in the hidden layer; w h is the weight from the hidden layer to the output layer; θ is the threshold of the output layer neuron; x i is the i-th neuron in the input layer;
[0036] The following method is used to determine the weights between neurons in each layer:
[0037]
[0038] Wherein, E is the output error; v ih is the weight from the input layer to the hidden layer, γ h is the threshold of the hth neuron in the hidden layer, w h is the weight from the hidden layer to the output layer, and θ is the threshold of the neurons in the output layer.
[0039] In conjunction with the first aspect, in an implementation manner of the first aspect, after determining the first measurement model, the method further includes:
[0040] Using a genetic algorithm to optimize the first measurement model;
[0041] Genetic algorithm includes five basic elements: encoding, initial population, fitness function, genetic operation, parameter control and termination rules; construct four types of genotypes, corresponding to (w h ,v ih ,γ h ,θ); where w his the weight from the hidden layer to the output layer; v ih is the weight from the input layer to the hidden layer; γ h is the threshold of the hth neuron in the hidden layer; θ is the threshold of the neuron in the output layer;
[0042] The fitness function is determined by the following method:
[0043]
[0044] Wherein, F is the fitness function; d n is the output expectation; y n For the actual output result, floating point encoding is used to encode the numbers in the interval (0,1) to generate genotypes; S is the number of training samples;
[0045] Genetic operations include selection, crossover, mutation and population update. The selection operation uses competitive selection to select individuals. The probability of chromosome selection is determined by the following method:
[0046]
[0047] Among them, p i is the probability of chromosome selection; F i is the fitness of the i-th chromosome, where individuals with greater fitness have a greater probability of survival; N is the number of all chromosomes;
[0048] The uniform crossover method is used as the crossover operation, which corresponds to the following method:
[0049]
[0050] Among them, A k is the kth chromosome; A l is the lth chromosome; z is a random number between (0,1), indicating the crossover probability;
[0051] The population update operation adopts the Pareto solution retention strategy, and the parent generation solution directly enters the child generation; the optimization method adopts two termination rules. When the difference between the maximum and minimum values of the objective function in the population is less than the given precision, the algorithm is considered to have converged and the optimization is terminated; otherwise, the optimization is terminated when the number of algorithm iterations reaches the specified number.
[0052] In conjunction with the first aspect, in an implementation manner of the first aspect, the second measurement model is determined by the following method:
[0053] Inputting the second sample data into the second measurement model to be trained for multiple times, and performing training to obtain a trained second measurement model; the second measurement model is established according to fuzzy theory;
[0054] The second determination model is a three-layer fuzzy evaluation model, which uses the following method to construct fuzzy rules:
[0055]
[0056] Among them, Rule1 is a fuzzy rule; p is the number of threat assessment factors, Af i is the i-th evaluation factor, c i is the weight of the evaluation factor;
[0057] Then, the output result of the threat fuzzy layer is determined; specifically, the output result of the threat fuzzy layer is the threat degree, and the threat degree is determined by the following method:
[0058] OC=Rule2(T,C)
[0059] Wherein, OC is the threat level; T is the initial asset processing data, and T = {t|t∈(1,5)}; C is the initial defense measure processing data, and C = {c|c∈(1,5)}; Rule2 is a predetermined operation rule;
[0060] The operation rules of Rule2 are as follows:
[0061] Rule2(G 1×m ,H 1×q )=D m×q ,d ru ={(g r +h u ) / 2|r∈(1,m),u∈(1,q)}
[0062] Among them, G is an m-dimensional vector, H is a q-dimensional vector, and g r and h u are the rth and uth factors of G and H respectively;
[0063] Finally, construct the method for determining the results of the measurement;
[0064] The determination results were determined using the following method:
[0065] OL=Rule2(OC T1 ,V)
[0066] Sout=Rule2(OL T1 ,Im)
[0067] Among them, OC is the threat degree; T1 represents expansion into a column vector; V represents the degree of vulnerability of the asset, which is determined based on the initial vulnerability processing data; OL represents the probability of threat occurrence; Im is determined based on the initial vulnerability processing data and the initial asset processing data; Sout is the measurement result.
[0068] In conjunction with the first aspect, in an implementation manner of the first aspect, after determining the first measurement model, the method further includes:
[0069] The first measurement model is optimized using a genetic algorithm.
[0070] In conjunction with the first aspect, in an implementation manner of the first aspect, the second measurement model is determined by the following method:
[0071] The second sample data is input into the second measurement model to be trained for multiple times to perform training and obtain a trained second measurement model; the second measurement model is established according to fuzzy theory.
[0072] In conjunction with the first aspect, in an implementation manner of the first aspect, determining a measurement result according to the initial processing data, the first measurement result, and the second measurement result includes:
[0073] Determine, according to the initial processing data, the first measurement result, and the second measurement result, a first proportion of the first measurement result and a second proportion of the second measurement result; the first proportion is the proportion of the first measurement result in the measurement result; the second proportion is the proportion of the second measurement result in the measurement result;
[0074] The measurement result is determined according to the first measurement result, the first proportion, the second measurement result and the second proportion.
[0075] In a second aspect, the present application proposes a mobile network risk vulnerability assessment device, characterized in that the device comprises:
[0076] An acquisition module, used to traverse the mobile network to be measured and acquire basic information data of the mobile network to be measured; the basic information data includes asset data, risk data, vulnerability data and defense measures data;
[0077] A comparison module, used for comparing the basic information data with a preset comparison database to obtain initial processing data; the comparison database includes a correspondence between the basic information data and the initial processing data; the comparison database is established based on historical information data and expert historical measurement results; the initial processing data reflects the initial measurement results of the mobile network to be measured; wherein the asset data corresponds to initial asset processing data, the risk data corresponds to initial risk processing data, the vulnerability data corresponds to initial vulnerability processing data, and the defense measures data corresponds to initial defense measures processing data;
[0078] A processing module, used for inputting the initial risk processing data into a pre-trained first measurement model to obtain a first measurement result; the first measurement model includes a correspondence between the initial processing data and the measurement result;
[0079] The processing module is further used to input the initial vulnerability processing data and the initial defense measure processing data into a pre-trained second measurement model to obtain a second measurement result; the second measurement model includes a correspondence between the initial processing data and the measurement result;
[0080] A determination module is used to determine a measurement result according to the initial processing data, the first measurement result and the second measurement result.
[0081] In conjunction with the second aspect, in an implementation manner of the second aspect, the comparison module is specifically used to:
[0082] Determining an assessment level based on the asset data;
[0083] Target comparison data consistent with the basic information data in the preset comparison database is determined, and the initial processing data is determined according to the evaluation level.
[0084] In conjunction with the second aspect, in an implementation manner of the second aspect, the first measurement model is determined by the following method:
[0085] Inputting the first sample data into the first measurement model to be trained for multiple times, training, and obtaining a trained first measurement model; the first measurement model is a neural network model. The first measurement model is constructed by the following method;
[0086] First, the basic structure of the first measurement model is determined. The first measurement model includes three layers, namely, an input layer, a hidden layer, and an output layer. The first layer is the input layer, which has 4 neurons. The input layer is represented by X={x i |i∈(1,4)}; the initial risk processing data is represented as an input vector IN=<NL,Hl,ML,NA> , where NL represents software vulnerability threat data, HL represents hardware vulnerability threat data, ML represents management vulnerability threat data, and NA represents network attack threat data; the second layer of the first measurement model is the hidden layer, which has 5 nodes; the hidden layer is represented by B={b j |j∈(1,5)}; the third layer of the first measurement model is the output layer, which has 1 node; the output layer node is represented by y, and the output characteristic function is a Sigmoid function;
[0087] The output of the input layer neurons is determined in the following way:
[0088]
[0089] Among them, α h is the input of the hth neuron in the hidden layer, and is also the output of the neuron in the input layer; x i is the i-th neuron in the input layer; v ih Set the weight from the input layer to the hidden layer;
[0090] The input to the output layer neurons is determined in the following way:
[0091]
[0092] Among them, β is the input of the output layer neurons, and also the output of all neurons in the hidden layer; w h is the weight from the hidden layer to the output layer; γ h is the threshold of the hth neuron in the hidden layer; α h is the input of the hth neuron in the hidden layer;
[0093] The first determination result is determined by the following method:
[0094] Γ=f(β-θ)
[0095] Wherein, Γ is the first measurement result; β is the input of the output layer neuron; θ is the threshold of the output layer neuron; f is the activation function of the neural network, which is a unipolar Sigmoid function;
[0096] The activation function of the neural network is determined by the following method:
[0097]
[0098] Wherein, Z is the formal parameter of f; f is the activation function of the neural network;
[0099] Finally, the first measurement model is optimized and the output error is calculated using the least square method;
[0100] The output error is determined using the following method:
[0101]
[0102] Wherein, E is the output error; d is the output expectation; f is the activation function of the neural network; v ih is the weight from the input layer to the hidden layer; γ h is the threshold value of the hth neuron in the hidden layer; w h is the weight from the hidden layer to the output layer; θ is the threshold of the output layer neuron; x i is the i-th neuron in the input layer;
[0103] The following method is used to determine the weights between neurons in each layer:
[0104]
[0105] Wherein, E is the output error; v ih is the weight from the input layer to the hidden layer, γ h is the threshold of the hth neuron in the hidden layer, w h is the weight from the hidden layer to the output layer, and θ is the threshold of the neurons in the output layer.
[0106] In conjunction with the second aspect, in an implementation manner of the second aspect, after determining the first measurement model, the method further includes:
[0107] Using a genetic algorithm to optimize the first measurement model;
[0108] Genetic algorithm includes five basic elements: encoding, initial population, fitness function, genetic operation, parameter control and termination rules; construct four types of genotypes, corresponding to (w h ,v ih ,γ h ,θ); where w h is the weight from the hidden layer to the output layer; v ih is the weight from the input layer to the hidden layer; γ h is the threshold of the hth neuron in the hidden layer; θ is the threshold of the neuron in the output layer;
[0109] The fitness function is determined by the following method:
[0110]
[0111] Wherein, F is the fitness function; d n is the output expectation; y n For the actual output result, floating point encoding is used to encode the numbers in the interval (0,1) to generate genotypes; S is the number of training samples;
[0112] Genetic operations include selection, crossover, mutation and population update. The selection operation uses competitive selection to select individuals. The probability of chromosome selection is determined by the following method:
[0113]
[0114] Among them, p i is the probability of chromosome selection; F i is the fitness of the i-th chromosome, where individuals with greater fitness have a greater probability of survival; N is the number of all chromosomes;
[0115] The uniform crossover method is used as the crossover operation, which corresponds to the following method:
[0116]
[0117] Among them, A k is the kth chromosome; A l is the lth chromosome; z is a random number between (0,1), indicating the crossover probability;
[0118] The population update operation adopts the Pareto solution retention strategy, and the parent generation solution directly enters the child generation; the optimization method adopts two termination rules. When the difference between the maximum and minimum values of the objective function in the population is less than the given precision, the algorithm is considered to have converged and the optimization is terminated; otherwise, the optimization is terminated when the number of algorithm iterations reaches the specified number.
[0119] In conjunction with the second aspect, in an implementation manner of the second aspect, the second measurement model is determined by the following method:
[0120] Inputting the second sample data into the second measurement model to be trained for multiple times, and performing training to obtain a trained second measurement model; the second measurement model is established according to fuzzy theory;
[0121] The second determination model is a three-layer fuzzy evaluation model, which uses the following method to construct fuzzy rules:
[0122]
[0123] Among them, Rule1 is a fuzzy rule; p is the number of threat assessment factors, Af i is the i-th evaluation factor, c i is the weight of the evaluation factor;
[0124] Then, the output result of the threat fuzzy layer is determined; specifically, the output result of the threat fuzzy layer is the threat degree, and the threat degree is determined by the following method:
[0125] OC=Rule2(T,C)
[0126] Wherein, OC is the threat level; T is the initial asset processing data, and T = {t|t∈(1,5)}; C is the initial defense measure processing data, and C = {c|c∈(1,5)}; Rule2 is a predetermined operation rule;
[0127] The operation rules of Rule2 are as follows:
[0128] Rule2(G 1×m ,H 1×q )=D m×q ,d ru ={(gr +h u ) / 2|r∈(1,m),u∈(1,q)}
[0129] Among them, G is an m-dimensional vector, H is a q-dimensional vector, and g r and h u are the rth and uth factors of G and H respectively;
[0130] Finally, construct the method for determining the results of the measurement;
[0131] The determination results were determined using the following method:
[0132] OL=Rule2(OC T1 ,V)
[0133] Sout=Rule2(OL T1 ,Im)
[0134] Among them, OC is the threat degree; T1 represents expansion into a column vector; V represents the degree of vulnerability of the asset, which is determined based on the initial vulnerability processing data; OL represents the probability of threat occurrence; Im is determined based on the initial vulnerability processing data and the initial asset processing data; Sout is the measurement result.
[0135] In conjunction with the second aspect, in an implementation manner of the second aspect, the determining module is specifically configured to:
[0136] Determine, according to the initial processing data, the first measurement result, and the second measurement result, a first proportion of the first measurement result and a second proportion of the second measurement result; the first proportion is the proportion of the first measurement result in the measurement result; the second proportion is the proportion of the second measurement result in the measurement result;
[0137] The measurement result is determined according to the first measurement result, the first proportion, the second measurement result and the second proportion.
[0138] The embodiment of the present application adopts a comparison database, introduces historical information data in the process of mobile network risk vulnerability measurement, and obtains the expert's measurement results of the same mobile network in the historical data by comparing with the historical information data, so that the measurement process is more targeted and more in line with the characteristics of the mobile network to be measured. The present application adopts two intelligent methods, and adjusts the proportion of the results corresponding to the two intelligent methods in the final measurement results by initially processing data, thereby improving the accuracy of the measurement. BRIEF DESCRIPTION OF THE DRAWINGS
[0139] Figure 1 A flowchart of a method for determining risk vulnerability of a mobile network applicable to an embodiment of the present application;
[0140] Figure 2 A schematic diagram of risk data provided by an embodiment of the present application;
[0141] Figure 3 A schematic diagram of the structure of a mobile network risk vulnerability measurement device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0142] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0143] In the prior art, there are many methods for measuring mobile network risk vulnerability, among which the more typical one is to use intelligent methods to measure mobile network risk vulnerability. For example, some scholars have constructed Bayesian neural networks for measurement, and used fuzzy theory to preprocess data to eliminate the influence of fuzziness to a certain extent; some scholars have proposed a multi-layer feedforward neural network based on chaotic particle swarm optimization (FBSN). The network security risk measurement method of the propagation (BP) is proposed. The extreme value of the particle process motion is obtained by using the optimization algorithm based on chaotic particle swarm, and the final weight and threshold are obtained by using the BP neural network algorithm, so as to solve the trend, periodicity and randomness problems existing in the traditional evaluation method; some scholars use a set of quantum gate circuits to build a neural network model, take the normalized processing results of the measured object attribute samples as the network input and represent them with quantum bits, perform phase rotation through the quantum rotation gate and control the flipping of the quantum bits, and obtain the measurement results after network processing; some researchers have proposed a measurement model for the risk vulnerability of mobile networks based on genetic algorithms and BP neural networks, and use genetic algorithms to optimize the thresholds and weights of BP neural networks; in addition, some researchers have proposed a fuzzy neural network measurement method, which divides the security protection level of the information system into multiple levels, combines fuzzy mathematics theory with BP neural networks, and establishes a method for measuring the risks in the information system. The method combines qualitative and quantitative methods, and uses BP neural networks for training after fuzzy processing of the risks in the information system. However, currently, these methods only use intelligent methods, ignore the evaluation experience of experts, do not target the characteristics of various mobile networks, and may not be able to accurately and objectively evaluate the system under limited conditions. The method provided in the embodiment of the present application can effectively solve the above problems.
[0144] Let's first combine Figure 1 The possible system architecture applicable to the embodiments of the present application is introduced.
[0145] Please refer to Figure 1, which exemplarily shows a flow chart of a method for assessing mobile network risk vulnerability applicable to an embodiment of the present application. The method provided in the embodiment of the present application comprises the following steps:
[0146] Step S101, traverse the mobile network to be measured, and obtain basic information data of the mobile network to be measured.
[0147] Specifically, the basic information data includes asset data, risk data, vulnerability data, and defense measures data. Each asset data corresponds to risk data, vulnerability data, and defense measures data, that is, for any asset in the mobile network to be measured, there is a possibility of risk and vulnerability, and at the same time, the technicians may have taken some defense measures for these risks or vulnerabilities.
[0148] Among them, asset data includes service data, data data, software data and hardware data. Risk data includes software vulnerability threat data, hardware vulnerability threat data, management vulnerability threat data and network attack threat data. Vulnerability data includes physical environment vulnerability data, network structure vulnerability data, network software vulnerability data, network hardware vulnerability data, network application system vulnerability data and network management system vulnerability data. Defense measures data includes management defense measures data, data defense measures implementation data, software defense measures implementation data and hardware defense measures implementation data.
[0149] The following uses risk data as an example to explain in detail how to obtain the required basic information data based on the mobile network to be measured.
[0150] According to the program information of the mobile network to be measured, the software vulnerability threat data is obtained; according to the CPU and network card device information, the hardware vulnerability threat data is obtained; according to the authentication information, such as whether the mobile network to be measured has set up the identification of illegal access and cross-border extraction, the management vulnerability threat data is obtained; according to the feedback information of responding to external attacks, the network attack threat data is obtained. Other related basic information data is also obtained through the same method, obtaining relevant information from the mobile network to be measured and integrating the basic information data.
[0151] Step S102, comparing the basic information data with a preset comparison database to obtain initial processing data.
[0152] The comparison database includes the correspondence between the basic information data and the initial processing data. The comparison database is established based on the historical information data and the historical measurement results of experts. The initial processing data reflects the initial measurement results of the mobile network to be measured.
[0153] Specifically, the assessment level is determined based on the asset data.
[0154] Target control data consistent with the basic information data in a preset comparison database is determined, and initial processing data is determined according to the evaluation level.
[0155] Among them, the assessment level is determined according to the importance of the asset data and is divided into five levels.
[0156] It should be noted that the establishment of the comparison database requires a large amount of historical information data and a large amount of expert historical measurement results, and the most accurate measurement results among the expert historical measurement results are stored in the comparison database to form a corresponding relationship between the information data and the initial processing data. The initial processing data in the embodiment of the present application is the expert historical measurement results that are consistent with the basic information data.
[0157] Specifically, the embodiment of the present application is based on a set comparison database, including various information, and divides different historical information data into different levels according to previous expert historical measurement results to establish a comprehensive comparison database.
[0158] In order to explain the comparison database in more detail, the management vulnerability threat level data in the risk data is explained below in conjunction with Table 1.
[0159] Table 1: Comparison database of management vulnerability threat data
[0160]
[0161] As shown in Table 1, the management vulnerability threat level data includes password strength, identity forgery, vulnerability exploitation, service unavailability, etc. Among them, if the basic information data of the mobile network to be measured shows that the logged-in user has an empty password, the corresponding risk level of this item is 1. Please refer to Table 1 for details, and no further description will be given here.
[0162] like Figure 2 FIG. 1 is a schematic diagram of risk data provided by an embodiment of the present application. Figure 2 It can be seen that risk data includes four categories, which correspond to service data, data data, software data and hardware data in asset data. Specifically, software data in risk data includes risk data on system software, risk data on application software, risk data on database software, risk data on software environment and risk data on software defects. The management vulnerability threat data in Table 1 corresponds to the risk data on service data in asset data.
[0163] The specific risk level classification is determined according to Table 2.
[0164] Table 2: Comparison of risk level classification rules
[0165]
[0166]
[0167] As shown in Table 2, the specific risk level is determined by the frequency of risk occurrence and the importance of the asset (i.e., the assessment level). For example, the risk corresponding to level 5 occurs very frequently (or more than once a week); or is almost unavoidable in most cases; or the corresponding asset is very important. Please refer to Table 2 for details, and we will not go into details here.
[0168] Similarly, vulnerability data and defense measures data, like asset data, correspond to asset data one-to-one, and are graded according to their own vulnerability or defense level and the importance of the assets.
[0169] After executing step S102, the asset data corresponds to the initial asset processing data, the risk data corresponds to the initial risk processing data, the vulnerability data corresponds to the initial vulnerability processing data, and the defense measure data corresponds to the initial defense measure processing data.
[0170] Step S103: input the initial risk processing data into a pre-trained first measurement model to obtain a first measurement result.
[0171] The first measurement model includes the correspondence between the initial processing data and the measurement results.
[0172] The first measurement model provided in the embodiment of the present application is determined by the following method:
[0173] The first sample data is input into the first measurement model to be trained for multiple times to perform training and obtain a trained second measurement model.
[0174] It should be noted that the first measurement model in the embodiment of the present application is a neural network model.
[0175] Specifically, the first measurement model is constructed by the following method;
[0176] First, the basic structure of the first measurement model is determined. In the embodiment of the present application, the first measurement model includes three layers, namely, an input layer, a hidden layer, and an output layer. The first layer is the input layer, which has 4 neurons; the input layer is represented by X = {x i |i∈(1,4)}. Input vector IN=<NL,HL,ML,NA> , the input vector A is the initial risk processing data, where NL represents the software vulnerability threat data, HL represents the hardware vulnerability threat data, ML represents the management vulnerability threat data, and NA represents the network attack threat data. The second layer of the first measurement model is the hidden layer, which takes 5 nodes. The hidden layer is represented by B = {b j|j∈(1,5)}. The third layer of the first measurement model is the output layer, which has 1 node; the output layer node is represented by y, and the output characteristic function is a Sigmoid function.
[0177] Then, the weights and various parameters of the first measurement model are determined.
[0178] Among them, the output of the input layer neurons is determined by the following method:
[0179]
[0180] In formula (1), α h is the input of the hth neuron in the hidden layer and also the output of the neuron in the input layer; x i is the i-th neuron in the input layer; v ih Let be the weight from the input layer to the hidden layer.
[0181] The input to the output layer neurons is determined in the following way:
[0182]
[0183] In formula (2), β is the input of the output layer neurons and also the output of all neurons in the hidden layer; w h is the weight from the hidden layer to the output layer; γ h is the threshold of the hth neuron in the hidden layer; α h is the input of the hth neuron in the hidden layer.
[0184] The output result, i.e. the first measurement result, is determined by the following method:
[0185] Γ=f(β-θ) (3)
[0186] In formula (3), Γ is the first measurement result; β is the input of the output layer neuron; θ is the threshold of the output layer neuron; f is the activation function of the neural network, and the unipolar Sigmoid function is selected.
[0187] The activation function of the neural network is determined in the following way:
[0188]
[0189] In formula (4), Z is the formal parameter of f.
[0190] Finally, the first measurement model is optimized, and the least square method is used to calculate the output error in the embodiment of the present application.
[0191] Specifically, the output error is determined by the following method:
[0192]
[0193] In formula (5), E is the output error; d is the output expectation; f is the activation function of the neural network; v ih is the weight from the input layer to the hidden layer; γ h is the threshold of the hth neuron in the hidden layer; w h is the weight from the hidden layer to the output layer; θ is the threshold of the output layer neuron; x i is the ith neuron in the input layer.
[0194] In the embodiment of the present application, a gradient descent algorithm is used to adjust the weights between neurons in each layer. Specifically, the following method is used:
[0195]
[0196] In formula (6), E is the output error; v ih is the weight from the input layer to the hidden layer, γ h is the threshold of the hth neuron in the hidden layer, w h is the weight from the hidden layer to the output layer, and θ is the threshold of the output layer neurons.
[0197] After the first measurement model is obtained, a genetic algorithm is used to optimize the first measurement model.
[0198] Specifically, the main purpose of using the genetic algorithm is to optimize the error in the first measurement model. The genetic algorithm includes five basic elements: encoding, initial population, fitness function, genetic operation, parameter control and termination rules. According to formula (5), four types of genotypes are constructed, corresponding to (w h ,v ih ,γ h ,θ). Among them, w h is the weight from the hidden layer to the output layer; v ih is the weight from the input layer to the hidden layer; γ h is the threshold of the hth neuron in the hidden layer; θ is the threshold of the neuron in the output layer.
[0199] The fitness function is determined by the following method:
[0200]
[0201] In formula (7), F is the fitness function; d n is the output expectation; y n To actually output the result, floating point encoding is used to encode the numbers in the interval (0,1) to generate genotypes; S is the number of training samples.
[0202] Genetic operations include selection, crossover, mutation, and population update. The selection operation uses competitive selection to select individuals. The probability of chromosome selection is determined by the following method:
[0203]
[0204] In formula (8), p i is the probability of chromosome selection; F i is the fitness of the i-th chromosome, where individuals with greater fitness have a greater probability of survival; N is the number of all chromosomes.
[0205] In the embodiment of the present application, a uniform crossover method is used as the crossover operation. Specifically, the following method is used:
[0206]
[0207] In formula (9), A k is the kth chromosome; A l is the lth chromosome; z is a random number between (0,1), indicating the crossover probability.
[0208] In the embodiment of the present application, the population update operation adopts the Pareto solution retention strategy, and the parent generation solution directly enters the child generation. The optimization method in the embodiment of the present application adopts two termination rules. When the difference between the maximum and minimum values of the objective function in the population is less than the given accuracy, the algorithm is considered to have converged and the optimization is terminated. Otherwise, the optimization is terminated when the number of algorithm iterations reaches the specified number.
[0209] Step S104: input the initial vulnerability processing data and the initial defense measure processing data into a pre-trained second measurement model to obtain a second measurement result.
[0210] The second measurement model includes a correspondence system between initial processing data and measurement results.
[0211] In the embodiment of the present application, the second measurement model is determined by the following method:
[0212] The second sample data is input into the second measurement model to be trained for multiple times to perform training and obtain a trained second measurement model. The second measurement model is established according to fuzzy theory.
[0213] In the embodiment of the present application, the second measurement model is a three-layer fuzzy evaluation model. The specific second measurement model is established by the following steps:
[0214] First, construct fuzzy rules. Specifically, the following method is used to construct fuzzy rules:
[0215]
[0216] In formula (10), Rule1 is the fuzzy rule; p is the number of threat assessment factors, Af i is the i-th evaluation factor, c i is the weight of the evaluation factor.
[0217] Then, the output result of the threat fuzzy layer is determined. Specifically, the output result of the threat fuzzy layer is the threat degree, and the threat degree is determined by the following method:
[0218] OC=Rule2(T,C) (11)
[0219] In formula (11), OC is the threat level; T is the initial asset processing data, and T = {t|t∈(1,5)}; C is the initial defense measure processing data, and C = {c|c∈(1,5)}; Rule2 is a predetermined operation rule. Specifically, the operation rule of Rule2 is as follows:
[0220] Rule2(G 1×m ,H 1×n )=D m×n ,d ij ={(g i +h j ) / 2|i∈(1,m),j∈(1,n)} (12)
[0221] In formula (12), G is an m-dimensional vector, H is a q-dimensional vector, gr and hu are the rth and uth factors of G and H respectively.
[0222] Finally, construct how the assay results are determined.
[0223] In the present application, the measurement results were determined using the following method:
[0224] OL=Rule2(OC T1 ,V) (13)
[0225] Sout=Rule2(OL T1 ,Im) (14)
[0226] In formula (13) and formula (14), OC is the threat degree; T1 represents expansion into a column vector; V represents the degree of vulnerability of the asset, which is determined based on the initial vulnerability processing data; OL represents the probability of threat occurrence; Im is determined based on the initial vulnerability processing data and the initial asset processing data; and Sout is the measurement result.
[0227] After the second measurement model is established, the initial processing data is input into the second measurement model to obtain the second measurement result.
[0228] Step S105, determining the measurement result according to the initial processing data, the first measurement result and the second measurement result.
[0229] Specifically, according to the initial processing data, the first measurement result and the second measurement result, a first proportion of the first measurement result and a second proportion of the second measurement result are determined. The first proportion is the proportion of the first measurement result in the measurement result. The second proportion is the proportion of the second measurement result in the measurement result.
[0230] A measurement result is determined according to the first measurement result, the first ratio, the second measurement result, and the second ratio.
[0231] The first proportion and the second proportion are determined by the following method:
[0232]
[0233] In formula (15) to formula (17), is the average value of the measurement results determined based on the initial processing data, the first measurement result and the second measurement result; R i represents the overall score of the initial processing data, the first measurement result, and the second measurement result, where i∈(1,3); W is the distance between any quantity in the first measurement result and the second measurement result and the average value of the measurement results; Rj When j=1, it indicates the first proportion, and when j=2, it indicates the second proportion.
[0234] The results of the assay were determined using the following method:
[0235]
[0236] In formula (18), Risk is the measurement result; R i represents the overall score of the initial processing data, the first measurement result and the second measurement result, where i∈(1,3); W Rj When j=1, it indicates the first proportion, and when j=2, it indicates the second proportion.
[0237] The embodiment of the present application adopts a comparison database, introduces historical information data in the process of mobile network risk vulnerability measurement, and obtains the expert's measurement results of the same mobile network in the historical data by comparing with the historical information data, so that the measurement process is more targeted and more in line with the characteristics of the mobile network to be measured. The present application adopts two intelligent methods, and adjusts the proportion of the results corresponding to the two intelligent methods in the final measurement results by initially processing data, thereby improving the accuracy of the measurement.
[0238] Figure 3The following is a schematic diagram showing the structure of a mobile network risk vulnerability determination device provided by an embodiment of the present application. Figure 3 As shown, the device has the function of implementing the above-mentioned method for determining the risk vulnerability of the mobile network, and the function can be implemented by hardware or by hardware executing corresponding software. The device may include: an acquisition module 301, a comparison module 302, a processing module 303 and a determination module 304.
[0239] The acquisition module 301 is used to traverse the mobile network to be measured and acquire basic information data of the mobile network to be measured. The basic information data includes asset data, risk data, vulnerability data and defense measure data.
[0240] The comparison module 302 is used to compare the basic information data with the preset comparison database to obtain the initial processing data. The comparison database includes the correspondence between the basic information data and the initial processing data. The comparison database is established based on the historical information data and the historical measurement results of experts. The initial processing data reflects the initial measurement results of the mobile network to be measured. Among them, the asset data corresponds to the initial asset processing data, the risk data corresponds to the initial risk processing data, the vulnerability data corresponds to the initial vulnerability processing data, and the defense measures data corresponds to the initial defense measures processing data.
[0241] The processing module 303 is used to input the initial risk processing data into a pre-trained first measurement model to obtain a first measurement result. The first measurement model includes a correspondence between the initial processing data and the measurement result.
[0242] The processing module 303 is further used to input the initial vulnerability processing data and the initial defense measure processing data into a pre-trained second measurement model to obtain a second measurement result. The second measurement model includes a correspondence between the initial processing data and the measurement result.
[0243] The determination module 304 is used to determine the measurement result according to the initial processing data, the first measurement result and the second measurement result.
[0244] Optionally, the comparison module 302 is specifically used for:
[0245] Determine the assessment level based on the asset data.
[0246] Determine the target control data in the preset comparison database that is consistent with the basic information data, and determine the initial processing data based on the evaluation level.
[0247] Optionally, the first measurement model is determined by the following method:
[0248] The first sample data is input into the first measurement model to be trained for multiple times, and training is performed to obtain the trained first measurement model. The first measurement model is a neural network model.
[0249] The first measurement model was constructed by the following method.
[0250] First, the basic structure of the first measurement model is determined. The first measurement model includes three layers, namely, the input layer, the hidden layer, and the output layer. The first layer is the input layer, which has 4 neurons. The input layer is represented by X = {x i |i∈(1,4)}. The initial risk processing data is represented by the input vector IN=<NL,HL,ML,NA> , where NL represents the software vulnerability threat data, NL represents the hardware vulnerability threat data, ML represents the management vulnerability threat data, and NA represents the network attack threat data. The second layer of the first measurement model is the hidden layer, which has 5 nodes. The hidden layer is represented by B = {b j |j∈(1,5)}. The third layer of the first measurement model is the output layer, which has 1 node. The output layer node is represented by y, and the output characteristic function is a Sigmoid function.
[0251] The output of the input layer neurons is determined in the following way:
[0252]
[0253] Among them, α h is the input of the hth neuron in the hidden layer and also the output of the neurons in the input layer. i is the i-th neuron in the input layer. ih Let be the weight from the input layer to the hidden layer.
[0254] The input to the output layer neurons is determined in the following way:
[0255]
[0256] Among them, β is the input of the output layer neurons, and it is also the output of all neurons in the hidden layer. h is the weight from the hidden layer to the output layer. h is the threshold of the hth neuron in the hidden layer. h is the input of the hth neuron in the hidden layer.
[0257] The first measurement result is determined by the following method:
[0258] Γ=f(β-θ)
[0259] Wherein, Γ is the first measurement result. β is the input of the output layer neuron. θ is the threshold of the output layer neuron. f is the activation function of the neural network, which is a unipolar Sigmoid function.
[0260] The activation function of the neural network is determined in the following way:
[0261]
[0262] Among them, Z is the parameter of f. f is the activation function of the neural network.
[0263] Finally, the first measurement model is optimized and the output error is calculated using the least squares method.
[0264] The output error is determined using the following method:
[0265]
[0266] Where E is the output error. d is the output expectation. f is the activation function of the neural network. ih is the weight from the input layer to the hidden layer. h is the threshold of the hth neuron in the hidden layer. h is the weight from the hidden layer to the output layer. θ is the threshold of the output layer neuron. i is the ith neuron in the input layer.
[0267] The following method is used to determine the weights between neurons in each layer:
[0268]
[0269] Where E is the output error. ih is the weight from the input layer to the hidden layer, γ h is the threshold of the hth neuron in the hidden layer, w h is the weight from the hidden layer to the output layer, and θ is the threshold of the output layer neurons.
[0270] Optionally, after determining the first measurement model, the method further includes:
[0271] The first measurement model is optimized using a genetic algorithm.
[0272] Genetic algorithm includes five basic elements: encoding, initial population, fitness function, genetic operation, parameter control and termination rules. Construct four types of genotypes, corresponding to (w h ,v ih , ,γ h ,,θ). Among them, w h is the weight from the hidden layer to the output layer. ih is the weight from the input layer to the hidden layer. his the threshold of the hth neuron in the hidden layer. θ is the threshold of the neuron in the output layer.
[0273] The fitness function is determined by the following method:
[0274]
[0275] Where F is the fitness function. n is the expected output. n To actually output the result, floating point encoding is used to encode the numbers in the interval (0,1) to generate genotypes. S is the number of training samples.
[0276] Genetic operations include selection, crossover, mutation, and population update. The selection operation uses competitive selection to select individuals. The probability of chromosome selection is determined by the following method:
[0277]
[0278] Among them, p i is the probability of chromosome selection. i is the fitness of the i-th chromosome, where individuals with greater fitness have a greater probability of survival. N is the number of all chromosomes.
[0279] The uniform crossover method is used as the crossover operation, which corresponds to the following method:
[0280]
[0281] Among them, A k is the kth chromosome; A l is the lth chromosome. z is a random number between (0,1) and represents the crossover probability.
[0282] The population update operation adopts the Pareto solution retention strategy, and the parent generation solution directly enters the child generation. The optimization method adopts two termination rules. When the difference between the maximum and minimum values of the objective function in the population is less than the given precision, the algorithm is considered to have converged and the optimization is terminated. Otherwise, the optimization is terminated when the number of algorithm iterations reaches the specified number.
[0283] Optionally, the second measurement model is determined by the following method:
[0284] The second sample data is input into the second measurement model to be trained for multiple times to perform training and obtain a trained second measurement model. The second measurement model is established according to fuzzy theory.
[0285] The second determination model is a three-layer fuzzy evaluation model, which uses the following method to construct fuzzy rules:
[0286]
[0287] Among them, Rule1 is a fuzzy rule. p is the number of threat assessment factors, Af i is the i-th evaluation factor, c i is the weight of the evaluation factor.
[0288] Then, the output result of the threat fuzzy layer is determined. Specifically, the output result of the threat fuzzy layer is the threat degree, which is determined by the following method:
[0289] OC=Rule2(T,C)
[0290] Wherein, OC is the threat level. T is the initial asset processing data, and T = {t|t∈(1,5)}. C is the initial defense measure processing data, and C = {c|c∈(1,5)}. Rule2 is a predetermined operation rule.
[0291] The operation rules of Rule2 are as follows:
[0292] Rule2(G 1×m ,H 1×q )=D m×q ,d ru ={(g r +h u ) / 2|r∈(1,m),u∈(1,q)}
[0293] Among them, G is an m-dimensional vector, H is a q-dimensional vector, and g r and h u are the rth and uth factors of G and H respectively.
[0294] Finally, construct how the assay results are determined.
[0295] The results of the assay were determined using the following method:
[0296] OL=Rule2(OC T1 ,V)
[0297] Sout=Rule2(OL T1 ,Im)
[0298] Where OC is the threat level. T1 represents the expansion into a column vector. V represents the degree of vulnerability of the asset, which is determined based on the initial vulnerability processing data. OL represents the probability of the threat occurring. Im is determined based on the initial vulnerability processing data and the initial asset processing data. Sout is the measurement result.
[0299] Optionally, the determination module 304 is specifically configured to:
[0300] According to the initial processing data, the first measurement result and the second measurement result, a first proportion of the first measurement result and a second proportion of the second measurement result are determined. The first proportion is the proportion of the first measurement result in the measurement result. The second proportion is the proportion of the second measurement result in the measurement result.
[0301] A measurement result is determined according to the first measurement result, the first ratio, the second measurement result, and the second ratio.
[0302] The embodiment of the present application adopts a comparison database, introduces historical information data in the process of mobile network risk vulnerability measurement, and obtains the expert's measurement results of the same mobile network in the historical data by comparing with the historical information data, so that the measurement process is more targeted and more in line with the characteristics of the mobile network to be measured. The present application adopts two intelligent methods, and adjusts the proportion of the results corresponding to the two intelligent methods in the final measurement results by initially processing data, thereby improving the accuracy of the measurement.
[0303] Those skilled in the art can clearly understand that the technology in the embodiments of the present application can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a disk, an optical disk, etc., including several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application or some parts of the embodiments.
[0304] In this specification, the same or similar parts between the various embodiments can be referred to each other. In particular, for the service construction device and service loading device embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiments.
[0305] The above-described embodiments of the present application do not constitute a limitation on the protection scope of the present application.
Claims
1. A method for assessing risk vulnerability of a mobile network, characterized in that: The method comprises: Traversing the mobile network to be measured, and acquiring basic information data of the mobile network to be measured; the basic information data includes asset data, risk data, vulnerability data, and defense measures data; The basic information data is compared with a preset comparison database to obtain initial processing data; the comparison database includes a correspondence between the basic information data and the initial processing data; the comparison database is established according to the historical information data and the historical measurement results of experts; the initial processing data reflects the initial measurement results of the mobile network to be measured; wherein the asset data corresponds to the initial asset processing data, the risk data corresponds to the initial risk processing data, the vulnerability data corresponds to the initial vulnerability processing data, and the defense measures data corresponds to the initial defense measures processing data; Inputting the initial risk processing data into a pre-trained first measurement model to obtain a first measurement result; the first measurement model includes a correspondence between the initial processing data and the measurement result; Inputting the initial vulnerability processing data and the initial defense measure processing data into a pre-trained second measurement model to obtain a second measurement result; the second measurement model includes a correspondence between the initial processing data and the measurement result; determining a measurement result according to the initial processing data, the first measurement result, and the second measurement result; The first determination model is determined by the following method: Inputting the first sample data into a first measurement model to be trained for multiple times, performing training, and obtaining a trained first measurement model; the first measurement model is a neural network model; The first measurement model was constructed by the following method; First, the basic structure of the first measurement model is determined. The first measurement model includes three layers, namely, an input layer, a hidden layer, and an output layer. The first layer is the input layer, which has 4 neurons. The input layer is represented by X={x i |i∈(1,4)}; the initial risk processing data is represented as an input vector IN=<NL,HL,ML,NA> , where NL represents software vulnerability threat data, HL represents hardware vulnerability threat data, ML represents management vulnerability threat data, and NA represents network attack threat data; the second layer of the first measurement model is the hidden layer, which has 5 nodes; the hidden layer is represented by B={b j |j∈(1,5)}; the third layer of the first measurement model is the output layer, which has 1 node; the output layer node is represented by y, and the output characteristic function is a Sigmoid function; The output of the input layer neurons is determined in the following way: Among them, α h is the input of the hth neuron in the hidden layer, and is also the output of the neuron in the input layer; x i is the i-th neuron in the input layer; v ih Set the weight from the input layer to the hidden layer; The input to the output layer neurons is determined in the following way: Among them, β is the input of the output layer neurons, and also the output of all neurons in the hidden layer; w h is the weight from the hidden layer to the output layer; γ h is the threshold of the hth neuron in the hidden layer; α h is the input of the hth neuron in the hidden layer; f is the activation function of the neural network, which is a unipolar Sigmoid function; The first determination result is determined by the following method: Γ=f(β-θ) Wherein, Γ is the first measurement result; β is the input of the output layer neuron; θ is the threshold of the output layer neuron; f is the activation function of the neural network, which is a unipolar Sigmoid function; The activation function of the neural network is determined by the following method: Wherein, Z is the formal parameter of f; f is the activation function of the neural network; Finally, the first measurement model is optimized and the output error is calculated using the least square method; The output error is determined using the following method: Wherein, E is the output error; d is the output expectation; f is the activation function of the neural network; v ih is the weight from the input layer to the hidden layer; γ h is the threshold value of the hth neuron in the hidden layer; w h is the weight from the hidden layer to the output layer; θ is the threshold of the output layer neuron; x i is the i-th neuron in the input layer; The following method is used to determine the weights between neurons in each layer: Wherein, E is the output error; v ih is the weight from the input layer to the hidden layer, γ h is the threshold of the hth neuron in the hidden layer, w h is the weight from the hidden layer to the output layer, and θ is the threshold of the neurons in the output layer.
2. The method according to claim 1, characterized in that Comparing the basic information data with a preset comparison database to obtain initial processing data includes: Determining an assessment level based on the asset data; Target comparison data consistent with the basic information data in the preset comparison database is determined, and the initial processing data is determined according to the evaluation level.
3. The method according to claim 1, characterized in that: After determining the first measurement model, the method further includes: Using a genetic algorithm to optimize the first measurement model; Genetic algorithm includes five basic elements: encoding, initial population, fitness function, genetic operation, parameter control and termination rules; construct four types of genotypes, corresponding to (w h ,v ih ,γ h ,θ); where w h is the weight from the hidden layer to the output layer; v ih is the weight from the input layer to the hidden layer; γ h is the threshold of the hth neuron in the hidden layer; θ is the threshold of the neuron in the output layer; The fitness function is determined by the following method: Wherein, F is the fitness function; d n is the output expectation; y n For the actual output result, floating point encoding is used to encode the numbers in the interval (0,1) to generate genotypes; S is the number of training samples; Genetic operations include selection, crossover, mutation and population update. The selection operation uses competitive selection to select individuals. The probability of chromosome selection is determined by the following method: Among them, p i is the probability of chromosome selection; F i is the fitness of the i-th chromosome, where individuals with greater fitness have a greater probability of survival; N is the number of all chromosomes; The uniform crossover method is used as the crossover operation, which corresponds to the following method: Among them, A k is the kth chromosome; A l is the lth chromosome; z is a random number between (0,1), indicating the crossover probability; The population update operation adopts the Pareto solution retention strategy, and the parent generation solution directly enters the child generation; the optimization method adopts two termination rules. When the difference between the maximum and minimum values of the objective function in the population is less than the given precision, the algorithm is considered to have converged and the optimization is terminated; otherwise, the optimization is terminated when the number of algorithm iterations reaches the specified number.
4. The method according to claim 1, characterized in that: The second determination model is determined by the following method: Inputting the second sample data into the second measurement model to be trained for multiple times, and performing training to obtain a trained second measurement model; the second measurement model is established according to fuzzy theory; The second determination model is a three-layer fuzzy evaluation model, which uses the following method to construct fuzzy rules: Among them, Rule1 is a fuzzy rule; p is the number of threat assessment factors, Af i is the i-th evaluation factor, c i is the weight of the evaluation factor; Then, the output result of the threat fuzzy layer is determined; specifically, the output result of the threat fuzzy layer is the threat degree, and the threat degree is determined by the following method: OC=Rule2(T,C) Wherein, OC is the threat level; T is the initial asset processing data, and T = {t|t∈(1,5)}; C is the initial defense measure processing data, and C = {c|c∈(1,5)}; Rule2 is a predetermined operation rule; The operation rules of Rule2 are as follows: Rule2(G 1×m ,H 1×q )=D m×q ,d ru ={(g r +h u ) / 2|r∈(1,m),u∈(1,q)} Among them, G is an m-dimensional vector, H is a q-dimensional vector, and g r and h u are the rth and uth factors of G and H respectively; Finally, construct the method for determining the results of the measurement; The determination results were determined using the following method: OL=Rule2(OC T1 ,V) South Rule 2 (OL T1 ,In the) Among them, OC is the threat degree; T1 represents expansion into a column vector; V represents the degree of vulnerability of the asset, which is determined based on the initial vulnerability processing data; OL represents the probability of threat occurrence; Im is determined based on the initial vulnerability processing data and the initial asset processing data; Sout is the measurement result.
5. The method according to claim 1, characterized in that Determining a measurement result according to the initial processing data, the first measurement result, and the second measurement result includes: Determine, according to the initial processing data, the first measurement result, and the second measurement result, a first proportion of the first measurement result and a second proportion of the second measurement result; the first proportion is the proportion of the first measurement result in the measurement result; the second proportion is the proportion of the second measurement result in the measurement result; The measurement result is determined according to the first measurement result, the first proportion, the second measurement result and the second proportion.
6. A mobile network risk vulnerability assessment device, characterized in that: The device comprises: An acquisition module, used to traverse the mobile network to be measured and acquire basic information data of the mobile network to be measured; the basic information data includes asset data, risk data, vulnerability data and defense measures data; A comparison module, used for comparing the basic information data with a preset comparison database to obtain initial processing data; the comparison database includes a correspondence between the basic information data and the initial processing data; the comparison database is established based on historical information data and expert historical measurement results; the initial processing data reflects the initial measurement results of the mobile network to be measured; wherein the asset data corresponds to initial asset processing data, the risk data corresponds to initial risk processing data, the vulnerability data corresponds to initial vulnerability processing data, and the defense measures data corresponds to initial defense measures processing data; A processing module, used for inputting the initial risk processing data into a pre-trained first measurement model to obtain a first measurement result; the first measurement model includes a correspondence between the initial processing data and the measurement result; The processing module is further used to input the initial vulnerability processing data and the initial defense measure processing data into a pre-trained second measurement model to obtain a second measurement result; the second measurement model includes a correspondence between the initial processing data and the measurement result; a determination module, configured to determine a measurement result according to the initial processing data, the first measurement result and the second measurement result; The first determination model is determined by the following method: Inputting the first sample data into a first measurement model to be trained for multiple times, performing training, and obtaining a trained first measurement model; the first measurement model is a neural network model; The first measurement model is constructed by the following method; First, the basic structure of the first measurement model is determined. The first measurement model includes three layers, namely, an input layer, a hidden layer, and an output layer. The first layer is the input layer, which has 4 neurons. The input layer is represented by X={x i |i∈(1,4)}; the initial risk processing data is represented as an input vector IN=<NL,HL,ML,NA> , where NL represents software vulnerability threat data, HL represents hardware vulnerability threat data, ML represents management vulnerability threat data, and NA represents network attack threat data; the second layer of the first measurement model is the hidden layer, which has 5 nodes; the hidden layer is represented by B={b j |j∈(1,5)}; the third layer of the first measurement model is the output layer, which has 1 node; the output layer node is represented by y, and the output characteristic function is a Sigmoid function; The output of the input layer neurons is determined in the following way: Among them, α h is the input of the hth neuron in the hidden layer, and is also the output of the neuron in the input layer; x i is the i-th neuron in the input layer; v ih Set the weight from the input layer to the hidden layer; The input to the output layer neurons is determined in the following way: Among them, β is the input of the output layer neurons, and also the output of all neurons in the hidden layer; w h is the weight from the hidden layer to the output layer; γ h is the threshold of the hth neuron in the hidden layer; α h is the input of the hth neuron in the hidden layer; The first determination result is determined by the following method: Γ=f(β-θ) Wherein, Γ is the first measurement result; β is the input of the output layer neuron; θ is the threshold of the output layer neuron; f is the activation function of the neural network, which is a unipolar Sigmoid function; The activation function of the neural network is determined by the following method: Wherein, Z is the formal parameter of f; f is the activation function of the neural network; Finally, the first measurement model is optimized and the output error is calculated using the least square method; The output error is determined using the following method: Wherein, E is the output error; d is the output expectation; f is the activation function of the neural network; v ih is the weight from the input layer to the hidden layer; γ h is the threshold value of the hth neuron in the hidden layer; w h is the weight from the hidden layer to the output layer; θ is the threshold of the output layer neuron; x i is the i-th neuron in the input layer; The following method is used to determine the weights between neurons in each layer: Wherein, E is the output error; v ih is the weight from the input layer to the hidden layer, γ h is the threshold of the hth neuron in the hidden layer, w h is the weight from the hidden layer to the output layer, and θ is the threshold of the neurons in the output layer.
7. The device according to claim 6, characterized in that The comparison module is specifically used for: Determining an assessment level based on the asset data; Target comparison data consistent with the basic information data in the preset comparison database is determined, and the initial processing data is determined according to the evaluation level.
8. The device according to claim 6, characterized in that The device also includes an optimization module, which is used to: Using a genetic algorithm to optimize the first measurement model; Genetic algorithm includes five basic elements: encoding, initial population, fitness function, genetic operation, parameter control and termination rules; construct four types of genotypes, corresponding to (w h ,v ih ,γ h ,θ); where w h is the weight from the hidden layer to the output layer; v ih is the weight from the input layer to the hidden layer; γ h is the threshold of the hth neuron in the hidden layer; θ is the threshold of the neuron in the output layer; The fitness function is determined by the following method: Wherein, F is the fitness function; d n is the output expectation; y n For the actual output result, floating point encoding is used to encode the numbers in the interval (0,1) to generate genotypes; S is the number of training samples; Genetic operations include selection, crossover, mutation and population update. The selection operation uses competitive selection to select individuals. The probability of chromosome selection is determined by the following method: Among them, p i is the probability of chromosome selection; F i is the fitness of the i-th chromosome, where individuals with greater fitness have a greater probability of survival; N is the number of all chromosomes; The uniform crossover method is used as the crossover operation, which corresponds to the following method: Among them, A k is the kth chromosome; A l is the lth chromosome; z is a random number between (0,1), indicating the crossover probability; The population update operation adopts the Pareto solution retention strategy, and the parent generation solution directly enters the child generation; the optimization method adopts two termination rules. When the difference between the maximum and minimum values of the objective function in the population is less than the given precision, the algorithm is considered to have converged and the optimization is terminated; otherwise, the optimization is terminated when the number of algorithm iterations reaches the specified number.
