A business-insensitive network security channel construction mechanism and system
Through the identity authentication and encrypted encapsulated data frame mechanism of terminal sensorless security module and service sensorless security gateway, a secure channel is established, and the problem of terminal and network topology transformation in the existing technology is solved, and fine-grained multi-service security protection and Multi-service protocol support improves the security protection capabilities of the terminal.
Patent Information
- Application Number
- CN202411245283.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-06
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2044-09-06
AI Technical Summary
The existing network security channel construction process requires transformation of service terminals and network topology, and cannot achieve fine-grained and multi-service security protection, and traditional security modules cannot support multi-service protocol security protection.
Design a network security channel construction mechanism for business-free network, through terminal sensorless security modules and service sensorless security gateways, use identity authentication and encrypted data frames to establish a secure channel, reduce terminal security transformation steps, and realize sensorless Access and multi-business protocol support.
It realizes that without changing the terminal and network topology, provides fine-grained multi-service security protection, improves the terminal's security protection capabilities, and supports secure communications with multi-service protocols.
Smart Images

Figure CN118764322B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a business-insensitive network security channel construction mechanism and system, belonging to the technical field of network business access control. Background Art
[0002] In order to achieve secure data transmission of business terminals, the current mainstream method is to build a VPN-based network security channel between the terminal and the business system to achieve security protection of the business terminal and the system. However, this protection method requires the modification of the terminal, system, and network topology. For example, the terminal adds a security module or performs identity authentication according to a specific security protocol format. Secure communication is allowed only after the authentication is passed. At the same time, due to the addition of new security equipment, the business system, network topology, and the configuration of related network equipment also need to be changed to adapt to new security requirements. Therefore, this security solution cannot be applied to terminals in use and completed network systems.
[0003] The existing network security channel construction process involves four entities: business terminals, terminal agents, security gateways, and business systems. The channel construction process is as follows: Figure 1 As shown in the figure, building a secure channel between the terminal and the business system includes four stages: ① The security module and the security gateway perform identity authentication and establish a secure channel based on specific security protocols, such as SSL / IPSec; ② The business module of the terminal is transformed, the communication configuration of the business module is modified, and the business request is forwarded to the security module; ③ The security module encrypts the business data according to the channel security requirements to achieve secure transmission; ④ The security gateway processes the data securely and forwards it to the business system.
[0004] The existing technology provides authentication and encryption mechanisms through terminal agents, which improves the security of terminal access and data transmission to a certain extent, but still has the following shortcomings:
[0005] (1) Business terminals need to be modified: Business terminals need to set the business destination IP and port to the IP and port of the security module;
[0006] (2) The network topology needs to be modified: network devices such as firewalls and routers need to set access control rules and policies based on the IP addresses of security gateways and security modules;
[0007] (3) Inability to achieve fine-grained, multi-service security protection: The network security channel cannot set specific protection policies for specific services and cannot achieve on-demand or selective protection;
[0008] (4) Traditional terminal security modules are unable to support security protection for multiple business protocols: Traditional security modules generally support TCP and UDP protocols, but are unable to parse and forward application layer communication protocols for specific businesses, resulting in some businesses being unable to use network security channels for security protection. Summary of the invention
[0009] The technical problem to be solved by the present invention is to provide a business-insensitive network security channel construction mechanism, based on the security channel and data encryption, the design introduces a senseless access method, while reducing the terminal security transformation steps, while improving the terminal's security protection capabilities.
[0010] In order to solve the above technical problems, the present invention adopts the following technical solutions: the present invention designs a business-insensitive network security channel construction mechanism, wherein each terminal respectively performs the following steps A to G, and sequentially realizes the senseless access to the target type business system through the terminal senseless security module and the business senseless security gateway;
[0011] Step A. The terminal sends a service request data frame about the target type service system, and proceeds to step B;
[0012] Step B. The terminal senseless security module captures the service request data frame and parses it to determine whether there is a terminal security channel for the target type of service system between it and the service senseless security gateway. If yes, it proceeds to step D; otherwise, it proceeds to step C;
[0013] Step C. The terminal senseless security module constructs an identity authentication data frame with the same Ethernet header and the same source IP and destination IP according to the service request data frame, and sends it to the service senseless security gateway for authentication. If the authentication is successful, a secure channel for the target type of business system is created between the terminal senseless security module corresponding to the terminal and the service senseless security gateway, and then enters step D; if the authentication fails, the processing of the service request data frame fails and ends;
[0014] Step D. The terminal senseless security module constructs a service request encrypted encapsulated data frame with the same Ethernet header, the same source IP and the same destination IP, and is encrypted and encapsulated according to the service request data frame, and sends it to the service senseless security gateway through the secure channel between the terminal corresponding terminal senseless security module and the service senseless security gateway for the target type of service system, and then enters step E;
[0015] Step E. The business-insensitive security gateway captures the encrypted and encapsulated data frame of the business request, parses it, and performs decryption processing to obtain the corresponding business request data frame, and forwards it to the target type business system. The target type business system creates a corresponding business feedback data frame and returns it to the business-insensitive security gateway, and then enters step F;
[0016] Step F. The service-free security gateway captures the service feedback data frame for parsing, constructs a service feedback encrypted encapsulated data frame with the same Ethernet header, the same source IP and the same destination IP, and is encrypted and encapsulated, and sends it to the terminal-free security module through the secure channel between the terminal-corresponding terminal-free security module and the service-free security gateway regarding the target type of business system, and then enters step G;
[0017] Step G. The terminal senseless security module captures the encrypted and encapsulated data frame of the service feedback, parses it, performs decryption and obtains the corresponding service feedback data frame, and forwards it to the terminal, thus completing the terminal's senseless access to the target type of service system.
[0018] As a preferred technical solution of the present invention: in the step C, the terminal senseless security module parses and extracts the corresponding identity feature data in the service request data frame according to the identity authentication rules and security channel protocol corresponding to the target type business system to form an identity authentication message, and the same Ethernet header, the same source IP and destination IP in the business request data frame are followed by the identity authentication message and the corresponding frame checksum to form an identity authentication data frame, which is sent to the business senseless security gateway, and the business senseless security gateway performs authentication according to the identity authentication rules corresponding to the target type business system;
[0019] In the step D, the terminal senseless security module parses and extracts the TCP / UDP header and application data in the service request data frame, and calls the preset data encryption method corresponding to the target type business system to encrypt the application data to obtain the application encrypted data, and then uses the same Ethernet header, the same source IP and the destination IP in the service request data frame followed by the TCP / UDP header, the application encrypted data, and the corresponding frame checksum to form a service request encrypted encapsulated data frame;
[0020] In step F, the service-aware security gateway parses and extracts the IP header, TCP / UDP header, and application data in the service feedback data frame, and calls the data encryption method corresponding to the preset target type business system to encrypt the application data to obtain application encrypted data, and then uses the same Ethernet header, the same source IP and destination IP in the service feedback data frame followed by the TCP / UDP header, application encrypted data, and the corresponding frame checksum to form a service feedback encrypted encapsulated data frame.
[0021] As a preferred technical solution of the present invention: in the step B, the terminal senseless security module first filters the captured service request data frame based on the filtering rules corresponding to the target type business system, according to the source IP and source MAC respectively constituted by the terminal IP and terminal MAC obtained by parsing; and then determines whether there is a terminal security channel for the target type business system between it and the business senseless security gateway;
[0022] In the step E, the service-aware security gateway first filters the captured service request encrypted and encapsulated data frames based on the filtering rules corresponding to the target type service system, according to the parsed source IP constructed by the terminal IP, the destination IP constructed by the service system IP, the destination port constructed by the service system port, and the secure transmission protocol; and then unseals and decrypts the service request encrypted and encapsulated data frames.
[0023] As a preferred technical solution of the present invention: the terminal senseless security module is based on a first network card that communicates with each terminal and a second network card that communicates with the service senseless security gateway;
[0024] Data uplink direction: First, the terminal senseless security module executes the packet capture thread corresponding to step B to capture the service request data frame from the terminal by the RX buffer queue of the first network card, and stores it in the receiving queue corresponding to the terminal; then the terminal senseless security module executes the working thread corresponding to step D to build the service request encrypted encapsulated data frame, and stores it in the sending queue corresponding to the terminal; finally, the terminal senseless security module executes the packet sending thread corresponding to step D to obtain the service request encrypted encapsulated data frame from the sending queue corresponding to the terminal, and sends it to the TX sending buffer queue of the second network card to realize the sending to the service senseless security gateway;
[0025] Data downlink direction: First, the terminal senseless security module executes the packet capture thread corresponding to step G, and the RX cache queue of the second network card captures the business feedback encrypted encapsulated data frame from the business senseless security gateway, and stores it in the receiving queue corresponding to the terminal; then the terminal senseless security module executes the work thread corresponding to step G, obtains the corresponding business feedback data frame, and stores it in the sending queue corresponding to the terminal; finally, the terminal senseless security module executes the packet sending thread corresponding to step G, obtains the business feedback data frame from the sending queue corresponding to the terminal, and sends it to the TX sending buffer queue of the first network card to realize the sending to the terminal;
[0026] The business senseless security gateway is based on its built-in third network card for communicating with the terminal senseless security module, and a fourth network card for communicating with each target type of business system respectively;
[0027] Data uplink direction: First, the business-insensitive security gateway executes the packet capture thread corresponding to step E, and the RX cache queue of the third network card captures the encrypted and encapsulated data frame of the business request from the terminal's insensitive security module, and stores it in the corresponding receiving queue of the terminal; then the business-insensitive security gateway executes the work thread corresponding to step E, obtains the corresponding business request data frame, and stores it in the corresponding sending queue of the terminal; finally, the business-insensitive security gateway executes the packet sending thread corresponding to step E, obtains the business request data frame from the sending queue, and sends it to the TX sending buffer queue of the fourth network card to realize the sending to the target type business system;
[0028] Data downlink direction: First, the business-insensitive security gateway executes the packet capture thread corresponding to step F to capture the business feedback data frame from the target type business system through the RX buffer queue of the fourth network card, and stores it in the receiving queue corresponding to the terminal; then the business-insensitive security gateway executes the working thread corresponding to step F to build the business feedback encrypted encapsulated data frame, and stores it in the sending queue corresponding to the terminal; finally, the business-insensitive security gateway executes the packet sending thread corresponding to step F to obtain the business feedback encrypted encapsulated data frame from the sending queue, and sends it to the TX sending buffer queue of the third network card to realize the sending to the terminal-insensitive security module;
[0029] Based on the judgment that the terminal-free security module does not exist in step B, the terminal-free security module and the business-free security gateway communicate with each other based on the second network card and the third network card to realize the construction of the identity authentication data frame by the terminal-free security module, the authentication of the identity authentication data frame by the business-free security gateway, and the creation of a security channel between the terminal-free security module and the business-free security gateway based on the successful authentication.
[0030] Corresponding to the above, the technical problem that the present invention also needs to solve is to provide a system for a business-aware network security channel construction mechanism, and to concretize the construction of each model for the terminal-aware security module and the business-aware security gateway, so as to execute the designed business-aware network security channel construction mechanism, thereby reducing the terminal security transformation steps and improving the terminal's security protection capabilities.
[0031] In order to solve the above technical problems, the present invention adopts the following technical solutions: the present invention designs a system for constructing a network security channel mechanism without business sense, wherein the terminal senseless security module comprises a first data receiving module, a first data processing module, a first security protocol processing module, and a first data forwarding module, wherein the first data processing module comprises a first message parsing module, a first message filtering module, and a first message processing module, and the first security protocol processing module comprises a first security protocol rule base, a first protocol processing module, and a first channel management module;
[0032] Among them, the terminal senseless security module executes step B, first applies the first data receiving module to monitor and capture the business request data frame and sends it to the first message parsing module, the first message parsing module parses the business request data frame, and then the first message filtering module calls the filtering rule corresponding to the target type business system in the first security protocol rule base, and filters the business request data frame according to the parsing result; then it is determined whether there is a terminal security channel for the target type business system between the terminal senseless security module and the business senseless security gateway, if so, the first message processing module executes step D, according to the preset data encryption method corresponding to the target type business system in the first security protocol rule base, a business request encrypted encapsulated data frame is constructed for the business request data frame, and combined with the one-to-one correspondence between each business system in each terminal and each security channel in the first channel management module, it is forwarded to the first data forwarding module, and the first data forwarding module sends the business request encrypted encapsulated data frame to the business senseless security gateway based on the corresponding security channel;
[0033] Otherwise, the first protocol processing module executes step C, and constructs an identity authentication data frame based on the business request data frame according to the identity authentication rules and security channel protocol corresponding to the target type business system in the first security protocol rule base, and forwards it to the business-insensitive security gateway through the first data forwarding module. The business-insensitive security gateway performs authentication according to the identity authentication rules corresponding to the target type business system, and based on successful authentication, the first protocol processing module creates a security channel for the target type business system between the terminal-insensitive security module corresponding to the terminal and the business-insensitive security gateway, and the first channel management module stores the one-to-one correspondence between each business system in each terminal and each security channel; then the first message processing module executes step D, constructs a business request encryption and encapsulation data frame for the business request data frame, and sends it to the business-insensitive security gateway via the corresponding security channel by the first data forwarding module;
[0034] The terminal non-sensing security module also executes step G, applies the first data receiving module to monitor and capture the business feedback encrypted encapsulated data frame and sends it to the first message parsing module and the first message processing module, and the first message parsing module parses the captured business feedback encrypted encapsulated data frame, and the first message processing module continues to execute step G, according to the preset data encryption method corresponding to the target type business system in the first security protocol rule base, and the parsing result, the business feedback encrypted encapsulated data frame is unsealed and decrypted to obtain the corresponding business feedback data frame, and forwarded to the terminal through the first data forwarding module.
[0035] As a preferred technical solution of the present invention: the business-insensitive security gateway includes a second data receiving module, a second data processing module, a second security protocol processing module, and a second data forwarding module, wherein the second data processing module includes a second message parsing module, a second message filtering module, and a second message processing module, and the second security protocol processing module includes a second security protocol rule base, a second protocol processing module, and a second channel management module;
[0036] Among them, the business-insensitive security gateway executes step C, first the second data receiving module monitors and captures the identity authentication data frame and sends it to the second message parsing module, the second message parsing module parses the identity authentication data frame, and then the second message filtering module calls the filtering rule corresponding to the target type business system in the second security protocol rule base, and filters the identity authentication data frame according to the parsing result; then the second protocol processing module authenticates the identity authentication data frame according to the identity authentication rule corresponding to the target type business system in the second security protocol rule base, and based on the successful authentication, the second protocol processing module communicates with the first protocol processing module to create a security channel for the target type business system between the terminal-corresponding terminal-insensitive security module and the business-insensitive security gateway, and the second channel management module stores the one-to-one correspondence between each business system in each terminal and each security channel;
[0037] The business-aware security gateway executes step E. First, the second data receiving module monitors and captures the encrypted encapsulated data frame of the business request and sends it to the second message parsing module. The second message parsing module parses the encrypted encapsulated data frame of the business request. Then, the second message filtering module calls the filtering rule corresponding to the target type business system in the second security protocol rule base, and filters the encrypted encapsulated data frame of the business request according to the parsing result. Then, the second message processing module continues to execute step E. According to the preset data encryption method corresponding to the target type business system in the second security protocol rule base, the encrypted encapsulated data frame of the business request is unsealed and decrypted to obtain the corresponding business request data frame, and forwarded to the target type business system through the second data forwarding module.
[0038] The business-aware security gateway also executes step F, where the second data receiving module first monitors and captures the business feedback data frame and sends it to the second message parsing module and the second message processing module, and the second message parsing module parses the captured business feedback data frame. The second message processing module then continues to execute step F, and constructs a business feedback encrypted encapsulated data frame for the business feedback data frame based on the preset data encryption method corresponding to the target type business system in the second security protocol rule base and the parsing result, and forwards it to the second data forwarding module in combination with the one-to-one correspondence between each business system in each terminal and each security channel in the second channel management module, and the frame is sent to the terminal-aware security module based on the corresponding security channel.
[0039] As a preferred technical solution of the present invention: the second security protocol processing module in the service-aware security gateway also includes a session management module, and the session management module manages the data and data processing involved in different terminals respectively according to different terminals.
[0040] The service-insensitive network security channel construction mechanism and system described in the present invention adopts the above technical solution and has the following technical effects compared with the prior art:
[0041] The present invention designs a service-insensitive network security channel construction mechanism, which is based on a terminal-insensitive security module and a service-insensitive security gateway, and takes the service request data frame sent by the terminal as the basis, and establishes a security channel by designing an identity authentication data frame with the same Ethernet header, the same source IP and the same destination IP, and cooperates with the business data security communication mechanism to ensure that business data with different security requirements can be protected on demand, and realizes the terminal's senseless access to the business system by encrypting and encapsulating the business request data frame with the same Ethernet header, the same source IP and the same destination IP and encrypted and encapsulated; the corresponding design system, through the modular decomposition design of the terminal-insensitive security module and the service-insensitive security gateway, specifically realizes the functions of security communication protocol, business communication message parsing, data message security processing and forwarding, etc., and realizes senseless business access while reducing or canceling the transformation of terminals, business systems and network topologies, and improves the security protection capability in applications;
[0042] The present invention designs a business-insensitive network security channel construction mechanism and system, which does not introduce new MAC and IP, but continues to use the communication address and network information of the original terminal and system, thereby having no impact on the operation of intermediate networks such as switches, firewalls, and routers. In addition, after the business system receives the original business data forwarded by the security gateway, the source MAC and source IP parsed by its operating system protocol stack are consistent with those in the case where the security module and security gateway topology are not added, so the operation logic of the business system does not need to be changed. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 It is a schematic diagram of the prior art regarding the establishment of a secure channel;
[0044] Figure 2 It is a schematic diagram of a system for designing a business-insensitive network security channel construction mechanism according to the present invention;
[0045] Figure 3 It is a module schematic diagram of the terminal non-sensing security module in the design of the present invention;
[0046] Figure 4 It is a module schematic diagram of the business-insensitive security gateway designed in the present invention;
[0047] Figure 5 It is a schematic diagram of the data processing process of the terminal non-sensing security module in the design of the present invention;
[0048] Figure 6 It is a schematic diagram of the data processing process of the business-insensitive security gateway in the design of the present invention;
[0049] Figure 7 It is a schematic diagram of the communication framework of the terminal non-sensing security module in the design of the present invention;
[0050] Figure 8 It is a schematic diagram of the communication framework of the business-aware security gateway in the design of the present invention. DETAILED DESCRIPTION
[0051] The specific implementation modes of the present invention will be further described in detail below in conjunction with the accompanying drawings.
[0052] The present invention designs a business-insensitive network security channel construction mechanism and system, in which each terminal realizes non-sensitive access to the target type business system through the terminal non-sensitive security module and the business non-sensitive security gateway in turn. In the actual application of the designed system, Figure 3 As shown, the terminal senseless security module includes a first data receiving module, a first data processing module, a first security protocol processing module, and a first data forwarding module, wherein the first data processing module includes a first message parsing module, a first message filtering module, and a first message processing module, and the first security protocol processing module includes a first security protocol rule base, a first protocol processing module, and a first channel management module; Figure 4 As shown, the business-aware security gateway includes a second data receiving module, a second data processing module, a second security protocol processing module, and a second data forwarding module, wherein the second data processing module includes a second message parsing module, a second message filtering module, and a second message processing module, and the second security protocol processing module includes a second security protocol rule base, a second protocol processing module, and a second channel management module.
[0053] Based on the above design system, a network security channel construction mechanism that is not sensitive to business is designed in actual applications, such as Figure 2 As shown, each terminal specifically executes the following steps A to G respectively, and realizes seamless access to the target type business system through the terminal seamless security module and the business seamless security gateway in turn.
[0054] Step A: The terminal sends a service request data frame about the target type service system, and then proceeds to step B.
[0055] Step B. The terminal-unaware security module first applies the first data receiving module to listen to and capture the service request data frame and sends it to the first message parsing module, which parses the service request data frame. Then, the first message filtering module calls the filtering rule corresponding to the target type business system in the first security protocol rule base, and filters the captured service request data frame according to the source IP and source MAC respectively constituted by the terminal IP and terminal MAC obtained by the analysis. Then, it is determined whether there is a terminal security channel for the target type business system between the terminal-unaware security module and the service-unaware security gateway. If so, the first message processing module executes step D; otherwise, the first protocol processing module executes step C.
[0056] Step C. The first message processing module in the terminal non-sensing security module parses and extracts the corresponding identity feature data in the service request data frame to form an identity authentication message according to the identity authentication rules and security channel protocol corresponding to the target type business system, such as Figure 5 As shown, the same Ethernet header, the same source IP and destination IP in the service request data frame are followed by the identity authentication message and the corresponding frame checksum to form an identity authentication data frame, and forwarded to the service-aware security gateway through the first data forwarding module. The service-aware security gateway performs authentication according to the identity authentication rules corresponding to the target type of business system. If the authentication is successful, the first protocol processing module creates a security channel for the target type of business system between the terminal-corresponding terminal-aware security module and the service-aware security gateway. The one-to-one correspondence between each business system in each terminal and each security channel is stored in the first channel management module, and then the first message processing module executes step D; if the authentication fails, the processing of the service request data frame fails and ends.
[0057] Regarding the authentication of the identity authentication data frame by the business-aware security gateway according to the identity authentication rules corresponding to the target type business system, the second data receiving module first monitors and captures the identity authentication data frame and sends it to the second message parsing module, and the second message parsing module parses the identity authentication data frame, and then the second message filtering module calls the filtering rules corresponding to the target type business system in the second security protocol rule base, and filters the identity authentication data frame according to the parsing results; then the second protocol processing module authenticates the identity authentication data frame according to the identity authentication rules corresponding to the target type business system in the second security protocol rule base, and based on the successful authentication, the second protocol processing module communicates with the first protocol processing module to create a security channel for the target type business system between the terminal-corresponding terminal-aware security module and the business-aware security gateway, and the second channel management module stores the one-to-one correspondence between each business system in each terminal and each security channel.
[0058] Step D. The first message processing module in the terminal non-sensing security module parses and extracts the TCP / UDP header and application data in the service request data frame, and calls the preset data encryption method corresponding to the target type business system in the first security protocol rule library to encrypt the application data to obtain application encrypted data, such as Figure 3 As shown, the same Ethernet header, the same source IP and the same destination IP in the business request data frame are followed by the TCP / UDP header, the application encryption data, and the corresponding frame checksum to construct a business request encrypted encapsulated data frame, and combined with the one-to-one correspondence between each business system in each terminal and each security channel in the first channel management module, forward it to the first data forwarding module, and the first data forwarding module sends the business request encrypted encapsulated data frame to the business-aware security gateway based on the corresponding security channel, and then enters step E.
[0059] Step E. The second data receiving module in the business-aware security gateway monitors and captures the encrypted and encapsulated data frames of business requests and sends them to the second message parsing module. The second message parsing module parses the encrypted and encapsulated data frames of business requests. Then, the second message filtering module calls the filtering rules corresponding to the target type business system in the second security protocol rule base, and filters the captured encrypted and encapsulated data frames of business requests based on the source IP constructed by the terminal IP, the destination IP constructed by the business system IP, the destination port constructed by the business system port, and the secure transmission protocol obtained through the analysis; then, the second message processing module unseals and decrypts the encrypted and encapsulated data frames of business requests according to the preset data encryption method corresponding to the target type business system in the second security protocol rule base, obtains the corresponding business request data frames, and forwards them to the target type business system through the second data forwarding module. The target type business system creates corresponding business feedback data frames and returns them to the business-aware security gateway, and then enters step F.
[0060] Step F. The second data receiving module in the service-aware security gateway monitors and captures the service feedback data frame and sends it to the second message parsing module and the second message processing module. The second message parsing module parses the captured service feedback data frame to extract the IP header, TCP / UDP header, and application data in the service feedback data frame. The second message processing module encrypts the application data according to the preset data encryption method corresponding to the target type service system in the second security protocol rule base and the parsing result to obtain application encrypted data. Then, the service feedback encrypted encapsulated data frame is constructed with the same Ethernet header, the same source IP and the same destination IP in the service feedback data frame followed by the TCP / UDP header, the application encrypted data, and the corresponding frame checksum, as shown in FIG. Figure 6 As shown, combined with the one-to-one correspondence between each business system in each terminal and each security channel in the second channel management module, it is forwarded to the second data forwarding module, and the second data forwarding module sends the business feedback encrypted encapsulated data frame to the terminal non-sensing security module based on the corresponding security channel, and then enters step G.
[0061] Step G. The first data receiving module in the terminal senseless security module monitors and captures the encrypted encapsulated data frame of the service feedback and sends it to the first message parsing module and the first message processing module, and the first message parsing module parses the captured encrypted encapsulated data frame of the service feedback, such as Figure 6 As shown, the first message processing module decrypts and unseals the business feedback encrypted encapsulated data frame according to the preset data encryption method corresponding to the target type business system in the first security protocol rule base and the parsing result, obtains the corresponding business feedback data frame, and forwards it to the terminal through the first data forwarding module, thereby completing the terminal's seamless access to the target type business system.
[0062] In practical applications, the above-mentioned design steps A to G involve data uplink and data downlink. Figure 7As shown, the specific terminal senseless security module is based on its built-in first network card that communicates with each terminal respectively, and the second network card that communicates with the business senseless security gateway; in the data uplink direction: first, the terminal senseless security module corresponds to step B to execute the packet capture thread to capture the business request data frame from the terminal by the RX cache queue of the first network card, and store it in the receiving queue corresponding to the terminal; then the terminal senseless security module corresponds to step D to execute the working thread, build the business request encrypted encapsulated data frame, and store it in the sending queue corresponding to the terminal; finally, the terminal senseless security module corresponds to step D to execute the packet sending thread, obtain the business request encrypted encapsulated data frame from the sending queue corresponding to the terminal, and send it to the second The TX sending buffer queue of the network card realizes the sending to the business-insensitive security gateway; in the data downlink direction: first, the terminal-insensitive security module corresponds to step G and executes the packet capture thread to capture the business feedback encrypted encapsulated data frame from the business-insensitive security gateway by the RX cache queue of the second network card, and stores it in the receiving queue corresponding to the terminal; then the terminal-insensitive security module corresponds to step G and executes the working thread to obtain the corresponding business feedback data frame, which is stored in the sending queue corresponding to the terminal; finally, the terminal-insensitive security module corresponds to step G and executes the packet sending thread to obtain the business feedback data frame from the sending queue corresponding to the terminal, and sends it to the TX sending buffer queue of the first network card to realize the sending to the terminal.
[0063] Correspondingly, such as Figure 8 As shown, the business-insensitive security gateway is based on its built-in third network card that communicates with the terminal-insensitive security module, and the fourth network card that communicates with each target type of business system respectively; in the data uplink direction: first, the business-insensitive security gateway executes the packet capture thread corresponding to step E to capture the business request encrypted encapsulated data frame from the terminal-insensitive security module by the RX cache queue of the third network card, and stores it in the receiving queue corresponding to the terminal; then the business-insensitive security gateway executes the working thread corresponding to step E to obtain the corresponding business request data frame, which is stored in the sending queue corresponding to the terminal; finally, the business-insensitive security gateway executes the packet sending thread corresponding to step E, obtains the business request data frame from the sending queue, and sends it to the fourth The TX sending buffer queue of the network card realizes the sending to the target type business system; in the data downlink direction: first, the business-aware security gateway corresponds to step F and executes the packet capture thread to capture the business feedback data frame from the target type business system by the RX cache queue of the fourth network card, and stores it in the receiving queue corresponding to the terminal; then the business-aware security gateway corresponds to step F and executes the working thread to build the business feedback encrypted and encapsulated data frame, which is stored in the sending queue corresponding to the terminal; finally, the business-aware security gateway corresponds to step F and executes the packet sending thread to obtain the business feedback encrypted and encapsulated data frame from the sending queue, and sends it to the TX sending buffer queue of the third network card to realize the sending to the terminal non-aware security module.
[0064] Regarding the actual communication of the above-mentioned business-aware security gateway, a thread pool is set up and the hash value of the current data frame to be processed is calculated based on the four-tuple of <source IP address, destination IP address, source port, destination port> to realize the binding of the terminal and the working thread, thereby reducing the performance impact caused by CPU switching; at the same time, after the working thread reads the queue information, it determines the current data frame type and IP datagram type, and directly forwards the ARP protocol data that meets the requirements. For the identity authentication data frame, the second security protocol processing module is called to process and complete the establishment and management of the security channel. The data transmitted in the security channel is securely processed and stored in the circular sending queue.
[0065] And in the identity authentication process of the secure channel, based on the judgment that the terminal-sensitive security module corresponds to step B, the terminal-sensitive security module and the business-sensitive security gateway determine that there is no secure channel. Based on the communication between the second network card and the third network card, the terminal-sensitive security module constructs the identity authentication data frame, the business-sensitive security gateway authenticates the identity authentication data frame, and based on the successful authentication, a secure channel is created between the terminal-sensitive security module and the business-sensitive security gateway.
[0066] In actual applications, the second security protocol processing module in the business-aware security gateway also includes a session management module, which manages the data and data processing involved in different terminals separately according to different terminals.
[0067] In the above design, since the terminal-unaware security module and the business-unaware security gateway do not introduce new MAC and IP in the process of establishing network security channels and securely forwarding business data, but continue to use the communication addresses and network information of the original terminals and systems, it has no impact on the operation of intermediate networks such as switches, firewalls, and routers.
[0068] In the application, the software and hardware inside the terminal do not need to be modified, the original communication configuration does not need to be modified, and its communication destination IP and port are still the business system, so that the business terminal is unaware of the security protection process; the terminal unaware security module selects a specific security communication protocol based on the business security protection requirements of the business terminal to build a network security channel, and realizes the secure transmission of the original business request data. When constructing the link layer data frame header and the network layer IP header, the terminal unaware security module uses the relevant information in the business terminal communication data to ensure that the configuration of the intermediate network equipment does not need to be changed, so as to realize unaware forwarding and processing; the business unaware security gateway first interacts based on the security protocol selected by the terminal unaware security module to establish a secure network channel, and on this basis realizes the security protection of the data interacting between the business terminal and the business system, wherein the business unaware security gateway securely processes the data transmitted by the terminal unaware security module, restores it to the original business request message and forwards it to the business system for business processing; the business system does not need to be transformed or modify the network configuration, and only needs to receive the original business data forwarded by the security gateway for processing according to the original business logic.
[0069] The embodiments of the present invention are described in detail above with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge scope of ordinary technicians in this field without departing from the purpose of the present invention.
Claims
1. A business-insensitive network security channel construction mechanism, characterized by: Each terminal executes the following steps A to G respectively, and realizes non-sensing access to the target type business system through the terminal non-sensing security module and the business non-sensing security gateway in turn; Step A. The terminal sends a service request data frame about the target type service system, and proceeds to step B; Step B. The terminal senseless security module captures the service request data frame for parsing, and determines whether there is a terminal security channel for the target type of service system between it and the service senseless security gateway, and if so, proceeds to step D; Otherwise, go to step C; Step C. The terminal senseless security module constructs an identity authentication data frame with the same Ethernet header and the same source IP and destination IP according to the service request data frame, and sends it to the service senseless security gateway for authentication. If the authentication is successful, a secure channel for the target type of business system is created between the terminal senseless security module corresponding to the terminal and the service senseless security gateway, and then enters step D; if the authentication fails, the processing of the service request data frame fails and ends; Step D. The terminal senseless security module constructs a service request encrypted encapsulated data frame with the same Ethernet header, the same source IP and the same destination IP, and is encrypted and encapsulated according to the service request data frame, and sends it to the service senseless security gateway through the secure channel between the terminal corresponding terminal senseless security module and the service senseless security gateway for the target type of service system, and then enters step E; Step E. The business-insensitive security gateway captures the encrypted and encapsulated data frame of the business request, parses it, and performs decryption processing to obtain the corresponding business request data frame, and forwards it to the target type business system. The target type business system creates a corresponding business feedback data frame and returns it to the business-insensitive security gateway, and then enters step F; Step F. The service-free security gateway captures the service feedback data frame for parsing, constructs a service feedback encrypted encapsulated data frame with the same Ethernet header, the same source IP and the same destination IP, and is encrypted and encapsulated, and sends it to the terminal-free security module through the secure channel between the terminal-corresponding terminal-free security module and the service-free security gateway regarding the target type of business system, and then enters step G; Step G. The terminal senseless security module captures the encrypted and encapsulated data frame of the service feedback, parses it, performs decryption and obtains the corresponding service feedback data frame, and forwards it to the terminal, thus completing the terminal's senseless access to the target type of service system.
2. According to claim 1, a business-insensitive network security channel construction mechanism is characterized by: In the step C, the terminal senseless security module parses and extracts the corresponding identity feature data in the service request data frame according to the identity authentication rules and security channel protocol corresponding to the target type business system to form an identity authentication message, and the same Ethernet header, the same source IP and destination IP in the business request data frame are followed by the identity authentication message and the corresponding frame checksum to form an identity authentication data frame, which is sent to the business senseless security gateway, and the business senseless security gateway performs authentication according to the identity authentication rules corresponding to the target type business system; In the step D, the terminal senseless security module parses and extracts the TCP / UDP header and application data in the service request data frame, and calls the preset data encryption method corresponding to the target type business system to encrypt the application data to obtain the application encrypted data, and then uses the same Ethernet header, the same source IP and the destination IP in the service request data frame followed by the TCP / UDP header, the application encrypted data, and the corresponding frame checksum to form a service request encrypted encapsulated data frame; In step F, the service-aware security gateway parses and extracts the IP header, TCP / UDP header, and application data in the service feedback data frame, and calls the data encryption method corresponding to the preset target type business system to encrypt the application data to obtain application encrypted data, and then uses the same Ethernet header, the same source IP and destination IP in the service feedback data frame followed by the TCP / UDP header, application encrypted data, and the corresponding frame checksum to form a service feedback encrypted encapsulated data frame.
3. According to the service-insensitive network security channel construction mechanism of claim 1, it is characterized by: In the step B, the terminal senseless security module first filters the captured service request data frame based on the filtering rules corresponding to the target type business system and the source IP and source MAC respectively constituted by the terminal IP and terminal MAC obtained by parsing; and then determines whether there is a terminal security channel for the target type business system between it and the business senseless security gateway; In the step E, the service-aware security gateway first filters the captured service request encrypted and encapsulated data frames based on the filtering rules corresponding to the target type service system, according to the parsed source IP constructed by the terminal IP, the destination IP constructed by the service system IP, the destination port constructed by the service system port, and the secure transmission protocol; and then unseals and decrypts the service request encrypted and encapsulated data frames.
4. According to claim 1, a business-insensitive network security channel construction mechanism is characterized by: The terminal senseless security module is based on a first network card that communicates with each terminal and a second network card that communicates with the service senseless security gateway; Data uplink direction: First, the terminal non-sensing security module executes the packet capture thread corresponding to step B, and the RX cache queue of the first network card captures the service request data frame from the terminal, and stores it in the receiving queue corresponding to the terminal; Then the terminal senseless security module executes the work thread corresponding to step D, constructs the encrypted encapsulated data frame of the business request, and stores it in the sending queue corresponding to the terminal; finally, the terminal senseless security module executes the packet sending thread corresponding to step D, obtains the encrypted encapsulated data frame of the business request from the sending queue corresponding to the terminal, and sends it to the TX sending buffer queue of the second network card to realize the sending to the business senseless security gateway; Data downlink direction: First, the terminal senseless security module executes the packet capture thread corresponding to step G, and the RX cache queue of the second network card captures the service feedback encrypted encapsulated data frame from the service senseless security gateway, and stores it in the corresponding receiving queue of the terminal; Then the terminal senseless security module executes the work thread corresponding to step G, obtains the corresponding service feedback data frame, and stores it in the corresponding sending queue of the terminal; finally, the terminal senseless security module executes the packet sending thread corresponding to step G, obtains the service feedback data frame from the corresponding sending queue of the terminal, and sends it to the TX sending buffer queue of the first network card to realize sending to the terminal; The business senseless security gateway is based on its built-in third network card for communicating with the terminal senseless security module, and a fourth network card for communicating with each target type of business system respectively; Data uplink direction: First, the service-insensitive security gateway executes the packet capture thread corresponding to step E, and the RX cache queue of the third network card captures the service request encrypted encapsulated data frame from the terminal's insensitive security module, and stores it in the corresponding receiving queue of the terminal; Then the business-insensitive security gateway executes the work thread corresponding to step E, obtains the corresponding business request data frame, and stores it in the corresponding sending queue of the terminal; finally, the business-insensitive security gateway executes the packet sending thread corresponding to step E, obtains the business request data frame from the sending queue, and sends it to the TX sending buffer queue of the fourth network card to realize the sending to the target type business system; Data downlink direction: First, the service-insensitive security gateway executes the packet capture thread corresponding to step F to capture the service feedback data frame from the target type service system through the RX cache queue of the fourth network card, and stores it in the receiving queue corresponding to the terminal; Then the business-insensitive security gateway executes the work thread corresponding to step F, constructs the business feedback encrypted encapsulated data frame, and stores it in the sending queue corresponding to the terminal; finally, the business-insensitive security gateway executes the packet sending thread corresponding to step F, obtains the business feedback encrypted encapsulated data frame from the sending queue, and sends it to the TX sending buffer queue of the third network card to realize the sending to the terminal's insensitive security module; Based on the judgment that the terminal-free security module does not exist in step B, the terminal-free security module and the business-free security gateway communicate with each other based on the second network card and the third network card to realize the construction of the identity authentication data frame by the terminal-free security module, the authentication of the identity authentication data frame by the business-free security gateway, and the creation of a security channel between the terminal-free security module and the business-free security gateway based on the successful authentication.
5. A system for implementing a service-insensitive network security channel construction mechanism as described in any one of claims 1 to 4, characterized in that: The terminal senseless security module includes a first data receiving module, a first data processing module, a first security protocol processing module, and a first data forwarding module, wherein the first data processing module includes a first message parsing module, a first message filtering module, and a first message processing module, and the first security protocol processing module includes a first security protocol rule base, a first protocol processing module, and a first channel management module; Among them, the terminal senseless security module executes step B, first applies the first data receiving module to monitor and capture the business request data frame and sends it to the first message parsing module, the first message parsing module parses the business request data frame, and then the first message filtering module calls the filtering rule corresponding to the target type business system in the first security protocol rule base, and filters the business request data frame according to the parsing result; then it is determined whether there is a terminal security channel for the target type business system between the terminal senseless security module and the business senseless security gateway, if so, the first message processing module executes step D, according to the preset data encryption method corresponding to the target type business system in the first security protocol rule base, a business request encrypted encapsulated data frame is constructed for the business request data frame, and combined with the one-to-one correspondence between each business system in each terminal and each security channel in the first channel management module, it is forwarded to the first data forwarding module, and the first data forwarding module sends the business request encrypted encapsulated data frame to the business senseless security gateway based on the corresponding security channel; Otherwise, the first protocol processing module executes step C, and constructs an identity authentication data frame based on the business request data frame according to the identity authentication rules and security channel protocol corresponding to the target type business system in the first security protocol rule base, and forwards it to the business-insensitive security gateway through the first data forwarding module. The business-insensitive security gateway performs authentication according to the identity authentication rules corresponding to the target type business system, and based on successful authentication, the first protocol processing module creates a security channel for the target type business system between the terminal-insensitive security module corresponding to the terminal and the business-insensitive security gateway, and the first channel management module stores the one-to-one correspondence between each business system in each terminal and each security channel; then the first message processing module executes step D, constructs a business request encryption and encapsulation data frame for the business request data frame, and sends it to the business-insensitive security gateway via the corresponding security channel by the first data forwarding module; The terminal non-sensing security module also executes step G, applies the first data receiving module to monitor and capture the business feedback encrypted encapsulated data frame and sends it to the first message parsing module and the first message processing module, and the first message parsing module parses the captured business feedback encrypted encapsulated data frame, and the first message processing module continues to execute step G, according to the preset data encryption method corresponding to the target type business system in the first security protocol rule base, and the parsing result, the business feedback encrypted encapsulated data frame is unsealed and decrypted to obtain the corresponding business feedback data frame, and forwarded to the terminal through the first data forwarding module.
6. According to claim 5, a system for establishing a network security channel mechanism without service awareness is characterized by: The business-insensitive security gateway includes a second data receiving module, a second data processing module, a second security protocol processing module, and a second data forwarding module, wherein the second data processing module includes a second message parsing module, a second message filtering module, and a second message processing module, and the second security protocol processing module includes a second security protocol rule base, a second protocol processing module, and a second channel management module; Among them, the business-insensitive security gateway executes step C, first the second data receiving module monitors and captures the identity authentication data frame and sends it to the second message parsing module, the second message parsing module parses the identity authentication data frame, and then the second message filtering module calls the filtering rule corresponding to the target type business system in the second security protocol rule base, and filters the identity authentication data frame according to the parsing result; then the second protocol processing module authenticates the identity authentication data frame according to the identity authentication rule corresponding to the target type business system in the second security protocol rule base, and based on the successful authentication, the second protocol processing module communicates with the first protocol processing module to create a security channel for the target type business system between the terminal-corresponding terminal-insensitive security module and the business-insensitive security gateway, and the second channel management module stores the one-to-one correspondence between each business system in each terminal and each security channel; The business-aware security gateway executes step E. First, the second data receiving module monitors and captures the encrypted encapsulated data frame of the business request and sends it to the second message parsing module. The second message parsing module parses the encrypted encapsulated data frame of the business request. Then, the second message filtering module calls the filtering rule corresponding to the target type business system in the second security protocol rule base, and filters the encrypted encapsulated data frame of the business request according to the parsing result. Then, the second message processing module continues to execute step E. According to the preset data encryption method corresponding to the target type business system in the second security protocol rule base, the encrypted encapsulated data frame of the business request is unsealed and decrypted to obtain the corresponding business request data frame, and forwarded to the target type business system through the second data forwarding module. The business-aware security gateway also executes step F, where the second data receiving module first monitors and captures the business feedback data frame and sends it to the second message parsing module and the second message processing module, and the second message parsing module parses the captured business feedback data frame. The second message processing module then continues to execute step F, and constructs a business feedback encrypted encapsulated data frame for the business feedback data frame based on the preset data encryption method corresponding to the target type business system in the second security protocol rule base and the parsing result, and forwards it to the second data forwarding module in combination with the one-to-one correspondence between each business system in each terminal and each security channel in the second channel management module, and the frame is sent to the terminal-aware security module based on the corresponding security channel.
7. A system for establishing a network security channel mechanism without service awareness according to claim 6, characterized in that: The second security protocol processing module in the service-aware security gateway also includes a session management module, which manages the data and data processing involved in different terminals respectively according to different terminals.
