Intelligent power grid honeypot system based on neural network

By adopting a neural network-based response system in the smart grid honeypot, using the GRU network structure of the shared hidden layer, the problems of response delay and insufficient computing resources are solved, real-time response and low-cost training of multiple interactive nodes are realized, and the The authenticity and efficiency of honeypots.

CN119009976APending Publication Date: 2024-11-22SHANGHAI UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411084347.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-08
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The existing smart grid honeypot system has delay problems in responding to attacks, and due to computing resource limitations, it is difficult to meet the training needs of high-interactive honeypots, and it is impossible to effectively capture attacker information and protect the system.

Method used

A smart grid honeypot response system based on neural network was designed, including data generation module, model training module and honeypot response module. The GRU network structure with a shared hidden layer is adopted to reduce calculations through offline training and online prediction separation. Resource consumption, enabling fast response and low-cost training.

Benefits of technology

Real-time response in multi-interactive node attack scenarios is realized, the response time to attack requests is reduced, the application range of honeypots is expanded, the number of model parameters and storage space is reduced, and the authenticity and efficiency of honeypots are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119009976A_ABST
    Figure CN119009976A_ABST
Patent Text Reader

Abstract

The invention relates to an intelligent power grid honeypot system based on a neural network, the system comprises a data generation module, a model training module and a honeypot response module, the data generation module generates a data set required by a training stage, the data set specifically comprises the voltage amplitude of each node and the injected active power; the model training module is responsible for constructing a neural network used for generating response according to a data file to obtain response data, and the honeypot response module is an interface directly interacting with an attacker and is responsible for receiving a request sent by the attacker and returning the response data of the attacker. Compared with the prior art, the method has the advantages that the method is applicable to attack scenes of multiple interaction nodes, response can be performed when the multiple interaction nodes are attacked at the same time, the application range of the intelligent power grid honeypot is effectively expanded, and the problems of delay and resource limitation of honeypot response attackers under network attacks are effectively solved; and the advantages of real-time performance, light weight and the like are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of smart grid security, and in particular relates to a smart grid honeypot system based on a neural network. Background Art

[0002] With the continuous integration and development of information systems and physical systems, the originally isolated smart grid devices have begun to be directly or indirectly connected to the Internet. The rapid development of smart grids has significantly improved the energy production efficiency of human society, but the introduction of the Internet has also exposed smart grids to threats from various network attacks, causing destructive effects. Honeypots are security resources that do not provide any actual services. They attract attackers to launch attacks by exposing their own vulnerabilities, obtain effective attack information to understand the tools and methods of attackers, analyze the attack data used by attackers, predict the purpose and motivation of attacks, and thus conduct security situation awareness. They can also enable defenders to have a more comprehensive understanding of their own vulnerabilities and design targeted defense measures to enhance the security protection capabilities of the system. As an active defense technology, honeypots are an important supplement to existing defense measures and have great potential in the field of smart grid security protection. On the one hand, honeypots can capture and analyze attacks as bait. On the other hand, honeypots are equivalent to defenders consuming the resources and time of attackers, thereby protecting the real system.

[0003] According to the deployment method of honeypots, the existing smart grid honeypots can be divided into honeypots based on protocol simulation and honeypots that simulate devices or systems. For example, the low-interaction virtual smart grid industrial control honeypot CryPLH simulates the Siemens Simatic 300PLC device. Since this type of honeypot uses configured template data to respond, the template data is not obtained through dynamic simulation and is easily detected during the interaction with the attacker. Therefore, the second deployment method is better at capturing persistent attacks. However, honeypots built based on virtual simulation software or real devices have a delay in the response of their models to the attacker's actions, and it is usually difficult to simulate the response speed of the real power grid.

