KR102427663B1 - System for controlling network access based on controller and method of the same - Google Patents

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

Info

Publication number
KR102427663B1
KR102427663B1 KR1020220005858A KR20220005858A KR102427663B1 KR 102427663 B1 KR102427663 B1 KR 102427663B1 KR 1020220005858 A KR1020220005858 A KR 1020220005858A KR 20220005858 A KR20220005858 A KR 20220005858A KR 102427663 B1 KR102427663 B1 KR 102427663B1
Authority
KR
South Korea
Prior art keywords
secure session
identification information
node
data packet
application
Prior art date
Application number
KR1020220005858A
Other languages
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 프라이빗테크놀로지 주식회사
Priority to KR1020220005858A priority Critical patent/KR102427663B1/en
Application granted granted Critical
Publication of KR102427663B1 publication Critical patent/KR102427663B1/en
Priority to PCT/KR2023/000663 priority patent/WO2023136658A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • 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/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2475Traffic characterised by specific attributes, e.g. priority or QoS for supporting traffic characterised by the type of applications
    • 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
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/20Network architectures or network communication protocols for network security for managing network security; network security policies in general
    • 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

Abstract

According to an embodiment of the present disclosure, a node comprises: a communication circuit; a processor operatively connected to the communication circuit; and a memory operatively connected to the processor, and storing an access control application and a target application. The memory can store instructions to allow the node, on execution by the processor, to detect a data packet transmission event of the target application through the access control application, to check the presence of a data flow corresponding to identification information on the target application and information included in the data packet and authorized by an external server, to check a type of the data packet, to transmit the data packet to a gateway or a service server when the data packet is a secure session generating request data packet so as to generate a secure session between the node and the gateway or the service server, and to transmit identification information on the secure session to the external server when the secure session is generated. Therefore, transmission of a data packet of an unauthorized object can be blocked.

Description

컨트롤러 기반의 네트워크 접속을 제어하기 위한 시스템 및 그에 관한 방법{SYSTEM FOR CONTROLLING NETWORK ACCESS BASED ON CONTROLLER AND METHOD OF THE SAME}SYSTEM FOR CONTROLLING NETWORK ACCESS BASED ON CONTROLLER AND METHOD OF THE SAME

본 문서에 개시된 실시예들은 컨트롤러 기반 네트워크 접속을 제어하기 위한 시스템 및 그에 관한 방법에 관한 것이다.Embodiments disclosed herein relate to a system for controlling a controller-based network connection and a method therefor.

다수의 장치들은 네트워크를 통해서 데이터를 통신할 수 있다. 예를 들어, 단말은 인터넷을 통해 서버와 데이터를 송신하거나 수신할 수 있다. 네트워크는 인터넷과 같은 공용 네트워크(public network)뿐만 아니라 인트라넷과 같은 사설 네트워크(private network)를 포함할 수 있다.Multiple devices may communicate data over a network. For example, the terminal may transmit or receive data with the server through the Internet. The network may include a public network such as the Internet as well as a private network such as an intranet.

단말은 IP(Internet Protocol) 기반의 TCP(Transmission Control Protocol) 또는 UDP(User Datagram Protocol)를 활용하여 서버와 통신을 수행하며, TCP 또는 UDP 기술에서 인가된 출발지 IP와 도착지 IP 간 접속을 제어하기 위한 방화벽 기술이 이용될 수 있다. 이러한 IP 통신의 경우, 데이터 패킷이 평문으로 전송되기 때문에 제3 자는 태핑(tapping) 장비나 로그(rouge) WiFi와 같은 스니핑 기술을 이용하여 데이터 패킷의 중요 정보를 쉽게 열람할 수 있는 문제점이 있으므로, 이를 해결하기 위하여 단말과 서버 간 데이터 패킷을 암호화하기 위한 VPN(Virtual Private Network) 기술 및 터널링 기술이 이용된다. The terminal communicates with the server using IP (Internet Protocol)-based TCP (Transmission Control Protocol) or UDP (User Datagram Protocol), and controls the connection between the source IP and destination IP authorized in TCP or UDP technology. Firewall technology may be used. In the case of IP communication, since data packets are transmitted in plain text, there is a problem that a third party can easily read important information of data packets using sniffing technology such as tapping equipment or rouge WiFi. In order to solve this problem, a VPN (Virtual Private Network) technology and tunneling technology for encrypting data packets between the terminal and the server are used.

터널링 기술은 서비스 서버에 따라 터널링 사용 여부 및 관련 규격이 모두 상이하기 때문에, 특정 네트워크나 서비스에 종속되는 네트워크 접속만을 제어하는 것으로 범위가 한정될 수 있다. 또한, 터널링 기술은 광범위한 네트워크 대역을 설정해야 하므로 단말 내에서 구동되는 각각의 애플리케이션 및 애플리케이션이 접속하고자 하는 서비스 서버 단위의 통신을 제어하는데 어려움이 있을 수 있다. Tunneling technology may be limited in scope to controlling only network access dependent on a specific network or service, since tunneling use and related standards are all different depending on the service server. In addition, since the tunneling technology needs to set up a wide network band, it may be difficult to control each application running in the terminal and communication in the service server unit to which the application wants to access.

이러한 터널링 기술의 단점을 보완하기 위하여 터널링 보다 쉽고 간편하게 안전한 통신을 보장할 수 있는 보안 세션 기술이 고려될 수 있다. 예를 들어, TLS(Transport Layer Security), SSL(Secure Sockets Layer), DTLS(Datagram Transport Layer Security), MTLS(Mutual Transport layer Security), 또는 HTTPS (Hyper Text Transfer Protocol over Secure Socket Layer)와 같은 프로토콜에 보안 세션 기술이 적용될 수 있다. In order to compensate for the shortcomings of such tunneling technology, a secure session technology that can guarantee secure communication more easily and conveniently than tunneling may be considered. For example, for protocols such as Transport Layer Security (TLS), Secure Sockets Layer (SSL), Datagram Transport Layer Security (DTLS), Mutual Transport layer Security (MTLS), or Hyper Text Transfer Protocol over Secure Socket Layer (HTTPS). A secure session technique may be applied.

보안 세션 기술에서 단말과 서비스 서버는 사전에 세션 생성 및 협상(negotiation) 절차를 수행해야 하는데, OSI(Open Systems Interconnection) 7 계층을 기반으로 하는 IP 통신의 특성상 통신을 요청하는 대상(예: 단말 또는 애플리케이션)이 사전에 인가된 안전한 대상인지에 대해서 확인할 수 있는 방법이 존재하지 않으므로 네트워크 수준(즉, OSI 7계층)에서 인가되지 않은 대상을 차단하는 것이 어렵다. 서비스 서버가 인증 조건을 만족하는 않는 대상의 접속을 차단할 수 있지만, 이러한 방식은 이미 TCP 세션 또는 보안 세션이 생성되거나 서비스 프로토콜 접속 절차(예: HTTP)가 수행된 이후에 가능한 것이므로 해당 방식만으로는 허용되지 않은 대상의 네트워크 접속을 원천적으로 차단하거나 해제할 수 없으며, 공격자는 HTTPS와 같이 잘 알려진 프로토콜 및 열린 포트를 통해서 DoS(Denial of Service) 공격이 가능하다. 나아가, 단말의 애플리케이션 내에 포함된 보안 기능이 실행되지 않거나 애플리케이션 내에 위험 요소가 존재하는 경우, 단말 또는 네트워크가 이를 탐지하더라도 네트워크 연결 상태에서 탐지된 위협을 차단할 수 있는 방법이 존재하지 않는다. In the secure session technology, the terminal and the service server must perform a session creation and negotiation procedure in advance. Due to the nature of IP communication based on the Open Systems Interconnection (OSI) 7 layer, Since there is no way to check whether an application) is a pre-authorized safe target, it is difficult to block unauthorized targets at the network level (ie, OSI layer 7). Although the service server may block the connection of a target that does not satisfy the authentication conditions, this method is not allowed because it is possible after a TCP session or a secure session has already been created or a service protocol access procedure (eg HTTP) has been performed. It is impossible to fundamentally block or cancel network access of an unauthorized target, and an attacker can perform a Denial of Service (DoS) attack through a well-known protocol such as HTTPS and an open port. Furthermore, when the security function included in the application of the terminal is not executed or a risk factor exists in the application, even if the terminal or the network detects it, there is no method for blocking the detected threat in the network connection state.

또한, 단말과 서비스 서버 간 보안 세션이 생성되면 암호화된 데이터 패킷이 서비스 서버의 네트워크 경계에 존재하는 필터링 기반 보안 기술(예: IDS(Intrusion Detection System), IPS(Intrusion Prevention System), NGFW(Next Generation Firewall))을 사용할 수 없는 문제가 발생할 수 있다.In addition, when a secure session between the terminal and the service server is created, filtering-based security technologies (eg, Intrusion Detection System (IDS), Intrusion Prevention System (IPS), Next Generation (NGFW), Firewall)) may not be available.

이동성을 가진 단말의 경우 핸드오버(Handover)에 의하여 출발지 IP가 지속적으로 변화하기 때문에 게이트웨이에서 출발지 IP 기준으로 데이터 패킷 전송을 차단하는 문제가 발생할 수 있다. 즉, 핸드오버가 잦은 단말의 경우 IP 변경시마다 매번 네트워크 접속 인증을 해야하는 문제가 발생할 수 있다.In the case of a mobile terminal, since the source IP continuously changes due to handover, there may be a problem in that the gateway blocks data packet transmission based on the source IP. That is, in the case of a terminal with frequent handovers, there may be a problem of having to authenticate network access every time an IP is changed.

또한, 최초 보안 세션 생성시 인증 과정을 통해서 인가된 애플리케이션만 보안 세션을 가능하게 하지만, 해당 보안 세션이 실질적으로 어느 애플리케이션과 매칭되어 인가되었는지 알 수 없기 때문에 애플리케이션이 종료되는 경우 즉시 해당 보안 세션을 종료할 수 있는 방법이 존재하지 않는다. In addition, when the first secure session is created, only an application authorized through the authentication process enables a secure session, but since it is not known which application the secure session is actually matched with and authorized, when the application is terminated, the secure session is immediately terminated. There is no way to do it.

본 문서에 개시되는 다양한 실시예들은 네트워크 환경에서 상술한 문제점을 해결하기 위한 시스템 및 그에 관한 방법을 제공하고자 한다. Various embodiments disclosed in this document are intended to provide a system for solving the above-described problems in a network environment and a method therefor.

본 문서에 개시된 일 실시예에 따른 노드는, 통신 회로, 상기 통신 회로와 작동적으로 연결되는 프로세서 및 상기 프로세서와 작동적으로 연결되고, 접속 제어 애플리케이션 및 타겟 애플리케이션을 저장하는 메모리를 포함하고, 상기 메모리는 상기 프로세서에 의해서 실행될 때 상기 노드가, 상기 접속 제어 애플리케이션을 통해, 상기 타겟 애플리케이션의 데이터 패킷 전송 이벤트를 감지하고, 상기 타겟 애플리케이션의 식별 정보 및 상기 데이터 패킷에 포함된 정보에 대응되고 외부 서버로부터 인가된 데이터 플로우의 존재 여부를 확인하고, 상기 데이터 패킷의 종류를 확인하고, 상기 데이터 패킷이 보안 세션 생성 요청 데이터 패킷인 경우 상기 데이터 패킷을 게이트웨이 또는 서비스 서버로 전송하여, 상기 노드와 상기 게이트웨이 또는 상기 서비스 서버 간 보안 세션을 생성하고, 상기 보안 세션이 생성되면 상기 보안 세션의 식별 정보를 상기 외부 서버로 전송하도록 하는, 명령어들을 저장할 수 있다. A node according to an embodiment disclosed herein comprises a communication circuit, a processor operatively coupled to the communication circuit, and a memory operatively coupled to the processor and storing a connection control application and a target application, wherein the When the memory is executed by the processor, the node detects, through the access control application, a data packet transmission event of the target application, and corresponds to the identification information of the target application and information included in the data packet, and an external server check whether there is a data flow authorized from Alternatively, generating a secure session between the service servers, and transmitting identification information of the secure session to the external server when the secure session is created, may store commands.

본 문서에 개시된 일 실시예에 따른 서버는, 통신 회로, 데이터 베이스를 저장하는 메모리 및 상기 통신 회로 및 상기 메모리와 작동적으로 연결되는 프로세서를 포함하고, 상기 프로세서는, 노드의 접속 제어 애플리케이션으로부터 네트워크 접속 요청을 수신하고, 상기 네트워크 접속 요청은 상기 노드의 타겟 애플리케이션의 식별 정보 및 목적지 네트워크의 식별 정보를 포함하고, 상기 데이터 베이스에 기반하여 상기 타겟 애플리케이션의 접속 가능 여부를 판단하고, 상기 타겟 애플리케이션이 접속 가능한 경우 상기 데이터 베이스에 기반하여 상기 노드와 게이트웨이 또는 서비스 서버 간 보안 세션 생성이 가능한지 여부를 확인하고, 상기 노드가 상기 게이트웨이 또는 상기 서비스 서버와 보안 세션을 생성할 수 있도록 데이터 플로우를 생성하고, 상기 데이터 플로우를 상기 접속 제어 애플리케이션에게 전송하도록 구성될 수 있다. A server according to an embodiment disclosed in this document includes a communication circuit, a memory for storing a database, and a processor operatively connected to the communication circuit and the memory, wherein the processor is configured to: Receiving a connection request, the network connection request includes identification information of the target application of the node and identification information of the destination network, and determines whether the target application is accessible based on the database, and the target application is If it is accessible, it is checked whether a secure session can be created between the node and the gateway or service server based on the database, and a data flow is generated so that the node can create a secure session with the gateway or the service server, and send the data flow to the access control application.

본 문서에 개시된 일 실시예에 따른 노드에 설치된 접속 제어 애플리케이션의 동작 방법은, 타겟 애플리케이션의 데이터 패킷 전송 이벤트를 감지하는 단계, 상기 타겟 애플리케이션의 식별 정보 및 상기 데이터 패킷에 포함된 정보에 대응되고 외부 서버로부터 인가된 데이터 플로우의 존재 여부를 확인하는 단계, 상기 데이터 패킷의 종류를 확인하는 단계, 상기 데이터 패킷이 보안 세션 생성 요청 데이터 패킷인 경우 상기 데이터 패킷을 게이트웨이 또는 서비스 서버로 전송하여, 상기 노드와 상기 게이트웨이 또는 상기 서비스 서버 간 보안 세션을 생성하는 단계 및 상기 보안 세션이 생성되면 상기 보안 세션의 식별 정보를 상기 외부 서버로 전송하는 단계를 포함할 수 있다. A method of operating an access control application installed in a node according to an embodiment disclosed in this document includes: detecting a data packet transmission event of a target application; Checking whether there is a data flow authorized from the server, checking the type of the data packet, if the data packet is a secure session creation request data packet, sending the data packet to a gateway or a service server, and generating a secure session between the gateway or the service server, and transmitting identification information of the secure session to the external server when the secure session is created.

본 문서에 개시된 일 실시예에 따른 서버의 동작 방법은, 노드의 접속 제어 애플리케이션으로부터 네트워크 접속 요청을 수신하는 단계, 상기 네트워크 접속 요청은 상기 노드의 타겟 애플리케이션의 식별 정보 및 목적지 네트워크의 식별 정보를 포함하고, 데이터 베이스에 기반하여 상기 타겟 애플리케이션의 접속 가능 여부를 판단하는 단계, 상기 타겟 애플리케이션이 접속 가능한 경우 상기 데이터 베이스에 기반하여 상기 노드와 게이트웨이 또는 서비스 서버 간 보안 세션 생성이 가능한지 여부를 확인하는 단계, 상기 노드가 상기 게이트웨이 또는 상기 서비스 서버와 보안 세션을 생성할 수 있도록 데이터 플로우를 생성하는 단계 및 상기 데이터 플로우를 상기 접속 제어 애플리케이션에게 전송하는 단계를 포함할 수 있다. The method of operating a server according to an embodiment disclosed in this document includes: receiving a network access request from an access control application of a node, wherein the network access request includes identification information of a target application of the node and identification information of a destination network and determining whether the target application is accessible based on a database; if the target application is accessible, determining whether a secure session can be created between the node and the gateway or service server based on the database , generating a data flow so that the node can create a secure session with the gateway or the service server, and sending the data flow to the access control application.

본 문서에 개시되는 실시예들에 따르면, 네트워크 접속을 제어하기 위한 시스템은 보안 세션을 기반으로 인가된 대상만 네트워크에 접속할 수 있는 방법을 제공하며, 비인가된 대상의 데이터 패킷 전송을 차단할 수 있다. According to the embodiments disclosed in this document, a system for controlling network access provides a method for allowing only an authorized target to access a network based on a secure session, and can block data packet transmission of an unauthorized target.

본 문서에 개시되는 실시예들에 따르면, 네트워크 접속을 제어하기 위한 시스템은 유효하지 않은 대상에 대한 위협 탐지 및 접속 해제를 위한 방법을 제공하고, 애플리케이션과 서비스 서버 간의 모호한 네트워크 접속 해제 시점을 명확히 하여 라이프 사이클 관리를 용이하게 할 수 있다. According to the embodiments disclosed in this document, a system for controlling network access provides a method for detecting and disconnecting threats to an invalid target, and clarifying an ambiguous network connection disconnection point between an application and a service server. It can facilitate life cycle management.

본 문서에 개시되는 실시예들에 따르면, 네트워크 접속을 제어하기 위한 시스템은 비인가 대상이 전송하는 데이터 패킷을 게이트웨이를 통해 차단함으로써 서비스 자원 접속을 통한 DoS 공격 및 무작위 대입 공격(Brute Force Attack)을 막을 수 있다. According to the embodiments disclosed in this document, a system for controlling network access blocks a data packet transmitted by an unauthorized target through a gateway to prevent DoS attacks and brute force attacks through service resource access. can

본 문서에 개시되는 실시예들에 따르면, 네트워크 접속을 제어하기 위한 시스템은 애플리케이션의 네트워크 접속 통제, 위협 차단, 및 격리에 이르는 보안 네트워크 연결 라이프사이클을 구현함으로써 기존의 IP 통신이 내제하고 있는 문제점을 해결하고 안전한 네트워크 연결을 제공할 수 있다. According to the embodiments disclosed in this document, a system for controlling network access overcomes the problems inherent in existing IP communication by implementing a secure network connection lifecycle ranging from application network access control, threat blocking, and isolation. and can provide a secure network connection.

본 문서에 개시되는 실시예들에 따르면, 네트워크 접속을 제어하기 위한 시스템은 광범위한 네트워크 범위에서 데이터 패킷을 보호하는 터널링 기술 대비 보다 쉽고 상세하게 전송 계층에서 데이터 전송을 제어할 수 있다. According to the embodiments disclosed in this document, a system for controlling network access can control data transmission in the transport layer more easily and in detail compared to tunneling technology that protects data packets in a wide network range.

본 문서에 개시되는 실시예들에 따르면, 게이트웨이는 보안 세션에 기반하는 애플리케이션과 서비스 서버 간 데이터 패킷을 포워딩하고, 그 외의 데이터 패킷을 차단함으로써 잠재적 위험이 있는 요소를 차단할 수 있다. According to the embodiments disclosed in this document, the gateway may block a potentially dangerous element by forwarding a data packet between an application and a service server based on a secure session and blocking other data packets.

