System for controlling network access and method therefor

The system addresses the limitations of traditional network access control by using a node with a connection control application to perform protocol checks and manage network access, ensuring secure and controlled communication in a zero-trust environment.

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

Patent Information

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

AI Technical Summary

Technical Problem

Traditional network access control technologies, such as IPS and IP-based VPNs, struggle to effectively identify and manage communication protocols at the application layer, leading to vulnerabilities in network security and inability to block unauthorized or malicious protocols, especially in zero-trust environments.

Method used

A system and method that includes a node with a communication circuit, processor, and memory storing a target application and connection control application, which detects data packet events and performs protocol checks to identify and block unauthorized protocols, using a controller to manage network access and create secure channels.

Benefits of technology

Enables secure network connections by effectively identifying and blocking unauthorized protocols, preventing indirect attacks and man-in-the-middle attacks, and providing granular control over network access, thereby enhancing overall network security beyond traditional IP-based solutions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2024002264_29082024_PF_FP_ABST
    Figure KR2024002264_29082024_PF_FP_ABST
Patent Text Reader

Abstract

A node according to an embodiment disclosed in the present document comprises: a communication circuit; a processor operatively connected to the communication circuit; and a memory that is operatively connected to the processor and stores a target application and an access control application, wherein the memory may be configured to, when executed by the processor, enable the node to: detect a data packet transmission event of the target application through the access control application; correspond to a data packet that the target application wants to transmit; identify whether a data flow received from an external server is present; on the basis of protocol information included in the data flow, autonomously inspect a protocol or inspect the protocol through the external server by identifying whether to perform a protocol inspection of the data packet autonomously or through the external server; and when the protocol inspection of the data packet is completed, transmit the data packet.
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-0023899, filed on February 22, 2023, and all contents of the document in that Korean Patent Application are incorporated herein by reference.

[0003] Technology field

[0004] The 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] A technology that performs network access control in response to network access events of an application that is the actual communication target of a node based on a tunneling or secure session and the channel containing it can preemptively block unauthorized or unsafe targets from accessing the network.

[0007] When an authorized application accesses a destination service and sends or receives actual data packets, a problem may arise where it is not possible to determine whether the data packets are being communicated via an authorized protocol based on the application and destination IP and port information, which are information identified by the network access control application.

[0008] A protocol is not a protocol that operates at the transport layer (Layer 4, Transport Layer) such as TCP (Transmission Control Protocol) and UDP (User Datagram Protocol) based on IP (Internet Protocol) in the 7 layers of the Open Systems Interconnection (OSI) model, but rather a protocol defined as an IETF (Internet Engineering Task Force) standard such as HTTP (HyperText Transfer Protocol) at the application layer (Layer 7, Application Layer). It can also mean a series of specifications for applications, which are the actual communication targets, to send and receive data packets.

[0009] IPS (Intrusion Prevention System), one of the traditional network boundary technologies that does not identify applications and control network access at the node, provides a technology that can transmit and receive only data packets of known protocols based on predefined DPI (Deep Packet Inspection) rules or pattern information. However, this network boundary technology has low performance because it processes all data packets transmitted by the node after receiving them, and because it cannot identify which target is actually performing the communication, there is a problem that effective protocol transmission and reception control is impossible when combined with various identification information (e.g., user, node, application).

[0010] The various embodiments disclosed in this document are intended to provide a system and method thereof for solving the above-described problems in a network environment.

[0011] According to one embodiment disclosed in the present document, a node includes a communication circuit, a processor operatively connected to the communication circuit, and a memory operatively connected to the processor and storing a target application and a connection control application, wherein the memory is configured such that when executed by the processor, the node detects a data packet transmission event of the target application through the connection control application, determines whether a data flow corresponding to a data packet to be transmitted by the target application and received from an external server exists, and determines whether to perform a protocol inspection of the data packet itself or through the external server based on protocol information included in the data flow, thereby performing a protocol inspection of the data packet itself or through the external server, and transmits the data packet when the protocol inspection of the data packet is completed.

[0012] According to one embodiment disclosed in the present document, a node includes a communication circuit, a processor operatively connected to the communication circuit, and a memory operatively connected to the processor and storing a target application and a connection control application, wherein the memory is configured such that when executed by the processor, the node detects a data packet reception event of the target application through the connection control application, determines whether a data flow corresponding to a data packet that the target application intends to receive and received from an external server exists, and determines whether to perform a protocol inspection of the data packet itself or through the external server based on protocol information included in the data flow, thereby performing a protocol inspection of the data packet itself or through the external server, and receives the data packet when the protocol inspection of the data packet is completed.

[0013] According to one embodiment disclosed in the present document, a server includes a communication circuit, a memory storing a database, and a processor operatively connected to the communication circuit and the memory, wherein the processor is configured to receive a data packet protocol inspection request from a connection control application of a node, wherein the data packet protocol inspection request includes data packets collected up to an inspection range required for protocol inspection and identification information of a data flow corresponding to the data packets, and inspect a protocol of the data packets collected up to an inspection range required for the protocol inspection based on protocol information included in the data flow corresponding to the identification information of the data flow, and when the inspection is completed, update a protocol inspection status of the data flow to a completed status, and transmit the updated data flow to the node.

[0014] A method for operating a connection control application stored in a node according to one embodiment disclosed in the present document may include a step of detecting a data packet transmission event of a target application, a step of checking whether a data flow corresponding to a data packet to be transmitted by the target application exists and received from an external server, a step of checking the protocol by itself or through the external server by checking whether to perform a protocol inspection of the data packet based on protocol information included in the data flow, and a step of transmitting the data packet when the protocol inspection of the data packet is completed.

[0015] According to embodiments disclosed in this document, it is possible to identify or block communications of applications communicating using unauthorized protocols.

[0016] In addition, according to the embodiments disclosed in this document, compared to a wide range of IP address-based network security technologies such as NAC, the problem of policy setting and recovery can be solved and indirect attacks can be prevented.

[0017] Additionally, according to the embodiments disclosed in this document, it is possible to block MITM (man in the middle attack) attacks in a zero trust network environment, thereby enabling tunnel-based access control compared to VPNs that only provide section protection.

[0018] In addition, according to the embodiments disclosed in this document, it is possible to resolve problems inherent in TCP / IP-based network security technology and provide a secure network connection.

[0019] In addition, according to embodiments disclosed in this document, a technology can be provided for monitoring whether a connection control application communicates using a protocol allowed by a controller based on data packet transmission and reception events after a network connection of an actual communication target application is allowed, and if a disallowed protocol is used, blocking the network connection or releasing and isolating the control flow if a dangerous protocol is used, thereby preventing the network connection from being maintained or isolating the application from the network.

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

[0021] Figure 1 illustrates an environment including multiple networks.

[0022] Figure 2 illustrates an architecture within a network environment according to various embodiments.

[0023] FIG. 3 is a functional block diagram illustrating a database stored in a controller according to various embodiments.

[0024] Figure 4 illustrates a functional block diagram of a node according to various embodiments.

[0025] FIG. 5 illustrates an operation for controlling transmission of data packets according to various embodiments.

[0026] Figure 6 illustrates a signal flow diagram for controller connection according to various embodiments.

[0027] FIG. 7 illustrates a signal flow diagram for user authentication according to various embodiments.

[0028] FIG. 8 illustrates a signal flow diagram for network connection according to various embodiments.

[0029] FIGS. 9A and 9B illustrate signal flow diagrams for processing transmission of data packets according to various embodiments.

[0030] FIGS. 10A and 10B illustrate signal flow diagrams for processing reception of data packets according to various embodiments.

[0031] FIG. 11 illustrates a signal flow diagram for control flow update according to various embodiments.

[0032] FIG. 12 illustrates a signal flow diagram for disconnection according to various embodiments.

[0033] FIG. 13 illustrates a signal flow diagram for terminating application execution according to various embodiments.

[0034] FIG. 14 and FIG. 15 illustrate flowcharts illustrating an operation method of a connection control application according to various embodiments.

[0035] Figure 16 illustrates a flowchart illustrating a method of operating a server according to various embodiments.

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

[0037] 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.

[0038] 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.

[0039] The term "module" as 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 portion 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).

[0040] 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.

[0041] 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.