[0004] In contrast, honeypot technology is more mature in the field of industrial control, and existing research results have achieved good results in improving the response speed of honeypots. Neupot is an ICS honeypot technology based on neural networks. It uses time series prediction models and Modbus honeypot frameworks to improve security through better honeypot interaction and network threat detection, but it also has high requirements for computing resources. Considering that smart grid honeypots are usually deployed in edge devices, the computing resources that actual devices can provide are limited and it is difficult to meet the training requirements of the response model. Therefore, the construction method of industrial control honeypots cannot be directly applied to the field of smart grids.

[0005] Chinese patent application CN117560175A discloses an adaptive high-interaction pseudo-dynamic simulation cloning method and device based on SDN, which includes deploying low-interaction honeypots to form a first layer of honeypot wall, deploying high-interaction honeypots to form a second layer of honeypot wall; monitoring the flow data in the smart grid; when the flow data exceeds a preset threshold, only enabling the first layer of honeypot wall to provide services to visitors; obtaining network data initiated by the visitor after accessing the first layer of honeypot wall; detecting whether the network data meets the alarm condition; when the network data meets the alarm condition, the first layer of honeypot wall returns simulated data carrying the high-interaction honeypot access entrance to the visitor, and only enabling the second layer of honeypot wall to provide services to the visitor; obtaining the interaction data between the visitor and the second layer of honeypot wall, and taking a preset action strategy for the visitor. However, due to the deployment of two layers of honeypots, this method requires a large amount of computer resources to maintain operation. Considering that smart grid honeypots are usually deployed in edge devices, the computing resources that can be provided by actual devices are limited, and it is difficult to meet the training requirements of the response model. Summary of the invention

[0006] The purpose of the present invention is to provide a smart grid honeypot system based on neural network in order to overcome the defects of the above-mentioned prior art.

[0007] The purpose of the present invention can be achieved by the following technical solutions:

[0008] The present invention provides a smart grid honeypot response system based on neural network, comprising a data generation module, a model training module and a honeypot response module, wherein the data generation module generates a data set required in a training phase, the model training module constructs a neural network for generating responses according to the data set, the neural network comprises a plurality of input ports, a shared hidden layer, and a plurality of output ports, and the honeypot response module accepts a request sent by an attacker and returns the prediction result of the model training module to the attacker.

[0009] Furthermore, the data generation module is based on the IEEE-39 node system.

[0010] Furthermore, the data set includes the voltage amplitude and injected active power of each node.

[0011] Furthermore, the model training module is also responsible for honeypot configuration and data storage.

[0012] Furthermore, the model training module adopts a training and prediction separation method, that is, offline training is combined with online prediction.

[0013] Furthermore, the multiple input ports of the neural network correspond to multiple attacked interaction nodes.

[0014] Furthermore, the neural network also includes: multiple Dropout layers, multiple GRU layers and multiple Dense layers.

[0015] Furthermore, the neural network data set processing steps are as follows: receiving multiple data sets generated by the data generation module, inputting through multiple input ports, the multiple data sets are processed by a shared hidden layer, and after the shared hidden layer processing, the data sets from different interactive nodes are separated and enter the corresponding Dropout layer, and then the corresponding prediction results are output after passing through the corresponding GRU layer and Dense layer.

[0016] Furthermore, the prediction result is response information to the attacker.

[0017] Furthermore, the design method of the honeypot response model includes the following steps: constructing a multi-interaction node honeypot framework, selecting multiple nodes as interaction nodes exposed to attackers, extracting data corresponding to the multiple interaction nodes as data sets, establishing multiple honeypot response models based on neural networks, merging the same hidden layers in multiple neural networks, and separating the data streams from multiple interaction nodes after the hidden layers into corresponding Dropout layers to provide independent outputs for each task.

[0018] Compared with the prior art, the present invention has the following significant advantages:

[0019] (1) The present invention is applicable to attack scenarios of multiple interactive nodes and can respond when multiple interactive nodes are attacked at the same time, effectively expanding the application scope of smart grid honeypots, simulating the interaction between real smart grids and attackers, and solving the problem that the current design of smart grid honeypots mainly focuses on the simulation of basic protocols and cannot effectively capture attackers and collect attack information.

