System for controlling network access and method therefor

The described system allows nodes without access control applications to access target services securely by using a gateway and external server architecture to manage data flows and authentication, addressing the limitations of existing network access control methods and enhancing security.

WO2024177382A1PCT designated stage expired Publication Date: 2024-08-29PRIBIT TECH INC
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/KR2024/002268
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-21
Filing Date
2024-02-21
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

Existing network access control methods fail to allow nodes without installed access control applications to access target services, leading to unauthorized access and security vulnerabilities, especially in devices with outdated operating systems or limited hardware capabilities.

Method used

A system and method that includes a gateway and external server architecture, which checks for data flows and authentication information to grant access rights, allowing nodes to connect even without the access control application installed, and ensures secure communication by forwarding data packets through an authentication server when necessary.

Benefits of technology

Enables secure and efficient access to target services for nodes without installed access control applications, while preventing unauthorized access and enhancing network security by managing data flows and authentication processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2024002268_29082024_PF_FP_ABST
    Figure KR2024002268_29082024_PF_FP_ABST
Patent Text Reader

Abstract

According to an embodiment disclosed in the present document, a gateway may comprise a communication circuit, a memory, and a processor operatively coupled with the communication circuit and the memory, wherein the processor is configured to: receive a data packet for a service request from a node; identify whether a data flow corresponding to the data packet exists; when it is identified that the data flow exists, forward the data packet to a destination network of the data packet; when it is identified that the data flow does not exist, forward the data packet to an external server; and after forwarding the data packet to the external server, receive information on the data flow from the external server according to an authentication result for the node.
Need to check novelty before this filing date? Find Prior Art

Description

System for controlling network access and method therefor

[0001] Cross-citation with related applications

[0002] This invention claims the benefit of priority from Korean Patent Application No. 10-2023-0022774, filed on February 21, 2023, and all contents of the document in that Korean Patent Application are incorporated herein by reference.

[0003] Technology field

[0004] Embodiments disclosed in this document relate to a system and method for controlling network access.

[0005] Multiple devices can communicate data over a network. For example, a terminal can transmit or receive data to or from a server via the Internet. The network can include a public network, such as the Internet, as well as a private network, such as an intranet.

[0006] Controlling a node's network access using tunneling or authentication information embedded in data packets can prevent unauthorized or insecure nodes from accessing the destination network.

[0007] In order to control the network access of a node in the manner described above, a gateway existing at the border of a destination network (target service) must use authentication information contained in a tunnel or data packet, which is the minimum access control unit, to check whether the node is authorized, etc., and an access control application (network access control application) that generates authentication information must be installed on the node.

[0008] If a node attempts to access a target service without an access control application installed, access to the destination network is blocked, and the user of the node has no idea why access to the destination network is blocked.

[0009] Additionally, if the access control application cannot be installed (e.g., a node with an old operating system for which technical support for installing the access control application has ended, a low-power IoT with low absolute hardware specifications, a node with an operating system not supported by the access control application, etc.), there is a problem in that the node cannot connect to the destination network.

[0010] A gateway according to an embodiment disclosed in the present document comprises a communication circuit, a memory, and a processor operatively connected to the communication circuit and the memory, wherein the processor is configured to receive a data packet for a service request from a node, determine whether a data flow corresponding to the data packet exists, and if it is determined that the data flow exists, forward the data packet to a destination network of the data packet, and if it is determined that the data flow does not exist, forward the data packet to an external server, and after forwarding the data packet to the external server, receive information about the data flow from the external server according to an authentication result for the node, wherein the gateway comprises a communication circuit, a memory, and a processor operatively connected to the communication circuit and the memory, wherein the processor is configured to receive a data packet for a service request from a node, determine whether a data flow corresponding to the data packet exists, and if it is determined that the data flow exists, forward the data packet to a destination network of the data packet, and if it is determined that the data flow does not exist, forward the data packet to an authentication server, and forward the data packet to the authentication server. After forwarding, when information about the data flow is obtained from the control server, the data packet can be configured to be forwarded to the destination network.

[0011] In addition, an external control server according to an embodiment disclosed in the present document includes a communication circuit, a memory, and a processor operatively connected to the communication circuit and the memory, wherein the processor is configured to, when a data packet for a service request is obtained, transmit authentication support information to the node with reference to the data packet, obtain a network connection request including a source IP (internet protocol) from the node based on the authentication support information, determine whether the node is connectable to the destination network based on information included in the network connection request, and if connection is confirmed to be possible, transmit information about a data flow to a gateway, wherein the processor is configured to, when a data packet for a service request is obtained, transmit authentication support information to the node with reference to the data packet, obtain a network connection request including a source IP from the node based on the authentication support information, determine whether the node is connectable to the destination network based on information included in the network connection request, and if connection is confirmed to be possible, generate a data flow corresponding to identification information of the source IP and the destination network and transmit the data flow to the gateway.

[0012] In addition, the method of operating a gateway according to an embodiment disclosed in the present document may include the steps of receiving a data packet for a service request from a node, checking whether a data flow corresponding to the data packet exists, and if it is confirmed that the data flow exists, forwarding the data packet to a destination network of the data packet, and if it is confirmed that the data flow does not exist, forwarding the data packet to an external server, and then receiving information about the data flow from the external server according to an authentication result for the node, the steps of receiving a data packet for a service request from a node, checking whether a data flow corresponding to the data packet exists, and if it is confirmed that the data flow exists, forwarding the data packet to a destination network of the data packet, and if it is confirmed that the data flow does not exist, forwarding the data packet to an authentication server, and then, when information about the data flow is obtained from a control server, forwarding the data packet to the destination network.

[0013] According to embodiments disclosed in this document, a node can access a target service even if an access control application is not installed on the node.

[0014] Additionally, according to the embodiments disclosed in this document, a node that installs an access control application is granted first access rights, and a node that performs an authentication process is granted second access rights, thereby enabling the node to efficiently access the target service.

[0015] Additionally, according to the embodiments disclosed in this document, it is possible to prevent unauthorized transmission of data packets to an unauthorized destination network.

[0016] Additionally, according to the embodiments disclosed in this document, the security of the destination network can be improved by recovering a tunnel or data flow when a target application installed on a node is terminated or based on a security event received from a linking system.

[0017] In addition, various effects may be provided, either directly or indirectly, through this document.

[0018] Figure 1 illustrates an architecture within a network environment according to various embodiments.

[0019] FIG. 2 is a functional block diagram illustrating a database stored in a control server according to various embodiments.

[0020] FIG. 3 illustrates a functional block diagram of a gateway according to various embodiments.

[0021] FIGS. 4A and 4B illustrate operations for controlling transmission of data packets according to various embodiments.

[0022] Figure 5 is a diagram for explaining the operation of a gateway when a node without an access control application installed attempts to access a service server.

[0023] Figures 6 to 10 are drawings for explaining operations related to a node on which an access control application is not installed.

[0024] FIG. 11 is a diagram illustrating a data packet according to various embodiments related to authentication information required for creating a logical connection.

[0025] Figures 12 to 16 are drawings for explaining operations related to a node on which a connection control application is installed.

[0026] Figure 17 is a drawing for explaining the protocol inspection process.

[0027] Figure 18 is a diagram explaining the process by which a gateway processes a service request.

[0028] Figure 19 is a diagram for explaining the structure of service request information with a data flow header inserted.

[0029] In connection with the description of the drawings, the same or similar reference numerals may be used for identical or similar components.

[0030] Hereinafter, various embodiments of the present invention will be described with reference to the attached drawings. However, this is not intended to limit the present invention to specific embodiments, and it should be understood that the present invention encompasses various modifications, equivalents, and / or alternatives of the embodiments.

[0031] In this document, the singular form of a noun corresponding to an item may include one or more of said items, unless the context clearly indicates otherwise. In this document, phrases such as "A or B," "at least one of A and B," "at least one of A or B," "A, B, or C," "at least one of A, B, and C," and "at least one of A, B, or C" may each include any one of the items listed together in that phrase, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used merely to distinguish the corresponding element from other corresponding elements, and do not limit the corresponding elements in any other respect (e.g., importance or order). When a component (e.g., a first component) is referred to as being “coupled” or “connected” to another component (e.g., a second component), with or without the terms “functionally” or “communicatively,” it means that the component can be connected to the other component directly (e.g., wired), wirelessly, or through a third component.

[0032] Each component (e.g., a module or a program) described in this document may include one or more entities. According to various embodiments, one or more components or operations of the components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In such a case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to integration. According to various embodiments, the operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.

