Interaction method of switch virtual routing and network security monitoring system
By setting up a virtual receiving port on the switch for testing, calculating outliers and generating security signals, the problem of insufficient traditional network security products in the face of hacker attacks is solved, and the security in a multi-tenant virtualized environment is improved.
Patent Information
- Application Number
- CN202411183754.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2024-11-22
AI Technical Summary
When traditional network security products face hacking attacks, feature code-based rule matching technology is no longer enough to ensure resistance to attacks. In a multi-tenant virtualization environment, hardware switches lack NAT functions, making it difficult to guarantee security.
By setting up a virtual receiving port on the switch for test data packet operation, calculating outliers based on the operation results, generating interactive security signals or abnormal signals, the virtual receiving port can realize the preliminary test of the real receiving port to avoid data abnormalities affecting security.
It effectively avoids data exceptions affecting the security of the real receiving port, improves the response capability of network security monitoring and the security in a multi-tenant virtualized environment.
Smart Images

Figure CN119011269A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of network security monitoring, and in particular to a method for interaction between a switch virtual routing and a network security monitoring system. Background Art
[0002] As the application scope of computer network technology becomes wider and wider, global informatization has developed rapidly, and the content of informatization has been deeply penetrated in various fields, especially in the data age, the application of computer network technology and the effective integration of data have not only accelerated the speed of information processing, but also better and faster statistical acquisition of information. With the popularization of computer technology, data security issues have become increasingly prominent.
[0003] At present, traditional networks all use hardware switches as switching devices. The specific data forwarding methods are as follows:
[0004] Intranet Layer 3 data forwarding method:
[0005] 1. Data flows out of the bare metal server;
[0006] 2. Different tenants forward data to the upper-level issuing switch through the TOR switch VLAN;
[0007] 3. Traffic enters the core switch vrf interface and configures the gateway. The gateway forwards traffic based on the target IP and performs mac learning.
[0008] 4. Bare metal traffic is forwarded to other corresponding servers through the vrf gateway.
[0009] Public network traffic forwarding method:
[0010] 1. Data flows out of the bare metal server;
[0011] 2. Different tenants forward data to the upper-level issuing switch through the TOR switch VLAN;
[0012] 3. Traffic enters the core switch vrf interface and configures the gateway. The gateway forwards traffic based on the target IP and performs mac learning.
[0013] 4. The vrf gateway forwards the data to the corresponding NAT gateway, and then forwards it to the public network through the NAT gateway (the hardware switch itself does not have NAT gateway function and requires the use of third-party equipment to achieve this).
[0014] The switches used in the existing virtual network architecture must support virtualization functions, and multiple switches, firewalls, and gateway devices must be superimposed to support multi-tenant virtualization requirements. In the current Internet environment, website security issues are becoming increasingly severe, and hacker attacks and malicious activities occur frequently, posing a huge threat to personal privacy and corporate data. Most mainstream traditional security products use "signature-based rule fingerprint" matching technology to identify fixed and limited attack behaviors, which has shown its inadequacy in the normalized confrontation with hackers. In the process of continuous iteration and updating of attack and defense technologies, feature rule matching technology can no longer guarantee resistance to hacker attacks. In the choice between large-scale cost control and technological evolution, the development of traditional security products faces great challenges;
[0015] In view of the above technical defects, a solution is now proposed. Summary of the invention
[0016] The purpose of the present invention is to set a virtual receiving port to run a test data packet, output the running result, calculate the running abnormality value according to the running result, generate an interactive safety signal or an interactive abnormality signal according to a preset abnormality threshold, realize an advance running test by the virtual receiving port, and perform real data interaction according to the test feedback, thereby avoiding the data abnormality affecting the safety of the real receiving port.
[0017] In order to achieve the above object, the present invention adopts the following technical solution: a method for interaction between a switch virtual routing and a network security monitoring system, comprising the following steps:
[0018] Step 1: Obtain the basic data of the target switch, mark the target switch as Mk, where k is a natural number greater than 0, configure a virtual route for each group on each switch, isolate each group into a different virtual LAN, and create N logical interfaces on the target switch Mk. The N logical interfaces include virtual receiving ports and real receiving ports.
[0019] Step 2: assign a corresponding VLAN to the logical interface of each group. On each target switch, assign the logical interface connected to the corresponding VLAN, enable the virtual routing protocol on the target switch Mk, establish a network communication channel through the virtual routing, perform a communication test on the network communication channel, and obtain a qualified verification result.
[0020] Step 3: Establish a data receiving plug-in based on the network security test system, receive the test data packet according to the data receiving plug-in, send the test data packet to the virtual receiving port, the virtual receiving port is provided with a switch to simulate the operation of the real terminal, run the test data packet and output the operation result;
[0021] Step 4: Calculate the operation abnormality value according to the operation result, and generate an interactive safety signal or an interactive abnormality signal according to a preset abnormality threshold;
[0022] Step 5: After obtaining the interactive safety signal, send the test data packet from the virtual receiving port to the real receiving port, and send a prompt signal after obtaining the interactive abnormal signal.
[0023] Further, the network security monitoring system includes a data acquisition unit, a construction unit, a running test unit and a test output unit;
[0024] The data acquisition unit acquires and analyzes the information data of the interaction in the tested system, obtains the target data packet and sends it to the construction unit;
[0025] The construction unit obtains the target data packet and first performs event chain security detection to remove the interaction event data with protocol abnormalities, and then performs time chain security detection to remove the interaction event data with timing abnormalities, and obtains the test data packet that meets the normal timing and normal interaction test piece and sends it to the running test unit;
[0026] The operation test unit obtains the operation rules and operation results in the test data packet to perform the operation test, obtains the test result, and determines the abnormal value of the test result according to the logical link analysis, and sends the test data packet below the preset abnormal value threshold to the test output unit;
[0027] The test output unit sends the test data packet that has undergone the running test to the virtual receiving port.
[0028] Furthermore, the number of items of the virtual receiving port and the real receiving port is 1:1, each virtual receiving port and the real receiving port is equipped with an IP address, and the IP address of each logical interface is not in the same subnet.
[0029] Furthermore, the number of the target switches is one or more, and the network communication channel is based on one or more target switches and the network security monitoring system and one or more target switches, and an encrypted network communication channel is set between the virtual receiving port and the real receiving port.
[0030] Furthermore, the specific process of conducting communication test on the network communication channel is as follows:
[0031] S101, receiving a target signal through a virtual output queue group in a virtual receiving port, and sending a use request to all virtual output ports in the virtual receiving port through a real output queue in a real receiving port;
[0032] S102, each virtual output port selects a use request respectively, and sends a test signal to the real output queue corresponding to the selected use request to obtain the signal frequency of the real output queue;
[0033] S103, obtaining the sending frequency F1 of the test signal at the virtual output port and the receiving frequency F2 of the test signal at the real output queue, and calculating the frequency difference △F=|F2-F1|;
[0034] S104: Obtain a preset frequency judgment threshold Fmin. If the frequency difference is less than the frequency judgment threshold, the communication test is qualified.
[0035] Furthermore, the specific process of running the test data and calculating the running abnormal value is as follows:
[0036] S201, constructing the virtual receiving port through the node network, obtaining feedback information of the real receiving port, and setting it as the target node, the feedback information being the feedback of the running result of the real receiving port on the test data packet;
[0037] S202, obtaining operation data from the test data packet, obtaining feedback data from the operation data under the operation of the real receiving port, and defining the feedback correlation between the operation data and the feedback data as r1
[0038] S203, obtaining the same column running data from the test data packet, obtaining a virtual feedback data from the same column running data under the operation of the virtual receiving port, and defining the feedback correlation between the same column running data and the virtual feedback data as r2;
[0039] S204, calculating the operation abnormality value Rt: Rt = |r2-r1|.
[0040] Furthermore, the specific process of generating the interactive safety signal or the interactive abnormality signal is as follows:
[0041] Obtain a preset operation abnormality threshold Rmax, and if the operation abnormality value is greater than or equal to the operation abnormality threshold, generate an interactive abnormality signal;
[0042] If the operation abnormality value is less than the operation abnormality value, an interactive safety signal is generated.
[0043] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are:
[0044] The present invention sets a virtual receiving port to run a test data packet, outputs the running result, calculates the running abnormality value according to the running result, generates an interactive safety signal or an interactive abnormality signal according to a preset abnormality threshold, realizes an early running test by the virtual receiving port, performs real data interaction according to the test feedback, and avoids the data abnormality affecting the security of the real receiving port. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 A schematic flow chart of the method of the present invention is shown. DETAILED DESCRIPTION
[0046] 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 only 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.
[0047] Embodiment 1:
[0048] like Figure 1 As shown, a method for interaction between a switch virtual routing and a network security monitoring system includes the following steps:
[0049] Step 1: Obtain the basic data of the target switch, mark the target switch as Mk, where k is a natural number greater than 0, configure a virtual route for each group on each switch, isolate each group into a different virtual LAN, and create N logical interfaces on the target switch Mk. The N logical interfaces include virtual receiving ports and real receiving ports.
[0050] Step 2: assign a corresponding VLAN to the logical interface of each group. On each target switch, assign the logical interface connected to the corresponding VLAN, enable the virtual routing protocol on the target switch Mk, establish a network communication channel through the virtual routing, perform a communication test on the network communication channel, and obtain a qualified verification result.
[0051] Step 3: Establish a data receiving plug-in based on the network security test system, receive the test data packet according to the data receiving plug-in, send the test data packet to the virtual receiving port, the virtual receiving port is provided with a switch to simulate the operation of the real terminal, run the test data packet and output the operation result;
[0052] Step 4: Calculate the operation abnormality value according to the operation result, and generate an interactive safety signal or an interactive abnormality signal according to a preset abnormality threshold;
[0053] Step 5: After obtaining the interactive safety signal, send the test data packet from the virtual receiving port to the real receiving port, and send a prompt signal after obtaining the interactive abnormal signal.
[0054] The network security monitoring system includes a data acquisition unit, a construction unit, a running test unit and a test output unit;
[0055] The data acquisition unit acquires and analyzes the information data of the interaction in the tested system, obtains the target data packet and sends it to the construction unit;
[0056] The construction unit obtains the target data packet and first performs event chain security detection to remove the interaction event data with protocol abnormalities, and then performs time chain security detection to remove the interaction event data with timing abnormalities, and obtains the test data packet that meets the normal timing and normal interaction test piece and sends it to the running test unit;
[0057] The running test unit obtains the running rules and running results in the test data packet to perform the running test, obtains the test result, and judges the abnormal value of the test result according to the logical link analysis, and sends the test data packet below the preset abnormal value threshold to the test output unit;
[0058] The test output unit sends the test data packets that have been run through the test to the virtual receiving port.
[0059] The number of virtual receiving ports and real receiving ports is 1:1. Each virtual receiving port and real receiving port is equipped with an IP address, and the IP address of each logical interface is not in the same subnet.
[0060] The number of target switches is one or more, and the network communication channel is based on one or more target switches and a network security monitoring system and one or more target switches, and an encrypted network communication channel is set between the virtual receiving port and the real receiving port.
[0061] The specific process of communication testing on the network communication channel is as follows:
[0062] S101, receiving a target signal through a virtual output queue group in a virtual receiving port, and sending a use request to all virtual output ports in the virtual receiving port through a real output queue in a real receiving port;
[0063] S102, each virtual output port selects a use request respectively, and sends a test signal to the real output queue corresponding to the selected use request to obtain the signal frequency of the real output queue;
[0064] S103, obtaining the sending frequency F1 of the test signal at the virtual output port and the receiving frequency F2 of the test signal at the real output queue, and calculating the frequency difference △F=|F2-F1|;
[0065] S104: Obtain a preset frequency judgment threshold Fmin. If the frequency difference is less than the frequency judgment threshold, the communication test is qualified.
[0066] The specific process of running the test data and calculating the running anomaly value is as follows:
[0067] S201, constructing a virtual receiving port through a node network, obtaining feedback information of a real receiving port, and setting it as a target node, wherein the feedback information is feedback of the running result of the real receiving port on the test data packet;
[0068] S202, obtaining operation data from the test data packet, obtaining feedback data from the operation data under the operation of the real receiving port, and defining the feedback correlation between the operation data and the feedback data as r1
[0069] S203, obtaining the same column running data from the test data packet, obtaining a virtual feedback data from the same column running data under the operation of the virtual receiving port, and defining the feedback correlation between the same column running data and the virtual feedback data as r2;
[0070] S204, calculating the operation abnormality value Rt: Rt = |r2-r1|.
[0071] The specific process of generating an interactive safety signal or an interactive abnormal signal is as follows:
[0072] Obtain a preset operation abnormality threshold Rmax, and if the operation abnormality value is greater than or equal to the operation abnormality threshold, generate an interactive abnormality signal;
[0073] If the operation abnormality value is less than the operation abnormality value, an interactive safety signal is generated.
[0074] The present invention creates a virtual receiving port and a real receiving port on a target switch Mk, establishes a network communication channel through virtual routing, performs communication test on the network communication channel, establishes a data receiving plug-in based on a network security test system, receives a test data packet according to the data receiving plug-in, sends the test data packet to a virtual receiving port, a switch is provided in the virtual receiving port to simulate the operation of a real terminal, runs the test data packet by setting the virtual receiving port, outputs the operation result, calculates the operation abnormality value according to the operation result, generates an interactive safety signal or an interactive abnormality signal according to a preset abnormality threshold, realizes an early operation test by the virtual receiving port, performs real data interaction according to the test feedback, and avoids the data abnormality affecting the security of the real receiving port.
[0075] The threshold is set to facilitate comparison. The size of the threshold depends on the amount of sample data and the number of bases set by technicians in this field for each group of sample data; as long as it does not affect the proportional relationship between the parameter and the quantized value.
[0076] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A method for interaction between a switch virtual routing and a network security monitoring system, characterized in that: The following steps are involved: Step 1: Obtain the basic data of the target switch, mark the target switch as Mk, where k is a natural number greater than 0, configure a virtual route for each group on each switch, isolate each group into a different virtual LAN, and create N logical interfaces on the target switch Mk. The N logical interfaces include virtual receiving ports and real receiving ports. Step 2: assign a corresponding VLAN to the logical interface of each group. On each target switch, assign the logical interface connected to the corresponding VLAN, enable the virtual routing protocol on the target switch Mk, establish a network communication channel through the virtual routing, perform a communication test on the network communication channel, and obtain a qualified verification result. Step 3: Establish a data receiving plug-in based on the network security test system, receive the test data packet according to the data receiving plug-in, send the test data packet to the virtual receiving port, the virtual receiving port is provided with a switch to simulate the operation of the real terminal, run the test data packet and output the operation result; Step 4: Calculate the operation abnormality value according to the operation result, and generate an interactive safety signal or an interactive abnormality signal according to a preset abnormality threshold; Step 5: After obtaining the interactive safety signal, send the test data packet from the virtual receiving port to the real receiving port, and send a prompt signal after obtaining the interactive abnormal signal.
2. The method for interaction between switch virtual routing and network security monitoring system according to claim 1, characterized in that: The network security monitoring system comprises a data acquisition unit, a construction unit, a running test unit and a test output unit; The data acquisition unit acquires and analyzes the information data of the interaction in the tested system, obtains the target data packet and sends it to the construction unit; The construction unit obtains the target data packet and first performs event chain security detection to remove the interaction event data with protocol abnormalities, and then performs time chain security detection to remove the interaction event data with timing abnormalities, and obtains the test data packet that meets the normal timing and normal interaction test piece and sends it to the running test unit; The operation test unit obtains the operation rules and operation results in the test data packet to perform the operation test, obtains the test result, and determines the abnormal value of the test result according to the logical link analysis, and sends the test data packet below the preset abnormal value threshold to the test output unit; The test output unit sends the test data packet that has undergone the running test to the virtual receiving port.
3. The method for interaction between switch virtual routing and network security monitoring system according to claim 1, characterized in that: The number of items of the virtual receiving port and the real receiving port is 1:1, each virtual receiving port and the real receiving port is equipped with an IP address, and the IP address of each logical interface is not in the same subnet.
4. The method for interaction between switch virtual routing and network security monitoring system according to claim 1, characterized in that: The number of the target switches is one or more, and the network communication channel is based on one or more target switches and a network security monitoring system and one or more target switches. An encrypted network communication channel is set between the virtual receiving port and the real receiving port.
5. The method for interaction between switch virtual routing and network security monitoring system according to claim 1, characterized in that: The specific process of communication testing on the network communication channel is as follows: S101, receiving a target signal through a virtual output queue group in a virtual receiving port, and sending a use request to all virtual output ports in the virtual receiving port through a real output queue in a real receiving port; S102, each virtual output port selects a use request respectively, and sends a test signal to the real output queue corresponding to the selected use request to obtain the signal frequency of the real output queue; S103, obtaining the sending frequency F1 of the test signal at the virtual output port and the receiving frequency F2 of the test signal at the real output queue, and calculating the frequency difference △F=|F2-F1|; S104: Obtain a preset frequency judgment threshold Fmin. If the frequency difference is less than the frequency judgment threshold, the communication test is qualified.
6. The method for interaction between switch virtual routing and network security monitoring system according to claim 1, characterized in that: The specific process of running the test data and calculating the running anomaly value is as follows: S201, constructing the virtual receiving port through the node network, obtaining feedback information of the real receiving port, and setting it as the target node, the feedback information being the feedback of the running result of the real receiving port on the test data packet; S202, obtaining operation data from the test data packet, obtaining feedback data from the operation data under the operation of the real receiving port, and defining the feedback correlation between the operation data and the feedback data as r1 S203, obtaining the same column running data from the test data packet, obtaining a virtual feedback data from the same column running data under the operation of the virtual receiving port, and defining the feedback correlation between the same column running data and the virtual feedback data as r2; S204, calculating the operation abnormality value Rt: Rt=|r2-r1|.
7. The method for interaction between switch virtual routing and network security monitoring system according to claim 1, characterized in that: The specific process of generating an interactive safety signal or an interactive abnormal signal is as follows: Obtain a preset operation abnormality threshold Rmax, and if the operation abnormality value is greater than or equal to the operation abnormality threshold, generate an interactive abnormality signal; If the operation abnormality value is less than the operation abnormality value, an interactive safety signal is generated.
