WO2023211104A1 - System for controlling controller-based network access, and method related thereto - Google Patents

System for controlling controller-based network access, and method related thereto Download PDF

Info

Publication number
WO2023211104A1
WO2023211104A1 PCT/KR2023/005573 KR2023005573W WO2023211104A1 WO 2023211104 A1 WO2023211104 A1 WO 2023211104A1 KR 2023005573 W KR2023005573 W KR 2023005573W WO 2023211104 A1 WO2023211104 A1 WO 2023211104A1
Authority
WO
WIPO (PCT)
Prior art keywords
authentication
data packet
data
node
packet
Prior art date
Application number
PCT/KR2023/005573
Other languages
French (fr)
Korean (ko)
Inventor
김영랑
Original Assignee
프라이빗테크놀로지 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 프라이빗테크놀로지 주식회사 filed Critical 프라이빗테크놀로지 주식회사
Publication of WO2023211104A1 publication Critical patent/WO2023211104A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/32Flow control; Congestion control by discarding or delaying data units, e.g. packets or frames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/163In-band adaptation of TCP data exchange; In-band control procedures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols

Definitions

  • Embodiments disclosed in this document relate to a system and method for controlling controller-based network access.
  • Networks may include public networks such as the Internet as well as private networks such as intranets.
  • IP Internet Protocol
  • TCP Transmission Control Protocol
  • Firewall technology is commonly used.
  • Firewall technology identifies IPs assigned to nodes or network nodes and performs access control for inbound or outbound data packets between network boundaries, thereby blocking unauthorized IPs from accessing unauthorized destination networks.
  • IP-based firewalls may cause problems where IP-based control is difficult in the case of nodes in the Internet band where IP allocation and control are difficult, or when private IP bands are created by configuring subnetworks with routers and gateways.
  • firewalls are used as a minimum security device.
  • data packets transmitted between nodes and servers or gateways are encrypted, or connectivity controls such as tunneling technology or security sessions are used to prevent forgery and alteration and to allow unique access only to authorized subjects.
  • connectivity controls such as tunneling technology or security sessions are used to prevent forgery and alteration and to allow unique access only to authorized subjects.
  • Technology is being used.
  • VPN Virtual Private Network
  • tunneling technology created at the terminal level has a vulnerability that allows unauthorized or insecure applications to access unauthorized destination networks through tunneling that is always connected after initial authentication when used.
  • VPN technology is experiencing an increase in security incidents caused by various malware and ransomware infiltration.
  • 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 connection control application and a target application,
  • the node detects a network connection event through the access control application and confirms the existence of a data flow authorized from an external server that corresponds to the data packet that the target application wants to transmit, Check the type of the data packet, allow transmission of the TCP SYN packet based on whether the TCP SYN packet can be transmitted based on the type of the data packet, and do not require inspection of the TCP SYN packet after creating a TCP session or Stores instructions for performing a network connection authentication check and processing subsequently transmitted data packets based on the results of the authentication check, and whether the data flow will basically allow transmission of the TCP SYN packet. May contain information.
  • a method of operating a connection control application installed in a node includes detecting a network connection event, detecting the existence of a data flow authorized from an external server corresponding to a data packet to be transmitted by the target application, Confirming, confirming the type of the data packet, allowing transmission of the TCP SYN packet based on whether the TCP SYN packet can be transmitted if the data packet is a TCP SYN packet, and if the data packet is an authentication data packet If so, performing a network connection authentication check, and dropping the data packet if the data packet is not the TCP SYN packet and the authentication data packet, and the data flow basically involves transmission of the TCP SYN packet. It may include information about whether to allow it or not.
  • application connectivity control technology that allows only permitted safe applications to access the permitted network is applied to identify the application that is the fundamental communication subject and prevent access to unauthorized applications in advance.
  • various malware and ransomware can be prevented from accessing unauthorized destination networks, and at the same time, various currently occurring network security problems can be effectively solved.
  • communication in modules or functional units can be controlled in a more detailed unit than the application, and data or data held by the data provider
  • the network access can be controlled so that the permitted module transmits only data permitted by the data owner or permitted by policy in advance.
  • the results of AI calculations centered on Data Centric Networking overlaid on a conventional IP-based network and countless processed valuable data stored in the server are transmitted to the consumer and provide actual value. It can be used as a base technology for granting.
  • a lower level than an application that cannot be identified in the operating system (Kernel Level) is used.
  • Kernel Level an additional identification layer can be inserted when connecting to a network in the target application (User Level), providing a method to control network access at the module or data level.
  • the target application when a module or function in the target application (User Level) that cannot be identified in the operating system (Kernel Level) connects to the network and transmits data, the target application transmits data when connected to the network. It is possible to provide a structure that allows or disallows network access depending on whether to allow network access containing the identification information by checking each identification information included in one authentication data packet with the controller.
  • whitelist-based network access is permitted for each identification unit according to the authentication policy of the controller set in advance, or a third party (e.g., data owner) is allowed to access the network of the corresponding identification unit.
  • a third party e.g., data owner
  • By additionally checking whether to allow access it is possible to provide a structure that allows network access only with third-party approval. Since network access for each identification unit is recorded, it is possible to inquire what data was transmitted by which module and when. We can provide a way to do this.
  • the data owner's credit information data is approved by the entrusted credit institution.
  • the data permitted by the user can be created at the time of data provision to other organizations permitted by the permitted data supply agency, and the network connection can be disconnected at the end of data provision. Because it can provide technology that can be used, it can provide a way to reach the actual purpose of My Data.
  • various authentication information e.g., public key-based encryption and decryption key and certificate
  • data information signed based on the authentication information e.g., approved data propagation on a blockchain network
  • It is always connected to the network, such as transmission, personal information stored in the cloud, etc., but it connects to the Internet only when remote storage containing information that must be isolated from the Internet is required, thereby blocking external risks coming from the Internet.
  • By transmitting only permitted data it is possible to block unauthorized subjects from transmitting unauthorized data (e.g., when personal information is arbitrarily leaked by a thief).
  • Figure 1 shows an environment including multiple networks.
  • Figure 2 shows architecture within a network environment according to various embodiments.
  • Figure 3 is a functional block diagram showing a database stored in a controller according to various embodiments.
  • Figure 4 shows a functional block diagram of a node according to various embodiments.
  • Figure 5 is a diagram showing the structure of an authentication data packet according to various embodiments.
  • Figure 6 is a diagram showing an operation for controlling transmission of data packets according to various embodiments.
  • Figure 7 shows a signal flow diagram for connecting a node to a controller according to various embodiments.
  • Figure 8 shows an operation flowchart for network connection of a node according to various embodiments.
  • FIG. 9A shows a signal flow diagram for checking network connectivity of a node according to various embodiments.
  • FIG. 9B shows a signal flow diagram for checking network connection authentication of a node according to various embodiments.
  • Figure 10 shows a signal flow diagram for transmitting a data packet of a node according to various embodiments.
  • Figure 11 shows a signal flow diagram for controlling reception of data packets by a gateway according to various embodiments.
  • Figure 12 shows a signal flow diagram for updating the control flow of a node according to various embodiments.
  • Figure 13 shows a signal flow diagram for disconnection of a node according to various embodiments.
  • Figure 14 shows a signal flow diagram for termination of application execution of a node according to various embodiments.
  • Figure 15 shows an operation flowchart of a method of operating an access control application installed in a node according to various embodiments.
  • One (e.g., first) component is said to be “coupled” or “connected” to another (e.g., second) component, with or without the terms “functionally” or “communicatively.”
  • second component e.g., any of the components can be connected to the other components directly (e.g. wired), wirelessly, or through a third component.
  • Each component (eg, module or program) described in this document may include singular or plural entities. According to various embodiments, one or more of the corresponding components or operations may be omitted, or one or more other components or operations may be added. Alternatively or additionally, multiple components (eg, modules or programs) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each component of the plurality of components in the same or similar manner as those performed by the corresponding component of the plurality of components prior to the integration. .
  • 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 , or one or more other operations may be added.
  • module 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, for example.
  • a module may be an integrated part or a minimum unit of the parts or a part thereof that performs one or more functions.
  • the module may be implemented in the form of an application-specific integrated circuit (ASIC).
  • ASIC application-specific integrated circuit
  • Various embodiments of this document may be implemented as software (e.g., a program or application) including one or more instructions stored in a storage medium (e.g., memory) that can be read by a machine.
  • the processor of the device may call at least one instruction among one or more instructions stored from a storage medium and execute it. This allows the device to be operated 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 that can be executed by an interpreter.
  • a storage medium that can be read by a device may be provided in the form of a non-transitory storage medium.
  • 'non-transitory' only means that the storage medium is a tangible device and does not contain signals (e.g. electromagnetic waves), and this term refers to cases where data is semi-permanently stored in the storage medium. There is no distinction between temporary storage cases.
  • Computer program products are commodities and can be traded between sellers and buyers.
  • a 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 through an application store or between two user devices (e.g. smartphones). It may be distributed in person or online (e.g., downloaded or uploaded). In the case of online distribution, at least a portion of the computer program product may be at least temporarily stored or temporarily created in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store server, or a relay server.
  • a machine-readable storage medium such as the memory of a manufacturer's server, an application store server, or a relay server.
  • Figure 1 shows an environment including multiple networks.
  • the first network 10 and the second network 20 may be different networks.
  • the first network 10 may be a public network such as the Internet
  • the second network 20 may be a private network such as an intranet or VPN.
  • the first network 10 may include the data provider network 210 of FIG. 2
  • the second network 20 may include the data consumer network 220 of FIG. 2.
  • the first network 10 may include a source node 101.
  • the 'source node' may be various types of devices capable of performing data communication.
  • the source node 101 may be 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, or a virtual reality (VR) device. , or home appliances and is not limited to the above-mentioned devices.
  • the source node 101 may include a server or gateway that can transmit data packets through an application.
  • the source node 101 may also be referred to as an ‘electronic device’ or a ‘terminal’.
  • the destination node 102 may include the same or similar device as the above-described source node 101.
  • the destination node 102 may be substantially the same as the destination network.
  • the source 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 source node 101 may transmit data to the destination node 102 through the gateway 103 and tunnel 105.
  • the data is not limited to this, and the source node 101 may transmit data to the destination node 102 through various paths such as tunnels, security sessions, and channels.
  • the source node 101 can communicate with all servers included in the first network 10, and therefore the source node 101 is malicious. ) may be exposed to program attacks.
  • the source node 101 may be infected with malicious code 110c, as well as trusted and/or secure applications such as Internet web browsers 110a and business applications 110b. ) It is possible to receive data from untrusted or unsecured applications, such as the business application 110d.
  • the source node 101 infected by a malicious program may attempt to connect to the second network 20 and/or transmit data. If the second network 20 is formed based on IP, such as a VPN, it may be difficult for the second network 20 to individually monitor a plurality of devices included in the second network 20, and application at the OSI layer may be difficult. Security at the layer or transport layer may be vulnerable. Additionally, if the source node 101 includes a malicious application after the channel has already been created, the data of the malicious application will be transmitted to another electronic device (e.g., the destination node 102) within the second network 20. You can.
  • IP such as a VPN
  • Figure 2 shows architecture within a network environment according to various embodiments.
  • the number of nodes 201, gateways 203, destination networks 204, data provider networks 210, and data consumer networks 220 is not limited to the number shown in FIG. 2.
  • a plurality of nodes may have network access controlled by the controller 202, and the controller 202 may communicate with a plurality of gateways and control transmission of data to a plurality of destination networks.
  • Node 201 may include a connection control application 211 and a target application 221.
  • the access control application 211 checks whether a connection is possible from the controller 202 when a network connection occurs, and only if a connection is possible, connects to the destination through the gateway 203 based on the data flow generated by the controller 202.
  • Data packets may be transmitted to the network 204.
  • the gateway 203 may include a first gateway 213 that exists at a network boundary on the node 201 side and a second gateway 223 that exists on a network boundary on the destination network 204 side.
  • Data flow-based connectivity control technology provides a structure in which communication is possible only when a data flow authorized by the controller 202 exists for the node 201 to access the destination network 204, and when no data flow exists, If not, a structure in which the node 201 cannot communicate may be provided.
  • the access control application 211 may restrict transmission of data packets of the target application 212 when a data flow does not exist.
  • Controller 202 may be a server (or cloud server).
  • the controller 202 may perform network access control for the destination network 204 of the node 201.
  • the controller 202 transmits and receives control data packets with the node 201 to perform various operations (e.g., registration, approval, authentication, renewal, termination) associated with the network connection of the node 201. You can.
  • the flow through which control data packets are transmitted may be referred to as a control flow.
  • the controller 202 can provide an environment in which access to the destination network 204 of unauthorized nodes can be blocked.
  • the gateway 203 may include a first gateway 213 and a second gateway 223.
  • the gateway 203 may provide technology to safely transmit data packets in a network section through a secure channel.
  • the gateway 203 checks whether the data packet received from the access control application 211 is actually transmitted by the permitted node 201, and detects the data packet transmitted by bypassing the access control application 211. It can play a blocking role.
  • the gateway 203 can enable a secure network configuration at all times throughout the data provider network 210 and the data consumer network 220.
  • Data owner 206 may communicate with controller 202.
  • the controller 202 can allow whitelist-based network access for each identification unit according to the authentication policy, and additionally checks whether the data owner 206 will allow network access for the corresponding identification unit, so that the data owner (206) 206) can provide a structure that allows network access only with approval. Additionally, since network access can be recorded for each identification unit, the data owner 206 can inquire when and where which module transmitted what data.
  • FIG. 3 is a functional block diagram showing a database stored in a controller according to various embodiments.
  • the controller includes a communication circuit for performing communication with an external electronic device (e.g., the communication circuit 430 in FIG. 4) and a processor for controlling the overall operation of the controller (e.g., FIG. It may further include 4 processors 410).
  • the administrator can connect to the controller 202 and set a connection-critical policy to control the connection between the application and the server, so it can provide security such as existing NAC (Network Access Control) and firewalls that simply perform access control based on IP. Network access control is possible in more detail than the technology and is more secure from a network access perspective.
  • NAC Network Access Control
  • the access policy database 311 may include information about networks and/or services to which an identified network, node (e.g., node 201 in FIG. 2), user, unidentified user, or application can access. For example, when connection to a destination network is requested from a node, the controller identifies the network (e.g., the network to which the node belongs), node, user (e.g., user of the node), and And/or it may be determined whether the application (application included in the node) can connect to the destination network.
  • node e.g., node 201 in FIG. 2
  • application application included in the node
  • the authentication policy database 312 identifies the access target at a more detailed level than the application, which is the minimum unit of access control in the access policy (e.g., information included in the access policy database 311), and identifies the access target to which the identified target can access. May include service information. For example, when a network access request exists with the corresponding identification information, the authentication policy database 312 determines whether to always allow access to services accessible by policy or to other systems or third parties connected to the controller (e.g. : Can include whether to allow access only when approved by the data owner).
  • the authentication policy database 312 determines whether to continuously allow network access after network access is permitted or determines whether certain conditions (e.g., TCP SYM Packet, TCP FIN Packet, and the amount of transmitted data packets are related to the data flow). This can include whether to release the network connection and re-perform data packet authentication if rules such as exceeding the amount of included data packets or including update processing characters for data packets included in the data flow are met. there is. Additionally, the authentication policy database 312 may include whether to perform data packet authentication only upon initial network connection or whether to check data packet authentication at every data packet transmission.
  • certain conditions e.g., TCP SYM Packet, TCP FIN Packet, and the amount of transmitted data packets are related to the data flow. This can include whether to release the network connection and re-perform data packet authentication if rules such as exceeding the amount of included data packets or including update processing characters for data packets included in the data flow are met. there is.
  • the authentication policy database 312 may include whether to perform
  • the authentication policy database 312 may include a method for extracting and inspecting identification information included in an authentication data packet (eg, authentication information generation and inspection algorithms such as One time Password, HMAC, etc.).
  • the authentication policy database 312 may provide an authentication policy that includes information about whether it is possible to transmit a data packet without additional authentication and information about changing the authentication status of the data flow when the update conditions of the data flow are met. It may contain information for generating information. That is, the controller 202 may generate authentication information based on the authentication policy database 312.
  • the blacklist policy database 313 may include policies for permanently or temporarily blocking access to nodes.
  • the blacklist policy database 313 provides information (e.g., node, IP address, media access control) address, or at least one of the user ID).
  • the blacklist database 314 may include a list of at least one of nodes, IP addresses, MAC addresses, or users blocked by the blacklist policy database 313. For example, if a node requesting access to the destination network is included in the blacklist database 314, the controller may isolate the node from the destination network by rejecting the node's connection request.
  • the control flow table 315 is an example of a session table for managing the flow (e.g., control flow) of control data packets generated between a node and a controller.
  • control flow information can be generated by the controller.
  • the control flow information may 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.
  • the controller can retrieve control flow information through the control flow identification information received from the node, and use the IP address, node ID, or user included in the retrieved control flow information.
  • a control flow may have an expiration time.
  • the node 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. Additionally, if it is determined that immediate connection blocking is necessary according to security events collected from the node, the controller may remove the control flow according to the node's connection termination request. If the control flow is removed, the previously created data flow is also removed, so the node's connection may be blocked.
  • the data flow table 316 is a table for managing the flow (eg, data flow) in which detailed data packets are transmitted between a node, a gateway, and a destination network. Data flows can be created as TCP sessions on a per-node or per-IP basis, applications on a node, or on a more granular basis.
  • the data flow table 316 includes data flow identification information, control flow identification information if the data flow is dependent on the control flow, an application ID to identify whether the data packet transmitted from the node is an authorized data packet, and source network identification information. , may include destination network identification information and/or service port.
  • the data flow table 316 determines whether to continuously allow network access after network access is permitted or determines under certain conditions (e.g., TCP SYM Packet, TCP FIN Packet, the amount of transmitted data packets is the amount of data packets included in the data flow). If it exceeds , it may contain authentication information including whether to release the network connection and re-perform data packet authentication if rules such as including update processing characters of data packets included in the data flow are met. . Depending on the embodiment, the authentication information may include whether to perform data packet authentication only upon initial network connection or whether to check data packet authentication at every data packet transmission. In addition, the data flow table 316 contains data flow status information (including whether data flow authentication has been completed and transmission is possible, authentication is required, or authentication is not required and network connection is possible without authentication. or authentication status information of the data flow).
  • the data flow table 316 may be equally included in a node (eg, node 201 in FIG. 2) and a gateway (eg, gateway 203 in FIG. 2).
  • Figure 4 shows a functional block diagram of a node according to various embodiments.
  • a node may include a processor 410, memory 420, and communication circuit 430. According to one embodiment, the node may further include a display 440 to interface with the user.
  • the processor 410 can control the overall operation of the node.
  • the processor 410 may include one processor core (single core) or may include a plurality of processor cores.
  • the processor 410 may include multi-core, such as dual-core, quad-core, or hexa-core.
  • the processor 410 may further include a cache memory located internally or externally.
  • the processor 410 may be configured with one or more processors.
  • the processor 410 may include at least one of an application processor, a communication processor, or a graphical processing unit (GPU).
  • GPU graphical processing unit
  • processor 410 is electrically or operatively coupled to other components within the node (e.g., memory 420, communication circuitry 430, or display 440). It can be (coupled with) or connected to.
  • 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, the communication circuit 430, or the display 440.
  • Processor 410 may generate new messages, data, instructions, or signals based on received messages, data, instructions, or signals.
  • Processor 410 may provide processed or generated messages, data, instructions, or signals to memory 420, communication circuit 430, or display 440.
  • the processor 410 can process data or signals generated or generated by a program. For example, the processor 410 may request instructions, data, or signals from the memory 420 to execute or control a program. The processor 410 may record (or store) or update instructions, data, or signals to the memory 420 in order to execute or control a program.
  • the memory 420 may store commands for controlling nodes, control command codes, control data, or user data.
  • the memory 420 may include at least one of an application program, an operating system (OS), middleware, or a device driver.
  • OS operating system
  • middleware middleware
  • device driver a device driver
  • Memory 420 may include one or more of volatile memory or non-volatile memory.
  • Volatile memory includes dynamic random access memory (DRAM), static RAM (SRAM), synchronous DRAM (SDRAM), phase-change RAM (PRAM), magnetic RAM (MRAM), resistive RAM (RRAM), and ferroelectric RAM (FeRAM). It can be included.
  • Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, etc.
  • the memory 420 uses non-volatile media such as a hard disk drive (HDD), solid state disk (SSD), embedded multi media card (eMMC), and universal flash storage (UFS). More may be included.
  • HDD hard disk drive
  • SSD solid state disk
  • eMMC embedded multi media card
  • UFS universal flash storage
  • the memory 420 may store some of the information included in the controller's memory (eg, memory 330 in FIG. 3).
  • memory 420 may store data flow table 316 described in FIG. 3 .
  • Communication circuitry 430 may support establishment of a wired or wireless communication connection between a node and an external electronic device (e.g., controller 202 of FIG. 2), and performing communication through the established connection.
  • the communication circuit 430 may be 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 power line communication circuit), and using the corresponding communication circuit, a short-range communication network such as Bluetooth, WiFi direct, or IrDA (infrared data association) or a long-distance communication such as a cellular network, the Internet, or a computer network It can communicate with external electronic devices through a network.
  • the various types of communication circuits 430 described above may be implemented as one chip or may be implemented as separate chips.
  • the display 440 can output content, data, or signals.
  • the display 440 may display image data processed by the processor 410.
  • the display 440 may be configured with an integrated touch screen by being combined with a plurality of touch sensors (not shown) capable of receiving touch input, etc.
  • a plurality of touch sensors may be placed above the display 440 or below the display 440.
  • a server may include a processor 410, memory 420, and communication circuit 430.
  • the processor 410, memory 420, and communication circuit 430 included in the server may be substantially the same as the processor 410, memory 420, and communication circuit 430 described above.
  • a gateway (eg, gateway 203 in FIG. 2) may include a processor 410, a memory 420, and a communication circuit 430.
  • the processor 410, memory 420, and communication circuit 430 included in the gateway may be substantially the same as the processor 410, memory 420, and communication circuit 430 described above.
  • Figure 5 is a diagram showing the structure of an authentication data packet according to various embodiments.
  • Existing data packets can be composed of a data packet structure that includes an IP header and payload containing 5 Tuples (source, destination information, etc.) information, which is a unit that can be identified in OSI (Open System Interconnection) during IP communication. .
  • Tuples source, destination information, etc.
  • OSI Open System Interconnection
  • target applications e.g. : You may need to know whether the minimum identification unit (unit defined at the user level) within the target application 212 in FIG. 2 is connected to the network.
  • the target application (e.g., target application 212 in FIG. 2) is an authentication data packet (e.g., a single authentication data packet) containing information that can identify the included module or function, and data to identify that element when connected to the network. (510) and a data packet (520) using an authentication data packet as a header can be transmitted.
  • the network access control application e.g., the access control application 211 in FIG. 2 that controls network access in the node's operating system (kernel level) can check the received authentication data packets 510 and 520, Authentication information is extracted from the authentication data packets 510 and 520 and transmitted to a controller (e.g., controller 202 in FIG. 2) to check whether network access is permitted based on the authentication information, and A structure that allows network access can be provided based on whether network access is allowed.
  • a controller e.g., controller 202 in FIG. 2
  • the authentication information in the authentication data packets 510 and 520 can identify a level that cannot be identified by the operating system (kernel), and is the minimum identification unit for which the target application requests network access permission when connecting to the network in order to control network access.
  • the identification unit may include information such as a module, function, or data, and the identification unit may be assigned according to the intention of the target application developing and operating.
  • the authentication information may include an authentication information generation algorithm specified by the controller to double check the network connection of the target application.
  • a single authentication data packet 510 may include an IP header and payload.
  • the payload of a single authentication data packet 510 may include an authentication data packet.
  • the single authentication data packet 510 may be structured for initial network connection authentication.
  • the data packet 520 using the authentication data packet as a header may include an IP header, a payload including the authentication data packet, and a payload including the actual transmitted data packet.
  • the data packet 520 using the authentication data packet as a header may be a data packet for checking consecutive data packets.
  • authentication data packets 510, 520 may include one or more pieces of authentication information.
  • Figure 6 is a diagram showing an operation for controlling transmission of data packets according to various embodiments.
  • the node 201 is blocked at the kernel level of the network driver and operating system in the case of an unauthorized data packet for which no data flow exists among the data packets transmitted to the destination network 204 after connecting to the controller 202. You can. Accordingly, node 201 may not transmit any data packets that do not pass through access control application 211 to destination network 204 .
  • the access control application 211 must access the controller 202 to perform identification and authentication of a node or one or more identification information and applications, modules and functions included in the application, and data. After performing authentication, the access control application 211 queries the controller 202 for access network information when accessing the destination network 204 of the target application 212 to check whether access is possible, and determines whether the connection is possible, including the modules and functions of the authorized application, It can be controlled so that only objects such as data can access the network.
  • Unauthorized nodes or applications, modules, functions, and data included in the application are basically unable to access the destination network 204, and are sent from the controller 202 to the target application 212 and the modules included in the target application 212. And if the data flow information including connection information such as functions and data is not delivered to the first gateway 213 or the second gateway 223, the first gateway 213 or the second gateway 223 transmits the data packet. Because forwarding is blocked, the node 201 cannot reach the destination network 204, that is, it is in an isolated state.
  • Figure 7 shows a signal flow diagram for connecting a node to a controller according to various embodiments.
  • the access control application 211 of the node 201 requests the controller 202 to create a control flow, thereby creating a node ( 201), you can try to connect to the controller.
  • connection control application 211 of the node 201 may request controller connection from the controller 202 in operation 705.
  • the connection control application 211 may perform a controller connection request to create a control flow with the controller 202.
  • the controller connection request may include information about the node 201 or the connection control application 211.
  • the controller 202 may check whether the connection control application 211 is in a state in which connection is possible according to the connection policy based on the connection request information.
  • the information requested for access by the access control application 211 may include the type of node 201, location information, environment, network in which the node 201 is included, and information about the access control application 211. there is.
  • the controller 202 controls the access control application ( 211), connection inaccessibility information may be transmitted (operation 725).
  • the controller 202 may create a connection control application 211 or a control flow between the node 201 and the controller 202.
  • the controller 202 may generate control flow identification information in the form of a random number, and enter the identification information of the node 201 and/or the network to which the node 201 belongs in a control flow table (e.g., the control flow in FIG. 3). It can be stored in the table 315).
  • control flow identification information and/or control flow information stored in the control flow table is used to authenticate the user of the node 201, update the information of the node 201, check the policy for network access of the node 201, and/ Or it can be used for validation.
  • the controller 120 may generate whitelist information for accessible applications in a connection policy that matches the node 201.
  • the controller 202 may create a whitelist of accessible applications based on an access policy matched with identification information of the node, user, and source network.
  • a whitelist When a whitelist is created, the controller 202 provides control flow identification information (e.g., ID) to identify the control flow when the connection is completed as a result of the connection and subsequent node user authentication requests and continuous update of node information are required.
  • the application whitelist may be transmitted to the access control application 211 of the node 201 (operation 725).
  • the controller 202 may check whether to allow data packets for which authentication has not been performed based on an authentication policy (e.g., the authentication policy database 312 of FIG. 3). In this case, the controller 202 can check information on whether unauthenticated network access is possible to determine whether the node 201 will allow network access without data packet authentication based on the authentication policy, and unauthenticated network access is possible. Availability information may be transmitted to the node 201 (operation 725).
  • an authentication policy e.g., the authentication policy database 312 of FIG. 3
  • Availability information may be transmitted to the node 201 (operation 725).
  • the controller 202 may transmit a response to the controller connection request to the connection control application 211 of the node 201.
  • the controller 202 may transmit the generated control flow identification information to the access control application 211.
  • the controller 202 may transmit accessible application whitelist information to the access control application 211.
  • the access control application 211 may perform a check on the application.
  • the access control application 211 may perform a check on applications based on a whitelist of accessible applications received from the controller 202.
  • the access control application 211 can check whether the application exists (installed) on the node 201 based on the accessible application information, and in the case of the existing application, the integrity and stability are checked according to the validation policy ( Above the application, tampering inspection, code signing inspection, and fingerprint inspection) can be performed.
  • the access control application 211 may transmit the application check result to the controller 202.
  • the access control application 211 may transmit information on applications existing in the node 201 and the results of validation to the controller 202.
  • the controller 202 may check whether the application is valid based on the received application information. If the application included in the received application information is a valid application, the controller 202 sets the gateway 203 where the node 201 is located in the access policy to allow access to the node 201 connected to the network including the application. You can check, and in the authentication policy, you can create a data flow so that the application can pre-allow data packet transmission without data packet authentication. For example, a data flow can be created based on source IP, destination IP, and port information.
  • the controller 202 may check in the authentication policy whether to allow data packets for which authentication has not been performed. For example, the controller 202 determines whether the node 201 can connect to an unauthenticated network to determine whether to allow network access without data packet authentication or whether to basically allow transmission of TCP SYN packets. It may be transmitted to the control application 211 (operation 745).
  • the controller 202 may transmit the generated data flow to the gateway 203. For another example, if the generated data flow does not exist, the controller 202 may not transmit the data flow to the gateway 203.
  • the controller 202 may transmit the generated data flow to the node 201. For another example, if the generated data flow does not exist, the controller 202 may not transmit the data flow to the gateway 203.
  • the access control application 211 of the node 201 may process the result of the response received from the controller 202.
  • the connection control application 211 may store the received control flow identification information and display a user interface screen to the user indicating that the controller connection is complete.
  • the network connection request for the destination network of the node 201 can be controlled by the controller 202.
  • controller 202 may determine that 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 inaccessible. In this case, the controller 202 may not generate a control flow in operation 715 and may transmit a response indicating that controller connection is not possible in operation 725. Additionally, in this case, operations 730 to 750 may not be performed. Depending on the embodiment, if a retry of controller connection is required, the connection control application 211 may perform operation 705 again.
  • the access control application 211 can update the data flow of the node 201 when a data flow received from the controller 202 exists and transmit data packets based on a pre-allowed data flow when connecting to the network. Data flow can be managed so that
  • operations 730 to 750 may not be performed when the access control application 211 determines that inspection of the application is not necessary.
  • Figure 8 shows an operation flowchart for network connection of a node according to various embodiments. Depending on the embodiment, the operations shown in FIG. 8 may be performed through the access control application 211 of the node 201 shown in FIG. 2.
  • the destination network may need to check whether network access is possible or authenticate network access from the controller 202 in order to communicate.
  • the connection control application 211 of node 201 may detect a network connection event.
  • the connection control application 211 may detect a network connection event for the destination network of the target application.
  • the access control application 211 may detect a network connection event by detecting a data packet that the target application wants to transmit.
  • the connection control application 211 may inspect the data flow. For example, the access control application 211 can confirm the existence of a data flow authorized by the controller 202 and corresponding to the data packet that the target application wants to transmit. For another example, the access control application 211 may check whether a data flow corresponding to the identification information of the target application 211 and the identification information of the destination network exists. Depending on the embodiment, if a data flow exists but is not valid, the connection control application 211 may drop the data packet (operation 840). According to another embodiment, if a data flow exists and the data flow is authenticated, or if authentication is not required, the access control application 211 may transmit a data packet (act 815).
  • the access control application 211 may check whether the data packet is a TCP SYN packet for TCP session creation. Depending on the embodiment, when the data packet is a TCP SYN packet, the connection control application 211 may perform a network connection check (operation 825) related to whether the TCP SYN packet can be transmitted. For another example, when the data packet is a TCP SYN packet, the connection control application 211 may allow transmission of the TCP SYN packet based on whether the TCP SYN packet can be transmitted.
  • the connection control application 211 can check whether transmission of the TCP SYN packet is allowed based on whether the TCP SYN packet can be transmitted.
  • the process of checking whether transmission of the TCP SYN packet is permitted may be performed through a network connection test. For example, a network connectivity check may be performed through the operations shown in FIG. 9A. If the data packet is not a TCP SYN packet, in operation 830, the access control application 211 may check whether the data packet is an authentication data packet. Depending on the embodiment, if the data packet is not an authentication data packet, the access control application 211 may drop the data packet (operation 840).
  • the access control application 211 may perform a network connection authentication check related to whether the authentication data packet can be transmitted. For example, a network connection authentication check may be performed through the operations shown in FIG. 9B.
  • FIG. 9A shows a signal flow diagram for checking network connectivity of a node according to various embodiments.
  • the node 201 may transmit a TCP SYN packet and perform a 3 Way Handshake procedure to create a TCP session.
  • Node 201 may be in a state capable of transmitting actual data packets after a TCP session is created. Due to the nature of TCP communication, in order to authenticate data packets, the node 201 must have a TCP session created in advance, and the controller 202 must check whether network access is possible at the time of creating the TCP session, and after creating the TCP session, At the time of data packet authentication, the controller 202 may need to confirm whether network access is possible.
  • the network connection of the node 201 may have the disadvantage of requiring a lot of time to round trip and actually transmit the data packet.
  • the connection control application 211 of the node 201 basically allows the creation of a TCP session, but then checks whether network access is possible at the time of data packet authentication and actual data packet transmission. The process of receiving confirmation from the controller 202 can be reduced to once.
  • the access control application 211 may detect a network connection check event.
  • the access control application 211 may detect a network connection check event through operation 825 of FIG. 8.
  • the connection control application 211 may check whether the TCP SYN packet is inspected. For example, if the connection control application 211 does not need to check the TCP SYN packet, it can create a TCP session by sending the TCP SYN packet to the destination network. For another example, the connection control application 211 may previously allow TCP SYN data packets, i.e., if the data packet has not been authenticated, but a data flow exists that can transmit the TCP SYN data packet, the TCP SYN packet You can create a TCP session by sending it to the destination network. Depending on the embodiment, operation 915 may be performed when a TCP SYN packet needs to be checked or when there is no data flow capable of transmitting a TCP SYN data packet.
  • the access control application 211 may request a network connection to the controller 202.
  • the network connection request may include at least one of control flow identification information previously created with the controller 202, identification information of the target application, and identification information of the destination network.
  • the controller 202 may confirm an access policy matching the identified node 201, user, and source network information based on the control flow identification information. For example, the controller 202 determines whether the connection request identification information (e.g., identification information of the target application, identification information of the destination network) is included in the access policy and whether the destination network corresponding to the identification information is accessible. You can check it. Depending on the embodiment, when network access is not possible, the controller 202 may transmit a result of network access failure to the access control application 211 in operation 935.
  • the connection request identification information e.g., identification information of the target application, identification information of the destination network
  • the controller 202 may process the data flow. For example, the controller 202 provides data flow information that can be accessed with identification information of the destination network based on a data flow table (e.g., data flow table 316 in FIG. 3) to allow the node 201 to access the network. You can check whether exists. Depending on the embodiment, if an accessible data flow exists in the data flow table, the controller 202 may transmit the data flow to the node 201 (operation 935).
  • a data flow table e.g., data flow table 316 in FIG. 3
  • the controller 202 may create a data flow based on the source IP and destination network identification information so that the target application can connect to the destination network, and the generated Data flows may be transmitted to node 201 and gateway 203 (operations 930 and 935).
  • the access control application 211 may process a result of the response received from the controller 202. For example, when the connection control application 211 receives a result of network connection not being possible, it may drop a data packet. For another example, when a data flow is received, the connection control application 211 may transmit a data packet (TCP SYN packet) based on the received data flow. there is. Depending on the embodiment, the access control application 211 of the node 201 may update the data flow based on the received data flow.
  • TCP SYN packet data packet
  • the access control application 211 of the node 201 may further perform validation before performing operation 915.
  • the access control application 211 may perform a check on the integrity and stability of the target application (application forgery check, tampering check, code signing check, fingerprint check, etc.) according to the validation policy.
  • the access control application 211 may perform operation 915.
  • the access control application 211 may drop the data packet (TCP SYN packet).
  • FIG. 9B shows a signal flow diagram for checking network connection authentication of a node according to various embodiments.
  • the node 201 When the node 201 needs to communicate with a destination network, it needs to check whether authentication has been completed in order to communicate with the destination network.
  • the access control application 211 may detect a network connection authentication check event.
  • the access control application 211 may detect a network connection authentication check event through operation 835 shown in FIG. 8.
  • the access control application 211 may request network access authentication from the controller 202.
  • the access control application 211 may request network connection authentication including control flow identification information, target application identification information, identification information of the destination network to be connected, and authentication data packet information to the controller 202.
  • the controller 202 may confirm an access policy that matches the identified node 201, user, and source network information based on the control flow identification information. For example, the controller 202 determines whether the connection request identification information (e.g., identification information of the target application, identification information of the destination network) is included in the access policy and whether the destination network corresponding to the identification information is accessible. You can check it. Depending on the embodiment, when network access is not possible, the controller 202 may transmit a result of network access failure to the access control application 211 in operation 980.
  • the connection request identification information e.g., identification information of the target application, identification information of the destination network
  • the controller 202 checks whether the authentication data packet transmitted by the node 201 is valid based on an authentication policy (e.g., the authentication policy database 312 of FIG. 3). You can. For example, in order to check the validity of an authentication data packet, the controller 202 checks whether the transmittable identification information included in the authentication policy is the same as the identification information transmitted by the node, and determines whether network access is possible with the identification information. For network access authentication, it is possible to determine whether the authentication information is valid through the authentication information generated through the authentication information generation algorithm and the authentication information inspection algorithm included in the authentication policy.
  • an authentication policy e.g., the authentication policy database 312 of FIG. 3
  • controller 202 may allow network access with the approval of a third party (e.g., the data owner 206 in FIG. 2) matched based on the identification information of the node 201, Authentication data packet validity can be checked through third-party authentication confirmation. Through the above confirmation, third parties can safely manage the data they own and check records of data use.
  • a third party e.g., the data owner 206 in FIG. 2
  • the controller 202 configures a data flow table (e.g., data flow table 316 in FIG. 3) to allow node 201 to access the network. You can check whether accessible data flow information exists using the identification information of the destination network.
  • a data flow table e.g., data flow table 316 in FIG. 3
  • the controller 202 If there is no valid data flow information in the data flow table, the controller 202 generates data including the source IP, destination network identification information, and authentication information generated according to the authentication policy so that the target application can connect to the destination network. You can create flows.
  • the authentication information may be information including whether it is possible to always transmit data packets without additional authentication renewal and the time of authentication renewal.
  • authentication information may be used to determine whether to continue to allow network access after network access has been granted, or to determine whether to allow network access under certain conditions (e.g., TCP SYM Packet, TCP FIN Packet, the amount of data packets transmitted is the amount of data packets included in the data flow).
  • TCP SYM Packet TCP FIN Packet
  • the amount of data packets transmitted is the amount of data packets included in the data flow.
  • the authentication information may include information that sets the authentication status of the data flow to an authentication required state when the data flow update conditions are satisfied.
  • the controller 202 may transmit the generated data flow to the gateway 203. For another example, if the generated data flow does not exist, the controller 202 may not transmit the data flow to the gateway 203.
  • the controller 202 may transmit a response to the network connection authentication request (operation 955) of the access control application 211. For example, if a generated data flow exists, the controller 202 may transmit the generated data flow to the access control application 211. For another example, if there is a data flow that can be accessed in the data flow table, the data flow can be transmitted to the node 201. For another example, if the network connection of the target application of the node 201 is not possible or authentication fails, the controller 202 may transmit a result of the inability to connect.
  • the access control application 211 may process the result of the response sent from the controller 202. For example, when the access control application 202 receives a data flow from the controller 202, it updates the data flow of the node 201 with the received data flow and drops or transmits an authentication data packet according to the authentication information. It can be handled. For another example, the access control application 211 may drop a data packet when receiving an authentication failure result or a connection inaccessibility result from the controller 202.
  • the access control application 211 may perform a validation check on the target application according to a validation policy. For example, the access control application 211 may further perform an integrity and stability check of the target application (application forgery check, tampering check, code signing check, fingerprint check, etc.). The access control application 211 may perform operation 955 if the validation result is successful.
  • Figure 10 shows a signal flow diagram for transmitting a data packet of a node according to various embodiments.
  • the access control application 211 of the node 201 can check whether the data packet is authenticated and whether renewal is necessary before transmitting the data packet, and can control not to transmit the data packet if authentication is not performed or renewal is required. there is.
  • the access control application 211 may detect a data packet transmission event. For example, the access control application 211 may detect an operation of another application included in the node 201 (eg, the target application 212 in FIG. 2) transmitting a data packet.
  • the access control application 211 may detect an operation of another application included in the node 201 (eg, the target application 212 in FIG. 2) transmitting a data packet.
  • the access control application 211 may perform a data packet authentication check. For example, the access control application 211 may check authentication information included in the data flow corresponding to the destination network identification information of the data packet requested to be transmitted. The access control application 211 can check whether or not each data packet contains an authentication data packet based on the authentication information, and can perform a data packet test when it is necessary to check whether or not the authentication data packet is included. In this case, the access control application 211 may drop the data packet if the authentication data packet included in the data packet does not exist or if the authentication information included in the data packet is different from the authentication information included in the data flow. For another example, if it is not necessary to check whether the authentication data packet is included, the access control application 211 may perform operation 1015.
  • the access control application 211 may perform a data packet update check. For example, the access control application 211 may check whether data packet inspection for authentication renewal is necessary based on authentication information included in the data flow. For example, when inspection of a data packet for authentication renewal is required, the access control application 211 may inspect the data packet requested to be transmitted according to the authentication renewal method included in the authentication information.
  • the connection control application 211 when the data packet requested to be transmitted is a TCP SYN Packet or a TCP FIN Packet, and the amount of transmitted data packets exceeds the amount of data packets included in the data flow, the connection control application 211 If the data flow update conditions are met according to a series of rules included in the authentication information, such as including the update processing character (Suffix) of the data packet included in the flow, the data flow update procedure can be performed. For example, the access control application 211 can change the update status of the data flow to update required, transmit information about the data flow to the controller 202, and request update of the data flow (operation 1020).
  • the controller 202 may update the data flow based on information about the data flow received from the access control application 211.
  • the controller 202 may transmit the updated data flow to the gateway 203.
  • operations 1020 to 1030 may not be performed if update of the data flow is not necessary.
  • the access control application 211 may transmit and process the data packet. Additionally, when authentication renewal is completed, the access control application 211 can transmit and process data packets. Additionally, the access control application 211 may transmit the data packet when the inspection of the data packet is completed through operation 1010 or operation 1015. Depending on the embodiment, the access control application 211 may drop the data packet if the inspection of the data packet fails in operation 1010 or operation 1015.
  • Figure 11 shows a signal flow diagram for controlling reception of data packets by a gateway according to various embodiments.
  • the gateway 203 can check whether the data packet is authenticated and whether renewal is necessary before forwarding the data packet, and can control not to forward the data packet if it is not authenticated or requires renewal. there is.
  • gateway 203 may detect a data packet reception event.
  • the gateway 203 may detect data packets transmitted from the access control application 211 of the node 201.
  • the gateway 203 can check the source IP and identification information of the destination network of the received data packet, and check whether a data flow corresponding to the source IP and the identification information of the destination network exists. Depending on the embodiment, if there is no data flow corresponding to the identification information of the source IP and destination network, the gateway 203 may drop the data packet.
  • the gateway 203 may perform a data packet authentication check. For example, the gateway 203 may check authentication information included in the data flow corresponding to the destination network identification information of the received data packet. The gateway 203 can check whether each data packet contains an authentication data packet based on the authentication information, and can perform a data packet test when it is necessary to check whether the authentication data packet is included. In this case, the gateway 203 may drop the data packet if the authentication data packet included in the data packet does not exist or if the authentication information included in the data packet is different from the authentication information included in the data flow. For another example, if it is not necessary to check whether the authentication data packet is included, the gateway 203 may perform operation 1120.
  • the gateway 203 may perform a data packet update check. For example, the gateway 203 may determine whether data packet inspection for authentication renewal is necessary based on authentication information included in the data flow. For example, when inspection of a data packet for authentication renewal is necessary, the gateway 203 may inspect the received data packet according to the authentication renewal method included in the authentication information. Depending on the embodiment, the gateway 203 includes the received data packet in the data flow if the received data packet is a TCP SYN Packet or a TCP FIN Packet and the amount of the received data packet exceeds the amount of data packets included in the data flow.
  • the gateway 203 includes the received data packet in the data flow if the received data packet is a TCP SYN Packet or a TCP FIN Packet and the amount of the received data packet exceeds the amount of data packets included in the data flow.
  • the data flow update procedure can be performed.
  • the gateway 230 may change the update status of the data flow to need to be updated, transmit information about the data flow to the controller 202, and request an update of the data flow (operation 1125).
  • the controller 202 may update the data flow based on information about the data flow received from the gateway 203.
  • operations 1125 and 1130 may not be performed if update of the data flow is not necessary.
  • the gateway 203 may forward the data packet. Additionally, when authentication renewal is completed, the gateway 203 may forward the data packet. Additionally, the gateway 203 may forward the data packet when the inspection of the data packet is completed through operation 1115 or operation 1120. Depending on the embodiment, the gateway 203 may drop the data packet if the inspection of the data packet fails in operation 1115 or operation 1120.
  • Figure 12 shows a signal flow diagram for updating the control flow of a node according to various embodiments.
  • the access control application 211 maintains information about the control flow and data flow of the node 201, and periodically checks the control flow to receive an updated data flow from the controller 202 or check whether the control flow is valid. You can request renewal.
  • the access control application 211 may detect a control flow update event.
  • the access control application 211 may request a control flow update from the controller 202 based on control flow identification information.
  • 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.
  • a control flow does not exist (e.g., when the connection is disconnected by another security system, when the connection is disconnected due to its own risk detection, etc.)
  • the controller 202 determines that the connection of the node 201 is valid. Since this is not done, a connection failure result can be transmitted to the access control application 211 (operation 1220).
  • the controller 202 may update the update time when a control flow exists in the control flow table (e.g., the control flow table 315 in FIG. 3). In this case, the controller 202 may transmit the updated identification information of the control flow to the access control application 211 (operation 1220).
  • the control flow table e.g., the control flow table 315 in FIG. 3
  • the controller 202 may transmit the updated identification information of the control flow to the access control application 211 (operation 1220).
  • the controller 202 if re-authentication is required among data flows dependent on the identified control flow, or if there is a data flow that is no longer accessible, the controller 202 sends information about the data flow to the access control application ( 211) (operation 1220).
  • the access control application 211 of the node 201 may process the result of the response received from the controller 202. For example, the access control application 211 may block all network connections of the application when the control flow update result is impossible. For another example, the access control application 211 may update the data flow if the control flow update result is normal and updated data flow information exists.
  • Figure 13 shows a signal flow diagram for disconnection of a node according to various embodiments.
  • the node 201 terminates the node 201, terminates the connection control application 211, terminates the target application, no longer uses the network connection, and collects information identified from the interworking system. Based on , at least one of the connection termination requests can be detected. In this case, in operation 1310, the node 201 or the access control application 211 may request the controller 202 to remove the control flow.
  • the controller 202 may remove the identified control flow based on the received control flow identification information.
  • the controller 202 may remove all data flows dependent on the removed control flow. Accordingly, node 201 can no longer connect to the destination network based on the removed data flow.
  • the controller 202 may request the gateway 203 to remove all data flows dependent on the removed control flow.
  • Figure 14 shows a signal flow diagram for termination of application execution of a node according to various embodiments.
  • the access control application 211 of the node 201 can check in real time whether the running application is terminated and detect an application execution termination event.
  • the access control application 211 may check whether a data flow corresponding to the terminated application identification information and PID (Process ID and Child Process ID Tree) information exists. If a data flow exists, the access control application can delete the data flow. Depending on the embodiment, the access control application 211 may check whether the terminated application exists in the running process list in order to track termination of multiple executable applications, and if not, identify the terminated application. All data flows corresponding to can be deleted.
  • PID Process ID and Child Process ID Tree
  • the access control application 211 may request deletion of the deleted data flow from the controller 202.
  • the controller 202 may delete the data flow for which deletion has been requested. Additionally, the controller 202 may request the gateway 203 to remove a deleted data flow. Accordingly, data packets corresponding to the source network, destination network, and port information included in the deleted data flow can no longer be transmitted.
  • Figure 15 shows an operation flowchart of a method of operating an access control application installed in a node according to various embodiments.
  • the operation shown in FIG. 15 may be performed through the access control application 211 installed on the node 201 of FIG. 2.
  • the access control application 211 may detect a network connection event.
  • the connection control application 211 may detect a network connection event by detecting a data packet that the target application wants to transmit to the destination network.
  • the access control application 211 may confirm the existence of a data flow authorized from an external server and corresponding to the data packet that the target application wants to transmit.
  • the access control application 211 may check the type of data packet. For example, the connection control application 211 can determine whether a data packet is a TCP SYN packet, an authentication data packet, or neither a TCP SYN packet nor an authentication data packet.
  • the connection control application 211 may allow transmission of the TCP SYN packet based on whether the TCP SYN packet can be transmitted.
  • the access control application 211 may perform a network connection authentication check related to whether the authentication data packet can be transmitted.
  • connection control application 211 may drop the data packet.