본 문서에 개시되는 실시예들에 따르면, 서비스 서버에 접속하려는 애플리케이션마다 개별적인 수정이 필요없이 게이트웨이 또는 서버와의 보안 세션을 생성할 수 있다.According to the embodiments disclosed in this document, a secure session with the gateway or server can be created without individual modification for each application to access the service server.

본 문서에 개시된 실시예들에 따르면, 어떠한 애플리케이션이 서비스 서버와 보안 세션을 생성했는지 식별할 수 있어, 해당 애플리케이션이 종료되는 경우 즉시 해당 보안 세션을 종료할 수 있다. According to the embodiments disclosed in this document, it is possible to identify which application has created a secure session with the service server, and when the corresponding application is terminated, the corresponding secure session can be immediately terminated.

본 문서에 개시된 실시예들에 따르면, 노드의 네트워크 접속 인가 상태에서 보안 세션 생성시 해당 보안 세션이 실제로 접속하는 목적지 네트워크 사이에 연결된 것인지 확인할 수 있는 방법이 존재하지 않아 MITM(Man In The Middle) 공격에 의해 도착지 IP 정보가 위변조된 상태에서 정상적이지 않은 프록시 서버를 통해서 네트워크 접속이 발생되는 경우 데이터 패킷이 모두 노출되거나, 데이터 패킷을 조작하여 다른 서버로 접속하는 것이 가능한 문제점을 해결할 수 있다. According to the embodiments disclosed in this document, when a secure session is created in the network access authorization state of the node, there is no way to check whether the secure session is actually connected between the destination networks to which it is connected, so a Man In The Middle (MITM) attack When a network connection occurs through an abnormal proxy server in a state where the destination IP information is forged or altered by

본 문서에 개시된 실시예들에 따르면, 허용된 애플리케이션이 네트워크 접속 요청을 통해서 접속을 인가받아 데이터 패킷을 전송할 때, 보안 세션 데이터 패킷을 전송하는지 여부를 확인하는 절차를 수행하지 않는 경우, 네트워크 접속은 허용되어 있지만 보안 세션에 기반한 데이터 패킷이 아닌 일반 데이터 패킷을 전송하여 DDoS 공격을 수행될 수 있는 문제점을 해결할 수 있다. According to the embodiments disclosed in this document, when an allowed application transmits a data packet by receiving a connection through a network connection request, if it does not perform a procedure to check whether a secure session data packet is transmitted, the network connection is Although allowed, it is possible to solve the problem that a DDoS attack can be performed by sending a normal data packet rather than a data packet based on a secure session.

본 문서에 개시된 실시예들에 따르면, 애플리케이션이 네트워크 접속시 사전에 매핑된 보안 세션 정책에 의해서 해당 네트워크 접속이 보안 세션에 의해서만 전송되는 지 여부를 확인하고, 데이터 패킷 전송시 보안 세션에 의한 데이터 패킷만 전송되도록 하는 기술을 제공함과 동시에 보안 세션 생성 과정에서의 데이터 패킷을 검사하여 보안 세션 식별 정보를 컨트롤러로 전송하여 해당 보안 세션이 대상 애플리케이션에 의해서 생성되었는지 여부를 식별할 수 있다. According to the embodiments disclosed in this document, when an application connects to a network, it is checked whether the corresponding network connection is transmitted only by a secure session according to a security session policy mapped in advance, and when a data packet is transmitted, a data packet by the secure session At the same time, it is possible to identify whether or not the corresponding secure session was created by the target application by providing the technology to ensure that only the secure session is transmitted, and at the same time, by examining the data packet during the secure session creation process and transmitting secure session identification information to the controller.

또한, 본 문서에 개시된 실시예들에 따르면, 애플리케이션이 보안 세션이 생성되지 않은 상태에서 데이터 패킷을 전송하거나 전송된 보안 세션 식별 정보가 목적지 네트워크에서 수집된 보안 세션 식별 정보와 상이한 경우, Rogue 보안 세션 프록시 서버 경유 여부를 판단하여 네트워크 접속을 즉시 종료 처리할 수 있고, 애플리케이션이 종료되었을 경우 보안 세션을 즉시 제거하여 이전에 인증된 보안 세션 정보를 활용하여 목적지 네트워크와 통신하는 것을 방지할 수 있다. In addition, according to the embodiments disclosed in this document, when an application transmits a data packet in a state in which a secure session is not created, or when the transmitted secure session identification information is different from the secure session identification information collected in the destination network, a rogue secure session The network connection can be terminated immediately by determining whether the proxy server has passed through, and when the application is terminated, the secure session is immediately removed to prevent communication with the destination network using previously authenticated secure session information.

이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.In addition, various effects directly or indirectly identified through this document may be provided.

도 1은 복수의 네트워크를 포함하는 환경을 나타낸다.
도 2는 다양한 실시예들에 따른 네트워크 환경 내의 아키텍처를 나타낸다.
도 3은 다양한 실시예들에 따라 컨트롤러에 저장된 데이터 베이스를 나타내는 기능적 블록도이다.
도 4는 다양한 실시예들에 따른 노드의 기능적 블록도를 나타낸다.
도 5는 다양한 실시예들에 따라 데이터 패킷의 전송을 제어하는 동작을 설명한다.
도 6은 다양한 실시예들에 따른 컨트롤러 접속을 위한 신호 흐름도를 나타낸다.
도 7은 다양한 실시예들에 따른 사용자 인증을 위한 신호 흐름도를 도시한다.
도 8은 다양한 실시예들에 따른 네트워크 접속을 위한 신호 흐름도를 도시한다.
도 9는 다양한 실시예들에 따른 데이터 패킷 전송을 제어하기 위한 신호 흐름도를 도시한다.
도 10은 다양한 실시예들에 따른 데이터 패킷 수신에 따른 보안 세션 처리를 위한 신호 흐름도를 도시한다.
도 11은 다양한 실시예들에 따른 제어 플로우 갱신을 위한 신호 흐름도를 도시한다.
도 12는 다양한 실시예들에 따른 접속 해제를 위한 신호 흐름도를 도시한다.
도 13은 다양한 실시예들에 따른 애플리케이션 실행 종료를 위한 신호 흐름도를 도시한다.
도 14는 다양한 실시예들에 따른 노드에 설치된 접속 제어 애플리케이션의 동작 방법에 대한 흐름도를 도시한다.
도 15는 다양한 실시예들에 따른 서버의 동작 방법에 대한 흐름도를 도시한다.
1 shows an environment including a plurality of networks.
2 illustrates an architecture within a network environment in accordance with various embodiments.
3 is a functional block diagram illustrating a database stored in a controller according to various embodiments of the present disclosure;
4 illustrates a functional block diagram of a node in accordance with various embodiments.
5 illustrates an operation of controlling transmission of a data packet according to various embodiments.
6 illustrates a signal flow diagram for controller connection according to various embodiments.
7 illustrates a signal flow diagram for user authentication according to various embodiments.
8 illustrates a signal flow diagram for a network connection according to various embodiments.
9 illustrates a signal flow diagram for controlling data packet transmission in accordance with various embodiments.
10 illustrates a signal flow diagram for processing a secure session upon receiving a data packet according to various embodiments of the present disclosure;
11 illustrates a signal flow diagram for control flow update according to various embodiments.
12 illustrates a signal flow diagram for disconnection according to various embodiments.
13 illustrates a signal flow diagram for terminating application execution according to various embodiments.
14 is a flowchart illustrating a method of operating a connection control application installed in a node according to various embodiments of the present disclosure;
15 is a flowchart illustrating a method of operating a server according to various embodiments of the present disclosure;

이하, 본 발명의 다양한 실시예가 첨부된 도면을 참조하여 기재된다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 실시예의 다양한 변경(modification), 균등물(equivalent), 및/또는 대체물(alternative)을 포함하는 것으로 이해되어야 한다.Hereinafter, various embodiments of the present invention will be described with reference to the accompanying drawings. However, this is not intended to limit the present invention to specific embodiments, and it should be understood that various modifications, equivalents, and/or alternatives of the embodiments of the present invention are included.

본 문서에서 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "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 more items, unless the context clearly dictates otherwise. As used herein, "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 the phrases "at least one of B, or C" may include any one of, or all possible combinations of, items listed together in the corresponding one of the phrases. Terms such as "first", "second", or "first" or "second" may simply be used to distinguish an element from other elements in question, and may refer elements to other aspects (e.g., importance or order) is not limited. It is said that one (eg, first) component is “coupled” or “connected” to another (eg, second) component, with or without the terms “functionally” or “communicatively”. When referenced, it means that one component can be connected to the other component directly (eg by wire), wirelessly, or through a third component.

본 문서에서 설명되는 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있다. 다양한 실시예들에 따르면, 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.Each component (eg, a module or a program) of components described in this document may include a singular or a plurality of entities. According to various embodiments, one or more components or operations among the corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (eg, a module or a program) may be integrated into one component. In this case, the integrated component may perform one or more functions of each component of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. . According to various embodiments, operations performed by a module, program, or other component are executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations are executed in a different order, or omitted. , or one or more other operations may be added.

본 문서에서 사용되는 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일 실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. As used herein, the term “module” may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as, for example, logic, logic block, component, or circuit. A module may be an integrally formed part or a minimum unit or a part of the part that performs one or more functions. For example, according to an 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 the present document may be implemented as software (eg, a program or an application) including one or more instructions stored in a storage medium (eg, memory) readable by a machine. For example, the processor of the device may call at least one of the one or more instructions stored from the storage medium and execute it. This makes it possible for the device to be operated to perform at least one function in accordance with the called at least one command. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' only means that the storage medium is a tangible device and does not contain a signal (eg, electromagnetic wave), and this term is used in cases where data is semi-permanently stored in the storage medium and It does not distinguish 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 included and provided in a computer program product. Computer program products may be traded between sellers and buyers as commodities. The computer program product is distributed in the form of a machine-readable storage medium (eg compact disc read only memory (CD-ROM)), or via an application store or between two user devices (eg smartphones). It can be distributed directly or online (eg, downloaded or uploaded). In the case of online distribution, at least a part of the computer program product may be temporarily stored or temporarily created in a machine-readable storage medium such as a memory of a server of a manufacturer, a server of an application store, or a relay server.

도 1은 복수의 네트워크를 포함하는 환경을 나타낸다. 1 shows an environment including a plurality of networks.

도 1을 참조하면, 제1 네트워크(10) 및 제2 네트워크(20)는 서로 다른 네트워크일 수 있다. 예를 들어, 제1 네트워크(10)는 인터넷과 같은 공용 네트워크이고, 제2 네트워크(20)는 인트라넷 또는 VPN과 같은 사설 네트워크일 수 있다. 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.

제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 . 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 is a portable device such as a smartphone or tablet, a computer device such as a desktop or laptop, a multimedia device, a medical device, a camera, a wearable device, a virtual reality (VR) device. , or a home appliance, and is not limited to the above-described devices. For example, the originating node 101 may include a server or gateway capable of sending data packets through an application. The source node 101 may also be referred to as an 'electronic device' or a 'terminal'. On the other hand, the destination node 102 may include a device similar to that of the source node 101 described above. For another example, the destination node 102 may be substantially identical to the destination network.

출발지 노드(101)는 제2 네트워크(20)로의 접속(access)을 시도하고 제2 네트워크(20)에 포함된 도착지 노드(102)로 데이터를 전송할 수 있다. 출발지 노드(101)는 게이트웨이(103) 및 보안 세션(105)을 통해 데이터를 도착지 노드(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 send data to the destination node 102 via the gateway 103 and the secure session 105 .

출발지 노드(101)의 제1 네트워크(10)에 대한 접속이 승인되면 출발지 노드(101)는 제1 네트워크(10)에 포함된 모든 서버와 통신할 수 있으므로, 출발지 노드(101)는 악성(malicious) 프로그램의 공격으로부터 노출될 수 있다. 예를 들어, 출발지 노드(101)는 인터넷 웹 브라우저(110a), 비즈니스 애플리케이션(110b)과 같은 신뢰된(trusted) 및/또는 보안된(secure) 애플리케이션뿐만 아니라, 악성 코드(110c), 감염된(infected) 비즈니스 애플리케이션(110d)과 같이 신뢰되지 않거나 보안되지 않은 애플리케이션의 데이터를 수신할 수 있다. When the access of the source node 101 to the first network 10 is approved, the source node 101 can communicate with all servers included in the first network 10, so that the source node 101 is malicious. ) can be exposed from program attack. For example, the source node 101 is a trusted and/or secure application, such as an Internet web browser 110a, a business application 110b, as well as a malicious code 110c, infected (infected) ) may receive data from an untrusted or unsecured application, such as business application 110d.

악성 프로그램으로부터 감염된 출발지 노드(101)는 제2 네트워크(20)로의 접속 및/또는 데이터 전송을 시도할 수 있다. 제2 네트워크(20)가 VPN과 같이 IP에 기반하여 형성되는 경우, 제2 네트워크(20)는 제2 네트워크(20) 내에 포함되는 복수의 장치들을 개별적으로 모니터링하기 어려울 수 있으며, OSI 계층에서 응용 계층 또는 전송 계층에 대한 보안에 취약할 수 있다. 또한, 채널이 이미 생성된 이후에 출발지 노드(101)가 악성 애플리케이션을 포함하는 경우, 상기 악성 애플리케이션의 데이터는 제2 네트워크(20) 내의 다른 전자 장치(예: 도착지 노드(102))에게 전달될 수 있다.The source node 101 infected with the malicious program may attempt to access and/or transmit data to the second network 20 . When the second network 20 is formed based on IP such as VPN, it may be difficult for the second network 20 to individually monitor a plurality of devices included in the second network 20, and the application in the OSI layer It may be vulnerable to security at the layer or transport layer. In addition, if the source node 101 includes a malicious application after the channel has already been created, the data of the malicious application is transmitted to another electronic device (eg, the destination node 102 ) in the second network 20 . can

도 2는 다양한 실시예들에 따른 네트워크 환경 내의 아키텍처를 나타낸다. 2 illustrates an architecture within a network environment in accordance with various embodiments.

도 2를 참조하면, 노드(201)는 데이터 통신을 수행할 수 있는 다양한 형태의 장치일 수 있다. 예를 들어, 노드(201)는 스마트폰 또는 태블릿과 같은 휴대용 장치, 데스크탑(desktop) 또는 랩탑(laptop)과 같은 컴퓨터 장치, 멀티미디어 장치, 의료 기기, 카메라, 웨어러블 장치, VR(virtual reality) 장치, 또는 가전 장치를 포함할 수 있으며 전술한 기기들에 한정되지 않는다. 예를 들어, 노드(201)는 애플리케이션을 통해 데이터 패킷을 전송할 수 있는 서버 또는 게이트웨이를 포함할 수 있다. 노드(201)는 '전자 장치' 또는 '단말'로도 참조될 수 있다. Referring to FIG. 2 , the node 201 may be various types of devices capable of performing data communication. For example, the node 201 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, a virtual reality (VR) device, or a home appliance, and is not limited to the above-described devices. For example, node 201 may include a server or gateway capable of sending data packets through an application. The node 201 may also be referred to as an 'electronic device' or a 'terminal'.

노드(201)는 복수의 타겟 애플리케이션(212, 213) 및 접속 제어 애플리케이션(211)을 저장할 수 있다. 제1 타겟 애플리케이션(212)은 접속 제어 애플리케이션(211)의 제어를 받고, 게이트웨이(203)를 통해 제1 서비스 서버(205)로 데이터 패킷을 전송하거나 반대로 데이터 패킷을 수신할 수 있다. 제2 타겟 애플리케이션(213)은 접속 제어 애플리케이션(211)의 제어를 받고, 제2 서비스 서버(206)로 데이터 패킷을 전송하거나 반대로 데이터 패킷을 수신할 수 있다. 타겟 애플리케이션(212, 213) 중 일부는 웹 브라우저 또는 비즈니스 애플리케이션과 같이 신뢰된 및/또는 보안된 애플리케이션인 반면에 다른 일부는 신뢰되지 않거나 보안되지 않은 악성 프로그램일 수 있으므로, 실시예들에 따른 네트워크 접속 시스템은 접속 제어 애플리케이션(211)과 게이트웨이(203) 간 보안 세션 또는 접속 제어 애플리케이션(211)과 서비스 서버 간 보안 세션을 통해 인가되지 않은 프로그램(애플리케이션)의 서비스 서버(205, 206)에 대한 접속을 차단하고 해당 프로그램을 격리할 수 있다. 예를 들어, 실시예들에 따른 타겟 애플리케이션(212, 213)이 서비스 서버(205, 206)와 통신하기 이전에 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 접속 가능 여부를 확인할 수 있다. 인증이 완료되면 접속 제어 애플리케이션(211)은 게이트웨이(203) 또는 제2 서비스 서버(206)와 보안 세션을 생성할 수 있다. 즉, 타겟 애플리케이션(212, 213)이 네트워크에 접속하기 위해서는 접속 제어 애플리케이션(211)을 통해야 하고, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 인가되어야 하며, 접속 제어 애플리케이션(211)과 게이트웨이(203) 또는 제2 서비스 서버(206)간 보안 세션이 생성된 이후에 접속 제어 애플리케이션(211)은 타겟 애플리케이션(212, 213)의 데이터 패킷을 보안 세션에 기반하여 전송할 수 있다.The node 201 may store a plurality of target applications 212 , 213 and an access control application 211 . The first target application 212 may be controlled by the access control application 211 , and may transmit a data packet to the first service server 205 through the gateway 203 or may receive a data packet conversely. The second target application 213 may be controlled by the access control application 211 , and may transmit a data packet to the second service server 206 or may receive a data packet conversely. As some of the target applications 212 and 213 may be trusted and/or secured applications such as web browsers or business applications, while others may be untrusted or unsecured malicious programs, network access according to embodiments The system establishes an unauthorized program (application) connection to the service servers 205 and 206 through a secure session between the access control application 211 and the gateway 203 or a secure session between the access control application 211 and the service server. You can block and quarantine the program. For example, before the target applications 212 and 213 according to the embodiments communicate with the service servers 205 and 206 , the access control application 211 may check whether access is possible from the controller 202 . When authentication is completed, the access control application 211 may create a secure session with the gateway 203 or the second service server 206 . That is, in order for the target applications 212 and 213 to access the network, the access control application 211 must be used, and the access control application 211 must be authorized from the controller 202, and the access control application 211 and the gateway ( 203) or after the secure session between the second service servers 206 is created, the access control application 211 may transmit data packets of the target applications 212 and 213 based on the secure session.