[0042] Figure 1 illustrates an environment including multiple networks.

[0043] Referring to FIG. 1, the first network (10) and the second network (20) may be different networks. For example, the first network (10) may be a public network such as the Internet, and the second network (20) may be a private network such as an intranet or VPN.

[0044] The first network (10) may include a source node (101). In the embodiments illustrated in FIG. 1 and described below, the "source node" may be any of various types of devices capable of performing data communication. For example, the source node (101) may include a portable device such as a smartphone or tablet, a computer device such as a desktop or laptop, a multimedia device, a medical device, a camera, a wearable device, a virtual reality (VR) device, or a home appliance, but is not limited to the aforementioned devices. For example, the source node (101) may include a server or gateway capable of transmitting data packets via an application. The source node (101) may also be referred to as an "electronic device" or a "terminal." Meanwhile, the destination node (102) may include a device identical or similar to the aforementioned source node (101). For another example, the destination node (102) may be substantially identical to the destination network.

[0045] The originating node (101) may attempt to access the second network (20) and transmit data to the destination node (102) included in the second network (20). The originating node (101) may transmit data to the destination node (102) via the gateway (103).

[0046] When the access of the source node (101) to the first network (10) is approved, the source node (101) can communicate with all servers included in the first network (10), and thus, the source node (101) may be exposed to attacks by malicious programs. For example, the source node (101) may receive data not only from trusted and / or secure applications, such as an Internet web browser (110a) and a business application (110b), but also from untrusted or insecure applications, such as malicious code (110c) and infected business applications (110d).

[0047] A source node (101) infected with a malicious program may attempt to connect to and / or transmit data to a second network (20). If the second network (20) is formed based on IP, such as a VPN, it may be difficult to individually monitor multiple devices included in the second network (20), and the second network (20) may be vulnerable to security issues in the application layer or transport layer at the OSI layer. In addition, if the source node (101) includes a malicious application after a channel has already been created, data of the malicious application may be transmitted to other electronic devices (e.g., the destination node (102)) within the second network (20).

[0048] Figure 2 illustrates an architecture within a network environment according to various embodiments.

[0049] Referring to FIG. 2, the node (201) may be a variety of devices capable of performing data communication. For example, the node (201) may include a portable device such as a smartphone or tablet, a computer device such as a desktop or laptop, a multimedia device, a medical device, a camera, a wearable device, a virtual reality (VR) device, or a home appliance, but is not limited to the aforementioned devices. For example, the node (201) may include a server or gateway capable of transmitting data packets via an application. The node (201) may also be referred to as an 'electronic device' or a 'terminal'.

[0050] Node (201) can store target application (212) and access control application (211). Target application (212) is controlled by access control application (211) and can transmit data packets to service server (205) or receive data packets conversely through gateway (203). Some of target applications (212) may be trusted and / or secure applications, such as web browsers or business applications, while others may be untrusted or insecure malicious programs. Therefore, network access system according to embodiments can block access of unauthorized programs (applications) to service server (205) and isolate such programs through network access control of access control application (211). For example, before target application (212) according to embodiments communicates with service server (205), access control application (211) can check whether connection is possible from controller (202). If connection is possible, the access control application (211) can control the transmission of data packets of the target application (212). That is, in order for the target application (212) to connect to the network, it must go through the access control application (211), the access control application (211) must be authorized by the controller (202), and the access control application (211) can transmit the data packets of the target application (212) based on a data flow based on the policy of the controller (202).

[0051] The controller (202) may be, for example, a server (or a cloud server). The controller (202) can ensure reliable data transmission within a network environment by managing data transmission between the node (201), the gateway (203), and the service server (205). For example, the controller (202) can allow network access to an authorized node (201) (or an access control application (211)) through policy information or blacklist information. The controller (202) can provide information that enables a channel to be created between the node (201) and the gateway (203). Accordingly, the access control application (211) of the node (201) can prevent an unauthorized application from transmitting data packets for unauthorized purposes, and can provide a structure in which only authorized data packets can be transmitted to the service server (205) through the channel created with the gateway (203). Additionally, the controller (202) may be connected to a harmful application inspection system (206) to provide a structure for inspecting whether or not a harmful application exists.

[0052] In some embodiments, the network access of the target application (212) may be blocked by the access control application (211), the controller (202), or the gateway (203). In one embodiment, the controller (202) may transmit and receive control data packets to and from the access control application (211) to perform various operations (e.g., registration, approval, authentication, renewal, termination) associated with the network access of the node (201) or the access control application (211). The flow (e.g., 220) in which the control data packets are transmitted may be referred to as a 'control flow'. In some embodiments, the controller (202) may maintain a secure network state at all times by immediately reclaiming a channel according to a security event received from an interworking system (e.g., the node (201), the gateway (203), or the service server (205)).

[0053] The gateway (203) may be located at the boundary of the network to which the node (201) belongs or at the boundary of the network to which the service server (205) belongs. In one embodiment, the gateway (203) may be connected to the controller (202) in a cloud-based manner. In one embodiment, the flow of data packets transmitted between the access control application (211) and the gateway (203) may be referred to as a 'data flow'. The data flow may be generated not only at the node or IP level but also at a more detailed level (e.g., application level).

[0054] According to an embodiment, a connectivity control technology utilizing a channel can provide a structure in which a target application (212) creates a channel with a gateway (203) to access a service server (205), and an connectivity control application (211) existing in a node (201) can prevent an unauthorized application from transmitting data packets to an unauthorized destination, and transmit only permitted data packets to the service server (205) through the channel created with the gateway (203).

[0055] According to various embodiments, the node (201) may include a connection control application (211) and a network driver (not shown) for managing network access of a target application (212) stored in the node (201). For example, when a connection event occurs for a service server (205) of a target application (212) included in the node (201), the connection control application (211) may determine whether the target application (212) is accessible. If the target application (212) is accessible, the connection control application (211) may transmit a data packet to the gateway (203). The connection control application (211) may control the transmission of the data packet through a kernel including an operating system and a network driver within the node (201).

[0056] FIG. 3 is a functional block diagram illustrating a database stored in a controller according to various embodiments. Although FIG. 3 only illustrates a memory (330), the controller may further include a communication circuit (e.g., a communication circuit (430) of FIG. 4) for communicating with an external electronic device and a processor (e.g., a processor (410) of FIG. 4) for controlling the overall operation of the controller.

[0057] An administrator can access the controller (202) and set a connection-centric policy to control access between the access control application (211) and the service server (205), thereby enabling more detailed and secure control of network access than managing sessions at the service level.

[0058] The access policy database (311) may include information about networks and / or services to which an identified network, node, or application can connect. For example, when a network connection request is made by an access control application (211), the controller (202) may determine, based on the policy of the access policy database (311), whether the identified network (e.g., a network to which the node (201) belongs), node, user (e.g., a user of the node (201)), and / or application (e.g., a target application (212) included in the node (201)) can connect to the service server (205). In an embodiment, the controller (202) may create a whitelist of target applications (212) that can connect to a specific service (e.g., IP and port) based on the access policy database (311).

[0059] The channel policy database (312) may include information on gateways (e.g., gateways (203) of FIG. 2) existing between service servers (e.g., service servers (205) of FIG. 2) on a connection path according to a policy. For example, the channel policy database (312) may include a series of information (authentication information, encryption algorithms, tunnel endpoints, etc.) required for creating a channel with the gateway (203) and, if a channel previously connected via another gateway exists between the connection paths, a series of information for using the same (e.g., whether to collect IP information assigned to a node and perform replacement processing).

[0060] The blacklist policy database (313) may represent a blacklist registration policy for blocking access to targets (e.g., at least one of a node ID (identifier), an IP address, a MAC (media access control) address, or a user ID) identified through analysis of the risk level, occurrence cycle, and / or behavior of security events periodically collected from a node (201) or a gateway (203). In addition, the blacklist policy database (313) may be used as information for determining the risk level of an application based on the application inspection results and determining whether to temporarily or permanently isolate the application based on the risk level.

[0061] According to an embodiment, the blacklist policy database (313) may include information for determining the risk level of a node, user, or application using a protocol based on the results of a protocol inspection and determining whether to temporarily or permanently isolate it based on the risk level.