Abstract

A node according to one embodiment disclosed in the present document stores instructions for sensing a network access event through an access control application, confirming the presence of a data flow, which corresponds to a data packet to be transmitted by a target application and is applied from an external server, confirming the type of the data packet, permitting the transmission of a TCP SYN packet on the basis of whether the TCP SYN packet can be transmitted on the basis of the type of the data packet, performing a network access authentication check after the generation of a TCP session or if it is unnecessary to check the TCP SYN packet, and processing data packets transmitted thereafter on the basis of the authentication check result, wherein the data flow can include information about whether to fundamentally permit the transmission of the TCP SYN packet.

Description

컨트롤러 기반 네트워크 접속을 제어하기 위한 시스템 및 그에 관한 방법System and method for controlling controller-based network access
관련출원과의 상호인용Cross-citation with related applications
본 발명은 2022.04.25.에 출원된 한국 특허 출원 제10-2022-0050926호에 기초한 우선권의 이익을 주장하며, 해당 한국 특허 출원의 문헌에 개시된 모든 내용을 본 명세서의 일부로 포함한다.The present invention claims the benefit of priority based on Korean Patent Application No. 10-2022-0050926 filed on April 25, 2022, and all contents disclosed in the document of the Korean Patent Application are included as part of this specification.
기술분야Technology field
본 문서에 개시된 실시예들은 컨트롤러 기반 네트워크 접속을 제어하기 위한 시스템 및 그에 관한 방법에 관한 것이다.Embodiments disclosed in this document relate to a system and method for controlling controller-based network access.
다수의 장치들은 네트워크를 통해서 데이터를 통신할 수 있다. 예를 들어, 스마트폰은 인터넷을 통해 서버와 데이터를 송신하거나 수신할 수 있다. 네트워크는 인터넷과 같은 공용 네트워크(public network)뿐만 아니라 인트라넷과 같은 사설 네트워크(private network)를 포함할 수 있다.Multiple devices can communicate data over a network. For example, a smartphone can send or receive data to and from a server over the Internet. Networks may include public networks such as the Internet as well as private networks such as intranets.
일반적으로 노드와 서버간 통신은 IP(Internet Protocol) 기반의 TCP(Transmission Control Protocol)를 사용하며, 데이터 패킷내에 포함된 5 Tuples 정보로 출발지 IP, 도착지 IP 및 포트 정보를 식별하는 방식의 접속 제어를 수행하는 방화벽 기술을 보편적으로 사용한다.In general, communication between nodes and servers uses IP (Internet Protocol)-based TCP (Transmission Control Protocol), and access control is performed by identifying the source IP, destination IP, and port information with 5 Tuples information included in the data packet. Firewall technology is commonly used.
방화벽 기술은 노드 또는 네트워크 노드에 할당된 IP를 식별하여 네트워크 경계 사이에서 인바운드 또는 아웃바운드 데이터 패킷의 접근 제어를 수행함으로서 비인가된 IP가 비인가된 목적지 네트워크로의 접속을 차단하는 역할을 수행한다. Firewall technology identifies IPs assigned to nodes or network nodes and performs access control for inbound or outbound data packets between network boundaries, thereby blocking unauthorized IPs from accessing unauthorized destination networks.
IP를 기반으로 하는 방화벽과 같은 기술은 IP 할당 및 제어가 어려운 인터넷 대역에 있는 노드의 경우 또는 공유기 및 게이트웨이에 의해 서브 네트워크를 구성하여 사설 IP 대역을 만드는 경우 IP 단위로의 통제가 어려운 문제가 발생할 수 있어, 실질적으로 방화벽은 최소한의 안전 장치로서 사용된다. Technologies such as IP-based firewalls may cause problems where IP-based control is difficult in the case of nodes in the Internet band where IP allocation and control are difficult, or when private IP bands are created by configuring subnetworks with routers and gateways. In practice, firewalls are used as a minimum security device.
위와 같은 문제점을 해결하기위해 노드와 서버 또는 게이트웨이 사이에 전송되는 데이터 패킷을 암호화하거나, 위조 및 변조 되지 않도록 하고 인가된 대상만 유일한 접속을 허용할 수 있도록 하는 터널링 기술 또는 보안 세션 등의 접속성 제어 기술이 사용되고 있다. To solve the above problems, data packets transmitted between nodes and servers or gateways are encrypted, or connectivity controls such as tunneling technology or security sessions are used to prevent forgery and alteration and to allow unique access only to authorized subjects. Technology is being used.
하지만, 단말 수준으로 생성되는 터널링 기술 기반의 VPN(Virtual Private Network)은 사용시 최초 인증 이후 상시 연결된 터널링을 통해서 비허용된 또는 안전하지 않은 애플리케이션이 허용되지 않은 목적지 네트워크에 접속하는 취약점을 가지고 있다. 즉, 위와 같은 취약점에 있어서 VPN 기술은 각종 멀웨어 및 랜섬웨어 침투에 의한 보안 사고가 증가하고 있다. However, VPN (Virtual Private Network) based on tunneling technology created at the terminal level has a vulnerability that allows unauthorized or insecure applications to access unauthorized destination networks through tunneling that is always connected after initial authentication when used. In other words, with regard to the above vulnerabilities, VPN technology is experiencing an increase in security incidents caused by various malware and ransomware infiltration.
또한, 최근 비즈니스의 복잡도와 함께 상시 연결된 네트워크 상에서 서버간의 통신이 증가하였고 서버내에서 동작하는 대상 애플리케이션은 하나의 애플리케이션에서 모든 서비스 로직이 동작하는 것이 아닌 모듈 또는 기능 단위로 분리되어 동작하는 Micro Service Architecture 형태로 발전되면서, 실질적 통신은 애플리케이션 보다 더 낮은 수준인 모듈이나 기능 단위의 통신으로 식별 단위가 변화되어 애플리케이션 보다 낮은 수준에서의 네트워크 접속 제어 기술이 필요하다. In addition, with the recent complexity of business, communication between servers has increased on always-connected networks, and the target application running within the server is a Micro Service Architecture in which all service logic operates separately in modules or functional units rather than in a single application. As the form develops, the identification unit of actual communication changes to communication at a module or functional level that is lower than the application, and network access control technology at a lower level than the application is required.
본 문서에 개시되는 다양한 실시예들은 네트워크 환경에서 상술한 문제점을 해결하기 위한 시스템 및 그에 관한 방법을 제공하고자 한다. Various embodiments disclosed in this document are intended to provide a system and method for solving the above-described problems in a network environment.
본 문서에 개시된 일 실시예에 따른 노드는, 통신 회로, 상기 통신 회로와 작동적으로 연결되는 프로세서 및 상기 프로세서와 작동적으로 연결되고, 접속 제어 애플리케이션 및 타겟 애플리케이션을 저장하는 메모리를 포함하고, 상기 메모리는 상기 프로세서에 의해서 실행될 때 상기 노드가, 상기 접속 제어 애플리케이션을 통해 네트워크 접속 이벤트를 감지하고, 상기 타겟 애플리케이션이 전송하고자 하는 데이터 패킷에 대응되고 외부 서버로부터 인가된 데이터 플로우의 존재를 확인하고, 상기 데이터 패킷의 종류를 확인하고, 상기 데이터 패킷의 종류에 기반하여 TCP SYN 패킷의 전송 가능 여부에 기반하여 TCP SYN 패킷의 전송을 허용하고, TCP 세션 생성 이후 또는 TCP SYN 패킷의 검사가 필요하지 않은 경우 네트워크 접속 인증 검사를 수행하고, 상기 인증 검사 결과에 기반하여 이후 전송되는 데이터 패킷을 처리하도록 하는, 명령어들을 저장하고, 상기 데이터 플로우는 상기 TCP SYN 패킷의 전송을 기본적으로 허용할 것인지 여부에 관한 정보를 포함할 수 있다. A node according to an embodiment disclosed herein includes a communication circuit, a processor operatively connected to the communication circuit, and a memory operatively connected to the processor and storing a connection control application and a target application, When the memory is executed by the processor, the node detects a network connection event through the access control application and confirms the existence of a data flow authorized from an external server that corresponds to the data packet that the target application wants to transmit, Check the type of the data packet, allow transmission of the TCP SYN packet based on whether the TCP SYN packet can be transmitted based on the type of the data packet, and do not require inspection of the TCP SYN packet after creating a TCP session or Stores instructions for performing a network connection authentication check and processing subsequently transmitted data packets based on the results of the authentication check, and whether the data flow will basically allow transmission of the TCP SYN packet. May contain information.
본 문서에 개시된 일 실시예에 따른 노드에 설치된 접속 제어 애플리케이션의 동작 방법은, 네트워크 접속 이벤트를 감지하는 단계, 상기 타겟 애플리케이션이 전송하고자 하는 데이터 패킷에 대응되고 외부 서버로부터 인가된 데이터 플로우의 존재를 확인하는 단계, 상기 데이터 패킷의 종류를 확인하는 단계, 상기 데이터 패킷이 TCP SYN 패킷인 경우 상기 TCP SYN 패킷의 전송 가능 여부에 기반하여 TCP SYN 패킷의 전송을 허용하고, 상기 데이터 패킷이 인증 데이터 패킷인 경우, 네트워크 접속 인증 검사를 수행하고, 상기 데이터 패킷이 상기 TCP SYN 패킷 및 상기 인증 데이터 패킷이 아닌 경우 상기 데이터 패킷을 드랍하는 단계를 포함하고, 상기 데이터 플로우는 상기 TCP SYN 패킷의 전송을 기본적으로 허용할 것인지 여부에 관한 정보를 포함할 수 있다. A method of operating a connection control application installed in a node according to an embodiment disclosed in this document includes detecting a network connection event, detecting the existence of a data flow authorized from an external server corresponding to a data packet to be transmitted by the target application, Confirming, confirming the type of the data packet, allowing transmission of the TCP SYN packet based on whether the TCP SYN packet can be transmitted if the data packet is a TCP SYN packet, and if the data packet is an authentication data packet If so, performing a network connection authentication check, and dropping the data packet if the data packet is not the TCP SYN packet and the authentication data packet, and the data flow basically involves transmission of the TCP SYN packet. It may include information about whether to allow it or not.
본 문서에 개시되는 실시예들에 따르면, 허용된 안전한 애플리케이션만 허용된 네트워크에 접속할 수 있는 애플리케이션 접속성 제어 기술을 적용하여 근본적인 통신 주체인 애플리케이션을 식별하고, 허용되지 않은 애플리케이션의 접속을 사전에 차단함으로서 각종 멀웨어 및 랜섬웨어가 허용되지 않은 목적지 네트워크에 접속하는 것을 방지함과 동시에 현재 발생되고 있는 각종 네트워크 보안 문제를 효과적으로 해결할 수 있다. According to embodiments disclosed in this document, application connectivity control technology that allows only permitted safe applications to access the permitted network is applied to identify the application that is the fundamental communication subject and prevent access to unauthorized applications in advance. By doing so, various malware and ransomware can be prevented from accessing unauthorized destination networks, and at the same time, various currently occurring network security problems can be effectively solved.
본 문서에 개시되는 실시예들에 따르면, 데이터댐 및 마이데이터, AI 서비스의 증가로 인해 모듈 또는 기능 단위의 통신을 애플리케이션 보다 더 세밀한 단위로 제어할 수 있고, 데이터 제공자가 보유하고 있는 데이터 또는 데이터 소유자가 위탁한 데이터를 데이터 수요자에게 전달하기 위해, 허용된 모듈이 데이터 소유자에 의해서 허용되거나 사전에 정책에 의해서 허용된 데이터만 전송하도록 네트워크 접속을 제어할 수 있다. According to the embodiments disclosed in this document, due to the increase in data dam, my data, and AI services, communication in modules or functional units can be controlled in a more detailed unit than the application, and data or data held by the data provider In order to deliver data entrusted by the owner to the data consumer, the network access can be controlled so that the permitted module transmits only data permitted by the data owner or permitted by policy in advance.
본 문서에 개시되는 실시예들에 따르면, 종래의 IP 기반 네트워크에 Overlay 된 Data Centric Networking 중심의 AI가 연산한 결과 및 서버에 보관하고 있는 무수히 많은 가공된 가치있는 데이터를 수요자에게 전송하고 실질적 가치를 부여하기 위한 기반 기술로 사용될 수 있다. According to the embodiments disclosed in this document, the results of AI calculations centered on Data Centric Networking overlaid on a conventional IP-based network and countless processed valuable data stored in the server are transmitted to the consumer and provide actual value. It can be used as a base technology for granting.
또한, 본 문서에 개시된 실시예들에 따르면, 종래의 애플리케이션 접속성 제어 기술로 제어할 수 없는 모듈 단위 및 데이터 단위의 네트워크 접속을 제어하기 위해 운영체제(Kernel Level)에서 식별할 수 없는 애플리케이션보다 더 낮은 단위 식별을 위해 대상 애플리케이션 (User Level)에서 네트워크 접속시 추가된 식별 계층을 삽입하여, 모듈 또는 데이터 수준의 네트워크 접속을 제어하기 위한 방법을 제공할 수 있다. In addition, according to the embodiments disclosed in this document, in order to control network access in module units and data units that cannot be controlled by conventional application connectivity control technology, a lower level than an application that cannot be identified in the operating system (Kernel Level) is used. For unit identification, an additional identification layer can be inserted when connecting to a network in the target application (User Level), providing a method to control network access at the module or data level.
또한, 본 문서에 개시된 실시예들에 따르면 운영체제 (Kernel Level)에서 식별할 수 없는 대상 애플리케이션 내(User Level)의 모듈 또는 기능이 네트워크에 접속하여 데이터를 전송하는 경우, 대상 애플리케이션이 네트워크 접속시 전송한 인증 데이터 패킷내에 포함된 각 식별 정보를 컨트롤러에 확인하여 해당 식별 정보를 포함하고 있는 네트워크 접속을 허용할 것인지 여부에 따라 네트워크 접속을 허용하거나 비허용하는 구조를 제공할 수 있다. In addition, according to the embodiments disclosed in this document, when a module or function in the target application (User Level) that cannot be identified in the operating system (Kernel Level) connects to the network and transmits data, the target application transmits data when connected to the network. It is possible to provide a structure that allows or disallows network access depending on whether to allow network access containing the identification information by checking each identification information included in one authentication data packet with the controller.
또한, 본 문서에 개시된 실시예들에 따르면, 사전에 설정된 컨트롤러의 인증 정책에 따라 식별 단위별로 화이트리스트 기반의 네트워크 접속을 허용하거나, 제 3자(예: 데이터 소유자)에 서 해당 식별 단위의 네트워크 접속을 허용할 것인지 여부를 추가 확인함으로써 제3자의 승인에 의해서만 네트워크 접속을 허용하는 구조를 제공할 수 있으며, 각 식별 단위별로의 네트워크 접속이 기록되므로 언제 어디로 어떠한 모듈이 어떠한 데이터를 전송하였는지 조회할 수 있는 방법을 제공할 수 있다.In addition, according to the embodiments disclosed in this document, whitelist-based network access is permitted for each identification unit according to the authentication policy of the controller set in advance, or a third party (e.g., data owner) is allowed to access the network of the corresponding identification unit. By additionally checking whether to allow access, it is possible to provide a structure that allows network access only with third-party approval. Since network access for each identification unit is recorded, it is possible to inquire what data was transmitted by which module and when. We can provide a way to do this.
또한, 본 문서에 개시된 실시예들에 따르면, Data Centric Networking을 구성하여 신용기관에 위탁된 데이터 소유자의 신용 정보를 타기관에 전송하는 경우, 데이터 소유자의 신용 정보 데이터를 위탁된 신용기관에서 승인된 타기관에 전송하는 것을 통제하기 위해, 사용자가 허용한 데이터만, 허용된 데이터 공급 기관에서 허용된 타기관에 맞춰서 데이터 제공 시점에 네트워크 접속을 생성하고, 데이터 제공이 끝난 시점에 네트워크 접속을 해제할 수 있는 기술을 제공할 수 있기 때문에 마이데이터의 실질적 취지에 도달할 수 있는 방법을 제공할 수 있다. In addition, according to the embodiments disclosed in this document, when Data Centric Networking is configured to transmit the credit information of the data owner entrusted to the credit institution to another institution, the data owner's credit information data is approved by the entrusted credit institution. In order to control transmission to other organizations, only the data permitted by the user can be created at the time of data provision to other organizations permitted by the permitted data supply agency, and the network connection can be disconnected at the end of data provision. Because it can provide technology that can be used, it can provide a way to reach the actual purpose of My Data.
또한, 본 문서에 개시된 실시예들에 따르면, 각종 인증 정보 (예: 공개키 기반 암복호화 키 및 인증서), 인증 정보를 기반으로 사이닝된 데이터 정보(예: 블록체인 네트워크 상에서의 승인된 데이터 전파) 전송, 클라우드 내에 저장된 개인 정보 등, 네트워크에 상시 연결되어 있지만, 인터넷과 격리되어야 하는 정보를 포함하는 원격 저장소를 필요로 한 경우에만 인터넷과의 연결함으로써 인터넷으로부터 유입되는 외부 위험을 차단함과 동시에, 허용된 데이터만 전송함으로써 비허용된 대상이 비허용된 데이터를 전송하는 행위(예: 탈취자에 의해 임의로 개인 정보를 유출하는 경우)를 차단할 수 있다. In addition, according to the embodiments disclosed in this document, various authentication information (e.g., public key-based encryption and decryption key and certificate), data information signed based on the authentication information (e.g., approved data propagation on a blockchain network) ) It is always connected to the network, such as transmission, personal information stored in the cloud, etc., but it connects to the Internet only when remote storage containing information that must be isolated from the Internet is required, thereby blocking external risks coming from the Internet. , By transmitting only permitted data, it is possible to block unauthorized subjects from transmitting unauthorized data (e.g., when personal information is arbitrarily leaked by a thief).
이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.In addition, various effects that can be directly or indirectly identified through this document may be provided.
도 1은 복수의 네트워크를 포함하는 환경을 나타낸다.Figure 1 shows an environment including multiple networks.
도 2는 다양한 실시 예들에 따른 네트워크 환경 내의 아키텍처를 나타낸다. Figure 2 shows architecture within a network environment according to various embodiments.
도 3은 다양한 실시예들에 따른 컨트롤러에 저장된 데이터 베이스를 나타내는 기능적 블록도이다. Figure 3 is a functional block diagram showing a database stored in a controller according to various embodiments.
도 4는 다양한 실시예들에 따른 노드의 기능적 블록도를 나타낸다. Figure 4 shows a functional block diagram of a node according to various embodiments.
도 5는 다양한 실시예들에 따른 인증 데이터 패킷의 구조를 보여주는 도면이다. Figure 5 is a diagram showing the structure of an authentication data packet according to various embodiments.
도 6은 다양한 실시예들에 따른 데이터 패킷의 전송을 제어하는 동작을 보여주는 도면이다.Figure 6 is a diagram showing an operation for controlling transmission of data packets according to various embodiments.
도 7은 다양한 실시예들에 따른 노드의 컨트롤러 접속을 위한 신호 흐름도를 나타낸다. Figure 7 shows a signal flow diagram for connecting a node to a controller according to various embodiments.
도 8은 다양한 실시예들에 따른 노드의 네트워크 접속을 위한 동작 흐름도를 나타낸다. Figure 8 shows an operation flowchart for network connection of a node according to various embodiments.
도 9a는 다양한 실시예들에 따른 노드의 네트워크 접속 검사를 위한 신호 흐름도를 도시한다. FIG. 9A shows a signal flow diagram for checking network connectivity of a node according to various embodiments.
도 9b는 다양한 실시예들에 따른 노드의 네트워크 접속 인증 검사를 위한 신호 흐름도를 도시한다. FIG. 9B shows a signal flow diagram for checking network connection authentication of a node according to various embodiments.
도 10은 다양한 실시예들에 따른 노드의 데이터 패킷을 전송하기 위한 신호 흐름도를 나타낸다.Figure 10 shows a signal flow diagram for transmitting a data packet of a node according to various embodiments.
도 11은 다양한 실시예들에 따른 게이트웨이의 데이터 패킷 수신을 제어하기 위한 신호 흐름도를 나타낸다.Figure 11 shows a signal flow diagram for controlling reception of data packets by a gateway according to various embodiments.
도 12는 다양한 실시예들에 따른 노드의 제어 플로우를 갱신하기 위한 신호 흐름도를 나타낸다.Figure 12 shows a signal flow diagram for updating the control flow of a node according to various embodiments.
도 13은 다양한 실시예들에 따른 노드의 접속 해제에 대한 신호 흐름도를 나타낸다.Figure 13 shows a signal flow diagram for disconnection of a node according to various embodiments.
도 14는 다양한 실시예들에 따른 노드의 애플리케이션 실행 종료에 대한 신호 흐름도를 나타낸다.Figure 14 shows a signal flow diagram for termination of application execution of a node according to various embodiments.
도 15는 다양한 실시예들에 따른 노드에 설치된 접속 제어 애플리케이션의 동작 방법에 대한 동작 흐름도를 나타낸다. Figure 15 shows an operation flowchart of a method of operating an access control application installed in a node according to various embodiments.
이하, 본 발명의 다양한 실시 예가 첨부된 도면을 참조하여 기재된다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 실시 예의 다양한 변경(modification), 균등물(equivalent), 및/또는 대체물(alternative)을 포함하는 것으로 이해되어야 한다.Hereinafter, various embodiments of the present invention are described with reference to the accompanying drawings. However, this is not intended to limit the present invention to specific embodiments, and should be understood to include various modifications, equivalents, and/or alternatives to the embodiments of the present invention.
본 문서에서 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나","A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나" 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.In this document, the singular form of a noun corresponding to an item may include one or plural items, unless the relevant context clearly indicates otherwise. In this document, “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 “A, Each of phrases such as “at least one of B, or C” may include any one of the items listed together in the corresponding phrase, or any possible combination thereof. Terms such as "first", "second", or "first" or "second" may be used simply to distinguish one component from another, and to refer to that component in other respects (e.g., importance or order) is not limited. One (e.g., first) component is said to be “coupled” or “connected” to another (e.g., second) component, with or without the terms “functionally” or “communicatively.” When mentioned, it means that any of the components can be connected to the other components directly (e.g. wired), wirelessly, or through a third component.
본 문서에서 설명되는 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있다. 다양한 실시 예들에 따르면, 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시 예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.Each component (eg, module or program) described in this document may include singular or plural entities. According to various embodiments, one or more of the corresponding components or operations may be omitted, or one or more other components or operations may be added. Alternatively or additionally, multiple components (eg, modules or programs) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each component of the plurality of components in the same or similar manner as those performed by the corresponding component of the plurality of components prior to the integration. . According to various embodiments, 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 , or one or more other operations may be added.
본 문서에서 사용되는 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일 실시 예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term “module” 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, for example. A module may be an integrated part or a minimum unit of the parts or a part thereof that performs one or more functions. For example, according to one embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).
본 문서의 다양한 실시 예들은 기기(machine) 의해 읽을 수 있는 저장 매체(storage medium)(예: 메모리)에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램 또는 애플리케이션)로서 구현될 수 있다. 예를 들면, 기기의 프로세서는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of this document may be implemented as software (e.g., a program or application) including one or more instructions stored in a storage medium (e.g., memory) that can be read by a machine. For example, the processor of the device may call at least one instruction among one or more instructions stored from a storage medium and execute it. This allows the device to be operated 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 that can be executed by an interpreter. A storage medium that can be read by a device 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 signals (e.g. electromagnetic waves), and this term refers to cases where data is semi-permanently stored in the storage medium. There is no distinction between temporary storage cases.
본 문서에 개시된 다양한 실시 예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 애플리케이션 스토어를 통해 또는 두 개의 사용자 장치들(예: 스마트폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 애플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다. Methods according to various embodiments disclosed in this document may be provided and included in a computer program product. Computer program products are commodities and can be traded between sellers and buyers. A 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 through an application store or between two user devices (e.g. smartphones). It may be distributed in person or online (e.g., downloaded or uploaded). In the case of online distribution, at least a portion of the computer program product may be at least temporarily stored or temporarily created in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store server, or a relay server.
도 1은 복수의 네트워크를 포함하는 환경을 나타낸다. Figure 1 shows an environment including multiple networks.
도 1을 참조하면, 제1 네트워크(10) 및 제2 네트워크(20)는 서로 다른 네트워크일 수 있다. 예를 들어, 제1 네트워크(10)는 인터넷과 같은 공용 네트워크이고, 제2 네트워크(20)는 인트라넷 또는 VPN과 같은 사설 네트워크일 수 있다. 실시예에 따라서, 제1 네트워크(10)는 도 2의 데이터 공급자 네트워크(210)를 포함할 수 있고, 제2 네트워크(20)는 도 2의 데이터 수요자 네트워크(220)를 포함할 수 있다. 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. Depending on the embodiment, the first network 10 may include the data provider network 210 of FIG. 2, and the second network 20 may include the data consumer network 220 of FIG. 2.
제1 네트워크(10)는 출발지 노드(101)를 포함할 수 있다. 도 1 및 이하 서술되는 실시 예들에서, '출발지 노드'는 데이터 통신을 수행할 수 있는 다양한 형태의 장치일 수 있다. 예를 들어, 출발지 노드(101)는 스마트폰 또는 태블릿과 같은 휴대용 장치, 데스크탑(desktop) 또는 랩탑(laptop)과 같은 컴퓨터 장치, 멀티미디어 장치, 의료 기기, 카메라, 웨어러블 장치, VR(virtual reality) 장치, 또는 가전 장치를 포함할 수 있으며 전술한 기기들에 한정되지 않는다. 예를 들어, 출발지 노드(101)는 애플리케이션을 통해 데이터 패킷을 전송할 수 있는 서버 또는 게이트웨이를 포함할 수 있다. 출발지 노드(101)는 '전자 장치' 또는 '단말'로도 참조될 수 있다. 한편, 도착지 노드(102)는 상술한 출발지 노드(101)와 동일 유사한 장치를 포함할 수 있다. 다른 예를 들어, 도착지 노드(102)는 목적지 네트워크와 실질적으로 동일할 수 있다. The first network 10 may include a source node 101. In FIG. 1 and the embodiments described below, the 'source node' may be various types of devices capable of performing data communication. For example, the source node 101 may be 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, or a virtual reality (VR) device. , or home appliances and is not limited to the above-mentioned devices. For example, the source node 101 may include a server or gateway that can transmit data packets through 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 the same or similar device as the above-described source node 101. As another example, the destination node 102 may be substantially the same as the destination network.
출발지 노드(101)는 제2 네트워크(20)로의 접속(access)을 시도하고 제2 네트워크(20)에 포함된 도착지 노드(102)로 데이터를 전송할 수 있다. 출발지 노드(101)는 게이트웨이(103) 및 터널(105)을 통해 데이터를 도착지 노드(102)로 전송할 수 있다. 다만 이에 한정되는 것은 아니고, 출발지 노드(101)는 터널, 보안 세션 및 채널 등 다양한 경로를 통해 데이터를 도착지 노드(102)로 전송할 수 있다. The source 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 source node 101 may transmit data to the destination node 102 through the gateway 103 and tunnel 105. However, the data is not limited to this, and the source node 101 may transmit data to the destination node 102 through various paths such as tunnels, security sessions, and channels.
출발지 노드(101)의 제1 네트워크(10)에 대한 접속이 승인되면 출발지 노드(101)는 제1 네트워크(10)에 포함된 모든 서버와 통신할 수 있으므로, 출발지 노드(101)는 악성(malicious) 프로그램의 공격으로부터 노출될 수 있다. 예를 들어, 출발지 노드(101)는 인터넷 웹 브라우저(110a), 비즈니스 애플리케이션(110b)과 같은 신뢰된(trusted) 및/또는 보안된(secure) 애플리케이션뿐만 아니라, 악성 코드(110c), 감염된(infected) 비즈니스 애플리케이션(110d)과 같이 신뢰되지 않거나 보안되지 않은 애플리케이션의 데이터를 수신할 수 있다. If the connection 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 therefore the source node 101 is malicious. ) may be exposed to program attacks. For example, the source node 101 may be infected with malicious code 110c, as well as trusted and/or secure applications such as Internet web browsers 110a and business applications 110b. ) It is possible to receive data from untrusted or unsecured applications, such as the business application 110d.
악성 프로그램으로부터 감염된 출발지 노드(101)는 제2 네트워크(20)로의 접속 및/또는 데이터 전송을 시도할 수 있다. 제2 네트워크(20)가 VPN과 같이 IP에 기반하여 형성되는 경우, 제2 네트워크(20)는 제2 네트워크(20) 내에 포함되는 복수의 장치들을 개별적으로 모니터링하기 어려울 수 있으며, OSI 계층에서 응용 계층 또는 전송 계층에 대한 보안에 취약할 수 있다. 또한, 채널이 이미 생성된 이후에 출발지 노드(101)가 악성 애플리케이션을 포함하는 경우, 상기 악성 애플리케이션의 데이터는 제2 네트워크(20) 내의 다른 전자 장치(예: 도착지 노드(102))에게 전달될 수 있다.The source node 101 infected by a malicious program may attempt to connect to the second network 20 and/or transmit data. If the second network 20 is formed based on IP, such as a VPN, it may be difficult for the second network 20 to individually monitor a plurality of devices included in the second network 20, and application at the OSI layer may be difficult. Security at the layer or transport layer may be vulnerable. Additionally, if the source node 101 includes a malicious application after the channel has already been created, the data of the malicious application will be transmitted to another electronic device (e.g., the destination node 102) within the second network 20. You can.
도 2는 다양한 실시 예들에 따른 네트워크 환경 내의 아키텍처를 나타낸다. Figure 2 shows architecture within a network environment according to various embodiments.
도 2를 참조하면, 노드(201), 게이트웨이(203), 목적지 네트워크(204), 데이터 공급자 네트워크(210) 및 데이터 수요자 네트워크(220)의 개수는 도 2에 도시된 개수로 한정되는 것은 아니다. 예를 들어, 복수의 노드는 컨트롤러(202)로부터 네트워크 접속이 제어될 수 있고, 컨트롤러(202)는 복수개의 게이트웨이와 통신할 수 있고, 복수개의 목적지 네트워크로 데이터를 전송하는 것을 제어할 수 있다. Referring to FIG. 2, the number of nodes 201, gateways 203, destination networks 204, data provider networks 210, and data consumer networks 220 is not limited to the number shown in FIG. 2. For example, a plurality of nodes may have network access controlled by the controller 202, and the controller 202 may communicate with a plurality of gateways and control transmission of data to a plurality of destination networks.
노드(201)는 접속 제어 애플리케이션(211) 및 타겟 애플리케이션(221)을 포함할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 네트워크 접속 발생시 컨트롤러(202)로부터 접속 가능 여부를 확인하고, 접속 가능한 경우에만 컨트롤러(202)에 의하여 생성된 데이터 플로우에 기반하여 게이트웨이(203)를 통해 목적지 네트워크(204)로 데이터 패킷을 전송할 수 있다. 예를 들어, 게이트웨이(203)는 노드(201) 측 네트워크 경계에 존재하는 제1 게이트웨이(213) 및 목적지 네트워크(204) 측 네트워크 경계에 존재하는 제2 게이트웨이(223)를 포함할 수 있다. Node 201 may include a connection control application 211 and a target application 221. For example, the access control application 211 checks whether a connection is possible from the controller 202 when a network connection occurs, and only if a connection is possible, connects to the destination through the gateway 203 based on the data flow generated by the controller 202. Data packets may be transmitted to the network 204. For example, the gateway 203 may include a first gateway 213 that exists at a network boundary on the node 201 side and a second gateway 223 that exists on a network boundary on the destination network 204 side.
데이터 플로우 기반 접속성 제어 기술은 노드(201)가 목적지 네트워크(204)에 접속하기 위해 컨트롤러(202)에 의해서 인가된 데이터 플로우가 존재하는 경우에만 통신이 가능한 구조를 제공하며, 데이터 플로우가 존재하지 않는 경우 노드(201)가 통신을 수행할 수 없는 구조를 제공할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 데이터 플로우가 존재하지 않는 경우 타겟 애플리케이션(212)의 데이터 패킷을 전송하는 것을 제한할 수 있다. Data flow-based connectivity control technology provides a structure in which communication is possible only when a data flow authorized by the controller 202 exists for the node 201 to access the destination network 204, and when no data flow exists, If not, a structure in which the node 201 cannot communicate may be provided. For example, the access control application 211 may restrict transmission of data packets of the target application 212 when a data flow does not exist.
컨트롤러(202)는 서버(또는 클라우드 서버)일 수 있다. 컨트롤러(202)는 노드(201)의 목적지 네트워크(204)에 대한 네트워크 접속 통제를 수행할 수 있다. Controller 202 may be a server (or cloud server). The controller 202 may perform network access control for the destination network 204 of the node 201.
일 실시예에 따르면, 컨트롤러(202)는 노드(201)의 네트워크 접속과 연관된 다양한 동작(예: 등록, 승인, 인증, 갱신, 종료)을 수행하기 위하여 노드(201)와 제어 데이터 패킷을 송수신할 수 있다. 제어 데이터 패킷이 전송되는 흐름은 제어 플로우(control flow)로 참조될 수 있다.According to one embodiment, the controller 202 transmits and receives control data packets with the node 201 to perform various operations (e.g., registration, approval, authentication, renewal, termination) associated with the network connection of the node 201. You can. The flow through which control data packets are transmitted may be referred to as a control flow.
상술한 동작들을 통해 컨트롤러(202)는 비허용 노드의 목적지 네트워크(204)에 대한 접속을 차단할 수 있는 환경을 제공할 수 있다. Through the above-described operations, the controller 202 can provide an environment in which access to the destination network 204 of unauthorized nodes can be blocked.
게이트웨이(203)는 제1 게이트웨이(213) 및 제2 게이트웨이(223)를 포함할 수 있다. 예를 들어, 게이트웨이(203)는 보안 채널을 통해 네트워크 구간에서 안전하게 데이터 패킷을 전송할 수 있는 기술을 제공할 수 있다. 또한, 게이트웨이(203)는 접속 제어 애플리케이션(211)으로부터 수신된 데이터 패킷이 실질적으로 허용된 노드(201)가 전송한 것인지 여부를 검사하여, 접속 제어 애플리케이션(211)을 우회해서 전송되는 데이터 패킷을 차단하는 역할을 수행할 수 있다. 즉, 게이트웨이(203)는 데이터 공급자 네트워크(210) 및 데이터 수요자 네트워크(220) 전반에 걸쳐서 상시 안전한 네트워크 구성을 가능하게 할 수 있다. The gateway 203 may include a first gateway 213 and a second gateway 223. For example, the gateway 203 may provide technology to safely transmit data packets in a network section through a secure channel. In addition, the gateway 203 checks whether the data packet received from the access control application 211 is actually transmitted by the permitted node 201, and detects the data packet transmitted by bypassing the access control application 211. It can play a blocking role. In other words, the gateway 203 can enable a secure network configuration at all times throughout the data provider network 210 and the data consumer network 220.
데이터 소유자(206)는 컨트롤러(202)와 통신할 수 있다. 컨트롤러(202)는 인증 정책에 따라 식별 단위 별로 화이트리스트 기반의 네트워크 접속을 허용할 수 있고, 데이터 소유자(206)에서 해당 식별 단위의 네트워크 접속을 허용할 것인지 여부를 추가로 확인함으로서, 데이터 소유자(206)의 승인에 의해서만 네트워크 접속을 허용하는 구조를 제공할 수 있다. 또한, 각각의 식별 단위 별로 네트워크 접속이 기록될 수 있기 때문에, 데이터 소유자(206)는 언제 어디로 어떠한 모듈이 어떠한 데이터를 전송하였는지 조회할 수 있다. Data owner 206 may communicate with controller 202. The controller 202 can allow whitelist-based network access for each identification unit according to the authentication policy, and additionally checks whether the data owner 206 will allow network access for the corresponding identification unit, so that the data owner (206) 206) can provide a structure that allows network access only with approval. Additionally, since network access can be recorded for each identification unit, the data owner 206 can inquire when and where which module transmitted what data.
도 3은 다양한 실시예들에 따른 컨트롤러에 저장된 데이터 베이스를 나타내는 기능적 블록도이다. 도 3은 메모리(330)만을 도시하지만, 컨트롤러는 외부 전자 장치와 통신을 수행하기 위한 통신 회로(예: 도 4의 통신 회로(430)) 및 컨트롤러의 전반적인 동작을 제어하기 위한 프로세서(예: 도 4의 프로세서(410))를 더 포함할 수 있다.Figure 3 is a functional block diagram showing a database stored in a controller according to various embodiments. Although FIG. 3 shows only the memory 330, the controller includes a communication circuit for performing communication with an external electronic device (e.g., the communication circuit 430 in FIG. 4) and a processor for controlling the overall operation of the controller (e.g., FIG. It may further include 4 processors 410).
관리자는 컨트롤러(202)에 접속하여 애플리케이션과 서버간의 접속을 제어하기 위한 접속 중신의 정책을 설정할 수 있으므로, 단순히 IP를 기준으로 접속 통제를 수행하는 기존의 NAC(Network Access Control) 및 방화벽과 같은 보안 기술보다 더 세밀하고 네트워크 접속 관점에서 더 안전한 네트워크 접속 제어가 가능하다.The administrator can connect to the controller 202 and set a connection-critical policy to control the connection between the application and the server, so it can provide security such as existing NAC (Network Access Control) and firewalls that simply perform access control based on IP. Network access control is possible in more detail than the technology and is more secure from a network access perspective.
접속 정책 데이터 베이스(311)는 식별된 네트워크, 노드(예: 도 2의 노드(201)), 사용자, 비식별 사용자, 또는 애플리케이션이 접속 가능한 네트워크 및/또는 서비스에 대한 정보를 포함할 수 있다. 예를 들어, 노드로부터 목적지 네트워크에 대한 접속이 요청되면, 컨트롤러는 접속 정책 데이터 베이스(311)에 기반하여 식별된 네트워크(예: 노드가 속하는 네트워크), 노드, 사용자(예: 노드의 사용자), 및/또는 애플리케이션(노드에 포함되는 애플리케이션)이 목적지 네트워크에 접속이 가능한지 여부를 결정할 수 있다. The access policy database 311 may include information about networks and/or services to which an identified network, node (e.g., node 201 in FIG. 2), user, unidentified user, or application can access. For example, when connection to a destination network is requested from a node, the controller identifies the network (e.g., the network to which the node belongs), node, user (e.g., user of the node), and And/or it may be determined whether the application (application included in the node) can connect to the destination network.
인증 정책 데이터 베이스(312)는 접속 정책(예: 접속 정책 데이터 베이스(311)에 포함되는 정보)에서의 접속 제어 최소 단위인 애플리케이션보다 더 세밀한 수준으로 접속 대상을 식별하고, 식별된 대상이 접속 가능한 서비스 정보를 포함할 수 있다. 예를 들어, 인증 정책 데이터 베이스(312)는 해당 식별 정보로 네트워크 접속 요청이 존재하는 경우, 정책에 의해 접속 가능한 서비스의 접속을 상시 허용할 것인지 여부 또는 컨트롤러와 연결된 타 시스템 또는 제 3자(예: 데이터 소유자)를 통해서 승인된 경우에만 접속을 허용할 것인지 여부를 포함할 수 있다. 다른 예를 들어, 인증 정책 데이터 베이스(312)는 네트워크 접속 허용 이후 계속적으로 네트워크 접속을 허용할 것인지 여부 또는 특정 조건(예: TCP SYM Packet, TCP FIN Packet, 전송된 데이터 패킷의 양이 데이터 플로우에 포함된 데이터 패킷의 양을 초과하는 경우, 데이터 플로우에 포함된 데이터 패킷의 갱신 처리 문자를 포함하는 등의 룰)이 충족되는 경우 네트워크 접속을 해제하고 데이터 패킷 인증을 재수행할 것인지 여부를 포함할 수 있다. 또한, 인증 정책 데이터 베이스(312)는 데이터 패킷 인증을 최초 네트워크 접속시에만 수행할 것인지, 매 데이터 패킷 전송시점마다 데이터 패킷 인증을 검사할 것인지 여부를 포함할 수 있다. 실시예에 따라서, 인증 정책 데이터 베이스(312)는 인증 데이터 패킷에 포함된 식별 정보의 추출 방법 및 검사 방법(예: One time Password, HMAC 등과 같은 인증 정보 생성 및 검사 알고리즘)을 포함할 수 있다. 실시예에 따라서, 인증 정책 데이터 베이스(312)는 추가 인증 없이 데이터 패킷을 전송하는 것이 가능한지 여부에 대한 정보 및 데이터 플로우의 갱신 조건을 만족하는 경우 데이터 플로우의 인증 상태를 변경하는 정보를 포함하는 인증 정보를 생성하기 위한 정보를 포함할 수 있다. 즉, 컨트롤러(202)는 인증 정책 데이터 베이스(312)에 기반하여 인증 정보를 생성할 수 있다. The authentication policy database 312 identifies the access target at a more detailed level than the application, which is the minimum unit of access control in the access policy (e.g., information included in the access policy database 311), and identifies the access target to which the identified target can access. May include service information. For example, when a network access request exists with the corresponding identification information, the authentication policy database 312 determines whether to always allow access to services accessible by policy or to other systems or third parties connected to the controller (e.g. : Can include whether to allow access only when approved by the data owner). For another example, the authentication policy database 312 determines whether to continuously allow network access after network access is permitted or determines whether certain conditions (e.g., TCP SYM Packet, TCP FIN Packet, and the amount of transmitted data packets are related to the data flow). This can include whether to release the network connection and re-perform data packet authentication if rules such as exceeding the amount of included data packets or including update processing characters for data packets included in the data flow are met. there is. Additionally, the authentication policy database 312 may include whether to perform data packet authentication only upon initial network connection or whether to check data packet authentication at every data packet transmission. Depending on the embodiment, the authentication policy database 312 may include a method for extracting and inspecting identification information included in an authentication data packet (eg, authentication information generation and inspection algorithms such as One time Password, HMAC, etc.). Depending on the embodiment, the authentication policy database 312 may provide an authentication policy that includes information about whether it is possible to transmit a data packet without additional authentication and information about changing the authentication status of the data flow when the update conditions of the data flow are met. It may contain information for generating information. That is, the controller 202 may generate authentication information based on the authentication policy database 312.
블랙리스트 정책 데이터 베이스(313)는 노드의 접속을 영구적 또는 일시적으로 차단하기 위한 정책을 포함할 수 있다. 블랙리스트 정책 데이터 베이스(313)는 노드 또는 게이트웨이에서 주기적으로 수집되는 보안 이벤트 중에서 보안 이벤트의 위험도, 발생 주기, 및/또는 행위 분석을 통해 식별된 정보(예: 노드, IP 주소, MAC(media access control) 주소, 또는 사용자 ID 중 적어도 하나)를 기반으로 생성될 수 있다. The blacklist policy database 313 may include policies for permanently or temporarily blocking access to nodes. The blacklist policy database 313 provides information (e.g., node, IP address, media access control) address, or at least one of the user ID).
블랙리스트 데이터 베이스(314)는 블랙리스트 정책 데이터 베이스(313)에 의해서 차단된 노드, IP 주소, MAC 주소, 또는 사용자 중 적어도 하나에 대한 목록을 포함할 수 있다. 예를 들어, 컨트롤러는 목적지 네트워크로의 접속을 요청하는 노드가 블랙리스트 데이터 베이스(314)에 포함되면 노드의 접속 요청을 거부함으로써 목적지 네트워크로부터 노드를 격리시킬 수 있다. The blacklist database 314 may include a list of at least one of nodes, IP addresses, MAC addresses, or users blocked by the blacklist policy database 313. For example, if a node requesting access to the destination network is included in the blacklist database 314, the controller may isolate the node from the destination network by rejecting the node's connection request.
제어 플로우 테이블(315)은 노드와 컨트롤러 사이에 생성된 제어 데이터 패킷의 흐름(예: 제어 플로우)을 관리하기 위한 세션(session) 테이블의 일 예이다. 성공적으로 컨트롤러에 접속하는 경우, 제어 플로우 정보는 컨트롤러에 의하여 생성될 수 있다. 제어 플로우 정보는 제어 플로우의 식별 정보, 컨트롤러에 대한 접속 및 인증 시 식별되는 IP 주소, 노드 ID, 또는 사용자 ID 중 적어도 하나를 포함할 수 있다. 예를 들어, 노드로부터 목적지 네트워크에 대한 접속이 요청되면 컨트롤러는 노드로부터 수신된 제어 플로우 식별 정보를 통해 제어 플로우 정보를 검색할 수 있고, 검색된 제어 플로우 정보 내에 포함된 IP 주소, 노드 ID, 또는 사용자 ID 중 적어도 하나를 접속 정책 데이터 베이스(311)에 매핑함으로서 노드가 접속이 가능한지 여부 및 목적지 네트워크와의 TCP 세션 생성을 위한 데이터 플로우 생성 가능 여부를 판단(결정)할 수 있다. The control flow table 315 is an example of a session table for managing the flow (e.g., control flow) of control data packets generated between a node and a controller. When successfully connecting to the controller, control flow information can be generated by the controller. The control flow information may 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 connection to a destination network is requested from a node, the controller can retrieve control flow information through the control flow identification information received from the node, and use the IP address, node ID, or user included in the retrieved control flow information. By mapping at least one of the IDs to the connection policy database 311, it can be determined whether the node can connect and whether a data flow for creating a TCP session with the destination network can be created.
일 실시예에 따르면, 제어 플로우는 만료 시각을 가질 수 있다. 노드는 제어 플로우의 만료 시각을 갱신해야 하며, 일정 시간 동안에 만료 시각이 갱신되지 않으면 제어 플로우(또는, 제어 플로우 정보)는 제거될 수 있다. 또한, 노드로부터 수집된 보안 이벤트에 따라서 즉각적인 접속 차단이 필요하다고 결정되는 경우, 컨트롤러는 노드의 접속 종료 요청에 따라서 제어 플로우를 제거할 수 있다. 제어 플로우가 제거되면 기존에 생성된 데이터 플로우 또한 제거되기 때문에 노드의 접속이 차단될 수 있다. According to one embodiment, a control flow may have an expiration time. The node 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. Additionally, if it is determined that immediate connection blocking is necessary according to security events collected from the node, the controller may remove the control flow according to the node's connection termination request. If the control flow is removed, the previously created data flow is also removed, so the node's connection may be blocked.
데이터 플로우 테이블(316)은 노드와 게이트웨이 및 목적지 네트워크 사이의 세부적인 데이터 패킷이 전송되는 흐름(예: 데이터 플로우)를 관리하기 위한 테이블이다. 데이터 플로우는 노드 또는 IP 단위로 생성되는 TCP 세션, 노드의 애플리케이션, 또는 보다 세부적인 단위로 생성될 수 있다. 데이터 플로우 테이블(316)은 데이터 플로우 식별 정보, 데이터 플로우가 제어 플로우에 종속되는 경우에는 제어 플로우 식별 정보, 노드로부터 전송된 데이터 패킷이 인가된 데이터 패킷인지를 식별하기 위한 애플리케이션 ID, 출발지 네트워크 식별 정보, 목적지 네트워크 식별 정보 및/또는 서비스 포트를 포함할 수 있다. 데이터 플로우 테이블(316)은 네트워크 접속 허용 이후 계속적으로 네트워크 접속을 허용할 것인지 여부 또는 특정 조건(예: TCP SYM Packet, TCP FIN Packet, 전송된 데이터 패킷의 양이 데이터 플로우에 포함된 데이터 패킷의 양을 초과하는 경우, 데이터 플로우에 포함된 데이터 패킷의 갱신 처리 문자를 포함하는 등의 룰)이 충족되는 경우 네트워크 접속을 해제하고 데이터 패킷 인증을 재수행할 것인지 여부를 포함하는 인증 정보를 포함할 수 있다. 실시예에 따라서, 인증 정보는 데이터 패킷 인증을 최초 네트워크 접속시에만 수행할 것인지, 매 데이터 패킷 전송시점마다 데이터 패킷 인증을 검사할 것인지 여부를 포함할 수 있다. 또한, 데이터 플로우 테이블(316)은 데이터 플로우의 인증이 완료되어 전송 가능한 상태인지, 인증이 필요로 한 상태인지, 인증이 불필요하여 인증 없이 네트워크 접속이 가능한 상태인지 여부를 포함하는 데이터 플로우 상태 정보(또는 데이터 플로우의 인증 상태 정보)를 포함할 수 있다. The data flow table 316 is a table for managing the flow (eg, data flow) in which detailed data packets are transmitted between a node, a gateway, and a destination network. Data flows can be created as TCP sessions on a per-node or per-IP basis, applications on a node, or on a more granular basis. The data flow table 316 includes data flow identification information, control flow identification information if the data flow is dependent on the control flow, an application ID to identify whether the data packet transmitted from the node is an authorized data packet, and source network identification information. , may include destination network identification information and/or service port. The data flow table 316 determines whether to continuously allow network access after network access is permitted or determines under certain conditions (e.g., TCP SYM Packet, TCP FIN Packet, the amount of transmitted data packets is the amount of data packets included in the data flow). If it exceeds , it may contain authentication information including whether to release the network connection and re-perform data packet authentication if rules such as including update processing characters of data packets included in the data flow are met. . Depending on the embodiment, the authentication information may include whether to perform data packet authentication only upon initial network connection or whether to check data packet authentication at every data packet transmission. In addition, the data flow table 316 contains data flow status information (including whether data flow authentication has been completed and transmission is possible, authentication is required, or authentication is not required and network connection is possible without authentication. or authentication status information of the data flow).
실시예에 따라서, 데이터 플로우 테이블(316)은 노드(예: 도 2의 노드(201)) 및 게이트웨이(예: 도 2의 게이트웨이(203))에 동일하게 포함될 수 있다. Depending on the embodiment, the data flow table 316 may be equally included in a node (eg, node 201 in FIG. 2) and a gateway (eg, gateway 203 in FIG. 2).
도 4는 다양한 실시예들에 따른 노드의 기능적 블록도를 나타낸다. Figure 4 shows a functional block diagram of a node according to various embodiments.
도 4를 참조하면, 노드는 프로세서(410), 메모리(420), 및 통신 회로(430)를 포함할 수 있다. 일 실시 예에 따르면, 노드는 사용자와 인터페이스를 수행하기 위하여 디스플레이(440)를 더 포함할 수 있다. Referring to FIG. 4 , a node may include a processor 410, memory 420, and communication circuit 430. According to one embodiment, the node may further include a display 440 to interface with the user.
프로세서(410)는 노드의 전반적인 동작을 제어할 수 있다. 다양한 실시 예들에서, 프로세서(410)는 하나의 프로세서 코어(single core)를 포함하거나, 복수의 프로세서 코어들을 포함할 수 있다. 예를 들면, 프로세서(410)는 듀얼 코어(dual-core), 쿼드 코어(quad-core), 헥사 코어(hexa-core) 등의 멀티 코어(multi-core)를 포함할 수 있다. 실시 예들에 따라, 프로세서(410)는 내부 또는 외부에 위치된 캐시 메모리(cache memory)를 더 포함할 수 있다. 실시 예들에 따라, 프로세서(410)는 하나 이상의 프로세서들로 구성될(configured with) 수 있다. 예를 들면, 프로세서(410)는, 애플리케이션 프로세서(application processor), 통신 프로세서(communication processor), 또는 GPU(graphical processing unit) 중 적어도 하나를 포함할 수 있다. The processor 410 can control the overall operation of the node. In various embodiments, the processor 410 may include one processor core (single core) or may include a plurality of processor cores. For example, the processor 410 may include multi-core, such as dual-core, quad-core, or hexa-core. Depending on embodiments, the processor 410 may further include a cache memory located internally or externally. Depending on 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).
프로세서(410)의 전부 또는 일부는 노드 내의 다른 구성 요소(예를 들면, 메모리(420), 통신 회로(430), 또는 디스플레이(440))와 전기적으로(electrically) 또는 작동적으로(operatively) 결합(coupled with)되거나 연결될(connected to) 수 있다. 프로세서(410)는 노드의 다른 구성 요소들의 명령을 수신할 수 있고, 수신된 명령을 해석할 수 있으며, 해석된 명령에 따라 계산을 수행하거나 데이터를 처리할 수 있다. 프로세서(410)는 메모리(420), 통신 회로(430), 또는 디스플레이(440)로부터 수신되는 메시지, 데이터, 명령어, 또는 신호를 해석할 수 있고, 가공할 수 있다. 프로세서(410)는 수신된 메시지, 데이터, 명령어, 또는 신호에 기반하여 새로운 메시지, 데이터, 명령어, 또는 신호를 생성할 수 있다. 프로세서(410)는 가공되거나 생성된 메시지, 데이터, 명령어, 또는 신호를 메모리(420), 통신 회로(430), 또는 디스플레이(440)에게 제공할 수 있다. All or a portion of processor 410 is electrically or operatively coupled to other components within the node (e.g., memory 420, communication circuitry 430, or display 440). It can be (coupled with) or connected to. 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, the communication circuit 430, or the display 440. Processor 410 may generate new messages, data, instructions, or signals based on received messages, data, instructions, or signals. Processor 410 may provide processed or generated messages, data, instructions, or signals to memory 420, communication circuit 430, or display 440.
프로세서(410)는 프로그램에서 생성되거나 발생되는 데이터 또는 신호를 처리할 수 있다. 예를 들면, 프로세서(410)는 프로그램을 실행하거나 제어하기 위해 메모리(420)에게 명령어, 데이터 또는 신호를 요청할 수 있다. 프로세서(410)는 프로그램을 실행하거나 제어하기 위해 메모리(420)에게 명령어, 데이터, 또는 신호를 기록(또는 저장)하거나 갱신할 수 있다. The processor 410 can process data or signals generated or generated by a program. For example, the processor 410 may request instructions, data, or signals from the memory 420 to execute or control a program. The processor 410 may record (or store) or update instructions, data, or signals to the memory 420 in order to execute or control a program.
메모리(420)는 노드를 제어하는 명령어, 제어 명령어 코드, 제어 데이터, 또는 사용자 데이터를 저장할 수 있다. 예를 들면, 메모리(420)는 애플리케이션(application) 프로그램, OS(operating system), 미들웨어(middleware), 또는 디바이스 드라이버(device driver) 중 적어도 하나를 포함할 수 있다. The memory 420 may store commands for controlling nodes, 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.
메모리(420)는 휘발성 메모리(volatile memory) 또는 불휘발성(non-volatile memory) 중 하나 이상을 포함할 수 있다. 휘발성 메모리는 DRAM(dynamic random access memory), SRAM(static RAM), SDRAM(synchronous DRAM), PRAM(phase-change RAM), MRAM(magnetic RAM), RRAM(resistive RAM), FeRAM(ferroelectric RAM) 등을 포함할 수 있다. 불휘발성 메모리는 ROM(read only memory), PROM(programmable ROM), EPROM(electrically programmable ROM), EEPROM(electrically erasable programmable ROM), 플래시 메모리(flash memory) 등을 포함할 수 있다. Memory 420 may include one or more of volatile memory or non-volatile memory. Volatile memory includes dynamic random access memory (DRAM), static RAM (SRAM), synchronous DRAM (SDRAM), phase-change RAM (PRAM), magnetic RAM (MRAM), resistive RAM (RRAM), and ferroelectric RAM (FeRAM). It can be included. Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, etc.
메모리(420)는 하드 디스크 드라이브(HDD, hard disk drive), 솔리드 스테이트 디스크(SSD, solid state disk), eMMC(embedded multi media card), UFS(universal flash storage)와 같은 불휘발성 매체(medium)를 더 포함할 수 있다. The memory 420 uses non-volatile media such as a hard disk drive (HDD), solid state disk (SSD), embedded multi media card (eMMC), and universal flash storage (UFS). More may be included.
일 실시예에 따르면, 메모리(420)는 컨트롤러의 메모리(예: 도 3의 메모리(330))에 포함된 정보 중 일부를 저장할 수 있다. 예를 들어, 메모리(420)는 도 3에서 설명된 데이터 플로우 테이블(316)을 저장할 수 있다. According to one embodiment, the memory 420 may store some of the information included in the controller's memory (eg, memory 330 in FIG. 3). For example, memory 420 may store data flow table 316 described in FIG. 3 .
통신 회로(430)는 노드와 외부 전자 장치(예: 도 2의 컨트롤러(202))간의 유선 또는 무선 통신 연결의 수립, 및 수립된 연결을 통한 통신 수행을 지원할 수 있다. 일 실시 예에 따르면, 통신 회로(430)는 무선 통신 회로(예: 셀룰러 통신 회로, 근거리 무선 통신 회로, 또는 GNSS(global navigation satellite system) 통신 회로) 또는 유선 통신 회로(예: LAN(local area network) 통신 회로, 또는 전력선 통신 회로)를 포함하고, 그 중 해당하는 통신 회로를 이용하여 블루투스, WiFi direct 또는 IrDA(infrared data association) 같은 근거리 통신 네트워크 또는 셀룰러 네트워크, 인터넷, 또는 컴퓨터 네트워크와 같은 원거리 통신 네트워크를 통하여 외부 전자 장치와 통신할 수 있다. 상술한 여러 종류의 통신 회로(430)는 하나의 칩으로 구현되거나 또는 각각 별도의 칩으로 구현될 수 있다. Communication circuitry 430 may support establishment of a wired or wireless communication connection between a node and an external electronic device (e.g., controller 202 of FIG. 2), and performing communication through the established connection. According to one embodiment, the communication circuit 430 may be 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 power line communication circuit), and using the corresponding communication circuit, a short-range communication network such as Bluetooth, WiFi direct, or IrDA (infrared data association) or a long-distance communication such as a cellular network, the Internet, or a computer network It can communicate with external electronic devices through a network. The various types of communication circuits 430 described above may be implemented as one chip or may be implemented as separate chips.
디스플레이(440)는, 컨텐츠, 데이터, 또는 신호를 출력할 수 있다. 다양한 실시 예들에서, 디스플레이(440)는 프로세서(410)에 의해 가공된 이미지 데이터를 표시할 수 있다. 실시예들에 따라, 디스플레이(440)는 터치 입력 등을 수신할 수 있는 복수의 터치 센서들(미도시)과 결합됨으로써, 일체형의 터치 스크린(touch screen)으로 구성될(configured with) 수도 있다. 디스플레이(440)가 터치 스크린으로 구성되는 경우, 복수의 터치 센서들은, 디스플레이(440) 위에 배치되거나, 디스플레이(440) 아래에 배치될 수 있다.The display 440 can output content, data, or signals. In various embodiments, the display 440 may display image data processed by the processor 410. Depending on embodiments, the display 440 may be configured with an integrated touch screen by being combined with a plurality of touch sensors (not shown) capable of receiving touch input, etc. When the display 440 is configured as a touch screen, a plurality of touch sensors may be placed above the display 440 or below the display 440.
일 실시예에 따른 서버(예: 도 2의 컨트롤러(202))는 프로세서(410), 메모리(420), 및 통신 회로(430)를 포함할 수 있다. 서버에 포함되는 프로세서(410), 메모리(420) 및 통신 회로(430)는 상술한 프로세서(410), 메모리(420) 및 통신 회로(430)와 실질적으로 동일할 수 있다. A server (eg, controller 202 in FIG. 2) according to one embodiment may include a processor 410, memory 420, and communication circuit 430. The processor 410, memory 420, and communication circuit 430 included in the server may be substantially the same as the processor 410, memory 420, and communication circuit 430 described above.
일 실시예에 따른 게이트웨이(예: 도 2의 게이트웨이(203))는 프로세서(410), 메모리(420), 및 통신 회로(430)를 포함할 수 있다. 게이트웨이에 포함되는 프로세서(410), 메모리(420) 및 통신 회로(430)는 상술한 프로세서(410), 메모리(420) 및 통신 회로(430)와 실질적으로 동일할 수 있다.A gateway (eg, gateway 203 in FIG. 2) according to an embodiment may include a processor 410, a memory 420, and a communication circuit 430. The processor 410, memory 420, and communication circuit 430 included in the gateway may be substantially the same as the processor 410, memory 420, and communication circuit 430 described above.
도 5는 다양한 실시예들에 따른 인증 데이터 패킷의 구조를 보여주는 도면이다. Figure 5 is a diagram showing the structure of an authentication data packet according to various embodiments.
기존의 데이터 패킷은 IP 통신시 OSI(Open System Interconnection)에서 식별할 수 있는 단위인 5 Tuples(출발지, 도착지 정보 등) 정보를 포함하는 IP 헤더와 페이로드를 포함하는 데이터 패킷 구조로 구성될 수 있다. Existing data packets can be composed of a data packet structure that includes an IP header and payload containing 5 Tuples (source, destination information, etc.) information, which is a unit that can be identified in OSI (Open System Interconnection) during IP communication. .
Micro Service Architecture 및 Data Centric Networking을 구현하기 위해서는 5 Tuples 및 노드의 운영체제(Kernel Level)에서 식별할 수 있는 실질적 통신 주체인 애플리케이션 보다 세밀한 수준의 모듈 또는 기능, 데이터의 네트워크 접속 통제를 위해 타겟 애플리케이션(예: 도 2의 타겟 애플리케이션(212))내의 최소 식별 단위 (User Level에서 정의한 단위)의 네트워크 접속 여부를 알아야할 수 있다. In order to implement Micro Service Architecture and Data Centric Networking, target applications (e.g. : You may need to know whether the minimum identification unit (unit defined at the user level) within the target application 212 in FIG. 2 is connected to the network.
타겟 애플리케이션(예: 도 2의 타겟 애플리케이션(212))은 포함된 모듈 또는 기능, 데이터가 네트워크에 접속하는 경우, 해당 요소를 식별할 수 있는 정보를 포함하는 인증 데이터 패킷(예: 단일 인증 데이터 패킷(510) 및 인증 데이터 패킷을 헤더로 사용한 데이터 패킷(520))을 전송할 수 있다. 이 경우, 노드의 운영체제(Kernel Level)에서 네트워크 접속을 통제하고 있는 네트워크 접속 제어 애플리케이션(예: 도 2의 접속 제어 애플리케이션(211))은 수신된 인증 데이터 패킷(510, 520)을 확인할 수 있고, 인증 데이터 패킷(510, 520)으로부터 인증 정보를 추출하여 컨트롤러(예: 도 2의 컨트롤러(202))로 전송하여 해당 인증 정보에 기반하여 네트워크 접속을 허용할 것인지 여부를 확인하고, 컨트롤러로부터 확인된 네트워크 접속 허용 여부에 기초하여 네트워크 접속을 허용하는 구조를 제공할 수 있다. The target application (e.g., target application 212 in FIG. 2) is an authentication data packet (e.g., a single authentication data packet) containing information that can identify the included module or function, and data to identify that element when connected to the network. (510) and a data packet (520) using an authentication data packet as a header can be transmitted. In this case, the network access control application (e.g., the access control application 211 in FIG. 2) that controls network access in the node's operating system (kernel level) can check the received authentication data packets 510 and 520, Authentication information is extracted from the authentication data packets 510 and 520 and transmitted to a controller (e.g., controller 202 in FIG. 2) to check whether network access is permitted based on the authentication information, and A structure that allows network access can be provided based on whether network access is allowed.
인증 데이터 패킷(510, 520) 내의 인증 정보는 운영체제(Kernel)에서 식별할 수 없는 수준을 식별하는 것이 가능하고, 네트워크 접속을 통제하기 위해 타겟 애플리케이션이 네트워크 접속시 네트워크 접속 허용을 요청할 최소한의 식별 단위를 포함할 수 있다. 예를 들어, 식별 단위는 모듈 또는 기능, 데이터 등과 같은 정보를 포함할 수 있고, 타겟 애플리케이션을 개발 및 운영하는 대상의 의도에 따라서 식별 단위가 부여될 수 있다. 다른 예를 들어, 인증 정보는 타겟 애플리케이션의 네트워크 접속을 이중으로 검사하기 위해 컨트롤러에서 지정한 인증 정보 생성 알고리즘을 포함할 수 있다. The authentication information in the authentication data packets 510 and 520 can identify a level that cannot be identified by the operating system (kernel), and is the minimum identification unit for which the target application requests network access permission when connecting to the network in order to control network access. may include. For example, the identification unit may include information such as a module, function, or data, and the identification unit may be assigned according to the intention of the target application developing and operating. As another example, the authentication information may include an authentication information generation algorithm specified by the controller to double check the network connection of the target application.
단일 인증 데이터 패킷(510)은 IP 헤더와 페이로드를 포함할 수 있다. 예를 들어, 단일 인증 데이터 패킷(510)의 페이로드에는 인증 데이터 패킷이 포함될 수 있다. 실시예에 따라서 단일 인증 데이터 패킷(510)은 최초 네트워크 접속 인증을 위한 구조일 수 있다. A single authentication data packet 510 may include an IP header and payload. For example, the payload of a single authentication data packet 510 may include an authentication data packet. Depending on the embodiment, the single authentication data packet 510 may be structured for initial network connection authentication.
인증 데이터 패킷을 헤더로 사용한 데이터 패킷(520)은 IP 헤더, 인증 데이터 패킷을 포함하는 페이로드 및 실제 전송 데이터 패킷을 포함하는 페이로드를 포함할 수 있다. 실시예에 따라서, 인증 데이터 패킷을 헤더로 사용한 데이터 패킷(520)은 연속되는 데이터 패킷을 검사하기 위한 데이터 패킷일 수 있다. The data packet 520 using the authentication data packet as a header may include an IP header, a payload including the authentication data packet, and a payload including the actual transmitted data packet. Depending on the embodiment, the data packet 520 using the authentication data packet as a header may be a data packet for checking consecutive data packets.
일 실시예에서, 인증 데이터 패킷(510, 520)은 1개 이상의 인증 정보를 포함할 수 있다. In one embodiment, authentication data packets 510, 520 may include one or more pieces of authentication information.
도 6은 다양한 실시예들에 따른 데이터 패킷의 전송을 제어하는 동작을 보여주는 도면이다.Figure 6 is a diagram showing an operation for controlling transmission of data packets according to various embodiments.
도 6을 참조하면, 노드(201)는 컨트롤러(202) 접속 이후 목적지 네트워크(204)로 전송되는 데이터 패킷 중 데이터 플로우가 존재하지 않는 비허용 데이터 패킷의 경우 네트워크 드라이버 및 운영체제의 커널 단에서 차단될 수 있다. 따라서, 노드(201)는 접속 제어 애플리케이션(211)을 거치지 않는 어떠한 데이터 패킷도 목적지 네트워크(204)로 전송되지 않을 수 있다.Referring to FIG. 6, the node 201 is blocked at the kernel level of the network driver and operating system in the case of an unauthorized data packet for which no data flow exists among the data packets transmitted to the destination network 204 after connecting to the controller 202. You can. Accordingly, node 201 may not transmit any data packets that do not pass through access control application 211 to destination network 204 .
접속 제어 애플리케이션(211)은 반드시 컨트롤러(202)에 접속하여 노드 또는 하나 이상의 식별 정보 및 애플리케이션, 애플리케이션내에 포함된 모듈 및 기능, 데이터 등에 대한 식별 및 인증을 수행해야할 수 있다. 인증 수행 이후 접속 제어 애플리케이션(211)은 타겟 애플리케이션(212)의 목적지 네트워크(204) 접속시, 접속 네트워크 정보를 컨트롤러(202)에 질의하여 접속 가능 여부를 확인하고, 인가된 애플리케이션의 모듈 및 기능, 데이터 등의 대상만 네트워크에 접속 가능하도록 제어할 수 있다.The access control application 211 must access the controller 202 to perform identification and authentication of a node or one or more identification information and applications, modules and functions included in the application, and data. After performing authentication, the access control application 211 queries the controller 202 for access network information when accessing the destination network 204 of the target application 212 to check whether access is possible, and determines whether the connection is possible, including the modules and functions of the authorized application, It can be controlled so that only objects such as data can access the network.
비인가 노드 또는 애플리케이션, 애플리케이션내에 포함된 모듈 및 기능, 데이터 등은 기본적으로 목적지 네트워크(204)에 접속할 수 없는 상태이며, 컨트롤러(202)로부터 타겟 애플리케이션(212) 및 타겟 애플리케이션(212) 내에 포함된 모듈 및 기능, 데이터 등의 접속 정보를 포함하는 데이터 플로우 정보가 제1 게이트웨이(213) 또는 제2 게이트웨이(223)에 전달되지 않은 경우, 제1 게이트웨이(213) 또는 제2 게이트웨이(223)는 데이터 패킷의 포워딩을 차단하기 때문에 노드(201)는 목적지 네트워크(204)에 도달할 수 없는 상태, 즉 격리된 상태가 된다.Unauthorized nodes or applications, modules, functions, and data included in the application are basically unable to access the destination network 204, and are sent from the controller 202 to the target application 212 and the modules included in the target application 212. And if the data flow information including connection information such as functions and data is not delivered to the first gateway 213 or the second gateway 223, the first gateway 213 or the second gateway 223 transmits the data packet. Because forwarding is blocked, the node 201 cannot reach the destination network 204, that is, it is in an isolated state.
도 7은 다양한 실시예들에 따른 노드의 컨트롤러 접속을 위한 신호 흐름도를 나타낸다. Figure 7 shows a signal flow diagram for connecting a node to a controller according to various embodiments.
노드(201)가 네트워크를 접속 또는 수신하기 위해서는 컨트롤러(202)에 의하여 인가될 필요가 있으므로, 노드(201)의 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 제어 플로우의 생성을 요청함으로서 노드(201)의 컨트롤러 접속을 시도할 수 있다. In order for the node 201 to connect to or receive a network, it needs to be authorized by the controller 202, so the access control application 211 of the node 201 requests the controller 202 to create a control flow, thereby creating a node ( 201), you can try to connect to the controller.
도 7을 참조하면, 노드(201)의 접속 제어 애플리케이션(211)은, 동작 705에서, 컨트롤러(202)에게 컨트롤러 접속을 요청할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 컨트롤러(202)와 제어 플로우를 생성하기 위하여 컨트롤러 접속 요청을 수행할 수 있다. 예를 들어, 컨트롤러 접속 요청은 노드(201) 또는 접속 제어 애플리케이션(211)에 관한 정보를 포함할 수 있다. Referring to FIG. 7, the connection control application 211 of the node 201 may request controller connection from the controller 202 in operation 705. For example, the connection control application 211 may perform a controller connection request to create a control flow with the controller 202. For example, the controller connection request may include information about the node 201 or the connection control application 211.
동작 710에서, 컨트롤러(202)는 접속 제어 애플리케이션(211)이 접속 요청한 정보에 기반하여 접속 정책에 의해 접속 가능한 상태인지 여부를 확인할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)이 접속 요청한 정보는 노드(201)의 종류, 위치 정보, 환경, 노드(201)가 포함되어있는 네트워크 및 접속 제어 애플리케이션(211)에 관한 정보를 포함할 수 있다. In operation 710, the controller 202 may check whether the connection control application 211 is in a state in which connection is possible according to the connection policy based on the connection request information. For example, the information requested for access by the access control application 211 may include the type of node 201, location information, environment, network in which the node 201 is included, and information about the access control application 211. there is.
일 실시예에서, 컨트롤러(202)는 식별된 노드(201) 또는 노드(201)가 포함된 네트워크가 블랙리스트(예: 도 3의 블랙리스트 데이터 베이스(314))에 포함되는 경우 접속 제어 애플리케이션(211)에게 접속 불가 정보를 전송할 수 있다(동작 725).In one embodiment, the controller 202 controls the access control application ( 211), connection inaccessibility information may be transmitted (operation 725).
접속 가능한 노드(201)인 경우, 동작 715에서, 컨트롤러(202)는 접속 제어 애플리케이션(211) 또는 노드(201)와 컨트롤러(202) 간 제어 플로우를 생성할 수 있다. 이 경우, 컨트롤러(202)는 난수 형태로 제어 플로우 식별 정보를 생성할 수 있고, 노드(201) 및/또는 노드(201)가 속한 네트워크의 식별 정보를 제어 플로우 테이블(예: 도 3의 제어 플로우 테이블(315))에 저장할 수 있다. 제어 플로우 테이블에 저장된 정보(예: 제어 플로우 식별 정보 및/또는 제어 플로우 정보)는 노드(201)의 사용자 인증, 노드(201)의 정보 업데이트, 노드(201)의 네트워크 접속을 위한 정책 확인 및/또는 유효성 검사에 이용될 수 있다. 일 실시예에서, 컨트롤러(120)는 노드(201)와 매칭되는 접속 정책에서 접속 가능한 애플리케이션 화이트리스트 정보를 생성할 수 있다. If the node 201 is reachable, in operation 715, the controller 202 may create a connection control application 211 or a control flow between the node 201 and the controller 202. In this case, the controller 202 may generate control flow identification information in the form of a random number, and enter the identification information of the node 201 and/or the network to which the node 201 belongs in a control flow table (e.g., the control flow in FIG. 3). It can be stored in the table 315). Information (e.g., control flow identification information and/or control flow information) stored in the control flow table is used to authenticate the user of the node 201, update the information of the node 201, check the policy for network access of the node 201, and/ Or it can be used for validation. In one embodiment, the controller 120 may generate whitelist information for accessible applications in a connection policy that matches the node 201.
동작 720에서, 컨트롤러(202)는 노드, 사용자, 출발지 네트워크의 식별 정보와 매칭된 접속 정책에 기반하여 접속 가능한 애플리케이션의 화이트리스트를 생성할 수 있다. 화이트리스트가 생성되면, 컨트롤러(202)는 접속 결과로서 접속 완료 상태 및 이후 노드의 사용자 인증 요청 및 지속적인 노드 정보의 업데이트가 필요한 경우, 제어 플로우를 식별하기 위한 제어 플로우 식별 정보(예: ID) 및 애플리케이션 화이트리스트를 노드(201)의 접속 제어 애플리케이션(211)에게 전송할 수 있다(동작 725).In operation 720, the controller 202 may create a whitelist of accessible applications based on an access policy matched with identification information of the node, user, and source network. When a whitelist is created, the controller 202 provides control flow identification information (e.g., ID) to identify the control flow when the connection is completed as a result of the connection and subsequent node user authentication requests and continuous update of node information are required. The application whitelist may be transmitted to the access control application 211 of the node 201 (operation 725).
또한, 컨트롤러(202)는 인증 정책(예: 도 3의 인증 정책 데이터 베이스(312))에 기반하여 인증을 수행하지 않은 데이터 패킷을 허용할 것인지 여부를 확인할 수 있다. 이 경우, 컨트롤러(202)는 인증 정책에 기반하여 노드(201)가 데이터 패킷 인증 없이 네트워크 접속을 허용할 것인지 여부를 판단하기 위한 미인증 네트워크 접속 가능 여부 정보를 확인할 수 있고, 미인증 네트워크 접속 가능 여부 정보를 노드(201)에게 전송할 수 있다(동작 725). Additionally, the controller 202 may check whether to allow data packets for which authentication has not been performed based on an authentication policy (e.g., the authentication policy database 312 of FIG. 3). In this case, the controller 202 can check information on whether unauthenticated network access is possible to determine whether the node 201 will allow network access without data packet authentication based on the authentication policy, and unauthenticated network access is possible. Availability information may be transmitted to the node 201 (operation 725).
제어 플로우가 생성되면, 동작 725에서, 컨트롤러(202)는 컨트롤러 접속 요청에 대한 응답을 노드(201)의 접속 제어 애플리케이션(211)에게 전송할 수 있다. 이 경우, 컨트롤러(202)는 생성된 제어 플로우 식별 정보를 접속 제어 애플리케이션(211)에게 전송할 수 있다. 일 실시예에서, 컨트롤러(202)는 접속 제어 애플리케이션(211)에게 접속 가능한 애플리케이션 화이트리스트 정보를 전송할 수 있다. Once the control flow is created, in operation 725, the controller 202 may transmit a response to the controller connection request to the connection control application 211 of the node 201. In this case, the controller 202 may transmit the generated control flow identification information to the access control application 211. In one embodiment, the controller 202 may transmit accessible application whitelist information to the access control application 211.
동작 730에서, 접속 제어 애플리케이션(211)은 애플리케이션에 대한 검사를 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 컨트롤러(202)에서 수신된 접속 가능한 애플리케이션 화이트리스트를 기초로 애플리케이션에 대한 검사를 수행할 수 있다. 접속 제어 애플리케이션(211)은 접속 가능한 애플리케이션 정보를 기초로 애플리케이션이 노드(201)에 존재하는지(설치 되어있는지) 여부를 확인할 수 있고, 존재하는 애플리케이션의 경우 유효성 검사 정책에 따라서 무결성 및 안정성 여부 검사(애플리케이션 위, 변조 여부 검사, 코드 사이닝 검사, 핑거 프린트 검사)를 수행할 수 있다. In operation 730, the access control application 211 may perform a check on the application. For example, the access control application 211 may perform a check on applications based on a whitelist of accessible applications received from the controller 202. The access control application 211 can check whether the application exists (installed) on the node 201 based on the accessible application information, and in the case of the existing application, the integrity and stability are checked according to the validation policy ( Above the application, tampering inspection, code signing inspection, and fingerprint inspection) can be performed.
동작 735에서, 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 애플리케이션 검사 결과를 전송할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 노드(201)에 존재하는 애플리케이션의 정보 및 유효성 검사의 결과를 컨트롤러(202)에게 전송할 수 있다. In operation 735, the access control application 211 may transmit the application check result to the controller 202. For example, the access control application 211 may transmit information on applications existing in the node 201 and the results of validation to the controller 202.
동작 740에서, 컨트롤러(202)는 수신된 애플리케이션 정보를 기반으로 애플리케이션이 유효한지 여부를 검사할 수 있다. 컨트롤러(202)는 수신된 애플리케이션 정보에 포함된 애플리케이션이 유효한 애플리케이션인 경우 애플리케이션이 포함된 네트워크에 연결된 노드(201)의 접속을 허용하기 위하여, 접속 정책에서 노드(201)가 위치한 게이트웨이(203)를 확인할 수 있고, 인증 정책에서 애플리케이션이 데이터 패킷 인증 없이 데이터 패킷 전송을 사전에 허용할 수 있도록 데이터 플로우를 생성할 수 있다. 예를 들어, 데이터 플로우는 출발지 IP, 도착지 IP 및 포트 정보에 기반하여 생성될 수 있다. At operation 740, the controller 202 may check whether the application is valid based on the received application information. If the application included in the received application information is a valid application, the controller 202 sets the gateway 203 where the node 201 is located in the access policy to allow access to the node 201 connected to the network including the application. You can check, and in the authentication policy, you can create a data flow so that the application can pre-allow data packet transmission without data packet authentication. For example, a data flow can be created based on source IP, destination IP, and port information.
실시예에 따르면, 컨트롤러(202)는 인증 정책에서, 인증을 수행하지 않은 데이터 패킷을 허용할 것인지 여부를 확인할 수 있다. 예를 들어, 컨트롤러(202)는 노드(201)가 데이터 패킷 인증 없이 네트워크 접속을 허용할 것인지 여부를 판단하기 위한 미인증 네트워크 접속 가능 여부 또는 TCP SYN 패킷의 전송을 기본적으로 허용할 것인지 여부를 접속 제어 애플리케이션(211)에게 전송할 수 있다(동작 745).According to an embodiment, the controller 202 may check in the authentication policy whether to allow data packets for which authentication has not been performed. For example, the controller 202 determines whether the node 201 can connect to an unauthenticated network to determine whether to allow network access without data packet authentication or whether to basically allow transmission of TCP SYN packets. It may be transmitted to the control application 211 (operation 745).
동작 745에서 컨트롤러(202)는 생성된 데이터 플로우를 게이트웨이(203)에게 전송할 수 있다. 다른 예를 들어, 생성된 데이터 플로우가 존재하지 않는 경우 컨트롤러(202)는 데이터 플로우를 게이트웨이(203)에게 전송하지 않을 수 있다. In operation 745, the controller 202 may transmit the generated data flow to the gateway 203. For another example, if the generated data flow does not exist, the controller 202 may not transmit the data flow to the gateway 203.
동작 750에서 컨트롤러(202)는 생성된 데이터 플로우를 노드(201)에게 전송할 수 있다. 다른 예를 들어, 생성된 데이터 플로우가 존재하지 않는 경우 컨트롤러(202)는 데이터 플로우를 게이트웨이(203)에게 전송하지 않을 수 있다.In operation 750, the controller 202 may transmit the generated data flow to the node 201. For another example, if the generated data flow does not exist, the controller 202 may not transmit the data flow to the gateway 203.
동작 755에서 노드(201)의 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 수신된 응답에 대한 결과값을 처리할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 수신된 제어 플로우 식별 정보를 저장하고 컨트롤러 접속이 완료됨을 나타내는 사용자 인터페이스 화면을 사용자에게 표시할 수 있다. 컨트롤러 접속이 완료되면, 노드(201)의 목적지 네트워크에 대한 네트워크 접속 요청은 컨트롤러(202)에 의해 제어될 수 있다.In operation 755, the access control application 211 of the node 201 may process the result of the response received from the controller 202. For example, the connection control application 211 may store the received control flow identification information and display a user interface screen to the user indicating that the controller connection is complete. Once the controller connection is completed, the network connection request for the destination network of the node 201 can be controlled by the controller 202.
다른 실시예에 따라, 컨트롤러(202)는 노드(201)가 접속 불가능한 것으로 결정할 수 있다. 예를 들어, 노드(201) 및/또는 노드(201)가 속한 네트워크의 식별 정보가 블랙리스트 데이터 베이스에 포함되면 컨트롤러(202)는 노드(201)가 접속 불가능한 것으로 결정할 수 있다. 이 경우, 컨트롤러(202)는 동작 715에서 제어 플로우를 생성하지 않고, 동작 725에서 컨트롤러 접속이 불가능함을 나타내는 응답을 전송할 수 있다. 또한, 이 경우 동작 730 내지 동작 750은 수행되지 않을 수 있다. 실시예에 따라서, 컨트롤러 접속의 재시도가 필요로 한 경우 접속 제어 애플리케이션(211)은 다시 동작 705를 수행할 수 있다. According to another embodiment, controller 202 may determine that 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 inaccessible. In this case, the controller 202 may not generate a control flow in operation 715 and may transmit a response indicating that controller connection is not possible in operation 725. Additionally, in this case, operations 730 to 750 may not be performed. Depending on the embodiment, if a retry of controller connection is required, the connection control application 211 may perform operation 705 again.
또한, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 수신된 데이터 플로우가 존재하는 경우 노드(201)의 데이터 플로우를 갱신하여, 네트워크 접속 시 사전에 허용된 데이터 플로우에 기반하여 데이터 패킷을 전송할 수 있도록 데이터 플로우를 관리할 수 있다. In addition, the access control application 211 can update the data flow of the node 201 when a data flow received from the controller 202 exists and transmit data packets based on a pre-allowed data flow when connecting to the network. Data flow can be managed so that
실시예에 따라서, 동작 730 내지 동작 750은 접속 제어 애플리케이션(211)에서 애플리케이션의 검사가 필요하지 않은 것으로 판단한 경우 수행되지 않을 수 있다. Depending on the embodiment, operations 730 to 750 may not be performed when the access control application 211 determines that inspection of the application is not necessary.
도 8은 다양한 실시예들에 따른 노드의 네트워크 접속을 위한 동작 흐름도를 나타낸다. 실시예에 따라서, 도 8에 도시된 동작들은 도 2에 도시된 노드(201)의 접속 제어 애플리케이션(211)을 통해 수행될 수 있다. Figure 8 shows an operation flowchart for network connection of a node according to various embodiments. Depending on the embodiment, the operations shown in FIG. 8 may be performed through the access control application 211 of the node 201 shown in FIG. 2.
노드(201)가 목적지 네트워크와 통신을 수행해야 하는 경우, 해당 목적지 네트워크가 통신하기 위하여 컨트롤러(202)로부터 네트워크 접속 가능 여부를 확인하거나, 네트워크 접속을 인증해야할 수 있다. When the node 201 needs to communicate with a destination network, the destination network may need to check whether network access is possible or authenticate network access from the controller 202 in order to communicate.
동작 805에서, 노드(201)의 접속 제어 애플리케이션(211)은 네트워크 접속 이벤트를 감지할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 타겟 애플리케이션의 목적지 네트워크에 대한 네트워크 접속 이벤트를 감지할 수 있다. 실시예에 따르면, 접속 제어 애플리케이션(211)은 타겟 애플리케이션이 전송하고자 하는 데이터 패킷을 감지함으로서 네트워크 접속 이벤트를 감지할 수 있다. At operation 805, the connection control application 211 of node 201 may detect a network connection event. For example, the connection control application 211 may detect a network connection event for the destination network of the target application. According to the embodiment, the access control application 211 may detect a network connection event by detecting a data packet that the target application wants to transmit.
동작 810에서, 접속 제어 애플리케이션(211)은 데이터 플로우를 검사할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 타겟 애플리케이션이 전송하고자 하는 데이터 패킷에 대응되고 컨트롤러(202)로부터 인가된 데이터 플로우의 존재를 확인할 수 있다. 다른 예를 들어, 접속 제어 애플리케이션(211)은 타겟 애플리케이션(211)의 식별 정보, 목적지 네트워크의 식별 정보에 대응되는 데이터 플로우가 존재하는지 확인할 수 있다. 실시예에 따라서, 데이터 플로우가 존재하지만 유효하지 않은 경우, 접속 제어 애플리케이션(211)은 데이터 패킷을 드랍할 수 있다(동작 840). 다른 실시예에 따라서, 데이터 플로우가 존재하고, 데이터 플로우가 인증되었거나, 인증이 불필요한 경우, 접속 제어 애플리케이션(211)은 데이터 패킷을 전송할 수 있다(동작 815). At operation 810, the connection control application 211 may inspect the data flow. For example, the access control application 211 can confirm the existence of a data flow authorized by the controller 202 and corresponding to the data packet that the target application wants to transmit. For another example, the access control application 211 may check whether a data flow corresponding to the identification information of the target application 211 and the identification information of the destination network exists. Depending on the embodiment, if a data flow exists but is not valid, the connection control application 211 may drop the data packet (operation 840). According to another embodiment, if a data flow exists and the data flow is authenticated, or if authentication is not required, the access control application 211 may transmit a data packet (act 815).
데이터 플로우가 미존재하거나 데이터 플로우가 존재하지만 인증이 필요한 경우, 동작 820에서, 접속 제어 애플리케이션(211)은 데이터 패킷이 TCP 세션 생성을 위한 TCP SYN 패킷인지 여부를 확인할 수 있다. 실시예에 따라서, 데이터 패킷이 TCP SYN 패킷인 경우, 접속 제어 애플리케이션(211)은 TCP SYN 패킷의 전송 가능 여부에 관련된 네트워크 접속 검사(동작 825)를 수행할 수 있다. 다른 예를 들어, 데이터 패킷이 TCP SYN 패킷인 경우, 접속 제어 애플리케이션(211)은 TCP SYN 패킷의 전송 가능 여부에 기반하여 TCP SYN 패킷의 전송을 허용할 수 있다. 또 다른 예를 들어, 데이터 패킷이 TCP SYN 패킷인 경우, 접속 제어 애플리케이션(211)은 TCP SYN 패킷의 전송 가능 여부에 기반하여 TCP SYN 패킷의 전송 허용 여부를 확인할 수 있다. 실시예에 따라서, TCP SYN 패킷의 전송 허용 여부를 확인하는 과정은 네트워크 접속 검사를 통해 수행될 수 있다. 예를 들어, 네트워크 접속 검사는 도 9a에 도시된 동작들을 통해 수행될 수 있다. 데이터 패킷이 TCP SYN 패킷이 아닌 경우, 동작 830에서, 접속 제어 애플리케이션(211)은 데이터 패킷이 인증 데이터 패킷인지 여부를 확인할 수 있다. 실시예에 따라서, 데이터 패킷이 인증 데이터 패킷이 아닌 경우, 접속 제어 애플리케이션(211)은 데이터 패킷을 드랍할 수 있다(동작 840). If a data flow does not exist or a data flow exists but authentication is required, in operation 820, the access control application 211 may check whether the data packet is a TCP SYN packet for TCP session creation. Depending on the embodiment, when the data packet is a TCP SYN packet, the connection control application 211 may perform a network connection check (operation 825) related to whether the TCP SYN packet can be transmitted. For another example, when the data packet is a TCP SYN packet, the connection control application 211 may allow transmission of the TCP SYN packet based on whether the TCP SYN packet can be transmitted. For another example, when the data packet is a TCP SYN packet, the connection control application 211 can check whether transmission of the TCP SYN packet is allowed based on whether the TCP SYN packet can be transmitted. Depending on the embodiment, the process of checking whether transmission of the TCP SYN packet is permitted may be performed through a network connection test. For example, a network connectivity check may be performed through the operations shown in FIG. 9A. If the data packet is not a TCP SYN packet, in operation 830, the access control application 211 may check whether the data packet is an authentication data packet. Depending on the embodiment, if the data packet is not an authentication data packet, the access control application 211 may drop the data packet (operation 840).
데이터 패킷이 인증 데이터 패킷인 경우, 동작 835에서, 접속 제어 애플리케이션(211)은 인증 데이터 패킷의 전송 가능 여부에 관련된 네트워크 접속 인증 검사를 수행할 수 있다. 예를 들어, 네트워크 접속 인증 검사는 도 9b에 도시된 동작들을 통해 수행될 수 있다. If the data packet is an authentication data packet, in operation 835, the access control application 211 may perform a network connection authentication check related to whether the authentication data packet can be transmitted. For example, a network connection authentication check may be performed through the operations shown in FIG. 9B.
도 9a는 다양한 실시예들에 따른 노드의 네트워크 접속 검사를 위한 신호 흐름도를 도시한다. FIG. 9A shows a signal flow diagram for checking network connectivity of a node according to various embodiments.
타겟 애플리케이션이 TCP 기반 네트워크 접속을 시도하는 경우, 실질적으로 TCP 세션 생성을 위해 노드(201)는 TCP SYN 패킷 전송 및 3 Way Handshake 절차를 수행할 수 있다. 노드(201)는 TCP 세션이 생성된 이후에 실질적 데이터 패킷을 전송하는 것이 가능한 상태가 될 수 있다. 이러한 TCP 통신의 특성상, 데이터 패킷 인증을 위해서 노드(201)는 TCP 세션이 사전에 생성되어있어야 하고, TCP 세션 생성 시점에 네트워크 접속 가능 여부를 컨트롤러(202)에서 확인하는 절차와, TCP 세션 생성 이후 데이터 패킷 인증 시점에 네트워크 접속 가능 여부를 컨트롤러(202)에서 확인하는 절차가 필요할 수 있다. 이 경우, 다양한 목적지 네트워크를 대상으로 빈번하게 통신이 이루어지는 경우 노드(201)의 네트워크 접속은 Round Trip 및 실질적 데이터 패킷 전송까지 많은 시간이 소요되는 단점이 존재할 수 있다. 본 문서에 개시된 일 실시예에 따른, 노드(201)의 접속 제어 애플리케이션(211)은 TCP 세션 생성을 기본적으로 허용하되, 이후 데이터 패킷 인증 및 실질적 데이터 패킷 전송 시점에 네트워크 접속 가능 여부를 확인함으로서 두번에 나누어 컨트롤러(202)로부터 확인받던 절차를 한번으로 줄일 수 있다. When a target application attempts to connect to a TCP-based network, the node 201 may transmit a TCP SYN packet and perform a 3 Way Handshake procedure to create a TCP session. Node 201 may be in a state capable of transmitting actual data packets after a TCP session is created. Due to the nature of TCP communication, in order to authenticate data packets, the node 201 must have a TCP session created in advance, and the controller 202 must check whether network access is possible at the time of creating the TCP session, and after creating the TCP session, At the time of data packet authentication, the controller 202 may need to confirm whether network access is possible. In this case, when frequent communication is made to various destination networks, the network connection of the node 201 may have the disadvantage of requiring a lot of time to round trip and actually transmit the data packet. According to an embodiment disclosed in this document, the connection control application 211 of the node 201 basically allows the creation of a TCP session, but then checks whether network access is possible at the time of data packet authentication and actual data packet transmission. The process of receiving confirmation from the controller 202 can be reduced to once.
도 9a를 참조하면, 동작 905에서, 접속 제어 애플리케이션(211)은 네트워크 접속 검사 이벤트를 감지할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 도 8의 동작 825를 통해 네트워크 접속 검사 이벤트를 감지할 수 있다. Referring to FIG. 9A, in operation 905, the access control application 211 may detect a network connection check event. For example, the access control application 211 may detect a network connection check event through operation 825 of FIG. 8.
동작 910에서, 접속 제어 애플리케이션(211)은 TCP SYN 패킷의 검사 여부를 확인할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 TCP SYN 패킷을 검사할 필요가 없는 경우 TCP SYN 패킷을 목적지 네트워크로 전송하여 TCP 세션을 생성할 수 있다. 다른 예를 들어, 접속 제어 애플리케이션(211)은 이전에 TCP SYN 데이터 패킷을 허용한 경우, 즉 데이터 패킷의 인증이 되지 않았지만, TCP SYN 데이터 패킷은 전송할 수 있는 데이터 플로우가 존재하는 경우, TCP SYN 패킷을 목적지 네트워크로 전송하여 TCP 세션을 생성할 수 있다. 실시예에 따라서, TCP SYN 패킷을 검사해야하는 경우 또는 TCP SYN 데이터 패킷을 전송할 수 있는 상태의 데이터 플로우가 존재하지 않는 경우 동작 915를 수행할 수 있다.In operation 910, the connection control application 211 may check whether the TCP SYN packet is inspected. For example, if the connection control application 211 does not need to check the TCP SYN packet, it can create a TCP session by sending the TCP SYN packet to the destination network. For another example, the connection control application 211 may previously allow TCP SYN data packets, i.e., if the data packet has not been authenticated, but a data flow exists that can transmit the TCP SYN data packet, the TCP SYN packet You can create a TCP session by sending it to the destination network. Depending on the embodiment, operation 915 may be performed when a TCP SYN packet needs to be checked or when there is no data flow capable of transmitting a TCP SYN data packet.
동작 915에서, 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 네트워크 접속 요청을 수행할 수 있다. 예를 들어, 네트워크 접속 요청은 이전에 컨트롤러(202)와 생성된 제어 플로우 식별 정보, 타겟 애플리케이션의 식별 정보, 목적지 네트워크의 식별 정보 중 적어도 어느 하나를 포함할 수 있다. In operation 915, the access control application 211 may request a network connection to the controller 202. For example, the network connection request may include at least one of control flow identification information previously created with the controller 202, identification information of the target application, and identification information of the destination network.
동작 920에서, 컨트롤러(202)는 제어 플로우 식별 정보에 기반하여 식별된 노드(201), 사용자 및 출발지 네트워크 정보와 매칭되는 접속 정책을 확인할 수 있다. 예를 들어, 컨트롤러(202)는 접속 요청한 식별 정보(예: 타겟 애플리케이션의 식별 정보, 목적지 네트워크의 식별 정보)가 접속 정책에 포함되어있는지 여부 및 해당 식별 정보에 대응되는 목적지 네트워크의 접속 가능 여부를 확인할 수 있다. 실시예에 따라서, 네트워크 접속이 불가능 한 경우 컨트롤러(202)는 동작 935에서 접속 제어 애플리케이션(211)에게 네트워크 접속 불가 결과를 전송할 수 있다. In operation 920, the controller 202 may confirm an access policy matching the identified node 201, user, and source network information based on the control flow identification information. For example, the controller 202 determines whether the connection request identification information (e.g., identification information of the target application, identification information of the destination network) is included in the access policy and whether the destination network corresponding to the identification information is accessible. You can check it. Depending on the embodiment, when network access is not possible, the controller 202 may transmit a result of network access failure to the access control application 211 in operation 935.
접속 가능한 경우, 동작 925에서, 컨트롤러(202)는 데이터 플로우를 처리할 수 있다. 예를 들어, 컨트롤러(202)는 노드(201)의 네트워크 접속을 허용하기 위해 데이터 플로우 테이블(예: 도 3의 데이터 플로우 테이블(316))에 기반하여 목적지 네트워크의 식별 정보로 접속 가능한 데이터 플로우 정보가 존재하는지 확인할 수 있다. 실시예에 따라서, 데이터 플로우 테이블에서 접속 가능한 데이터 플로우가 존재하는 경우, 컨트롤러(202)는 데이터 플로우를 노드(201)에게 전송할 수 있다(동작 935). If a connection is available, at operation 925 the controller 202 may process the data flow. For example, the controller 202 provides data flow information that can be accessed with identification information of the destination network based on a data flow table (e.g., data flow table 316 in FIG. 3) to allow the node 201 to access the network. You can check whether exists. Depending on the embodiment, if an accessible data flow exists in the data flow table, the controller 202 may transmit the data flow to the node 201 (operation 935).
데이터 플로우 테이블에 유효한 데이터 플로우 정보가 존재하지 않는 경우, 타겟 애플리케이션이 목적지 네트워크로 네트워크 접속이 가능하도록 컨트롤러(202)는 출발지 IP, 목적지 네트워크 식별 정보에 기반하여 데이터 플로우를 생성할 수 있고, 생성된 데이터 플로우를 노드(201) 및 게이트웨이(203)로 전송할 수 있다(동작 930, 935). If there is no valid data flow information in the data flow table, the controller 202 may create a data flow based on the source IP and destination network identification information so that the target application can connect to the destination network, and the generated Data flows may be transmitted to node 201 and gateway 203 (operations 930 and 935).
동작 940에서, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 수신된 응답에 대하여 결과값을 처리할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 네트워크 접속 불가 결과를 수신한 경우, 데이터 패킷을 드랍할 수 있다. 다른 예를 들어, 접속 제어 애플리케이션(211)은 데이터 플로우가 수신된 경우, 수신된 데이터 플로우에 기반하여 접속 제어 애플리케이션(211)은 수신된 데이터 플로우에 기반하여 데이터 패킷(TCP SYN 패킷)을 전송할 수 있다. 실시예에 따라서, 노드(201)의 접속 제어 애플리케이션(211)은 수신된 데이터 플로우에 기반하여 데이터 플로우를 갱신할 수 있다. In operation 940, the access control application 211 may process a result of the response received from the controller 202. For example, when the connection control application 211 receives a result of network connection not being possible, it may drop a data packet. For another example, when a data flow is received, the connection control application 211 may transmit a data packet (TCP SYN packet) based on the received data flow. there is. Depending on the embodiment, the access control application 211 of the node 201 may update the data flow based on the received data flow.
실시예에 따르면, 노드(201)의 접속 제어 애플리케이션(211)은 동작 915를 수행하기 전에 유효성 검사를 더 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 유효성 검사 정책에 따라서 타겟 애플리케이션의 무결성 및 안정성 여부(애플리케이션 위조 여부 검사, 변조 여부 검사, 코드 사이닝 검사, 핑거 프린트 검사 등) 검사를 수행할 수 있다. 실시예에 따라서, 유효성 검사에 성공한 경우, 접속 제어 애플리케이션(211)은 동작 915를 수행할 수 있다. 실시예에 따라서, 유효성 검사에 실패한 경우, 접속 제어 애플리케이션(211)은 데이터 패킷(TCP SYN 패킷)을 드랍할 수 있다. According to an embodiment, the access control application 211 of the node 201 may further perform validation before performing operation 915. For example, the access control application 211 may perform a check on the integrity and stability of the target application (application forgery check, tampering check, code signing check, fingerprint check, etc.) according to the validation policy. Depending on the embodiment, if the validation is successful, the access control application 211 may perform operation 915. Depending on the embodiment, if the validation check fails, the access control application 211 may drop the data packet (TCP SYN packet).
도 9b는 다양한 실시예들에 따른 노드의 네트워크 접속 인증 검사를 위한 신호 흐름도를 도시한다. FIG. 9B shows a signal flow diagram for checking network connection authentication of a node according to various embodiments.
노드(201)가 목적지 네트워크와 통신을 수행해야 하는 경우, 해당 목적지 네트워크와 통신하기 위해서는 인증이 완료되었는지 확인할 필요가 있다. When the node 201 needs to communicate with a destination network, it needs to check whether authentication has been completed in order to communicate with the destination network.
도 9b를 참조하면, 동작 950에서, 접속 제어 애플리케이션(211)은 네트워크 접속 인증 검사 이벤트를 감지할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 도 8에 도시된 동작 835를 통해 네트워크 접속 인증 검사 이벤트를 감지할 수 있다. Referring to FIG. 9B, in operation 950, the access control application 211 may detect a network connection authentication check event. For example, the access control application 211 may detect a network connection authentication check event through operation 835 shown in FIG. 8.
동작 955에서, 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 네트워크 접속 인증 요청을 수행할 수 있다. 이 경우 접속 제어 애플리케이션(211)은 컨트롤러(202)에에 제어 플로우 식별 정보, 타겟 애플리케이션 식별 정보, 접속하고자 하는 목적지 네트워크의 식별 정보 및 인증 데이터 패킷 정보를 포함하는 네트워크 접속 인증 요청을 수행할 수 있다. In operation 955, the access control application 211 may request network access authentication from the controller 202. In this case, the access control application 211 may request network connection authentication including control flow identification information, target application identification information, identification information of the destination network to be connected, and authentication data packet information to the controller 202.
동작 960에서, 컨트롤러(202)는 제어 플로우 식별 정보에 기반하여 식별된 노드(201), 사용자 및 출발지 네트워크 정보와 매칭되는 접속 정책을 확인할 수 있다. 예를 들어, 컨트롤러(202)는 접속 요청한 식별 정보(예: 타겟 애플리케이션의 식별 정보, 목적지 네트워크의 식별 정보)가 접속 정책에 포함되어있는지 여부 및 해당 식별 정보에 대응되는 목적지 네트워크의 접속 가능 여부를 확인할 수 있다. 실시예에 따라서, 네트워크 접속이 불가능 한 경우 컨트롤러(202)는 동작 980에서 접속 제어 애플리케이션(211)에게 네트워크 접속 불가 결과를 전송할 수 있다. In operation 960, the controller 202 may confirm an access policy that matches the identified node 201, user, and source network information based on the control flow identification information. For example, the controller 202 determines whether the connection request identification information (e.g., identification information of the target application, identification information of the destination network) is included in the access policy and whether the destination network corresponding to the identification information is accessible. You can check it. Depending on the embodiment, when network access is not possible, the controller 202 may transmit a result of network access failure to the access control application 211 in operation 980.
접속이 가능한 경우, 동작 965에서, 컨트롤러(202)는 인증 정책(예: 도 3의 인증 정책 데이터 베이스(312))에 기반하여 노드(201)가 전송한 인증 데이터 패킷이 유효한지 여부를 검사할 수 있다. 예를 들어, 컨트롤러(202)는 인증 데이터 패킷의 유효성 검사를 위하여, 인증 정책에 포함된 전송 가능한 식별 정보와 노드가 전송한 식별 정보와 동일한지 여부를 확인하고, 해당 식별 정보로 네트워크 접속이 가능한지 여부를 판단하거나, 네트워크 접속 인증을 위해서 인증 정보 생성 알고리즘을 통해서 생성된 인증 정보와 인증 정책에 포함된 인증 정보 검사 알고리즘을 통해서 인증 정보가 유효한지 여부를 판단할 수 있다. If a connection is available, at operation 965, the controller 202 checks whether the authentication data packet transmitted by the node 201 is valid based on an authentication policy (e.g., the authentication policy database 312 of FIG. 3). You can. For example, in order to check the validity of an authentication data packet, the controller 202 checks whether the transmittable identification information included in the authentication policy is the same as the identification information transmitted by the node, and determines whether network access is possible with the identification information. For network access authentication, it is possible to determine whether the authentication information is valid through the authentication information generated through the authentication information generation algorithm and the authentication information inspection algorithm included in the authentication policy.
실시예에 따라서, 컨트롤러(202)는 노드(201)의 식별 정보를 기초로 매칭된 제 3자(예: 도 2의 데이터 소유자(206))의 승인에 의해서 네트워크 접속을 허용할 수 있는 경우, 제 3자의 인증 확인을 통해서 인증 데이터 패킷 유효성 검사를 수행할 수 있다. 위와 같은 확인을 통해 제 3자는 소유하고 있는 데이터를 안전하게 관리할 수 있고, 데이터를 사용한 기록을 확인할 수 있다. Depending on the embodiment, when the controller 202 may allow network access with the approval of a third party (e.g., the data owner 206 in FIG. 2) matched based on the identification information of the node 201, Authentication data packet validity can be checked through third-party authentication confirmation. Through the above confirmation, third parties can safely manage the data they own and check records of data use.
접속 및 인증 정책에 대한 확인이 완료된 경우, 동작 970에서, 컨트롤러(202)는 노드(201)의 네트워크 접속을 허용하기 위해 데이터 플로우 테이블(예: 도 3의 데이터 플로우 테이블(316))에 기반하여 목적지 네트워크의 식별 정보로 접속 가능한 데이터 플로우 정보가 존재하는지 확인할 수 있다. If verification of the connection and authentication policy is complete, at operation 970, the controller 202 configures a data flow table (e.g., data flow table 316 in FIG. 3) to allow node 201 to access the network. You can check whether accessible data flow information exists using the identification information of the destination network.
데이터 플로우 테이블에 유효한 데이터 플로우 정보가 존재하지 않는 경우, 타겟 애플리케이션이 목적지 네트워크로 네트워크 접속이 가능하도록 컨트롤러(202)는 출발지 IP, 목적지 네트워크 식별 정보 및 인증 정책에 따라 생성된 인증 정보를 포함하는 데이터 플로우를 생성할 수 있다. If there is no valid data flow information in the data flow table, the controller 202 generates data including the source IP, destination network identification information, and authentication information generated according to the authentication policy so that the target application can connect to the destination network. You can create flows.
실시예에 따라서, 인증 정보는 이후 추가 인증 갱신 없이 데이터 패킷을 상시 전송하는 것이 가능한지 여부 및 인증 갱신 시점을 포함하는 정보일 수 있다. 예를 들어, 인증 정보는 네트워크 접속 허용 이후 계속적으로 네트워크 접속을 허용할 것인지 여부 또는 특정 조건(예: TCP SYM Packet, TCP FIN Packet, 전송된 데이터 패킷의 양이 데이터 플로우에 포함된 데이터 패킷의 양을 초과하는 경우, 데이터 플로우에 포함된 데이터 패킷의 갱신 처리 문자를 포함하는 등의 룰)이 충족되는 경우 네트워크 접속을 해제하고 데이터 패킷 인증을 재수행할 것인지 여부를 포함할 수 있다. 또한, 인증 정보는 데이터 플로우 갱신 조건을 만족하는 경우 데이터 플로우의 인증 상태를 인증 필요 상태로 설정하도록 하는 정보를 포함할 수 있다. Depending on the embodiment, the authentication information may be information including whether it is possible to always transmit data packets without additional authentication renewal and the time of authentication renewal. For example, authentication information may be used to determine whether to continue to allow network access after network access has been granted, or to determine whether to allow network access under certain conditions (e.g., TCP SYM Packet, TCP FIN Packet, the amount of data packets transmitted is the amount of data packets included in the data flow). may include whether to release the network connection and re-perform data packet authentication if a rule (such as including an update processing character of a data packet included in the data flow) is met. Additionally, the authentication information may include information that sets the authentication status of the data flow to an authentication required state when the data flow update conditions are satisfied.
동작 975에서, 컨트롤러(202)는 생성된 데이터 플로우를 게이트웨이(203)로 전송할 수 있다. 다른 예를 들어, 생성된 데이터 플로우가 존재하지 않는 경우 컨트롤러(202)는 데이터 플로우를 게이트웨이(203)에게 전송하지 않을 수 있다.At operation 975, the controller 202 may transmit the generated data flow to the gateway 203. For another example, if the generated data flow does not exist, the controller 202 may not transmit the data flow to the gateway 203.
동작 980에서, 컨트롤러(202)는 접속 제어 애플리케이션(211)의 네트워크 접속 인증 요청(동작 955)에 대한 응답을 전송할 수 있다. 예를 들어, 생성된 데이터 플로우가 존재하는 경우 컨트롤러(202)는 생성된 데이터 플로우를 접속 제어 애플리케이션(211)에게 전송할 수 있다. 다른 예를 들어, 데이터 플로우 테이블에서 접속 가능한 데이터 플로우가 존재하는 경우, 해당 데이터 플로우를 노드(201)에게 전송할 수 있다. 또 다른 예를 들어, 노드(201)의 타겟 애플리케이션의 네트워크 접속이 불가능 하거나 인증이 실패한 경우, 컨트롤러(202)는 접속 불가 결과를 전송할 수 있다. At operation 980, the controller 202 may transmit a response to the network connection authentication request (operation 955) of the access control application 211. For example, if a generated data flow exists, the controller 202 may transmit the generated data flow to the access control application 211. For another example, if there is a data flow that can be accessed in the data flow table, the data flow can be transmitted to the node 201. For another example, if the network connection of the target application of the node 201 is not possible or authentication fails, the controller 202 may transmit a result of the inability to connect.
동작 985에서, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 전송된 응답에 대한 결과값을 처리할 수 있다. 예를 들어, 접속 제어 애플리케이션(202)은 컨트롤러(202)로부터 데이터 플로우를 수신한 경우, 수신된 데이터 플로우로 노드(201)의 데이터 플로우를 갱신하고, 인증 정보에 따라 인증 데이터 패킷을 드랍하거나 전송 처리할 수 있다. 다른 예를 들어, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 인증 실패 결과 또는 접속 불가 결과를 수신한 경우 데이터 패킷을 드랍할 수 있다. In operation 985, the access control application 211 may process the result of the response sent from the controller 202. For example, when the access control application 202 receives a data flow from the controller 202, it updates the data flow of the node 201 with the received data flow and drops or transmits an authentication data packet according to the authentication information. It can be handled. For another example, the access control application 211 may drop a data packet when receiving an authentication failure result or a connection inaccessibility result from the controller 202.
실시예에 따라서, 동작 950을 수행한 후 접속 제어 애플리케이션(211)은 유효성 검사 정책에 따라서 타겟 애플리케이션에 대한 유효성 검사를 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 타겟 애플리케이션의 무결성 및 안정성 여부 검사(애플리케이션 위조 여부 검사, 변조 여부 검사, 코드 사이닝 검사 및 핑거 프린트 검사 등)를 더 수행할 수 있다. 접속 제어 애플리케이션(211)은 유효성 검사 결과가 성공인 경우 동작 955를 수행할 수 있다.Depending on the embodiment, after performing operation 950, the access control application 211 may perform a validation check on the target application according to a validation policy. For example, the access control application 211 may further perform an integrity and stability check of the target application (application forgery check, tampering check, code signing check, fingerprint check, etc.). The access control application 211 may perform operation 955 if the validation result is successful.
도 10은 다양한 실시예들에 따른 노드의 데이터 패킷을 전송하기 위한 신호 흐름도를 나타낸다.Figure 10 shows a signal flow diagram for transmitting a data packet of a node according to various embodiments.
노드(201)의 접속 제어 애플리케이션(211)은 데이터 패킷을 전송하기 전에 해당 데이터 패킷의 인증 여부 및 갱신 필요 여부를 확인하고, 인증이 되지 않았거나 갱신이 필요한 경우 데이터 패킷을 전송하지 않도록 제어할 수 있다. The access control application 211 of the node 201 can check whether the data packet is authenticated and whether renewal is necessary before transmitting the data packet, and can control not to transmit the data packet if authentication is not performed or renewal is required. there is.
동작 1005에서, 접속 제어 애플리케이션(211)은 데이터 패킷 전송 이벤트를 감지할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 노드(201)에 포함된 다른 애플리케이션(예: 도 2의 타겟 애플리케이션(212))이 데이터 패킷을 전송하는 동작을 감지할 수 있다.At operation 1005, the access control application 211 may detect a data packet transmission event. For example, the access control application 211 may detect an operation of another application included in the node 201 (eg, the target application 212 in FIG. 2) transmitting a data packet.
동작 1010에서, 접속 제어 애플리케이션(211)은 데이터 패킷 인증 검사를 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 전송 요청된 데이터 패킷의 목적지 네트워크 식별 정보에 대응되는 데이터 플로우에 포함된 인증 정보를 확인할 수 있다. 접속 제어 애플리케이션(211)은 인증 정보에 기반하여 데이터 패킷 마다 인증 데이터 패킷 포함 여부를 검사할 것인지 여부를 확인할 수 있고, 인증 데이터 패킷 포함 여부를 검사해야하는 경우 데이터 패킷 검사를 수행할 수 있다. 이 경우 접속 제어 애플리케이션(211)은 데이터 패킷에 포함된 인증 데이터 패킷이 존재하지 않거나, 데이터 패킷 내에 포함된 인증 정보가 데이터 플로우에 포함된 인증 정보와 상이한 경우 데이터 패킷을 드랍할 수 있다. 다른 예를 들어, 인증 데이터 패킷 포함 여부를 검사하지 않아도 되는 경우, 접속 제어 애플리케이션(211)은 동작 1015를 수행할 수 있다. In operation 1010, the access control application 211 may perform a data packet authentication check. For example, the access control application 211 may check authentication information included in the data flow corresponding to the destination network identification information of the data packet requested to be transmitted. The access control application 211 can check whether or not each data packet contains an authentication data packet based on the authentication information, and can perform a data packet test when it is necessary to check whether or not the authentication data packet is included. In this case, the access control application 211 may drop the data packet if the authentication data packet included in the data packet does not exist or if the authentication information included in the data packet is different from the authentication information included in the data flow. For another example, if it is not necessary to check whether the authentication data packet is included, the access control application 211 may perform operation 1015.
동작 1015에서, 접속 제어 애플리케이션(211)은 데이터 패킷 갱신 검사를 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 데이터 플로우에 포함된 인증 정보에 기반하여 인증 갱신을 위한 데이터 패킷 검사가 필요한지 여부를 확인할 수 있다. 예를 들어, 인증 갱신을 위한 데이터 패킷 검사가 필요한 경우, 접속 제어 애플리케이션(211)은 인증 정보에 포함된 인증 갱신 방식에 따라 전송 요청된 데이터 패킷을 검사할 수 있다. 실시예에 따라서, 접속 제어 애플리케이션(211)은 전송 요청된 데이터 패킷이 TCP SYN Packet이거나 TCP FIN Packet인 경우, 전송된 데이터 패킷의 양이 데이터 플로우에 포함된 데이터 패킷의 양을 초과하는 경우, 데이터 플로우에 포함된 데이터 패킷의 갱신 처리 문자 (Suffix)를 포함하는 등, 인증 정보에 포함된 일련의 룰에 따라 데이터 플로우 갱신 조건을 만족하는 경우, 데이터 플로우 갱신 절차를 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 데이터 플로우의 갱신 상태를 갱신 필요로 변경할 수 있고, 데이터 플로우에 관한 정보를 컨트롤러(202)에게 전송하며 데이터 플로우의 갱신을 요청할 수 있다(동작 1020).In operation 1015, the access control application 211 may perform a data packet update check. For example, the access control application 211 may check whether data packet inspection for authentication renewal is necessary based on authentication information included in the data flow. For example, when inspection of a data packet for authentication renewal is required, the access control application 211 may inspect the data packet requested to be transmitted according to the authentication renewal method included in the authentication information. Depending on the embodiment, when the data packet requested to be transmitted is a TCP SYN Packet or a TCP FIN Packet, and the amount of transmitted data packets exceeds the amount of data packets included in the data flow, the connection control application 211 If the data flow update conditions are met according to a series of rules included in the authentication information, such as including the update processing character (Suffix) of the data packet included in the flow, the data flow update procedure can be performed. For example, the access control application 211 can change the update status of the data flow to update required, transmit information about the data flow to the controller 202, and request update of the data flow (operation 1020).
동작 1025에서 컨트롤러(202)는 접속 제어 애플리케이션(211)으로부터 수신된 데이터 플로우에 관한 정보에 기초하여 데이터 플로우를 갱신할 수 있다. In operation 1025, the controller 202 may update the data flow based on information about the data flow received from the access control application 211.
동작 1030에서, 컨트롤러(202)는 갱신된 데이터 플로우를 게이트웨이(203)에게 전송할 수 있다. At operation 1030, the controller 202 may transmit the updated data flow to the gateway 203.
실시예에 따라서, 동작 1020 내지 동작 1030은 데이터 플로우의 갱신이 필요하지 않은 경우 수행되지 않을 수 있다. Depending on the embodiment, operations 1020 to 1030 may not be performed if update of the data flow is not necessary.
인증 갱신을 위한 데이터 패킷 검사가 필요하지 않은 경우, 동작 1035에서, 접속 제어 애플리케이션(211)은 데이터 패킷을 전송 처리할 수 있다. 또한, 인증 갱신이 완료된 경우 접속 제어 애플리케이션(211)은 데이터 패킷을 전송 처리 할 수 있다. 또한, 접속 제어 애플리케이션(211)은 동작 1010 또는 동작 1015를 통해 데이터 패킷의 검사가 완료된 경우 데이터 패킷을 전송할 수 있다. 실시예에 따라서, 접속 제어 애플리케이션(211)은 동작 1010 또는 동작 1015에서 데이터 패킷의 검사가 실패한 경우 데이터 패킷을 드랍할 수 있다. If data packet inspection for authentication renewal is not necessary, in operation 1035, the access control application 211 may transmit and process the data packet. Additionally, when authentication renewal is completed, the access control application 211 can transmit and process data packets. Additionally, the access control application 211 may transmit the data packet when the inspection of the data packet is completed through operation 1010 or operation 1015. Depending on the embodiment, the access control application 211 may drop the data packet if the inspection of the data packet fails in operation 1010 or operation 1015.
도 11은 다양한 실시예들에 따른 게이트웨이의 데이터 패킷 수신을 제어하기 위한 신호 흐름도를 나타낸다.Figure 11 shows a signal flow diagram for controlling reception of data packets by a gateway according to various embodiments.
게이트웨이(203)는 데이터 패킷을 수신한 경우, 데이터 패킷을 포워딩하기 전에 해당 데이터 패킷의 인증 여부 및 갱신 필요 여부를 확인하고, 인증이 되지 않았거나 갱신이 필요한 경우 데이터 패킷을 포워딩하지 않도록 제어할 수 있다. When receiving a data packet, the gateway 203 can check whether the data packet is authenticated and whether renewal is necessary before forwarding the data packet, and can control not to forward the data packet if it is not authenticated or requires renewal. there is.
동작 1105에서, 게이트웨이(203)는 데이터 패킷 수신 이벤트를 감지할 수 있다. 예를 들어, 게이트웨이(203)는 노드(201)의 접속 제어 애플리케이션(211)으로부터 전송된 데이터 패킷을 감지할 수 있다. At operation 1105, gateway 203 may detect a data packet reception event. For example, the gateway 203 may detect data packets transmitted from the access control application 211 of the node 201.
동작 1110에서, 게이트웨이(203)는 수신된 데이터 패킷의 출발지 IP, 목적지 네트워크의 식별 정보를 확인할 수 있고, 출발지 IP, 목적지 네트워크의 식별 정보에 대응되는 데이터 플로우의 존재 여부를 확인할 수 있다. 실시예에 따라서, 출발지 IP, 목적지 네트워크의 식별 정보에 대응되는 데이터 플로우가 존재하지 않는 경우 게이트웨이(203)는 데이터 패킷을 드랍할 수 있다. In operation 1110, the gateway 203 can check the source IP and identification information of the destination network of the received data packet, and check whether a data flow corresponding to the source IP and the identification information of the destination network exists. Depending on the embodiment, if there is no data flow corresponding to the identification information of the source IP and destination network, the gateway 203 may drop the data packet.
데이터 플로우가 존재하는 경우, 동작 1115에서, 게이트웨이(203)는 데이터 패킷 인증 검사를 수행할 수 있다. 예를 들어, 게이트웨이(203)는 수신된 데이터 패킷의 목적지 네트워크 식별 정보에 대응되는 데이터 플로우에 포함된 인증 정보를 확인할 수 있다. 게이트웨이(203)는 인증 정보에 기반하여 데이터 패킷 마다 인증 데이터 패킷 포함 여부를 검사할 것인지 여부를 확인할 수 있고, 인증 데이터 패킷 포함 여부를 검사해야하는 경우 데이터 패킷 검사를 수행할 수 있다. 이 경우 게이트웨이(203)는 데이터 패킷에 포함된 인증 데이터 패킷이 존재하지 않거나, 데이터 패킷 내에 포함된 인증 정보가 데이터 플로우에 포함된 인증 정보와 상이한 경우 데이터 패킷을 드랍할 수 있다. 다른 예를 들어, 인증 데이터 패킷 포함 여부를 검사하지 않아도 되는 경우, 게이트웨이(203)는 동작 1120을 수행할 수 있다. If a data flow exists, in operation 1115, the gateway 203 may perform a data packet authentication check. For example, the gateway 203 may check authentication information included in the data flow corresponding to the destination network identification information of the received data packet. The gateway 203 can check whether each data packet contains an authentication data packet based on the authentication information, and can perform a data packet test when it is necessary to check whether the authentication data packet is included. In this case, the gateway 203 may drop the data packet if the authentication data packet included in the data packet does not exist or if the authentication information included in the data packet is different from the authentication information included in the data flow. For another example, if it is not necessary to check whether the authentication data packet is included, the gateway 203 may perform operation 1120.
동작 1120에서, 게이트웨이(203)는 데이터 패킷 갱신 검사를 수행할 수 있다. 예를 들어, 게이트웨이(203)는 데이터 플로우에 포함된 인증 정보에 기반하여 인증 갱신을 위한 데이터 패킷 검사가 필요한지 여부를 확인할 수 있다. 예를 들어, 인증 갱신을 위한 데이터 패킷 검사가 필요한 경우, 게이트웨이(203)는 인증 정보에 포함된 인증 갱신 방식에 따라 수신된 데이터 패킷을 검사할 수 있다. 실시예에 따라서, 게이트웨이(203)는 수신된 데이터 패킷이 TCP SYN Packet이거나 TCP FIN Packet인 경우, 수신된 데이터 패킷의 양이 데이터 플로우에 포함된 데이터 패킷의 양을 초과하는 경우, 데이터 플로우에 포함된 데이터 패킷의 갱신 처리 문자 (Suffix)를 포함하는 등, 인증 정보에 포함된 일련의 룰에 따라 데이터 플로우 갱신 조건을 만족하는 경우, 데이터 플로우 갱신 절차를 수행할 수 있다. 예를 들어, 게이트웨이(230)는 데이터 플로우의 갱신 상태를 갱신 필요로 변경할 수 있고, 데이터 플로우에 관한 정보를 컨트롤러(202)에게 전송하며 데이터 플로우의 갱신을 요청할 수 있다(동작 1125).At operation 1120, the gateway 203 may perform a data packet update check. For example, the gateway 203 may determine whether data packet inspection for authentication renewal is necessary based on authentication information included in the data flow. For example, when inspection of a data packet for authentication renewal is necessary, the gateway 203 may inspect the received data packet according to the authentication renewal method included in the authentication information. Depending on the embodiment, the gateway 203 includes the received data packet in the data flow if the received data packet is a TCP SYN Packet or a TCP FIN Packet and the amount of the received data packet exceeds the amount of data packets included in the data flow. If the data flow update conditions are satisfied according to a series of rules included in the authentication information, such as including the update processing character (Suffix) of the updated data packet, the data flow update procedure can be performed. For example, the gateway 230 may change the update status of the data flow to need to be updated, transmit information about the data flow to the controller 202, and request an update of the data flow (operation 1125).
동작 1130에서 컨트롤러(202)는 게이트웨이(203)로부터 수신된 데이터 플로우에 관한 정보에 기초하여 데이터 플로우를 갱신할 수 있다. In operation 1130, the controller 202 may update the data flow based on information about the data flow received from the gateway 203.
실시예에 따라서, 동작 1125 및 동작 1130은 데이터 플로우의 갱신이 필요하지 않은 경우 수행되지 않을 수 있다. Depending on the embodiment, operations 1125 and 1130 may not be performed if update of the data flow is not necessary.
인증 갱신을 위한 데이터 패킷 검사가 필요하지 않은 경우, 동작 1135에서, 게이트웨이(203)는 데이터 패킷을 포워딩할 수 있다. 또한, 인증 갱신이 완료된 경우 게이트웨이(203)는 데이터 패킷을 포워딩할 수 있다. 또한, 게이트웨이(203)는 동작 1115 또는 동작 1120를 통해 데이터 패킷의 검사가 완료된 경우 데이터 패킷을 포워딩할 수 있다. 실시예에 따라서, 게이트웨이(203)는 동작 1115 또는 동작 1120에서 데이터 패킷의 검사가 실패한 경우 데이터 패킷을 드랍할 수 있다.If inspection of the data packet for authentication renewal is not necessary, in operation 1135, the gateway 203 may forward the data packet. Additionally, when authentication renewal is completed, the gateway 203 may forward the data packet. Additionally, the gateway 203 may forward the data packet when the inspection of the data packet is completed through operation 1115 or operation 1120. Depending on the embodiment, the gateway 203 may drop the data packet if the inspection of the data packet fails in operation 1115 or operation 1120.
도 12는 다양한 실시예들에 따른 노드의 제어 플로우를 갱신하기 위한 신호 흐름도를 나타낸다.Figure 12 shows a signal flow diagram for updating the control flow of a node according to various embodiments.
접속 제어 애플리케이션(211)은 노드(201)의 제어 플로우 및 데이터 플로우에 관한 정보를 유지하고, 갱신된 데이터 플로우를 컨트롤러(202)로부터 수신하거나 제어 플로우가 유효한지 여부를 확인하기 위하여 주기적으로 제어 플로우를 갱신 요청할 수 있다.The access control application 211 maintains information about the control flow and data flow of the node 201, and periodically checks the control flow to receive an updated data flow from the controller 202 or check whether the control flow is valid. You can request renewal.
도 12를 참조하면, 동작 1205에서, 접속 제어 애플리케이션(211)은 제어 플로우 갱신 이벤트를 감지할 수 있다. Referring to FIG. 12, in operation 1205, the access control application 211 may detect a control flow update event.
동작 1210에서, 접속 제어 애플리케이션(211)은 제어 플로우 식별 정보를 기초로 컨트롤러(202)에게 제어 플로우 갱신을 요청할 수 있다. In operation 1210, the access control application 211 may request a control flow update from the controller 202 based on control flow identification information.
동작 1215에서, 컨트롤러(202)는 수신된 제어 플로우 식별 정보를 기초로 제어 플로우 테이블(예: 도 3의 제어 플로우 테이블(315))에서 제어 플로우가 존재하는지 여부를 확인할 수 있다. 실시예에 따라서, 제어 플로우가 존재하지 않는 경우(예: 타 보안 시스템에 의하여 접속 해제된 경우, 자체적인 위험 탐지 등에 의하여 접속 해제된 경우), 컨트롤러(202)는 노드(201)의 접속이 유효하지 않으므로 접속 불가 결과를 접속 제어 애플리케이션(211)에게 전송할 수 있다(동작 1220). In operation 1215, 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. Depending on the embodiment, when a control flow does not exist (e.g., when the connection is disconnected by another security system, when the connection is disconnected due to its own risk detection, etc.), the controller 202 determines that the connection of the node 201 is valid. Since this is not done, a connection failure result can be transmitted to the access control application 211 (operation 1220).
컨트롤러(202)는 제어 플로우 테이블(예: 도 3의 제어 플로우 테이블(315))에서 제어 플로우가 존재하는 경우 갱신 시각을 업데이트 할 수 있다. 이 경우, 컨트롤러(202)는 갱신된 제어 플로우의 식별 정보를 접속 제어 애플리케이션(211)에게 전송할 수 있다(동작 1220).The controller 202 may update the update time when a control flow exists in the control flow table (e.g., the control flow table 315 in FIG. 3). In this case, the controller 202 may transmit the updated identification information of the control flow to the access control application 211 (operation 1220).
일 실시예에서, 컨트롤러(202)는 식별된 제어 플로우에 종속된 데이터 플로우 중 재인증을 수행해야하거나, 더 이상 접속이 불가능한 데이터 플로우가 존재하는 경우, 해당 데이터 플로우에 관한 정보를 접속 제어 애플리케이션(211)에게 전송할 수 있다(동작 1220).In one embodiment, if re-authentication is required among data flows dependent on the identified control flow, or if there is a data flow that is no longer accessible, the controller 202 sends information about the data flow to the access control application ( 211) (operation 1220).
동작 1225에서, 노드(201)의 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 수신된 응답에 대한 결과값을 처리할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 제어 플로우 갱신 결과가 불가능인 경우, 애플리케이션의 모든 네트워크 접속을 차단할 수 있다. 다른 예를 들어, 접속 제어 애플리케이션(211)은 제어 플로우 갱신 결과가 정상이고, 갱신된 데이터 플로우 정보가 존재하는 경우, 데이터 플로우를 갱신할 수 있다. In operation 1225, the access control application 211 of the node 201 may process the result of the response received from the controller 202. For example, the access control application 211 may block all network connections of the application when the control flow update result is impossible. For another example, the access control application 211 may update the data flow if the control flow update result is normal and updated data flow information exists.
도 13은 다양한 실시예들에 따른 노드의 접속 해제에 대한 신호 흐름도를 나타낸다.Figure 13 shows a signal flow diagram for disconnection of a node according to various embodiments.
도 13을 참조하면, 동작 1305에서 노드(201)는 노드(201)의 종료, 접속 제어 애플리케이션(211)의 종료, 타겟 애플리케이션의 종료, 더 이상 네트워크 접속을 사용하지 않음 및 연동 시스템으로부터 식별된 정보를 기반으로 접속 종료 요청 중 적어도 어느 하나를 감지할 수 있다. 이 경우 동작 1310에서, 노드(201) 또는 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 제어 플로우 제거를 요청할 수 있다.Referring to FIG. 13, in operation 1305, the node 201 terminates the node 201, terminates the connection control application 211, terminates the target application, no longer uses the network connection, and collects information identified from the interworking system. Based on , at least one of the connection termination requests can be detected. In this case, in operation 1310, the node 201 or the access control application 211 may request the controller 202 to remove the control flow.
동작 1315에서, 컨트롤러(202)는 수신된 제어 플로우 식별 정보를 기초로 식별된 제어 플로우를 제거할 수 있다. At operation 1315, the controller 202 may remove the identified control flow based on the received control flow identification information.
동작 1320에서 컨트롤러(202)는 제거된 제어 플로우에 종속된 모든 데이터 플로우를 제거할 수 있다. 따라서, 노드(201)는 제거된 데이터 플로우를 기반으로 목적지 네트워크에 더 이상 접속할 수 없다.In operation 1320, the controller 202 may remove all data flows dependent on the removed control flow. Accordingly, node 201 can no longer connect to the destination network based on the removed data flow.
동작 1325에서 컨트롤러(202)는 제거된 제어 플로우에 종속된 모든 데이터 플로우에 대한 제거 요청을 게이트웨이(203)에게 수행할 수 있다. In operation 1325, the controller 202 may request the gateway 203 to remove all data flows dependent on the removed control flow.
도 14는 다양한 실시예들에 따른 노드의 애플리케이션 실행 종료에 대한 신호 흐름도를 나타낸다.Figure 14 shows a signal flow diagram for termination of application execution of a node according to various embodiments.
도 14를 참조하면, 동작 1405에서, 노드(201)의 접속 제어 애플리케이션(211)은 실행 중인 애플리케이션의 종료 여부를 실시간으로 확인할 수 있고, 애플리케이션 실행 종료 이벤트를 감지할 수 있다.Referring to FIG. 14, in operation 1405, the access control application 211 of the node 201 can check in real time whether the running application is terminated and detect an application execution termination event.
동작 1410에서, 접속 제어 애플리케이션(211)은 종료된 애플리케이션 식별 정보 및 PID(Process ID 및 Child Process ID Tree) 정보에 대응되는 데이터 플로우가 존재하는지 확인할 수 있다. 데이터 플로우가 존재하는 경우 접속 제어 애플리케이션은 해당 데이터 플로우를 삭제할 수 있다. 실시예에 따라서, 접속 제어 애플리케이션(211)은 다중으로 실행 가능한 애플리케이션의 종료를 추적하기 위하여 종료된 애플리케이션이 실행중인 프로세스 목록에서 존재하는지 여부를 확인할 수 있고, 존재하지 않는 경우 종료된 애플리케이션의 식별 정보에 대응되는 데이터 플로우를 모두 삭제할 수 있다. In operation 1410, the access control application 211 may check whether a data flow corresponding to the terminated application identification information and PID (Process ID and Child Process ID Tree) information exists. If a data flow exists, the access control application can delete the data flow. Depending on the embodiment, the access control application 211 may check whether the terminated application exists in the running process list in order to track termination of multiple executable applications, and if not, identify the terminated application. All data flows corresponding to can be deleted.
동작 1415에서, 접속 제어 애플리케이션(211)은 삭제된 데이터 플로우에 대하여 컨트롤러(202)에게 삭제 요청할 수 있다. In operation 1415, the access control application 211 may request deletion of the deleted data flow from the controller 202.
동작 1420에서, 컨트롤러(202)는 삭제 요청된 데이터 플로우를 삭제할 수 있다. 또한, 컨트롤러(202)는 삭제된 데이터 플로우에 대한 제거 요청을 게이트웨이(203)에게 수행할 수 있다. 따라서, 삭제된 데이터 플로우에 포함된 출발지 네트워크, 도착지 네트워크 및 포트 정보에 대응되는 데이터 패킷은 더 이상 전송될 수 없다.In operation 1420, the controller 202 may delete the data flow for which deletion has been requested. Additionally, the controller 202 may request the gateway 203 to remove a deleted data flow. Accordingly, data packets corresponding to the source network, destination network, and port information included in the deleted data flow can no longer be transmitted.
도 15는 다양한 실시예들에 따른 노드에 설치된 접속 제어 애플리케이션의 동작 방법에 대한 동작 흐름도를 나타낸다. 일 실시예에서, 도 15에 도시된 동작은 도 2의 노드(201)에 설치된 접속 제어 애플리케이션(211)을 통해 수행될 수 있다. Figure 15 shows an operation flowchart of a method of operating an access control application installed in a node according to various embodiments. In one embodiment, the operation shown in FIG. 15 may be performed through the access control application 211 installed on the node 201 of FIG. 2.
도 15를 참조하면, 동작 1505에서, 접속 제어 애플리케이션(211)은 네트워크 접속 이벤트를 감지할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 타겟 애플리케이션이 목적지 네트워크로 전송하고자하는 데이터 패킷을 감지함으로서, 네트워크 접속 이벤트를 감지할 수 있다. Referring to FIG. 15, in operation 1505, the access control application 211 may detect a network connection event. For example, the connection control application 211 may detect a network connection event by detecting a data packet that the target application wants to transmit to the destination network.
동작 1510에서, 접속 제어 애플리케이션(211)은 타겟 애플리케이션이 전송하고자 하는 데이터 패킷에 대응되고 외부 서버로부터 인가된 데이터 플로우의 존재를 확인할 수 있다. In operation 1510, the access control application 211 may confirm the existence of a data flow authorized from an external server and corresponding to the data packet that the target application wants to transmit.
동작 1515에서, 접속 제어 애플리케이션(211)은 데이터 패킷의 종류를 확인할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 데이터 패킷이 TCP SYN 패킷인지, 인증 데이터 패킷인지, TCP SYN 패킷 또는 인증 데이터 패킷이 모두 아닌지 여부를 확인할 수 있다. In operation 1515, the access control application 211 may check the type of data packet. For example, the connection control application 211 can determine whether a data packet is a TCP SYN packet, an authentication data packet, or neither a TCP SYN packet nor an authentication data packet.
TCP SYN 패킷인 경우, 동작 1520에서, 접속 제어 애플리케이션(211)은 TCP SYN 패킷의 전송 가능 여부에 기반하여 TCP SYN 패킷의 전송을 허용할 수 있다. In the case of a TCP SYN packet, in operation 1520, the connection control application 211 may allow transmission of the TCP SYN packet based on whether the TCP SYN packet can be transmitted.
인증 데이터 패킷인 경우, 동작 1525에서, 접속 제어 애플리케이션(211)은 인증 데이터 패킷 전송 가능 여부에 관련된 네트워크 접속 인증 검사를 수행할 수 있다. In the case of an authentication data packet, in operation 1525, the access control application 211 may perform a network connection authentication check related to whether the authentication data packet can be transmitted.
TCP SYN 패킷 또는 인증 데이터 패킷이 아닌 경우, 동작 1530에서, 접속 제어 애플리케이션(211)은 데이터 패킷을 드랍할 수 있다. If it is not a TCP SYN packet or an authentication data packet, in operation 1530, the connection control application 211 may drop the data packet.
이상의 설명은 본 문서에 개시된 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 문서에 개시된 실시예들이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 문서에 개시된 실시예들의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. The above description is merely an illustrative explanation of the technical idea disclosed in this document, and those skilled in the art in the technical field to which the embodiments disclosed in this document belong will understand without departing from the essential characteristics of the embodiments disclosed in this document. Various modifications and variations will be possible.
따라서, 본 문서에 개시된 실시예들은 본 문서에 개시된 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예에 의하여 본 문서에 개시된 기술 사상의 범위가 한정되는 것은 아니다. 본 문서에 개시된 기술 사상의 보호 범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 문서의 권리범위에 포함되는 것으로 해석되어야 할 것이다. Accordingly, the embodiments disclosed in this document are not intended to limit the technical ideas disclosed in this document, but rather to explain them, and the scope of the technical ideas disclosed in this document is not limited by these embodiments. The scope of protection of the technical ideas disclosed in this document shall be interpreted in accordance with the claims below, and all technical ideas within the equivalent scope shall be interpreted as being included in the scope of rights of this document.