[0033] The term "module" or "part" used in this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit. A module may be an integral component, or a minimum unit or part of such a component that performs one or more functions. For example, according to one embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).

[0034] Various embodiments of the present document may be implemented as software (e.g., a program or an application) including one or more instructions stored in a machine-readable storage medium (e.g., memory). For example, a processor of the device may call at least one instruction among the one or more instructions stored from the storage medium and execute it. This enables the device to operate to perform at least one function according to the at least one instruction called. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, "non-transitory" only means that the storage medium is a tangible device and does not contain a signal (e.g., electromagnetic waves), and this term does not distinguish between cases where data is stored semi-permanently and cases where it is stored temporarily in the storage medium.

[0035] The methods according to various embodiments disclosed in this document may be provided as a computer program product. The computer program product may be traded as a commodity between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., compact disc read-only memory (CD-ROM)), or may be distributed online (e.g., downloaded or uploaded) through an application store or directly between two user devices (e.g., smartphones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily generated in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.

[0036] Figure 1 illustrates an architecture within a network environment according to various embodiments.

[0037] Referring to FIG. 1, nodes (103_1, 103_2) may be various types of devices capable of performing data communication. For example, nodes (103_1, 103_2) may include portable devices such as smartphones or tablets, computer devices such as desktops or laptops, multimedia devices, medical devices, cameras, wearable devices, virtual reality (VR) devices, or home appliances, but are not limited to the aforementioned devices. Nodes (103_1, 103_2) may also be referred to as 'electronic devices' or 'terminals'.

[0038] The gateway (101) can be connected to nodes (103_1, 103_2). For example, the gateway (101) can support nodes (103_1, 103_2) to connect to service servers (105_1, 105_2) by providing nodes (103_1, 103_2) with a structure that allows communication only when a data flow authorized by the control server (102) exists. In addition, the gateway (101) can provide nodes (103_1, 103_2) with a structure that prevents communication when a data flow does not exist.

[0039] According to an embodiment, the gateway (101) may receive a data packet for connection to a destination network from a node, determine whether a data flow corresponding to the data packet exists, and if the data flow is determined to exist, forward the data packet to the destination network, thereby supporting processing of the node's service request. If the data flow is determined not to exist, the gateway may forward the data packet to an external server (e.g., an authentication server (104)) to support authentication of the node. In addition, information about the data flow may be received from the external server based on the authentication result for the node.

[0040] According to an embodiment, when it is confirmed that no data flow exists, the gateway (101) can forward the data packet by performing a network address translation (NAT) process to check whether the data packet is a data packet of an authenticable protocol, and when it is confirmed that the data packet is a data packet of an authenticable protocol, converting the destination IP and destination port of the data packet to an external server IP and external server port corresponding to an external server (e.g., an authentication server (104)).

[0041] According to an embodiment, when an access control application is installed, the gateway (101) receives a tunnel creation request for creating a tunnel from a node (103_1), creates a tunnel with the node (103_1) based on the tunnel creation request, and then communicates with the node through the tunnel.

[0042] In addition, the service servers (105_1, 105_2) may be various types of devices capable of performing data communication. For example, the service servers (105_1, 105_2) may include portable devices such as smartphones or tablets, computer devices such as desktops or laptops, multimedia devices, medical devices, cameras, wearable devices, virtual reality (VR) devices, or home appliances, but are not limited to the aforementioned devices. The service servers (105_1, 105_2) may also be referred to as 'electronic devices' or 'terminals'.

[0043] Nodes (103_1, 103_2) can transmit data packets to service servers (105_1, 105_2) or receive data packets from service servers (105_1, 105_2). Some of the target applications included in nodes (103_1, 103_2) may be trusted and / or secure applications, such as web browsers or business applications, while others may be untrusted or insecure malicious programs. Therefore, the network access control system according to embodiments may block access of unauthorized programs (applications) to service servers (105_1, 105_2) and isolate (e.g., blacklist) such programs.

[0044] The control server (102) can ensure reliable data transmission within a network environment by managing data transmission between the gateway (101) and the service servers (105_1, 105_2). For example, the control server (102) can allow network access to an authorized access control application through policy information or blacklist information. The control server (102) can provide authentication information that can perform authentication between the gateway (101) and the service servers (105_1, 105_2). Accordingly, the access control application can prevent an unauthorized node from transmitting data packets to an unauthorized destination.

[0045] According to an embodiment, the network access of a node may be blocked by a connection control application, a control server (102), or a gateway (101). According to one embodiment, the control server (102) may transmit and receive control data packets to and from the gateway (101) in order to perform various operations (e.g., registration, approval, authentication, renewal, termination) associated with the network access of the gateway (101). The flow in which the control data packets are transmitted may be referred to as a 'control flow'. According to an embodiment, the control server (102) may immediately reclaim a tunnel based on a security event received from a linking system (e.g., a gateway), or may immediately reclaim a tunnel when a target application is terminated, thereby maintaining a secure network state at all times. In addition, the above-described structure may be substantially equally applied to the relationship between the connection control application and the control server (102).

[0046] According to an embodiment, the control server (102) can communicate with the authentication server (104). For reference, although FIG. 1 illustrates a case where the control server (102) and the authentication server (104) are separated, the present invention is not limited thereto, and the control server (102) and the authentication server (104) may be configured as a single integrated server (e.g., an external server).

[0047] FIG. 2 is a functional block diagram illustrating a database stored in a control server (102) according to various embodiments. Although FIG. 2 only illustrates memory, the control server (102) may further include a communication circuit for communicating with an external electronic device and a processor for controlling the overall operation of the control server (102).

[0048] An administrator can access the control server (102) and set a connection-centric policy to control connections between the access control application, gateway (101), and service server, thereby enabling more detailed and secure control of network connections than managing sessions at the service level.

[0049] The access policy database (211) may include at least some of the information for node identification (node ​​unique identification information, user information corresponding to the node, information about services that the node's target application can access, etc.) and authentication (certificates, etc.). For example, when a network access request is obtained from a target application controlled by an access control application, the control server (102) may determine, based on the policy of the access policy database (211), whether the node, target application, and / or user identified at the time of the network access request can access the destination (e.g., a service server or gateway (101)). In addition, even when the access control application is not installed, the control server (102) may determine, based on the policy of the access policy database (211), when a network access request is obtained from a target application, whether the node, target application, and / or user identified at the time of the network access request can access the destination (e.g., a service server or gateway).

[0050] According to an embodiment, the control server (102) can check whether connection is possible and generate a data flow based on a method and identification information for identifying a connection target (e.g., a MAC address-based identification method of a node, an identification method based on authentication information transmitted by a node when requesting network connection, an application identification method requesting network connection within a router (201) and thus the destination IP and port information included in the IP header, protocol information (e.g., TCP, UDP, etc.), MAC address, application identification information, IP assigned to the node, received network interface identification information, etc.).

[0051] The tunnel policy database (212) may include a series of information (e.g., authentication information, encryption algorithm, tunnel endpoint IP, etc.) required to create a tunnel to be connected to a gateway (101) on a connection path according to a connection policy. If a tunnel already connected to another gateway (not shown) on the connection path exists, the tunnel policy database (212) may include a series of information for using the tunnel (e.g., whether to collect IP information assigned to the node and whether to process replacement). For example, the control server (102) may provide a tunnel and gateway (101) optimized for the node based on the tunnel policy when a network connection request is made by a node connected to the gateway (101).

[0052] The authentication policy database (213) may include a series of information related to whether to authenticate network access based on the identification information of a node when a node connected to the gateway (101) accesses the network according to the access policy (211) and, if authentication is performed, the authentication method. In addition, the authentication policy database (213) may include certificate information (e.g., Mutual-TLS) previously issued to a connection target (e.g., a node), and may include certificate information (e.g., TLS) for inducing a connection target (e.g., a node) to create a secure session in a proxy included in the gateway (101).

[0053] The protocol policy database (214) is protocol information that can communicate with the service to be connected, and may include protocol identification signature information, protocol version information, protocol header information, and protocol information for identifying the protocol information included when transmitting and receiving data packets. In addition, the protocol policy database (214) includes information on whether to process the data packet as a normal protocol by examining the data packet to a certain extent (length) to identify the protocol, information on the time of a network connection attempt or the protocol examination cycle, information on the protocol examination performing entity, and a series of information related to network connection release, control flow release, and isolation in case of non-compliance with the protocol.

[0054] The service policy database (215) may include service IP and port information, protocol information (e.g., HTTP, FTP, IoT-specific protocol, etc.) that a connection target (e.g., a node) can access through a proxy (e.g., a proxy included in a gateway (101)) according to the connection policy (211). In addition, the service policy database (215) may include whether service request filtering is necessary, a service request filtering processing method, filtering information (e.g., personal information, harmful service request information), and a series of information for blocking unnecessary or dangerous service requests in advance in the proxy. According to an embodiment, the service policy database (215) may include a series of information for setting the number of service requests possible per certain time unit and adjusting the number of service requests in the proxy accordingly when QoS (Quality of Service) for a service request is required.

[0055] The control flow table (216) is an example of a session table for managing the flow of control data packets (e.g., control flows) generated between the access control application and the control server (102). When successfully connecting to the control server (102), control flow information may be generated by the control server (102). The control flow information may include identification information of the control flow, an IP address identified when connecting to and authenticating the control server (102), node identification information, target application identification information, information additionally identified through connection with the service server, etc. For example, when a connection to the service server is requested, the control server (102) may search for control flow information through the control flow identification information, and may determine (decide) whether the node can connect to the service server, whether to generate a data flow for data packet transmission, etc. by mapping the identification information included in the searched control flow information to the access policy database (211).

[0056] In one embodiment, a control flow may have an expiration time. The access control application must periodically / aperiodically update the expiration time of the control flow, and if the expiration time is not updated for a certain period of time, the control flow (or control flow information) may be removed. Furthermore, if it is determined that immediate access blocking is necessary based on security events collected from the target application and / or gateway (101), or if a connection termination request from the target application is received, the control server (102) may remove the control flow. When the control flow is removed, previously generated data flows are also removed, so access to the service server through the corresponding gateway (101) may be blocked.

[0057] The data flow table (217) is a table for managing the flow (e.g., data flow) of detailed data packets transmitted between a node and a gateway (101), and may include data flow information for managing a target application of the node, a tunnel and / or a session in the gateway (101), and a service server.

[0058] Since data flow identification information (e.g., ID) for identifying a data flow and node identification information (e.g., MAC address information) can create one or more logical connections with a service server, the data flow table (217) can be managed based on the control flow ID.

[0059] According to an embodiment, the data flow table (217) may include at least a portion of the following: an application and a minimum identification unit of the application; information for the gateway (101) to determine whether network connection is possible based on the source IP, destination IP, and service port information of the data packet; a series of information (authentication information, encryption algorithm, Tunnel End Point IP, etc.) required to create a tunnel with the gateway (101) on the connection path; data flow status information regarding whether the data flow is available; and authentication expiration time information required when periodically authenticating the data flow.

[0060] According to an embodiment, the data flow table (217) may include authentication information. For example, the authentication information may include a series of information for checking whether an authorized node transmitted a data packet, a method for checking authentication information by protocol (e.g., in the case of TCP, TCP SYN packet inspection, in the case of UDP, authentication information inspection by data packet or authentication information inspection at regular intervals (or cycles), inspection method, etc.), information for decrypting authentication information, algorithm information for generating and verifying authentication information, and a series of information included in the algorithm (e.g., information such as a Secret Key when generating an HMAC OTP, etc.).

[0061] According to an embodiment, the data flow table (217) may include certificate information issued in advance to process a request for creating a secure session of an authorized connection target (e.g., a node).

[0062] According to an embodiment, the data flow table (217) may include service information. For example, the service information may include service IP and port information that an allowed connection target can access through the proxy, protocol information (e.g., HTTP, FTP, IoT-specific protocol, etc.), whether service request filtering is necessary, a service request filtering processing method, and filtering information (e.g., personal information, harmful service request information). In addition, the service information may include a series of information for blocking unnecessary or dangerous service requests in advance at the proxy, and a series of information for setting the number of service requests possible in a certain time unit when QoS (Quality of Service) for the service request is required, and adjusting the number of service requests at the proxy accordingly. According to an embodiment, the service information may be generated based on a service policy (318).

[0063] According to an embodiment, the data flow table (217) may be identically stored in the node and / or gateway (101) where the access control application is installed.

[0064] The tunnel table (218) may include identification information of a tunnel created between a target application and a gateway (101), an IP address of the tunnel, etc. For example, the control server (102) may determine whether a tunnel has been created between the target application and the gateway (101) based on the tunnel table (218). In addition, the tunnel table (218) is a table for managing tunnels connected between the target application and the gateway (101), and may be configured with a tunnel ID for managing and identifying a tunnel when a valid tunnel exists, a control flow ID for control between the gateway (101) and the control server (102), and additional information for managing a TEP (tunnel endpoint), a TSP (tunnel start point), a tunnel algorithm and type, an encryption level, etc.

[0065] The blacklist database (219) may include a list of objects blocked by the blacklist policy database (220). For example, if the identification information of a target application requesting network access is included in the blacklist database (219), the control server (102) may isolate the target application by rejecting the network access request.

[0066] The blacklist policy database (220) may represent a blacklist registration policy for blocking access of a target (e.g., at least one of a node ID (identifier), IP address, MAC (media access control) address, and user) identified through analysis of the risk level, occurrence cycle, and / or behavior of a security event among security events periodically collected from a node or gateway (101).

[0067] FIG. 3 illustrates a functional block diagram of a gateway (101) according to various embodiments. Referring to FIG. 3, the gateway (101) may include a processor (310), a memory (320), and a communication circuit (330).

[0068] The processor (310) may control the overall operation of the gateway (101). In various embodiments, the processor (310) may include a single processor core or multiple processor cores. For example, the processor (310) may include multi-cores such as dual-core, quad-core, or hexa-core. According to embodiments, the processor (310) may further include cache memory located internally or externally. According to embodiments, the processor (310) may be configured with one or more processors. For example, the processor (310) may include at least one of an application processor, a communication processor, or a graphical processing unit (GPU).

[0069] All or part of the processor (310) may be electrically or operatively coupled with or connected to other components (e.g., memory (320), communication circuitry (330)) within the control server (102). The processor (310) may receive commands from other components of the gateway (101), interpret the received commands, and perform calculations or process data according to the interpreted commands. The processor (310) may interpret and process messages, data, commands, or signals received from the memory (320) and communication circuitry (330). The processor (310) may generate new messages, data, commands, or signals based on the received messages, data, commands, or signals. The processor (310) may provide the processed or generated messages, data, commands, or signals to the memory (320) and communication circuitry (330).

[0070] The processor (310) can process data or signals generated or produced by a program. For example, the processor (310) can request instructions, data, or signals from the memory (320) to execute or control the program. The processor (310) can record (or store) or update instructions, data, or signals in the memory (320) to execute or control the program.

[0071] The memory (320) may store commands, control command codes, control data, or user data for controlling the gateway (101). For example, the memory (320) may include at least one of an application program, an operating system (OS), middleware, or a device driver.

[0072] The memory (320) may include one or more of volatile memory or non-volatile memory. The volatile memory may include dynamic random access memory (DRAM), static RAM (SRAM), synchronous DRAM (SDRAM), phase-change RAM (PRAM), magnetic RAM (MRAM), resistive RAM (RRAM), ferroelectric RAM (FeRAM), etc. The non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, etc.

[0073] The memory (320) may further include a non-volatile medium such as a hard disk drive (HDD), a solid state disk (SSD), an embedded multi media card (eMMC), or a universal flash storage (UFS).

[0074] The communication circuit (330) can support the establishment of a wired or wireless communication connection between the gateway (101) and an external electronic device (e.g., the control server, the service server, etc. of FIG. 1), and the performance of communication through the established connection. According to one embodiment, the communication circuit (330) includes a wireless communication circuit (e.g., a cellular communication circuit, a short-range wireless communication circuit, or a GNSS (global navigation satellite system) communication circuit) or a wired communication circuit (e.g., a LAN (local area network) communication circuit, or a power line communication circuit), and can communicate with an external electronic device through a short-range communication network such as Bluetooth, WiFi direct, or IrDA (infrared data association), or a long-range communication network such as a cellular network, the Internet, or a computer network using the corresponding communication circuit. The various types of communication circuits (330) described above can be implemented as one chip or can be implemented as separate chips.

[0075] For reference, the above has described the structure of the gateway (101), but the same / similar description may also be applied to the control server (102), nodes (103_1, 103_2), authentication server (104), and / or service server (105_1, 105_2).

[0076] FIGS. 4A and 4B illustrate operations for controlling transmission of data packets according to various embodiments.

[0077] Referring to FIG. 4A, when a network connection request to a service server from a target application (e.g., malware) is detected by the access control application, and the access control application or gateway (101) is not connected to the control server (102), the access control application can block the transmission of data packets in the kernel or network driver including the operating system. Through the access control application, the control server can preemptively block connections from malicious nodes in the application layer of the OSI layer.

[0078] A node (103) connected to a connection control application must perform authentication by connecting to an external server (e.g., control server (102)). After performing authentication, when connecting to a service server (105), it queries the control server (102) for connection network information to check whether connection is possible, and if connection is possible, it can transmit a data packet to the service server (105).

[0079] The gateway (101) can confirm the data packet received from the target application through an external server (e.g., control server (102)), and if the data packet is transmitted by an authorized target application, it can allow transmission of a response data packet to the target application. For example, the gateway (101) can check whether a tunnel has been created with the target application from which the data packet was received, and can forward the data packet to the destination only if a tunnel has been created. Consequently, unauthorized nodes are basically unable to communicate with each other, and even authorized nodes cannot transmit or receive data packets unless a tunnel determined by the control server (102) is created.

[0080] Additionally, referring to FIG. 4b, when a data packet is received from a target application, the gateway (101) can determine whether the node and / or target application is authenticated, and if the node and / or target application is not authenticated, can drop the data packet.

[0081] Figure 5 is a drawing for explaining the operation of the gateway (101) according to the target application type.

[0082] Referring to FIG. 5, when a node (103) on which an access control application is not installed attempts to access a service server (105_1, 105_2), the gateway (101) can determine whether the service request is based on a universal protocol. If the request is a universal protocol (e.g., IETF RFC standard protocols such as HTTP and FTP) that can be processed by the proxy of the gateway (101), the gateway (101) can perform detailed service access control based on data flow. On the other hand, if the request is a native protocol that cannot be processed by the proxy, the gateway (101) can perform access control based on data flow and data packet inspection.

[0083] Figure 6 schematically illustrates the process of forwarding data packets from a node on which an access control application is not installed.

[0084] Referring to FIG. 6, in operation 605, a node (103) on which a connection control application is not installed may transmit a series of data packets for connection to a service server, and the data packets may pass through a gateway (101) located at the boundary between the service server and the node.

[0085] And, in operation 610, the gateway (101) can check whether the data packet is transmitted from a node (103) on which the access control application is not installed by referring to the data flow information obtained from the control server (102). If it is confirmed that the data packet is transmitted from a node (103) on which the access control application is not installed, the gateway (101) can check whether there is a data flow that can access the service server IP and port based on the source IP (e.g., node IP).

[0086] In operation 615, if it is confirmed that an accessible data flow exists, since the node (103) has already obtained minimum authentication and access rights from the control server (102), the gateway (101) can forward the data packet to the service server based on the data flow obtained from the control server (102). At this time, by updating the time or timestamp information corresponding to the last data packet forwarding time, the control server (102) can be made aware that the node (103) is continuously performing network access through periodic data flow synchronization between the gateway (101) and the control server (102).

[0087] On the other hand, if no data flow exists, the node (103) may be considered an unauthenticated node. In such a case, the gateway (101) may check whether the data packet obtained from the node (103) is a data packet of an authenticable protocol (e.g., a data packet using the HTTP protocol) in order to induce the node (103) to install an access control application or to communicate with an authentication server (104) for separate authentication.

[0088] In operation 625, if it is a data packet of an authenticable protocol, the data packet is forwarded to an external server (e.g., an authentication server (104)) by performing NAT (Network Address Translation) processing on the destination IP and port included in the IP header of the data packet based on the external server IP and external server port information, and in operation 630, the authentication server (104) can receive the data packet. If it is not a data packet of an authenticable protocol (e.g., a data packet using the HTTP protocol), the gateway (101) may drop the data packet, but is not limited thereto, and similarly to the case of a data packet of an authenticable protocol, it may be forwarded to the authentication server (104) after NAT processing.

[0089] Figure 7 schematically illustrates the authentication processing process when a node (103) on which an access control application is not installed transmits a service request.

[0090] Referring to FIG. 7, in operation 705, a node (103) on which an access control application is not installed may attempt to access a service by executing the application, and may transmit a service request accordingly in operation 710. In operation 715, the service request of the node (103) may be forwarded to an external server (e.g., an authentication server (104)) after NAT processing through the gateway (101). However, the present invention is not limited thereto, and the node (103) may also directly transmit the service request to the authentication server (104).

[0091] And, in operation 720, the authentication server (104) may receive a service request and, in operation 725, return authentication-related service information for installing an access control application or performing separate authentication to the node (103).

[0092] In addition, at operation 730, the node (103) receives a service connection result and, based on the received service connection result (e.g., authentication-related service information), installs a connection control application to attempt network connection or performs network connection through an authentication procedure. This will be described with reference to FIG. 8.

[0093] Figure 8 schematically illustrates authentication-related service information output through the node's display.

[0094] A node (user) can perform an authentication procedure by (i) installing a connection control application (network connection control application) based on the authentication-related service information illustrated in FIG. 8, or (ii) using a separate authentication method (user ID-based authentication, QR authentication, Multi Factor Authentication, etc.) provided by the authentication server (104). When authentication for a node is completed, the control server (102) generates data flow information including information on a service server to which the node can connect and transmits the data flow information to the gateway (101), after which the node can connect to the service server.

[0095] Figure 9 schematically illustrates a process in which a node (103) performs an authentication procedure according to a separate authentication method provided by an external server (e.g., an authentication server (104)).

[0096] Referring to FIG. 9, when a node (103) transmits an authentication request to an external server (e.g., an authentication server (104)), it may be transmitted to a gateway (101) as in operation 905, and then forwarded to the authentication server (104) after NAT processing through the gateway (101) in operation 910, but is not limited thereto, and the node (103) may also directly transmit an authentication request to the authentication server (104).

[0097] In operation 915, when an authentication request is received, processing of the authentication request may be performed by an authentication server (104) or a control server (102) including an authentication server function, and in operation 920, the authentication server (104) may perform processing of the authentication request by processing an authentication request received from a node (103) or an authentication request by another authentication system (e.g., Multi Factor Authentication, etc.) connected to the authentication server (104).

[0098] The authentication server (104) can check the information related to the authentication request transmitted by the node (103), and if authentication fails, return authentication failure information to the node (103).

[0099] If authentication is successful, in operation 925, the authentication server (104) can request authentication from the control server (102) based on node identification information (operating system information of the node that has been authenticated, terminal type information, etc.), source IP information, user identification information, etc. identified during the authentication process.

[0100] The control server (102) can generate a control flow based on authentication request information (node ​​identification information (operating system information of the node for which authentication has been completed, terminal type information, etc.), origin IP information, user identification information, etc.) received from the authentication server (104) and add the control flow to the control flow table.

[0101] In addition, in operation 930, the control server (102) checks whether there is a service server that the node (103) can connect to by looking up the access policy database, and if there is a service server that can connect, the control server (102) checks the source IP, destination IP, service port information, the protocol of the data packet transmitted and received between the service servers so that the node (103) can connect to the service server, the protocol identification signature and version information for identifying the protocol information included when transmitting and receiving the data packet, header information, and protocol information, etc., and the data packet is inspected to identify the protocol to a certain extent (length) as needed, information on whether to process it as a normal protocol, information on whether to inspect the protocol at the time of a network connection attempt or periodically, and status information on whether the inspection is completed or whether further inspection is required, and the service IP and port information that can be accessed through the proxy included in the gateway (101), protocol information (e.g., HTTP, FTP, IoT-specific protocol, etc.), and whether service request filtering is necessary, the service request filtering processing method, and filtering information (e.g., personal information, harmful services). A series of data flow information including a series of information for blocking unnecessary or dangerous service requests in advance from the proxy, a series of information for setting the number of service requests possible in a certain time unit when QoS (Quality of Service) for the service request is required and adjusting the number of service requests from the proxy accordingly, and certificate information for verifying whether the access target is a target permitted when creating a security session, is generated, and in operation 935, the data flow information can be transmitted to the gateway (101), and in operation 940, result information can be returned to the authentication server (104).

[0102] And, in operation 945, when the authentication server (104) returns the authentication request processing result to the node (103), the node (103) can access the service server with the second access right (e.g., minimum access right) without installing an access control application.

[0103] The case where a node that has completed authentication as above requests deauthentication will be explained with reference to Fig. 10.

[0104] Referring to FIG. 10, a node (103) can transmit a de-authentication request to an external server (e.g., an authentication server (104)) through an authentication de-authentication request function. At this time, after transmitting a de-authentication request to a gateway as in operation 1005, a related data packet can be forwarded to the authentication server after NAT processing at the gateway (101) as in operation 1010, but is not limited thereto, and the node (103) can also transmit a de-authentication request to the authentication server (104).

[0105] In operation 1015, the authentication server (104) receives a deauthentication request, and the deauthentication request processing can be performed by the authentication server (104) or the control server (102) including the authentication server function, and in operation 1020, the authentication server (104) can process the deauthentication request by processing the deauthentication request received from the node (103) or the deauthentication request of another authentication system (e.g., Multi Factor Authentication, etc.) connected to the authentication server (104).

[0106] The authentication server (104) can check information related to the authentication deactivation request transmitted by the node (103), and if the authentication deactivation request fails, return authentication failure information to the node (103).

[0107] In operation 1025, if the information for deauthentication is valid, the authentication server (104) may request the control server (102) to deauthenticate the node (103) based on the identified node identification information (operating system information of the authenticated node, terminal type information, etc.), source IP information, user identification information, etc.

[0108] In operation 1030, the control server (102) removes the control flow according to the authentication de-authentication request information (node ​​identification information (operating system information of the node that has been authenticated, terminal type information, etc.), source IP information, user identification information) received from the authentication server (104), and can remove a series of data flow information dependent on the control flow.

[0109] In operation 1035, the control server (102) can propagate the removed data flow information to the gateway (101), and in operation 1040, return the result of the authentication deactivation request processing to the authentication server (104).

[0110] And, in operation 1045, the authentication server (104) returns the result of the authentication de-authentication request processing to the node (103), and if the authentication de-authentication is completed, the node (103) may be in a state where it can access the service server only after installing an access control application or performing a separate authentication process.

[0111] FIG. 11 illustrates data packets according to various embodiments related to authentication information required for creating a logical connection.

[0112] Referring to FIG. 11, a UDP data packet (1110) containing node (terminal) header information may include an IP header, a node header (Device Header), and a payload. For example, the node header (1130) may include node identification information and node authentication information.

[0113] Additionally, a TCP data packet (1120) containing node header information may include an IP header, a TCP header, a node header, and a payload. For example, the node header (1130) may include node identification information and node authentication information.

[0114] According to an embodiment, the node authentication information may be information for commonly authenticating all network connections transmitted from the node (103) or for authenticating network connection units (destination IP and port).

[0115] The node (103) may generate a node header and include it in a data packet based on at least one of a method of inserting node identification information and authentication information previously provided from the control server (102) (e.g., in the case of TCP, inserting TCP SYN packets; in the case of UDP, inserting authentication information for each data packet or inserting authentication information at regular intervals (or cycles), insertion method and timing, etc.), information for encrypting authentication information, algorithm information for generating authentication information, and a series of information included in the algorithm (e.g., information such as a Secret Key when generating HMAC OTP). The node header included in the data packet may be checked to determine whether it is a normally transmitted data packet by performing authentication by the gateway (101) or the control server (102).

[0116] Figure 12 schematically illustrates a connection step of a node (103) on which a connection control application is installed to an external server (e.g., a control server (102)).

[0117] Referring to FIG. 12, in operation 1205, a connection control application installed on a node (103) may request a connection to a control server (102) to create a control flow (control data packet flow and a series of sessions).

[0118] In operation 1210, the control server (102) verifies the connection request, and based on the policy database (e.g., connection policy database, tunnel policy database, blacklist database, etc.), the access control application can refer to the information requested for connection (type of node, location information, environment and network including node, access control application information, user or device authentication information for identifying whether the node is an authorized node, etc.) to check whether the node (103) is in a connectable state, and can check whether the node and network identification information (node ​​ID, IP, MAC address, etc.) is included in the blacklist.

[0119] If connection to node (103) is impossible or included in a blacklist, the control server (102) transmits connection inability information to node (103), and node (103) can stop and terminate execution of the connection control application or output related error information.

[0120] On the other hand, in operation 1215, if it is determined to be a connectable node, the control server (102) can generate a control flow, generate a control flow ID in the form of a random number, and add node and network identification information (node ​​ID, IP, MAC address, etc.) to the control flow table.

[0121] In operation 1220, the control server (102) can refer to the access policy database and tunnel policy database that match the identified information (node, source network information, etc.) to check whether there is destination network information that the currently connected node (103) can connect to by default, and can generate a whitelist of applications that can be connected.

[0122] The control server (102) can return a control flow ID and application whitelist information for identifying the control flow.

[0123] In addition, the control server (102) lists the types of tunnels and gateways (101) that can be connected to the node (103) by referring to the type of node (103), location information, environment, and network information including the node (103), IP of the node (103), and can identify the optimal tunnel and optimal gateway by checking the status (throughput, failure status) of the listed gateways.

[0124] In operation 1225, if there is a tunnel and gateway accessible to the node (103), the control server (102) can transmit a series of information, such as a gateway and tunnel authentication for creating a tunnel, to the node (103).

[0125] In operation 1230, when a new tunnel needs to be created, the node (103) requests the gateway (101) to create a tunnel based on a series of information required for tunnel creation, such as a gateway for tunnel creation and tunnel authentication, received from the control server (102), thereby creating a tunnel.

[0126] When tunnel creation is completed, the control server (102) can obtain tunnel creation completion information and / or dedicated IP information set according to tunnel creation, register the tunnel dedicated IP and the corresponding tunnel creation information in the tunnel table, and update a series of information transmitted by the node (103) in the control flow.

[0127] In operation 1235, if a new tunnel is not created and a connection is made through a pre-connected tunnel between a gateway (101) existing in the network to which the node (103) belongs and a gateway (101) existing at the destination network boundary, or if a connection is made between the node (103) and the destination network boundary through another tunnel technology, the control server (102) may not transmit separate tunnel creation information to the node (103). If tunnel creation is not required, an application whitelist check may be performed.

[0128] In operation 1240, the control server (102) refers to the access policy database and the service policy database to allow access of a node connected to the network according to the application installation list transmitted by the node (103) to confirm the gateway where the node is located, and allows access to the network without a network access request procedure by the node, and includes protocol information including a source IP, a destination IP, service port information, information for examining the protocol of the data packet transmitted and received by the application, a protocol identification signature and version information, header information, and protocol information included when transmitting and receiving the data packet, and information on whether to examine the data packet to a certain extent (length) to identify the protocol and process it as a normal protocol, whether the network access control application will perform the protocol inspection or whether to transmit the data packet information to the controller, information on whether to examine the protocol at the time of a network access attempt or periodically, and status information on whether the inspection has been completed or whether further inspection is required, and service IP and port information that can be accessed through a proxy included in the gateway, and protocol information (e.g., HTTP, FTP, IoT) A method of processing service request filtering (e.g., dedicated protocol, etc.) and filtering information (e.g., personal information, harmful service request information), a series of information for blocking unnecessary or dangerous service requests in advance from the proxy, a series of information for setting the number of service requests possible in a certain time unit when QoS (Quality of Service) for the service request is required and adjusting the number of service requests from the proxy accordingly, data flow information including certificate information to verify whether the access target is an allowed target when creating a security session, etc. is generated / updated / processed, and in operations 1245 and 1250,The information is transmitted to the node (103) and the gateway, and in operation 1255, the gateway (101) can receive the data flow information.

[0129] And, when the node (103) and / or gateway (101) receives updated data flow information from the control server (102), it can update the data flow information by referring to it.

[0130] Figure 13 schematically illustrates the user authentication step of a node (103) on which an access control application is installed.

[0131] Referring to FIG. 13, in operation 1305, the access control application of the node (103) may request user authentication by transmitting authentication information using a user ID and password or an enhanced authentication method after creating a control flow with an external server (e.g., control server (102)).

[0132] In operation 1310, the control server (102) receives a user authentication request, and checks whether the user of the corresponding node (103) is a user who can access based on the information (user ID and password, reinforced authentication information, etc.) requested for authentication by the access control application, and whether the user is included in a blacklist, thereby checking whether the user is blocked, and if access is not possible or included in a blacklist, information indicating that access is not possible can be transmitted to the node (103).

[0133] In operation 1315, if it is confirmed that the user is a user with access, the control server (102) can search for a corresponding control flow in the control flow table by referencing the control flow ID, add user identification information (user ID) to the identification information of the control flow, and return an authentication completion status and access policy information of the authenticated user as a result of user authentication to the node (103).

[0134] In operation 1320, the control server (102) can refer to the access policy database and tunnel policy database that match the identified information (node, source network information, etc.) to check whether there is destination network information to which the currently connected node (103) can connect, and can generate a whitelist of applications that can be connected.

[0135] If connection is possible, the node (103) can list the types of tunnels and gateways that the node (103) can connect to through the type, location information, environment, network that the node is included in the control flow, the IP of the node identified through the control server (102), and the IP of the node identified in the node, in order to connect to the destination network, and check the status (throughput, failure status) of the listed gateways to identify the optimal tunnel and optimal gateway.

[0136] In operation 1325, if there is a tunnel and gateway accessible to the node (103), the control server (102) can transmit a series of information, such as a gateway and tunnel authentication for creating a tunnel, to the node (103).

[0137] In the case where a tunnel is not created between a node (103) and a gateway (101), but rather a connection is made through a tunnel previously connected between a gateway (101) existing in the network to which the node (103) belongs and a gateway (101) existing at the destination network boundary, or a connection is made between the node (103) and the destination network boundary through another tunnel technology, separate tunnel creation information may not be transmitted to the node (103).

[0138] In operation 1330, the node (103) processes the result value of the user authentication request processing received from the control server (102), and if tunnel creation is required, a tunnel can be created by requesting tunnel creation to the gateway (101) based on a series of information required for tunnel creation, such as the gateway (101) for tunnel creation and tunnel authentication received from the control server (102).

[0139] When tunnel creation is completed, the node (103) can transmit tunnel creation completion information and IP information, if there is a dedicated IP set according to tunnel creation, to the control server (102). In operation 1335, when an application whitelist is received from the control server (102), the result of checking whether the corresponding application is installed on the node (103) can be transmitted to the control server (102).

[0140] In operation 1340, if tunnel creation is completed according to the result of tunnel creation processing, the control server (102) can register the tunnel-dedicated IP assigned to the node (103) and the corresponding tunnel creation information in the tunnel table and update a series of information transmitted by the node (103) to the identified control flow.In addition, in order to allow access of a node connected to the network according to the application installation list transmitted by the node (103), the gateway where the node is located is confirmed in the access and service policy, and the source IP, destination IP, service port information, information for examining the protocol of the data packet transmitted and received by the application so that the node can allow network access without a network access request procedure, protocol identification signature and version information, header information, protocol information, etc. for identifying the protocol information included when transmitting and receiving the data packet, and information on whether to examine the data packet to a certain extent (length) as necessary to identify the protocol and process it as a normal protocol, whether the protocol inspection will be performed by the access control application or by transmitting data packet information to the controller, information on whether to examine the protocol at the time of a network access attempt or periodically, and status information on whether the inspection has been completed or whether further inspection is required, and service IP and port information that can be accessed through the proxy included in the gateway, protocol information (e.g., HTTP, FTP, IoT-specific protocol, etc.), and whether service request filtering is necessary, service request filtering processing method, filtering It includes information (e.g., personal information, harmful service request information), a series of information for blocking unnecessary or dangerous service requests in advance from the proxy, a series of information for setting the number of service requests possible in a certain time unit when QoS (Quality of Service) for service requests is required and adjusting the number of service requests from the proxy accordingly, and data flow information including certificate information to verify whether the access target is an allowed target when creating a secure session can be generated.In operation 1345 and operation 1350, the control server (102) transmits the corresponding information to the node (103) and the gateway (101), and in operation 1355, the gateway (101) can receive the data flow information.

[0141] If tunnel creation is deemed unnecessary by the control server (102) or tunnel creation is completed, the control server (102) can obtain tunnel creation completion information and / or dedicated IP information set according to tunnel creation, register the tunnel dedicated IP assigned to the node (103) and the corresponding tunnel creation information in the tunnel table, and update a series of information transmitted by the node (103) to the identified control flow.

[0142] And, when updated data flow information is received from the control server (102), the node (103) can refer to this and update the data flow information stored in the node (103).

[0143] Figure 14 schematically illustrates the network connection processing steps of a node (103) on which a connection control application is installed.

[0144] Referring to FIG. 14, at step 1405, the access control application of node (103) can detect network access of a target application. At step 1410, the presence of data flow information can be determined based on the target application identification information, destination IP address, and port information for communication with the destination network (1410). If a valid data flow exists, the access control application can transmit a data packet to the gateway. If a data flow exists but is invalid (e.g., in a state where transmission is not possible or network access has been previously denied by the control server (102), the data packet can be dropped.

[0145] In operation 1415, if a data flow needs to be updated due to reasons such as a data flow not existing or an authentication time expired, a network connection request may be sent.

[0146] In operation 1420, the control server (102) can refer to a connection policy database that matches the information (node, application, source network information, etc.) identified in the control flow to check whether the connection request identification information (destination IP and service port information, etc.) is included and whether connection to the service server mapped to the identification information is possible.

[0147] If connection to the mapped service server is not possible, the control server (102) may transmit a connection failure result to the node (103), which may cause data packets to be dropped.

[0148] If connection to the mapped service server is possible, the control server (102) can check whether a tunnel has been created in the tunnel table to connect to the network.

[0149] In operation 1425, if a tunnel is not created, the control server (102) refers to at least a portion of the tunnel policy database and the protocol policy database to determine whether a tunnel must be created in order to access the corresponding service, and if it is determined that a tunnel must be created, the control server (102) can transmit a connection failure result to the node (103).

[0150] If it is determined that a tunnel has already been created or that tunnel creation is unnecessary, the control server (102) can check whether a valid data flow corresponding to the information requested by the node (103) for connection (destination IP and service port information, etc.) exists in the data flow table.

[0151] If a valid data flow exists, the corresponding information (network connection request result value) can be transmitted to the node (103) and / or gateway (101).

[0152] In operation 1430, if there is no valid data flow, the control server (102) includes protocol information including a source IP, a destination IP, service port information, protocol information included when transmitting and receiving data packets as information for examining the protocol of the data packets transmitted and received by the corresponding application, a protocol identification signature and version information, header information, protocol information, etc. for identifying the protocol and whether to process the data packets to a certain extent (length) to identify the protocol and whether to process it as a normal protocol, whether to perform the protocol inspection by the network access control application or to transmit the data packet information to the controller, information on whether to inspect the protocol at the time of a network access attempt or periodically, and status information on whether the inspection is completed or whether further inspection is required, and service IP and port information that can be accessed through a proxy included in the gateway, protocol information (e.g., HTTP, FTP, IoT-specific protocol, etc.) and whether service request filtering is necessary, a service request filtering processing method, filtering information (e.g., personal information, harmful service request information), and for blocking unnecessary or dangerous service requests in advance from the proxy. When a series of information and a QoS (Quality of Service) for a service request are required, a series of information for setting the number of possible service requests in a certain time unit and adjusting the number of service requests from a proxy accordingly, data flow information including certificate information to check whether the connection target is a target permitted when creating a security session, etc. are generated, and in operation 1440, the information is transmitted to the gateway (101), and in operation 1435, the result of processing the network connection request can be transmitted to the node (103).

[0153] And, the connection control application can process the connection request result value received from the control server (102).

[0154] If data flow information is received from the control server (102), the access control application can update the data flow information stored in the node (103), and if the network connection request is successful, the data packet can be transmitted to the gateway (101).

[0155] Figure 15 schematically illustrates a tunneling-based data packet forwarding process of a node (103) on which an access control application is installed.

[0156] Referring to FIG. 15, in operation 1505, when tunnel creation is required, the node (103) may request tunnel creation to the gateway (101) based on a series of information required for tunnel creation, such as tunnel authentication and gateway (101) for tunnel creation received from an external server (e.g., control server (102)).

[0157] In operation 1505, the gateway (101) can perform a data flow inspection, and can check whether the data packet received from the node (103) is a data packet for tunnel creation processing, and whether the port on which the tunneling-related module exists within the gateway (101) is receiving is confirmed to be a port on which the tunneling-related module is receiving, and if it is confirmed that the port on which the tunneling-related module is receiving is confirmed, the data packet is forwarded, and in operation 1515, the tunnel creation is processed by referring to the data packet related to the tunnel creation request, and in operation 1520, the tunnel creation result can be transmitted to the node (103).

[0158] If the data packet is a port that the tunneling-related module is not receiving and is attempting to connect to an unauthorized source IP, destination IP, or port, the gateway (101) can drop the data packet.

[0159] And, in operation 1525, the node (103) receives the tunnel creation result, and if tunnel creation is completed, in operation 1530, it can perform a connection (transmit data packet) to the service server based on tunneling.

[0160] In operation 1535, the gateway (101) can perform a data flow inspection and, based on the tunneling IP assigned to the node (103), can determine whether the node (103) can connect to the service server by referring to the accessible data flow information received from the control server (102). In operation 1540, if the connection is possible, the data packet is forwarded to the service server, and in operation 1545, the service server can receive the data packet.

[0161] If the data packet attempts to connect to an unauthorized source IP, destination IP, or port, the gateway (101) may drop the data packet.

[0162] Figure 16 schematically illustrates a data packet forwarding process based on data packet authentication of a node (103) on which an access control application is installed.

[0163] Referring to FIG. 16, in operation 1605, when a logical connection (e.g., TCP authentication-based TCP Session creation, UDP authentication-based UDP-related Session or flow creation, etc.) is required between a node (103) and a service server, the node (103) may request the service server to create a logical connection based on a series of information required for creating authentication information for logical connection authentication received from the control server (102).

[0164] In operation 1610, the gateway (101) can perform a data flow check, and in order to verify a series of data packets for a logical connection received from a node (103), it can check whether the authentication information for the logical connection is valid based on the authentication information received from the control server (102), and whether connection to the service server is possible with the authentication information.

[0165] In operation 1615, if the authentication information is valid, the gateway (101) forwards the data packet to the service server, and if the authentication information is invalid or the network connection request is from a service server that cannot be connected with the authentication information, the gateway (101) can drop the data packet.

[0166] And, in operation 1620, a logical connection is created, and in operation 1625, a result of creating the logical connection is transmitted to the node (103), and when the node (103) receives the result of creating the logical connection in operation 1630, the node (103) can transmit a data packet to the service server based on the logical connection in operation 1635.

[0167] In operation 1640, the gateway (101) examines data flow information received from the control server (102) based on logical connection information assigned to the node (103), and in operation 1645, if the node (103) can connect to the service server, forwards the data packet to the service server, and in operation 1650, the service server can receive the data packet.

[0168] If the data packet attempts to access a service based on an unauthorized logical connection, the gateway (101) may drop the data packet.

[0169] Through this process, the gateway (101) can perform network access and data packet transmission control only for nodes (103) to which authentication-based logical connections have been granted.

[0170] Figure 17 is a flowchart schematically illustrating the process by which a gateway (101) examines a protocol.

[0171] Referring to FIG. 17, in operation 1705, the gateway (101) can receive a data packet transmission event from the network kernel of the operating system, and in operation 1710, can perform a data flow inspection.

[0172] For example, the gateway (101) can check whether data flow information exists by using one or more of the destination IP and port information, protocol information (e.g., TCP, UDP, etc.), and source IP or logical connection information included in the received IP header.

[0173] If no valid data flow exists, the gateway (101) may drop the data packet.

[0174] In operation 1715, if a valid data flow exists, the gateway (101) can determine whether a protocol inspection is necessary based on the protocol inspection status (whether a protocol inspection is necessary, whether a protocol inspection is completed by inspection of a previous data packet transmission, whether a protocol inspection is necessary periodically, etc.) included in the protocol information included in the data flow.

[0175] If protocol inspection is not required, the gateway (101) can forward the data packet to the service server.

[0176] If protocol inspection is required, protocol inspection can be performed by a gateway (101) or an external server (e.g., a control server (102)).

[0177] In operation 1720, when the gateway (101) directly performs protocol inspection, the gateway (101) checks whether the data packet contains or complies with a signature and version information, header information, and protocol information for identifying whether the data packet is an allowed protocol based on information for inspecting the protocol of the data packet included in the data flow, and can inspect the data packet up to the inspection range (length) included in the protocol information as needed.

[0178] If the protocol check is successful, the protocol check status changes to completed, and data packets can be forwarded.

[0179] In operation 1725, if the protocol inspection fails, the gateway can drop the corresponding data packet, remove the data flow, and in operation 1730, transmit the protocol inspection result including the control flow identification information to the control server (102). In operation 1735, the control server (102) can receive the protocol inspection result and determine the risk level by referring to the corresponding protocol policy database and blacklist policy database.

[0180] In operation 1740, if the risk is low, the control server (102) can remove the data flow and propagate the updated data flow to the gateway (101). On the other hand, if the risk is high, the control server (102) can remove the control flow and tunnel so that the node (103) can no longer maintain network connection, and propagate the updated control flow, data flow, and tunnel information to the gateway (101). If the risk is severe, the control server (102) can add the identified node (103) to a blacklist so that it can no longer access the node after performing the above-described control flow removal procedure.

[0181] And the gateway (101) can process the result value upon receiving the protocol inspection result transmission result from the control server (102).

[0182] Meanwhile, although not shown in Fig. 17, the same / similar description may be applied even when protocol inspection is performed by the control server (102).

[0183] For example, the gateway (101) may collect all data packets or, if necessary, up to the inspection range (length) included in the protocol information to identify whether the data packet is an allowed protocol based on information for inspecting the protocol of the data packet included in the data flow.

[0184] And, the gateway (101) can request a protocol inspection to the control server (102) including the collected data packet and data flow identification information.

[0185] The control server (102) can check whether the data packet contains or complies with the signature and version information, header information, and protocol information based on the identified data flow information and the protocol information included in the data flow.

[0186] If the inspection is successful, the control server (102) can change the status of the inspection of the received data packet of the data flow to complete and return the updated data flow information to the gateway (101).

[0187] On the other hand, if the inspection fails, the control server (102) can determine whether there is a risk based on the protocol policy and blacklist policy according to the protocol inspection result. If the risk is low, the control server (102) can remove the data flow and propagate the updated data flow information to the gateway (101). On the other hand, if the risk is high, the control server (102) can remove the control flow and tunnel so that the corresponding node (103) can no longer maintain network connection, and propagate the updated control flow, data flow, and tunnel information to the gateway (101). If the risk is severe, the control server (102) can add the corresponding node (103) to the blacklist so that it can no longer access after performing the above-described control flow removal procedure.

[0188] Figure 18 is a flowchart schematically illustrating the process by which a gateway (101) processes a service request.

[0189] Referring to FIG. 18, when a service request event is received in operation 1805, in operation 1810, a proxy included in the gateway (101) can perform a data flow inspection to check whether data flow information exists using the destination IP and port information and protocol information (e.g., TCP, UDP, etc.) included in the received IP header.

[0190] In operation 1840, if a data flow exists but is invalid (e.g., data packet transmission unavailable state) or if a data flow does not exist, the gateway (101) may reject the service request.

[0191] If a valid data flow exists, the gateway (101) can check whether service information allowing the service request exists within the data flow information based on the destination IP or domain identification information and port information included in the received service request header.

[0192] If there is no service information that allows a service request, the gateway (101) may reject the service request.

[0193] If there is service information that allows a service request, the gateway (101) can determine whether QoS is required through the service request QoS information included in the service information.

[0194] In operation 1815, if service request QoS is required, the gateway (101) can perform service request QoS processing. The gateway (101) can check the number of service requests per certain time period included in the service request QoS information, and if it is confirmed that the number of service requests exceeds the allowable number of service requests per certain time period, the gateway (101) can delay the service request for a certain time period and then process it, or reject the service request to induce a service re-request, depending on the service request QoS method.

[0195] In operation 1820, if service request QoS is not required, the gateway (101) can filter service request information and, through service filtering information included in the service information, check whether the protocol of the service request (e.g., HTTP, FTP, or a dedicated protocol for IoT devices, etc.) is normal.

[0196] If the protocol of the service request is not normal, the gateway (101) may reject the service request.

[0197] Meanwhile, when filtering service request information, if replacement of information is required, the gateway (101) can replace the request information through replacement information or rules included in the service filtering information and transmit the service request.

[0198] On the other hand, if filtering of the service request is not required and / or substitution of the service request information is not required, the gateway (101) may transmit the service request.

[0199] If a service request requires blocking, the gateway (101) may reject transmission of the service request.

[0200] The gateway (101) can generate authentication information using the authentication information generation algorithm and additional information included in the authentication information of the data flow. The authentication information can then be encrypted using the encryption algorithm and encryption key included in the authentication information. Then, in operation 1825, the gateway (101) inserts a data flow header combining the encrypted authentication information and data flow identification information into the service request information according to the protocol specifications of the service application, and in operation 1830, transmits the service request.

[0201] In operation 1835, after processing a service request transmission or a service request rejection, the gateway (101) can reflect the number of service request processing times in the QoS statistical information included in the service information in the data flow.

[0202] Meanwhile, the gateway (101) can update the data flow through the following process.

[0203] For example, the gateway (101) updates the processing time or Timestamp information when forwarding a data packet or service request from a node (103) based on the data flow received from the control server (102), and may periodically request the control server (102) to update the data flow information.

[0204] And, the control server (102) can check whether data flow information exists by referring to the received data flow identification information.

[0205] If a data flow does not exist, the control server (102) can return invalid data flow information to the gateway (101) so that the node (103) has terminated the network connection and can no longer access the data flow information through the gateway (101).

[0206] In addition, the control server (102) checks the last connection processing time of the data flow, and if the time available after the first authentication has expired according to the authentication policy and re-authentication is required, or if the connection of the node (103) has been released, the control server can remove the data flow and control flow of the corresponding node (103), and return invalid data flow information to the gateway (101) so that the node (103) has terminated the network connection and can no longer be connected through the corresponding gateway (101).

[0207] Additionally, the gateway (101) can delete invalid data flows based on the received data flow information.

[0208] Referring to Fig. 19, the structure of service request information with a data flow header inserted by the gateway (101) can be confirmed.

[0209] The proxy included in the gateway (101) can insert data flow header information that can identify the target of the service request from the service server based on the authentication information included in the data flow into a portion suitable for the protocol of the service application (e.g., a header area in the case of HTTP) and retransmit the data flow header information to the service server, and return the service server's response value for the service request to the node (103).

[0210] A data flow header can be inserted to verify whether a data packet received from a control server (102) is authenticated by the service server based on the data flow in the data packet flow between the node (103), the gateway (101), and the service server.

[0211] These data flow headers may include data flow identification information and encrypted authentication information.

[0212] In an IP network, since a data packet has no identifiable information other than 5 Tuples information (protocol, source IP, port, destination IP, port), the service server cannot know whether the node (103) assigned the IP is actually authenticated and whether the application, which is the actual communication subject, was transmitted by an authorized target.

[0213] Accordingly, when processing a service request, the service server queries the control server (102) using the data flow identification information included in the data flow header to determine whether an authenticated target has connected, and receives additional information about the authenticated target stored by the control server (102) to perform authentication processing.

[0214] Additionally, encrypted authentication information, in addition to the data flow identification information included in the data flow header, may be used to verify whether an authenticated gateway (101) forwarded the service request.

[0215] At this time, the encrypted authentication information can be decrypted only by an authenticated target (i.e., when a data flow exists) through the authentication information encryption / decryption key included in the authentication information of the data flow received from the control server (102).

[0216] Decrypted authentication information may include information in the form of a One-Time Password (OTP) and Random Generation that changes at each authentication time, rather than being a fixed value at each data packet authentication time, such as data flow identification information.

[0217] In addition, the gateway (101) can generate OTP information that changes at each service request forwarding point based on information for OTP generation and verification included in the authentication information of the data flow, and forward service request information including data flow header information in which data flow identification information is inserted by encrypting the corresponding value.

[0218] The above description is merely an example of the technical idea disclosed in this document, and those skilled in the art to which the embodiments disclosed in this document pertain may make various modifications and variations without departing from the essential characteristics of the embodiments disclosed in this document.

[0219] Accordingly, the embodiments disclosed in this document are intended to illustrate, rather than limit, the technical concepts disclosed in this document, and the scope of the technical concepts disclosed in this document is not limited by these embodiments. The scope of protection of the technical concepts disclosed in this document should be interpreted by the claims below, and all technical concepts within the equivalent scope should be interpreted as being included within the scope of the rights of this document.

Claims

1. At the gateway, communication circuit; memory; and A processor operatively connected to the communication circuit and the memory, the processor comprising: Receive data packets for service requests from nodes, Check whether there is a data flow corresponding to the above data packet, If the above data flow is confirmed to exist, the data packet is forwarded to the destination network of the data packet, If it is confirmed that the above data flow does not exist, the data packet is forwarded to an external server, A gateway configured to receive information about the data flow from the external server based on the authentication result for the node after forwarding the data packet to the external server.

2. In paragraph 1, The above processor, After forwarding the above data packet to the external server, information about the data flow is received from the external server as the authentication result satisfies the authentication condition. The above authentication condition corresponds to at least one of the installation information of the access control application of the node and the authentication process execution information of the node.

3. In paragraph 2, The above processor, After the above access control application of the above node is installed, a tunnel creation request for creating a tunnel is received from the above node, Create the tunnel with the node based on the tunnel creation request, A gateway configured to communicate with the node through the tunnel.

4. In paragraph 1, The above processor, If it is confirmed that the above data flow does not exist, it is checked whether the above data packet is a data packet of an authenticable protocol, A gateway configured to convert the destination IP (internet protocol) and destination port of the data packet into an external server IP and external server port corresponding to the external server and then forward the data packet when the data packet is confirmed to be a data packet of the authenticable protocol.

5. In paragraph 1, The above processor, If it is confirmed that the above data flow exists, it is checked whether QoS is required for the service request based on the QoS (Quality of Service) information included in the data flow, If it is determined that the above QoS is required for the above service request, it is determined whether the above service request satisfies the critical service request condition corresponding to the above QoS information, A gateway configured to transmit the data packet after a preset time has elapsed or to request the node to retransmit the data packet if it is determined that the service request does not satisfy the threshold service request condition.

6. In paragraph 5, The above processor, If it is confirmed that the above service request satisfies the above critical service request condition or if it is confirmed that the above QoS is not required for the above service request, it is confirmed whether the protocol of the data packet is normal based on the filtering information included in the data flow, If the protocol of the above data packet is confirmed to be normal, it is determined whether replacement of the information included in the above data packet is necessary based on the above filtering information, A gateway configured to forward the data packet to the destination network by replacing the information included in the data packet based on at least some of the replacement information and replacement rules included in the filtering information, if the replacement is determined to be necessary.

7. In paragraph 1, The above processor, Generate authorized node identification information to identify authorized nodes based on data flow identification information, A gateway configured to insert the above-mentioned authorization node identification information into a data packet for the above-mentioned service request and forward it to the above-mentioned destination network.

8. In paragraph 1, The above processor, A gateway configured to check whether a data flow corresponding to the data packet exists by referring to the source IP included in the data packet.

9. On external servers, communication circuit; memory; and A processor operatively connected to the communication circuit and the memory, the processor comprising: When a data packet for a service request is obtained, authentication support information is transmitted to the node by referring to the data packet, Based on the above authentication support information, obtain a network connection request including a source IP (internet protocol) from the node, Verifying whether the node is accessible to the destination network based on the information included in the network connection request; An external server configured to transmit information about data flows to the gateway when connectivity is confirmed.

10. In paragraph 9, The above processor, When an access control application is installed on the node based on the above authentication support information, the node is granted first access rights to the destination network, An external server configured to grant the node second access rights to the destination network when the node authentication process is performed based on the above authentication support information.

11. In the method of operation of the gateway, A step of receiving a data packet for a service request from a node; A step of checking whether a data flow corresponding to the above data packet exists; and A method comprising the steps of: if it is confirmed that the data flow exists, forwarding the data packet to the destination network of the data packet; if it is confirmed that the data flow does not exist, forwarding the data packet to an external server; and then receiving information about the data flow from the external server based on the authentication result for the node.

12. In paragraph 11, The step of forwarding the above data packet to the destination network is: A step of generating authorization node identification information for identifying an authorized node based on data flow identification information; and A method comprising the step of inserting the above-mentioned authorization node identification information into the data packet and forwarding it to the destination network.

Citation Information

Patent Citations

  • Network device and method of forming tunnel of network device

    KR1020150060050A

  • Access point apparatus for consisting multiple secure tunnel, system having the same and method thereof

    KR1020150116170A

  • Tunneling and gateway access system optimized for distributed gateway environment and method therefor

    KR102349038B1

  • System for controlling network access based on controller and method of the same

    KR102377246B1

  • System for controlling network access based on controller and method of the same

    KR102460696B1