[0062] The blacklist database (314) may include a list of objects blocked by the blacklist policy database (313). For example, the controller (202) may isolate a node (201) by denying the network connection request if the identification information of the node (201) requesting network connection is included in the blacklist database (314).

[0063] The control flow table (315) is an example of a session table for managing the flow of control data packets (e.g., control flows) generated between the node (201) and the controller (202). When successfully connecting to the controller (202), control flow information can be generated by the controller (202). The control flow information can include at least one of control flow identification information, an IP address identified when connecting to and authenticating the controller, a node ID, or a user ID. For example, when a connection to the service server (205) is requested from the node (201), the controller (202) can search for control flow information through the control flow identification information received from the node (201), and map at least one of the IP address, node ID, or user ID included in the searched control flow information to the connection policy database (311), thereby determining (determining) whether the node (201) can connect to the service server (205) and whether to generate a data flow for data packet transmission.

[0064] In one embodiment, a control flow may have an expiration time. Node (201) must update the expiration time of the control flow, and if the expiration time is not updated within 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 node (201), the controller (202) may remove the control flow in response to a connection termination request from node (201). When the control flow is removed, previously generated data flows are also removed, so that the connection of node (201) may be blocked.

[0065] The data flow table (316) is a table for managing the flow (e.g., data flow) in which detailed data packets are transmitted between the node (201), the gateway (203), and the service server (205). The data flow may be generated by a TCP session, an application, or a more detailed unit. The data flow table (316) may include data flow information for managing the application of the node (201) (e.g., target application (212)), the channel and session of the gateway (203), and the service server (205). The data flow table (316) may include an application ID, a destination IP address, and / or a service port for identifying whether a data packet transmitted from a source is an authorized data packet. The data flow table (316) may be managed based on a control flow ID.

[0066] Additionally, the data flow table (316) may include authorized target information for determining whether to forward a data packet based on the source IP address, destination IP address, and port information of the data packet, as well as status information including whether the data flow is valid. According to an embodiment, the data flow table (316) may further include information indicating whether a channel has been created between the application and the gateway (203).

[0067] In addition, the data flow table (316) may include protocol information for examining a protocol corresponding to a data flow. For example, the protocol information may be information set based on a protocol policy (318). For another example, the data flow table (316) may include a protocol identification signature and version information, header information, and protocol information for identifying protocol information. For another example, the data flow table (316) may include at least one of information on how much range (length) of data packets to examine to identify a protocol and whether to process it as a normal protocol, whether the protocol examination will be performed by a network access control application or by transmitting data packet information to a controller, information on whether to examine the protocol at the time of a network access attempt or periodically, and status information on whether the examination has been completed or whether further examination is required.

[0068] According to an embodiment, the data flow table (316) can be stored identically in the node (201) and the gateway (203).

[0069] The channel table (317) may include a list of channels created between the node (201) and the gateway (203).

[0070] The protocol policy database (318) may include information on protocols that the target application can communicate with. For example, the protocol policy database (318) may include protocol identification signatures and version information, header information, and protocol information for identifying protocol information included when transmitting or receiving a data packet. For another example, the protocol policy database (318) may include at least one of information on how much range (length) a data packet is inspected to identify a protocol and 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, whether to perform the protocol inspection by a network access control application or by transmitting data packet information to a controller, and information related to disconnecting a network connection, releasing a control flow, or isolating a network if the protocol is not complied with.

[0071] Figure 4 illustrates a functional block diagram of a node according to various embodiments.

[0072] Referring to FIG. 4, the node may include a processor (410), a memory (420), and a communication circuit (430). According to one embodiment, the node may further include a display (440) to interface with a user.

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

[0074] All or part of the processor (410) may be electrically or operatively coupled with or connected to other components within the node (e.g., memory (420), communication circuitry (430), or display (440). The processor (410) may receive commands from other components of the node, interpret the received commands, and perform calculations or process data according to the interpreted commands. The processor (410) may interpret and process messages, data, commands, or signals received from the memory (420), communication circuitry (430), or display (440). The processor (410) may generate new messages, data, commands, or signals based on the received messages, data, commands, or signals. The processor (410) may provide the processed or generated messages, data, commands, or signals to the memory (420), communication circuitry (430), or display (440).

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

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

[0077] The memory (420) 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.

[0078] The memory (420) 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).

[0079] According to one embodiment, the memory (420) may store the target application (212) and the access control application (211) of FIG. 2. The access control application (211) may perform control flow generation and update functions with the controller (202). For this purpose, the access control application (211) may include one or more security modules.

[0080] According to one embodiment, the memory (420) may store some of the information contained in the memory of the controller (e.g., the memory (330) of FIG. 3). For example, the memory (420) may store the data flow table (316) described in FIG. 3.