Claims (8)

  1. 노드에 있어서, In the node,
    통신 회로; communication circuit;
    상기 통신 회로와 작동적으로 연결되는 프로세서; 및 a processor operatively connected to the communication circuit; and
    상기 프로세서와 작동적으로 연결되고, 접속 제어 애플리케이션 및 타겟 애플리케이션을 저장하는 메모리를 포함하고, 상기 메모리는 상기 프로세서에 의해서 실행될 때 상기 노드가, a memory operatively coupled to the processor and storing a connection control application and a target application, wherein the memory, when executed by the processor, causes the node to:
    상기 접속 제어 애플리케이션을 통해 네트워크 접속 이벤트를 감지하고, Detect network access events through the access control application,
    상기 타겟 애플리케이션이 전송하고자 하는 데이터 패킷에 대응되고 외부 서버로부터 인가된 데이터 플로우의 존재를 확인하고, 상기 데이터 패킷의 종류를 확인하고, Confirm the existence of a data flow authorized by an external server corresponding to the data packet that the target application wants to transmit, and confirm the type of the data packet,
    상기 데이터 패킷의 종류에 기반하여 TCP SYN 패킷의 전송 가능 여부에 기반하여 TCP SYN 패킷의 전송을 허용하고, Allow transmission of a TCP SYN packet based on whether the TCP SYN packet can be transmitted based on the type of the data packet,
    TCP 세션 생성 이후 또는 TCP SYN 패킷의 검사가 필요하지 않은 경우, 네트워크 접속 인증 검사를 수행하고, After creating a TCP session or when inspection of TCP SYN packets is not necessary, perform a network connection authentication check,
    상기 인증 검사 결과에 기반하여 이후 전송되는 데이터 패킷을 처리하도록 하는, 명령어들을 저장하고, storing commands to process subsequently transmitted data packets based on the authentication check results;
    상기 데이터 플로우는 상기 TCP SYN 패킷의 전송을 기본적으로 허용할 것인지 여부에 관한 정보를 포함하는, 노드.The data flow includes information on whether to basically allow transmission of the TCP SYN packet.
  2. 제 1 항에 있어서, 상기 명령어들은 상기 노드가, The method of claim 1, wherein the commands cause the node to:
    상기 TCP SYN 패킷의 전송 가능 여부를 확인하는 경우, 상기 접속 제어 애플리케이션을 통해, 상기 데이터 플로우에 기반하여 상기 TCP SYN 패킷의 검사 여부를 확인하고, When checking whether the TCP SYN packet can be transmitted, check whether the TCP SYN packet is inspected based on the data flow through the connection control application,
    상기 TCP SYN 패킷의 검사가 필요하지 않은 경우 또는 이전에 상기 TCP SYN 패킷을 허용한 경우 상기 TCP SYN 패킷을 목적지 네트워크로 전송하고, If inspection of the TCP SYN packet is not necessary or if the TCP SYN packet was previously allowed, transmit the TCP SYN packet to the destination network,
    상기 TCP SYN 패킷의 검사가 필요한 경우, 상기 접속 제어 애플리케이션을 통해, 상기 외부 서버에게 네트워크 접속 요청을 수행하고, If inspection of the TCP SYN packet is necessary, perform a network connection request to the external server through the connection control application,
    상기 외부 서버로부터 데이터 플로우를 수신하고, 상기 수신된 데이터 플로우에 기반하여 상기 TCP SYN 패킷을 전송하도록 하고, Receive a data flow from the external server and transmit the TCP SYN packet based on the received data flow,
    상기 네트워크 접속 요청은 상기 목적지 네트워크의 식별 정보 및 상기 타겟 애플리케이션의 식별 정보를 포함하는, 노드,The network connection request includes identification information of the destination network and identification information of the target application, a node,
  3. 제 1 항에 있어서, 상기 명령어들은 상기 노드가, The method of claim 1, wherein the commands cause the node to:
    상기 네트워크 접속 인증 검사를 수행하는 경우, 상기 접속 제어 애플리케이션을 통해, 상기 인증 데이터 패킷에 관한 정보에 기반하여 상기 외부 서버에게 네트워크 접속 인증 요청을 수행하고, When performing the network connection authentication check, a network connection authentication request is made to the external server based on information about the authentication data packet through the access control application,
    상기 외부 서버로부터 인증 정보를 포함하는 데이터 플로우 또는 네트워크 접속 불가 정보를 수신하고, Receiving data flow or network connection inaccessibility information including authentication information from the external server,
    상기 인증 정보를 포함하는 데이터 플로우에 기반하여 상기 인증 데이터 패킷을 전송하도록 하고, transmit the authentication data packet based on a data flow including the authentication information,
    상기 인증 정보는 상기 외부 서버에 포함된 인증 정책에 기반하여 생성되고, The authentication information is generated based on the authentication policy included in the external server,
    상기 인증 정보는 추가 인증 없이 데이터 패킷을 전송하는 것이 가능한지 여부에 대한 정보 및 상기 인증 정책에 기반하여 상기 데이터 플로우의 갱신 조건을 만족하는 경우 상기 데이터 플로우의 인증 상태를 변경하는 정보를 포함하는, 노드. The authentication information includes information on whether it is possible to transmit a data packet without additional authentication and information for changing the authentication status of the data flow when the update conditions of the data flow are satisfied based on the authentication policy. .
  4. 제 1 항에 있어서, 상기 명령어들은 상기 노드가, The method of claim 1, wherein the commands cause the node to:
    상기 접속 제어 애플리케이션을 통해 상기 외부 서버로부터 수신된 미인증 네트워크 접속 가능 여부 정보에 기반하여 상기 타겟 애플리케이션의 데이터 패킷을 인증 없이 전송할 것인지 여부를 결정하고, Determining whether to transmit the data packet of the target application without authentication based on information on whether unauthenticated network access is possible received from the external server through the access control application,
    상기 데이터 패킷을 인증 없이 전송하는 경우 상기 외부 서버에게 네트워크 접속 요청을 수행하고, If the data packet is transmitted without authentication, a network connection request is made to the external server,
    상기 외부 서버로부터 상기 인증 정보를 포함하는 데이터 플로우를 수신하고, Receiving a data flow including the authentication information from the external server,
    상기 수신된 데이터 플로우에 기반하여 상기 데이터 패킷을 전송하도록 하는, 노드.A node configured to transmit the data packet based on the received data flow.
  5. 제 1 항에 있어서, 상기 명령어들은 상기 노드가, The method of claim 1, wherein the commands cause the node to:
    상기 접속 제어 애플리케이션을 통해 상기 타겟 애플리케이션으로부터 전송 요청된 데이터 패킷에 포함된 정보에 대응되는 데이터 플로우에 포함된 인증 정보를 확인하고, Verify authentication information included in the data flow corresponding to the information included in the data packet requested to be transmitted from the target application through the access control application,
    상기 인증 정보에 포함된 인증 필요 여부에 기반하여 상기 데이터 패킷을 검사할지 여부를 결정하고, Determine whether to inspect the data packet based on whether authentication is required included in the authentication information,
    상기 인증 정보에 포함된 인증 갱신 필요 여부에 기반하여 상기 데이터 패킷을 검사할지 여부를 결정하고, Determine whether to inspect the data packet based on whether authentication renewal needed included in the authentication information is required,
    상기 데이터 패킷 검사가 완료되면 상기 데이터 패킷을 전송하도록 하는, 노드.A node that transmits the data packet when the data packet inspection is completed.
  6. 제 5 항에 있어서, 상기 명령어들은 상기 노드가, The method of claim 5, wherein the commands cause the node to:
    상기 접속 제어 애플리케이션을 통해, 상기 인증 정보에 기반하여 전송되는 데이터 패킷 마다 인증 데이터 패킷 포함 여부를 검사할지 여부를 확인하고, Through the access control application, check whether each data packet transmitted based on the authentication information includes an authentication data packet,
    상기 전송되는 데이터 패킷 마다 인증 데이터 패킷 포함 여부를 검사해야하는 경우 상기 데이터 패킷을 검사하고, If it is necessary to check whether each transmitted data packet contains an authentication data packet, check the data packet,
    상기 데이터 패킷에 인증 데이터 패킷이 존재하지 않거나 또는 상기 데이터 패킷에 포함된 인증 정보가 상기 데이터 플로우에 포함된 인증 정보와 상이한 경우 상기 데이터 패킷을 드랍하도록 하는, 노드.A node that drops the data packet when there is no authentication data packet in the data packet or when authentication information included in the data packet is different from authentication information included in the data flow.
  7. 제 5 항에 있어서, 상기 명령어들은 상기 노드가, The method of claim 5, wherein the commands cause the node to:
    상기 접속 제어 애플리케이션을 통해, 상기 인증 정보에 기반하여 인증 갱신을 위한 데이터 패킷 검사가 필요한지 여부를 확인하고, Through the access control application, determine whether data packet inspection for authentication renewal is necessary based on the authentication information,
    상기 인증 갱신을 위한 데이터 패킷 검사가 필요한 경우, 상기 인증 정보에 포함된 인증 갱신 방식에 기반하여 데이터 패킷을 검사하고, If data packet inspection for authentication renewal is necessary, inspect the data packet based on the authentication renewal method included in the authentication information,
    상기 인증 정보에 포함된 데이터 플로우 갱신 조건을 만족하는 경우 상기 데이터 플로우의 갱신 상태를 갱신 필요로 설정하도록 하는, 노드.A node that sets the update status of the data flow to need to be updated when the data flow update condition included in the authentication information is satisfied.
  8. 노드에 설치된 접속 제어 애플리케이션의 동작 방법에 있어서, In the method of operating the access control application installed on the node,
    네트워크 접속 이벤트를 감지하는 단계; detecting a network connection event;
    상기 타겟 애플리케이션이 전송하고자 하는 데이터 패킷에 대응되고 외부 서버로부터 인가된 데이터 플로우의 존재를 확인하는 단계; Confirming the existence of a data flow authorized from an external server and corresponding to a data packet to be transmitted by the target application;
    상기 데이터 패킷의 종류를 확인하는 단계; Confirming the type of the data packet;
    상기 데이터 패킷이 TCP SYN 패킷인 경우 상기 TCP SYN 패킷의 전송 가능 여부에 기반하여 TCP SYN 패킷의 전송을 허용하고, 상기 데이터 패킷이 인증 데이터 패킷인 경우 네트워크 접속 인증 검사를 수행하고, 상기 데이터 패킷이 상기 TCP SYN 패킷 및 상기 인증 데이터 패킷이 아닌 경우 상기 데이터 패킷을 드랍하는 단계; 를 포함하고, If the data packet is a TCP SYN packet, transmission of the TCP SYN packet is allowed based on whether the TCP SYN packet can be transmitted; if the data packet is an authentication data packet, a network connection authentication check is performed, and the data packet is dropping the data packet if it is not the TCP SYN packet and the authentication data packet; Including,
    상기 데이터 플로우는 상기 TCP SYN 패킷의 전송을 기본적으로 허용할 것인지 여부에 관한 정보를 포함하는, 방법.The data flow includes information on whether to basically allow transmission of the TCP SYN packet.
