Neural network model-based dynamic updating method for network security spatial data assets

Through the dynamic update method of network security space data assets based on the neural network model, multi-dimensional vectors and training models are constructed, which solves the problem of insufficient identification accuracy in the existing technology and improves the accuracy and dynamic update capabilities of network security determination.

CN118573577AInactive Publication Date: 2024-08-30GUANGXI POWER GRID CORP
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410754713.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-08-30
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing method of dynamically updating network-wide data assets is not flexible enough, has high false positive and false negative rates, is difficult to meet the requirements of complex and ever-changing network security threats, and affects the accuracy of judgment.

Method used

The method based on the neural network model is used to construct the network topology, obtain and preprocess the classification attributes of network nodes, construct multi-dimensional vectors, determine the network asset status level standards, and train the neural network model to improve identification accuracy and dynamic update capabilities.

Benefits of technology

Through the training and preprocessing technology of the neural network model, the identification accuracy and dynamic update capabilities of network security space data assets are improved, the false alarm rate is reduced, and the accuracy of network security judgments is enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118573577A
    Figure CN118573577A
Patent Text Reader

Abstract

The invention discloses a network security spatial data asset dynamic updating method based on a neural network model, and relates to the field of network data security. According to the technical scheme, the topological structure of the to-be-updated network is constructed, the network security space data asset information data at the non-honeypot network nodes in the topological structure and the classification attributes of the network security space data asset information at the network nodes are obtained, and the asset information data are preprocessed; constructing a multi-dimensional vector which takes the network security space data asset information data set after classification attribute preprocessing as an element, determining a network asset state grade standard at a network node, constructing a neural network model which takes the network security space data asset information data as input and takes the network asset state at the network node as output, and determining the network asset state grade standard at the network node; and the network asset state at the to-be-updated network node is output through the constructed neural network model, so that the identification accuracy and the dynamic updating capability of the network security spatial data assets can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network data security, and in particular to a method for dynamically updating network security space data assets based on a neural network model. Background Art

[0002] Cyberspace data assets refer to data and information stored, processed or transmitted in cyberspace, which are important components of cyber assets. These assets may include but are not limited to personal data, business secrets, intellectual property rights, control data of critical infrastructure, etc. Protecting the security of these data assets is one of the core tasks of cybersecurity.

[0003] The existing dynamic update methods of network full-space data assets are mainly based on traditional security technical means such as rule bases, blacklists and whitelists to identify and prevent threats. They require manual writing of rules or updating of blacklists and whitelists, which are not flexible enough. The false positive rate and false negative rate of traditional methods are high. As network security threats become increasingly complex and changeable, traditional dynamic update methods of network full-space data assets are difficult to meet security requirements and affect the accuracy of network security judgment. To this end, we propose a dynamic update method of network security space data assets based on a neural network model. Summary of the invention

[0004] The main purpose of the present invention is to provide a method for dynamically updating network security space data assets based on a neural network model, which can effectively solve the problems in the background technology.

[0005] In order to achieve the above object, the technical solution adopted by the present invention is:

[0006] The method for dynamically updating cyber security space data assets based on a neural network model includes the following steps:

[0007] S1: Build the topology of the network to be updated, and obtain the network security space data asset information data at the non-honeypot network nodes in the topology including the hardware layer, system layer, network layer, support layer, and application layer;

[0008] S2: Obtaining classification attributes of network security space data asset information at each network node in the topological structure, wherein the classification attributes include attribution attributes, address attributes, content attributes, and time attributes, wherein any of the classification attributes contains at least one sub-attribute, wherein:

[0009] The sub-attributes of the attribution attribute include IP address, host name, operator, and unit;

[0010] The sub-attributes of the address attribute include the autonomous domain number and geographical location to which the network node asset belongs;

[0011] The sub-attributes of the content attributes include open ports and information obtained from the open ports, including applications, services / protocols, general platform enumeration numbers, operating systems, device information, and vulnerabilities;

[0012] The sub-attributes of the time attribute include discovery time;

[0013] S3: Preprocess the cybersecurity space data asset information data and construct a multidimensional vector with the cybersecurity space data asset information data set after classification attribute preprocessing as the element. The specific process is as follows:

[0014] S31: discretize the acquired cybersecurity space data asset information data, and convert the continuous values ​​into categorical variables with different categories;

[0015] S32: The obtained categorical variables are subjected to attribute normalization processing so that their range is limited to the interval [0,1], wherein the normalization formula is:

[0016]