컨트롤러(202)는 예를 들어, 서버(또는 클라우드 서버)일 수 있다. 컨트롤러(202)는 노드(201), 게이트웨이(203), 및 서비스 서버(205, 206) 간 데이터 전송을 관리함으로써 네트워크 환경 내에서 신뢰되는 데이터 전송을 보장할 수 있다. 예를 들어, 컨트롤러(202)는 정책 정보 또는 블랙리스트 정보를 통해 인가된 노드(201)(또는 접속 제어 애플리케이션(211))의 네트워크 접속을 허용할 수 있다. 또한, 컨트롤러(202)는 접속 제어 애플리케이션(211) 또는 타겟 애플리케이션(212, 213)과 게이트웨이(203) 또는 제2 서비스 서버(206) 간 보안 세션 생성을 중개하거나, 노드(201) 또는 게이트웨이(203)로부터 수집된 보안 이벤트에 따라서 보안 세션을 제거할 수 있다. 일 실시예에서, 타겟 애플리케이션(212, 213)은 컨트롤러(202)에 의하여 인가된 보안 세션을 통해서만 서비스 서버(205, 206)와 통신할 수 있으며, 인가된 보안 세션이 존재하지 않으면 타겟 애플리케이션(212, 213)의 네트워크 접속은 접속 제어 애플리케이션(211), 컨트롤러(202), 게이트웨이(203) 또는 제2 서비스 서버(206)로부터 차단될 수 있다. 일 실시예에 따르면, 컨트롤러(202)는 노드(201) 또는 접속 제어 애플리케이션(211)의 네트워크 접속과 연관된 다양한 동작(예: 등록, 승인, 인증, 갱신, 종료)을 수행하기 위하여 접속 제어 애플리케이션(211)과 제어 데이터 패킷을 송수신할 수 있다. 제어 데이터 패킷이 전송되는 흐름(예: 220)은 '제어 플로우(control flow)'로 참조될 수 있다. The controller 202 may be, for example, a server (or cloud server). The controller 202 can ensure reliable data transmission within the network environment by managing data transmission between the node 201 , the gateway 203 , and the service servers 205 and 206 . For example, the controller 202 may allow network access of the authorized node 201 (or the access control application 211 ) through policy information or blacklist information. In addition, the controller 202 mediates the creation of a secure session between the access control application 211 or the target application 212 , 213 and the gateway 203 or the second service server 206 , or the node 201 or the gateway 203 . ), the security session can be removed according to the security event collected from it. In one embodiment, the target application 212 , 213 may communicate with the service server 205 , 206 only through a secure session authorized by the controller 202 , if an authorized secure session does not exist, the target application 212 . , 213 may be blocked from the access control application 211 , the controller 202 , the gateway 203 , or the second service server 206 . According to one embodiment, the controller 202 is a connection control application ( 211) and control data packets can be transmitted and received. A flow (eg, 220 ) through which a control data packet is transmitted may be referred to as a 'control flow'.

게이트웨이(203)는 노드(201)가 속하는 네트워크의 경계 또는 서비스 서버(205, 206)가 속하는 네트워크의 경계에 위치할 수 있다. 일 실시예에 따르면, 게이트웨이(203)는 클라우드(cloud) 기반으로 컨트롤러(202)와 연결될 수 있다. 게이트웨이(203)는 접속 제어 애플리케이션(211)으로부터 수신된 데이터 패킷 중에서 인가된 데이터 패킷만을 제1 서비스 서버(205)로 포워딩 할 수 있다. 접속 제어 애플리케이션(211) 및 게이트웨이(203) 사이에서 데이터 패킷이 전송되는 흐름은 '데이터 플로우(data flow)'로 참조될 수 있다. 데이터 플로우는 노드 또는 IP 단위뿐만 아니라 보다 세부적인 단위(예: 애플리케이션)로 생성될 수 있다. 게이트웨이(203)는 접속 제어 애플리케이션(211)으로부터 전송된 데이터 패킷 중 보안 세션을 통해 전송된 데이터 패킷 만을 제1 서비스 서버(205)로 포워딩함으로써 무분별한 네트워크 접속을 사전에 차단할 수 있다. The gateway 203 may be located at the boundary of the network to which the node 201 belongs or at the boundary of the network to which the service servers 205 and 206 belong. According to an embodiment, the gateway 203 may be connected to the controller 202 based on a cloud. The gateway 203 may forward only the authorized data packet among the data packets received from the access control application 211 to the first service server 205 . A flow in which a data packet is transmitted between the access control application 211 and the gateway 203 may be referred to as a 'data flow'. Data flows can be created not only on a node or IP basis, but also on a more granular basis (eg, an application). The gateway 203 may block indiscriminate network access in advance by forwarding only the data packet transmitted through the secure session among the data packets transmitted from the access control application 211 to the first service server 205 .

다양한 실시 예들에 따르면, 노드(201)는 노드(201) 내에 저장된 타겟 애플리케이션(212, 213)의 네트워크 접속을 관리하기 위한 접속 제어 애플리케이션(211) 및 네트워크 드라이버(미도시)를 포함할 수 있다. 예를 들어, 노드(201)에 포함된 타겟 애플리케이션(212, 213)의 서비스 서버(205, 206)에 대한 접속 이벤트가 발생하면, 접속 제어 애플리케이션(211)은 타겟 애플리케이션(212, 213)의 접속 가능 여부를 결정할 수 있다. 타겟 애플리케이션(212, 213)이 접속 가능하면, 접속 제어 애플리케이션(211)은 보안 세션을 통해 게이트웨이(203) 또는 제2 서비스 서버(206)로 데이터 패킷을 전송할 수 있다. 접속 제어 애플리케이션(211)은 노드(201) 내에서 운영체제를 포함하는 커널(kernel) 및 네트워크 드라이버를 통해 데이터 패킷의 전송을 제어할 수 있다. According to various embodiments, the node 201 may include an access control application 211 and a network driver (not shown) for managing network connections of target applications 212 and 213 stored in the node 201 . For example, when a connection event to the service servers 205 and 206 of the target applications 212 and 213 included in the node 201 occurs, the connection control application 211 is connected to the target applications 212 and 213 . You can decide whether it is possible or not. If the target applications 212 and 213 are accessible, the access control application 211 may transmit the data packet to the gateway 203 or the second service server 206 through the secure session. The access control application 211 may control transmission of data packets through a kernel including an operating system and a network driver in the node 201 .

도 3은 다양한 실시예들에 따라 컨트롤러에 저장된 데이터 베이스를 나타내는 기능적 블록도이다. 도 3은 메모리(330)만을 도시하지만, 컨트롤러는 외부 전자 장치와 통신을 수행하기 위한 통신 회로(예: 도 4의 통신 회로(430)) 및 컨트롤러의 전반적인 동작을 제어하기 위한 프로세서(예: 도 4의 프로세서(410))를 더 포함할 수 있다.3 is a functional block diagram illustrating a database stored in a controller according to various embodiments of the present disclosure; 3 illustrates only the memory 330 , the controller includes a communication circuit for performing communication with an external electronic device (eg, the communication circuit 430 of FIG. 4 ) and a processor (eg, FIG. 4 ) for controlling the overall operation of the controller. The processor 410 of 4) may be further included.

관리자는 컨트롤러(202)에 접속하여 접속 제어 애플리케이션(211)과 서비스 서버(205, 206) 간 접속을 제어하기 위한 연결 중심의 정책을 설정할 수 있으므로, 서비스 단에서 세션을 관리하는 것 보다 세밀하고 안전하게 네트워크 접속을 제어할 수 있다. The administrator can access the controller 202 and set a connection-oriented policy to control the connection between the access control application 211 and the service servers 205 and 206, so it is more detailed and safer than managing sessions at the service end. You can control network access.

접속 정책 데이터 베이스(311)는 식별된 네트워크, 노드, 또는 애플리케이션이 접속 가능한 네트워크 및/또는 서비스에 대한 정보를 포함할 수 있다. 예를 들어, 컨트롤러(202)는 접속 제어 애플리케이션(211)의 네트워크 접속 요청 시, 접속 정책 데이터 베이스(311)의 정책에 기반하여 식별된 네트워크(예: 노드(201)가 속하는 네트워크), 노드, 사용자(예: 노드(201)의 사용자), 및/또는 애플리케이션(예: 노드(201)에 포함되는 타겟 애플리케이션(212, 213)이 서비스 서버(205, 206)에 접속이 가능한지 여부를 결정할 수 있다. 일 실시예에서, 컨트롤러(202)는 접속 정책 데이터 베이스(311)에 기반하여 특정 서비스(예: IP 및 포트)로 접속 가능한 타겟 애플리케이션(212, 213)의 화이트리스트를 생성할 수 있다. The access policy database 311 may include information on networks and/or services to which the identified network, node, or application can connect. For example, when the access control application 211 requests a network access, the controller 202 may include a network identified based on the policy of the access policy database 311 (eg, a network to which the node 201 belongs), a node, A user (eg, a user of the node 201 ), and/or an application (eg, a target application 212 , 213 included in the node 201 ) may determine whether the service server 205 , 206 is accessible. In an embodiment, the controller 202 may create a whitelist of the target applications 212 and 213 accessible by a specific service (eg, IP and port) based on the access policy database 311 .

보안 세션 정책 데이터 베이스(312)는 연결(connection) 경로 상에서 서비스 서버(205, 206)의 네트워크 경계에 존재하는 게이트웨이(203) 정보, 서비스 서버(205, 206) 정보, 데이터 패킷이 지정된 시간 동안에 미인증되거나 보안 세션이 생성되지 않으면 접속 제어 애플리케이션(211)의 접속을 해제하기 위한 만료 시간 정보, 데이터 플로우의 주기적인 갱신을 위한 만료 시간 정보, 또는 게이트웨이(203)에서 보안 세션을 감시(monitor)하기 위한 보안 세션 종류 정보 중 적어도 하나를 포함할 수 있다. 실시예에 따라서, 보안 세션은 접속 제어 애플리케이션(211)과 게이트웨이(203) 간에 생성될 수도 있고, 또는 타겟 애플리케이션(212, 213)과 게이트웨이(203) 간에 생성될 수도 있다. 실시예에 따라서, 보안 세션은 접속 제어 애플리케이션(211)과 서비스 서버(205, 206) 간에 생성될 수도 있고, 또는 타겟 애플리케이션(212, 213)과 서비스 서버(205, 206) 간에 생성될 수도 있다. The secure session policy database 312 includes gateway 203 information, service server 205, 206 information, and data packets existing at the network boundary of the service servers 205 and 206 on the connection path. Expiration time information for releasing the connection of the access control application 211, expiration time information for periodic renewal of a data flow, or monitoring the secure session at the gateway 203 if authentication or a secure session is not created may include at least one of secure session type information for According to an embodiment, the secure session may be created between the access control application 211 and the gateway 203 , or between the target applications 212 and 213 and the gateway 203 . Depending on the embodiment, the secure session may be created between the access control application 211 and the service servers 205 and 206 , or between the target applications 212 and 213 and the service servers 205 and 206 .

블랙리스트 정책 데이터 베이스(313)는 노드(201) 또는 게이트웨이(203)에서 주기적으로 수집되는 보안 이벤트 중에서 보안 이벤트의 위험도, 발생 주기, 및/또는 행위 분석을 통해 식별된 대상(예: 노드 ID(identifier), IP 주소, MAC(media access control) 주소, 또는 사용자 ID 중 적어도 하나)의 접속을 차단하기 위한 블랙리스트 등록 정책을 나타낼 수 있다. The blacklist policy database 313 is a target (eg, node ID ( identifier), an IP address, a media access control (MAC) address, or at least one of a user ID) may represent a blacklist registration policy for blocking access.

블랙리스트 데이터 베이스(314)는 블랙리스트 정책 데이터 베이스(313)에 의해서 차단된 대상에 대한 목록을 포함할 수 있다. 예를 들어, 컨트롤러(202)는 네트워크 접속을 요청하는 노드(201)의 식별 정보가 블랙리스트 데이터 베이스(314)에 포함되면 네트워크 접속 요청을 거부함으로써 노드(201)를 격리시킬 수 있다. The blacklist database 314 may include a list of objects blocked by the blacklist policy database 313 . For example, the controller 202 may isolate the node 201 by rejecting the network connection request when the identification information of the node 201 requesting the network connection is included in the blacklist database 314 .

제어 플로우 테이블(315)은 노드(201)와 컨트롤러(202) 사이에 생성된 제어 데이터 패킷의 흐름(예: 제어 플로우)을 관리하기 위한 세션(session) 테이블의 일 예이다. 성공적으로 컨트롤러(202)에 접속하는 경우, 제어 플로우 정보는 컨트롤러(202)에 의하여 생성될 수 있다. 제어 플로우 정보는 제어 플로우의 식별 정보, 컨트롤러에 대한 접속 및 인증 시 식별되는 IP 주소, 노드 ID, 또는 사용자 ID 중 적어도 하나를 포함할 수 있다. 예를 들어, 노드(201)로부터 서비스 서버(205, 206)에 대한 접속이 요청되면 컨트롤러(202)는 노드(201)로부터 수신된 제어 플로우 식별 정보를 통해 제어 플로우 정보를 검색할 수 있고, 검색된 제어 플로우 정보 내에 포함된 IP 주소, 노드 ID, 또는 사용자 ID 중 적어도 하나를 접속 정책 데이터 베이스(311)에 매핑함으로서 노드(201)가 서비스 서버(205, 206)에 접속이 가능한지 여부, 게이트웨이(203) 또는 서비스 서버(205, 206)와의 보안 세션 생성을 위한 데이터 플로우 생성 여부를 판단(결정)할 수 있다. The control flow table 315 is an example of a session table for managing the flow (eg, control flow) of control data packets generated between the node 201 and the controller 202 . Upon successful access to the controller 202 , control flow information may be generated by the controller 202 . The control flow information may include at least one of identification information of the control flow, an IP address identified when accessing and authenticating a controller, a node ID, and a user ID. For example, when a connection to the service servers 205 and 206 is requested from the node 201 , the controller 202 may retrieve the control flow information through the control flow identification information received from the node 201 , Whether the node 201 can access the service servers 205 and 206 by mapping at least one of an IP address, a node ID, and a user ID included in the control flow information to the access policy database 311, the gateway 203 ) or whether to generate a data flow for creating a secure session with the service servers 205 and 206 may be determined (determined).

일 실시예에 따르면, 제어 플로우는 만료 시각을 가질 수 있다. 노드(201)는 제어 플로우의 만료 시각을 갱신해야 하며, 일정 시간 동안에 만료 시각이 갱신되지 않으면 제어 플로우(또는, 제어 플로우 정보)는 제거될 수 있다. 또한, 노드(201)로부터 수집된 보안 이벤트에 따라서 즉각적인 접속 차단이 필요하다고 결정되는 경우, 컨트롤러(202)는 노드(201)의 접속 종료 요청에 따라서 제어 플로우를 제거할 수 있다. 제어 플로우가 제거되면 기존에 생성된 데이터 플로우 또한 제거되기 때문에 노드(201)의 접속이 차단될 수 있다. According to one embodiment, the control flow may have an expiration time. The node 201 needs to update the expiration time of the control flow, and if the expiration time is not updated for a certain period of time, the control flow (or control flow information) may be removed. In addition, when it is determined that immediate access blocking is required according to the security event collected from the node 201 , the controller 202 may remove the control flow according to the connection termination request of the node 201 . When the control flow is removed, the previously generated data flow is also removed, so that the connection of the node 201 may be blocked.

보안 세션 테이블(316)은 접속 제어 애플리케이션(211) 또는 타겟 애플리케이션(212, 213)과 게이트웨이(203) 사이에 생성되는 보안 세션을 관리하기 위한 테이블이다. 또한, 보안 세션 테이블(316)은 접속 제어 애플리케이션(211) 또는 타겟 애플리케이션(212, 213)과 서비스 서버(205, 206) 사이에 생성되는 보안 세션을 관리하기 위한 테이블이다. 실시예에 따르면, 보안 세션 테이블(316)은 데이터 플로우 테이블(317) 내에 포함될 수 있으며, 보안 세션 테이블(316)에 포함된 정보는 도 3의 데이터 플로우 테이블(317)의 설명에 적용될 수 있다. The secure session table 316 is a table for managing a secure session created between the access control application 211 or target applications 212 and 213 and the gateway 203 . In addition, the secure session table 316 is a table for managing a secure session created between the access control application 211 or target applications 212 and 213 and the service servers 205 and 206 . According to an embodiment, the secure session table 316 may be included in the data flow table 317 , and information included in the secure session table 316 may be applied to the description of the data flow table 317 of FIG. 3 .

데이터 플로우 테이블(317)은 노드(201)와 게이트웨이(203), 및 서비스 서버(205, 206) 사이에 세부적인 데이터 패킷이 전송되는 흐름(예: 데이터 플로우)을 관리하기 위한 테이블이다. 데이터 플로우는 TCP 세션, 애플리케이션, 또는 보다 세부적인 단위로 생성될 수 있다. 데이터 플로우 테이블(317)은 출발지로부터 전송된 데이터 패킷이 인가된 데이터 패킷인지를 식별하기 위한 애플리케이션 ID, 도착지 IP 주소, 및/또는 서비스 포트를 포함할 수 있다. 노드(201)의 타겟 애플리케이션(212, 213)은 하나 이상의 게이트웨이(203) 또는 서비스 서버(205, 206)와 보안 세션을 생성할 수 있기 때문에, 데이터 플로우 테이블(317)은 제어 플로우 ID에 기반하여 관리될 수 있다. 또한, 데이터 플로우 테이블(317)은 타겟 애플리케이션(212, 213) 또는 접속 제어 애플리케이션(211)과 게이트웨이(203) 또는 서비스 서버(205, 206)간 보안 세션이 생성되었는지 여부, 보안 세션과 관련된 정보(예: 보안 세션 식별 정보)를 포함하는 보안 세션 정보를 포함할 수 있다. 또한, 데이터 플로우 테이블(317)은 데이터 패킷의 출발지 IP 및 도착지 IP, 포트 정보를 기반으로 데이터 패킷 포워딩 여부를 판단하기 위한 인가된 대상 정보 및 데이터 플로우가 유효한지 여부를 포함하는 상태 정보를 포함할 수 있다. The data flow table 317 is a table for managing a flow (eg, a data flow) through which detailed data packets are transmitted between the node 201 , the gateway 203 , and the service servers 205 and 206 . Data flows can be created in TCP sessions, applications, or more granular units. The data flow table 317 may include an application ID for identifying whether a data packet transmitted from a source is an authorized data packet, a destination IP address, and/or a service port. Since the target application 212, 213 of the node 201 can create a secure session with one or more gateways 203 or service servers 205, 206, the data flow table 317 is based on the control flow ID. can be managed In addition, the data flow table 317 includes whether a secure session is created between the target application 212, 213 or the access control application 211 and the gateway 203 or the service server 205, 206, information related to the secure session ( For example, secure session information including secure session identification information) may be included. In addition, the data flow table 317 includes state information including source IP and destination IP of the data packet, authorized target information for determining whether to forward the data packet based on port information, and whether the data flow is valid. can

실시예에 따르면, 데이터 플로우 테이블(317)은 노드(201), 게이트웨이(203) 또는 서비스 서버(205, 206)에 동일하게 저장될 수 있다. According to an embodiment, the data flow table 317 may be equally stored in the node 201 , the gateway 203 , or the service servers 205 and 206 .

도 4는 다양한 실시예들에 따른 노드의 기능적 블록도를 나타낸다. 4 illustrates a functional block diagram of a node in accordance with various embodiments.