PCT/KR2023/005573 2022-04-25 2023-04-24 System for controlling controller-based network access, and method related thereto WO2023211104A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2022-0050926 2022-04-25
KR1020220050926A KR102495369B1 (en) 2022-04-25 2022-04-25 System for controlling network access based on controller and method of the same

Publications (1)

Publication Number Publication Date
WO2023211104A1 true WO2023211104A1 (en) 2023-11-02

Family

ID=85224484

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2023/005573 WO2023211104A1 (en) 2022-04-25 2023-04-24 System for controlling controller-based network access, and method related thereto

Country Status (2)

Country Link
KR (1) KR102495369B1 (en)
WO (1) WO2023211104A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102495369B1 (en) * 2022-04-25 2023-02-06 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same
KR102593271B1 (en) * 2023-02-22 2023-10-25 프라이빗테크놀로지 주식회사 System for controlling network access and method of the same

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120227088A1 (en) * 2009-09-08 2012-09-06 Huawei Technologies Co., Ltd. Method for authenticating communication traffic, communication system and protective apparatus
JP2017175462A (en) * 2016-03-24 2017-09-28 学校法人東京電機大学 Communication control device, communication control method and program
KR102223827B1 (en) * 2019-09-24 2021-03-08 프라이빗테크놀로지 주식회사 System for authenticating and controlling network access of terminal and method thereof
KR102333553B1 (en) * 2021-05-07 2021-12-01 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same
KR102377247B1 (en) * 2021-06-09 2022-03-23 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same
KR102495369B1 (en) * 2022-04-25 2023-02-06 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120227088A1 (en) * 2009-09-08 2012-09-06 Huawei Technologies Co., Ltd. Method for authenticating communication traffic, communication system and protective apparatus
JP2017175462A (en) * 2016-03-24 2017-09-28 学校法人東京電機大学 Communication control device, communication control method and program
KR102223827B1 (en) * 2019-09-24 2021-03-08 프라이빗테크놀로지 주식회사 System for authenticating and controlling network access of terminal and method thereof
KR102333553B1 (en) * 2021-05-07 2021-12-01 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same
KR102377247B1 (en) * 2021-06-09 2022-03-23 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same
KR102495369B1 (en) * 2022-04-25 2023-02-06 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same