[0017] In the formula, x represents the normalized data value; x0 represents the original data value; x min Represented as the minimum value among the original data values; x max Represented as the maximum value among the original data values;

[0018] S33: Encode the discretized categorical variables using one-hot encoding or ordered encoding;

[0019] S4: Determine the network asset status level standard at the network node, and classify the network asset status at each network node into a safe state, a transitional state, or a dangerous state according to the constructed multidimensional vector. The specific process is as follows:

[0020] S41: selecting a multidimensional vector when the network asset state at the network node is a safe state as a security level standard vector;

[0021] S42: When calculating any state, the similarity between the multidimensional vector with the cybersecurity space data asset information data set after classification attribute preprocessing as the element and the security level standard vector is calculated as follows:

[0022]

[0023] In the formula, s represents the security level standard vector; q represents the multidimensional vector with the cybersecurity space data asset information dataset as elements after classification attribute preprocessing in any state; d(s,q) represents the similarity, s j ,q j are the j-th element values ​​of the two vectors respectively, and n is the total number of vector elements;

[0024] S43: The calculation result of the similarity between the two vectors is represented by parameter k, and the function Adjust all similarity calculation values ​​to the interval [0,1];

[0025] S44: Use the function value of f(k) to classify the similarity calculation values. The classification mechanism is:

[0026] When f(k) min When ≤f(k)<f(k)1, the similarity calculation value is classified as level one;

[0027] When f(k)1≤f(k)<f(k)2, the similarity calculation value is classified as level 2;

[0028] When f(k)2≤f(k)<f(k) max When , the similarity calculation value is classified into three levels;

[0029] Among them, f(k) min ,f(k) max are the minimum and maximum values ​​of function f(k), f(k)1 and f(k)2 are the intermediate values ​​of function f(k), and f(k) min <f(k)1<f(k)2<f(k) max ;

[0030] S45: Determine the network asset status at the network node according to the classification result of the similarity calculation value, and the determination mechanism is:

[0031] When the similarity calculation value of the multidimensional vector with the cybersecurity space data asset information data set after classification attribute preprocessing as an element and the security level standard vector is classified as level one, its network asset status is a safe status;

[0032] When the similarity calculation value of the multidimensional vector with the cybersecurity space data asset information data set after classification attribute preprocessing as the element and the security level standard vector is classified as level 2, its network asset status is a transitional state;

[0033] When the similarity calculation value of the multidimensional vector with the cybersecurity space data asset information data set after classification attribute preprocessing as the element and the security level standard vector is classified as level three, its network asset status is dangerous;

[0034] S5: Using the preprocessed network security space data asset information data as input and the network asset status at the network node as output, a neural network model is constructed and trained. The number of hidden layers of the model is adjusted according to the training results and the error of the actual alarm results until the accuracy is not less than the expected value, where the calculation formula of the expected value is,

[0035]

[0036] Among them, E(Y) represents the expected value; N represents the number of input samples of the neural network model; f(X i ) represents the output function of the neural network model; X i Represents the i-th output sample of the neural network model.

[0037] The present invention has the following beneficial effects:

[0038] Compared with the prior art, the technical solution of the present invention constructs a topological structure of the network to be updated, obtains network security space data asset information data at non-honeypot network nodes including hardware layer, system layer, network layer, support layer and application layer in the topological structure, obtains the classification attributes of network security space data asset information at each network node in the topological structure, pre-processes the network security space data asset information data, constructs a multi-dimensional vector with the network security space data asset information data set after classification attribute pre-processing as elements, determines the network asset status level standard at the network node, divides the network asset status at each network node into a safe state, a transitional state or a dangerous state according to the constructed multi-dimensional vector, takes the pre-processed network security space data asset information data as input, takes the network asset status at the network node as output, constructs a neural network model, and trains the model, adjusts the number of hidden layers of the model according to the error between the training result and the actual alarm result until the accuracy is not lower than the expected value, and outputs the network asset status at the network node to be updated through the constructed neural network model, which can effectively improve the recognition accuracy and dynamic update capability of network security space data assets. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 It is a flow chart of the method for dynamically updating network security space data assets based on the neural network model of the present invention. DETAILED DESCRIPTION

[0040] The present invention will be further described below in conjunction with specific implementation methods, wherein the accompanying drawings are only used for exemplary descriptions and represent only schematic diagrams rather than actual drawings, and should not be understood as limiting the present invention. In order to better illustrate the specific implementation methods of the present invention, some parts of the accompanying drawings may be omitted, enlarged or reduced, and do not represent the size of the actual product.