도 4를 참조하면, 노드는 프로세서(410), 메모리(420), 및 통신 회로(430)를 포함할 수 있다. 일 실시 예에 따르면, 노드는 사용자와 인터페이스를 수행하기 위하여 디스플레이(440)를 더 포함할 수 있다. Referring to FIG. 4 , a node may include a processor 410 , a memory 420 , and a communication circuit 430 . According to an embodiment, the node may further include a display 440 to interface with a 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 may control the overall operation of the node. In various embodiments, the processor 410 may include one processor core or a plurality of processor cores. For example, the processor 410 may include a multi-core such as a dual-core, a quad-core, or a hexa-core. According to embodiments, the processor 410 may further include a cache memory located inside or outside. According to embodiments, the processor 410 may be configured with one or more processors. For example, the processor 410 may include at least one of an application processor, a communication processor, and 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 part of the processor 410 is electrically or operatively coupled to other components within the node (eg, 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 a message, data, command, or signal received from the memory 420 , the communication circuit 430 , or the display 440 . The processor 410 may generate a new message, data, instruction, or signal based on the received message, data, instruction, or signal. The processor 410 may provide the processed or generated messages, data, instructions, or signals to the memory 420 , the communication circuitry 430 , or the display 440 .

프로세서(410)는 프로그램에서 생성되거나 발생되는 데이터 또는 신호를 처리할 수 있다. 예를 들면, 프로세서(410)는 프로그램을 실행하거나 제어하기 위해 메모리(420)에게 명령어, 데이터 또는 신호를 요청할 수 있다. 프로세서(410)는 프로그램을 실행하거나 제어하기 위해 메모리(420)에게 명령어, 데이터, 또는 신호를 기록(또는 저장)하거나 갱신할 수 있다. The processor 410 may process data or signals generated or generated in 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 write (or store) or update instructions, data, or signals to the memory 420 to execute or control a program.

메모리(420)는 노드를 제어하는 명령어, 제어 명령어 코드, 제어 데이터, 또는 사용자 데이터를 저장할 수 있다. 예를 들면, 메모리(420)는 애플리케이션(application) 프로그램, OS(operating system), 미들웨어(middleware), 또는 디바이스 드라이버(device driver) 중 적어도 하나를 포함할 수 있다. The memory 420 may store a command for controlling a node, a control command code, control data, or user data. For example, the memory 420 may include at least one of an application program, an operating system (OS), middleware, and 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) 등을 포함할 수 있다. The memory 420 may include one or more of volatile memory and 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). may include The nonvolatile memory may include a read only memory (ROM), a programmable ROM (PROM), an electrically programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), a flash memory, and the like.

메모리(420)는 하드 디스크 드라이브(HDD, hard disk drive), 솔리드 스테이트 디스크(SSD, solid state disk), eMMC(embedded multi media card), UFS(universal flash storage)와 같은 불휘발성 매체(medium)를 더 포함할 수 있다. The memory 420 includes a nonvolatile medium such as a hard disk drive (HDD), a solid state disk (SSD), an embedded multi media card (eMMC), and a universal flash storage (UFS). may include more.

일 실시예에 따르면, 메모리(420)는 도 2의 타겟 애플리케이션(212, 213) 및 접속 제어 애플리케이션(211)을 저장할 수 있다. 접속 제어 애플리케이션(211)은 게이트웨이(203) 또는 서비스 서버(205, 206)와의 네트워크 접속 및 보안 세션 생성과, 컨트롤러(202)와의 제어 플로우 생성 및 갱신 기능을 수행할 수 있다. 이를 위하여 접속 제어 애플리케이션(211)은 하나 이상의 보안 모듈을 포함할 수 있다. 일 실시예에서, 타겟 애플리케이션(212, 213)은 게이트웨이(203) 또는 서비스 서버(205, 206)와의 보안 세션 생성을 위하여 하나 이상의 보안 모듈을 포함할 수 있다.According to an embodiment, the memory 420 may store the target applications 212 and 213 and the access control application 211 of FIG. 2 . The access control application 211 may perform a network connection and secure session creation with the gateway 203 or service servers 205 and 206 , and a control flow creation and update function with the controller 202 . To this end, the access control application 211 may include one or more security modules. In one embodiment, the target application 212 , 213 may include one or more security modules for creating a secure session with the gateway 203 or service server 205 , 206 .

일 실시예에 따르면, 메모리(420)는 컨트롤러의 메모리(예: 도 3의 메모리(330))에 포함된 정보 중 일부를 저장할 수 있다. 예를 들어, 메모리(420)는 도 3에서 설명된 데이터 플로우 테이블(317)을 저장할 수 있다. According to an embodiment, the memory 420 may store some of information included in the memory of the controller (eg, the memory 330 of FIG. 3 ). For example, the memory 420 may store the data flow table 317 described with reference to FIG. 3 .

통신 회로(430)는 노드와 외부 전자 장치(예: 도 2의 컨트롤러(202), 게이트웨이(203) 또는 서비스 서버(205, 206))간의 유선 또는 무선 통신 연결의 수립, 및 수립된 연결을 통한 통신 수행을 지원할 수 있다. 일 실시 예에 따르면, 통신 회로(430)는 무선 통신 회로(예: 셀룰러 통신 회로, 근거리 무선 통신 회로, 또는 GNSS(global navigation satellite system) 통신 회로) 또는 유선 통신 회로(예: LAN(local area network) 통신 회로, 또는 전력선 통신 회로)를 포함하고, 그 중 해당하는 통신 회로를 이용하여 블루투스, WiFi direct 또는 IrDA(infrared data association) 같은 근거리 통신 네트워크 또는 셀룰러 네트워크, 인터넷, 또는 컴퓨터 네트워크와 같은 원거리 통신 네트워크를 통하여 외부 전자 장치와 통신할 수 있다. 상술한 여러 종류의 통신 회로(430)는 하나의 칩으로 구현되거나 또는 각각 별도의 칩으로 구현될 수 있다. The communication circuit 430 establishes a wired or wireless communication connection between the node and an external electronic device (eg, the controller 202, the gateway 203, or the service servers 205 and 206 of FIG. 2), and through the established connection. It can support performing communication. According to an embodiment, the communication circuit 430 is a wireless communication circuit (eg, a cellular communication circuit, a short-range wireless communication circuit, or a global navigation satellite system (GNSS) communication circuit) or a wired communication circuit (eg, a local area network (LAN) ) communication circuit, or power line communication circuit), and using the corresponding communication circuit among them, a short-distance communication network such as Bluetooth, WiFi direct or IrDA (infrared data association) or a cellular network, Internet, or long-distance communication such as a computer network It can communicate with an external electronic device through a network. The above-described various types of communication circuits 430 may be implemented as a single chip or as separate chips.

디스플레이(440)는, 컨텐츠, 데이터, 또는 신호를 출력할 수 있다. 다양한 실시 예들에서, 디스플레이(440)는 프로세서(410)에 의해 가공된 이미지 데이터를 표시할 수 있다. 실시예들에 따라, 디스플레이(440)는 터치 입력 등을 수신할 수 있는 복수의 터치 센서들(미도시)과 결합됨으로써, 일체형의 터치 스크린(touch screen)으로 구성될(configured with) 수도 있다. 디스플레이(440)가 터치 스크린으로 구성되는 경우, 복수의 터치 센서들은, 디스플레이(440) 위에 배치되거나, 디스플레이(440) 아래에 배치될 수 있다.The display 440 may output content, data, or a signal. In various embodiments, the display 440 may display image data processed by the processor 410 . According to embodiments, the display 440 may be configured with an integrated touch screen by being combined with a plurality of touch sensors (not shown) capable of receiving a touch input or the like. When the display 440 is configured as a touch screen, a plurality of touch sensors may be disposed above the display 440 or below the display 440 .

한편, 일 실시예에 따른 서버(예: 컨트롤러)는 프로세서(410), 메모리(420), 및 통신 회로(430)를 포함할 수 있다. 서버에 포함되는 프로세서(410), 메모리(420) 및 통신 회로(430)는 상술한 프로세서(410), 메모리(420) 및 통신 회로(430)와 실질적으로 동일할 수 있다.Meanwhile, a server (eg, a controller) according to an embodiment may include a processor 410 , a memory 420 , and a communication circuit 430 . The processor 410 , the memory 420 , and the communication circuit 430 included in the server may be substantially the same as the above-described processor 410 , the memory 420 , and the communication circuit 430 .

도 5는 다양한 실시예들에 따라 데이터 패킷의 전송을 제어하는 동작을 설명한다.5 illustrates an operation of controlling transmission of a data packet according to various embodiments.

도 5를 참조하면, 접속 제어 애플리케이션(211)은 노드(201)에 포함된 제1 타겟 애플리케이션(212)으로부터 제1 서비스 서버(205)에 대한 네트워크 접속 요청을 감지하고, 노드(201)또는 접속 제어 애플리케이션(211)이 컨트롤러(202)와 접속된 상태인지 여부를 결정할 수 있다. 노드(201) 또는 접속 제어 애플리케이션(211)이 컨트롤러(202)와 접속된 상태가 아닌 경우, 접속 제어 애플리케이션(211)은 운영체제가 포함되는 커널(kernel)이나 네트워크 드라이버에서 데이터 패킷의 전송을 차단할 수 있다. 접속 제어 애플리케이션(211)을 통해, 노드(201)는 OSI 계층 중 응용 계층에서 악의적인 애플리케이션의 접속을 사전에 차단할 수 있다.Referring to FIG. 5 , the access control application 211 detects a network access request to the first service server 205 from the first target application 212 included in the node 201 , and connects to the node 201 or the node 201 . It may be determined whether the control application 211 is connected to the controller 202 . When the node 201 or the access control application 211 is not connected to the controller 202, the access control application 211 may block transmission of data packets from a kernel or a network driver including the operating system. have. Through the access control application 211 , the node 201 may block access of a malicious application in an application layer of the OSI layer in advance.

일 실시예에서, 접속 제어 애플리케이션(211)이 컨트롤러(202)와 접속된 상태가 아니거나 또는 접속 제어 애플리케이션(211) 또는 제1 타겟 애플리케이션(212)과 게이트웨이(203) 간 보안 세션이 생성되지 않은 경우, 접속 제어 애플리케이션(211)으로부터 전송되는 데이터 패킷은 게이트웨이(203)에 의하여 차단되며 접속 제어 애플리케이션(211)은 컨트롤러(202)로 접속을 요청할 수 있을 뿐이다. In one embodiment, the access control application 211 is not connected to the controller 202 or a secure session has not been created between the access control application 211 or the first target application 212 and the gateway 203 . In this case, the data packet transmitted from the access control application 211 is blocked by the gateway 203 , and the access control application 211 can only request a connection to the controller 202 .

일 실시예에서, 노드(201)에 접속 제어 애플리케이션(211)이 설치되지 않거나 악성 애플리케이션이 접속 제어 애플리케이션(211)의 제어를 우회하는 경우, 비인가된 데이터 패킷이 노드(201)로부터 전송될 수 있다. 이 경우, 네트워크의 경계에 존재하는 게이트웨이(203)는 인가되지 않은 보안 세션으로 수신되는 데이터 패킷 및 데이터 플로우가 존재하지 않는 데이터 패킷을 차단하므로 노드(201)로부터 송신된 데이터 패킷(예: TCP 세션 생성을 위한 데이터 패킷)은 제1 서비스 서버(205)에 도달하지 않을 수 있다. 다시 말해, 노드(201)는 제1 서비스 서버(205)로부터 격리될 수 있다.In one embodiment, if the access control application 211 is not installed on the node 201 or a malicious application bypasses the control of the access control application 211 , an unauthorized data packet may be transmitted from the node 201 . . In this case, the gateway 203 existing at the boundary of the network blocks data packets received with unauthorized secure sessions and data packets with no data flow, so data packets transmitted from the node 201 (eg, TCP session) are blocked. data packets for generation) may not reach the first service server 205 . In other words, the node 201 may be isolated from the first service server 205 .

일 실시예에서, 접속 제어 애플리케이션(211)은 노드(201)에 포함된 제2 타겟 애플리케이션(213)으로부터 제2 서비스 서버(206)에 대한 네트워크 접속 요청을 감지하고, 노드(201)또는 접속 제어 애플리케이션(211)이 컨트롤러(202)와 접속된 상태인지 여부를 결정할 수 있다. 노드(201) 또는 접속 제어 애플리케이션(211)이 컨트롤러(202)와 접속된 상태가 아닌 경우, 접속 제어 애플리케이션(211)은 운영체제가 포함되는 커널(kernel)이나 네트워크 드라이버에서 데이터 패킷의 전송을 차단할 수 있다.In one embodiment, the access control application 211 detects a network access request to the second service server 206 from the second target application 213 included in the node 201, and controls the node 201 or the access control. It may be determined whether the application 211 is connected to the controller 202 . When the node 201 or the access control application 211 is not connected to the controller 202, the access control application 211 may block transmission of data packets from a kernel or a network driver including the operating system. have.

일 실시예에서, 접속 제어 애플리케이션(211)이 컨트롤러(202)와 접속된 상태가 아니거나 또는 접속 제어 애플리케이션(211) 또는 제2 타겟 애플리케이션(213)과 제2 서비스 서버(206) 간 보안 세션이 생성되지 않은 경우, 접속 제어 애플리케이션(211)으로부터 전송되는 데이터 패킷은 제2 서비스 서버(206)에 의하여 차단되며 접속 제어 애플리케이션(211)은 컨트롤러(202)로 접속을 요청할 수 있을 뿐이다. In one embodiment, the access control application 211 is not connected to the controller 202 or a secure session between the access control application 211 or the second target application 213 and the second service server 206 is If not generated, the data packet transmitted from the access control application 211 is blocked by the second service server 206 , and the access control application 211 can only request a connection to the controller 202 .

도 6은 다양한 실시예들에 따른 컨트롤러 접속을 위한 신호 흐름도를 나타낸다. 6 illustrates a signal flow diagram for controller connection according to various embodiments.

노드(201)가 네트워크를 접속 또는 수신하기 위해서는 컨트롤러(202)에 의하여 인가될 필요가 있으므로, 노드(201)의 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 제어 플로우의 생성을 요청함으로써 노드(201)의 컨트롤러 접속을 시도할 수 있다. Since the node 201 needs to be authorized by the controller 202 to access or receive the network, the access control application 211 of the node 201 requests the controller 202 to generate a control flow to the node ( 201) can try to connect to the controller.

실시예에 따르면, 도 6의 게이트웨이 또는 서버(210)는 도 2의 게이트웨이(203) 및 서비스 서버(205, 206)를 포함할 수 있다. According to an embodiment, the gateway or server 210 of FIG. 6 may include the gateway 203 and service servers 205 and 206 of FIG. 2 .

도 6을 참조하면, 노드(201)는 컨트롤러 접속 이벤트를 감지할 수 있다. 예를 들어, 노드(201) 내에서 접속 제어 애플리케이션(211)이 설치 및 실행되면, 노드(201)는 컨트롤러(202)에 대한 접속이 요청됨을 감지할 수 있다. Referring to FIG. 6 , the node 201 may detect a controller access event. For example, when the access control application 211 is installed and executed in the node 201 , the node 201 may detect that a connection to the controller 202 is requested.

동작 605에서, 노드(201)는 컨트롤러(202)에게 컨트롤러 접속을 요청할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 접속 제어 애플리케이션(211)의 식별 정보를 컨트롤러(202)에게 전송할 수 있다. 추가적으로, 접속 제어 애플리케이션(211)은 노드(201)의 식별 정보(예: 단말 ID, IP 주소, MAC 주소), 종류, 위치, 환경, 노드(201)가 속하는 네트워크의 식별 정보, 및/또는 네트워크 시스템에 의하여 자체적으로 생성된 임의의 식별 정보를 더 전송할 수 있다. In operation 605 , the node 201 may request a controller connection from the controller 202 . For example, the access control application 211 may transmit identification information of the access control application 211 to the controller 202 . Additionally, the access control application 211 includes identification information of the node 201 (eg, terminal ID, IP address, MAC address), type, location, environment, identification information of the network to which the node 201 belongs, and/or network Any identification information generated by the system itself may be further transmitted.

동작 610에서, 컨트롤러(202)는 컨트롤러 접속을 요청한 대상(예: 접속 제어 애플리케이션(211) 또는 노드(201))의 접속 가능 여부를 확인(identify)할 수 있다. 일 실시예에 따르면, 컨트롤러(202)는 노드(201)로부터 수신된 정보가 접속 정책 데이터 베이스(311)에 포함되는지 여부 또는, 노드(201), 노드(201)가 속한 네트워크, 및/또는 접속 제어 애플리케이션(211)의 식별 정보가 블랙리스트 데이터 베이스(314)에 포함되는지 여부 중 적어도 하나에 기반하여 컨트롤러 접속을 요청한 대상의 접속 가능 여부를 확인할 수 있다. In operation 610 , the controller 202 may identify whether a target (eg, the access control application 211 or the node 201 ) requesting access to the controller is accessible. According to an embodiment, the controller 202 determines whether the information received from the node 201 is included in the access policy database 311 or whether the node 201, the network to which the node 201 belongs, and/or access Based on at least one of whether the identification information of the control application 211 is included in the blacklist database 314, it is possible to check whether a target that has requested access to the controller is accessible.

접속 가능하다면, 동작 615에서, 컨트롤러(202)는 노드(201)(또는 접속 제어 애플리케이션(211))와 컨트롤러(202) 간 제어 플로우를 생성할 수 있다. 이 경우, 컨트롤러(202)는 난수 형태로 제어 플로우 식별 정보를 생성하고, 노드(201), 노드(201)가 속한 네트워크, 또는 접속 제어 애플리케이션(211) 중 적어도 하나의 식별 정보를 제어 플로우 테이블(315)에 저장할 수 있다. 제어 플로우 테이블(315)에 저장된 정보는 노드(201)의 사용자 인증, 노드(201)의 정보 업데이트, 노드(201)의 네트워크 접속을 위한 정책 확인, 및/또는 유효성 검사에 이용될 수 있다. If it is reachable, in operation 615 , the controller 202 may create a control flow between the node 201 (or the access control application 211 ) and the controller 202 . In this case, the controller 202 generates control flow identification information in the form of a random number, and stores identification information of at least one of the node 201 , the network to which the node 201 belongs, or the access control application 211 in the control flow table ( 315) can be stored. The information stored in the control flow table 315 may be used for user authentication of the node 201 , updating information of the node 201 , checking a policy for network access of the node 201 , and/or validation.

동작 620에서, 컨트롤러(202)는 식별된 정보(예: 노드(201), 노드(201)가 속하는 출발지 네트워크 정보)와 대응되는 접속 정책 데이터 베이스(311) 및 보안 세션 정책 데이터 베이스(312)에서 접속 가능한 애플리케이션의 화이트리스트 정보를 생성할 수 있다. 일 실시예에서, 컨트롤러(202)는 동작 625에서 애플리케이션 화이트 리스트를 접속 제어 애플리케이션(211)에게 전송할 수 있다. In operation 620, the controller 202 uses the identified information (eg, node 201, source network information to which node 201 belongs) and corresponding access policy database 311 and secure session policy database 312 in the Whitelist information of accessible applications can be created. In one embodiment, the controller 202 may send the application white list to the access control application 211 in operation 625 .

동작 625에서, 컨트롤러(202)는 컨트롤러 접속 요청에 대한 응답으로 제어 플로우 식별 정보를 노드(201)에게 전송할 수 있다. 실시예에 따라 컨트롤러 접속을 요청한 대상이 접속 불가능하거나 블랙리스트에 포함된 경우, 컨트롤러(202)는 제어 플로우를 생성하지 않고 동작 625에서 접속 불가 정보를 전송할 수 있다. 일 실시예에서, 컨트롤러(202)는, 동작 620의 수행을 통하여 생성된 애플리케이션 화이트 리스트를 접속 제어 애플리케이션(211)에게 전송할 수 있다.In operation 625 , the controller 202 may transmit control flow identification information to the node 201 in response to the controller connection request. According to an embodiment, when a target requesting controller access is unavailable or included in a blacklist, the controller 202 may transmit access unavailable information in operation 625 without generating a control flow. In an embodiment, the controller 202 may transmit the application white list generated by performing operation 620 to the access control application 211 .