Also Published As

Publication number Publication date
KR102495369B1 (en) 2023-02-06

Similar Documents

Publication Publication Date Title
WO2021060854A1 (en) Network access control system and method therefor
WO2023163509A1 (en) System for controlling controller-based network connection and method related to same
WO2022231306A1 (en) System for controlling controller-based network connection and method therefor
WO2023033586A1 (en) System for controlling network access of application on basis of tcp session control, and method related thereto
WO2023038387A1 (en) System for controlling network access of application on basis of data flow, and method relating to same
WO2023146308A1 (en) System for controlling network access on basis of controller, and method therefor
WO2023211104A1 (en) System for controlling controller-based network access, and method related thereto
WO2023085793A1 (en) System for controlling network access on basis of controller, and method therefor
WO2023211124A1 (en) System for controlling controller-based network connection and method for same
KR102396528B1 (en) System for controlling network access based on controller and method of the same
WO2023085791A1 (en) Controller-based system for controlling network access, and method therefor
WO2023211122A1 (en) System for controlling file transmission and reception of application on basis of proxy and method relating to same
WO2023163514A1 (en) Controller-based network access control system and method therefor
WO2023136658A1 (en) Controller-based system and method for controlling network access
WO2023177238A1 (en) Controller-based network connection control system, and method thereof
WO2023090755A1 (en) System for controlling network access of virtualization instance, and method therefor
WO2023146304A1 (en) System for controlling file transmission and reception of application and method for same
WO2022231304A1 (en) System for controlling controller-based network access, and method therefor
WO2023033588A1 (en) System for controlling data flow in virtualization terminal, and method thereof
WO2021060859A1 (en) System for authenticating and controlling network access of terminal, and method therefor
WO2023211121A1 (en) System for controlling file transmission and reception of application on basis of proxy, and method therefor
WO2023163506A1 (en) System for controlling file transmission and reception of application, and method therefor
WO2023211120A1 (en) System for controlling file transmission and reception of application on basis of proxy, and method related thereto
WO2023068553A1 (en) System for controlling network connection based on controller, and method therefor
WO2023163504A1 (en) System for controlling file transmission and reception of application, and method therefor

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23796749

Country of ref document: EP

Kind code of ref document: A1