[0020] (2) To address the problem of response delay, the present invention establishes a two-way honeypot response model based on machine learning. When the measurement device is attacked, the response data is instantly generated in a predictive manner, thereby enabling the honeypot to respond to the attacker in real time, reducing the response time to the attack request.

[0021] (3) The present invention adopts a GRU-based response model solving algorithm and simplifies the model parameters by sharing hidden layers, thereby reducing the computing resource consumption of the model from the perspectives of neurons and network structure, and realizing fast and low-cost training of the response model. The designed GRU network structure of shared hidden layers allows the model to reuse the same neural network when processing different input data, thereby reducing the number of model parameters, achieving model simplification and efficiency improvement. This design not only reduces the complexity of the model, but also reduces the computing resource consumption of the model during the training process. Through the sharing mechanism, the model can learn the time dependency of the input data with fewer parameters, solving the problem that the computing resources that can be provided by the actual equipment are limited and it is difficult to meet the training requirements of the response model. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 This is a structural block diagram of a smart grid honeypot based on a neural network according to an embodiment of the present invention.

[0023] Figure 2 Schematic diagram of the interaction between the neural network-based smart grid honeypot and the attacker according to an embodiment of the present invention.

[0024] Figure 3 This is a schematic diagram of the GRU structure.

[0025] Figure 4 This is a neural network structure diagram of a neural network-based smart grid honeypot according to an embodiment of the present invention.

[0026] Figure 5 Response model prediction results for the voltage and active power of adjacent nodes.

[0027] Figure 6 Response model parameter statistics and training time diagram of an embodiment of the present invention.

[0028] Figure numerals: 1. Data generation module, 2. Model training module, 3. Honeypot response module. DETAILED DESCRIPTION

[0029] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0030] Embodiment 1:

[0031] The purpose of the present invention is to provide a design method for a smart grid honeypot response model based on a neural network to address the shortcomings of existing smart grid honeypots in responding to attackers, thereby tricking attackers into launching attacks on the honeypot to collect effective attack information and solve the security risks caused by lack of understanding of the attackers, such as attack data.

[0032] According to the above invention purpose, the present invention adopts the following technical solution:

[0033] A design method for a smart grid honeypot response model based on neural network. First, considering the real network security environment of smart grid, simulating the exposure scenario of measurement equipment, and designing a smart grid honeypot interaction framework with multiple interaction nodes. Then, in view of the response delay problem, a honeypot response model based on neural network is established. When the measurement equipment is attacked, the response data is generated instantly in a predictive manner, thereby realizing the real-time response of the honeypot to the attacker. The model parameters are simplified by sharing hidden layers, and the computing resource consumption of the model is reduced from the perspectives of neurons and network structure, so as to realize the fast and low-cost training of the response model. Finally, the honeypot response model established for the IEEE-39 node system realizes the interaction process with the attacker under the attack of false data injection.

[0034] The overall framework is as follows Figure 1 As shown in the figure, the honeypot response model is divided into a data generation module (1), a model training module (2) and a honeypot response module (3). In order to reduce the time required for response, the response model adopts a method of separating training from prediction, that is, combining offline training with online prediction, to reduce the resources occupied by training the neural network during response.

[0035] The data generation module (1) is first simulated in PyCharm based on the IEEE-39 node system to generate a data set required for the training phase, specifically including the voltage amplitude and injected active power of each node.

[0036] The model training module (2) is responsible for constructing a neural network for generating responses based on the data file. In order to improve the authenticity of the honeypot, test data is obtained based on system operation, and a prediction method based on a neural network is used to determine a honeypot system model that conforms to the actual system characteristics to obtain response data.

[0037] The honeypot response module (3) is an interface for direct interaction with the attacker, and is responsible for accepting the request sent by the attacker and returning the attacker's response data.