[0041] Example 1

[0042] like Figure 1As shown, in order to solve the problems of the existing network security space data asset dynamic update method, the present invention proposes a network security space data asset dynamic update method based on a neural network model. The method can monitor, identify and update network security space data assets in real time, and improve the recognition accuracy of the defense capability of the corresponding system. The implementation process is as follows:

[0043] Data preprocessing

[0044] In order to improve data quality, this scheme uses discretization technology to process cybersecurity space data assets. First, classification attributes are constructed according to the characteristics of cybersecurity space data assets, and continuous data are discretized to obtain multiple attribute values; then the discretized attribute values ​​are normalized to solve the problem of value range differences between different attributes.

[0045] The detailed implementation process of the following data preprocessing:

[0046] Data discretization

[0047] Data discretization refers to converting continuous values ​​into discrete categories. In the classification of data assets in the cybersecurity space, discretization technology can convert continuous values ​​into categorical variables with different categories, which is convenient for the training of neural network models. For example, for the hardware layer, which mainly contains various device information, the continuous values ​​of hardware attributes can be discretized into discrete categorical variables such as CPU, memory, and hard disk. The remaining network nodes in the topology structure, such as the system layer, mainly include CPE and operating system; for the network layer, it must include network protocols and network services; for the support layer, it must include network components and middleware; for the application layer, it must include application programs, vulnerability PoC and other information, and the processing method is the same.

[0048] Attribute Normalization

[0049] The main function of normalization is to compress the data between different features to the same level vertically, so as to avoid inaccurate results due to different value ranges. For example, if the value range of an attribute is 0-100, and the value range of another attribute is 0-1, it seems that the former has a greater impact than the latter in the sample space. The common method for attribute normalization is the maximum value normalization method. After using this method, the range of each attribute is limited to [0,1]. The normalization formula is:

[0050]

[0051] In the formula, x represents the normalized data value; x0 represents the original data value; x min Represented as the minimum value among the original data values; x max Expressed as the maximum value among the original data values.

[0052] Data Encoding

[0053] After discretization, the discretized data needs to be encoded so that the neural network algorithm model can read and process it. Usually, one-hot encoding or ordered encoding is used. One-hot encoding converts the discretized data according to the attribute value. For example, if an encoded attribute has n values, the final encoding result is an n-dimensional vector, in which only one is 1 and the others are 0.

[0054] Data partitioning

[0055] Data partitioning refers to dividing the original data set into a training set and a test set. In the process of neural network model training, the training set is used for parameter learning and model training, and the test set is used for model verification and evaluation. Generally, the data ratio of the training set and the test set is 80% and 20%, or 85% and 15%.

[0056] In summary, the implementation process of data preprocessing includes data discretization, attribute normalization, encoding and data partitioning. These technologies can improve the training effect and prediction accuracy of neural network algorithm models, and provide strong support for the dynamic update of network security space data assets.

[0057] Establishment of Neural Network Algorithm Model

[0058] In order to achieve dynamic update of network security space data assets, a classification model based on a neural network algorithm is established. In this embodiment, a multi-layer perceptron (MLP) structure is adopted and the back propagation (BP) algorithm is used for training. The model implementation process is as follows:

[0059] Data preprocessing and feature discretization

[0060] Pre-process cybersecurity space data assets, including data cleaning, missing value processing, etc.;

[0061] Discretize the continuous feature variables and convert them into discrete values ​​to meet the input requirements of the neural network.

[0062] The structure of the neural network model

[0063] The network structure of the model is determined to be a multi-layer perceptron (MLP), which includes an input layer, an intermediate layer, and an output layer.

[0064] For the input layer: include all preprocessed and discretized feature variables as input.

[0065] For the middle layer: the ReLU activation function is introduced to increase the nonlinear fitting ability of the neural network. The number of layers and neurons in the middle layer can be adjusted according to the problem and experiment. Generally, the initial number of neurons in the middle layer can be determined according to the empirical formula:

[0066]

[0067] Where l is the initial number of neurons in the middle layer; m is the number of neurons in the input layer, n is the number of neurons in the output layer, and a is a constant coefficient ranging from 1 to 9.

[0068] For the output layer:

[0069] By determining the network asset status level standard at the network node, the network asset status at each network node is divided into a safe state, a transitional state or a dangerous state according to the constructed multi-dimensional vector, and the network asset status at the network node is used as the output. The specific process of obtaining the network asset status at the network node is as follows:

[0070] Selecting a multidimensional vector when the network asset status at the network node is a safe status as a security level standard vector;

[0071] When calculating any state, the similarity between the multidimensional vector with the cybersecurity space data asset information dataset after classification attribute preprocessing as the element and the security level standard vector is calculated as follows:

[0072]

[0073] In the formula, s represents the security level standard vector; q represents the multidimensional vector with the cybersecurity space data asset information dataset as elements after classification attribute preprocessing in any state; d(s,q) represents the similarity, s j ,q j are the j-th element values ​​of the two vectors respectively, and n is the total number of vector elements;

[0074] The calculation result of the similarity between the two vectors is represented by the parameter k, and the function Adjust all similarity calculation values ​​to the interval [0,1];

[0075] The function value of f(k) is used to classify the similarity calculation values. The classification mechanism is:

[0076] When f(k) min When ≤f(k)<f(k)1, the similarity calculation value is classified as level one;

[0077] When f(k)1≤f(k)<f(k)2, the similarity calculation value is classified as level 2;

[0078] When f(k)2≤f(k)<f(k) max When , the similarity calculation value is classified into three levels;

[0079] Among them, f(k) min ,f(k) max are the minimum and maximum values ​​of function f(k), f(k)1 and f(k)2 are the intermediate values ​​of function f(k), and f(k) min <f(k)1<f(k)2<f(k) max ;

[0080] The network asset status at the network node is determined based on the classification results of the similarity calculation values. The determination mechanism is:

[0081] When the similarity calculation value of the multidimensional vector with the cybersecurity space data asset information data set after classification attribute preprocessing as an element and the security level standard vector is classified as level one, its network asset status is a safe status;

[0082] When the similarity calculation value of the multidimensional vector with the cybersecurity space data asset information data set after classification attribute preprocessing as the element and the security level standard vector is classified as level 2, its network asset status is a transitional state;

[0083] When the similarity calculation value of the multidimensional vector with the network security space data asset information data set as elements after classification attribute preprocessing and the security level standard vector is classified as level three, its network asset status is in a dangerous state.

[0084] parameter

[0085] For each neuron, initialize the weights and biases to ensure that the network has randomness at the beginning. A common approach is to initialize the weights and biases randomly.

[0086] Forward Propagation

[0087] The preprocessed and discretized input features are passed to the input layer of the neural network.

[0088] Using the ReLU activation function through the intermediate layers, the output value of each layer is calculated in sequence until the output layer, which is called forward propagation.

[0089] Calculating the loss function

[0090] Choose an appropriate loss function based on the characteristics of the problem, such as the cross entropy loss function. Compare the output of the neural network with the true value and calculate the loss value.

[0091] Back Propagation

[0092] The back propagation algorithm (BP algorithm) is used to update the parameters of the model.

[0093] Based on the loss value, the gradient of each parameter with respect to the loss is calculated, and the value of each parameter is updated using the gradient descent method.

[0094] Model training and optimization

[0095] Repeat forward propagation and back propagation and update parameters until the preset number of iterations is reached or the loss value meets the set requirements.

[0096] During the training process, methods such as regularization, Dropout, and learning rate decay can be used to improve the generalization ability and performance of the model.

[0097] Through the above implementation process, we have established a classification model based on a neural network algorithm to achieve dynamic updates of cybersecurity space data assets. The model uses a multi-layer perceptron (MLP) structure, introduces a ReLU activation function, and uses a back propagation (BP) algorithm for training. It can effectively improve the recognition accuracy and dynamic update capabilities of cybersecurity space data assets.

[0098] The above shows and describes the basic principles and main features of the present invention and the advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments. The above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention to be protected. The scope of protection of the present invention is defined by the attached claims and their equivalents.

Claims

1. A method for dynamically updating network security space data assets based on a neural network model, characterized in that: The following steps are involved: S1: Build the topology of the network to be updated, and obtain the network security space data asset information data at the non-honeypot network nodes in the topology including the hardware layer, system layer, network layer, support layer, and application layer; S2: Obtaining classification attributes of network security space data asset information at each network node in the topological structure, wherein the classification attributes include attribution attributes, address attributes, content attributes, and time attributes; S3: preprocessing the cybersecurity space data asset information data, and constructing a multidimensional vector with the cybersecurity space data asset information data set after classification attribute preprocessing as an element; S4: Determine the network asset status level standard at the network node, and classify the network asset status at each network node into a safe state, a transitional state, or a dangerous state according to the constructed multidimensional vector; S5: Using the pre-processed network security space data asset information data as input and the network asset status at the network node as output, a neural network model is constructed, and the model is trained, and the number of hidden layers of the model is adjusted according to the training result and the error of the actual alarm result until the accuracy is not lower than the expected value; S6: Output the network asset status at the network node to be updated through the constructed neural network model.