동작 630에서, 접속 제어 애플리케이션(211)은 애플리케이션에 대한 검사를 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 컨트롤러(202)에서 수신된 접속 가능한 애플리케이션 화이트 리스트를 기초로 애플리케이션에 대한 검사를 수행할 수 있다. 접속 제어 애플리케이션(211)은 접속 가능한 애플리케이션 정보를 기초로 애플리케이션이 노드(201)에 존재하는지(설치 되어있는지) 여부를 확인할 수 있고, 존재하는 애플리케이션의 경우 유효성 검사 정책에 따라서 무결성 및 안정성 여부 검사(애플리케이션 위, 변조 여부 검사, 코드 사이닝 검사, 핑거 프린트 검사)를 수행할 수 있다. In operation 630, the access control application 211 may perform a check on the application. For example, the access control application 211 may perform an application check based on a white list of accessible applications received from the controller 202 . The access control application 211 can check whether the application exists (installed) in the node 201 based on the accessible application information, and in the case of an existing application, check whether the integrity and stability according to the validation policy ( On top of the application, tampering checks, code signing checks, fingerprint checks) can be performed.

동작 635에서, 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 애플리케이션 검사 결과를 전송할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 존재하는 애플리케이션의 정보 및 유효성 검사의 결과를 컨트롤러(202)에게 전송할 수 있다.In operation 635 , the access control application 211 may transmit an application check result to the controller 202 . For example, the access control application 211 may transmit information of an existing application and a result of the validation check to the controller 202 .

동작 640에서, 컨트롤러(202)는 수신된 애플리케이션 정보를 기반으로 애플리케이션이 유효한지 여부를 검사할 수 있다. 유효한 애플리케이션인 경우, 컨트롤러(202)는 네트워크에 연결된 노드(201)의 접속을 허용하기 위해 접속 정책 데이터 베이스(311) 및 보안 세션 정책 데이터 베이스(312)에서 노드(201)가 위치한 게이트웨이 또는 서비스 서버(210)를 확인할 수 있다. 또한 컨트롤러(202)는 노드(201)가 네트워크 접속 요청 절차 없이 데이터 패킷을 전송할 수 있도록 출발지 IP, 도착지 IP 및 포트 정보에 기반하여 데이터 플로우를 생성할 수 있다. In operation 640 , the controller 202 may check whether the application is valid based on the received application information. If it is a valid application, the controller 202 is a gateway or service server where the node 201 is located in the access policy database 311 and the secure session policy database 312 to allow access of the node 201 connected to the network. (210) can be confirmed. Also, the controller 202 may generate a data flow based on the source IP, destination IP, and port information so that the node 201 can transmit a data packet without a network access request procedure.

컨트롤러(202)는 생성된 데이터 플로우를 게이트웨이 또는 서버(210) 및 접속 제어 애플리케이션(211)에게 전송할 수 있다(동작 645, 650).The controller 202 may transmit the generated data flow to the gateway or server 210 and the access control application 211 (operations 645 and 650 ).

동작 655에서, 접속 제어 애플리케이션(211)은 수신된 응답에 따른 결과값을 처리할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 수신된 제어 플로우 식별 정보를 저장하고 컨트롤러 접속이 완료됨을 나타내는 사용자 인터페이스 화면을 사용자에게 표시할 수 있다. 컨트롤러 접속이 완료되면, 노드(201)의 목적지 네트워크에 대한 네트워크 접속 요청은 컨트롤러(202)에 의해 제어될 수 있다.In operation 655, the access control application 211 may process a result value according to the received response. For example, the access control application 211 may store the received control flow identification information and display a user interface screen indicating that the controller connection is complete to the user. When the controller connection is completed, the network connection request of the node 201 to the destination network may be controlled by the controller 202 .

다른 실시예에 따라, 컨트롤러(202)는 노드(201)가 접속 불가능한 것으로 결정할 수 있다. 예를 들어, 노드(201) 및/또는 노드(201)가 속한 네트워크의 식별 정보가 블랙리스트 데이터 베이스에 포함되면 컨트롤러(202)는 노드(201)가 접속 불가능한 것으로 결정할 수 있다. 이 경우, 컨트롤러(202)는 동작 615에서 제어 플로우를 생성하지 않고, 동작 625에서 컨트롤러 접속이 불가능함을 나타내는 응답을 전송할 수 있다. 또한, 이 경우 동작 630 내지 동작 650은 수행되지 않을 수 있다. 실시예에 따라서, 컨트롤러 접속의 재시도가 필요로 한 경우 접속 제어 애플리케이션(211)은 다시 동작 605를 수행할 수 있다. According to another embodiment, the controller 202 may determine that the node 201 is unreachable. For example, when 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 not accessible. In this case, the controller 202 may transmit a response indicating that the controller connection is impossible in operation 625 without generating a control flow in operation 615 . Also, in this case, operations 630 to 650 may not be performed. According to an embodiment, when a retry of the controller connection is required, the access control application 211 may perform operation 605 again.

또한, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 수신된 데이터 플로우가 존재하는 경우 노드(201)의 데이터 플로우를 갱신하여, 네트워크 접속 시 사전에 허용된 데이터 플로우에 기반하여 데이터 패킷을 전송할 수 있도록 데이터 플로우를 관리할 수 있다. In addition, when the data flow received from the controller 202 exists, the access control application 211 updates the data flow of the node 201 and transmits the data packet based on the data flow allowed in advance when connecting to the network. data flow can be managed.

실시예에 따르면 애플리케이션의 검사가 필요하지 않은 것으로 판단된 경우 동작 630 내지 동작 650은 수행되지 않을 수 있다. According to an embodiment, when it is determined that the application inspection is not necessary, operations 630 to 650 may not be performed.

도 7은 다양한 실시예들에 따른 사용자 인증을 위한 신호 흐름도를 도시한다.7 illustrates a signal flow diagram for user authentication according to various embodiments.

노드(201)가 목적지 네트워크에 대한 상세한 접속 권한을 부여 받기 위해서, 노드(201)의 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 노드(201)의 사용자에 대한 인증을 받을 수 있다. In order for the node 201 to be granted detailed access to the destination network, the access control application 211 of the node 201 may receive authentication for the user of the node 201 from the controller 202 .

도 7을 참조하면, 노드(201)는 사용자 인증을 위한 입력을 수신할 수 있다. 사용자 인증을 위한 입력은 예를 들어, 사용자 ID 및 비밀번호를 입력하는 사용자 입력일 수 있다. 다른 예를 들어, 사용자 인증을 위한 입력은 보다 강화된 인증을 위한 사용자 입력(예: 생체 정보)일 수 있다. 이 경우, 동작 705에서 노드(201)의 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 사용자 인증을 요청할 수 있다. 노드(201)와 컨트롤러(202) 간 제어 플로우가 이미 생성된 상태이면, 접속 제어 애플리케이션(211)은 사용자 인증을 위한 입력 정보를 제어 플로우 식별 정보와 함께 전송할 수 있다.Referring to FIG. 7 , the node 201 may receive an input for user authentication. The input for user authentication may be, for example, a user input inputting a user ID and password. As another example, the input for user authentication may be a user input (eg, biometric information) for more enhanced authentication. In this case, in operation 705 , the access control application 211 of the node 201 may request user authentication from the controller 202 . If the control flow between the node 201 and the controller 202 has already been created, the access control application 211 may transmit input information for user authentication together with the control flow identification information.

동작 710에서, 컨트롤러(202)는 노드(201)로부터 수신된 정보에 기반하여 사용자를 인증할 수 있다. 예를 들어, 컨트롤러(202)는 수신된 정보에 포함된 사용자 ID, 비밀번호, 및/또는 강화된 인증 정보와, 컨트롤러(202)의 메모리에 포함된 데이터 베이스(예: 도 3의 접속 정책 데이터 베이스(311) 또는 블랙리스트 데이터 베이스(314))에 기반하여 사용자가 접속 정책에 따라 접속 가능한지 여부 및 사용자가 블랙리스트에 포함되는지 여부를 결정할 수 있다. In operation 710 , the controller 202 may authenticate the user based on the information received from the node 201 . For example, the controller 202 may include a user ID, password, and/or enhanced authentication information included in the received information, and a database (eg, the access policy database of FIG. 3 ) included in the memory of the controller 202 . Based on 311 or the blacklist database 314), it is possible to determine whether the user can access according to the access policy and whether the user is included in the blacklist.

사용자가 인증되면, 동작 715에서, 컨트롤러(202)는 제어 플로우의 식별 정보에 사용자의 식별 정보(예: 사용자 ID)를 추가할 수 있다. 추가된 사용자 식별 정보는 인증된 사용자의 컨트롤러 접속 또는 네트워크 접속에 이용될 수 있다.If the user is authenticated, in operation 715 , the controller 202 may add user identification information (eg, user ID) to identification information of the control flow. The added user identification information may be used for an authenticated user's controller access or network access.

컨트롤러(202)는 동작 720에서 접속 정책 데이터 베이스(311) 또는 보안 세션 정책 데이터베이스(312)에 기반하여 접속 가능한 애플리케이션 정보를 생성할 수 있다. 예를 들어, 접속 가능한 애플리케이션 정보는 접속 정책을 기초로 생성된 애플리케이션 화이트리스트일 수 있다. The controller 202 may generate accessable application information based on the access policy database 311 or the secure session policy database 312 in operation 720 . For example, the accessible application information may be an application whitelist generated based on an access policy.

동작 725에서, 컨트롤러(202)는 사용자 인증 요청에 대한 응답으로써 사용자가 인증됨을 나타내는 정보를 노드(201)에게 전송할 수 있다. 또한, 컨트롤러(202)는 접속 가능한 애플리케이션 정보를 접속 제어 애플리케이션(211)에게 전달할 수 있다. In operation 725 , the controller 202 may transmit information indicating that the user is authenticated to the node 201 in response to the user authentication request. In addition, the controller 202 may transmit connectable application information to the access control application 211 .

동작 730에서, 접속 제어 애플리케이션(211)은 애플리케이션에 대한 검사를 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 컨트롤러(202)에서 수신된 접속 가능한 애플리케이션 화이트 리스트를 기초로 애플리케이션에 대한 검사를 수행할 수 있다. 접속 제어 애플리케이션(211)은 접속 가능한 애플리케이션 정보를 기초로 애플리케이션이 노드(201)에 존재하는지(설치 되어있는지) 여부를 확인할 수 있고, 존재하는 애플리케이션의 경우 유효성 검사 정책에 따라서 무결성 및 안정성 여부 검사(애플리케이션 위, 변조 여부 검사, 코드 사이닝 검사, 핑거 프린트 검사)를 수행할 수 있다. In operation 730, the access control application 211 may perform an application check. For example, the access control application 211 may perform an application check based on a white list of accessible applications received from the controller 202 . The access control application 211 can check whether the application exists (installed) in the node 201 based on the accessible application information, and in the case of an existing application, check whether the integrity and stability according to the validation policy ( On top of the application, tampering checks, code signing checks, fingerprint checks) can be performed.

동작 735에서, 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 애플리케이션 검사 결과를 전송할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 존재하는 애플리케이션의 정보 및 유효성 검사의 결과를 컨트롤러(202)에게 전송할 수 있다.In operation 735 , the access control application 211 may transmit an application check result to the controller 202 . For example, the access control application 211 may transmit information of an existing application and a result of the validation check to the controller 202 .

동작 740에서, 컨트롤러(202)는 수신된 애플리케이션 정보를 기반으로 애플리케이션이 유효한지 여부를 검사할 수 있다. 유효한 애플리케이션인 경우, 컨트롤러(202)는 네트워크에 연결된 노드(201)의 접속을 허용하기 위해 접속 정책 데이터 베이스(311) 및 보안 세션 정책 데이터 베이스(312)에서 노드(201)가 위치한 게이트웨이 또는 서비스 서버(210)를 확인할 수 있다. 또한 컨트롤러(202)는 노드(201)가 네트워크 접속 요청 절차 없이 데이터 패킷을 전송할 수 있도록 출발지 IP, 도착지 IP 및 포트 정보에 기반하여 데이터 플로우를 생성할 수 있다. In operation 740 , the controller 202 may check whether the application is valid based on the received application information. If it is a valid application, the controller 202 is a gateway or service server where the node 201 is located in the access policy database 311 and the secure session policy database 312 to allow access of the node 201 connected to the network. (210) can be confirmed. Also, the controller 202 may generate a data flow based on the source IP, destination IP, and port information so that the node 201 can transmit the data packet without a network access request procedure.

컨트롤러(202)는 생성된 데이터 플로우를 게이트웨이 또는 서버(210) 및 접속 제어 애플리케이션(211)에게 전송할 수 있다(동작 745, 750).The controller 202 may transmit the generated data flow to the gateway or server 210 and the access control application 211 (operations 745 and 750).

동작 755에서, 접속 제어 애플리케이션(211)은 수신된 응답에 따른 결과값을 처리할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 수신된 제어 플로우 식별 정보를 저장하고 사용자 인증이 완료됨을 나타내는 사용자 인터페이스 화면을 사용자에게 표시할 수 있다. 사용자 인증이 완료되면, 노드(201)의 목적지 네트워크에 대한 네트워크 접속 요청은 컨트롤러(202)에 의해 제어될 수 있다.In operation 755, the access control application 211 may process a result value according to the received response. For example, the access control application 211 may store the received control flow identification information and display a user interface screen indicating that user authentication is complete to the user. When the user authentication is completed, the network connection request of the node 201 to the destination network may be controlled by the controller 202 .

다른 실시예에 따라, 컨트롤러(202)는 노드(201)의 사용자 인증이 불가능한 것으로 결정할 수 있다. 예를 들어, 노드(201) 및/또는 노드(201)가 속한 네트워크의 식별 정보가 블랙리스트 데이터 베이스에 포함되면 컨트롤러(202)는 노드(201)가 접속 불가능 및 사용자 인증이 불가능한 것으로 결정할 수 있다. 이 경우, 컨트롤러(202)는 동작 715에서 사용자 식별 정보를 반영하지 않고, 동작 725에서 컨트롤러 접속이 불가능함을 나타내는 응답을 전송할 수 있다. 또한, 이 경우 동작 730 내지 동작 750은 수행되지 않을 수 있다. According to another embodiment, the controller 202 may determine that the user authentication of the node 201 is impossible. For example, when 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 and user authentication is impossible. . In this case, the controller 202 may transmit a response indicating that access to the controller is impossible in operation 725 without reflecting the user identification information in operation 715 . Also, in this case, operations 730 to 750 may not be performed.

또한, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 수신된 데이터 플로우가 존재하는 경우 노드(201)의 데이터 플로우를 갱신하여, 네트워크 접속 시 사전에 허용된 데이터 플로우에 기반하여 데이터 패킷을 전송할 수 있도록 데이터 플로우를 관리할 수 있다. In addition, when the data flow received from the controller 202 exists, the access control application 211 updates the data flow of the node 201 and transmits the data packet based on the data flow allowed in advance when connecting to the network. data flow can be managed.

실시예에 따르면, 애플리케이션 검사가 필요하지 않은 경우 동작 730 내지 동작 750은 수행되지 않을 수 있다.According to an embodiment, if the application check is not required, operations 730 to 750 may not be performed.

도 8은 다양한 실시예들에 따른 네트워크 접속을 위한 신호 흐름도를 도시한다. 8 illustrates a signal flow diagram for a network connection according to various embodiments.

노드(201)가 컨트롤러(202)로부터 인가된 이후에, 노드(201)는 노드(201)의 접속 제어 애플리케이션(211)을 통해 노드(201) 내에 저장된 다른 애플리케이션들의 네트워크 접속을 제어함으로서 신뢰된 데이터 전송을 보장할 수 있다.After the node 201 is authorized from the controller 202, the node 201 controls the network connection of other applications stored in the node 201 through the connection control application 211 of the node 201, thereby providing trusted data. transmission can be guaranteed.

동작 805에서, 접속 제어 애플리케이션(211)은 노드(201) 내에 저장된 다른 애플리케이션(예: 도 2의 타겟 애플리케이션(212, 213))의 네트워크 접속 이벤트를 감지할 수 있다. In operation 805 , the access control application 211 may detect a network access event of another application stored in the node 201 (eg, the target applications 212 and 213 of FIG. 2 ).

동작 810에서, 접속 제어 애플리케이션(211)은 네트워크 접속 요청한 애플리케이션의 식별 정보, 목적지 네트워크 식별 정보 및 포트 정보에 대응되는 데이터 플로우의 존재를 확인할 수 있다. 실시예에 따라서, 데이터 플로우가 존재하지만 유효하지 않은 경우, 접속 제어 애플리케이션(211)은 데이터 패킷을 드랍할 수 있다. 다른 실시예에 따라서, 데이터 플로우가 존재하는 경우, 접속 제어 애플리케이션(211)은 데이터 플로우에 기반하여 데이터 패킷을 전송할 수 있다. 실시예에 따르면 노드(201)의 접속 제어 애플리케이션(211)은 동작 810을 수행하지 않고 동작 815에서 네트워크 접속 요청을 수행할 수도 있다. In operation 810, the access control application 211 may check the existence of a data flow corresponding to the identification information of the application requesting network access, the destination network identification information, and the port information. Depending on the embodiment, if a data flow exists but is not valid, the access control application 211 may drop the data packet. According to another embodiment, when a data flow exists, the access control application 211 may transmit a data packet based on the data flow. According to an embodiment, the access control application 211 of the node 201 may perform a network access request in operation 815 without performing operation 810 .

데이터 플로우가 존재하지 않거나 인증 시각이 만료되어 갱신이 필요한 경우 등 데이터 플로우를 갱신해야 하는 경우, 동작 815에서, 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 네트워크 접속을 요청할 수 있다. 예를 들어, 네트워크 접속 요청은 제어 플로우 식별 정보, 목적지 네트워크의 식별 정보 및 포트 정보를 포함할 수 있다.When the data flow needs to be updated, such as when the data flow does not exist or the authentication time has expired and an update is required, in operation 815 , the access control application 211 may request a network connection from the controller 202 . For example, the network access request may include control flow identification information, identification information of a destination network, and port information.

동작 820에서, 컨트롤러(202)는 제어 플로우 식별 정보를 기반으로 식별된 정보(예: 노드, 사용자, 출발지 네트워크 식별 정보)와 대응되는 접속 정책에서, 접속 요청한 식별 정보(예: 목적지 네트워크의 식별 정보 및 포트 정보)의 포함 여부 및 목적지 네트워크의 접속 가능 여부를 확인할 수 있다. 실시예에 따르면, 컨트롤러(202)는 타겟 애플리케이션이 게이트웨이 또는 서비스 서버(210)에 접속 가능한지 여부를 확인할 수 있다. 실시예에 따라서, 컨트롤러(202)는 네트워크 접속이 불가능한 경우 노드(201)의 접속 제어 애플리케이션(211)에게 접속 불가 결과를 전송할 수 있다(동작 835).In operation 820, the controller 202 performs access-requested identification information (eg, identification information of a destination network) in an access policy corresponding to information identified based on the control flow identification information (eg, node, user, and source network identification information). and port information) and whether the destination network can be accessed. According to an embodiment, the controller 202 may check whether the target application can connect to the gateway or the service server 210 . According to an embodiment, when the network connection is impossible, the controller 202 may transmit a connection failure result to the access control application 211 of the node 201 (operation 835 ).