[0038] The honeypot can be considered to be composed of three corresponding objects, such as Figure 2 As shown, they are

[0039] (1) Smart Grid Agent: Provides data support for neural network training and testing. The agent is responsible for transmitting data from the grid to the server. The smart grid agent corresponds to the data generation module (1) in the honeypot framework.

[0040] (2) Server: Responsible for honeypot configuration, data storage, and generating a neural network prediction model that responds to attacker actions. The time series prediction model simulates the physical process of the smart grid, and the obtained prediction sequence is saved in the configuration file and sent to the honeypot node. The server corresponds to the model training module (2).

[0041] (3) Honeypot node: The interface that directly interacts with the attacker, responsible for accepting requests sent by the attacker and returning responses sent by the server. The honeypot node corresponds to the honeypot response module (3).

[0042] This embodiment also provides a method for designing a smart grid honeypot response model based on a neural network, including the following steps: constructing a multi-interaction node honeypot framework, selecting multiple nodes as interaction nodes exposed to attackers, extracting data corresponding to multiple interaction nodes as data sets, establishing multiple honeypot response models based on neural networks, merging the same hidden layers in multiple neural networks, and separating the data streams from multiple interaction nodes after the hidden layers into the corresponding Dropout layers to provide independent outputs for each task. The neural network required for the output response is trained and tested. In order to avoid the common overfitting problem, a Dense layer is added to perform L2 regularization on the data to improve the structure of the neural network model. The whole process is implemented in PyCharm.

[0043] like Figure 1 As shown, the neural network-based smart grid honeypot of the embodiment of the present invention is mainly divided into an offline data generation module (I), an online model training module (II) and a honeypot response module (III). The data generation module performs a case simulation of the IEEE39 node system and is responsible for generating the data set required for the training phase; the model training module is responsible for building a neural network for generating responses based on the data file; in order to reduce the time required for the response, the neural network-based smart grid honeypot of this embodiment adopts a method of separating training from prediction, that is, combining offline training with online prediction, so as to reduce the resources occupied by the training neural network when responding.

[0044] like Figure 2 As shown, in the interaction process between the neural network-based smart grid honeypot and the attacker in the embodiment of the present invention, the honeypot system is composed of three objects. The specific interaction process is divided into:

[0045] In step one, the attacker scans and detects the honeypot node to identify the port characteristics, thereby determining whether to launch an attack on the system. If an attack is launched, proceed to the next step.

[0046] In step 2, the attacker obtains system information by monitoring the data transmission process, assists in the process of injecting attack data, and sends access requests to the honeypot node.

[0047] Step 3: The honeypot node accepts the request sent by the attacker and further transmits the malicious traffic to the server, which is the input port of the response model. Since the honeypot node can only be detected by the attacker and cannot be accessed by normal users, all requests to access the honeypot node can be regarded as coming from the attacker.

[0048] Step 4: The server receives the data set generated by the smart grid agent and outputs the corresponding prediction results, i.e., response information, after training.

[0049] Step 5: The honeypot node receives the response information generated by the server and quickly transmits it to the attacker.

[0050] like Figure 3 As shown in the figure, GRU is similar to LSTM in structure, except that LSTM has three gate structures, namely input gate, forget gate and output gate, while GRU has only two gate structures, update gate and reset gate. GRU not only maintains almost the same prediction effect as LSTM, but also has a simpler structure and is much faster in calculation than LSTM. At the last moment of gating, the degree to which state information is retained in the current state is updated. The larger the value, the more state information from the previous moment is retained. The reset gate controls the degree to which the current state is combined with the previous information. The smaller the value, the more information is ignored.

