Electric power information system network stealth method and equipment based on moving target defense
By monitoring the number of security authentication failure events and load conditions, using adaptive IP and port address selection strategies, combined with virtualization gateway selection, the network invisibility of the power information system is realized, and the address selection strategies and security risks in traditional methods are solved. problem, improving communication security.
Patent Information
- Application Number
- CN202410478407.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-19
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-04-19
AI Technical Summary
The traditional network stealth method lacks a strategy for address selection, which affects the security of hopping addresses, and the strategy of determining whether a device is normal through address comparison poses a major security risk.
By monitoring the working status of the power information system network, recording the number of security authentication failure events in each cycle, matching the jump trigger conditions based on the number of events, using an adaptive weighted random IP and port address selection strategy based on address distance, and Select a virtualized gateway based on comprehensive considerations of load and hopping costs, and perform hopping operations for IP, port addresses, and virtualized gateways.
It expands the detection difficulty of attackers, achieves invisibility in the network attack surface dimension, and effectively guarantees the communication security of the power information system.
Smart Images

Figure CN118573397A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of network security protection for electric power information systems, and in particular to a network stealth method and device for electric power information systems based on mobile target defense. Background Art
[0002] Software Defined Perimeter (SDP) is a network security technology that aims to provide more secure access control by dynamically creating network connections. SDP achieves fine-grained control of each connection by creating secure connections based on authentication and authorization, which means that only authenticated and authorized users can access specific applications or services, hide network resources, and effectively reduce the surface area of network attacks. The power information system under the SDP architecture includes key components such as security terminals, business systems, stealth controllers, and stealth gateways. When the security terminal wants to obtain the services of the business system, it cannot directly establish a connection with the business system for communication. It needs to complete identity authentication at the stealth controller first. After the authentication passes and the business system address is obtained, it can communicate and obtain services. As an agent of the business system, the stealth gateway plays the role of a firewall and discards all data packets by default. Only after a security terminal passes the authentication and the stealth gateway receives the authorization license issued by the controller, will it agree to communicate with the authenticated security terminal.
[0003] Before launching an attack, attackers often need to perform various reconnaissance and scanning activities to collect target system information. Under the SDP architecture, although strict access control is performed on the business system to reduce the exposure of the network, there is still a risk of being scanned. Attackers may perform reconnaissance scanning during the communication between the security terminal and the stealth gateway, analyze the IP, port address and other information in the network data packet, locate the business system, understand the open ports of the business system and the services corresponding to the ports, and perform subsequent attack behaviors based on this information. In the related technology, by comparing the IP address of the data packet with the address in the real address table in the software-defined network controller, it is determined whether the device is normal. For normal IoT terminal devices, the virtual address selection module is called to select available virtual IP addresses and available virtual MAC addresses from the virtual address pool to deploy address jump defense strategies; for abnormal IoT terminal devices, the policy update module is called to dynamically modify the address jump cycle. When the jump cycle is lower than the minimum value, the interaction between the device and the network is blocked to enhance the security of the network. Although it realizes the randomization of forwarding paths and multiple IP and MAC address jumps, it increases the concealment of terminal devices. However, the lack of strategy in address selection affects the security of the jump address, and the strategy of judging whether the device is normal through address comparison has great security risks. Summary of the invention
[0004] The present invention provides a network stealth method and device for an electric power information system based on mobile target defense, which are used to solve the defects of the traditional network stealth method, that is, the lack of strategy for address selection affects the security of the jump address, and the strategy of judging whether the device is normal by address comparison has great potential safety hazards.
[0005] The present invention provides a network stealth method for a power information system based on mobile target defense, comprising:
[0006] Monitor the working status of the power information system network and record the number of security authentication failure events in the network in each cycle, and match the corresponding jump trigger condition according to the number of security authentication failure events;
[0007] After the corresponding hopping triggering conditions are met, the IP and port addresses are selected based on the weighted adaptive weighted random IP and port address selection strategy based on the weight of the address distance; and the virtualized gateway selection strategy based on the comprehensive consideration of load and hopping overhead selects the virtualized gateway;
[0008] Perform the hopping operation according to the selected IP, port address and virtualized gateway.
[0009] According to a network stealth method for a power information system based on mobile target defense provided by the present invention, the method of matching a corresponding jump trigger condition according to the number of security authentication failure events includes:
[0010] If the number of security events counted in this period before the end of the transition period is higher than the preset threshold, the event trigger condition is matched; otherwise, the period trigger condition is matched;
[0011] After the event triggering condition is met, executing a jump based on the event triggering;
[0012] After the cycle triggering condition is met, a cycle-triggered hopping is performed at the end of the current hopping cycle.
[0013] According to a network stealth method for a power information system based on mobile target defense provided by the present invention, the IP and port addresses are changed based on a first hopping cycle, and the virtualized gateway is changed based on a second hopping cycle, and further includes:
[0014] The first hopping period and the second hopping period are adaptively adjusted according to the detected threat event.
[0015] According to a network stealth method of a power information system based on mobile target defense provided by the present invention, the first jump period and the second jump period are adaptively adjusted according to the detected threat event, including:
[0016] If the current transition period is triggered by an event, and a threat event is found in the previous transition period, the transition period is shortened based on the transition period increase / decrease function;
[0017] If the previous hopping period is also triggered based on an event, then the shortening amplitude of the hopping period is increased;
[0018] If no threat event is detected within the current jump period, the jump period is increased based on the jump period increase and decrease function;
[0019] The jump period increase and decrease function is:
[0020]
[0021] Among them, s i =0 means that this cycle is triggered by a cycle-based mechanism, s i =1 indicates that this cycle is triggered by an event-based mechanism, i≥1.
[0022] According to a network stealth method for a power information system based on mobile target defense provided by the present invention, the weighted adaptive random IP and port address selection strategy based on address distance selects IP and port addresses, including:
[0023] Construct a set of virtual IP addresses available for connection, set the set size as m, arrange the m IP addresses in order as M = {IP0, IP1, ..., IPm-1}, establish a weight array W = [w0, w1, ..., wm-1] and assign each item in it an initial value of n; the size of the virtual address set remains unchanged during the entire communication process after it is determined, and no additional IP is added if a new available IP appears;
[0024] If the addresses in the current set are occupied by other connections, the released addresses are added to the set and inherit the weight of the occupied addresses;
[0025] After the weight data is determined, the address configuration within this cycle is selected according to the weighted random selection algorithm. When the next jump is triggered, the weight array is updated and the virtual source and destination IP addresses selected in the current cycle are returned.
[0026] According to a network stealth method for a power information system based on mobile target defense provided by the present invention, the updating weight array includes:
[0027] Assume that the weight array in the previous hopping cycle is W', w' i For each element in the weight array W', the new weight array is updated for the source and destination addresses at the same time, and the update formula is:
[0028]
[0029] Among them, w i is the weight of the ith IP address in the current hopping period, k is the size of the virtualized gateway set, m is the size of the address set, and n is the initial value of the weight.
[0030] According to a network stealth method of a power information system based on mobile target defense provided by the present invention, the virtualized gateway selection strategy based on comprehensive consideration of load and jump cost selects a virtualized gateway, including:
[0031] When a new hopping cycle begins, find the virtualized gateway used in the previous hopping cycle;
[0032] Count the number of connections and load carried by each virtualized gateway. If the load of a virtualized gateway is 0, directly select the virtualized gateway as the one used in this cycle.
[0033] Select the virtualized gateway with the highest hopping efficiency based on the comprehensive strategy of hopping cost and load, and update the network working status matrix;
[0034] The transition cost and load selection comprehensive strategy is:
[0035] Target virtualization host
[0036]
[0037] Among them, t represents the current jump cycle, t-1 represents the previous jump cycle, is the normalized coefficient of the jump cost, a pq represents the hop cost between virtualized gateway p and virtualized gateway q, where p and q are virtualized gateway numbers, K is the set of virtualized gateways, k is the size of the virtualized gateway set, and βa jn To perform normalized transition cost, re n The resources required for virtualized gateway n to process a communication connection, Re n is the resource limit of virtualized gateway n, x i,j (t) indicates whether communication i is served by virtualized gateway j within the hopping period, and n is the optimal virtualized gateway that meets all constraints.
[0038] According to a network stealth method of a power information system based on mobile target defense provided by the present invention, the jump operation is performed according to the selected IP, port address and virtualized gateway, including:
[0039] After the security terminal passes the security authentication at the invisible controller, it obtains the virtual destination address provided by the controller, uses the terminal information to send data packets to the business system, and sends the data packets to the directly connected user-side proxy;
[0040] After receiving the data packet, the switch matches it according to the flow table in the switch, and performs address change and forwarding according to the action of the matching flow table. If no matching flow table entry is found, the data packet is forwarded to the stealth controller through the Packet-In message;
[0041] After receiving the Packet-In message, the stealth controller searches the terminal information mapping table to obtain the virtual source address corresponding to the real source address, generates the corresponding flow table and sends it to the switch. The user-side agent acts as the source switch of the security terminal. The address modification action in the flow table is to modify the real source address information in the data packet to the virtual source address. After the data packet address information is successfully modified, the data packet is forwarded according to the forwarding port specified in the flow table action.
[0042] The user-side proxy modifies the address information of the data packet to the virtual source address and the virtual destination address according to the flow table information sent by the invisible controller, and then forwards the data packet to the invisible gateway;
[0043] The stealth gateway receives the data packet. After the data packet successfully matches the flow table, the IP address of the data packet is changed according to the action of the flow table. As the destination switch, the matching domain of the stealth gateway flow table is the virtual source address and the virtual destination address. The address modification action in the flow table is to modify the virtual address of the business system to the real address. After the modification, it is the virtual source address and the real destination address, and the data packet is sent to the business system.
[0044] After receiving the message sent by the security terminal, the business system replies with a data packet, the end information of which is the virtual source address and the real destination address;
[0045] After receiving the data packet sent by the business system, the stealth gateway modifies the end information of the data packet into a virtual source address and a virtual destination address according to the flow table information, and then forwards it to the user-side proxy;
[0046] After receiving the data packet, the user-side proxy modifies the end information of the data packet to the real source address and virtual destination address, and forwards it to the security terminal.
[0047] According to a network stealth method of a power information system based on mobile target defense provided by the present invention, the jump operation is performed according to the selected IP, port address and virtualized gateway, including:
[0048] After receiving the communication request from the security terminal, the stealth controller sends new flow table rules to the network devices in the routing path to navigate the data packet to the virtualized gateway used in this cycle;
[0049] After waiting for the longest transmission delay time, the invisible controller sends a command to request the virtualized gateway used in the previous cycle to discard the old flow table entries.
[0050] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the network stealth method for a power information system based on mobile target defense as described in any one of the above items is implemented.
[0051] The present invention provides a network stealth method and device for an electric power information system based on mobile target defense. The method monitors the working status of the electric power information system network and records the number of security authentication failure events in the network within each cycle, and matches the corresponding jump trigger condition according to the number of security authentication failure events; after the corresponding jump trigger condition is met, an IP and a port address are selected based on an adaptive weighted random IP and port address selection strategy based on the weight of the address distance; and a virtualized gateway is selected based on a virtualized gateway selection strategy that comprehensively considers load and jump overhead; a jump operation is performed according to the selected IP, port address and virtualized gateway, and IP, port address jumps and virtualized gateway jumps are performed in the electric power information system through different jump strategies, so as to expand the detection space and increase the detection difficulty of attackers, realize network stealth in the dimension of network attack surface, and effectively protect the communication security of the electric power information system. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0053] Figure 1 This is one of the flow charts of the network stealth method of the power information system based on mobile target defense provided by the present invention;
[0054] Figure 2 This is the second flow chart of the network stealth method of the power information system based on mobile target defense provided by the present invention;
[0055] Figure 3 It is a schematic diagram of the IP and port hopping process provided by the present invention;
[0056] Figure 4 It is a schematic diagram of the structure of the power information system provided by the present invention;
[0057] Figure 5 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0058] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings 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 are within the scope of protection of the present invention.
[0059] Figure 1 A flow chart of a network stealth method for a power information system based on mobile target defense provided by an embodiment of the present invention, such as Figure 1 As shown, the network stealth method of the power information system based on mobile target defense provided by the embodiment of the present invention includes:
[0060] Step 101, monitor the working status of the power information system network and record the number of security authentication failure events in the network in each cycle, and match the corresponding jump trigger condition according to the number of security authentication failure events;
[0061] Step 102: After the corresponding hopping triggering condition is met, the IP and port addresses are selected based on the weighted adaptive weighted random IP and port address selection strategy based on the weight of the address distance; and the virtualized gateway selection strategy based on the comprehensive consideration of the load and hopping overhead is selected.
[0062] Step 103: Perform a jump operation according to the selected IP, port address and virtualized gateway.
[0063] In an embodiment of the present invention, the stealth controller monitors the working status of the entire network and records the number of security authentication failure events in the network in each cycle. If the number of security events counted in this cycle before the end of the jump cycle is higher than a certain threshold, a jump based on event triggering is immediately performed, otherwise a jump based on cycle triggering is performed at the end of the jump cycle. It should be noted that although the IP port address jump and the virtualized host jump use the same jump cycle management strategy and trigger strategy, the specific trigger and jump cycle management are separate.
[0064] After the new hopping cycle begins, the hopping cycle is dynamically adjusted and reset based on the network security status. Then the stealth control tool performs weighted random IP and port address selection based on the weight of the address distance and the virtualized gateway selection based on load and hopping overhead considerations, and the hopping plan is handed over to the stealth controller for deployment.
[0065] The traditional network stealth method determines whether the device is normal by comparing the IP address of the data packet with the address in the real address table in the software-defined network controller. For normal IoT terminal devices, the virtual address selection module is called to select available virtual IP addresses and available virtual MAC addresses from the virtual address pool to deploy address jump defense strategies; for abnormal IoT terminal devices, the policy update module is called to dynamically modify the address jump cycle. When the jump cycle is lower than the minimum value, the interaction between the device and the network is blocked to enhance the security of the network. Although it realizes the randomization of forwarding paths and multiple IP and MAC address jumps, it increases the concealment of terminal devices. However, the address selection lacks strategy, which affects the security of the jump address, and the strategy of judging whether the device is normal by address comparison has great security risks.
[0066] The present invention provides a network stealth method for an electric power information system based on mobile target defense. The method monitors the working status of the electric power information system network and records the number of security authentication failure events in the network within each cycle, and matches the corresponding jump trigger condition according to the number of security authentication failure events; after the corresponding jump trigger condition is met, an IP and a port address are selected by an adaptive weighted random IP and port address selection strategy based on the weight of the address distance; and a virtualized gateway is selected by a virtualized gateway selection strategy based on a comprehensive consideration of load and jump overhead; a jump operation is performed according to the selected IP, port address and virtualized gateway, and IP, port address jumps and virtualized gateway jumps are performed in the electric power information system through different jump strategies, so as to expand the detection space and increase the detection difficulty of attackers, realize network stealth in the dimension of network attack surface, and effectively ensure the communication security of the electric power information system.
[0067] Based on any of the above embodiments, Figure 2 As shown, matching the corresponding jump trigger condition according to the number of security authentication failure events includes:
[0068] If the number of security events counted in this period before the end of the transition period is higher than the preset threshold, the event trigger condition is matched; otherwise, the period trigger condition is matched;
[0069] After the event triggering condition is met, executing a jump based on the event triggering;
[0070] After the cycle triggering condition is met, a cycle-triggered hopping is performed at the end of the current hopping cycle.
[0071] In an embodiment of the present invention, the IP and port addresses are changed based on a first hopping cycle, and the virtualized gateway is changed based on a second hopping cycle. The network stealth method of the power information system based on mobile target defense also includes:
[0072] The first hopping period and the second hopping period are adaptively adjusted according to the detected threat event.
[0073] In an embodiment of the present invention, adaptively adjusting the first hopping period and the second hopping period according to the detected threat event includes:
[0074] If the current transition period is triggered by an event, and a threat event is found in the previous transition period, the transition period is shortened based on the transition period increase / decrease function;
[0075] If the previous hopping period is also triggered based on an event, then the shortening amplitude of the hopping period is increased;
[0076] If no threat event is detected within the current jump period, the jump period is increased based on the jump period increase and decrease function;
[0077] The jump period increase and decrease function is:
[0078]
[0079] Among them, s i =0 means that this cycle is triggered by a cycle-based mechanism, s i =1 indicates that this cycle is triggered by an event-based mechanism, i≥1.
[0080] The hopping period is the time interval between two end address hopping behaviors. A smaller hopping period means a higher hopping frequency. The higher the hopping frequency, the smaller the time window for attackers to conduct effective reconnaissance activities, and the higher the randomness and security of the network. However, each end address hopping will introduce additional overhead to the communication. While shortening the hopping period to enhance security will also affect the quality of network communication. The present invention proposes an event-based hopping period adaptive adjustment strategy, which evaluates the current security status of the network according to the frequency of occurrence of security terminal authentication failure events, and flexibly adjusts the hopping period. When facing the risk of being attacked, the hopping period is shortened to improve the defense performance. When no risk is found, the hopping period is appropriately increased to avoid unnecessary hopping overhead, thereby achieving a balance between network security performance and service quality.
[0081] Assume that the hopping period is T. Based on the consideration of security performance and service quality, we first need to define the boundaries of the hopping period, namely the maximum value Tmax and the minimum value Tmin. Tmax ensures that at least one hopping occurs during a communication session to ensure that the communication content is not stolen by attackers, and Tmin ensures that the overhead generated by the execution of the hopping scheme will not affect the normal communication. This boundary cannot be exceeded during the period adaptive adjustment.
[0082] Assume that the current jump cycle value is Ti, and the basic unit time of the jump cycle adjustment is Δt. The trigger mechanism of this jump cycle is s i ,si =0 means that this cycle is triggered by a cycle-based mechanism, s i =1 means that this cycle is triggered by an event-based mechanism. If this cycle is triggered by an event, that is, a threat event is found in the previous jump cycle, the jump cycle is appropriately shortened; if the previous cycle is also triggered by an event, that is, there are still many threat events after shortening the jump cycle in the previous cycle, the shortening of the jump cycle is increased. Similarly, if no threat event is detected in the current jump cycle, the jump cycle is appropriately increased to ensure the quality of communication service.
[0083] The transition period adaptive adjustment strategy is defined as:
[0084]
[0085] Among them, i≥1,Δt>0, if two consecutive cycles are triggered based on events, the H value will become larger, and the corresponding period adjustment will reduce the time.
[0086] In the embodiment of the present invention, a high hopping frequency brings higher security but also introduces additional overhead. To address the problem that the hopping period is difficult to determine due to the contradiction between high security and low overhead, a dynamic adjustment strategy for the hopping period based on the network security status is designed. The hopping period is adaptively adjusted according to the detected threat events to achieve a balance between high security and low hopping overhead.
[0087] According to a network stealth method for a power information system based on mobile target defense provided by the present invention, the weighted adaptive random IP and port address selection strategy based on address distance selects IP and port addresses, including:
[0088] Construct a set of virtual IP addresses available for connection, set the set size as m, arrange the m IP addresses in order as M = {IP0, IP1, ..., IPm-1}, establish a weight array W = [w0, w1, ..., wm-1] and assign each item in it an initial value of n; the size of the virtual address set remains unchanged during the entire communication process after it is determined, and no additional IP is added if a new available IP appears;
[0089] If the addresses in the current set are occupied by other connections, the released addresses are added to the set and inherit the weight of the occupied addresses;
[0090] After the weight data is determined, the address configuration within this cycle is selected according to the weighted random selection algorithm. When the next jump is triggered, the weight array is updated and the virtual source and destination IP addresses selected in the current cycle are returned.
[0091] According to a network stealth method for a power information system based on mobile target defense provided by the present invention, the updating weight array includes:
[0092] Assume that the weight array in the previous hopping cycle is W', w' i For each element in the weight array W', the new weight array is updated for the source and destination addresses at the same time, and the update formula is:
[0093]
[0094] Among them, w i is the weight of the ith IP address in the current hopping period, k is the size of the virtualized gateway set, m is the size of the address set, and n is the initial value of the weight.
[0095] When selecting a hopping address, the attacker's behavior should be fully considered to formulate a corresponding strategy. First, the address used in a hopping cycle should be avoided as much as possible from the address used in the previous cycle. Secondly, when the attacker conducts network reconnaissance, he usually scans continuous IP address segments. When selecting a hopping address, he should avoid selecting an address that is in an adjacent address segment to the address used in the previous cycle. Therefore, the present invention proposes a weighted adaptive weighted random IP and port address selection strategy based on address distance, establishes an available address pool weight array according to the historical use of the IP address, and uses a weighted random selection algorithm to select available addresses in the address pool, so that the virtual IP address is dispersed in different parts of the network, rather than concentrated in a specific subnet or area, to ensure that each part of the network can fully utilize the protection effect of IP address hopping. Taking into account the different status of IP addresses and port numbers in communication and the gap in the size of available address space, different strategies are implemented for IP address selection and port number selection, wherein the IP address selection strategy is as follows:
[0096] Each time a new communication connection appears, the invisible controller constructs a set of virtual IP addresses available for this connection. Let the set size be m, and arrange the m IP addresses in order as M = {IP0, IP1, ..., IPm-1}. Create a weight array W = [w0, w1, ..., wm-1] and assign each item in it an initial value of n. Once the size of the virtual address set is determined, it remains unchanged throughout the communication process. If a new available IP appears, it will not be supplemented. If the address in the current set is occupied by other connections, the released address will be added to the set and inherit the weight of the occupied address. After the weight data is determined, the address configuration within this cycle is selected according to the weighted random selection algorithm. When the next jump is triggered, the weight array is updated, and a new address is selected based on the updated weight. The weight update strategy is:
[0097] Assume that the weight array in the previous hopping cycle is W', and the IP address selected in the previous cycle is IP src =IP k , IP dst =IPq , (0≤k, q≤m-1), the new weight array needs to target IP at the same time src and IP dst Update, where IP src =IP k Update strategy and IP det =IP q The update strategy is the same as that of the previous hopping cycle. Considering that the attacker is aware of the existence of the hopping strategy, the strategy of using the same IP address for two consecutive hopping cycles can not only logically expand the available address space, but also confuse the attacker, making it difficult for him to infer the real hopping strategy. Therefore, when updating the weight, the weight of the address used in the previous hopping cycle will not be directly assigned to 0. The meaning of the above weight array update formula is that for the address IP used in the previous hopping cycle, k , appropriately reduce IP k The weight of its adjacent addresses in the current hopping cycle, thereby reducing the probability that the same address and adjacent address segment are selected in the current cycle. The length of the adjacent address segment is defined as one-2p of the size of the available address set, where the closer the IP k The larger the address, the greater the weight reduction value. The reduced weight value in the entire set is evenly distributed to the addresses outside the adjacent address segment to keep the weight sum unchanged at mn. The algorithm is designed as follows:
[0098]
[0099]
[0100]
[0101] At the beginning of a new hopping cycle, a weighted random selection algorithm is used to select the source and destination addresses based on the weight array inherited from the previous cycle, such as steps 1) to 20). After the address is determined, the weight array is updated, such as steps 21) to 31), and finally the virtual source and destination IP addresses selected in the cycle are returned.
[0102] Compared with the IP addresses with a small number of available ports, port numbers usually have more margins in the network, that is, the set of available port numbers is larger, so a simple random selection strategy can be used to obtain better randomization performance. And network reconnaissance activities generally first perform IP detection, and then perform port scanning for a certain IP address. Therefore, on the basis of the good performance of IP randomization, the attacker cannot even effectively determine the IP to be scanned, and the overly complex and sophisticated port hopping strategy will be slightly redundant. The present invention uses a simple random selection strategy to select the port address, and randomly selects the port number to be used in the current available port space before hopping each time, which can reduce unnecessary overhead while taking into account the unpredictability of the network.
[0103] In the embodiment of the present invention, a weighted adaptive random IP and port address selection strategy based on address distance is designed for IP and port address hopping, thereby increasing the randomness of address hopping within a limited address space.
[0104] Based on any of the above embodiments, a virtualized gateway selection strategy based on comprehensive consideration of load and hopping overhead is used to select a virtualized gateway, including:
[0105] When a new hopping cycle begins, find the virtualized gateway used in the previous hopping cycle;
[0106] Count the number of connections and load carried by each virtualized gateway. If the load of a virtualized gateway is 0, directly select the virtualized gateway as the one used in this cycle.
[0107] Select the virtualized gateway with the highest hopping efficiency based on the comprehensive strategy of hopping cost and load selection, and update the network working status matrix;
[0108] The transition cost and load selection comprehensive strategy is:
[0109] Target virtualization host
[0110]
[0111] Among them, t represents the current jump cycle, t-1 represents the previous jump cycle, is the normalized coefficient of the jump cost, a pq represents the hop cost between virtualized gateway p and virtualized gateway q, where p and q are virtualized gateway numbers, K is the set of virtualized gateways, k is the size of the virtualized gateway set, and βa jn To perform normalized transition cost, re n The resources required for virtualized gateway n to process a communication connection, Re n is the resource limit of virtualized gateway n, x i,j (t) indicates whether communication i is served by virtualized gateway j within the hopping period, and n is the optimal virtualized gateway that meets all constraints.
[0112] In the embodiment of the present invention, the virtualized gateway hopping deploys IP and port address hopping strategies with different parameters in different virtualized gateways. By changing the Δt value in the periodic adjustment strategy and the p value in the address selection strategy, the address hopping strategy in the network is made more complex and more difficult to predict. At the same time, when some virtualized gateways are attacked or invaded, the diversified configurations of other gateways can be used to protect other parts of the network.
[0113] The virtualization gateway selection problem is modeled as a constrained selection problem. Assume that there are k virtualization gateways and m ongoing communication connections in each gateway. Each virtualization gateway can independently provide services for the communication connection. The virtualization gateway that provides services for the communication connection is switched when each jump is triggered. The set of virtualization gateways and the set of communication connections are represented as K = {1, 2, ..., k} and M = {1, 2, ..., m}. Whether the communication connection i is processed by the virtualization gateway n in the jump period t is represented as a binary variable x i,n (t)∈{0,1}, then X(t)={x i,n (t)|i∈M,n∈K,} represents the working state of the virtualized gateway within the jump period t, then:
[0114]
[0115] Assume that the resource limit of virtualized gateway n is Re n , and use re n Indicates the resources required for virtualized gateway n to process a communication connection. To avoid excessive waste of virtualized gateway resources, it is stipulated that each virtualized gateway must process at least one communication connection, namely:
[0116]
[0117]
[0118] In order to ensure the quality of network communication during the virtualized gateway jump process, the gateway task load is considered when selecting the gateway, and the current load state of the gateway is defined as:
[0119]
[0120] Since the differences between different virtualized gateway configurations are different, the jump cost matrix A is constructed according to the difference between the gateways. kk , A kk It is a symmetric matrix and the greater the configuration difference, the greater the jump cost, that is:
[0121]
[0122] In summary, when a new jump period t arrives, the target virtualization host g that should be selected when the communication connection i jumps is:
[0123]
[0124]
[0125] in is the normalization coefficient of the jump cost. Considering that the larger the jump cost or the virtualized gateway load is, the more important it is in the target selection consideration, so l is n (t-1) and βa jn The gateway selection algorithm is designed as follows:
[0126]
[0127]
[0128] When a new hopping cycle begins, first find the virtualized gateway pre used in the previous cycle, as in steps 1) to 6), then count the number of connections and load carried by each virtualized gateway. If the load of a virtualized gateway is 0, then directly select this virtualized gateway for use in this cycle, as in steps 7) to 18). Finally, based on the hopping overhead and load, select the virtualized gateway with the highest comprehensive hopping efficiency, and update the network working state matrix X, as in steps 19) to 28).
[0129] In an embodiment of the present invention, a virtualized gateway selection strategy based on load and jump cost considerations is designed for virtualized gateway hopping. The load and jump cost of each virtualized gateway are considered, and the solution with the highest jump efficiency is selected, thereby improving network security.
[0130] Based on any of the above embodiments, performing a jump operation according to the selected IP, port address, and virtualized gateway includes:
[0131] After the security terminal passes the security authentication at the invisible controller, it obtains the virtual destination address provided by the controller, uses the terminal information to send data packets to the business system, and sends the data packets to the directly connected user-side proxy;
[0132] After receiving the data packet, the switch matches it according to the flow table in the switch, and performs address change and forwarding according to the action of the matching flow table. If no matching flow table entry is found, the data packet is forwarded to the stealth controller through the Packet-In message;
[0133] After receiving the Packet-In message, the stealth controller searches the terminal information mapping table to obtain the virtual source address corresponding to the real source address, generates the corresponding flow table and sends it to the switch. The user-side agent acts as the source switch of the security terminal. The address modification action in the flow table is to modify the real source address information in the data packet to the virtual source address. After the data packet address information is successfully modified, the data packet is forwarded according to the forwarding port specified in the flow table action.
[0134] The user-side proxy modifies the address information of the data packet to the virtual source address and the virtual destination address according to the flow table information sent by the invisible controller, and then forwards the data packet to the invisible gateway;
[0135] The stealth gateway receives the data packet. After the data packet successfully matches the flow table, the IP address of the data packet is changed according to the action of the flow table. As the destination switch, the matching domain of the stealth gateway flow table is the virtual source address and the virtual destination address. The address modification action in the flow table is to modify the virtual address of the business system to the real address. After the modification, it is the virtual source address and the real destination address, and the data packet is sent to the business system.
[0136] After receiving the message sent by the security terminal, the business system replies with a data packet, the end information of which is the virtual source address and the real destination address;
[0137] After receiving the data packet sent by the business system, the stealth gateway modifies the end information of the data packet into a virtual source address and a virtual destination address according to the flow table information, and then forwards it to the user-side proxy;
[0138] After receiving the data packet, the user-side proxy modifies the end information of the data packet to the real source address and virtual destination address, and forwards it to the security terminal.
[0139] In an embodiment of the present invention, the end address information in a communication is assumed to be Add = {IPsrc, Psrc, IPdst, Pdst}, wherein IPsrc, Psrc are the end address information of the source host, and IPdst, Pdst are the end address information of the destination host. rAdd is the real source and destination host end address, and vAdd is the virtual source and destination host end address after the jump. When the jump is triggered, the stealth management and control tool will generate a specific jump plan, that is, the virtual end address information used in this cycle, and send it to the stealth controller to be stored in the form of an end address information mapping table. After the IP and port address jump is triggered, the end address information jump process and communication steps of the communicating parties are as follows: Figure 3 shown.
[0140] ① After the security terminal passes the security authentication at the stealth controller, it obtains the virtual destination address {vIPdst, vPdst} provided by the controller, and uses the end information {rIPsrc, rPsrc, vIPdst, vPdst} to send data packets to the business system. The data packets will first be sent to the directly connected user-side agent.
[0141] ② After receiving the data packet, the switch will match it according to the flow table in the switch, and perform address change and forwarding according to the action of matching the flow table. If no matching flow table entry is found, the data packet will be forwarded to the stealth controller through Packet-In.
[0142] ③ After receiving the Packet-In message, the invisible controller obtains {vIPsrc, vPsrc} corresponding to {rIPsrc, rPsrc} by searching the terminal information mapping table, and then generates the corresponding flow table and sends it to the switch. The user-side agent is the source switch of the security terminal. The address modification action in the flow table is to modify the real source address information {rIPsrc, rPsrc} in the data packet to {vIPsrc, vPsrc}, and after the data packet address information is successfully modified, the data packet is forwarded according to the forwarding port specified in the flow table action. At other switches except the user-side agent and the invisible gateway, the matching domain of the flow table is the IP port address after the jump, and the flow table action is to send the data packet at the specified port.
[0143] ④ The user-side agent modifies the address information of the data packet to {vIPsrc, vPsrc, vIPdst, vPdst} according to the flow table information sent by the invisible controller, and then forwards the data packet to the invisible gateway.
[0144] ⑤ The stealth gateway receives the data packet. After the data packet successfully matches the flow table, the IP address of the data packet is changed according to the action of the flow table. As the destination switch, the matching domain of the stealth gateway flow table is {vIPsrc, vPsrc, vIPdst, vPdst}. The address modification action content in the flow table is to modify the virtual address of the business system to the real address, which is {vIPsrc, vPsrc, rIPdst, rPdst}, and the data packet is sent to the business system;
[0145] ⑥ After receiving the message sent by the terminal, the business system replies with a data packet to the terminal. The terminal information of the data packet is {vIPsrc, vPsrc, rIPdst, rPdst}.
[0146] ⑦ After the stealth gateway receives the data packet sent by the business system, it modifies the end information of the data packet to {vIPsrc, vPsrc, vIPdst, vPdst} according to the flow table information, and then forwards it to the user-side agent.
[0147] ⑧After receiving the data packet, the user-side agent modifies the end information of the data packet to {rIPsrc, rPsrc, vIPdst, vPdst} and then forwards it to the terminal.
[0148] When a new jump cycle arrives, the stealth control tool generates a new virtual address vAdd', the security terminal business system continues to communicate, and the stealth controller sends new flow table rules to the network devices in the path. The entire data packet processing process is the same as the above steps, except that the matching domain and action domain of the sent flow table are different.
[0149] Since the configuration of the communication host is not modified, but the end address information of the communication data packet is dynamically changed during the network transmission process, the source and destination hosts transparently implement hopping communication through the network without interrupting the ongoing communication.
[0150] Based on any of the above embodiments, performing a jump operation according to the selected IP, port address, and virtualized gateway includes:
[0151] After receiving the communication request from the security terminal, the stealth controller sends new flow table rules to the network devices in the routing path to navigate the data packet to the virtualized gateway used in this cycle;
[0152] After waiting for the longest transmission delay time, the invisible controller sends a command to request the virtualized gateway used in the previous cycle to discard the old flow table entries.
[0153] In the embodiment of the present invention, after the jump is triggered and the virtual gateway selection is completed, the virtualized gateway used in the previous cycle is G(t-1), and the virtualized gateway used in this cycle is G(t). The gateway jump process is as follows:
[0154] 1) The stealth controller sends the corresponding flow table rules to G(t), requiring it to immediately start accepting communication requests from secure terminals;
[0155] 2) The invisible controller sends new flow table rules to the network devices in the routing path to navigate the data packet to G(t);
[0156] 3) After waiting for the longest transmission delay time, the invisible controller sends a command to request G(t-1) to discard the old flow table entry.
[0157] The network stealth method of the power information system based on mobile target defense provided by the embodiment of the present invention realizes the network stealth of the power information system under the SDP architecture, and improves the security and robustness of the network. In order to prevent the attacker from maliciously detecting and scanning the network, the address information in the network data packet is continuously changed through IP, port address hopping and virtualized gateway hopping to expand the attacker's detection space. IP and port address hopping periodically or non-periodically changes the address displayed in the data packet by the security terminal and the business system in the communication, making it difficult for the attacker to obtain the real network configuration. On the basis of IP and port address hopping, the virtualized gateway hopping constructs multiple virtualized gateways with different configurations in a stealth gateway, and executes different hopping strategies on different virtualized gateways. The virtualized gateway that provides services is constantly changed during the communication process, which improves the complexity and unpredictability of the address hopping. For the problem of IP and port address selection, considering the behavior habits of attackers, a weighted adaptive weighted random address selection strategy based on address distance is proposed to increase the randomness of hopping within a limited address space. Aiming at the problem of virtualized gateway selection, a virtualized gateway selection strategy based on load and hopping overhead is proposed to select the hopping scheme with the highest comprehensive hopping efficiency. High hopping frequency brings higher security but also introduces additional overhead. In view of the difficulty in determining the hopping cycle caused by the contradiction between high security and low overhead, a hopping cycle dynamic adjustment strategy based on network security status is proposed. The hopping cycle is adaptively adjusted according to the detected threat events to achieve a balance between high security and low hopping overhead.
[0158] Figure 4 A schematic diagram of the power information system architecture provided by an embodiment of the present invention, such as Figure 4 As shown in the figure, network invisibility is achieved through IP, port address hopping and virtualized gateway hopping, and the business system is hidden behind the invisible gateway to avoid malicious detection and network attacks by attackers. The SDP architecture power information system implements access control to the business system through software-defined boundary SDP and single packet authentication SPA, including key components such as security terminals, invisible gateways, invisible controllers and business systems. A network invisible management and control tool is added to the architecture to generate specific hopping plans and manage hopping cycles.
[0159] The application layer includes two functions: (1) IP and port address hopping: During the communication process between the security terminal and the business system, the real IP and port addresses in the data packet are hopped to virtual addresses; (2) Virtualized gateway hopping: Based on the IP and port address hopping, multiple virtualized gateways are constructed in a stealth gateway. Different virtualized gateways execute IP and port address hopping strategies with different parameters, and dynamically change the virtualized gateway providing services during the communication process, thereby increasing the complexity of address hopping and the difficulty of attackers to predict. Note that all virtualized gateways in the stealth gateway are providing services for several different communication connections at the same time, that is, there is a one-to-one correspondence between the communication connection and the virtualized gateway. Virtualized gateway hopping refers to changing this correspondence, rather than transferring all services in one virtualized gateway to another virtualized gateway.
[0160] The control layer performs the following tasks: triggering the transition, selecting the transition plan, managing the transition cycle, collecting network information, and issuing the transition plan:
[0161] (1) Transition triggering: This is the responsibility of the stealth controller, and includes event-based triggering and cycle-based triggering. Cycle-based triggering means defining a transition cycle to guide transition behavior. The event in event-based triggering refers to the number of security terminal authentication failure events counted by the stealth controller before the end of the current transition cycle that is higher than a certain threshold. When an event occurs, it is considered that the current network faces a greater security threat. At this time, regardless of whether the transition cycle has been reached, a transition is immediately performed and the transition cycle is reset;
[0162] (2) Transition period management: This is the responsibility of the stealth control tool. If the transition period is constant, it is not only difficult to determine the appropriate transition interval, but also easy for attackers who perform long-term intrusion activities to discover the pattern. Therefore, the present invention proposes a dynamic transition period adjustment strategy based on the network security status. The security level of the current network is inferred based on the number of authentication failure events that have occurred recently, and the transition period is flexibly adjusted.
[0163] (3) Hopping scheme selection: This is the responsibility of the stealth control tool, including weighted random IP and port address selection based on address distance and virtualized gateway selection based on load and hopping overhead considerations;
[0164] (4) Network information collection: This is the responsibility of the invisible controller, including monitoring security authentication failure events, monitoring communication connection status, and collecting gateway loads.
[0165] (5) Sending the hopping plan: The invisible controller is responsible for sending the processing actions of the data packets to the switches, invisible gateways and other network devices in the form of flow tables;
[0166] The network layer includes various devices that are responsible for communication and executing the mobile target defense plan issued by the control layer.
[0167] Figure 5 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 5 As shown, the electronic device may include: a processor 510, a communication interface 520, a memory 530 and a communication bus 540, wherein the processor 510, the communication interface 520 and the memory 530 complete mutual communication through the communication bus 540. The processor 510 may call the logic instructions in the memory 530 to execute the network stealth method of the power information system based on the mobile target defense, the method comprising: monitoring the working state of the power information system network and recording the number of security authentication failure events in the network in each cycle, matching the corresponding jump trigger condition according to the number of security authentication failure events; after meeting the corresponding jump trigger condition, selecting the IP and port address based on the weighted adaptive weighted random IP and port address selection strategy of the address distance; and selecting the virtualized gateway based on the virtualized gateway selection strategy considering the load and jump overhead; performing the jump operation according to the selected IP, port address and virtualized gateway.
[0168] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of each embodiment or some parts of the embodiment.
[0169] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A network stealth method for power information system based on mobile target defense, It is characterized in that include: Monitor the working status of the power information system network and record the number of security authentication failure events in the network in each cycle, and match the corresponding jump trigger condition according to the number of security authentication failure events; After the corresponding hopping triggering conditions are met, the IP and port addresses are selected based on the weighted adaptive weighted random IP and port address selection strategy based on the weight of the address distance; and the virtualized gateway selection strategy based on the comprehensive consideration of load and hopping overhead selects the virtualized gateway; Perform the hopping operation according to the selected IP, port address and virtualized gateway.
2. According to claim 1, a network stealth method for electric power information system based on mobile target defense, It is characterized in that The matching of the corresponding jump trigger condition according to the number of security authentication failure events includes: If the number of security events counted in this period before the end of the transition period is higher than the preset threshold, the event trigger condition is matched; otherwise, the period trigger condition is matched; After the event triggering condition is met, executing a jump based on the event triggering; After the cycle triggering condition is met, a cycle-triggered hopping is performed at the end of the current hopping cycle.
3. According to claim 1, a network stealth method for electric power information system based on mobile target defense, It is characterized in that The IP and port addresses are changed based on a first hopping period, and the virtualized gateway is changed based on a second hopping period, further comprising: The first hopping period and the second hopping period are adaptively adjusted according to the detected threat event.
4. According to claim 1, a network stealth method for electric power information system based on mobile target defense, It is characterized in that The step of adaptively adjusting the first hopping period and the second hopping period according to the detected threat event includes: If the current transition period is triggered by an event, and a threat event is found in the previous transition period, the transition period is shortened based on the transition period increase / decrease function; If the previous hopping period is also triggered based on an event, then the shortening amplitude of the hopping period is increased; If no threat event is detected within the current jump period, the jump period is increased based on the jump period increase and decrease function; The jump period increase and decrease function is: Among them, s i =0 means that this cycle is triggered by a cycle-based mechanism, s i =1 indicates that this cycle is triggered by an event-based mechanism, i≥1.
5. According to claim 1, a network stealth method for electric power information system based on mobile target defense, It is characterized in that The weighted adaptive weighted random IP and port address selection strategy based on address distance selects IP and port address, including: Construct a set of virtual IP addresses available for connection, set the set size as m, arrange the m IP addresses in order as M = {IP0, IP1, ..., IPm-1}, establish a weight array W = [w0, w1, ..., wm-1] and assign each item in it an initial value of n; the size of the virtual address set remains unchanged during the entire communication process after it is determined, and no additional IP is added if a new available IP appears; If the addresses in the current set are occupied by other connections, the released addresses are added to the set and inherit the weight of the occupied addresses; After the weight data is determined, the address configuration within this cycle is selected according to the weighted random selection algorithm. When the next jump is triggered, the weight array is updated and the virtual source and destination IP addresses selected in the current cycle are returned.
6. According to claim 5, a network stealth method for electric power information system based on mobile target defense, It is characterized in that The update weight array includes: Assume that the weight array in the previous hopping cycle is W', w' i For each element in the weight array W', the new weight array is updated for the source and destination addresses at the same time, and the update formula is: Among them, w i is the weight of the ith IP address in the current hopping period, k is the size of the virtualized gateway set, m is the size of the address set, and n is the initial value of the weight.
7. According to claim 1, a network stealth method for electric power information system based on mobile target defense, It is characterized in that The virtualized gateway selection strategy based on comprehensive consideration of load and hopping overhead selects a virtualized gateway, including: When a new hopping cycle begins, find the virtualized gateway used in the previous hopping cycle; Count the number of connections and load carried by each virtualized gateway. If the load of a virtualized gateway is 0, directly select the virtualized gateway as the one used in this cycle. Select the virtualized gateway with the highest hopping efficiency based on the comprehensive strategy of hopping cost and load selection, and update the network working status matrix; The transition cost and load selection comprehensive strategy is: Target virtualization host Among them, t represents the current jump cycle, t-1 represents the previous jump cycle, is the normalized coefficient of the jump cost, a pq represents the hop cost between virtualized gateway p and virtualized gateway q, where p and q are virtualized gateway numbers, K is the set of virtualized gateways, k is the size of the virtualized gateway set, and βa jn To perform normalized transition cost, re n The resources required for virtualized gateway n to process a communication connection, Re n is the resource limit of virtualized gateway n, x i,j (t) indicates whether communication i is served by virtualized gateway j within the hopping period, and n is the optimal virtualized gateway that meets all constraints.
8. According to claim 1, a network stealth method for electric power information system based on mobile target defense, It is characterized in that The performing of the jump operation according to the selected IP, port address and virtualized gateway comprises: After the security terminal passes the security authentication at the invisible controller, it obtains the virtual destination address provided by the controller, uses the terminal information to send data packets to the business system, and sends the data packets to the directly connected user-side proxy; After receiving the data packet, the switch matches it according to the flow table in the switch, and performs address change and forwarding according to the action of the matching flow table. If no matching flow table entry is found, the data packet is forwarded to the stealth controller through the Packet-In message; After receiving the Packet-In message, the stealth controller searches the terminal information mapping table to obtain the virtual source address corresponding to the real source address, generates the corresponding flow table and sends it to the switch. The user-side agent acts as the source switch of the security terminal. The address modification action in the flow table is to modify the real source address information in the data packet to the virtual source address. After the data packet address information is successfully modified, the data packet is forwarded according to the forwarding port specified in the flow table action. The user-side proxy modifies the address information of the data packet to the virtual source address and virtual destination address according to the flow table information sent by the invisible controller, and then forwards the data packet to the invisible gateway; The stealth gateway receives the data packet. After the data packet successfully matches the flow table, the IP address of the data packet is changed according to the action of the flow table. As the destination switch, the matching domain of the stealth gateway flow table is the virtual source address and the virtual destination address. The address modification action in the flow table is to modify the virtual address of the business system to the real address. After the modification, it is the virtual source address and the real destination address, and the data packet is sent to the business system. After receiving the message sent by the security terminal, the business system replies with a data packet, the end information of which is the virtual source address and the real destination address; After receiving the data packet sent by the business system, the stealth gateway modifies the end information of the data packet into a virtual source address and a virtual destination address according to the flow table information, and then forwards it to the user-side proxy; After receiving the data packet, the user-side proxy modifies the end information of the data packet to the real source address and virtual destination address, and forwards it to the security terminal.
9. According to claim 1, a network stealth method for electric power information system based on mobile target defense, It is characterized in that The performing of the jump operation according to the selected IP, port address and virtualized gateway comprises: After receiving the communication request from the security terminal, the stealth controller sends new flow table rules to the network devices in the routing path to navigate the data packet to the virtualized gateway used in this cycle; After waiting for the longest transmission delay time, the invisible controller sends a command to request the virtualized gateway used in the previous cycle to discard the old flow table entries.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, the network stealth method of the electric power information system based on mobile target defense as described in any one of claims 1 to 9 is implemented.
Citation Information
Patent Citations
Method for improving concurrency of WEB security gateway
CN102469045A
Network hiding method for computer and network hiding system based on method
CN103312689A
Moving target defense method for DDoS attack
CN112134894A
SDN-based moving target defense method for IoT network sniffing attack
CN115065531A
Communication method, network equipment, terminal and domain name system server
CN116743410A
Cited By
Message forwarding method and device, storage medium and computer program product
CN119496639A