접속 가능한 경우, 동작 825에서, 컨트롤러(202)는 보안 세션 정책에 기반하여 노드(201)와 게이트웨이 또는 서비스 서버(210) 간 보안 세션 생성이 가능한지 여부를 확인할 수 있다. If access is possible, in operation 825 , the controller 202 may determine whether a secure session can be created between the node 201 and the gateway or service server 210 based on the secure session policy.

보안 세션 생성이 가능한 경우, 컨트롤러(202)는 데이터 플로우 테이블에서 목적지 네트워크의 식별 정보 및 포트 정보에 대응되는 유효한 데이터 플로우가 존재하는지 확인할 수 있다. 실시예에 따르면, 데이터 플로우 테이블에 유효한 데이터 플로우가 존재하는 경우 컨트롤러(202)는 해당 데이터 플로우를 게이트웨이 또는 서버(210) 및 접속 제어 애플리케이션에게 전송할 수 있다(동작 830, 동작 835). 다른 실시예에 따르면, 유효한 데이터 플로우가 존재하지 않는 경우, 타겟 애플리케이션 또는 접속 제어 애플리케이션(211)이 게이트웨이 또는 서비스 서버(210)와 보안 세션을 생성할 수 있도록 출발지 IP, 도착지 IP 및 포트 정보에 기반하여 데이터 플로우를 생성할 수 있다. 이 경우, 컨트롤러(202)는 생성된 데이터 플로우를 게이트웨이 또는 서버(210) 및 접속 제어 애플리케이션에게 전송할 수 있다(동작 830, 동작 835). 다른 실시예에 따르면, 네트워크 접속이 불가능하거나 보안 세션을 생성하는 것이 불가능한 경우, 컨트롤러(202)는 동작 835에서, 접속 제어 애플리케이션에게 네트워크 접속 불가 결과를 전송할 수 있다. When secure session creation is possible, the controller 202 may check whether a valid data flow corresponding to the identification information and port information of the destination network exists in the data flow table. According to an embodiment, when a valid data flow exists in the data flow table, the controller 202 may transmit the corresponding data flow to the gateway or server 210 and the access control application (operations 830 and 835 ). According to another embodiment, when a valid data flow does not exist, the target application or access control application 211 can create a secure session with the gateway or service server 210 based on the source IP, destination IP and port information. to create a data flow. In this case, the controller 202 may transmit the generated data flow to the gateway or server 210 and the access control application (operations 830 and 835 ). According to another embodiment, if the network connection is impossible or it is impossible to create a secure session, the controller 202 may transmit a network connection unavailable result to the access control application in operation 835 .

동작 840에서, 노드(201)의 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 수신된 응답에 대한 결과값을 처리할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 네트워크 접속 불가 결과를 수신한 경우, 타겟 애플리케이션이 전송하고자 하는 데이터 패킷을 드랍할 수 있다. 다른 예를 들어, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 데이터 플로우가 수신된 경우, 수신된 데이터 플로우에 기반하여 데이터 패킷을 전송할 수 있다.In operation 840 , the access control application 211 of the node 201 may process a result value for the response received from the controller 202 . For example, the access control application 211 may drop a data packet to be transmitted by the target application when receiving a result of network connection failure from the controller 202 . As another example, when a data flow is received from the controller 202 , the access control application 211 may transmit a data packet based on the received data flow.

일 실시예에서, 동작 810을 수행한 후 접속 제어 애플리케이션(211)은 유효성 검사 정책에 따라서 접속 애플리케이션에 대한 유효성 검사를 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 접속 애플리케이션의 무결성 및 안정성 여부 검사(애플리케이션 위조, 변조 여부 검사, 코드 사이닝 검사 및 핑거 프린트 검사 등)를 더 수행할 수 있다. 접속 제어 애플리케이션(211)은 유효성 검사 결과가 성공인 경우 동작 815를 수행할 수 있다.In an embodiment, after performing operation 810, the access control application 211 may perform a validity check on the access application according to the validity check policy. For example, the access control application 211 may further perform integrity and stability check (application forgery, tampering check, code signing check, fingerprint check, etc.) of the access application. The access control application 211 may perform operation 815 when the validation result is successful.

도 9는 다양한 실시예들에 따른 데이터 패킷 전송을 제어하기 위한 신호 흐름도를 도시한다. 9 illustrates a signal flow diagram for controlling data packet transmission in accordance with various embodiments.

노드(201)의 접속 제어 애플리케이션(211)은 데이터 패킷의 전송이 감지되는 경우, 해당 데이터 패킷이 보안 세션 기반 데이터 패킷인지 여부에 기초하여 데이터 패킷의 전송을 제어함으로서 신뢰된 데이터 패킷 전송을 제공할 수 있다. When transmission of a data packet is detected, the access control application 211 of the node 201 controls the transmission of the data packet based on whether the data packet is a secure session based data packet, thereby providing reliable data packet transmission. can

도 9를 참조하면, 동작 905에서, 접속 제어 애플리케이션(211)은 데이터 패킷 전송 이벤트를 감지할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 도 8에 도시된 동작들을 통해 네트워크 접속이 허용된 이후에 노드(201)의 타겟 애플리케이션(예: 도 2의 타겟 애플리케이션(212, 213))이 데이터 패킷을 전송하는 동작을 감지할 수 있다. Referring to FIG. 9 , in operation 905 , the access control application 211 may detect a data packet transmission event. For example, in the connection control application 211 , the target application of the node 201 (eg, the target applications 212 and 213 of FIG. 2 ) transmits the data packet after the network connection is allowed through the operations shown in FIG. 8 . It is possible to detect the motion of transmitting

실시예에 따르면, 접속 제어 애플리케이션(211)은 데이터 패킷을 전송하는 타겟 애플리케이션 및 데이터 패킷에 포함된 정보(예: 출발지 식별 정보, 도착지 식별 정보, 포트 정보 등)를 식별할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 식별된 정보에 대응되는 데이터 플로우의 존재 여부를 확인할 수 있고, 데이터 플로우가 존재하는 경우 동작 910을 수행할 수 있다. 다른 예를 들어, 데이터 플로우가 존재하지 않거나 데이터 플로우가 유효하지 않은 경우 접속 제어 애플리케이션(211)은 데이터 패킷을 드랍할 수 있다. According to an embodiment, the access control application 211 may identify a target application that transmits the data packet and information included in the data packet (eg, source identification information, destination identification information, port information, etc.). For example, the access control application 211 may check whether a data flow corresponding to the identified information exists, and if the data flow exists, operation 910 may be performed. For another example, if the data flow does not exist or the data flow is invalid, the access control application 211 may drop the data packet.

동작 910에서, 접속 제어 애플리케이션(211)은 데이터 패킷을 검사할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 데이터 플로우의 보안 세션 정보를 확인할 수 있고, 보안 세션 생성이 완료되었고 보안 세션 관련 데이터 패킷인 경우, 데이터 패킷을 보안 세션에 기반하여 전송할 수 있다. 다른 예를 들어, 접속 제어 애플리케이션(211)은 데이터 패킷이 네트워크 접속 관련 데이터 패킷인 경우(예: TCP 세션 생성 관련 등) 데이터 패킷을 전송할 수 있다. 다른 예를 들어, 접속 제어 애플리케이션(211)은 보안 세션 생성이 완료되지 않은 경우, 데이터 패킷이 보안 세션 관련 데이터 패킷이 아닌 경우 또는 데이터 패킷이 네트워크 접속 관련 데이터 패킷이 아닌 경우 데이터 패킷을 드랍할 수 있다. 다른 예를 들어, 접속 제어 애플리케이션(211)은 데이터 패킷이 보안 세션 생성 요청 데이터 패킷인 경우 데이터 패킷을 전송(동작 915)하고, 보안 세션 생성 과정에서 전송 또는 수신되는 데이터 패킷을 검사하여 보안 세션이 생성되었는지 여부를 탐지할 수 있다. In operation 910 , the access control application 211 may inspect the data packet. For example, the access control application 211 may check the secure session information of the data flow, and when the secure session creation is completed and the data packet is a secure session related data packet, the access control application 211 may transmit the data packet based on the secure session. As another example, when the data packet is a data packet related to a network connection (eg, related to TCP session creation, etc.), the access control application 211 may transmit the data packet. For another example, the access control application 211 may drop the data packet when the secure session creation is not completed, when the data packet is not a secure session-related data packet, or when the data packet is not a network connection-related data packet. have. For another example, when the data packet is a secure session creation request data packet, the access control application 211 transmits the data packet (operation 915), and inspects the data packet transmitted or received during the secure session creation process to establish the secure session. It is possible to detect whether or not it has been created.

동작 920에서, 게이트웨이 또는 서버(210)는 보안 세션 생성 요청 처리를 수행할 수 있다. 예를 들어, 게이트웨이 또는 서버(210)는 타겟 애플리케이션 또는 접속 제어 애플리케이션(211)과 보안 세션을 생성할 수 있다. In operation 920 , the gateway or server 210 may process a secure session creation request. For example, the gateway or server 210 may create a secure session with the target application or access control application 211 .

보안 세션이 생성되는 경우, 동작 940에서, 게이트웨이 또는 서버(210)는 보안 세션 생성 결과를 접속 제어 애플리케이션(211)에게 전송할 수 있다. 예를 들어, 보안 세션 생성 결과는 보안 세션 생성 완료 정보를 데이터 패킷 또는 보안 세션 식별 정보를 포함하는 데이터 패킷을 포함할 수 있다. When a secure session is created, in operation 940 , the gateway or server 210 may transmit a secure session creation result to the access control application 211 . For example, the secure session creation result may include a data packet including secure session creation completion information or secure session identification information.

동작 930에서, 접속 제어 애플리케이션(211)은 보안 세션 생성 결과를 탐지할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 보안 세션 생성 완료 정보를 데이터 패킷 또는 보안 세션 식별 정보를 포함하는 데이터 패킷을 탐지할 수 있다. In operation 930 , the access control application 211 may detect a secure session creation result. For example, the access control application 211 may detect a data packet including secure session creation completion information or secure session identification information.

보안 세션 생성 결과를 탐지한 경우, 동작 935에서 접속 제어 애플리케이션(211)은 보안 세션 식별 정보를 컨트롤러(202)에게 전송할 수 있다. 실시예에 따라서, 접속 제어 애플리케이션(211)은 전송한 데이터 패킷에 대응하는 데이터 플로우의 식별 정보를 보안 세션 식별 정보와 함께 컨트롤러(202)에게 전송할 수 있다. 다른 실시예에 따라서, 접속 제어 애플리케이션(211)은 데이터 패킷을 전송한 타겟 애플리케이션의 식별 정보, 도착지 IP 및 포트 정보를 보안 세션 식별 정보와 함께 컨트롤러(202)에게 전송할 수 있다.When detecting the secure session creation result, in operation 935 , the access control application 211 may transmit secure session identification information to the controller 202 . According to an embodiment, the access control application 211 may transmit identification information of a data flow corresponding to the transmitted data packet together with the secure session identification information to the controller 202 . According to another embodiment, the access control application 211 may transmit the identification information, destination IP, and port information of the target application that has transmitted the data packet to the controller 202 together with the secure session identification information.

보안 세션이 생성되면, 동작 935에서, 접속 제어 애플리케이션(211) 또는 타겟 애플리케이션과 보안 세션을 생성한 게이트웨이 또는 서버(210)는 생성된 보안 세션의 보안 세션 식별 정보를 컨트롤러(202)에게 전송할 수 있다. When the secure session is created, in operation 935 , the access control application 211 or the gateway or server 210 that has created the secure session with the target application may transmit secure session identification information of the created secure session to the controller 202 . .

컨트롤러(202)는 보안 세션 식별 정보가 수신되는 경우 보안 세션 정책에서 보안 세션 식별 정보를 검사할 것인지 여부를 결정할 수 있다. 예를 들어, 보안 세션 식별 정보를 검사하는 것으로 결정된 경우 컨트롤러(202)는 동작 945를 수행할 수 있다. 다른 예를 들어, 보안 세션 식별 정보를 검사하지 않는 것으로 결정된 경우 컨트롤러(202)는 동작 950을 수행할 수 있다.The controller 202 may determine whether to check the secure session identification information in the secure session policy when the secure session identification information is received. For example, if it is determined to check the secure session identification information, the controller 202 may perform operation 945 . As another example, if it is determined not to check the secure session identification information, the controller 202 may perform operation 950 .

동작 945에서, 컨트롤러(202)는 보안 세션 식별 정보를 검사할 수 있다. 예를 들어, 컨트롤러(202)는 동작 935에서 접속 제어 애플리케이션(211)으로부터 수신된 보안 세션 식별 정보와, 동작 940에서 게이트웨이 또는 서버(210)로부터 수신된 보안 세션 식별 정보가 동일한지 여부를 확인할 수 있다. 실시예에 따라서, 보안 세션 식별 정보가 서로 다른 경우 컨트롤러(202)는 노드(201)에게 접속 불가 결과를 전송할 수 있다(동작 955). 다른 실시예에 따라서, 보안 세션 식별 정보가 동일한 경우 컨트롤러(202)는 동작 950을 수행할 수 있다. At operation 945 , the controller 202 may examine the secure session identification information. For example, the controller 202 may check whether the secure session identification information received from the access control application 211 in operation 935 and the secure session identification information received from the gateway or server 210 in operation 940 are the same. have. According to an embodiment, when the secure session identification information is different from each other, the controller 202 may transmit a connection unavailable result to the node 201 (operation 955). According to another embodiment, when the secure session identification information is the same, the controller 202 may perform operation 950 .

실시예에 따라서, 보안 세션 식별 정보를 검사하지 않는 것으로 결정되는 경우 동작 940 및 동작 945는 수행되지 않을 수 있다.According to an embodiment, when it is determined not to check the secure session identification information, operations 940 and 945 may not be performed.

동작 950에서, 컨트롤러(202)는 보안 세션 식별 정보에 기반하여 데이터 플로우를 갱신할 수 있다. 예를 들어, 컨트롤러(202)는 데이터 플로우에 보안 세션 식별 정보 및 보안 세션 생성 완료 상태를 갱신할 수 있다. In operation 950 , the controller 202 may update the data flow based on the secure session identification information. For example, the controller 202 may update the secure session identification information and the secure session creation completion state in the data flow.

동작 955에서, 컨트롤러(202)는 보안 세션 식별 정보 및 보안 세션 생성 완료 상태가 갱신된 데이터 플로우를 접속 제어 애플리케이션(211)에게 전송할 수 있다. 다른 예를 들어, 컨트롤러(202)는 데이터 패킷의 전송을 차단해야되는 것으로 결정한 경우, 접속 제어 애플리케이션(211)에게 접속 불가 결과를 전송할 수 있다. In operation 955 , the controller 202 may transmit a data flow in which the secure session identification information and the secure session creation completion state are updated to the access control application 211 . As another example, when it is determined that transmission of the data packet should be blocked, the controller 202 may transmit a result of not being able to connect to the access control application 211 .

실시예에 따라서, 컨트롤러(202)는 게이트웨이 또는 서버(210)로부터 수신된 보안 세션 식별 정보가 존재하지 않는 경우, 접속 제어 애플리케이션(211)에게 보안 세션 식별 정보 검사를 재시도하도록 하는 결과를 전송할 수 있다(동작 955).According to an embodiment, when the secure session identification information received from the gateway or server 210 does not exist, the controller 202 may transmit a result of retrying the security session identification information check to the access control application 211 . There is (act 955).

동작 960에서, 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 수신된 결과를 처리할 수 있다. 예를 들어, 컨트롤러(202)로부터 갱신된 데이터 플로우가 수신되는 경우, 접속 제어 애플리케이션(211)은 갱신된 데이터 플로우를 기초로 기 저장된 데이터 플로우를 갱신할 수 있다. 다른 예를 들어, 컨트롤러(202)로부터 재시도 정보를 수신한 경우, 접속 제어 애플리케이션(211)은 일정 시간을 대기한 후 보안 세션 식별 정보 검사 요청을 재수행할 수 있다. 다른 예를 들어, 컨트롤러(202)로부터 접속 불가 결과를 수신한 경우 보안 세션을 제거하거나, 데이터 플로우를 제거하거나 또는 데이터 패킷을 드랍할 수 있다. In operation 960 , the access control application 211 may process the result received from the controller 202 . For example, when an updated data flow is received from the controller 202 , the access control application 211 may update a pre-stored data flow based on the updated data flow. For another example, when receiving retry information from the controller 202 , the access control application 211 may re-perform the secure session identification information check request after waiting a predetermined time. For another example, when receiving a connection unavailable result from the controller 202 , a secure session may be removed, a data flow may be removed, or a data packet may be dropped.

도 10은 다양한 실시예들에 따른 데이터 패킷 수신에 따른 보안 세션 처리를 위한 신호 흐름도를 도시한다. 10 illustrates a signal flow diagram for processing a secure session upon receiving a data packet according to various embodiments of the present disclosure;

도 10을 참조하면, 동작 1005에서 게이트웨이 또는 서버(210)는 데이터 패킷 수신 이벤트를 감지할 수 있다. 예를 들어, 게이트웨이 또는 서버(210)는 데이터 패킷을 수신할 수 있다.Referring to FIG. 10 , in operation 1005 , the gateway or server 210 may detect a data packet reception event. For example, the gateway or server 210 may receive the data packet.

동작 1010에서 게이트웨이 또는 서버(210)는 데이터 플로우를 검사할 수 있다. 예를 들어, 게이트웨이 또는 서버(210)는 수신된 데이터 패킷에 대응되는 데이터 플로우가 존재하는지 확인할 수 있다. 다른 예를 들어, 게이트웨이 또는 서버(210)는 데이터 패킷의 5 Tuple 정보에 포함된 출발지 IP, 도착지 IP 및 도착지 포트 정보에 대응되는 데이터 플로우가 존재하는지 여부를 확인할 수 있다. 실시예에 따라서, 데이터 플로우가 존재하지 않는 경우 게이트웨이 또는 서버(210)는 수신된 데이터 패킷을 드랍할 수 있다. 실시예에 따라서, 데이터 플로우가 존재하는 경우 게이트웨이 또는 서버(210)는 동작 1015를 수행할 수 있다. In operation 1010, the gateway or server 210 may examine a data flow. For example, the gateway or server 210 may check whether a data flow corresponding to the received data packet exists. As another example, the gateway or server 210 may check whether a data flow corresponding to the source IP, destination IP, and destination port information included in the 5 tuple information of the data packet exists. According to an embodiment, when there is no data flow, the gateway or server 210 may drop the received data packet. According to an embodiment, when a data flow exists, the gateway or server 210 may perform operation 1015 .

동작 1015에서, 게이트웨이 또는 서버(210)는 수신된 데이터 패킷을 검사할 수 있다. 예를 들어, 게이트웨이 또는 서버(210)는 수신된 데이터 패킷이 보안 세션 생성 요청 데이터 패킷인지, 보안 세션 기반 데이터 패킷인지, 또는 보안 세션에 기반하지 않은 데이터 패킷인지 여부를 검사할 수 있다. In operation 1015 , the gateway or server 210 may examine the received data packet. For example, the gateway or server 210 may check whether the received data packet is a secure session creation request data packet, a secure session based data packet, or a data packet that is not based on a secure session.