[0081] The communication circuit (430) can support the establishment of a wired or wireless communication connection between a node and an external electronic device (e.g., the controller (202), the gateway (203), or the service server (205) of FIG. 2), and the performance of communication through the established connection. According to one embodiment, the communication circuit (430) includes a wireless communication circuit (e.g., a cellular communication circuit, a short-range wireless communication circuit, or a global navigation satellite system (GNSS) communication circuit) or a wired communication circuit (e.g., a local area network (LAN) 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 (430) described above can be implemented as one chip or can be implemented as separate chips.

[0082] The display (440) can output content, data, or signals. In various embodiments, the display (440) can display image data processed by the processor (410). According to embodiments, the display (440) may be configured with an integrated touch screen by being combined with a plurality of touch sensors (not shown) that can receive touch inputs, etc. When the display (440) is configured with a touch screen, the plurality of touch sensors may be arranged above the display (440) or below the display (440).

[0083] A server (e.g., a controller) according to one embodiment may include a processor (410), a memory (420), and a communication circuit (430). The processor (410), the memory (420), and the communication circuit (430) included in the server may be substantially the same as the processor (410), the memory (420), and the communication circuit (430) described above.

[0084] A gateway according to one embodiment (e.g., gateway (203) of FIG. 2) may include a processor (410), a memory (420), and a communication circuit (430). The processor (410), the memory (420), and the communication circuit (430) included in the gateway may be substantially the same as the processor (410), the memory (420), and the communication circuit (430) described above.

[0085] FIG. 5 illustrates an operation for controlling transmission of data packets according to various embodiments.

[0086] Referring to FIG. 5, the access control application (211) can detect a network connection request to the service server (205) from a target application (212) included in the node (201) and determine whether the node (201) or the access control application (211) is connected to the controller (202). If the node (201) or the access control application (211) is not connected to the controller (202), the access control application (211) can block the transmission of data packets in the kernel or network driver including the operating system. Through the access control application (211), the node (201) can block the connection of a malicious application in advance in the application layer of the OSI layer.

[0087] According to an embodiment, if the connection control application (211) is not connected to the controller (202) or if the data packet to be transmitted is a data packet that must be transmitted based on a channel but a corresponding channel does not exist, the data packet transmitted from the connection control application (211) is blocked by the gateway (203) and the connection control application (211) can only request a connection to the controller (202).

[0088] According to an embodiment, if the access control application (211) is not installed on the node (201) or a malicious application bypasses the control of the access control application (211), unauthorized data packets may be transmitted from the node (201). In this case, the gateway (203) existing at the boundary of the network blocks data packets for which a corresponding channel does not exist, so the data packets transmitted from the node (201) (e.g., data packets for TCP session creation) may not reach the service server (205). In other words, the node (201) may be isolated from the service server (205).

[0089] Figure 6 illustrates a signal flow diagram for controller connection according to various embodiments.

[0090] Since the node (201) needs to be authorized by the controller (202) to access or receive a network, the access control application (211) of the node (201) may attempt to access the controller of the node (201) by requesting the controller (202) to create a control flow. According to an embodiment, the node (201) may be substantially the same as the node (201) of FIG. 2 in which the access control application (211) is installed.

[0091] Referring to FIG. 6, the node (201) can detect a controller connection event. For example, when a connection control application (211) is installed and executed within the node (201), the node (201) can detect that a connection to the controller (202) is requested.

[0092] In operation 605, the node (201) may request a controller (202) to connect to the controller. For example, the connection control application (211) may transmit identification information of the connection control application (211) to the controller (202). Additionally, the connection control application (211) may further transmit identification information of the node (201) (e.g., terminal ID, IP address, MAC address), type, location, environment, identification information of the network to which the node (201) belongs, and / or any identification information generated by the network system itself.

[0093] In operation 610, the controller (202) can identify whether a target (e.g., a connection control application (211) or a node (201)) that has requested controller connection is accessible. According to one embodiment, the controller (202) can identify whether a target that has requested controller connection is accessible based on at least one of whether information received from the node (201) is included in the connection policy database (311) or whether identification information of the node (201), the network to which the node (201) belongs, and / or the connection control application (211) is included in the blacklist database (314).

[0094] If connectable, in operation 615, the controller (202) can generate a control flow between the node (201) (or the access control application (211)) and the controller (202). In this case, the controller (202) can generate control flow identification information in the form of a random number and store identification information of at least one of the node (201), the network to which the node (201) belongs, or the access control application (211) in the control flow table (315). The information stored in the control flow table (315) can be used for user authentication of the node (201), information update of the node (201), policy verification for network access of the node (201), and / or validity check.

[0095] In operation 620, the controller (202) may generate a whitelist of applications that can be connected based on the access policy database (311) and the channel policy database (312) corresponding to the identified information (e.g., node (201), information on the source network to which the node (201) belongs). According to an embodiment, the controller (202) may determine whether there is destination network information to which the node (201) that has currently requested connection can connect by default based on the identified information, the access policy database (311), and the channel policy database (312). In one embodiment, the controller (202) may transmit the application whitelist to the access control application (211) in operation 625.

[0096] If connection is possible, the controller (202) can list the types of channels and gateways to which the node (201) can connect. For example, the controller (202) can list the types of channels and gateways to which the node (201) can connect based on at least one or a combination of two or more of the type, location information, environment, and network information of the node (201) included in the control flow for the node (201) to connect to the destination network, identification information (e.g., IP information) of the node (201) identified through the controller (202), and identification information of the node (201) identified in the node (201).

[0097] The controller (202) can check the status of the listed gateways and identify a channel and gateway (203) optimized for the node (201) among the listed gateways. For example, the controller (202) can identify one channel and gateway (203). According to an embodiment, if there is a channel and gateway (203) accessible to the node (201), the controller (202) can transmit channel creation information, such as the gateway (203) and channel authentication information for the node (201) to create a channel to the node (201) (operation 625).

[0098] According to an embodiment, if the structure is not one in which a channel is created between a node (201) and a gateway (203), but rather one in which a connection is made through a pre-connected channel existing at the destination network boundary with a gateway (203) existing in the network to which the node (201) belongs, or if a connection is made through a different channel technology between the node (201) and the destination network boundary, the controller (202) may not transmit channel creation information to the node (201).

[0099] In operation 625, the controller (202) may transmit control flow identification information to the node (201) in response to the controller connection request. In an embodiment, if the target requesting controller connection is unavailable or included in a blacklist, the controller (202) may transmit unavailable information in operation 625 without generating a control flow. In one embodiment, the controller (202) may transmit the application whitelist generated by performing operation 620 to the connection control application (211).

[0100] In operation 630, the access control application (211) may request the gateway (203) to create a channel based on information for channel creation received from the controller (202) (e.g., a series of information required for channel creation, such as the gateway (203) and channel authentication information) if channel creation is required (e.g., information required for channel creation, such as channel authentication information) in order to create a channel. The gateway (203) may create a channel in response to the channel creation request of the node (201). According to an embodiment, if the controller (202) determines that channel creation is unnecessary (e.g., information for creating a channel is not received from the controller (202), or information indicating that channel creation is unnecessary is received from the controller (202), the access control application (211) may perform operation 640 without performing operations 630 and 635.

[0101] If a channel is created through operation 630, in operation 635, the access control application (211) can check whether channel creation completion information and a dedicated IP set according to channel creation exist. The access control application (211) can transmit the channel creation completion information and dedicated IP information to the controller (202) (operation 645).

[0102] In operation 640, the access control application (211) may perform an inspection on the application. For example, the access control application (211) may perform an inspection on the application based on the whitelist of accessible applications received from the controller (202). The access control application (211) may determine whether the application exists (is installed) on the node (201) based on the accessible application information.

[0103] In operation 645, the access control application (211) may transmit the inspection results to the controller (202). For example, the access control application (211) may transmit channel creation completion information and assigned channel identification information (IP information) to the controller (202). As another example, the access control application (211) may transmit the results of a confirmation of whether an application is installed to the controller (202) based on an application whitelist.

[0104] In operation 650, the controller (202) may perform inspection results and data flow processing. For example, when channel creation completion information is received, the controller (202) may register channel-dedicated IP information and channel creation completion information assigned to the node (201) in a channel table (e.g., channel table (317) of FIG. 3) and update the information transmitted from the node (201) in the control flow corresponding to the node (201).

[0105] The controller (202) can check the gateway (203) where the node (201) is located in the access policy (e.g., access policy (311) of FIG. 3) and channel policy (e.g., channel policy (312) of FIG. 3) to allow access of the node (201) connected to the network. In addition, the controller (202) can generate a data flow including a source IP, a destination IP, service port information, and protocol information so that the node (201) can control a service processing request without performing a network access request procedure. In this case, the controller (202) can transmit the generated data flow to the gateway (203) and the access control application (211) of the node (201) (operations 655 and 660).

[0106] According to an embodiment, the protocol information included in the data flow may include a protocol identification signature and version information, header information, and protocol information for identifying the protocol information included when transmitting and receiving the data packet as information for examining the protocol of the data packet transmitted and received by the application. In addition, according to another embodiment, the protocol information may further include at least one of 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 protocol examination is to be performed by the network access control application or by transmitting 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 examination is completed or further examination is required.

[0107] In operation 665, the access control application (211) may process the result value according to the received response. For example, the access control application (211) may store the received control flow identification information and display a user interface screen indicating that the controller connection is complete to the user. Upon completion of the controller connection, the network connection request of the node (201) to the destination network may be controlled by the controller (202).

[0108] In another embodiment, the controller (202) may determine that the node (201) is unreachable. For example, if the identification information of the node (201) and / or the network to which the node (201) belongs is included in the blacklist database, the controller (202) may determine that the node (201) is unreachable. In this case, the controller (202) may not generate a control flow in operation 615, but may transmit a response indicating that the controller connection is unreachable in operation 625. Furthermore, in this case, operations 630 to 660 may not be performed. In an embodiment, if a retry of the controller connection is required, the connection control application (211) may perform operation 605 again.

[0109] Additionally, the access control application (211) can manage the data flow by updating the data flow of the node (201) when a data flow received from the controller (202) exists, so that data packets can be transmitted based on the data flow previously allowed when connecting to the network. Thereafter, when a request for data packet transmission is detected, the access control application (211) can process the data packet to be transmitted based on the received data flow.

[0110] According to an embodiment, when the connection control application (211) receives network connection release information from the controller (202), it can terminate the application or block all network connections of the application.

[0111] FIG. 7 illustrates a signal flow diagram for user authentication according to various embodiments.

[0112] In order for the node (201) to be granted detailed access rights to the destination network, the access control application (211) of the node (201) can receive authentication for the user of the node (201) from the controller (202). According to an embodiment, the node (201) may be substantially identical to the node (201) of FIG. 2 in which the access control application (211) is installed.

[0113] Referring to FIG. 7, the node (201) may receive input for user authentication. The input for user authentication may be, for example, a user input for entering a user ID and password. In another example, the input for user authentication may be a user input for more enhanced authentication (e.g., biometric information). In this case, in operation 705, the access control application (211) of the node (201) may request user authentication from the controller (202). If a control flow has already been created between the node (201) and the controller (202), the access control application (211) may transmit input information for user authentication along with control flow identification information.

[0114] In operation 710, the controller (202) may authenticate the user based on information received from the node (201). For example, the controller (202) may determine whether the user can access according to the access policy and whether the user is included in the blacklist based on the user ID, password, and / or enhanced authentication information included in the received information and a database (e.g., the access policy database (311) or the blacklist database (314) of FIG. 3) included in the memory of the controller (202).

[0115] Once the user is authenticated, in operation 715, the controller (202) may add the user's identification information (e.g., user ID) to the identification information of the control flow. The added user identification information may be used for the authenticated user's controller access or network access.

[0116] In operation 720, the controller (202) may generate a whitelist of applications that can be connected from the access policy database (311) and the channel policy database (312) corresponding to the identified information (e.g., node (201), information on the source network to which the node (201) belongs). According to an embodiment, the controller (202) may determine whether there is destination network information to which the node (201) that has currently requested connection can connect by default, based on the identified information, the access policy database (311), and the channel policy database (312). In one embodiment, the controller (202) may transmit the application whitelist to the access control application (211) in operation 725.

[0117] According to an embodiment, when the controller (202) generates an application whitelist, the controller (202) may generate the application whitelist including information for inspecting the application based on the application inspection policy database (318) (e.g., unique information of the application such as the execution or installation location of the application, signature, fingerprint, hash, registry, etc., a series of information for binary analysis of the application such as an executable file, a library and a series of files or processes referenced by the executable file, memory information, and information of a malware detection tool or pattern database for inspecting whether the application is safe, etc.).

[0118] In addition, if connection is possible, the controller (202) can list the types of channels and gateways to which the node (201) can be connected. For example, the controller (202) can list the types of channels and gateways to which the node (201) can be connected based on at least one of the type of the node (201), location information, environment, and network information in which the node (201) is included in the control flow for the node (201) to connect to the destination network, identification information (e.g., IP information) of the node (201) identified through the controller (202), and identification information of the node (201) identified in the node (201). For another example, the controller (202) may list the types of channels and gateways that the node (201) can connect to based on a combination of two or more of the type, location information, environment, and network information that the node (201) is included in the control flow for the node (201) to connect to the destination network, identification information (e.g., IP information) of the node (201) identified through the controller (202), and identification information of the node (201) identified in the node (201).

[0119] The controller (202) can check the status of the listed gateways and identify a channel and gateway (203) optimized for the node (201) among the listed gateways. For example, the controller (202) can identify one channel and gateway (203). According to an embodiment, if there is a channel and gateway (203) accessible to the node (201), the controller (202) can transmit channel creation information, such as the gateway (203) and channel authentication information for the node (201) to create a channel to the node (201) (operation 725).

[0120] According to an embodiment, if the structure is not one in which a channel is created between a node (201) and a gateway (203), but rather one in which a connection is made through a pre-connected channel existing at the destination network boundary with a gateway (203) existing in the network to which the node (201) belongs, or if a connection is made through a different channel technology between the node (201) and the destination network boundary, the controller (202) may not transmit channel creation information to the node (201).

[0121] In operation 725, the controller (202) may transmit information indicating that the user has been authenticated to the node (201) in response to the user authentication request. In one embodiment, the controller (202) may transmit the application whitelist generated through the performance of operation 720 to the access control application (211).

[0122] In operation 730, the access control application (211) may request the gateway (203) to create a channel based on information for channel creation received from the controller (202) (e.g., a series of information required for channel creation, such as the gateway (203) and channel authentication information) if channel creation is required (e.g., if channel creation information is not received from the controller (202), or if channel creation unnecessary information is received from the controller (202), etc.). The gateway (203) may create a channel in response to the channel creation request of the node (201). According to an embodiment, if the controller (202) determines that channel creation is unnecessary (e.g., if channel creation information is not received from the controller (202), or if unnecessary channel creation information is received from the controller (202), the access control application (211) may perform operation 740 without performing operations 730 and 735.

[0123] If a channel is created through operation 730, in operation 735, the access control application (211) can check whether channel creation completion information and a dedicated IP set according to channel creation exist. The access control application (211) can transmit the channel creation completion information and dedicated IP information to the controller (202) (operation 745).

[0124] In operation 740, the access control application (211) may perform an inspection on the application. For example, the access control application (211) may perform an inspection on the application based on the whitelist of accessible applications received from the controller (202). The access control application (211) may determine whether the application exists (is installed) on the node (201) based on the accessible application information.

[0125] In operation 745, the access control application (211) may transmit the inspection results to the controller (202). For example, the access control application (211) may transmit channel creation completion information and assigned channel identification information (IP information) to the controller (202). As another example, the access control application (211) may transmit the results of a confirmation of whether an application is installed to the controller (202) based on an application whitelist.

[0126] In operation 750, the controller (202) may perform inspection results and data flow processing. For example, when channel creation completion information is received, the controller (202) may register channel-dedicated IP information and channel creation completion information assigned to the node (201) in a channel table (e.g., channel table (317) of FIG. 3) and update the information transmitted from the node (201) in the control flow corresponding to the node (201).

[0127] The controller (202) can check the gateway (203) where the node (201) is located in the access policy (e.g., access policy (311) of FIG. 3) and channel policy (e.g., channel policy (312) of FIG. 3) to allow access of the node (201) connected to the network. In addition, the controller (202) can generate a data flow including a source IP, a destination IP, service port information, and protocol information so that the node (201) can control a service processing request without performing a network access request procedure. In this case, the controller (202) can transmit the generated data flow to the gateway (203) and the access control application (211) of the node (201) (operations 755 and 760).

[0128] According to an embodiment, the protocol information included in the data flow may include a protocol identification signature and version information, header information, and protocol information for identifying the protocol information included when transmitting and receiving the data packet as information for examining the protocol of the data packet transmitted and received by the application. In addition, according to another embodiment, the protocol information may further include at least one of 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 protocol examination is to be performed by the network access control application or by transmitting 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 examination is completed or further examination is required.

[0129] At step 765, the access control application (211) may process the result value according to the received response. For example, the access control application (211) may store the received control flow identification information and display a user interface screen indicating that user authentication is complete to the user. Upon completion of user authentication, the network connection request of the node (201) to the destination network may be controlled by the controller (202).

[0130] In another embodiment, the controller (202) may determine that user authentication of the node (201) is impossible. For example, if identification information of the node (201) and / or the network to which the node (201) belongs is included in the blacklist database, the controller (202) may determine that the node (201) is inaccessible and that user authentication is impossible. In this case, the controller (202) may not reflect the user identification information in operation 715 and may transmit a response indicating that controller connection is impossible in operation 725. Furthermore, in this case, operations 730 to 760 may not be performed.

[0131] In addition, the connection control application (211) can update the data flow of the node (201) when there is a data flow received from the controller (202), and manage the data flow so that data packets can be transmitted based on the data flow previously allowed when connecting to the network.

[0132] According to an embodiment, when the connection control application (211) receives network connection release information from the controller (202), it can terminate the application or block all network connections of the application.

[0133] FIG. 8 illustrates a signal flow diagram for network connection according to various embodiments.

[0134] After the node (201) is authorized by the controller (202), the node (201) can ensure reliable data transmission by controlling the network access of other applications stored in the node (201) through the access control application (211) of the node (201). According to an embodiment, the node (201) can be substantially identical to the node (201) of FIG. 2 in which the access control application (211) is installed.

[0135] Referring to FIG. 8, at operation 805, the access control application (211) can detect a network access event of another application (e.g., the target application (212) of FIG. 2) stored within the node (201).

[0136] In operation 810, the access control application (211) may verify the presence of a data flow corresponding to the identification information of the application requesting network access, the destination network identification information, and the port information. In some embodiments, if the data flow exists but is invalid, the access control application (211) may drop the data packet. In other embodiments, if the data flow exists, the access control application (211) may transmit the data packet based on the data flow. In some embodiments, the access control application (211) of the node (201) may perform a network access request in operation 815 without performing operation 810.

[0137] When a data flow needs to be updated, such as when the data flow does not exist or the authentication time has expired and needs to be updated, in operation 815, the access control application (211) may perform a network connection request to the controller (202). For example, the network connection request may include control flow identification information, destination network identification information, and port information.

[0138] In operation 820, the controller (202) may check whether the access policy corresponding to the identified information (e.g., node, user, source network identification information) based on the control flow identification information includes the identification information requested for access (e.g., destination network identification information and port information) and whether the destination network is accessible. In an embodiment, the controller (202) may check whether the target application is accessible to the gateway (203) or the service server (205). In an embodiment, if the network is accessible, the controller (202) may transmit a result of inaccessibility to the access control application (211) of the node (201) (operation 840).

[0139] If connection is possible, in operation 825, the controller (202) can check whether a channel has been created between the node (201) and the gateway (203) based on the channel table. For example, if a channel has not been created, the controller (202) can check whether a channel must be created in order to access the corresponding service in the channel policy, and if a channel must be created, the controller (202) can transmit a connection failure result to the node (201) (operation 835). For another example, if a channel has been created or channel creation is unnecessary, the controller (202) can check whether a valid data flow corresponding to the information (destination identification information and service port information) requested by the node (201) exists in the data flow table.

[0140] According to an embodiment, if a valid data flow exists, the controller (202) can perform operations 830 and 835 without generating a data flow.

[0141] According to an embodiment, if a valid data flow does not exist, the controller (202) can create a data flow including a source IP, a destination IP, service port information, and protocol information.

[0142] According to an embodiment, the protocol information included in the data flow may include a protocol identification signature and version information, header information, and protocol information for identifying the protocol information included when transmitting and receiving the data packet as information for examining the protocol of the data packet transmitted and received by the application. In addition, according to another embodiment, the protocol information may further include at least one of 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 protocol examination will be performed by the network access control application or by transmitting the data packet information to the controller, information on whether to examine the protocol at the time of a network connection attempt or periodically, and status information on whether the examination has been completed or whether further examination is required. When a data flow is generated, the controller (202) may transmit the generated data flow to the node (201) and the gateway (203) (operations 830 and 835).

[0143] In operation 840, the access control application (211) of the node (201) may process the result value for the response received from the controller (202). For example, if the access control application (211) receives a network connection failure result from the controller (202), the access control application (211) may drop the data packet that the target application wishes to transmit. For another example, if a data flow is received from the controller (202), the access control application (211) may transmit the data packet based on the received data flow. In this case, the access control application (211) may update the existing data flow with the received data flow.

[0144] FIGS. 9A and 9B illustrate signal flow diagrams for processing transmission of data packets according to various embodiments.

[0145] Referring to FIG. 9a, in operation 905, the access control application (211) can detect a data packet transmission event of the target application.

[0146] In operation 910, the access control application (211) may verify whether a data flow corresponding to a data packet that the target application intends to transmit exists. For example, the access control application (211) may verify whether a data flow corresponding to the identification information, destination IP, and port information of the target application exists. According to an embodiment, if the data flow exists but is invalid (e.g., in a state where transmission is not possible, or if network access has been previously rejected by the controller (202)) or the data flow does not exist, the access control application (211) may drop the data packet.

[0147] If a valid data flow exists, in operation 915, the access control application (211) can determine whether protocol inspection is necessary based on protocol information included in the data flow. For example, the access control application (211) can determine whether protocol inspection is necessary based on the protocol inspection status included in the protocol information (whether protocol inspection is necessary, whether protocol inspection has been completed by inspection of previous data packet transmission, whether protocol inspection is necessary periodically, etc.). According to an embodiment, if protocol inspection is not necessary, the access control application (211) can transmit the data packet.

[0148] According to an embodiment, if protocol inspection is required and the access control application (211) performs the protocol inspection directly, the access control application (211) may perform operation 920. According to another embodiment, if protocol inspection is required and the controller (202) performs the protocol inspection, the access control application (211) may perform operation 945 of FIG. 9B.

[0149] In operation 920, the access control application (211) may inspect the protocol of the data packet based on the protocol information included in the data flow. For example, the access control application (211) may inspect whether the data packet includes a signature and version information, header information, and protocol information to identify whether the data packet is an allowed protocol. According to an embodiment, the access control application (211) may inspect the data packet up to the inspection range (length) required for protocol inspection based on the protocol information.

[0150] According to an embodiment, if the protocol check fails, the access control application (211) may drop the data packet, remove the data flow, and transmit the protocol check result including the identification information of the control flow to the controller (202) (operation 925).

[0151] According to an embodiment, if the inspection is successful, the access control application (211) can change the transmission protocol inspection status to complete and transmit the data packet.

[0152] In operation 930, the controller (202) may determine risk information based on the received protocol inspection results, protocol policy, and blacklist policy. For example, if the risk level is in the first range (e.g., low risk), the controller (202) may remove the data flow and transmit the data flow removal information to the node (201) and the gateway (203) associated with the node (201) (operation 935). In another example, if the risk level is in the second range (e.g., high risk), the controller (202) may remove the control flow, channel, and data flow so that the node (201) can no longer maintain network connection, and transmit the removed control flow, data flow, and channel information to the node (201) and the gateway (203) (operation 935). For another example, if the risk level is in the third range (e.g., if the risk level is severe), the controller (202) can remove control flows, channels, and data flows so that the node (201) can no longer maintain network connectivity, transmit the removed control flow, data flow, and channel information to the node (201) and gateway (203) (operation 935), and add the node (201) and the user of the node (201) to a blacklist (314) so ​​that the node (201) can no longer connect.

[0153] In operation 940, the access control application (211) can process the result value received from the controller (202). For example, if network connection release information is received from the controller (202), the access control application (211) can terminate the target application or block all network connections of the target application.

[0154] Referring to FIG. 9b, operations 905 to 915 may be substantially identical to the operations illustrated in FIG. 9a.

[0155] In operation 945, the access control application (211) may request a protocol inspection to the controller (202). For example, the access control application (211) may collect data packets up to the inspection range required for the protocol inspection based on the protocol information included in the data flow and transmit them to the controller (202) and transmit identification information of the data flow corresponding to the data packets. According to an embodiment, the inspection range required for the protocol inspection may include some or all of the data packets, or a plurality of data packets as needed. According to an embodiment, when the access control application (211) requests a protocol inspection to the controller (202), the data packets are transmitted and processed, and when the protocol inspection result is received from the controller (202), the network access of the target application may be controlled based on the protocol inspection result.

[0156] In operation 945, the controller (202) may examine the protocol of the data packet based on the protocol information included in the data flow. For example, the controller (202) may examine whether the received data packet includes a signature and version information, header information, and protocol information to identify whether the received data packet is an allowed protocol.

[0157] According to an embodiment, if the inspection is successful, the controller (202) can change the transmission protocol inspection status of the data flow to complete and transmit the data flow to the access control application (211).

[0158] If the inspection fails, in operation 950, the controller (202) can determine risk information based on the protocol inspection result, protocol policy, and blacklist policy. For example, if the risk level is in the first range (e.g., low risk), the controller (202) can remove the data flow and transmit the data flow removal information to the node (201) and the gateway (203) associated with the node (201) (operation 955). In another example, if the risk level is in the second range (e.g., high risk), the controller (202) can remove the control flow, channel, and data flow so that the node (201) can no longer maintain network connection, and transmit the removed control flow, data flow, and channel information to the node (201) and the gateway (203) (operation 955). For another example, if the risk level is in the third range (e.g., if the risk level is severe), the controller (202) can remove control flows, channels, and data flows so that the node (201) can no longer maintain network connectivity, transmit the removed control flow, data flow, and channel information to the node (201) and gateway (203) (operation 955), and add the node (201) and the user of the node (201) to a blacklist (314) so ​​that the node (201) can no longer connect.

[0159] In operation 960, the access control application (211) can process the result value received from the controller (202). For example, if network connection release information is received from the controller (202), the access control application (211) can terminate the target application or block all network connections of the target application.

[0160] FIGS. 10A and 10B illustrate signal flow diagrams for processing reception of data packets according to various embodiments.

[0161] Referring to FIG. 10a, in operation 1005, the access control application (211) can detect a data packet reception event of the target application.

[0162] In operation 1010, the access control application (211) may verify whether a data flow corresponding to a data packet that the target application wishes to receive exists. For example, the access control application (211) may verify whether a data flow corresponding to the identification information, source IP, and port information of the target application exists. According to an embodiment, if the data flow exists but is invalid (e.g., in a state of unavailable reception, when network access has been previously denied by the controller (202)) or the data flow does not exist, the access control application (211) may drop the data packet.

[0163] If a valid data flow exists, in operation 1015, the access control application (211) can determine whether protocol inspection is required based on protocol information included in the data flow. For example, the access control application (211) can determine whether protocol inspection is required based on the protocol inspection status included in the protocol information (whether protocol inspection is required, whether protocol inspection has been completed by inspection of previous data packet reception, whether protocol inspection is required periodically, etc.). According to an embodiment, if protocol inspection is not required, the access control application (211) can receive the data packet.

[0164] According to an embodiment, if protocol inspection is required and the access control application (211) performs the protocol inspection directly, the access control application (211) may perform operation 1020. According to another embodiment, if protocol inspection is required and the controller (202) performs the protocol inspection, the access control application (211) may perform operation 1045 of FIG. 10b.

[0165] In operation 1020, the access control application (211) may inspect the protocol of the data packet based on the protocol information included in the data flow. For example, the access control application (211) may inspect whether the data packet includes a signature and version information, header information, and protocol information to identify whether the data packet is an allowed protocol. According to an embodiment, the access control application (211) may inspect the data packet up to the inspection range (length) required for protocol inspection based on the protocol information.

[0166] According to an embodiment, if the protocol check fails, the access control application (211) may drop the data packet, remove the data flow, and transmit the protocol check result including the identification information of the control flow to the controller (202) (operation 1025).

[0167] According to an embodiment, if the inspection is successful, the access control application (211) can change the reception protocol inspection status to complete and receive the data packet.

[0168] In operation 1030, the controller (202) may determine risk information based on the received protocol inspection results, protocol policy, and blacklist policy. For example, if the risk level is in the first range (e.g., low risk), the controller (202) may remove the data flow and transmit the data flow removal information to the node (201) and the gateway (203) associated with the node (201) (operation 1035). In another example, if the risk level is in the second range (e.g., high risk), the controller (202) may remove the control flow, channel, and data flow so that the node (201) can no longer maintain network connection, and transmit the removed control flow, data flow, and channel information to the node (201) and the gateway (203) (operation 1035). For another example, if the risk level is in the third range (e.g., if the risk level is severe), the controller (202) can remove control flows, channels, and data flows so that the node (201) can no longer maintain network connectivity, transmit the removed control flow, data flow, and channel information to the node (201) and gateway (203) (operation 1035), and add the node (201) and the user of the node (201) to a blacklist (314) so ​​that the node (201) can no longer connect.

[0169] In operation 1040, the access control application (211) can process the result value received from the controller (202). For example, if network connection release information is received from the controller (202), the access control application (211) can terminate the target application or block all network connections of the target application.

[0170] Referring to FIG. 10b, operations 1005 to 1015 may be substantially identical to the operations illustrated in FIG. 10a.

[0171] In operation 1045, the access control application (211) may request a protocol inspection to the controller (202). For example, the access control application (211) may collect data packets up to the inspection range required for the protocol inspection based on the protocol information included in the data flow and transmit them to the controller (202) and transmit identification information of the data flow corresponding to the data packets. According to an embodiment, the inspection range required for the protocol inspection may include some or all of the data packets, or a plurality of data packets as needed. According to an embodiment, when the access control application (211) requests the controller (202) to perform a protocol inspection, the data packets are received and processed, and when the protocol inspection result is received from the controller (202), the network access of the target application may be controlled based on the protocol inspection result.

[0172] In operation 1045, the controller (202) may examine the protocol of the data packet based on the protocol information included in the data flow. For example, the controller (202) may examine whether the received data packet includes a signature and version information, header information, and protocol information to identify whether the received data packet is an allowed protocol.

[0173] According to an embodiment, if the inspection is successful, the controller (202) can change the reception protocol inspection status of the data flow to complete and transmit the data flow to the access control application (211).

[0174] If the inspection fails, in operation 1050, the controller (202) can determine risk information based on the protocol inspection result, protocol policy, and blacklist policy. For example, if the risk level is in the first range (e.g., low risk), the controller (202) can remove the data flow and transmit the data flow removal information to the node (201) and the gateway (203) associated with the node (201) (operation 1055). In another example, if the risk level is in the second range (e.g., high risk), the controller (202) can remove the control flow, channel, and data flow so that the node (201) can no longer maintain network connection, and transmit the removed control flow, data flow, and channel information to the node (201) and the gateway (203) (operation 1055). For another example, if the risk level is in the third range (e.g., if the risk level is severe), the controller (202) can remove control flows, channels, and data flows so that the node (201) can no longer maintain network connection, transmit the removed control flow, data flow, and channel information to the node (201) and gateway (203) (operation 1055), and add the node (201) and the user of the node (201) to a blacklist (314) so ​​that the node (201) can no longer connect.

[0175] In operation 1060, the access control application (211) can process the result value received from the controller (202). For example, if network connection release information is received from the controller (202), the access control application (211) can terminate the target application or block all network connections of the target application.

[0176] FIG. 11 illustrates a signal flow diagram for control flow update according to various embodiments.

[0177] Referring to FIG. 11, at operation 1105, the access control application (211) can detect a control flow update event.

[0178] In operation 1110, the access control application (211) may request a control flow update from the controller (202) based on the control flow identification information.

[0179] In operation 1115, the controller (202) may check whether a control flow exists in a control flow table (e.g., control flow table (315) of FIG. 3) based on the received control flow identification information. According to an embodiment, if a control flow does not exist (e.g., if the connection is disconnected by another security system, if the connection is disconnected due to its own risk detection, etc.), the controller (202) may transmit a connection failure result to the connection control application (211) because the connection of the node (201) is invalid (operation 1125).

[0180] If a control flow exists, the controller (202) can check the data flow corresponding to the control flow.

[0181] According to an embodiment, the controller (202) can update an update time included in a control flow and search for data flow information corresponding to the control flow.

[0182] According to an embodiment, the controller (202) may return data flow information when re-authentication must be performed during a data flow or when there is a data flow that is no longer accessible (operations 1120, 1125).

[0183] In operation 1130, the access control application (211) of the node (201) may process the result of the response received from the controller (202). For example, if the result of the control flow update is impossible, the access control application (211) may block all network connections of the application. As another example, if the result of the control flow update is normal and updated data flow information exists, the access control application (211) may update the data flow.

[0184] FIG. 12 illustrates a signal flow diagram for disconnection according to various embodiments.

[0185] Referring to FIG. 12, at operation 1205, the node (201) may detect at least one of termination of the node (201), termination of the access control application (211), termination of the target application, no longer using the network connection, and a connection termination request based on information identified from the linking system. In this case, at operation 1210, the node (201) or the access control application (211) may request the controller (202) to remove the control flow.

[0186] In operation 1215, the controller (202) may remove the identified control flow based on the received control flow identification information.

[0187] At operation 1220, the controller (202) may remove all data flows dependent on the removed control flow. Accordingly, the node (201) can no longer access the destination network based on the removed data flow.

[0188] In operation 1225, the controller (202) may perform a removal request for all data flows dependent on the removed control flow to the gateway (203). The gateway (203) may remove the data flow, and thus, data packets corresponding to the source network, destination network, and port information included in the removed data flow may no longer be transmitted.

[0189] FIG. 13 illustrates a signal flow diagram for terminating application execution according to various embodiments.

[0190] Referring to FIG. 13, in operation 1305, the access control application (211) of the node (201) can check in real time whether the running application has been terminated and can detect an application execution termination event.

[0191] According to an embodiment, the access control application (211) can check whether there is a data flow corresponding to terminated application identification information and PID (Process ID and Child Process ID Tree) information.

[0192] In operation 1310, the access control application (211) may perform a data flow removal request to the controller (202). For example, the access control application (211) may transmit identification information of a terminated application or identification information of a data flow corresponding to a terminated application to the controller (202) and perform the data flow removal request.

[0193] In operation 1315, the controller (202) may delete the data flow for which deletion has been requested. In addition, the controller (202) may perform a deletion request for the deleted data flow to the gateway (203) (operation 1220). The gateway (203) may delete the data flow, and thus, data packets corresponding to the source network, destination network, and port information included in the deleted data flow may no longer be transmitted.

[0194] FIGS. 14 and 15 illustrate flowcharts illustrating the operation method of a connection control application according to various embodiments. The operations illustrated in FIGS. 14 and 15 may be performed through the connection control application (211) of FIG. 2.

[0195] Referring to FIG. 14, in operation 1405, the access control application (211) can detect a data packet transmission event of the target application.

[0196] In operation 1410, the access control application (211) can check whether there is a data flow received from an external server corresponding to a data packet that the target application wants to transmit.

[0197] In operation 1415, the access control application (211) can perform protocol inspection of the data packet itself or through an external server based on the protocol information included in the data flow, thereby performing the protocol inspection itself or through an external server.

[0198] At operation 1420, the access control application (211) can transmit the data packet when the protocol inspection of the data packet is completed.

[0199] Referring to FIG. 15, in operation 1505, the access control application (211) can detect a data packet reception event of the target application.

[0200] In operation 1510, the access control application (211) can check whether there is a data flow received from an external server corresponding to a data packet that the target application wants to receive.

[0201] In operation 1515, the access control application (211) determines whether to perform protocol inspection of the data packet itself or through an external server based on the protocol information included in the data flow, thereby performing the protocol inspection itself or through an external server.

[0202] In operation 1520, the access control application (211) can receive the data packet when the protocol inspection of the data packet is completed.

[0203] FIG. 16 illustrates a flowchart illustrating a method of operating a server according to various embodiments. The operations illustrated in FIG. 16 may be performed via the controller (202) of FIG. 2.

[0204] Referring to FIG. 16, in operation 1605, the server may receive a data packet protocol inspection request from a node's access control application. For example, the data packet protocol inspection request may include identification information of data packets collected up to the inspection scope required for protocol inspection and data flows corresponding to the data packets.

[0205] In operation 1610, the server can inspect the protocol of the collected data packets up to the inspection range required for protocol inspection based on the protocol information included in the data flow corresponding to the identification information of the data flow.

[0206] At operation 1605, the server can update the protocol inspection status of the data flow to a completed status when the inspection is completed, and transmit the updated data flow to the node.

[0207] 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.

[0208] 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. In the node, A communication circuit; a processor operatively connected to the communication circuit; and a memory operatively connected to the processor and storing a target application and an access control application, wherein the memory, when executed by the processor, causes the node to: Detecting a data packet transmission event of the target application through the above access control application, The target application checks whether there is a data flow received from an external server that corresponds to the data packet that the target application wants to transmit. Based on the protocol information included in the above data flow, it is determined whether to perform protocol inspection of the above data packet itself or through the external server, and the protocol is inspected either by itself or through the external server. A node configured to transmit the data packet upon completion of protocol inspection of the data packet.

2. In the first paragraph, the commands are executed by the node, Through the above access control application, it is determined whether protocol inspection is required based on the protocol information included in the above data flow, A node configured to transmit data packets that the target application wishes to transmit when the above protocol inspection is not required.

3. In the first paragraph, the commands are such that the node, When performing protocol inspection of the data packet on its own, the access control application checks whether at least one of signature information, version information, header information, and protocol information is included to identify whether the data packet is an allowed protocol based on the protocol information included in the data flow, A node configured to drop the data packet if the protocol check of the data packet fails.

4. In the third paragraph, the commands are such that the node, A node configured to inspect the data packet to the extent necessary for protocol inspection based on the protocol information included in the data flow through the above access control application.

5. In the third paragraph, the commands are such that the node, If the protocol check of the above data packet fails, the protocol check result is transmitted to the external server, A node configured to receive information on removal of the data flow determined in relation to the risk level of the protocol inspection result from the external server or information on blocking connection with the external server.

6. In the first paragraph, the commands are such that the node, When inspecting a protocol through the external server, the data packets are collected up to the inspection range required for protocol inspection based on the protocol information included in the data flow through the access control application, The collected data packet is transmitted to the external server and a protocol inspection request is performed. A node configured to receive a protocol inspection result from the external server and control network access of the target application based on the received protocol inspection result.

7. In paragraph 6, the commands are such that the node, When a data flow updated to a protocol inspection completion status is received from the external server, the data packet of the target application is transmitted based on the updated data flow through the access control application, A node configured to block network access of the target application through the access control application when receiving information on removal of the data flow determined in relation to the risk level of the protocol inspection result from the external server or information on blocking access to the external server.

8. In the first paragraph, the commands are such that the node, Detecting a data packet reception event through the above access control application, Checking whether there is a data flow received from an external server corresponding to the received data packet, Based on the protocol information included in the data flow, it is determined whether to perform protocol inspection of the received data packet itself or through the external server, and the protocol is inspected either by itself or through the external server. A node configured to change the reception protocol inspection status of the data flow to a completed status when the protocol inspection of the received data packet is completed.

9. In the node, A communication circuit; a processor operatively connected to the communication circuit; and a memory operatively connected to the processor and storing a target application and an access control application, wherein the memory, when executed by the processor, causes the node to: Detecting a data packet reception event of the target application through the above access control application, The target application checks whether there is a data flow received from an external server that corresponds to the data packet it wants to receive, Based on the protocol information included in the above data flow, it is determined whether to perform protocol inspection of the above data packet itself or through the external server, and the protocol is inspected either by itself or through the external server. A node configured to receive the data packet upon completion of protocol inspection of the data packet.

10. In paragraph 9, the commands are such that the node, When performing protocol inspection of the data packet on its own, the access control application checks whether at least one of signature information, version information, header information, and protocol information is included to identify whether the data packet is an allowed protocol based on the protocol information included in the data flow, A node configured to drop the data packet if the protocol check of the data packet fails.

11. In the 10th paragraph, the commands are such that the node, A node configured to inspect the data packet to the extent necessary for protocol inspection based on the protocol information included in the data flow through the above access control application.

12. In the 10th paragraph, the commands are such that the node, If the protocol check of the above data packet fails, the protocol check result is transmitted to the external server, A node configured to receive information on removal of the data flow determined in relation to the risk level of the protocol inspection result from the external server or information on blocking connection with the external server.

13. In paragraph 9, the commands are such that the node, When inspecting a protocol through the external server, the data packets are collected up to the inspection range required for protocol inspection based on the protocol information included in the data flow through the access control application, The collected data packet is transmitted to the external server and a protocol inspection request is performed. A node configured to receive a protocol inspection result from the external server and control network access of the target application based on the received protocol inspection result.

14. On the server, A communication circuit; a memory storing a database; and a processor operatively connected to the communication circuit and the memory, wherein the processor comprises: Receive a data packet protocol inspection request from a node's access control application, wherein the data packet protocol inspection request includes data packets collected up to an inspection range required for protocol inspection and identification information of a data flow corresponding to the data packets, Based on the protocol information included in the data flow corresponding to the identification information of the above data flow, the protocol of the collected data packet is inspected up to the inspection range required for the above protocol inspection, A server configured to update the protocol inspection status of the data flow to a completed status when the inspection is completed and transmit the updated data flow to the node.

15. In the 14th paragraph, the processor, A server configured to check whether at least one of signature information, version information, header information, and protocol information is included in the collected data packet to identify whether the data packet is an allowed protocol to the inspection scope required for the protocol inspection based on the protocol information included in the data flow.

16. In the 14th paragraph, the processor, If the above protocol inspection fails, the level of protocol inspection risk is determined based on the protocol policy and blacklist policy included in the above database, If the risk level is in the first range, the data flow is removed, and information on the removal of the data flow is transmitted to the node and the gateway associated with the node. If the risk level is in the second range, the data flow is removed, the connection of the node is blocked, and the channel between the node and the gateway is removed to transmit the result to the node and the gateway. A server configured to block access to the node and add the node's identification information to a blacklist when the risk level is in the third range.

17. In the 14th paragraph, the processor, Receive a protocol inspection result from the access control application of the above node, and the protocol inspection result is a result of the access control application performing a protocol inspection on its own based on the data flow, Based on the above protocol inspection results and the protocol policy and blacklist policy included in the above database, the risk level of the protocol inspection results is determined, A server configured to determine the degree of network access blocking of the node based on the degree of risk.

18. A method of operating an access control application stored in a node, A step of detecting a data packet transmission event of a target application; A step of checking whether there is a data flow received from an external server that corresponds to a data packet that the target application wants to transmit; A step of checking the protocol on its own or through the external server by determining whether to perform protocol inspection of the data packet based on the protocol information included in the data flow; and A method comprising: a step of transmitting the data packet when the protocol inspection of the data packet is completed;

Citation Information

Patent Citations

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

    KR102364445B1

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

    KR102439881B1

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

    KR102460694B1

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

    KR102495369B1

  • System for controlling data flow based on application test and method thereof

    KR102495372B1