[0051] like Figure 4 As shown, the layer structure of the neural network of the neural network-based smart grid honeypot of this embodiment is as follows: the input layer accepts inputs from multiple interactive nodes respectively; the shared hidden layer is responsible for connecting different inputs to the shared GRU layer to reduce resource usage, and different inputs return to their respective data streams after output from the shared layer, and enter the subsequent layer structure respectively; the Dropout layer is used to reduce overfitting and improve the generalization ability of the model; the second GRU layer further processes the data passed from the Dropout layer. The Dense layer is a fully connected layer with L2 regularization, which can effectively avoid overfitting; finally, the output layer outputs the corresponding prediction results. This process can realize the output of multiple interactive nodes at the same time, and improve the authenticity of the honeypot and the attacker during the interaction process.

[0052] like Figure 5As shown in the figure, v represents voltage amplitude, P represents active power, Resp represents prediction result, and Real represents real value. (a) and (b) select nodes 3 and 4 in the IEEE-39 system, (a) shows the prediction result of voltage amplitude, and (b) shows the prediction result of active power. Among the 200 sampling moments, k = 150 is the attack moment. From the enlarged figure, it can be seen that the voltage amplitude and active power of nodes 3 and 4 change almost synchronously, indicating that the response model can reflect the chain reaction between different nodes and conform to the application scenario of multiple interactive nodes; at other moments, the prediction results fluctuate around the real value, which conforms to the output state of the system measurement value in the real situation and can effectively deceive the attacker.

[0053] Table 1 is a comparison of the present invention and prior art 1 in predicting 200 sets of voltage data. It can be clearly seen that the time required by the present invention is significantly reduced. Prior art 1 is “A Smart Grid Ontology: Vulnerabilities, Attacks, and Security Policies” proposed by Daisuke Mashima.

[0054] Table 1 Comparison of different honeypots predicting 200 sets of voltage data

[0055] Methods used Time required Prior art 1 6.02s The present invention 1.09s

[0056] Table 2 shows the response results of the present invention and prior art 2 for the same request. It can be seen that the present invention has smaller error, resource occupancy and shorter response time than prior art 2. Prior art 2 is “NeuPot: A Neural Network-Based Honeypot for Detecting Cyber ​​Threats in Industrial Control Systems” proposed by Wei Yang.

[0057] Table 2 Response results of honeypots based on different machine learning methods

[0058]

[0059] like Figure 6 As shown in the figure, Total params:8472(33.09KB) means that the model has 8472 parameters, which occupy about 33.09KB of memory space. Trainable params:8472(33.09KB): This means that all 8472 parameters are trainable, that is, the values ​​of these parameters will be updated according to the gradient of the loss function during training. 1ms / step means that each step in the training process takes 1ms.

[0060] In summary, the above embodiment provides a low-latency and lightweight honeypot response model establishment strategy based on a neural network smart grid honeypot response model, which effectively improves the authenticity of the interaction between the smart grid honeypot and the attacker. The main steps of implementation include: (1) considering the real network security environment of the smart grid, simulating the exposure scenario of the measurement equipment, and designing a smart grid honeypot interaction framework with multiple interaction nodes; (2) establishing a two-way honeypot response model based on machine learning, and generating response data in real time in a predictive manner when the measurement equipment is attacked, thereby realizing the real-time response of the honeypot to the attacker; (3) designing a response result solving algorithm based on GRU, and simplifying the model parameters by sharing hidden layers, reducing the computing resource consumption of the model from the perspectives of neurons and network structure, and realizing fast and low-cost training of the response model. The main function of this strategy is to combine the structural characteristics of the smart grid, improve the authenticity of the interaction between the honeypot and the attacker from the aspects of real-time and lightweight, and trick the attacker into launching an attack on the honeypot to collect effective attack information.

[0061] Embodiment 2:

[0062] As a preferred solution of the present invention, Embodiment 2 further provides a method for designing a smart grid honeypot response model based on a neural network, and the method comprises the following steps:

[0063] The voltage amplitude and active power injection of each node are generated based on the IEEE-39 node system as the data source for training the neural network.

[0064] According to the constructed multi-interaction node honeypot framework, two nodes are selected as the interaction nodes N1 and N2 exposed to the attacker, and the data corresponding to N1 and N2 are extracted as the data set.

[0065] According to the set multi-interaction nodes N1 and N2, the honeypot response model requires input variable A and output variable B in the transmission channel of N1, and input variable B and output variable A in the transmission channel of N2. The neural network that can realize these two processes has the same hidden layer. To simplify the space occupied by the model, Figure 3 As shown in the figure, from the perspective of network structure, the same hidden layers in the two neural networks are merged, and the data streams from N1 and N2 are separated into the corresponding Dropout layer after the hidden layer to provide independent outputs for each task. From the perspective of a single neuron, GRU is used, which has a similar effect to LSTM but a simpler structure and faster speed. By sharing the hidden layer, a bidirectional input-output response model is established to achieve the purpose of lightweight.

[0066] The neural network required for the output response is trained and tested. In order to avoid the common overfitting problem, a Dense layer is added to perform L2 regularization on the data and improve the structure of the neural network model. The whole process is implemented in PyCharm.

[0067] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A smart grid honeypot response system based on neural network, characterized in that: The invention comprises a data generation module (1), a model training module (2) and a honeypot response module (3), wherein the data generation module (1) generates a data set required in a training phase, the model training module (2) constructs a neural network for generating prediction results according to the data set, the neural network comprises a plurality of input ports, a shared hidden layer, and a plurality of output ports, and the honeypot response module (3) accepts a request sent by an attacker through a plurality of interactive nodes and returns the prediction result of the model training module (2) to the attacker.

2. According to the neural network-based smart grid honeypot response system of claim 1, it is characterized in that: The data generation module (1) performs simulation based on the IEEE-39 node system.

3. The neural network-based smart grid honeypot response system according to claim 1, characterized in that: The data set includes the voltage magnitude and injected active power of each node.

4. The neural network-based smart grid honeypot response system according to claim 1, characterized in that: The model training module (2) is also responsible for honeypot configuration and data storage.

5. The neural network-based smart grid honeypot response system according to claim 4, characterized in that: The model training module (2) adopts a training and prediction separation method, that is, offline training is combined with online prediction.

6. The neural network-based smart grid honeypot response system according to claim 1, characterized in that: The multiple input ports of the neural network correspond to multiple attacked interaction nodes.

7. A neural network-based smart grid honeypot response system according to claim 6, characterized in that: The method for constructing a shared hidden layer of the neural network is as follows: according to the set multi-interaction nodes N1 and N2, variable A is input and variable B is output in the transmission channel of N1, and variable B is input and variable A is output in the transmission channel of N2 at the same time, the neural networks realizing these two processes have the same hidden layer, and the same hidden layers in the two neural networks are merged to form a shared hidden layer.

8. The neural network-based smart grid honeypot response system according to claim 6, characterized in that: The neural network also includes: multiple Dropout layers, multiple GRU layers and multiple Dense layers.

9. The neural network-based smart grid honeypot response system according to claim 8, characterized in that: The neural network data set processing steps are as follows: receiving multiple data sets generated by the data generation module (1) according to requests from different interactive nodes, inputting the multiple data sets through multiple input ports, processing the multiple data sets through a shared hidden layer, separating the data sets from different interactive nodes into corresponding Dropout layers after being processed by the shared hidden layer, and outputting corresponding prediction results after passing through corresponding GRU layers and Dense layers, wherein the prediction results are response information to the attacker.

10. The neural network-based smart grid honeypot response system according to claim 1, characterized in that: The honeypot response model and its design method include the following steps: constructing a multi-interaction node honeypot framework, selecting multiple nodes as interaction nodes exposed to attackers, extracting data corresponding to the multiple interaction nodes as data sets, establishing multiple honeypot response models based on neural networks, merging the same hidden layers in multiple neural networks, and separating the data streams from the multiple interaction nodes after the hidden layers into the corresponding Dropout layers to provide independent outputs for each task.