동작 1020에서, 게이트웨이 또는 서버(210)는 검사 결과에 기초하여 데이터 패킷을 처리할 수 있다. 실시예에 따라서, 수신된 데이터 패킷이 보안 세션 생성 요청 데이터 패킷인 경우 게이트웨이 또는 서버(210)는 동작 1020에서 보안 세션 생성 처리할 수 있다. 실시예에 따라서, 수신된 데이터 패킷이 보안 세션 기반 데이터 패킷인 경우 게이트웨이 또는 서버(210)는 동작 1020에서 보안 세션 관련 애플리케이션을 통해 보안 세션 관련 처리(예: 프로토콜 파싱 및 데이터 패킷 복호화 등)를 수행할 수 있고, 데이터 패킷을 포워딩 또는 수신 처리할 수 있다. 실시예에 따라서, 수신된 데이터 패킷이 보안 세션 기반 데이터 패킷이지만 보안 세션 처리를 실패한 경우 게이트웨이 또는 서버(210)는 데이터 패킷을 드랍할 수 있다. 실시예에 따라서, 수신된 데이터 패킷이 보안 세션에 기반하지 않은 데이터 패킷인 경우 게이트웨이 또는 서버(210)는 데이터 패킷을 드랍할 수 있다. In operation 1020 , the gateway or server 210 may process the data packet based on the test result. According to an embodiment, when the received data packet is a secure session creation request data packet, the gateway or server 210 may generate a secure session in operation 1020 . According to an embodiment, when the received data packet is a secure session-based data packet, the gateway or server 210 performs secure session-related processing (eg, protocol parsing and data packet decryption, etc.) through a secure session-related application in operation 1020 . and can forward or receive data packets. According to an embodiment, when the received data packet is a secure session-based data packet but the secure session processing fails, the gateway or server 210 may drop the data packet. Depending on the embodiment, if the received data packet is a data packet that is not based on a secure session, the gateway or server 210 may drop the data packet.

동작 1020에서 보안 세션 생성 처리가 완료된 경우, 게이트웨이 또는 서버(210)는 보안 세션 처리 애플리케이션을 통해 보안 세션 생성 완료 정보 또는 보안 세션 식별 정보를 탐지하거나, 데이터 패킷 필터 드라이버의 데이터 패킷 검사를 통해서 보안 세션 생성 완료 정보 또는 보안 세션 식별 정보를 탐지할 수 있다. 이 경우, 동작 1025에서, 게이트웨이 또는 서버(210)는 보안 세션이 생성되었음을 데이터 플로우에 갱신하도록, 보안 세션 식별 정보를 컨트롤러(202)로 전송할 수 있다(동작 1030). 실시예에 따라서, 게이트웨이 또는 서버(210)는 데이터 플로우 식별 정보 또는 도착지 IP, 포트 정보를 보안 세션 식별 정보와 함께 컨트롤러(202)에게 전송할 수 있다. When the secure session creation process is completed in operation 1020, the gateway or server 210 detects secure session creation completion information or secure session identification information through a secure session processing application, or secures session through data packet inspection of a data packet filter driver. Creation completion information or secure session identification information may be detected. In this case, in operation 1025 , the gateway or server 210 may transmit secure session identification information to the controller 202 to update the data flow that the secure session has been created (operation 1030 ). According to an embodiment, the gateway or server 210 may transmit data flow identification information or destination IP and port information to the controller 202 together with secure session identification information.

동작 1035에서 컨트롤러(202)는 수신된 보안 세션 식별 정보에 기반하여 데이터 플로우를 갱신할 수 있다. 예를 들어, 컨트롤러(202)는 보안 세션 식별 정보 및 보안 세션 생성 완료 정보를 기초로 데이터 플로우를 갱신할 수 있다. In operation 1035 , the controller 202 may update the data flow based on the received secure session identification information. For example, the controller 202 may update the data flow based on the secure session identification information and the secure session creation completion information.

도 11은 다양한 실시예들에 따른 제어 플로우 갱신을 위한 신호 흐름도를 도시한다. 11 illustrates a signal flow diagram for control flow update according to various embodiments.

도 11을 참조하면, 동작 1105에서, 접속 제어 애플리케이션(211)은 제어 플로우 갱신 이벤트를 감지할 수 있다. Referring to FIG. 11 , in operation 1105 , the access control application 211 may detect a control flow update event.

동작 1110에서, 접속 제어 애플리케이션(211)은 제어 플로우 식별 정보를 기초로 컨트롤러(202)에게 제어 플로우 갱신을 요청할 수 있다. In operation 1110 , the access control application 211 may request the controller 202 to update the control flow based on the control flow identification information.

동작 1115에서, 컨트롤러(202)는 수신된 제어 플로우 식별 정보를 기초로 제어 플로우 테이블(예: 도 3의 제어 플로우 테이블(315))에서 제어 플로우가 존재하는지 여부를 확인할 수 있다. 실시예에 따라서, 제어 플로우가 존재하지 않는 경우(예: 타 보안 시스템에 의하여 접속 해제된 경우, 자체적인 위험 탐지 등에 의하여 접속 해제된 경우), 컨트롤러(202)는 노드(201)의 접속이 유효하지 않으므로 접속 불가 결과를 접속 제어 애플리케이션(211)에게 전송할 수 있다(동작 1120). In operation 1115 , the controller 202 may check whether a control flow exists in a control flow table (eg, the control flow table 315 of FIG. 3 ) based on the received control flow identification information. According to the embodiment, when the control flow does not exist (eg, when the connection is disconnected by another security system, when the connection is disconnected due to self-risk detection, etc.), the controller 202 determines that the connection of the node 201 is valid. Since it does not, the connection unavailable result may be transmitted to the access control application 211 (operation 1120 ).

컨트롤러(202)는 제어 플로우 테이블(예: 도 3의 제어 플로우 테이블(315))에서 제어 플로우가 존재하는 경우 갱신 시각을 업데이트 할 수 있다. 이 경우, 컨트롤러(202)는 갱신된 제어 플로우의 식별 정보를 접속 제어 애플리케이션(211)에게 전송할 수 있다(동작 1120).The controller 202 may update the update time when a control flow exists in the control flow table (eg, the control flow table 315 of 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 1120 ).

일 실시예에서, 컨트롤러(202)는 식별된 제어 플로우에 종속된 데이터 플로우 중 재인증을 수행해야하거나, 더 이상 접속이 불가능한 데이터 플로우가 존재하는 경우, 해당 데이터 플로우에 관한 정보를 접속 제어 애플리케이션(211)에게 전송할 수 있다(동작 1120).In one embodiment, the controller 202 transmits information about the data flow to the access control application ( 211) (operation 1120).

동작 1125에서, 노드(201)의 접속 제어 애플리케이션(211)은 컨트롤러(202)로부터 수신된 응답에 대한 결과값을 처리할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 제어 플로우 갱신 결과가 불가능인 경우, 애플리케이션의 모든 네트워크 접속을 차단할 수 있다. 다른 예를 들어, 접속 제어 애플리케이션(211)은 제어 플로우 갱신 결과가 정상이고, 갱신된 데이터 플로우 정보가 존재하는 경우, 데이터 플로우를 갱신할 수 있다. In operation 1125 , the access control application 211 of the node 201 may process a result value for the response received from the controller 202 . For example, when the control flow update result is impossible, the access control application 211 may block all network connections of the application. As another example, the access control application 211 may update the data flow when the control flow update result is normal and the updated data flow information exists.

도 12는 다양한 실시예들에 따른 접속 해제를 위한 신호 흐름도를 도시한다. 12 illustrates a signal flow diagram for disconnection according to various embodiments.

도 12를 참조하면, 동작 1205에서 노드(201)는 노드(201)의 종료, 접속 제어 애플리케이션(211)의 종료, 타겟 애플리케이션의 종료, 더 이상 네트워크 접속을 사용하지 않음 및 연동 시스템으로부터 식별된 정보를 기반으로 접속 종료 요청 중 적어도 어느 하나를 감지할 수 있다. 이 경우 동작 1210에서, 노드(201) 또는 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 제어 플로우 제거를 요청할 수 있다.12, in operation 1205, the node 201 terminates the node 201, terminates the access control application 211, terminates the target application, no longer uses the network connection, and information identified from the interworking system. At least one of the connection termination requests may be detected based on the . In this case, in operation 1210 , the node 201 or the access control application 211 may request the controller 202 to remove the control flow.

동작 1215에서, 컨트롤러(202)는 수신된 제어 플로우 식별 정보를 기초로 식별된 제어 플로우를 제거할 수 있다. In operation 1215 , the controller 202 may remove the identified control flow based on the received control flow identification information.

동작 1220에서 컨트롤러(202)는 제거된 제어 플로우에 종속된 모든 데이터 플로우를 제거할 수 있다. 따라서, 노드(201)는 제거된 데이터 플로우를 기반으로 목적지 네트워크에 더 이상 접속할 수 없다.In operation 1220 , the controller 202 may remove all data flows dependent on the removed control flow. Accordingly, node 201 is no longer able to connect to the destination network based on the removed data flow.

동작 1225에서 컨트롤러(202)는 제거된 제어 플로우에 종속된 모든 데이터 플로우에 대한 제거 요청을 게이트웨이 또는 서버(210)에게 수행할 수 있다. 이 경우, 게이트웨이 또는 서버(210)는 데이터 플로우 제거 및 보안 세션을 제거하여 해당 애플리케이션이 더 이상 데이터 패킷을 전송할 수 없도록 제어할 수 있다. In operation 1225 , the controller 202 may perform a removal request for all data flows dependent on the removed control flow to the gateway or server 210 . In this case, the gateway or server 210 may control the application to no longer transmit data packets by removing the data flow and removing the secure session.

도 13은 다양한 실시예들에 따른 애플리케이션 실행 종료를 위한 신호 흐름도를 도시한다.13 illustrates a signal flow diagram for terminating application execution according to various embodiments.

도 13을 참조하면, 동작 1305에서, 노드(201)의 접속 제어 애플리케이션(211)은 실행 중인 애플리케이션의 종료 여부를 실시간으로 확인할 수 있고, 애플리케이션 실행 종료 이벤트를 감지할 수 있다.Referring to FIG. 13 , in operation 1305 , the access control application 211 of the node 201 may check whether the running application is terminated in real time, and may detect an application execution termination event.

실시예에 따라서, 접속 제어 애플리케이션(211)은 종료된 애플리케이션 식별 정보 및 PID(Process ID 및 Child Process ID Tree) 정보에 대응되는 데이터 플로우가 존재하는지 확인할 수 있다. According to an embodiment, 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.

동작 1310에서, 접속 제어 애플리케이션(211)은 컨트롤러(202)에게 데이터 플로우 제거 요청을 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 종료된 애플리케이션의 식별 정보 또는 종료된 애플리케이션에 대응되는 데이터 플로우의 식별 정보를 컨트롤러(202)에게 전송하며 데이터 플로우 제거 요청을 수행할 수 있다. In operation 1310 , the access control application 211 may perform a data flow removal request to the controller 202 . For example, the access control application 211 may transmit identification information of the terminated application or identification information of a data flow corresponding to the terminated application to the controller 202 and perform a data flow removal request.

동작 1315에서, 컨트롤러(202)는 제거 요청된 데이터 플로우를 삭제할 수 있다. 또한, 컨트롤러(202)는 제거된 데이터 플로우에 대한 제거 요청을 게이트웨이 또는 서버(210)에게 수행할 수 있다. 따라서, 제거된 데이터 플로우에 포함된 출발지 네트워크, 도착지 네트워크 및 포트 정보에 대응되는 데이터 패킷은 더 이상 전송될 수 없다. 또한, 게이트웨이 또는 서버(210)는 데이터 플로우에 대응되는 보안 세션을 제거함으로서 해당 애플리케이션이 더 이상 목적지로 데이터 패킷을 전송할 수 없는 상태를 제공할 수 있다. In operation 1315 , the controller 202 may delete the requested data flow. Also, the controller 202 may perform a removal request for the removed data flow to the gateway or the server 210 . Accordingly, data packets corresponding to the source network, destination network, and port information included in the removed data flow cannot be transmitted any more. In addition, the gateway or server 210 may provide a state in which the corresponding application cannot transmit data packets to the destination anymore by removing the secure session corresponding to the data flow.

도 14는 다양한 실시예들에 따른 노드에 설치된 접속 제어 애플리케이션의 동작 방법에 대한 흐름도를 도시한다. 실시예예 따라서, 도 14에 도시된 동작들은 도 2의 노드(201)의 접속 제어 애플리케이션(211)을 통해 수행될 수 있다. 14 is a flowchart illustrating a method of operating a connection control application installed in a node according to various embodiments of the present disclosure; Embodiments Accordingly, the operations shown in FIG. 14 may be performed through the access control application 211 of the node 201 of FIG. 2 .

도 14를 참조하면, 동작 1405에서, 노드(201)에 설치된 접속 제어 애플리케이션(211)은 타겟 애플리케이션의 데이터 패킷 전송 이벤트를 감지할 수 있다. Referring to FIG. 14 , in operation 1405 , the access control application 211 installed in the node 201 may detect a data packet transmission event of the target application.

동작 1410에서, 접속 제어 애플리케이션(211)은 타겟 애플리케이션의 식별 정보 및 데이터 패킷에 포함된 정보에 대응되고 외부 서버로부터 인가된 데이터 플로우의 존재 여부를 확인할 수 있다. In operation 1410, the access control application 211 may check whether there is a data flow corresponding to the identification information of the target application and information included in the data packet and authorized from the external server.

동작 1415에서, 접속 제어 애플리케이션(211)은 데이터 패킷의 종류를 확인할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 데이터 패킷이 보안 세션 생성 요청 데이터 패킷인지, 보안 세션 관련 데이터 패킷인지 또는 네트워크 접속 데이터 패킷인지 확인할 수 있다. In operation 1415, the access control application 211 may check the type of the data packet. For example, the access control application 211 may determine whether the data packet is a secure session creation request data packet, a secure session related data packet, or a network connection data packet.

동작 1420에서, 접속 제어 애플리케이션(211)은 데이터 패킷이 보안 세션 생성 요청 데이터 패킷인 경우 데이터 패킷을 게이트웨이 또는 서비스 서버로 전송할 수 있다. 예를 들어, 접속 제어 애플리케이션(211)은 보안 세션 생성 요청 데이터 패킷을 전송함으로서 타겟 애플리케이션 또는 접속 제어 애플리케이션(211)과 게이트웨이 또는 서비스 서버 간 보안 세션을 생성할 수 있다. In operation 1420, when the data packet is a secure session creation request data packet, the access control application 211 may transmit the data packet to the gateway or the service server. For example, the access control application 211 may create a secure session between the target application or the access control application 211 and the gateway or service server by transmitting a secure session creation request data packet.

동작 1425에서, 접속 제어 애플리케이션(211)은 보안 세션이 생성되면 보안 세션 식별 정보를 외부 서버로 전송할 수 있다. 예를 들어, 외부 서버는 도 2의 컨트롤러(202)를 포함할 수 있다. 다른 예를 들어, 접속 제어 애플리케이션(211)은 보안 세션 생성 관련 데이터 패킷들을 탐지할 수 있고, 보안 세션 식별 정보를 외부 서버로 전송함으로서 보안 세션 생성 여부를 데이터 플로우에 갱신할 수 있다. In operation 1425 , the access control application 211 may transmit secure session identification information to an external server when a secure session is created. For example, the external server may include the controller 202 of FIG. 2 . As another example, the access control application 211 may detect data packets related to secure session creation, and transmit secure session identification information to an external server to update whether the secure session is created in the data flow.

도 15는 다양한 실시예들에 따른 서버의 동작 방법에 대한 흐름도를 도시한다. 도 15에 도시된 동작들은 도 2의 컨트롤러(202)를 통해 수행될 수 있다. 15 is a flowchart illustrating a method of operating a server according to various embodiments. The operations shown in FIG. 15 may be performed through the controller 202 of FIG. 2 .

도 15를 참조하면, 동작 1505에서, 서버(예: 도 2의 컨트롤러(202))는 접속 제어 애플리케이션(예: 도 2의 접속 제어 애플리케이션(211))으로부터 네트워크 접속 요청을 수신할 수 있다. Referring to FIG. 15 , in operation 1505 , the server (eg, the controller 202 of FIG. 2 ) may receive a network access request from the access control application (eg, the access control application 211 of FIG. 2 ).

동작 1510에서, 서버는 데이터 베이스에 기반하여 타겟 애플리케이션의 접속 가능 여부를 판단할 수 있다. 예를 들어, 서버는 접속 정책 데이터 베이스에 기반하여 타겟 애플리케이션의 접속 가능 여부를 판단할 수 있다. In operation 1510, the server may determine whether the target application is accessible based on the database. For example, the server may determine whether the target application is accessible based on the access policy database.

동작 1515에서, 서버는 타겟 애플리케이션이 접속 가능한 경우 데이터 베이스에 기반하여 노드와 게이트웨이 또는 서비스 서버 간 보안 세션 생성이 가능한지 여부를 확인할 수 있다. 예를 들어, 서버는 보안 세션 정책 데이터 베이스에 기반하여 보안 세션 생성 가능 여부를 확인할 수 있다. In operation 1515 , if the target application is accessible, the server may check whether a secure session can be created between the node and the gateway or the service server based on the database. For example, the server may check whether a secure session can be created based on the secure session policy database.

동작 1520에서, 서버는 노드가 게이트웨이 또는 서비스 서버와 보안 세션을 생성할 수 있도록 데이터 플로우를 생성할 수 있다. In operation 1520 , the server may create a data flow so that the node may establish a secure session with the gateway or service server.

동작 1525에서, 서버는 생성된 데이터 플로우를 접속 제어 애플리케이션에게 전송할 수 있다. In operation 1525, the server may transmit the generated data flow to the access control application.

이상의 설명은 본 문서에 개시된 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 문서에 개시된 실시예들이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 문서에 개시된 실시예들의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. The above description is merely illustrative of the technical idea disclosed in this document, and those of ordinary skill in the art to which the embodiments disclosed in this document belong are not 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 for explanation rather than limiting the technical ideas disclosed in this document, 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 should be interpreted by the claims below, and all technical ideas within the equivalent range should be construed as being included in the scope of the present document.

Claims (14)