2. The method for dynamically updating network security space data assets based on a neural network model according to claim 1 is characterized in that: Any of the classification attributes contains at least one sub-attribute, wherein: The sub-attributes of the attribution attribute include IP address, host name, operator, and unit; The sub-attributes of the address attribute include the autonomous domain number and geographical location to which the network node asset belongs; The sub-attributes of the content attributes include open ports and information obtained from the open ports, including applications, services / protocols, general platform enumeration numbers, operating systems, device information, and vulnerabilities; The sub-attributes of the time attribute include the discovery time.

3. The method for dynamically updating network security space data assets based on a neural network model according to claim 1 is characterized in that: The specific process of step S3 is: S31: discretize the acquired cybersecurity space data asset information data, and convert the continuous values ​​into categorical variables with different categories; S32: The obtained categorical variables are subjected to attribute normalization processing so that their range is limited to the interval [0,1], wherein the normalization formula is: In the formula, x represents the normalized data value; x0 represents the original data value; x min Represented as the minimum value among the original data values; x max Represented as the maximum value among the original data values; S33: Encode the discretized categorical variables using one-hot encoding or ordered encoding.

4. The method for dynamically updating network security space data assets based on a neural network model according to claim 1 is characterized in that: The specific process of step S4 is as follows: S41: selecting a multidimensional vector when the network asset state at the network node is a safe state as a security level standard vector; S42: When calculating any state, the similarity between the multidimensional vector with the cybersecurity space data asset information data set after classification attribute preprocessing as the element and the security level standard vector is calculated as follows: In the formula, s represents the security level standard vector; q represents the multidimensional vector with the cybersecurity space data asset information dataset as elements after classification attribute preprocessing in any state; d(s,q) represents the similarity, s j ,q j are the j-th element values ​​of the two vectors respectively, and n is the total number of vector elements; S43: The calculation result of the similarity between the two vectors is represented by parameter k, and the function Adjust all similarity calculation values ​​to the interval [0,1]; S44: Use the function value of f(k) to classify the similarity calculation values. The classification mechanism is: When f(k) min When ≤f(k)<f(k)1, the similarity calculation value is classified as level one; When f(k)1≤f(k)<f(k)2, the similarity calculation value is classified as level 2; When f(k)2≤f(k)<f(k) max When , the similarity calculation value is classified into three levels; Among them, f(k) min ,f(k) max are the minimum and maximum values ​​of function f(k), f(k)1 and f(k)2 are the intermediate values ​​of function f(k), and f(k) min <f(k)1<f(k)2<f(k) max ; S45: Determine the network asset status at the network node according to the classification result of the similarity calculation value.

5. The method for dynamically updating network security space data assets based on a neural network model according to claim 4 is characterized in that: In step S45, the network asset status is determined by: When the similarity calculation value of the multidimensional vector with the cybersecurity space data asset information data set after classification attribute preprocessing as an element and the security level standard vector is classified as level one, its network asset status is a safe status; When the similarity calculation value of the multidimensional vector with the cybersecurity space data asset information data set after classification attribute preprocessing as the element and the security level standard vector is classified as level 2, its network asset status is a transitional state; When the similarity calculation value of the multidimensional vector with the network security space data asset information data set as elements after classification attribute preprocessing and the security level standard vector is classified as level three, its network asset status is in a dangerous state.

6. The method for dynamically updating network security space data assets based on a neural network model according to claim 1 is characterized in that: The formula for calculating the expected value is, Among them, E(Y) represents the expected value; N represents the number of input samples of the neural network model; f(X i ) represents the output function of the neural network model; X i Represents the i-th output sample of the neural network model.

Citation Information

Patent Citations

  • Network security situation awareness model and method based on improved BP neural network

    CN110380897A

  • Network security situation awareness model and method based on CE-RBF

    CN110392048A

  • Vertical switching method based on neural network multi-attribute judgment

    CN112312496A

  • Risk rating method for optimizing Hopfield neural network based on firefly algorithm

    CN113538125A

  • Enterprise economic risk assessment system and assessment method

    CN117670016A