노드에 있어서,
통신 회로;
상기 통신 회로와 작동적으로 연결되는 프로세서; 및
상기 프로세서와 작동적으로 연결되고, 접속 제어 애플리케이션 및 타겟 애플리케이션을 저장하는 메모리를 포함하고, 상기 메모리는 상기 프로세서에 의해서 실행될 때 상기 노드가,
상기 접속 제어 애플리케이션을 통해, 상기 타겟 애플리케이션의 데이터 패킷 전송 이벤트를 감지하고,
상기 타겟 애플리케이션의 식별 정보 및 상기 데이터 패킷에 포함된 정보에 대응되고 외부 서버로부터 인가된 데이터 플로우의 존재 여부를 확인하고,
상기 데이터 패킷의 종류를 확인하고,
상기 데이터 패킷이 보안 세션 생성 요청 데이터 패킷인 경우 상기 데이터 패킷을 게이트웨이 또는 서비스 서버로 전송하여, 상기 노드와 상기 게이트웨이 또는 상기 서비스 서버 간 보안 세션을 생성하고,
상기 보안 세션이 생성되면 상기 보안 세션의 식별 정보를 상기 외부 서버로 전송하도록 하는, 명령어들을 저장하는, 노드.
In the node,
communication circuit;
a processor operatively coupled to the communication circuitry; 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:
Through the access control application, detect a data packet transmission event of the target application,
Check whether there is a data flow corresponding to the identification information of the target application and information included in the data packet and authorized from an external server,
check the type of the data packet;
When the data packet is a secure session creation request data packet, sending the data packet to a gateway or a service server to create a secure session between the node and the gateway or the service server,
and to transmit the identification information of the secure session to the external server when the secure session is created.
제 1 항에 있어서, 상기 명령어들은 상기 노드가,
상기 접속 제어 애플리케이션을 통해 보안 세션 생성 처리 과정에서 전송 또는 수신되는 데이터 패킷을 검사하고,
상기 전송 또는 수신되는 데이터 패킷에서 상기 보안 세션 식별 정보를 포함하는 데이터 패킷을 탐지하거나, 상기 보안 세션의 생성 완료 정보를 포함하는 데이터 패킷을 탐지하도록 하는, 노드.
The method of claim 1, wherein the instructions cause the node to:
Inspecting data packets transmitted or received in the process of creating a secure session through the access control application;
Detect a data packet including the secure session identification information in the transmitted or received data packet, or detect a data packet including the secure session creation completion information.
제 1 항에 있어서, 상기 명령어들은 상기 노드가,
상기 접속 제어 애플리케이션을 통해 상기 외부 서버로부터 보안 세션 생성 완료 상태 및 상기 보안 세션 식별 정보를 포함하도록 갱신된 데이터 플로우를 수신하고,
상기 갱신된 데이터 플로우를 기초로 상기 노드에 저장된 데이터 플로우를 갱신하도록 하는, 노드.
The method of claim 1 , wherein the instructions cause the node to:
receiving a data flow updated to include a secure session creation completion status and the secure session identification information from the external server through the access control application;
and update a data flow stored in the node based on the updated data flow.
제 1 항에 있어서, 상기 명령어들은 상기 노드가,
상기 접속 제어 애플리케이션을 통해, 상기 데이터 플로우가 존재하지 않는 경우 상기 데이터 패킷을 드랍하고,
상기 데이터 플로우가 존재하면 상기 데이터 플로우에 기반하여 상기 보안 세션 생성 여부를 판단하고,
상기 보안 세션 생성이 완료되고 상기 데이터 패킷이 보안 세션 관련 데이터 패킷인 경우 상기 데이터 패킷을 전송하고,
상기 데이터 패킷이 네트워크 접속 관련 데이터 패킷인 경우 상기 데이터 패킷을 전송하고,
상기 보안 세션 생성이 완료되지 않은 경우 상기 데이터 패킷을 드랍하도록 하는, 노드.
The method of claim 1, wherein the instructions cause the node to:
Drop the data packet through the access control application when the data flow does not exist;
If the data flow exists, it is determined whether the secure session is created based on the data flow,
When the secure session creation is completed and the data packet is a secure session related data packet, transmitting the data packet;
When the data packet is a network connection related data packet, transmit the data packet;
and drop the data packet when the secure session creation is not completed.
제 1 항에 있어서, 상기 명령어들은 상기 노드가,
상기 접속 제어 애플리케이션을 통해 상기 타겟 애플리케이션의 네트워크 접속 이벤트를 감지하고,
상기 외부 서버에게 상기 외부 서버와 생성된 제어 플로우 식별 정보, 상기 타겟 애플리케이션의 식별 정보 및 상기 서비스 서버의 식별 정보를 포함하는 네트워크 접속 요청을 수행하고,
상기 외부 서버로부터 생성된 데이터 플로우를 수신하도록 하고,
상기 데이터 플로우는 상기 타겟 애플리케이션이 상기 서비스 서버에 접속하는 것이 가능한지 여부 및 상기 게이트웨이 또는 상기 서비스 서버와 상기 노드 간 보안 세션 생성이 가능한지 여부에 기반하여 상기 외부 서버로부터 생성되는, 노드.
The method of claim 1, wherein the instructions cause the node to:
Detecting a network access event of the target application through the access control application,
performing a network access request including identification information of the external server and the generated control flow identification information, identification information of the target application, and identification information of the service server to the external server;
to receive the data flow generated from the external server,
The data flow is generated from the external server based on whether the target application is able to connect to the service server and whether a secure session between the gateway or the service server and the node is possible.
제 1 항에 있어서, 상기 명령어들은 상기 노드가,
상기 접속 제어 애플리케이션을 통해 상기 외부 서버에게 컨트롤러 접속 요청을 수행하고, 상기 컨트롤러 접속 요청은 상기 노드의 식별 정보 또는 상기 접속 제어 애플리케이션의 식별 정보를 포함하고,
상기 외부 서버로부터 제어 플로우 식별 정보를 수신하고,
상기 외부 서버로부터 애플리케이션 화이트리스트를 수신하도록 하고,
상기 애플리케이션 화이트리스트는 상기 외부 서버의 보안 세션 정책에 기반하여 생성되는, 노드.
The method of claim 1, wherein the instructions cause the node to:
performing a controller access request to the external server through the access control application, wherein the controller access request includes identification information of the node or identification information of the access control application;
Receive control flow identification information from the external server,
to receive an application whitelist from the external server;
The application whitelist is generated based on a secure session policy of the external server.
제 1 항에 있어서, 상기 명령어들은 상기 노드가,
상기 접속 제어 애플리케이션을 통해, 상기 타겟 애플리케이션의 종료를 감지하고,
상기 타겟 애플리케이션에 대응되는 데이터 플로우의 존재 여부를 확인하고,
상기 외부 서버에게 상기 타겟 애플리케이션에 대응되는 데이터 플로우의 식별 정보 또는 상기 타겟 애플리케이션의 식별 정보를 포함하는 데이터 플로우 제거 요청을 수행하도록 하는, 노드.
The method of claim 1, wherein the instructions cause the node to:
Detect termination of the target application through the access control application,
Check whether there is a data flow corresponding to the target application,
A node to perform a data flow removal request including identification information of a data flow corresponding to the target application or identification information of the target application to the external server.
서버에 있어서,
통신 회로;
데이터 베이스를 저장하는 메모리; 및
상기 통신 회로 및 상기 메모리와 작동적으로 연결되는 프로세서를 포함하고, 상기 프로세서는,
노드의 접속 제어 애플리케이션으로부터 네트워크 접속 요청을 수신하고, 상기 네트워크 접속 요청은 상기 노드의 타겟 애플리케이션의 식별 정보 및 목적지 네트워크의 식별 정보를 포함하고,
상기 데이터 베이스에 기반하여 상기 타겟 애플리케이션의 접속 가능 여부를 판단하고,
상기 타겟 애플리케이션이 접속 가능한 경우 상기 데이터 베이스에 기반하여 상기 노드와 게이트웨이 또는 서비스 서버 간 보안 세션 생성이 가능한지 여부를 확인하고,
상기 노드가 상기 게이트웨이 또는 상기 서비스 서버와 보안 세션을 생성할 수 있도록 데이터 플로우를 생성하고,
상기 데이터 플로우를 상기 접속 제어 애플리케이션에게 전송하고,
보안 세션이 생성되면, 상기 접속 제어 애플리케이션으로부터 상기 보안 세션의 식별 정보를 수신하도록 구성된, 서버.
in the server,
communication circuit;
a memory for storing the database; and
a processor operatively coupled with the communication circuitry and the memory, the processor comprising:
Receive a network connection request from a connection control application of a node, wherein the network connection request includes identification information of a target application of the node and identification information of a destination network,
Determining whether the target application is accessible based on the database,
If the target application is accessible, it is checked whether a secure session can be created between the node and the gateway or service server based on the database,
creating a data flow so that the node can establish a secure session with the gateway or the service server;
send the data flow to the access control application;
when a secure session is created, receive identification information of the secure session from the access control application.
제 8 항에 있어서, 상기 프로세서는,
상기 접속 제어 애플리케이션으로부터 제1 보안 세션 식별 정보를 수신하고,
상기 데이터 베이스에 기반하여 보안 세션 식별 정보를 검사할 것인지 여부를 결정하고,
상기 보안 세션 식별 정보를 검사하지 않는 것으로 결정한 경우 상기 데이터 플로우에 상기 제1 보안 세션 식별 정보 및 보안 세션 완료 상태를 갱신하고,
상기 갱신된 데이터 플로우를 상기 접속 제어 애플리케이션에게 전송하도록 구성된, 서버.
The method of claim 8, wherein the processor comprises:
receive first secure session identification information from the access control application;
Determine whether to check the secure session identification information based on the database,
updating the first secure session identification information and the secure session completion state in the data flow when it is determined not to check the secure session identification information;
and send the updated data flow to the access control application.
제 9 항에 있어서, 상기 프로세서는,
상기 게이트웨이 또는 상기 서비스 서버로부터 제2 보안 세션 식별 정보를 수신하고,
상기 보안 세션 식별 정보를 검사하는 것으로 결정한 경우 상기 제2 보안 세션 식별 정보와 상기 제1 보안 세션 식별 정보를 비교하고,
상기 제2 보안 세션 식별 정보와 상기 제1 보안 세션 식별 정보가 동일한 경우 상기 데이터 플로우를 갱신하고, 상기 갱신된 데이터 플로우를 상기 접속 제어 애플리케이션에게 전송하고,
상기 제2 보안 세션 식별 정보와 상기 제1 보안 세션 식별 정보가 동일하지 않은 경우, 상기 데이터 플로우를 삭제하고, 상기 접속 제어 애플리케이션에게 접속 불가 결과를 전송하도록 구성된, 서버.
10. The method of claim 9, wherein the processor,
receiving second secure session identification information from the gateway or the service server;
comparing the second secure session identification information with the first secure session identification information when it is determined to examine the secure session identification information;
update the data flow when the second secure session identification information and the first secure session identification information are the same, and send the updated data flow to the access control application;
and, if the second secure session identification information and the first secure session identification information are not the same, delete the data flow, and send a connection unavailable result to the access control application.
제 8 항에 있어서, 상기 프로세서는,
상기 접속 제어 애플리케이션으로부터 제어 플로우 종료 요청을 수신하고, 상기 제어 플로우 종료 요청은 제어 플로우 식별 정보를 포함하고,
상기 제어 플로우 식별 정보에 기반하여 식별된 제어 플로우를 제거하고,
상기 제어 플로우에 종속된 데이터 플로우를 제거하고,
상기 게이트웨이 또는 상기 서비스 서버에게 상기 종속된 데이터 플로우에 대한 제거를 요청하도록 구성된, 서버.
The method of claim 8, wherein the processor comprises:
receive a control flow termination request from the access control application, wherein the control flow termination request includes control flow identification information;
Remove the identified control flow based on the control flow identification information,
removing a data flow dependent on the control flow;
and request removal of the dependent data flow from the gateway or the service server.
제 8 항에 있어서, 상기 프로세서는,
상기 접속 제어 애플리케이션으로부터 데이터 플로우 제거 요청을 수신하고, 상기 데이터 플로우 제거 요청은 데이터 플로우 식별 정보 또는 상기 타겟 애플리케이션의 식별 정보를 포함하고,
상기 데이터 플로우 식별 정보 또는 상기 타겟 애플리케이션의 식별 정보를 기초로 식별된 데이터 플로우를 제거하고,
상기 게이트웨이 또는 상기 서비스 서버에게 상기 식별된 데이터 플로우에 대한 제거를 요청하도록 구성된, 서버.
The method of claim 8, wherein the processor comprises:
receive a data flow removal request from the access control application, wherein the data flow removal request includes data flow identification information or identification information of the target application;
Remove the data flow identified based on the data flow identification information or the identification information of the target application,
and request removal of the identified data flow from the gateway or the service server.
노드에 설치된 접속 제어 애플리케이션의 동작 방법에 있어서,
타겟 애플리케이션의 데이터 패킷 전송 이벤트를 감지하는 단계;
상기 타겟 애플리케이션의 식별 정보 및 상기 데이터 패킷에 포함된 정보에 대응되고 외부 서버로부터 인가된 데이터 플로우의 존재 여부를 확인하는 단계;
상기 데이터 패킷의 종류를 확인하는 단계;
상기 데이터 패킷이 보안 세션 생성 요청 데이터 패킷인 경우 상기 데이터 패킷을 게이트웨이 또는 서비스 서버로 전송하여, 상기 노드와 상기 게이트웨이 또는 상기 서비스 서버 간 보안 세션을 생성하는 단계; 및
상기 보안 세션이 생성되면 상기 보안 세션의 식별 정보를 상기 외부 서버로 전송하는 단계; 를 포함하는, 방법.
A method of operating a connection control application installed on a node, the method comprising:
detecting a data packet transmission event of a target application;
checking whether there is a data flow corresponding to the identification information of the target application and information included in the data packet and authorized from an external server;
checking the type of the data packet;
transmitting the data packet to a gateway or a service server when the data packet is a secure session creation request data packet to create a secure session between the node and the gateway or the service server; and
transmitting identification information of the secure session to the external server when the secure session is created; A method comprising
서버의 동작 방법에 있어서,
노드의 접속 제어 애플리케이션으로부터 네트워크 접속 요청을 수신하는 단계, 상기 네트워크 접속 요청은 상기 노드의 타겟 애플리케이션의 식별 정보 및 목적지 네트워크의 식별 정보를 포함하고;
데이터 베이스에 기반하여 상기 타겟 애플리케이션의 접속 가능 여부를 판단하는 단계;
상기 타겟 애플리케이션이 접속 가능한 경우 상기 데이터 베이스에 기반하여 상기 노드와 게이트웨이 또는 서비스 서버 간 보안 세션 생성이 가능한지 여부를 확인하는 단계;
상기 노드가 상기 게이트웨이 또는 상기 서비스 서버와 보안 세션을 생성할 수 있도록 데이터 플로우를 생성하는 단계;
상기 데이터 플로우를 상기 접속 제어 애플리케이션에게 전송하는 단계; 및
보안 세션이 생성되면, 상기 접속 제어 애플리케이션으로부터 상기 보안 세션의 식별 정보를 수신하는 단계; 를 포함하는, 방법.
In the method of operating a server,
receiving a network connection request from a connection control application of a node, wherein the network connection request includes identification information of a target application of the node and identification information of a destination network;
determining whether the target application is accessible based on a database;
checking whether a secure session can be created between the node and a gateway or a service server based on the database when the target application is accessible;
creating a data flow to enable the node to establish a secure session with the gateway or the service server;
sending the data flow to the access control application; and
if the secure session is created, receiving identification information of the secure session from the access control application; A method comprising
KR1020220005858A 2022-01-14 2022-01-14 System for controlling network access based on controller and method of the same KR102427663B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020220005858A KR102427663B1 (en) 2022-01-14 2022-01-14 System for controlling network access based on controller and method of the same
PCT/KR2023/000663 WO2023136658A1 (en) 2022-01-14 2023-01-13 Controller-based system and method for controlling network access

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020220005858A KR102427663B1 (en) 2022-01-14 2022-01-14 System for controlling network access based on controller and method of the same

Publications (1)

Publication Number Publication Date
KR102427663B1 true KR102427663B1 (en) 2022-08-02

Family

ID=82845967

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020220005858A KR102427663B1 (en) 2022-01-14 2022-01-14 System for controlling network access based on controller and method of the same

Country Status (2)

Country Link
KR (1) KR102427663B1 (en)
WO (1) WO2023136658A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023136658A1 (en) * 2022-01-14 2023-07-20 프라이빗테크놀로지 주식회사 Controller-based system and method for controlling network access
KR102613414B1 (en) * 2023-02-08 2023-12-14 프라이빗테크놀로지 주식회사 System for controlling network access and method of the same

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170128270A (en) * 2015-02-05 2017-11-22 크리프트존 노스 아메리카, 아이엔씨. Multi-tunneling virtual network adapter
KR102119257B1 (en) * 2019-09-24 2020-06-26 프라이빗테크놀로지 주식회사 System for controlling network access of terminal based on tunnel and method thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9735943B2 (en) * 2015-05-11 2017-08-15 Citrix Systems, Inc. Micro VPN tunneling for mobile platforms
KR102349038B1 (en) * 2021-09-02 2022-01-11 프라이빗테크놀로지 주식회사 Tunneling and gateway access system optimized for distributed gateway environment and method therefor
KR102427663B1 (en) * 2022-01-14 2022-08-02 프라이빗테크놀로지 주식회사 System for controlling network access based on controller and method of the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170128270A (en) * 2015-02-05 2017-11-22 크리프트존 노스 아메리카, 아이엔씨. Multi-tunneling virtual network adapter
KR102119257B1 (en) * 2019-09-24 2020-06-26 프라이빗테크놀로지 주식회사 System for controlling network access of terminal based on tunnel and method thereof
KR20210045917A (en) * 2019-09-24 2021-04-27 프라이빗테크놀로지 주식회사 System for controlling network access of node based on tunnel and data flow and method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023136658A1 (en) * 2022-01-14 2023-07-20 프라이빗테크놀로지 주식회사 Controller-based system and method for controlling network access
KR102613414B1 (en) * 2023-02-08 2023-12-14 프라이빗테크놀로지 주식회사 System for controlling network access and method of the same

Also Published As

Publication number Publication date
WO2023136658A1 (en) 2023-07-20

Similar Documents

Publication Publication Date Title
KR102223827B1 (en) System for authenticating and controlling network access of terminal and method thereof
KR102364445B1 (en) System for controlling network access based on controller and method of the same
KR102396528B1 (en) System for controlling network access based on controller and method of the same
KR102460694B1 (en) System for controlling network access based on controller and method of the same
KR102377247B1 (en) System for controlling network access based on controller and method of the same
KR102439881B1 (en) System for controlling network access based on controller and method of the same
KR102460696B1 (en) System for controlling network access based on controller and method of the same
KR102460691B1 (en) System for controlling network access based on controller and method of the same
KR102514618B1 (en) System for controlling network access based on controller and method of the same
KR102427663B1 (en) System for controlling network access based on controller and method of the same
KR102502367B1 (en) System for controlling network access based on controller and method of the same
KR102333555B1 (en) System for controlling network access based on controller and method of the same
KR102495369B1 (en) System for controlling network access based on controller and method of the same
KR102460695B1 (en) System for controlling network access based on controller and method of the same
KR102449139B1 (en) System for controlling network access based on controller and method of the same
JP2023162313A (en) System for authenticating and controlling network connection of terminal and method related thereto
KR102377248B1 (en) System for controlling network access based on controller and method of the same
KR102333553B1 (en) System for controlling network access based on controller and method of the same
KR102333554B1 (en) System for controlling network access based on controller and method of the same
KR102472554B1 (en) System for controlling network access based on controller and method of the same
KR102460692B1 (en) System for controlling network access based on controller and method of the same
KR102407135B1 (en) System for controlling network access based on controller and method of the same
KR102358595B1 (en) System for controlling network access based on controller and method of the same
KR102593271B1 (en) System for controlling network access and method of the same
KR102609368B1 (en) System for controlling network access and method of the same

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant