WO2023163506A1 - System for controlling file transmission and reception of application, and method therefor - Google Patents

System for controlling file transmission and reception of application, and method therefor Download PDF

Info

Publication number
WO2023163506A1
WO2023163506A1 PCT/KR2023/002544 KR2023002544W WO2023163506A1 WO 2023163506 A1 WO2023163506 A1 WO 2023163506A1 KR 2023002544 W KR2023002544 W KR 2023002544W WO 2023163506 A1 WO2023163506 A1 WO 2023163506A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
target
access control
control application
application
Prior art date
Application number
PCT/KR2023/002544
Other languages
French (fr)
Korean (ko)
Inventor
김영랑
Original Assignee
프라이빗테크놀로지 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 프라이빗테크놀로지 주식회사 filed Critical 프라이빗테크놀로지 주식회사
Publication of WO2023163506A1 publication Critical patent/WO2023163506A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols

Definitions

  • the present invention claims the benefit of priority based on Korean Patent Application No. 10-2022-0023474 filed on February 23, 2023, and includes all contents disclosed in the literature of the Korean patent application as part of this specification.
  • Embodiments disclosed in this document relate to a system and method for controlling file transmission and reception of an application.
  • Multiple devices may communicate data over a network.
  • the terminal may transmit or receive data with a server through the Internet.
  • the network may include a private network such as an intranet as well as a public network such as the Internet.
  • the terminal performs communication with the server by utilizing 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.
  • IP Internet Protocol
  • TCP Transmission Control Protocol
  • UDP User Datagram Protocol
  • Firewall technology may be used.
  • VPN virtual private network
  • tunneling technology for encrypting data packets between a terminal and a server are used.
  • DLP Data Loss Prevention
  • Such DLP technology may not be able to prevent unauthorized media from being connected in an area where physical security control is unavailable and in a telecommuting environment using personally owned terminals where there is a limit to the application of security policies.
  • the DLP technology that tracks a specific action may not be able to prevent, for example, a non-user malicious code directly loading and transmitting a file without a file selection window when the specific action is not performed.
  • the DLP technology which tracks file input/output of a specific application, tracks file input/output targeting a specific application and blocks it collectively, it may be difficult to allow file transmission on a network connected by the application.
  • DLP which provides a way to release file input/output restrictions by identifying the access address window of the Internet browser
  • network access information cannot be traced, so there are limitations in controlling file reception and transmission. There may be.
  • DRM Digital Rights Management
  • a technology that can encrypt the file uploaded to the cloud in a form that cannot be decrypted even if the file uploaded to the cloud is downloaded by a target other than the target having ownership is required.
  • a file is uploaded to a business server that exists on a network that is necessary and can be controlled by the target application, it is an optional file that does not perform separate encryption at the terminal so that the service application that exists on the server can process its own encryption. Encryption technology is required.
  • a node includes communication circuitry, a processor operatively connected to the communication circuitry, and a memory operatively connected to the processor and storing an access control application and a target application;
  • the memory checks whether a data flow allocated to the target application exists through the access control application, and the If there is a data flow allocated to the target application, through the access control application, the type of file IO of the target application is checked, and if the type of the checked file IO is write, through the access control application, When the file decryption process is performed and the type of the identified file IO is read, commands for performing the file encryption process may be stored through the access control application.
  • a server includes a communication circuit, a processor operatively connected to the communication circuit, and a memory operatively connected to the processor and storing a database, wherein the memory comprises: When executed by a processor, the server receives a file decryption request from the access control application of the node, the file decryption request includes file identification information of a file input output (IO) target file, and the file identification information Check whether file IO table information for the target file exists in the database using the database, and if the file IO table information exists, check whether or not to decrypt the file based on the file IO table information, , Commands for transmitting a response indicating whether or not the file is decrypted for the target file to the access control application of the node may be stored.
  • IO file input output
  • a server includes a communication circuit, a processor operatively connected to the communication circuit, and a memory operatively connected to the processor and storing a database, wherein the memory comprises: When executed by a processor, the server receives a file encryption request from the access control application of the node, the file encryption request includes file identification information of a file input output (IO) target file, and the file identification information Check whether file IO table information for the target file exists in the database using the database, and if the file IO table information exists, check whether the file is encrypted for the target file based on the file IO table information, , Commands for transmitting a response indicating whether or not the target file is encrypted to the access control application of the node may be stored.
  • IO file input output
  • a method of operating a server includes receiving a file decryption request from an access control application of a node, the file decryption request including file identification information of a file input output (IO) target file, An operation of checking whether file IO table information for the target file exists in the database of the server using the file identification information, and if the file IO table information exists, the target file based on the file IO table information and an operation of transmitting a response indicating whether or not the file has been decrypted for the target file to the access control application of the node.
  • IO file input output
  • a method of operating a server includes receiving a file encryption request from an access control application of a node, the file encryption request including file identification information of a file input output (IO) target file, An operation of checking whether file IO table information for the target file exists in the database of the server using the file identification information, and if the file IO table information exists, the target file based on the file IO table information It may include an operation of checking whether a file is encrypted for , and an operation of transmitting a response indicating whether or not the file is encrypted for the target file to the access control application of the node.
  • IO file input output
  • the file when receiving or transmitting a file, the file may be selectively encrypted or decrypted according to the policy of the controller.
  • FIG. 1 illustrates an architecture within a network environment in accordance with various embodiments.
  • FIG. 2 is a functional block diagram illustrating a database stored in a controller according to various embodiments.
  • FIG. 3 illustrates control flow information, data flow information, and file IO table information among information included in a database according to various embodiments.
  • FIG. 4 is a functional block diagram of a node in accordance with various embodiments.
  • FIG. 6 shows a signal flow diagram for controller connection according to various embodiments.
  • FIG. 7 illustrates a signal flow diagram for user authentication according to various embodiments.
  • FIG. 8 illustrates a user interface screen for accessing a controller according to various embodiments.
  • FIG 9 illustrates a signal flow diagram for network access according to various embodiments.
  • FIG. 10 is a flowchart illustrating an operation of a node for monitoring file input/output access according to various embodiments.
  • 11 is a flowchart illustrating an operation of a node for examining a file input/output table according to various embodiments.
  • 12 is a signal flow diagram for checking file write information according to various embodiments.
  • 13 is a signal flow diagram for checking file read information according to various embodiments.
  • FIG. 14 illustrates a flow diagram of an operation of a node for data packet transmission according to various embodiments.
  • 15 illustrates a signal flow diagram for control flow update according to various embodiments.
  • FIG. 16 illustrates a signal flow diagram for control flow cancellation according to various embodiments.
  • 17 shows a signal flow diagram for data flow cancellation according to various embodiments.
  • a (e.g., first) component is said to be “coupled” or “connected” to another (e.g., second) component, with or without the terms “functionally” or “communicatively.”
  • the certain component may be connected to the other component directly (eg by wire), wirelessly, or through a third component.
  • Each component (eg, module or program) of the components described in this document may include singular or plural 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 modules or programs) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by a corresponding component of the plurality of components prior to the integration. . According to various embodiments, the actions performed by a module, program, or other component are executed sequentially, in parallel, iteratively, or heuristically, or one or more of the actions are executed in a different order, or omitted. or one or more other actions may be added.
  • module used in this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit, for example.
  • a module may be an integrally constructed component or a minimal unit of components or a portion thereof that performs one or more functions.
  • the module may be implemented in the form of an application-specific integrated circuit (ASIC).
  • ASIC application-specific integrated circuit
  • Various embodiments of this document may be implemented as software (eg, a program or application) including one or more instructions stored in a storage medium (eg, memory) readable by a machine.
  • the processor of the device may call at least one command among one or more commands stored from a storage medium and execute it. This enables the device to be operated to perform at least one function according to the at least one command invoked.
  • 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.
  • 'non-temporary' only means that the storage medium is a tangible device and does not contain a signal (e.g. electromagnetic wave), and this term refers to the case where data is stored semi-permanently in the storage medium. It does not discriminate when it is temporarily stored.
  • Computer program products may be traded between sellers and buyers as commodities.
  • a computer program product is distributed in the form of a device-readable storage medium (eg compact disc read only memory (CD-ROM)), or through an application store or between two user devices (eg smartphones). It can be distributed (e.g., downloaded or uploaded) directly or online.
  • a device-readable storage medium such as a manufacturer's server, an application store server, or a relay server's memory.
  • FIG. 1 illustrates an architecture within a network environment according to various embodiments.
  • the node 201 shown in FIG. 1 may be various types of devices capable of performing data communication.
  • 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 it may include a home appliance, but is not limited to the aforementioned devices.
  • node 201 may include a server or gateway capable of transmitting data packets through an application.
  • the node 201 may also be referred to as an 'electronic device' or a 'terminal'.
  • Node 201 may store a plurality of target applications 211-1, 211-2, 211-3 and a connection control application 212.
  • Each of the target applications 211-1, 211-2, and 211-3 is directed to the service servers 205-1 and 205-2 through the gateways 203-1 and 203-2 under the control of the access control application 212. It can transmit data packets or conversely receive data packets.
  • the access control application 212 identifies a program (or target application, process of the target application) requesting data packet transmission, and transmits the data packet of the disallowed program to the outside of the node 201. can prevent it from happening.
  • the access control application 212 is a secure session (220-1, 220-2) between the access control application 212 and the gateways (203-1, 203-2) of the unauthorized program. Access to the service servers 205-1 and 205-2 may be blocked and corresponding programs may be quarantined.
  • the access control application 212 controls the controller 202 ), whether access is possible, and if access is possible, authentication may be performed with the gateways 203-1 and 203-2 through data packets authenticated by the controller 202.
  • the access control application 212 may create a secure session with the gateways 203-1 and 203-2 and the secure sessions 220-1 and 220-2.
  • the node 201 includes an access control application 212 and a network driver (not shown) for managing network access of the target applications 211-1, 211-2, and 211-3 stored in the node 201. city) may be included.
  • the access control application 212 may determine whether the target applications 211-1, 211-2, and 211-3 are accessible. If the target applications 211-1, 211-2, and 211-3 are accessible, the access control application 212 connects to the gateways 203-1 and 203-2 through the secure sessions 220-1 and 220-2. data packets can be transmitted.
  • the access control application 212 may control transmission of data packets within the node 201 through a kernel including an operating system and network drivers.
  • the access control application 212 may monitor and control file system input output (IO) in the kernel.
  • File system IO refers to input and/or output generated by an arbitrary application (or arbitrary process) in the kernel's file system.
  • the file system IO includes an operation of writing specific information to the file system, reading specific information of the file system, or updating the file system.
  • any application or any process must acquire a handle (eg, file handle) to use the file system.
  • the access control application 212 uses a file system driver (not shown) or a file IO control module (not shown) capable of monitoring file system IO through hooking for file system IO events to monitor file system IO.
  • a file system driver not shown
  • a file IO control module not shown
  • can include File system IO can also be referred to as file IO.
  • the file IO control module may identify which of the target applications 211-1, 211-2, and 211-3 is accessing the file system (or accessing the file IO) by monitoring the file IO.
  • the file IO control module may check whether the application can access the file IO in association with a network to which the corresponding application is connected through identification information and a process identifier (PID) of the application related to the data flow.
  • PID process identifier
  • the file IO control module when the application cannot access the file IO, processes the application so that it can no longer access the file IO, allowing the node 201 to control file transmission and file reception in detail.
  • the file IO control module can remove the file IO handle so that the application can no longer access the file IO when the application cannot access the file IO. Removal of a file IO handle may also be referred to as file IO removal.
  • the controller 202 may be, for example, a server (or cloud server).
  • the controller 202 manages data transmission between the node 201, the gateways 203-1 and 203-2, and the service servers 205-1 and 205-2 to ensure reliable data transmission within the network environment.
  • the controller 202 may allow the network access of the authorized node 201 (or the access control application 212) through policy information or blacklist information.
  • the controller 202 mediates the creation of secure sessions 220-1 and 220-2 between the access control application 212 and the gateways 203-1 and 203-2, or the node 201 or the gateway 203 According to the security events collected from -1 and 203-2, the security sessions 220-1 and 220-2 may be removed.
  • the access control application 212 can communicate with the service servers 205-1 and 205-2 only through the security sessions 220-1 and 220-2 authorized by the controller 202, and the authorized security session ( If the nodes 220-1 and 220-2 do not exist, network access of the node 201 and the access control application 212 may be blocked.
  • the target applications 211-1, 211-2, and 211-3 may access the service servers 205-1 and 205 only through the secure sessions 220-1 and 220-2 authorized by the controller 202. -2), and if there is no authorized secure session (220-1, 220-2), the network access of the target applications (211-1, 211-2, 211-3) is the access control application (212 ), can be blocked from the controller 202 or gateway 203.
  • the controller 202 is an access control application (eg, registration, approval, authentication, renewal, termination) associated with network access of the node 201 or access control application 212 212) and control data packets can be transmitted and received.
  • a flow through which the control data packet is transmitted (eg, 230) may be referred to as a 'control flow'.
  • the gateways 203-1 and 203-2 may be located at the boundary of the network to which the node 201 belongs or the boundary of the network to which the service servers 205-1 and 205-2 belong. According to one embodiment, the gateways 203-1 and 203-2 may be connected to the controller 202 based on a cloud. The gateways 203-1 and 203-2 may forward only authorized data packets among data packets received from the access control application 212 to the service servers 205-1 and 205-2. A flow in which data packets are transmitted between the access control application 212 and the gateways 203-1 and 203-2 (eg, 240-1 and 240-2) 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 (e.g., on an application basis).
  • the gateways 203-1 and 203-2 are connected to the access control application 212 prior to the creation of secure sessions 220-1 and 220-2 between the access control application 212 and the gateways 203-1 and 203-2.
  • indiscriminate prevention Network access can be blocked in advance.
  • FIG. 2 is a functional block diagram showing a database stored in the controller 202 according to various embodiments, and FIG. 3 shows control flow information 340, data flow information 350, and file IO table information among information included in the database ( 360).
  • the controller 202 may store databases 311 to 317 for controlling network access and data transmission in a memory 330 .
  • the controller 202 may include an external electronic device (e.g., node 201 in FIG. 1, gateways 203-1 and 203-2) or service servers 205-1 and 205- 2)) further includes a communication circuit (eg, the communication circuit 430 of FIG. 4 ) and a processor (eg, the processor 410 of FIG. 4 ) for controlling the overall operation of the controller 202 for performing communication with the can do. Since the administrator can connect to the controller 202 and set a connection-oriented policy for controlling access between the access control application 212 and the service servers 205-1 and 205-2, the service side manages the session. You can control network access more precisely and securely.
  • the access policy database 311 may include information about networks and/or services to which the identified networks, nodes, or applications may access.
  • the controller 202 when requesting network access from the access control application 212, identifies a network (eg, a network to which the node 201 belongs), a node, and a user based on a policy of the access policy database 311. (eg, a user of the node 201), and/or an application (eg, a target application 211-1, 211-2, or 211-3 included in the node 201) service servers 205-1, 205 It is possible to determine whether access to -2) is possible.
  • the controller 202 sets a whitelist of target applications 211-1, 211-2, and 211-3 that can be accessed by a specific service (eg, IP and port) based on the access policy database 311. can create
  • the file IO policy database 312 is associated with an access policy and may include information for establishing a file IO policy for the target applications 211-1, 211-2, and 211-3.
  • the file IO policy database 312 includes information on whether or not to allow file reception and transmission of the target applications 211-1, 211-2, and 211-3, and terminals (eg, nodes). (201)) may include access authority information for each file associated with identification information of the user, terminal, application, and network regarding whether to allow file writing or file reading with respect to the requested file.
  • the file IO policy database 312 may include whether to encrypt a file, whether to encrypt a file, an algorithm to be used when encrypting and decrypting a file, and information on generating a file encryption and decryption key.
  • the blacklist policy database 313 is a target identified through analysis of the risk, occurrence cycle, and/or behavior of security events among security events periodically collected by the node 201 or the gateways 203-1 and 203-2 ( Example: A blacklist registration policy for blocking access of at least one of a node identifier (ID), an IP address, a media access control (MAC) address, or a user ID) may be indicated.
  • ID node identifier
  • MAC media access control
  • the blacklist database 314 may include a list of objects blocked by the blacklist policy database 313 .
  • the controller 202 may isolate the node 201 by denying the network access request when identification information of the node 201 requesting network access is included in the blacklist database 314 .
  • the control flow table 315 is an example of a session table for managing the flow of control data packets generated between the connection control application 212 and the controller 202 (ie, control flow).
  • control flow information 340 and control flow ID 342 may be generated by the controller 202 .
  • the control flow information 340 may include identification information 344 indicating at least one of an IP identified during controller access and authentication, a node, an application, or an object additionally identified through association with a service server.
  • the controller 202 converts the control flow ID and identification information included in the access request to the control flow ID 342 and control flow ID 342 included in the control flow information 340.
  • State information 346 may indicate various states such as creation, authentication, renewal, termination, and the like of the control flow.
  • the node 201 since the control flow has an expiration time, the node 201 needs to update the expiration time of the control flow based on the time information 348, and if the expiration time is not updated for a certain period of time, the control flow ( Alternatively, the control flow information 340 may be removed. In addition, it is determined that immediate blocking of access is necessary according to the node 201, the access control application 212, other security applications (not shown), or security events collected from the gateways 203-1 and 203-2; When a connection termination request is received from them, the controller 202 may remove the control flow. When the control flow is removed, the associated data flow is also removed, and the gateways 203-1 and 203-2 connect the access control application 212 or the service server 205 of the target applications 211-1, 211-2 and 211-3. -1, 205-2) can be blocked.
  • the data flow table 316 is a flow (e.g., data flow ) is a table for managing Data flows can be created in TCP sessions, applications, or more granular units.
  • the data flow table 316 may include an application ID, destination IP address, and/or service port for identifying whether a data packet transmitted from a source is an authorized data packet.
  • data flow information 350 may include a data flow ID 351 and a control flow ID 352 when the data flow is dependent on the control flow.
  • the data flow information 350 includes authorized destination information 353 for determining forwarding of the data packet based on the source IP and destination IP and port of the data packet, a state indicating whether the data flow is in a valid state that can be used information 355 and/or time information 356 representing authentication expiration time information of the data flow.
  • the data flow information 350 may further include authorized file IO information 354 .
  • the authorized file IO information 354 may include information on whether to allow file IO access (eg, access such as read and write) of an application.
  • the authorized file IO information 354 may include information on whether writing is possible and writable path information at the time of file IO for file reception by an application.
  • the authorized file IO information 354 may include readable information and readable path information at the time of file IO for file transmission by an application.
  • the authorized file IO information 354 includes information about whether the application applying the data flow allows file IO (eg, file IO processing exception).
  • the authorized file IO information 354 depends on whether the controller 202 needs to check the file write information when the application writes a file, and whether the file read information needs to be checked by the controller 202 when the application reads a file. information may be included.
  • the authorized file IO information 354 may include whether file encryption is required and whether file decryption is required.
  • the file IO table 317 is a database for recording and managing file IOs generated by the node 201, and may include file IO table information 360.
  • the file IO table information 360 includes a PID 361 of a process in which file system IO occurs and application identification information 362 for identifying an application (eg, application name and execution path, unique information, etc.) ) may be included.
  • the file IO table information 360 may include a data flow ID 363 for association with network access control information when a file system IO occurs while the data flow is identified.
  • the file IO table information 360 includes file IO information 364 about the type of file system IO (e.g., reading and/or writing), a key to be used when encrypting and decrypting a file, and types of encryption and decryption algorithms.
  • file information 366 including encryption/decryption information 365, path where file system IO occurred, file name, and/or unique information for managing files (eg, hash and signature, header information, etc.), file IO termination, whether to release file IO according to disallowed file IO, whether a file read request (or 'request to check file read information') is required, and a file write request (or 'request to check file write information') It can be referred to as.) State information 367 including information on whether it is needed, and/or file IO time information 368 indicating the time at which file IO occurred.
  • FIG. 4 shows a functional block diagram of node 201 according to various embodiments. At least some of the configurations shown in FIG. 4 may be applied to the controller 202, gateways 203-1 and 203-2, or service servers 205-1 and 205-2.
  • a node 201 may include a processor 410 , a memory 420 , and a communication circuit 430 . According to one embodiment, node 201 may further include a display 440 to provide a user interface.
  • the processor 410 may control the overall operation of the node.
  • the processor 410 may include a single processor core or may include a plurality of processor cores.
  • the processor 410 may include multi-cores such as dual-core, quad-core, and hexa-core.
  • the processor 410 may further include an internal or external cache memory.
  • the processor 410 may be configured with one or more processors.
  • the processor 410 may include at least one of an application processor, a communication processor, or a graphical processing unit (GPU).
  • GPU graphical processing unit
  • processor 410 is electrically or operatively (eg, memory 420, communication circuitry 430, or display 440) in node 201 (e.g., memory 420). It can be operatively coupled with or connected to.
  • the processor 410 may receive commands from other components, interpret the received commands, and perform calculations or process data according to the interpreted commands.
  • the processor 410 may interpret and process messages, data, commands, or signals received from the memory 420 , the communication circuit 430 , or the display 440 .
  • the processor 410 may generate a new message, data, command, or signal based on the received message, data, command, or signal.
  • Processor 410 may provide processed or generated messages, data, instructions, or signals to memory 420 , communication circuitry 430 , or display 440 .
  • the processor 410 may process data or signals generated or generated by a program. For example, the processor 410 may request instructions, data, or signals from the memory 420 to execute or control a program. The processor 410 may record (or store) or update instructions, data, or signals in the memory 420 to execute or control a program.
  • the memory 420 may store commands for controlling nodes, control command codes, control data, or user data.
  • the memory 420 may include at least one of an application program, an operating system (OS), middleware, or a device driver.
  • 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).
  • DRAM dynamic random access memory
  • SRAM static RAM
  • SDRAM synchronous DRAM
  • PRAM phase-change RAM
  • MRAM magnetic RAM
  • RRAM resistive RAM
  • FeRAM ferroelectric RAM
  • the nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, and the like.
  • the memory 420 uses a
  • the memory 420 may store the target applications 211-1, 211-2, and 211-3 of FIG. 1 and the access control application 212.
  • the access control application 212 may perform network access and secure sessions 220-1 and 220-2 with the gateways 203-1 and 203-2, and control flow creation and update functions with the controller 202. there is.
  • the access control application 212 may include one or more security modules.
  • the memory 420 may store control flow information 340 , data flow information 350 , and file IO table information 360 of FIG. 3 .
  • the target applications 211-1, 211-2, and 211-3 use one or more security modules to create secure sessions 220-1 and 220-2 with the gateways 203-1 and 203-2.
  • the communication circuit 430 establishes a wired or wireless communication connection between the node 201 and an external electronic device (eg, the controller 202 or the gateways 203-1 and 203-2), and performs communication through the established connection.
  • the communication circuit 430 may be a wireless communication circuit (eg, cellular communication circuit, short-range wireless communication circuit, or global navigation satellite system (GNSS) communication circuit) or a wired communication circuit (eg, a local area network (LAN)).
  • GNSS global navigation satellite system
  • LAN local area network
  • communication circuit or power line communication circuit
  • a short-distance communication network such as Bluetooth, WiFi direct, or IrDA (infrared data association) or a cellular network
  • IrDA infrared data association
  • long-distance communication such as the Internet
  • computer network It may communicate with an external electronic device through a network.
  • the various types of communication circuits 430 described above may be implemented as a single chip or may be implemented as separate chips.
  • the display 440 may output content, data, or signals.
  • the display 440 may display image data processed by the processor 410 .
  • the display 440 may be configured as an integral touch screen by being combined with a plurality of touch sensors (not shown) capable of receiving a touch input.
  • a plurality of touch sensors may be disposed above the display 440 or below the display 440 .
  • the access control application 212 detects a network access request to the service server 205 from the target application 211 included in the node 201, and the node 201 or the access control application 212 ) can determine whether or not the controller 202 is in a connected state.
  • the access control application 212 may block transmission of data packets in a kernel or network driver included in an operating system.
  • the node 201 may block access of malicious applications in advance in an application layer among seven layers of open system interconnection (OSI).
  • OSI open system interconnection
  • the access control application 212 is not connected to the controller 202, the access control application 212 has not been authenticated by the gateway 203, or the access control application 212 is not connected. If a secure session is not created between the gateways 203, data packets transmitted from the access control application 212 are blocked by the gateway 203, and the access control application 212 may request access to the controller 202. only Depending on the embodiment, even if the access control application 212 is not authenticated by the gateway 203, a data packet transmitted from the access control application 212 may not be blocked by the gateway 203.
  • unauthorized data packets may be transmitted from the node 201.
  • the gateway 203 present at the boundary of the network blocks data packets that are received as an unauthorized secure session and data packets that do not have a data flow, the data packets transmitted from the node 201 (e.g., TCP session data packets for generation) may not reach the service server 205 .
  • node 201 can be isolated from service server 205 .
  • FIG. 6 shows a signal flow diagram for controller connection according to various embodiments.
  • the access control application 212 of the node 201 requests the controller 202 to create a control flow so that the node 201 You can try to connect to the controller of
  • node 201 may detect a controller connection event. For example, when connection control application 212 is installed and/or executed within node 201, node 201 may detect that a connection to controller 202 is being requested.
  • node 201 may request controller connection from controller 202 .
  • the connection control application 212 can transmit identification information of the connection control application 212 to the controller 202 .
  • the access control application 212 may include 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 Arbitrary identification information generated by the system itself may be further transmitted.
  • the controller 202 may identify whether or not the controller access of the target (eg, the access control application 212 and the node 201 ) requesting the controller connection is possible.
  • the controller 202 controls whether information received from the node 201 is included in the access policy database 311, the node 201, the network to which the node 201 belongs, and/or access control. Based on at least one of whether the identification information of the application 212 is included in the blacklist database 314 , it is possible to determine whether the controller access of the object requesting the controller access is possible.
  • the controller 202 can create a control flow between the node 201 (or the connection control application 212 ) and the controller 202 , the controller 202 can create a control flow.
  • the controller 202 generates control flow identification information in the form of random numbers, and converts identification information of at least one of the node 201, the network to which the node 201 belongs, or the access control application 212 into a control flow table ( 315) can be stored.
  • Information e.g., control flow information 340 stored in the control flow table 315 is used for user authentication of the node 201, information update of the node 201, policy check for network access of the node 201, and/or Or it can be used for validation.
  • the controller 202 may check an access policy corresponding to the information identified in the access policy database 311 (eg, the node 201 and source network information to which the node 201 belongs). The controller 202 may generate whitelist information of accessible applications based on the checked access policy. In other embodiments, the controller 202 may not perform operation 620. For example, if it is not possible to access the controller of the object requesting access, the controller 202 may not perform operation 620 .
  • the controller 202 may transmit a response to the controller connection request to the node 201 .
  • the controller 202 may transmit control flow information 340 including control flow identification information to the node 201 in response to the controller connection request.
  • the controller 202 may transmit the white list generated through the execution of operation 620 to the connection control application 212 .
  • the controller 202 may notify controller access failure in response to the controller access request without generating a control flow.
  • node 201 may process the resulting value according to the received response.
  • the connection control application 212 may store the received control flow identification information and display a user interface screen (not shown) indicating completion of the controller connection to the user.
  • the network access request of the node 201 to the service server 205 may be controlled by the controller 202 .
  • the controller 202 may determine that the node 201 is inaccessible. For example, when controller access unavailability information is received, the node 201 may output a user interface screen indicating that controller access is unavailable to the user.
  • the user interface screen may include a user interface indicating that access to the node 201 is blocked and guiding isolation release through an administrator (eg, the controller 202).
  • the access control application 212 of the node 201, the controller 202, and the gateway 203 may further perform operations 630 to 650. According to embodiments, the access control application 212 of the node 201, the controller 202, and the gateway 203 may perform all or part of operations 630 to 650.
  • the access control application 212 may perform a check of the application. For example, when the white list is received from the controller 202 , the access control application 212 may check whether applications included in the white list are installed in the node 201 . In the case of applications included in the white list among the applications installed on the node 201, the access control application 212 checks the integrity and stability of the application (eg whether or not the application is forged or tampered with, code signing inspection, fingerprint inspection) according to the validation policy. at least one of them) can be checked.
  • the integrity and stability of the application eg whether or not the application is forged or tampered with, code signing inspection, fingerprint inspection
  • the access control application 212 may send the application's test result to the controller 202 .
  • the controller 202 may check whether the application is valid based on the check result. If the application is valid, the controller 202 checks the gateways 203-1 and 203-2 where the node 201 is located in the access policy for the node 201 to allow the node 201 to access the network, Thereafter, operation 640 may be performed.
  • the controller 202 determines the originating node 201 to transmit data packets to the service servers 205-1 and 205-2 via the gateways 203-1 and 203-2 without a network connection request procedure.
  • Data flows can be created based on IP, destination IP and port information.
  • the controller 202 may check a file IO policy when creating a data flow and generate authorized file IO information 354 based on the file IO policy.
  • the data flow information 350 of the data flow may include the generated authorized file IO information 354 .
  • the authorized file IO information 354 may include policy information related to file IO access of an application using a data flow.
  • the authorized file IO information 354 may include information about whether or not to allow an application's file IO access (eg, read or write access).
  • the authorized file IO information 354 may include information about a file path to which an application is permitted access and/or a file path to which access is not permitted.
  • the controller 202 may transmit a response to the transmission of the application check result of the connection control application 212 .
  • the controller 202 may transmit data flow information 350 including authorized file IO information 354 to the access control application 212 .
  • the controller 202 may transmit data flow information 350 including the authorized file IO information 354 to the gateway 203 .
  • FIG. 7 illustrates a signal flow diagram for user authentication according to various embodiments
  • FIG. 8 illustrates a user interface screen for controller access according to various embodiments. Operations shown in FIG. 7 may be implemented after the signal flow diagram of FIG. 6 , for example.
  • the access control application 212 of the node 201 may authenticate the user of the node 201 from the controller 202 .
  • node 201 may receive an input for user authentication.
  • An input for user authentication may be, for example, a user input for inputting a user ID and password.
  • the input for user authentication may be a user input (eg, biometric information) for stronger authentication.
  • the node 201 may display a user interface screen 810 for receiving information required for controller access.
  • the user interface screen 810 may include an input window 811 for inputting a user ID and/or an input window 812 for inputting a password.
  • the node 201 may detect a controller connection event by receiving an input to the button 813 for user authentication.
  • node 201 may request user authentication from controller 202 .
  • the access control application 212 may transmit input information for user authentication to the controller 202 . If the control flow between the node 201 and the controller 202 has already been created, the access control application 212 may transmit input information for user authentication together with control flow identification information.
  • controller 202 may authenticate the user based on the information received from node 201 .
  • the controller 202 may use the user ID, password, and/or enhanced authentication information included in the received information and a database included in the memory of the controller 202 (eg, the access policy database 311 of FIG. 2 ). ) or the blacklist database 314), it is possible to determine whether the user is accessible according to the access policy and whether the user is included in the blacklist.
  • the controller 202 checks the control flow information 340 in the control flow table 315 based on the control flow identification information transmitted by the node 201, and in the checked control flow information 340 User identification information (e.g. user ID) can be added. The added user identification information can be used for the authenticated user's controller access or network access.
  • User identification information e.g. user ID
  • the controller 202 may check an access policy corresponding to the information identified in the access policy database 311 (eg, the node 201 and source network information to which the node 201 belongs). The controller 202 may generate white list information of accessible applications based on the checked access policy. In other embodiments, the controller 202 may not perform operation 720. For example, if access to the controller of the target requesting access is not possible, the controller 202 may not perform operation 720 .
  • controller 202 may transmit a response to the user authentication request to node 201 .
  • the controller 202 may transmit information indicating that the user is authenticated to the node 201 in response to the user authentication request.
  • the controller 202 may transmit the white list generated through the execution of operation 720 to the connection control application 212 .
  • the controller 202 may notify the controller 202 of inability to access the controller in response to the user authentication request.
  • node 201 may process the resulting value for user authentication.
  • the node 201 may output a user interface screen indicating completion of user authentication to the user through a display.
  • the controller 202 may determine that user authentication is impossible. For example, if the user's identification information is included in the blacklist database, the controller 202 may determine that user authentication is impossible. In this case, in operation 725, the controller 202 may transmit information indicating that user authentication is impossible to the node 201, and the node 201 may output a user interface screen indicating that user authentication has failed through the display.
  • node 201 may display user interface screen 820 via access control application 212 .
  • the user interface screen 820 may include a user interface 825 indicating that access to the node 201 is blocked and guiding isolation release through an administrator (eg, the controller 202).
  • the access control application 212 of the node 201, the controller 202, and the gateway 203 may further perform operations 730 to 750.
  • the access control application 212 of the node 201, the controller 202, and the gateway 203 may perform all or part of operations 730 to 750.
  • the access control application 212 may perform a check of the application. For example, when the white list is received from the controller 202 , the access control application 212 may check whether applications included in the white list are installed in the node 201 . In the case of applications included in the white list among the applications installed on the node 201, the access control application 212 checks the integrity and stability of the application (eg whether or not the application is forged or tampered with, code signing inspection, fingerprint inspection) according to the validation policy. at least one of them) can be checked.
  • the integrity and stability of the application eg whether or not the application is forged or tampered with, code signing inspection, fingerprint inspection
  • the access control application 212 may send the application's test result to the controller 202 .
  • the controller 202 may verify whether the application is valid based on the inspection result. If the application is valid, the controller 202 checks the gateways 203-1 and 203-2 where the node 201 is located in the access policy for the node 201 to allow the node 201 to access the network, Thereafter, operation 740 may be performed.
  • the controller 202 determines the originating node 201 to transmit data packets to the service servers 205-1 and 205-2 via the gateways 203-1 and 203-2 without a network connection request procedure.
  • Data flows can be created based on IP, destination IP and port information.
  • the controller 202 may check a file IO policy when creating a data flow and generate authorized file IO information 354 based on the file IO policy.
  • the data flow information 350 of the data flow may include the generated authorized file IO information 354 .
  • the authorized file IO information 354 may include policy information related to file IO access of an application using a data flow.
  • the authorized file IO information 354 may include information about whether or not to allow an application's file IO access (eg, read or write access).
  • the authorized file IO information 354 may include information about a file path to which an application is permitted access and/or a file path to which access is not permitted.
  • the controller 202 may transmit a response to the transmission of the application check result of the connection control application 212 .
  • the controller 202 may transmit data flow information 350 including authorized file IO information 354 to the access control application 212 .
  • the controller 202 may transmit data flow information 350 including the authorized file IO information 354 to the gateway 203 .
  • FIG. 9 illustrates a signal flow diagram for network access according to various embodiments, and the operations shown in FIG. 9 may be implemented after the signal flow diagram of FIG. 6 or FIG. 7 , for example.
  • node 201 may detect a network connection event. For example, node 201 can detect through access control application 212 that a target application is attempting to connect to service server 205 .
  • the connection control application 212 may inspect the data flow when a network connection event is detected. For example, the access control application 212 may check whether a data flow corresponding to identification information, destination IP and/or port information of the target application exists. In addition, the access control application 212 may check whether the corresponding data flow is valid even if the data flow exists. For example, the access control application 212 checks the integrity and safety of the access control application 212 and the target application according to the validation policy (eg, forgery or tampering of the application, code signing inspection, fingerprint inspection) And, according to the access policy received from the controller 202, whether or not access to the destination IP and port of the target application installed in the node 201 is possible may be checked.
  • the validation policy eg, forgery or tampering of the application, code signing inspection, fingerprint inspection
  • the access control application 212 can skip the following operations and transmit the target application's data packet to the gateway 203 over the secure session.
  • connection control application 212 may display a user interface screen indicating that the network connection has failed without transmitting the data packet.
  • the access control application 212 may request the controller 202 to connect to the network. there is. According to an embodiment, the access control application 212 performs integrity and safety checks of the access control application 212 and the target application according to a validation policy before requesting network access, and when the integrity and stability of the application are confirmed, the controller 202 may be requested for network access.
  • the access control application 212 may request the controller 202 to connect to the network to the service server 205 .
  • the access control application 212 may transmit target application identification information and identification information (eg, IP and service port) of the service server 205 to the controller 202 together with identification information of the control flow.
  • the controller 202 may check the access policy and file IO policy associated with the target application in response to the request received from the access control application 212 .
  • the controller 202 may check whether the target application satisfies the access policy of the access policy database 311 . For example, the controller 202 determines whether or not identification information of a target (eg, target application) requesting network access and the requested target (eg, service server 205) are included in the access policy database 311 and network access. It is possible to check whether the requesting target can access the gateway.
  • a target eg, target application
  • the requested target eg, service server 205
  • the controller 202 may transmit information indicating that access is impossible to the node 201 in operation 920 .
  • the connection control application 212 may output a user interface screen indicating that connection is impossible through the display.
  • the controller 202 checks the authorized file IO information 354 related to the target (eg, the target application) requesting access, and establishes the access based on the authorized file IO information 354. You can check whether file IO access of the requested object (e.g. target application) is allowed. Confirmation of whether file IO access is allowed is whether to allow the application's file IO access (eg, access such as read or write), or the file path to which the application is allowed access, and/or It can include checks for file paths that are not allowed to be accessed.
  • the authorized file IO information 354 related to the target eg, the target application
  • the controller 202 checks the authorized file IO information 354 related to the target (eg, the target application) requesting access, and establishes the access based on the authorized file IO information 354. You can check whether file IO access of the requested object (e.g. target application) is allowed. Confirmation of whether file IO access is allowed is whether to allow the application's file IO access (eg, access
  • the controller 202 may check whether a data flow accessible to the destination IP and port exists in the data flow table 316 in order to allow the node 201 to access the network.
  • the controller 202 will create a data flow allowing an object (eg target application) to access the network between the node 201 and the service servers 205-1 and 205-2.
  • the controller 202 may generate data flow information 350 based on information such as source IP, destination IP and port information, and authorized file IO information 354 .
  • the authorized file IO information 354 may be generated according to a file IO policy.
  • the controller 202 may check a file IO policy when creating a data flow and generate authorized file IO information 354 based on the file IO policy.
  • the data flow information 350 of the data flow may include the generated authorized file IO information 354 .
  • the authorized file IO information 354 may include policy information related to file IO access of an application using a data flow.
  • the authorized file IO information 354 may include information about whether or not to allow an application's file IO access (eg, read or write access).
  • the authorized file IO information 354 may include information about a file path to which an application is permitted access and/or a file path to which access is not permitted.
  • the controller 202 may transmit a response to the network access request of the access control application 212 to the node 201 .
  • the controller 202 may transmit the data flow information 350 generated through the execution of operation 915 to the connection control application 212 .
  • the controller 202 may notify the network connection failure in response to the network access request.
  • Node 201 may process the resulting value according to the received response.
  • the access control application 212 may store the received data flow information 350 and perform a file IO table check if a network connection is available.
  • the node 201 may drop a data packet of the target application.
  • the node 201 may remove the file system IO of the target application (or remove the file system IO handle).
  • the controller 202 may transmit data flow information 350 to the gateway 203 .
  • FIG. 10 is a flowchart illustrating an operation of a node for monitoring file input/output access according to various embodiments.
  • the following operation flow chart may be implemented by node 201 or connection control application 212 installed on node 201 .
  • connection control application 212 may detect a file input/output access event. For example, the access control application 212 may determine that a file input/output access event has occurred when the target applications 211-1, 211-2, and 211-3 (or their processes) access the file IO system.
  • the access control application 212 may check the PID of the process accessing the file IO system, and check whether a data flow assigned to the corresponding PID exists. If the data flow exists, the connection control application 212 can perform operation 1020. If the data flow does not exist, the connection control application 212 may perform operation 1015 .
  • access control application 212 may store file IO information in file IO table 317 .
  • access control application 212 may provide identified file IO information (eg, file location, file name, type of file IO (eg, file read or write), and/or file IO time information) of that process. It can be stored in the file IO table 317. Then, when the corresponding process accesses the network, the access control application 212 searches the details in the file IO table 317 so that the data packet can be inspected.
  • identified file IO information eg, file location, file name, type of file IO (eg, file read or write), and/or file IO time information
  • the access control application 212 may check the type of file IO accessed by the corresponding process. If the type of file IO is write (or all file access types related to writing), the access control application 212 may perform operation 1025. If the type of file IO is read (or all file access types related to reading), the access control application 212 may perform operation 1030.
  • access control application 212 may perform a file decryption process. File decryption processing of the connection control application 212 will be described later with reference to FIG. 12 .
  • the access control application 212 may determine whether or not to decrypt the file for the file input/output application and the corresponding file through the file decryption processing process shown in FIG. 12 .
  • access control application 212 may perform a file encryption process. File encryption processing of the access control application 212 will be described later with reference to FIG. 13 .
  • the access control application 212 may determine whether to encrypt a file for an application in which file input/output occurs and a corresponding file through the file encryption processing process shown in FIG. 13 .
  • FIG. 11 is a flowchart illustrating an operation of a node for examining a file input/output table according to various embodiments.
  • the following operation flow chart may be implemented by node 201 or connection control application 212 installed on node 201 .
  • the connection control application 212 may detect a file input/output table check event.
  • the access control application 212 may detect a file IO table check event when a data flow resulting from a network connection is detected.
  • the access control application 212 may detect when the data flow information 350 is obtained (or updated) as a file IO table check event.
  • access control application 212 may perform a file IO table check.
  • the access control application 212 checks the file IO table 317 to determine whether there is a target application 211-1, 211-2, 211-3 (or a process thereof) that is using file IO for the data flow. can be checked.
  • the access control application 212 may search the file IO table information 360 corresponding to the PID 361, which is one of the identification information of the target application included in the data flow. If there is a file IO in use by the target application, the access control application 212 may perform operation 1120. If the file IO in use by the target application does not exist, the access control application 212 may perform operation 1115.
  • connection control application 212 may transmit a data packet.
  • the access control application 212 may ascertain the type of file IO. If the type of file IO is write (or all file access types related to writing), the access control application 212 may perform operation 1125 . If the type of file IO is read (or all file access types related to reading), the access control application 212 may perform operation 1130. The type of file IO accessed by the corresponding process may simultaneously request one or more reads and/or one or more writes, and if multiple file IOs exist, each step may be performed sequentially and/or in parallel. For example, operations 1125 and 1130 may be performed sequentially and/or in parallel.
  • access control application 212 may perform a file decryption process. File decryption processing of the connection control application 212 will be described later with reference to FIG. 12 .
  • the access control application 212 may determine whether or not to decrypt the file for the file input/output application and the corresponding file through the file decryption processing process shown in FIG. 12 .
  • access control application 212 may perform a file encryption process. File encryption processing of the access control application 212 will be described later with reference to FIG. 13 .
  • the access control application 212 may determine whether to encrypt a file for an application in which file input/output occurs and a corresponding file through the file encryption processing process shown in FIG. 13 .
  • FIG. 12 shows a signal flow diagram for file decryption processing according to various embodiments.
  • the access control application 212 may detect a file decryption processing event. For example, the access control application 212 may start a file decryption process when it is determined that the file input/output type is write in operation 1020 of FIG. 10 or operation 1120 of FIG. 11 . The access control application 212 may determine whether or not to decrypt the file with respect to the file input/output access detected through the file decryption process and the corresponding file, and decrypt the file if decryption is permitted.
  • the access control application 212 may verify the data flow based on the application identification information and the network identification information. If writing of a file is allowed according to the authorized file IO information 354 of the data flow and file decryption is unnecessary, the access control application 212 may allow writing of the file. When writing a file is not allowed according to the authorized file IO information 354 of the data flow, the access control application 212 may stop the file access (file writing) of the target application. For example, the access control application 212 uses an application programming interface (API) provided by the operating system to stop file access, including removing or conflicting file handles and initializing file write buffers.
  • API application programming interface
  • file access may be stopped by hooking, forcibly terminating the corresponding process, or executing a command to stop a series of file access control.
  • the access control application 212 may change the status of the corresponding file IO in the file IO table 317 to the process of stopping access.
  • the access control application 212 may block data packets received from the network by changing the state of the corresponding data flow and blocking network access. If there is a data packet in transit, the connection control application 212 may drop the data packet.
  • the access control application 212 releases the file IO access of the target application to identify the file information (eg, all You can write file information and wait until file writing is complete.
  • the access control application 212 may obtain unique information and identification information (eg, file name, partial contents of a file, header information, hash information, or signature information) of a target file.
  • the access control application 212 may check the file IO table 317 .
  • the access control application 212 may check whether information capable of decrypting the target file exists in the file IO table 317 based on the obtained unique information and identification information of the target file. If information capable of decrypting the target file exists, the file can be decrypted using the decryption algorithm and decryption key included in the encryption/decryption information 365 of the corresponding file. For example, if decryption fails, the access control application 212 may delete the target file.
  • the access control application 212 performs unique information and identification information (eg, file name, partial contents of the file, header information, hash information, or signature information) of the target file in operation 1220.
  • unique information and identification information eg, file name, partial contents of the file, header information, hash information, or signature information
  • a file decryption request including may be transmitted to the controller 202 .
  • access control application 212 may send a file decryption request to controller 202 .
  • the access control application 212 transmits a file decryption request including data flow identification information and file identification information to the controller 202, or sends a file decryption request including application identification information, network identification information, and file identification information to the controller (202).
  • the controller 202 identifies a data flow corresponding to the target application based on the received data flow identification information or the received application identification information and the network identification information, and displays the identified data flow and the received file identification information. Based on this, it is possible to check whether a target file exists in the file IO table 317. If the target file exists in the file IO table 317, the controller 202 displays information indicating that file decryption is allowed or file decryption is not allowed according to the status information 367 of the file IO table 317 in operation 1240. Information indicating can be transmitted to the node 201.
  • the controller 202 selects a user, a terminal (eg, node 201), and an application (target applications 211-1 and 211 from the file IO policy database 312). -2 or 211-3)), and whether or not to allow the decryption of the corresponding file can be checked through the file IO policy matched to the network.
  • the controller 202 queries the external linkage system 207 whether or not to allow file decryption (operation 1230) and receives a response (operation 1235), thereby determining whether to allow file decryption based on the received response. there is.
  • the controller 202 may add corresponding information to the file IO table 317 based on the file IO information and the result of checking whether or not to allow file decryption. If file decryption is not permitted as a result of confirmation through the file IO policy and/or the external linkage system 207, the controller 202 may transmit information indicating that file decryption is not permitted to the node 201 in operation 1240. .
  • controller 202 may transmit a response to the file decryption request to node 201 .
  • the response to the file decryption request may include information on whether or not the file is decrypted.
  • connection control application 212 may process the received result. If the received result value indicates that file decryption is allowed for the target application and the target file, the access control application 212 displays the file IO table 317 including the corresponding file IO information and status information indicating that file decryption is allowed. Information can be added or updated. When file decryption is allowed for the target application and the target file, the access control application 212 determines the decryption algorithm and decryption information included in the file encryption and decryption information (eg, encryption/decryption information 365) received from the controller 202. You can decrypt files with the key. If the received result value indicates that file decryption for the target application and target file is not allowed, the access control application 212 may delete the target file so that the file cannot be used.
  • the decryption information included in the file encryption and decryption information (eg, encryption/decryption information 365) received from the controller 202. You can decrypt files with the key.
  • FIG. 13 shows a signal flow diagram for file encryption processing according to various embodiments.
  • the access control application 212 may detect a file encryption processing event. For example, the access control application 212 may start a file encryption process when it is determined that the file input/output type is read in operation 1020 of FIG. 10 or operation 1120 of FIG. 11 . The access control application 212 may determine whether or not to encrypt the file with respect to the application and target file for which file IO access is detected through file encryption processing, and encrypt the target file if encryption is required.
  • the access control application 212 may verify the data flow based on the application identification information and the network identification information. If reading of a file is allowed according to the authorized file IO information 354 of the data flow and file encryption is unnecessary, the access control application 212 may permit reading of the file. When reading a file is not permitted according to the data flow authorized file IO information 354, the access control application 212 may stop the file access (reading the file) of the target application. For example, the access control application 212 uses an application programming interface (API) provided by the operating system to stop file access, including removing or conflicting file handles and initializing file read buffers.
  • API application programming interface
  • file access (reading a file) may be stopped by hooking, forcibly terminating the corresponding process, or executing a command to stop a series of file access control.
  • the access control application 212 may change the status of the corresponding file IO in the file IO table 317 to access suspension processing, or add file IO information of the corresponding file IO to the file IO table 317.
  • the access control application 212 may block data packets received from the network by changing the state of the corresponding data flow and blocking network access. If there is a data packet in transit, the connection control application 212 may drop the data packet.
  • the access control application 212 may perform operation 1315.
  • the access control application 212 may check whether a corresponding file IO exists in the file IO table 317 based on the application identification information and the file IO information. If the corresponding file IO exists in the file IO table 317 and the target file can be read, the access control application 212 may allow the file read of the target file of the target application. If the corresponding file IO exists in the file IO table 317 and it is impossible to read the target file, the access control application 212 may stop the file access (reading the file) of the target application to the target file. Regarding the interruption process, the above description can be equally applied.
  • the access control application 212 provides unique information and identification of the target file Information (eg, file name, partial contents of a file, header information, hash information, or signature information) may be obtained, and a file encryption request including the obtained file identification information may be transmitted to the controller 202 .
  • target file Information eg, file name, partial contents of a file, header information, hash information, or signature information
  • access control application 212 may send a file encryption request to controller 202 .
  • the access control application 212 transmits a file encryption request including data flow identification information and file identification information to the controller 202, or a file encryption request including application identification information, network identification information, and file identification information to the controller (202).
  • the controller 202 identifies a data flow corresponding to the target application based on the received data flow identification information or the received application identification information and the network identification information, and displays the identified data flow and the received file identification information. Based on this, it is possible to check whether a target file exists in the file IO table 317. If the target file exists in the file IO table 317, the controller 202, in operation 1340, according to the status information 367 of the file IO table 317, information indicating that file encryption is required or that file encryption is unnecessary The indicated information may be transmitted to the node 201 .
  • the controller 202 selects a user, a terminal (eg, node 201), and an application (target applications 211-1 and 211 from the file IO policy database 312). -2 or 211-3)), and whether file encryption is required can be confirmed through the file IO policy matched to the network.
  • the controller 202 queries the external linkage system 207 whether file encryption is required (operation 1330) and receives a response (operation 1335), thereby confirming whether file encryption is required based on the received response.
  • the controller 202 may add corresponding information to the file IO table 317 based on the file IO information and the result of checking whether the file encryption is necessary.
  • the controller 202 may transmit information indicating that file encryption is unnecessary to the node 201 in operation 1340 . If file encryption is required as a result of checking through the file IO policy and/or the external linkage system 207, the controller 202 transmits information necessary for file encryption (eg, file IO table information 360) to the node 201 in operation 1340. ) can be transmitted.
  • information necessary for file encryption eg, file IO table information 360
  • controller 202 may send a response to the file encryption request to node 201 .
  • a response to the file encryption request may include information on whether file encryption is required.
  • connection control application 212 may process the received result.
  • the access control application 212 displays the file IO table 317 including the corresponding file IO information and state information indicating that file encryption is required. Information can be added or updated.
  • the access control application 212 may encrypt the file with an encryption algorithm and an encryption key included in the file encryption and decryption information (eg, encryption/decryption information 365) received from the controller 202. there is.
  • the access control application 212 may allow the target application 212 to access (read the file) the target file.
  • FIG. 14 shows a flow diagram of operation of node 201 for data packet transmission according to various embodiments.
  • the following operation flow chart may be implemented by node 201 or connection control application 212 installed on node 201 .
  • connection control application 212 may detect a data packet transmission event.
  • the access control application 212 may detect a data packet transmission request requested by the target applications 211-1, 211-2, and 211-3 (or processes thereof) as a data packet transmission event.
  • the connection control application 212 identifies the data packet to be transmitted and the target applications 211-1, 211-2, and 211-3 when a data packet transmission event is detected after the network access is allowed, and the data flow You can check whether it exists or not.
  • Target applications 211-1, 211-2, 211-3 (or their processes) requesting transmission of data packets are identified, and the identified target applications 211-1, 211-2, 211-3 ( Alternatively, the PID of the process) may be checked, and it may be checked whether a data flow allocated to the corresponding PID exists.
  • connection control application 212 may proceed to operation 1430 . If the data flow does not exist, connection control application 212 may proceed to operation 1435 . At operation 1435, connection control application 212 may drop the data packet if the data flow does not exist.
  • the access control application 212 can check the file IO table if there is a data flow.
  • the access control application 212 may check whether the file IO or read of the target application (or its process) is permitted in the authorized file IO information 354 of the data flow information 350. If file IO or read is allowed, access control application 212 may proceed to operation 1455 . If file IO and read are not allowed, access control application 212 may proceed to operation 1545 . At operation 1455, connection control application 212 may transmit the data packet to the network.
  • the access control application 212 may verify that the file IO does not exist in the file IO table 317.
  • the access control application 212 uses the PID, which is one of the application identification information, to determine whether there is a read-type file IO, or whether a read-type file IO is being accessed, and whether there is a file IO that has been used after access. You can check.
  • the access control application 212 determines whether there is a file IO of a read type performed by the target application (or its process), whether a file IO of a read type is being accessed, and whether there is a file IO that has been used after access. can check whether
  • connection control application 212 may proceed to operation 1455 . If file IO exists, connection control application 212 may proceed to operation 1450 . At operation 1455, connection control application 212 may transmit the data packet to the network.
  • connection control application 212 may examine the data packet if file IO exists.
  • the access control application 212 checks the target file of the file IO, and whether some contents of the target file or unique information (eg, hash, header information, signature information, etc.) for managing the target file are included in the data packet. can be inspected.
  • the access control application 212 may check whether some contents of a file or unique information for managing a file (eg, hash, header information, signature information, etc.) are included in the transmitted data packet.
  • connection control application 212 may verify whether the inspection of the data packet was successful. The access control application 212 determines that the inspection of the data packet has failed if the data packet contains some contents of the file or unique information (eg, hash, header information, signature information, etc.) for managing the file. can If the inspection of the data packet is successful, connection control application 212 may proceed to operation 1455 . If the inspection of the data packet fails (that is, if the data packet does not contain some contents of the file or unique information for managing the file (eg hash, header information, signature information, etc.)), the access control application ( 212) may proceed to operation 1450. At operation 1470, connection control application 212 may transmit the data packet to the network.
  • connection control application 212 may transmit the data packet to the network.
  • connection control application 212 may drop the data packet and close the network connection.
  • 15 illustrates a signal flow diagram for updating a control flow according to various embodiments.
  • the access control application 212 may request a control flow update.
  • the access control application 212 may request a control flow update from the controller 202 to maintain the control flow and data flow.
  • the access control application 212 may request an update of the control flow to transmit the details of the file IO access being blocked.
  • the access control application 212 may request a control flow update including identification information of the control flow for each designated period.
  • the controller 202 may update (check) the control flow. For example, the controller 202 determines whether the control flow information 340 indicated by the received identification information exists in the control flow table 315, and if the control flow information 340 exists, the data flow information 350 subordinate thereto You can check if exists. When the connection is released by another security system, the update time elapses, or the connection is released due to risk detection, the control flow may not exist.
  • the controller 202 node 201 may terminate the access control application 212 or block the access control application 212 from accessing the network. For another example, if the update (check) succeeds, the controller 202 may update the expiration time of the control flow and the data flow dependent thereon. In this case, the node 201 may update control flow information 340 and data flow information 350 .
  • the controller 202 updates the file IO table 317 existing in the controller 202 and sends the updated file IO table 317 to Based on this, it is used as data for inquiry and audit of actions from users and nodes 201, and when an abnormal action occurs, the control flow can be terminated.
  • the controller 202 may transmit update (check) result information to the connection control application 212 . For example, if the update (check) fails, the controller 202 may transmit unreachable information. For another example, if the update (check) is successful, the controller 202 may transmit the updated control flow information 340 and data flow information 350 subordinate thereto to the access control application 212 . In this case, the node 201 may update control flow information 340 and data flow information 350 .
  • the access control application 212 may process update (check) result information.
  • the access control application 212 may terminate the target application or block all network access of the target application. If the control flow update result indicates normal and there is updated data flow information 350 , the connection control application 212 may update the data flow table 316 in the connection control application 212 .
  • FIG. 16 illustrates a signal flow diagram for control flow cancellation according to various embodiments.
  • the node 201 may request the controller 202 to terminate the control flow.
  • the node 201 may request control flow termination when the connection control application 212 is terminated, when the network connection is not used for a specified amount of time, or when a connection termination request is received from another system.
  • controller 202 can remove the control flow corresponding to the identification information received from node 201 .
  • the controller 202 may also remove the data flow dependent on the removed control flow.
  • the controller 202 requests the gateway 203 to remove the data flow, and in operation 1620, the gateway 203 may block the connection control application 212 from accessing the network by removing the data flow.
  • FIG. 17 illustrates a signal flow diagram for data flow cancellation according to various embodiments.
  • the access control application 212 may detect termination of the target application.
  • the access control application 212 may monitor in real time whether a target application running on the node 201 is terminated.
  • the access control application 212 may check the data flow table 316 .
  • the access control application 212 may check whether a data flow corresponding to the identification information and PID (or PID of a child) of the terminated target application exists in the data flow table 316 .
  • the access control application 212 may delete the corresponding data flow from the data flow table 316 .
  • the access control application 212 converts the data flow corresponding to the identification information of the terminated application into a data flow table (if the terminated target application does not exist in the running process list). 316) can be deleted.
  • connection control application 212 may request the controller 202 to terminate the data flow.
  • the access control application 212 may transmit the deleted data flow list to the controller 202 in operation 1710 to request termination of the data flow.
  • controller 202 can remove the data flow corresponding to the data flow list from node 201 .
  • the controller 202 requests the gateway 203 to remove the data flow, and in operation 1730, the gateway 203 removes the data flow, thereby providing a service corresponding to the removed data flow of the connection control application 212. Access to the server 205 may be blocked.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)
  • Storage Device Security (AREA)

Abstract

A node, according to one embodiment disclosed in the present document, 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 may store instructions that, when executed by the processor, cause the node to: when a file IO access event of the target application is detected, check whether a data flow allocated to the target application exists, by means of the access control application; if the data flow allocated to the target application exists, identify the type of file IO of the target application by means of the access control application; if the identified type of file IO is writing, perform file decryption by means of the access control application; and if the identified type of file IO is reading, perform file encryption by means of the access control application.

Description

애플리케이션의 파일 송신 및 수신을 제어하기 위한 시스템 및 그에 관한 방법System for controlling file transmission and reception of application and method therefor
관련출원과의 상호인용Mutual Citation with Related Applications
본 발명은 2023.02.23.에 출원된 한국 특허 출원 제10-2022-0023474호에 기초한 우선권의 이익을 주장하며, 해당 한국 특허 출원의 문헌에 개시된 모든 내용을 본 명세서의 일부로 포함한다.The present invention claims the benefit of priority based on Korean Patent Application No. 10-2022-0023474 filed on February 23, 2023, and includes all contents disclosed in the literature of the Korean patent application as part of this specification.
기술분야technology field
본 문서에 개시된 실시예들은 애플리케이션의 파일 송신 및 수신을 제어하기 위한 시스템 및 그에 관한 방법에 관한 것이다.Embodiments disclosed in this document relate to a system and method for controlling file transmission and reception of an application.
다수의 장치들은 네트워크를 통해서 데이터를 통신할 수 있다. 예를 들어, 단말은 인터넷을 통해 서버와 데이터를 송신하거나 수신할 수 있다. 네트워크는 인터넷과 같은 공용 네트워크(public network)뿐만 아니라 인트라넷과 같은 사설 네트워크(private network)를 포함할 수 있다.Multiple devices may communicate data over a network. For example, the terminal may transmit or receive data with a server through the Internet. The network may include a private network such as an intranet as well as a public network such as the Internet.
단말은 IP(Internet Protocol) 기반의 TCP(Transmission Control Protocol) 또는 UDP(User Datagram Protocol)를 활용하여 서버와 통신을 수행하며, TCP 또는 UDP 기술에서 인가된 출발지 IP와 도착지 IP 간 접속을 제어하기 위한 방화벽 기술이 이용될 수 있다. 이러한 IP 통신의 경우, IP를 위조 또는 변조 가능한 문제점이 있으므로, 이를 해결하기 위하여 단말과 서버 간 데이터 패킷을 암호화하기 위한 VPN(Virtual Private Network) 기술 및 터널링 기술이 이용된다.The terminal performs communication with the server by utilizing 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 such IP communication, since there is a problem that IP can be forged or tampered with, in order to solve this problem, virtual private network (VPN) technology and tunneling technology for encrypting data packets between a terminal and a server are used.
단말 수준으로, 또는 단말에 부여된 IP 단위로 생성되는 터널링 기술 기반의 VPN 사용 시, 최초 인증 후 상시 연결된 터널링을 통해 비허용된 또는 안전하지 않은 애플리케이션이 허용되지 않은 목적지 네트워크에 접속하는 취약점이 있으므로, 각종 멀웨어(malware) 및 랜섬웨어(ransomware) 침투에 의한 보안 사고가 증가하고 있다. 이러한 문제점을 해결하기 위해 허용된 애플리케이션만 허용된 네트워크에 접속할 수 있는 애플리케이션 접속성 제어 기술을 적용하여 근본적인 통신 주체인 애플리케이션을 식별하고, 허용되지 않은 애플리케이션의 접속을 사전에 차단할 수 있다.When using a VPN based on tunneling technology, which is created at the terminal level or per IP unit assigned to the terminal, there is a vulnerability that unallowed or unsafe applications access the unallowed destination network through always-connected tunneling after initial authentication. , Security incidents caused by infiltration of various malware and ransomware are increasing. In order to solve this problem, an application connectivity control technology that allows only allowed applications to access the allowed network is applied to identify applications that are fundamental communication subjects and block access of disallowed applications in advance.
예를 들어, 허용된 애플리케이션이 허용된 네트워크에 접속 가능한 상태에서 애플리케이션이 네트워크를 통해 파일을 수신하거나 전송하는 행위를 통제할 수 없을 수 있다. 이러한 문제점을 해결하기 위한 기술로서 DLP(Data Loss Prevention)가 존재하며, DLP는 허용되지 않은 매체(예: USB, 또는 이동식 저장 장치)가 연결되는 것을 방지하거나, 네트워크 상에서 특정 폴더를 공유하는 것을 방지하거나, 특정 애플리케이션이 파일을 전송하기 위해 파일을 선택하는 경우 파일이 선택되지 않도록 차단하는 방식으로 파일이 전송되는 것을 방지하거나, 특정 애플리케이션의 파일 입출력이 발생하는 경우 또는 파일 입출력을 추적 시에 해당 사용자가 파일 입출력 권한이 없는 경우 파일 입출력의 핸들(handle)을 제거하는 방식으로 데이터 유출을 방지할 수 있다.For example, in a state in which an allowed application can access a permitted network, it may not be possible to control the application's behavior of receiving or transmitting a file through the network. DLP (Data Loss Prevention) exists as a technology to solve this problem, and DLP prevents unauthorized media (e.g., USB or removable storage devices) from being connected or preventing sharing of a specific folder on the network. or, when a specific application selects a file for file transfer, prevents the file from being transferred by blocking the file from being selected, or when file input/output of a specific application occurs or when tracking file input/output, the user Data leakage can be prevented by removing the file input/output handle when the file does not have the file input/output authority.
이러한 DLP 기술은 물리적 보안 통제가 불가능한 영역 및 보안 정책을 적용하는 것에 한계가 존재하는 개인 소유의 단말을 사용하는 재택 근무 환경에서 허용되지 않은 매체가 연결되는 것을 방지할 수 없을 수 있다. 나아가, 특정 행위를 추적하는 DLP 기술은 특정 동작을 수행하지 않는 경우 예를 들어, 사용자가 아닌 악성코드가 파일 선택 창 없이 직접적으로 파일을 적재하고 전송하는 행위를 막을 수 없을 수 있다. 또한, 특정 애플리케이션의 파일 입출력을 추적하는 방식의 DLP 기술은 특정 애플리케이션을 대상으로 파일의 입출력을 추적하여 일괄적으로 차단하기 때문에 해당 애플리케이션이 접속한 네트워크에서 파일 전송을 허용하기 어려울 수 있다. 인터넷 브라우저의 접속 주소 창을 식별하여 파일 입출력 제한을 해제하는 방식을 제공하는 DLP의 경우, 접속 주소 창이 존재하지 않는 애플리케이션의 경우 네트워크 접속 정보를 추적할 수 없기 때문에 파일 수신 및 전송을 제어하는데 한계가 있을 수 있다.Such DLP technology may not be able to prevent unauthorized media from being connected in an area where physical security control is unavailable and in a telecommuting environment using personally owned terminals where there is a limit to the application of security policies. Furthermore, the DLP technology that tracks a specific action may not be able to prevent, for example, a non-user malicious code directly loading and transmitting a file without a file selection window when the specific action is not performed. In addition, since the DLP technology, which tracks file input/output of a specific application, tracks file input/output targeting a specific application and blocks it collectively, it may be difficult to allow file transmission on a network connected by the application. In the case of DLP, which provides a way to release file input/output restrictions by identifying the access address window of the Internet browser, in the case of an application that does not have an access address window, network access information cannot be traced, so there are limitations in controlling file reception and transmission. There may be.
또한, 단말이 통제 가능한 네트워크에 존재하는 업무 서버에 파일을 업로드 하는 경우, 서비스 애플리케이션(또는, 웹 애플리케이션)을 통해 파일 암호화를 수행하거나, 암호화 처리 없이 파일을 업로드하며, 업무 서버에 대한 네트워크 및 물리적 접근 통제를 통해 파일이 유출되는 것을 방지할 수 있다. 이를 해결하기 위해, 파일을 암호화하고, 파일을 읽을 수 있는 대상에 한해서만 파일을 복호화하기 위한 기술로 DRM(Digital Right Management) 기술이 있다.In addition, when uploading a file to a work server that exists on a controllable network by a terminal, file encryption is performed through a service application (or web application), or the file is uploaded without encryption processing, and the network and physical You can prevent files from being leaked through access control. In order to solve this problem, there is DRM (Digital Rights Management) technology as a technology for encrypting a file and decrypting the file only for an object that can read the file.
하지만, 클라우드 환경 및 서비스형 애플리케이션(software as a service)과 같은 환경에서는 네트워크 접근 통제에 한계가 있으며, 상기 환경 특성상 인터넷에 상시 노출되어 있기 때문에 서비스 애플리케이션의 결함(예: 제로 데이 공격(zero day attack)), 무작위 대입 공격, 또는 크리덴셜 스터핑(credential stuffing))에 의한 접근 권한 획득, 또는 클라우드 또는 서비스 사업자의 비허가 접근(예: 데이터 마이닝 및 머신 러닝)으로 인해 업로드된 파일에 대한 안전을 보장할 수 없을 수 있다. 또한, DRM 기술은 일률적으로 파일을 암호화하기 때문에, 클라우드에 업로드되는 파일에 한하여 파일을 암호화하고, 통제 가능한 네트워크에 존재하는 업무 서버에 파일을 업로드 하는 경우 파일을 암호화하지 않는 것과 같이, 네트워크 접속 대상에 따라 선택적 암호화가 불가능할 수 있다.However, there are limits to network access control in environments such as cloud environments and software as a service applications, and defects in service applications (e.g., zero day attacks) are always exposed to the Internet due to the nature of the environment. )), brute force attack, or credential stuffing), or unauthorized access by the cloud or service provider (e.g. data mining and machine learning) to ensure the safety of uploaded files. may not be able to In addition, since DRM technology encrypts files uniformly, only files uploaded to the cloud are encrypted, and files are not encrypted when uploaded to a business server that exists on a controllable network. Depending on this, selective encryption may not be possible.
따라서, 대상 애플리케이션이 파일을 보호해야 하는 클라우드 환경에 파일을 업로드 하는 경우, 클라우드에 업로드된 파일이 소유권(ownership)을 가진 대상 이외의 대상이 다운로드 받아도 해독할 수 없는 형태로 암호화할 수 있는 기술이 필요하며, 대상 애플리케이션이 통제 가능한 네트워크에 존재하는 업무 서버에 파일을 업로드 하는 경우, 해당 서버에 존재하는 서비스 애플리케이션에서 자체적인 암호화 처리를 할 수 있도록 단말에서 별도의 암호화를 수행하지 않는, 선택적인 파일 암호화 기술이 필요하다.Therefore, when a target application uploads a file to a cloud environment that needs to protect the file, a technology that can encrypt the file uploaded to the cloud in a form that cannot be decrypted even if the file uploaded to the cloud is downloaded by a target other than the target having ownership is required. When a file is uploaded to a business server that exists on a network that is necessary and can be controlled by the target application, it is an optional file that does not perform separate encryption at the terminal so that the service application that exists on the server can process its own encryption. Encryption technology is required.
본 문서에 개시되는 다양한 실시예들은 네트워크 환경에서 상술한 문제점을 해결하기 위한 시스템 및 그에 관한 방법을 제공하고자 한다.Various embodiments disclosed in this document are intended to provide a system and method for solving the above problems in a network environment.
본 문서에 개시된 일 실시예에 따른 노드는, 통신 회로, 상기 통신 회로와 작동적으로 연결되는 프로세서, 및 상기 프로세서와 작동적으로 연결되고, 접속 제어 애플리케이션 및 타겟 애플리케이션을 저장하는 메모리를 포함하고, 상기 메모리는, 상기 프로세서에 의해 실행될 때 상기 노드가, 상기 타겟 애플리케이션의 파일 IO 접근 이벤트가 감지되면, 상기 접속 제어 애플리케이션을 통해, 상기 타겟 애플리케이션에 할당된 데이터 플로우가 존재하는지 여부를 확인하고, 상기 타겟 애플리케이션에 할당된 데이터 플로우가 존재하는 경우, 상기 접속 제어 애플리케이션을 통해, 상기 타겟 애플리케이션의 파일 IO의 종류를 확인하고, 상기 확인된 파일 IO의 종류가 쓰기인 경우, 상기 접속 제어 애플리케이션을 통해, 파일 복호화 처리를 수행하고, 상기 확인된 파일 IO의 종류가 읽기인 경우, 상기 접속 제어 애플리케이션을 통해, 파일 암호화 처리를 수행하도록 하는 명령어들을 저장할 수 있다.A node according to an embodiment disclosed herein includes communication circuitry, a processor operatively connected to the communication circuitry, and a memory operatively connected to the processor and storing an access control application and a target application; When the node, when executed by the processor, detects a file IO access event of the target application, the memory checks whether a data flow allocated to the target application exists through the access control application, and the If there is a data flow allocated to the target application, through the access control application, the type of file IO of the target application is checked, and if the type of the checked file IO is write, through the access control application, When the file decryption process is performed and the type of the identified file IO is read, commands for performing the file encryption process may be stored through the access control application.
본 문서에 개시된 일 실시예에 따른 서버는, 통신 회로, 상기 통신 회로와 작동적으로 연결되는 프로세서, 및 상기 프로세서와 작동적으로 연결되고, 데이터베이스를 저장하는 메모리를 포함하고, 상기 메모리는, 상기 프로세서에 의해 실행될 때 상기 서버가, 상기 노드의 상기 접속 제어 애플리케이션으로부터 파일 복호화 요청을 수신하고, 상기 파일 복호화 요청은 파일 IO(input output) 대상 파일의 파일 식별 정보를 포함하고, 상기 파일 식별 정보를 이용하여 상기 데이터베이스에서 상기 대상 파일에 대한 파일 IO 테이블 정보가 존재하는지 여부를 확인하고, 상기 파일 IO 테이블 정보가 존재하면, 상기 파일 IO 테이블 정보에 기초하여 상기 대상 파일에 대한 파일 복호화 여부를 확인하고, 상기 대상 파일에 대한 상기 파일 복호화 여부를 나타내는 응답을 상기 노드의 상기 접속 제어 애플리케이션으로 송신하도록 하는 명령어들을 저장할 수 있다.A server according to an embodiment disclosed in this document includes a communication circuit, a processor operatively connected to the communication circuit, and a memory operatively connected to the processor and storing a database, wherein the memory comprises: When executed by a processor, the server receives a file decryption request from the access control application of the node, the file decryption request includes file identification information of a file input output (IO) target file, and the file identification information Check whether file IO table information for the target file exists in the database using the database, and if the file IO table information exists, check whether or not to decrypt the file based on the file IO table information, , Commands for transmitting a response indicating whether or not the file is decrypted for the target file to the access control application of the node may be stored.
본 문서에 개시된 일 실시예에 따른 서버는, 통신 회로, 상기 통신 회로와 작동적으로 연결되는 프로세서, 및 상기 프로세서와 작동적으로 연결되고, 데이터베이스를 저장하는 메모리를 포함하고, 상기 메모리는, 상기 프로세서에 의해 실행될 때 상기 서버가, 상기 노드의 상기 접속 제어 애플리케이션으로부터 파일 암호화 요청을 수신하고, 상기 파일 암호화 요청은 파일 IO(input output) 대상 파일의 파일 식별 정보를 포함하고, 상기 파일 식별 정보를 이용하여 상기 데이터베이스에서 상기 대상 파일에 대한 파일 IO 테이블 정보가 존재하는지 여부를 확인하고, 상기 파일 IO 테이블 정보가 존재하면, 상기 파일 IO 테이블 정보에 기초하여 상기 대상 파일에 대한 파일 암호화 여부를 확인하고, 상기 대상 파일에 대한 상기 파일 암호화 여부를 나타내는 응답을 상기 노드의 상기 접속 제어 애플리케이션으로 송신하도록 하는 명령어들을 저장할 수 있다.A server according to an embodiment disclosed in this document includes a communication circuit, a processor operatively connected to the communication circuit, and a memory operatively connected to the processor and storing a database, wherein the memory comprises: When executed by a processor, the server receives a file encryption request from the access control application of the node, the file encryption request includes file identification information of a file input output (IO) target file, and the file identification information Check whether file IO table information for the target file exists in the database using the database, and if the file IO table information exists, check whether the file is encrypted for the target file based on the file IO table information, , Commands for transmitting a response indicating whether or not the target file is encrypted to the access control application of the node may be stored.
본 문서에 개시된 일 실시예에 따른 노드의 동작 방법은, 상기 노드의 타겟 애플리케이션의 파일 IO 접근 이벤트가 감지되면, 상기 노드의 접속 제어 애플리케이션을 통해, 상기 타겟 애플리케이션에 할당된 데이터 플로우가 존재하는지 여부를 확인하는 동작, 상기 타겟 애플리케이션에 할당된 데이터 플로우가 존재하는 경우, 상기 접속 제어 애플리케이션을 통해, 상기 타겟 애플리케이션의 파일 IO의 종류를 확인하는 동작, 상기 확인된 파일 IO의 종류가 쓰기인 경우, 상기 접속 제어 애플리케이션을 통해, 파일 복호화 처리를 수행하는 동작, 및 상기 확인된 파일 IO의 종류가 읽기인 경우, 상기 접속 제어 애플리케이션을 통해, 파일 암호화 처리를 수행하는 동작을 포함할 수 있다.In the method of operating a node according to an embodiment disclosed in this document, when a file IO access event of a target application of the node is detected, whether or not a data flow allocated to the target application exists through an access control application of the node. operation of checking, if there is a data flow allocated to the target application, operation of checking the type of file IO of the target application through the access control application, if the type of the checked file IO is write, An operation of performing a file decryption process through the access control application, and an operation of performing a file encryption process through the access control application when the type of the identified file IO is read.
본 문서에 개시된 일 실시예에 따른 서버의 동작 방법은, 노드의 접속 제어 애플리케이션으로부터 파일 복호화 요청을 수신하는 동작, 상기 파일 복호화 요청은 파일 IO(input output) 대상 파일의 파일 식별 정보를 포함하고, 상기 파일 식별 정보를 이용하여 상기 서버의 데이터베이스에서 상기 대상 파일에 대한 파일 IO 테이블 정보가 존재하는지 여부를 확인하는 동작, 상기 파일 IO 테이블 정보가 존재하면, 상기 파일 IO 테이블 정보에 기초하여 상기 대상 파일에 대한 파일 복호화 여부를 확인하는 동작, 및 상기 대상 파일에 대한 상기 파일 복호화 여부를 나타내는 응답을 상기 노드의 상기 접속 제어 애플리케이션으로 송신하는 동작을 포함할 수 있다.A method of operating a server according to an embodiment disclosed in this document includes receiving a file decryption request from an access control application of a node, the file decryption request including file identification information of a file input output (IO) target file, An operation of checking whether file IO table information for the target file exists in the database of the server using the file identification information, and if the file IO table information exists, the target file based on the file IO table information and an operation of transmitting a response indicating whether or not the file has been decrypted for the target file to the access control application of the node.
본 문서에 개시된 일 실시예에 따른 서버의 동작 방법은, 노드의 접속 제어 애플리케이션으로부터 파일 암호화 요청을 수신하는 동작, 상기 파일 암호화 요청은 파일 IO(input output) 대상 파일의 파일 식별 정보를 포함하고, 상기 파일 식별 정보를 이용하여 상기 서버의 데이터베이스에서 상기 대상 파일에 대한 파일 IO 테이블 정보가 존재하는지 여부를 확인하는 동작, 상기 파일 IO 테이블 정보가 존재하면, 상기 파일 IO 테이블 정보에 기초하여 상기 대상 파일에 대한 파일 암호화 여부를 확인하는 동작, 및 상기 대상 파일에 대한 상기 파일 암호화 여부를 나타내는 응답을 상기 노드의 상기 접속 제어 애플리케이션으로 송신하는 동작을 포함할 수 있다.A method of operating a server according to an embodiment disclosed in this document includes receiving a file encryption request from an access control application of a node, the file encryption request including file identification information of a file input output (IO) target file, An operation of checking whether file IO table information for the target file exists in the database of the server using the file identification information, and if the file IO table information exists, the target file based on the file IO table information It may include an operation of checking whether a file is encrypted for , and an operation of transmitting a response indicating whether or not the file is encrypted for the target file to the access control application of the node.
본 문서에 개시되는 실시예들에 따르면, 식별된 대상의 파일 입출력을 허용할 것인지 여부를 확인하고, 허용된 접속 대상에 한하여 파일 입출력을 허용함으로써, 애플리케이션 및 네트워크 별 파일 수신 및 전송 제어를 가능하게 한다.According to the embodiments disclosed in this document, it is possible to control file reception and transmission by application and network by checking whether to allow file input/output of the identified target and allowing file input/output only to the permitted connection target. do.
본 문서에 개시되는 실시예들에 따르면, 파일 수신 또는 전송 시, 컨트롤러의 정책에 따라 파일을 선택적으로 암호화 또는 복호화할 수 있다.According to the embodiments disclosed in this document, when receiving or transmitting a file, the file may be selectively encrypted or decrypted according to the policy of the controller.
이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.In addition to this, various effects identified directly or indirectly through this document may be provided.
도 1은 다양한 실시예들에 따른 네트워크 환경 내의 아키텍처를 나타낸다.1 illustrates an architecture within a network environment in accordance with various embodiments.
도 2는 다양한 실시예들에 따라 컨트롤러에 저장된 데이터 베이스를 나타내는 기능적 블록도이다.2 is a functional block diagram illustrating a database stored in a controller according to various embodiments.
도 3은 다양한 실시예들에 따른 데이터베이스에 포함된 정보 중 제어 플로우 정보, 데이터 플로우 정보 및 파일 IO 테이블 정보를 나타낸다.3 illustrates control flow information, data flow information, and file IO table information among information included in a database according to various embodiments.
도 4는 다양한 실시예들에 따른 노드의 기능적 블록도이다.4 is a functional block diagram of a node in accordance with various embodiments.
도 5는 다양한 실시예들에 따라 데이터 패킷의 전송을 제어하는 동작을 설명한다.5 describes an operation of controlling transmission of a data packet according to various embodiments.
도 6은 다양한 실시예들에 따른 컨트롤러 접속을 위한 신호 흐름도를 나타낸다.6 shows a signal flow diagram for controller connection according to various embodiments.
도 7은 다양한 실시예들에 따른 사용자 인증을 위한 신호 흐름도를 도시한다.7 illustrates a signal flow diagram for user authentication according to various embodiments.
도 8은 다양한 실시예들에 따른 컨트롤러 접속을 위한 사용자 인터페이스 화면을 도시한다.8 illustrates a user interface screen for accessing a controller according to various embodiments.
도 9는 다양한 실시예들에 따른 네트워크 접속을 위한 신호 흐름도를 도시한다.9 illustrates a signal flow diagram for network access according to various embodiments.
도 10은 다양한 실시예들에 따른 파일 입출력 접근 감시를 위한 노드의 동작 흐름도를 도시한다.10 is a flowchart illustrating an operation of a node for monitoring file input/output access according to various embodiments.
도 11은 다양한 실시예들에 따른 파일 입출력 테이블 검사를 위한 노드의 동작 흐름도를 도시한다.11 is a flowchart illustrating an operation of a node for examining a file input/output table according to various embodiments.
도 12는 다양한 실시예들에 따른 파일 쓰기 정보 검사를 위한 신호 흐름도를 도시한다.12 is a signal flow diagram for checking file write information according to various embodiments.
도 13은 다양한 실시예들에 따른 파일 읽기 정보 검사를 위한 신호 흐름도를 도시한다.13 is a signal flow diagram for checking file read information according to various embodiments.
도 14는 다양한 실시예들에 따른 데이터 패킷 전송을 위한 노드의 동작 흐름도를 도시한다.14 illustrates a flow diagram of an operation of a node for data packet transmission according to various embodiments.
도 15는 다양한 실시예들에 따른 제어 플로우 갱신을 위한 신호 흐름도를 도시한다.15 illustrates a signal flow diagram for control flow update according to various embodiments.
도 16은 다양한 실시예들에 따른 제어 플로우 제거를 위한 신호 흐름도를 도시한다.16 illustrates a signal flow diagram for control flow cancellation according to various embodiments.
도 17은 다양한 실시예들에 따른 데이터 플로우 제거를 위한 신호 흐름도를 도시한다.17 shows a signal flow diagram for data flow cancellation according to various embodiments.
이하, 본 발명의 다양한 실시 예가 첨부된 도면을 참조하여 기재된다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 실시 예의 다양한 변경(modification), 균등물(equivalent), 및/또는 대체물(alternative)을 포함하는 것으로 이해되어야 한다.Hereinafter, various embodiments of the present invention will be described with reference to the accompanying drawings. However, it should be understood that this is not intended to limit the present invention to the specific embodiments, and includes various modifications, equivalents, and/or alternatives of the embodiments of the present invention.
본 문서에서 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나","A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나" 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.In this document, the singular form of a noun corresponding to an item may include one item or a plurality of items, unless the context clearly dictates otherwise. In this document, "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C" and "A, Each of the phrases such as "at least one of B or C" may include any one of the items listed together in the corresponding one of the phrases, or all possible combinations thereof. Terms such as "first", "second", or "first" or "secondary" may simply be used to distinguish a given component from other corresponding components, and may be used to refer to a given component in another aspect (eg, importance or order) is not limited. A (e.g., first) component is said to be "coupled" or "connected" to another (e.g., second) component, with or without the terms "functionally" or "communicatively." When mentioned, it means that the certain component may be connected to the other component directly (eg by wire), wirelessly, or through a third component.
본 문서에서 설명되는 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있다. 다양한 실시예들에 따르면, 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.Each component (eg, module or program) of the components described in this document may include singular or plural 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 modules or programs) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by a corresponding component of the plurality of components prior to the integration. . According to various embodiments, the actions performed by a module, program, or other component are executed sequentially, in parallel, iteratively, or heuristically, or one or more of the actions are executed in a different order, or omitted. or one or more other actions may be added.
본 문서에서 사용되는 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일 실시 예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term "module" used in this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit, for example. A module may be an integrally constructed component or a minimal unit of components or a portion thereof that performs one or more functions. For example, according to one embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).
본 문서의 다양한 실시예들은 기기(machine) 의해 읽을 수 있는 저장 매체(storage medium)(예: 메모리)에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램 또는 애플리케이션)로서 구현될 수 있다. 예를 들면, 기기의 프로세서는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of this document may be implemented as software (eg, a program or 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 command among one or more commands stored from a storage medium and execute it. This enables the device to be operated to perform at least one function according to the at least one command invoked. 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-temporary' only means that the storage medium is a tangible device and does not contain a signal (e.g. electromagnetic wave), and this term refers to the case where data is stored semi-permanently in the storage medium. It does not discriminate when it is temporarily stored.
본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(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. A computer program product is distributed in the form of a device-readable storage medium (eg compact disc read only memory (CD-ROM)), or through an application store or between two user devices (eg smartphones). It can be distributed (e.g., downloaded or uploaded) directly or online. In the case of online distribution, at least part of the computer program product may be temporarily stored or temporarily created in a device-readable storage medium such as a manufacturer's server, an application store server, or a relay server's memory.
도 1은 다양한 실시 예들에 따른 네트워크 환경 내의 아키텍처를 나타낸다. 1 illustrates an architecture within a network environment according to various embodiments.
도 1에 도시된 노드(201)는 데이터 통신을 수행할 수 있는 다양한 형태의 장치일 수 있다. 예를 들어, 노드(201)는 스마트폰 또는 태블릿과 같은 휴대용 장치, 데스크탑(desktop) 또는 랩탑(laptop)과 같은 컴퓨터 장치, 멀티미디어 장치, 의료 기기, 카메라, 웨어러블 장치, VR(virtual reality) 장치, 또는 가전 장치를 포함할 수 있으며 전술한 기기들에 한정되지 않는다. 예를 들어, 노드(201)는 애플리케이션을 통해 데이터 패킷을 전송할 수 있는 서버 또는 게이트웨이를 포함할 수 있다. 노드(201)는 '전자 장치' 또는 '단말'로도 참조될 수 있다. The node 201 shown in FIG. 1 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 it may include a home appliance, but is not limited to the aforementioned devices. For example, node 201 may include a server or gateway capable of transmitting data packets through an application. The node 201 may also be referred to as an 'electronic device' or a 'terminal'.
노드(201)는 복수의 타겟 애플리케이션(211-1, 211-2, 211-3) 및 접속 제어 애플리케이션(212)을 저장할 수 있다. Node 201 may store a plurality of target applications 211-1, 211-2, 211-3 and a connection control application 212.
타겟 애플리케이션(211-1, 211-2, 211-3) 각각은 접속 제어 애플리케이션(212)의 제어 하에 게이트웨이(203-1, 203-2)를 통해 서비스 서버(205-1, 205-2)로 데이터 패킷을 전송하거나 반대로 데이터 패킷을 수신할 수 있다. Each of the target applications 211-1, 211-2, and 211-3 is directed to the service servers 205-1 and 205-2 through the gateways 203-1 and 203-2 under the control of the access control application 212. It can transmit data packets or conversely receive data packets.
타겟 애플리케이션(211-1, 211-2, 211-3) 중 일부는 웹 브라우저 또는 비즈니스 애플리케이션과 같이 허용된 및/또는 보안된 애플리케이션인 반면에 다른 일부는 허용되지 않은 프로그램(예: 멀웨어, 랜섬웨어, 기타 허용되지 않은 애플리케이션)이거나 보안되지 않은 악성 프로그램(악성 코드에 감염되거나, 위조 또는 변조된 애플리케이션)일 수 있다. 실시 예들에 따르면 접속 제어 애플리케이션(212)은 데이터 패킷의 송신을 요청하는 프로그램(또는, 타겟 애플리케이션, 타겟 애플리케이션의 프로세스)을 식별하고, 허용되지 않은 프로그램의 데이터 패킷이 노드(201)의 외부로 송신되는 것을 방지할 수 있다. 또한, 실시 예들에 따르면, 접속 제어 애플리케이션(212)은 접속 제어 애플리케이션(212)과 게이트웨이(203-1, 203-2) 간 보안 세션(220-1, 220-2)을 통해 인가되지 않은 프로그램의 서비스 서버(205-1, 205-2)에 대한 접속을 차단하고 해당 프로그램을 격리할 수 있다. Some of the targeted applications (211-1, 211-2, 211-3) are allowed and/or secured applications, such as web browsers or business applications, while others are disallowed programs (e.g. malware, ransomware). , other disallowed applications) or insecure malicious programs (applications infected with malicious code, counterfeit or tampered with). According to embodiments, the access control application 212 identifies a program (or target application, process of the target application) requesting data packet transmission, and transmits the data packet of the disallowed program to the outside of the node 201. can prevent it from happening. In addition, according to embodiments, the access control application 212 is a secure session (220-1, 220-2) between the access control application 212 and the gateways (203-1, 203-2) of the unauthorized program. Access to the service servers 205-1 and 205-2 may be blocked and corresponding programs may be quarantined.
예를 들어, 실시 예들에 따른 타겟 애플리케이션(211-1, 211-2, 211-3)이 서비스 서버(205-1, 205-2)와 통신하기 이전에 접속 제어 애플리케이션(212)은 컨트롤러(202)로부터 접속 가능 여부를 확인하고, 접속 가능한 경우 컨트롤러(202)에 의하여 인증된 데이터 패킷을 통해 게이트웨이(203-1, 203-2)와 인증을 수행할 수 있다. 인증이 완료되면 접속 제어 애플리케이션(212)은 게이트웨이(203-1, 203-2)와 보안 세션(220-1, 220-2)을 생성할 수 있다. For example, before the target applications 211-1, 211-2, and 211-3 according to embodiments communicate with the service servers 205-1 and 205-2, the access control application 212 controls the controller 202 ), whether access is possible, and if access is possible, authentication may be performed with the gateways 203-1 and 203-2 through data packets authenticated by the controller 202. When authentication is complete, the access control application 212 may create a secure session with the gateways 203-1 and 203-2 and the secure sessions 220-1 and 220-2.
다양한 실시 예들에 따르면, 노드(201)는 노드(201) 내에 저장된 타겟 애플리케이션(211-1, 211-2, 211-3)의 네트워크 접속을 관리하기 위한 접속 제어 애플리케이션(212) 및 네트워크 드라이버(미도시)를 포함할 수 있다. 예를 들어, 노드(201)에 저장된 타겟 애플리케이션(211-1, 211-2, 211-3)의 서비스 서버(205-1, 205-2)에 대한 접속 이벤트가 발생하면, 접속 제어 애플리케이션(212)은 타겟 애플리케이션(211-1, 211-2, 211-3)의 접속 가능 여부를 결정할 수 있다. 타겟 애플리케이션(211-1, 211-2, 211-3)이 접속 가능하면, 접속 제어 애플리케이션(212)은 보안 세션(220-1, 220-2)을 통해 게이트웨이(203-1, 203-2)로 데이터 패킷을 전송할 수 있다. 접속 제어 애플리케이션(212)은 노드(201) 내에서 운영체제를 포함하는 커널(kernel) 및 네트워크 드라이버를 통해 데이터 패킷의 전송을 제어할 수 있다. According to various embodiments, the node 201 includes an access control application 212 and a network driver (not shown) for managing network access of the target applications 211-1, 211-2, and 211-3 stored in the node 201. city) may be included. For example, when an access event for the service server 205-1 or 205-2 of the target application 211-1, 211-2 or 211-3 stored in the node 201 occurs, the access control application 212 ) may determine whether the target applications 211-1, 211-2, and 211-3 are accessible. If the target applications 211-1, 211-2, and 211-3 are accessible, the access control application 212 connects to the gateways 203-1 and 203-2 through the secure sessions 220-1 and 220-2. data packets can be transmitted. The access control application 212 may control transmission of data packets within the node 201 through a kernel including an operating system and network drivers.
또한 접속 제어 애플리케이션(212)은 커널에서 파일 시스템 IO(input output)를 감시 및 제어할 수 있다. 파일 시스템 IO는 임의 애플리케이션(또는, 임의 프로세스)에 의해 커널의 파일 시스템에서 발생하는 입력 및/또는 출력을 의미한다. 파일 시스템 IO는 파일 시스템에 특정 정보를 쓰거나, 파일 시스템의 특정 정보를 읽거나, 또는 갱신하는 동작 등을 포함한다. 파일 시스템 IO를 위해, 임의 애플리케이션(또는, 임의 프로세스)은 파일 시스템을 사용하기 위한 핸들(handle)(예: 파일 핸들)을 획득하여야 한다. In addition, the access control application 212 may monitor and control file system input output (IO) in the kernel. File system IO refers to input and/or output generated by an arbitrary application (or arbitrary process) in the kernel's file system. The file system IO includes an operation of writing specific information to the file system, reading specific information of the file system, or updating the file system. For file system IO, any application (or any process) must acquire a handle (eg, file handle) to use the file system.
접속 제어 애플리케이션(212)은 파일 시스템 IO을 감시하기 위해 파일 시스템 드라이버(미도시) 또는 파일 시스템 IO 이벤트에 대한 후킹(hooking)을 통한 파일 시스템 IO의 감시가 가능한 파일 IO 제어 모듈(미도시)을 포함할 수 있다. 파일 시스템 IO는 파일 IO로도 참조될 수 있다.The access control application 212 uses a file system driver (not shown) or a file IO control module (not shown) capable of monitoring file system IO through hooking for file system IO events to monitor file system IO. can include File system IO can also be referred to as file IO.
파일 IO 제어 모듈은 파일 IO를 감시하여 타겟 애플리케이션(211-1, 211-2, 211-3) 중 어느 애플리케이션이 파일 시스템에 접근(또는, 파일 IO 접근)하는지를 식별할 수 있다. The file IO control module may identify which of the target applications 211-1, 211-2, and 211-3 is accessing the file system (or accessing the file IO) by monitoring the file IO.
파일 IO 제어 모듈은 데이터 플로우와 관련되는 애플리케이션의 식별 정보 및 프로세스 식별자(PID: process identifier)를 통해 해당 애플리케이션이 접속된 네트워크와 연계하여 해당 애플리케이션의 파일 IO 접근 가능 여부를 확인할 수 있다. 파일 IO 제어 모듈은 애플리케이션의 파일 IO 접근이 불가능한 경우 해당 애플리케이션이 더 이상 파일 IO에 접근할 수 없도록 처리하여, 노드(201)가 파일 전송 및 파일 수신에 대해 세밀하게 제어하게 한다. 파일 IO 제어 모듈은 애플리케이션의 파일 IO 접근이 불가능한 경우 해당 애플리케이션이 더 이상 파일 IO에 접근할 수 없도록 파일 IO 핸들을 제거할 수 있다. 파일 IO 핸들의 제거는 파일 IO 제거로도 참조될 수 있다. The file IO control module may check whether the application can access the file IO in association with a network to which the corresponding application is connected through identification information and a process identifier (PID) of the application related to the data flow. The file IO control module, when the application cannot access the file IO, processes the application so that it can no longer access the file IO, allowing the node 201 to control file transmission and file reception in detail. The file IO control module can remove the file IO handle so that the application can no longer access the file IO when the application cannot access the file IO. Removal of a file IO handle may also be referred to as file IO removal.
컨트롤러(202)는 예를 들어, 서버(또는, 클라우드 서버)일 수 있다. 컨트롤러(202)는 노드(201), 게이트웨이(203-1, 203-2), 및 서비스 서버(205-1, 205-2) 간 데이터 전송을 관리함으로써 네트워크 환경 내에서 신뢰되는 데이터 전송을 보장할 수 있다. 예를 들어, 컨트롤러(202)는 정책 정보 또는 블랙리스트 정보를 통해 인가된 노드(201)(또는, 접속 제어 애플리케이션(212))의 네트워크 접속을 허용할 수 있다. The controller 202 may be, for example, a server (or cloud server). The controller 202 manages data transmission between the node 201, the gateways 203-1 and 203-2, and the service servers 205-1 and 205-2 to ensure reliable data transmission within the network environment. can For example, the controller 202 may allow the network access of the authorized node 201 (or the access control application 212) through policy information or blacklist information.
또한, 컨트롤러(202)는 접속 제어 애플리케이션(212)과 게이트웨이(203-1, 203-2) 간 보안 세션(220-1, 220-2)의 생성을 중개하거나, 노드(201) 또는 게이트웨이(203-1, 203-2)로부터 수집된 보안 이벤트에 따라서 보안 세션(220-1, 220-2)을 제거할 수 있다. 접속 제어 애플리케이션(212)은 컨트롤러(202)에 의하여 인가된 보안 세션(220-1, 220-2)을 통해서만 서비스 서버(205-1, 205-2)와 통신할 수 있으며, 인가된 보안 세션(220-1, 220-2)이 존재하지 않으면 노드(201) 및 접속 제어 애플리케이션(212)의 네트워크 접속이 차단될 수 있다. 일 실시 예에서, 타겟 애플리케이션(211-1, 211-2, 211-3)은 컨트롤러(202)에 의하여 인가된 보안 세션(220-1, 220-2)을 통해서만 서비스 서버(205-1, 205-2)와 통신할 수 있으며, 인가된 보안 세션(220-1, 220-2)이 존재하지 않으면 타겟 애플리케이션(211-1, 211-2, 211-3)의 네트워크 접속은 접속 제어 애플리케이션(212), 컨트롤러(202) 또는 게이트웨이(203)로부터 차단될 수 있다. 일 실시 예에 따르면, 컨트롤러(202)는 노드(201) 또는 접속 제어 애플리케이션(212)의 네트워크 접속과 연관된 다양한 동작(예: 등록, 승인, 인증, 갱신, 종료)을 수행하기 위하여 접속 제어 애플리케이션(212)과 제어 데이터 패킷을 송수신할 수 있다. 제어 데이터 패킷이 전송되는 흐름(예: 230)은 '제어 플로우(control flow)'로 참조될 수 있다. In addition, the controller 202 mediates the creation of secure sessions 220-1 and 220-2 between the access control application 212 and the gateways 203-1 and 203-2, or the node 201 or the gateway 203 According to the security events collected from -1 and 203-2, the security sessions 220-1 and 220-2 may be removed. The access control application 212 can communicate with the service servers 205-1 and 205-2 only through the security sessions 220-1 and 220-2 authorized by the controller 202, and the authorized security session ( If the nodes 220-1 and 220-2 do not exist, network access of the node 201 and the access control application 212 may be blocked. In one embodiment, the target applications 211-1, 211-2, and 211-3 may access the service servers 205-1 and 205 only through the secure sessions 220-1 and 220-2 authorized by the controller 202. -2), and if there is no authorized secure session (220-1, 220-2), the network access of the target applications (211-1, 211-2, 211-3) is the access control application (212 ), can be blocked from the controller 202 or gateway 203. According to one embodiment, the controller 202 is an access control application (eg, registration, approval, authentication, renewal, termination) associated with network access of the node 201 or access control application 212 212) and control data packets can be transmitted and received. A flow through which the control data packet is transmitted (eg, 230) may be referred to as a 'control flow'.
게이트웨이(203-1, 203-2)는 노드(201)가 속하는 네트워크의 경계 또는 서비스 서버(205-1, 205-2)가 속하는 네트워크의 경계에 위치할 수 있다. 일 실시 예에 따르면, 게이트웨이(203-1, 203-2)는 클라우드(cloud) 기반으로 컨트롤러(202)와 연결될 수 있다. 게이트웨이(203-1, 203-2)는 접속 제어 애플리케이션(212)으로부터 수신된 데이터 패킷 중에서 인가된 데이터 패킷만을 서비스 서버(205-1, 205-2)로 포워딩할 수 있다. 접속 제어 애플리케이션(212) 및 게이트웨이(203-1, 203-2) 사이에서 데이터 패킷이 전송되는 흐름(예: 240-1, 240-2)은 '데이터 플로우(data flow)'로 참조될 수 있다. The gateways 203-1 and 203-2 may be located at the boundary of the network to which the node 201 belongs or the boundary of the network to which the service servers 205-1 and 205-2 belong. According to one embodiment, the gateways 203-1 and 203-2 may be connected to the controller 202 based on a cloud. The gateways 203-1 and 203-2 may forward only authorized data packets among data packets received from the access control application 212 to the service servers 205-1 and 205-2. A flow in which data packets are transmitted between the access control application 212 and the gateways 203-1 and 203-2 (eg, 240-1 and 240-2) may be referred to as a 'data flow'. .
데이터 플로우는 노드 또는 IP 단위뿐만 아니라 보다 세부적인 단위(예: 애플리케이션 단위)로도 생성될 수 있다. 게이트웨이(203-1, 203-2)는 접속 제어 애플리케이션(212)과 게이트웨이(203-1, 203-2) 간 보안 세션(220-1, 220-2) 생성 이전에 접속 제어 애플리케이션(212)의 인증을 수행하고, 접속 제어 애플리케이션(212)으로부터 전송된 데이터 패킷 중 보안 세션(220-1, 220-2)을 통해 전송된 데이터 패킷만을 서비스 서버(205-1, 205-2)로 포워딩함으로써 무분별한 네트워크 접속을 사전에 차단할 수 있다.Data flows can be created not only on a node or IP basis, but also on a more granular basis (e.g., on an application basis). The gateways 203-1 and 203-2 are connected to the access control application 212 prior to the creation of secure sessions 220-1 and 220-2 between the access control application 212 and the gateways 203-1 and 203-2. By performing authentication and forwarding only the data packets transmitted through the secure sessions 220-1 and 220-2 among the data packets transmitted from the access control application 212 to the service servers 205-1 and 205-2, indiscriminate prevention Network access can be blocked in advance.
도 2는 다양한 실시 예들에 따라 컨트롤러(202)에 저장된 데이터베이스를 나타내는 기능적 블록도이며, 도 3은 데이터베이스에 포함된 정보 중 제어 플로우 정보(340), 데이터 플로우 정보(350) 및 파일 IO 테이블 정보(360)를 나타낸다. 2 is a functional block diagram showing a database stored in the controller 202 according to various embodiments, and FIG. 3 shows control flow information 340, data flow information 350, and file IO table information among information included in the database ( 360).
도 2를 참조하면, 컨트롤러(202)는 네트워크 접속 및 데이터 전송의 제어를 위한 데이터베이스(311 내지 317)를 메모리(330)에 저장할 수 있다. 도 2는 메모리(330)만을 도시하지만, 컨트롤러(202)는 외부 전자 장치(예: 도 1의 노드(201), 게이트웨이(203-1, 203-2) 또는 서비스 서버(205-1, 205-2))와 통신을 수행하기 위한 통신 회로(예: 도 4의 통신 회로(430)) 및 컨트롤러(202)의 전반적인 동작을 제어하기 위한 프로세서(예: 도 4의 프로세서(410))를 더 포함할 수 있다. 관리자는 컨트롤러(202)에 접속하여 접속 제어 애플리케이션(212)과 서비스 서버(205-1, 205-2) 간 접속을 제어하기 위한 연결 중심의 정책을 설정할 수 있으므로, 서비스 단에서 세션을 관리하는 것 보다 세밀하고 안전하게 네트워크 접속을 제어할 수 있다.Referring to FIG. 2 , the controller 202 may store databases 311 to 317 for controlling network access and data transmission in a memory 330 . Although FIG. 2 shows only the memory 330, the controller 202 may include an external electronic device (e.g., node 201 in FIG. 1, gateways 203-1 and 203-2) or service servers 205-1 and 205- 2)) further includes a communication circuit (eg, the communication circuit 430 of FIG. 4 ) and a processor (eg, the processor 410 of FIG. 4 ) for controlling the overall operation of the controller 202 for performing communication with the can do. Since the administrator can connect to the controller 202 and set a connection-oriented policy for controlling access between the access control application 212 and the service servers 205-1 and 205-2, the service side manages the session. You can control network access more precisely and securely.
접속 정책 데이터베이스(311)는 식별된 네트워크, 노드, 또는 애플리케이션이 접속 가능한 네트워크 및/또는 서비스에 대한 정보를 포함할 수 있다. 예를 들어, 컨트롤러(202)는 접속 제어 애플리케이션(212)의 네트워크 접속 요청 시, 접속 정책 데이터베이스(311)의 정책에 기반하여 식별된 네트워크(예: 노드(201)가 속하는 네트워크), 노드, 사용자(예: 노드(201)의 사용자), 및/또는 애플리케이션(예: 노드(201)에 포함되는 타겟 애플리케이션(211-1, 211-2, 211-3))이 서비스 서버(205-1, 205-2)에 접속이 가능한지 여부를 결정할 수 있다. 일 실시 예에서, 컨트롤러(202)는 접속 정책 데이터베이스(311)에 기반하여 특정 서비스(예: IP 및 포트)로 접속 가능한 타겟 애플리케이션(211-1, 211-2, 211-3)의 화이트리스트를 생성할 수 있다. The access policy database 311 may include information about networks and/or services to which the identified networks, nodes, or applications may access. For example, the controller 202, when requesting network access from the access control application 212, identifies a network (eg, a network to which the node 201 belongs), a node, and a user based on a policy of the access policy database 311. (eg, a user of the node 201), and/or an application (eg, a target application 211-1, 211-2, or 211-3 included in the node 201) service servers 205-1, 205 It is possible to determine whether access to -2) is possible. In one embodiment, the controller 202 sets a whitelist of target applications 211-1, 211-2, and 211-3 that can be accessed by a specific service (eg, IP and port) based on the access policy database 311. can create
파일 IO 정책 데이터베이스(312)는 접속 정책과 연계되며, 타겟 애플리케이션(211-1, 211-2, 211-3)에 대한 파일 IO 정책을 수립하기 위한 정보를 포함할 수 있다. 예를 들어, 파일 IO 정책 데이터베이스(312)는 타겟 애플리케이션(211-1, 211-2, 211-3)의 파일 수신 및 전송을 허용할 것인지 또는 허용하지 않을 것인지에 대한 정보, 및 단말(예: 노드(201))이 요청한 파일에 대하여 파일 쓰기를 허용할 것인지 및 파일 읽기를 허용할 것인지에 대한 사용자, 단말, 애플리케이션, 및 네트워크의의 식별 정보와 연계되는 파일 별 접근 권한 정보를 포함할 수 있다. 또한, 파일 IO 정책 데이터베이스(312)는 파일을 암호화할 것인지 여부 및 파일을 암호화할 것인지 여부, 및 파일 암호화 및 복호화 시 사용할 알고리즘 및 파일 암호화 및 복호화 키 생성 정보를 포함할 수 있다.The file IO policy database 312 is associated with an access policy and may include information for establishing a file IO policy for the target applications 211-1, 211-2, and 211-3. For example, the file IO policy database 312 includes information on whether or not to allow file reception and transmission of the target applications 211-1, 211-2, and 211-3, and terminals (eg, nodes). (201)) may include access authority information for each file associated with identification information of the user, terminal, application, and network regarding whether to allow file writing or file reading with respect to the requested file. In addition, the file IO policy database 312 may include whether to encrypt a file, whether to encrypt a file, an algorithm to be used when encrypting and decrypting a file, and information on generating a file encryption and decryption key.
블랙리스트 정책 데이터베이스(313)는 노드(201) 또는 게이트웨이(203-1, 203-2)에서 주기적으로 수집되는 보안 이벤트 중에서 보안 이벤트의 위험도, 발생 주기, 및/또는 행위 분석을 통해 식별된 대상(예: 노드 ID(identifier), IP 주소, MAC(media access control) 주소, 또는 사용자 ID 중 적어도 하나)의 접속을 차단하기 위한 블랙리스트 등록 정책을 나타낼 수 있다. The blacklist policy database 313 is a target identified through analysis of the risk, occurrence cycle, and/or behavior of security events among security events periodically collected by the node 201 or the gateways 203-1 and 203-2 ( Example: A blacklist registration policy for blocking access of at least one of a node identifier (ID), an IP address, a media access control (MAC) address, or a user ID) may be indicated.
블랙리스트 데이터베이스(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 denying the network access request when identification information of the node 201 requesting network access is included in the blacklist database 314 .
제어 플로우 테이블(315)은 접속 제어 애플리케이션(212)과 컨트롤러(202) 사이에 생성된 제어 데이터 패킷의 흐름(즉, 제어 플로우)을 관리하기 위한 세션 테이블의 일 예이다. The control flow table 315 is an example of a session table for managing the flow of control data packets generated between the connection control application 212 and the controller 202 (ie, control flow).
예를 들어 도 3을 참조하면, 접속 제어 애플리케이션(212)이 성공적으로 컨트롤러(202)에 접속하는 경우 제어 플로우 정보(340) 및 제어 플로우 ID(342)(또는 '제어 플로우 식별 정보'로도 참조될 수 있다)가 컨트롤러(202)에 의하여 생성될 수 있다. 제어 플로우 정보(340)는 컨트롤러 접속 및 인증 시 식별된 IP, 노드, 애플리케이션, 또는 서비스 서버와의 연계를 통해 추가적으로 식별된 대상 중 적어도 하나를 나타내는 식별 정보(344)를 포함할 수 있다. 예를 들어 접속 제어 애플리케이션(212)의 네트워크 접속 요청이 수신되면, 컨트롤러(202)는 접속 요청에 포함된 제어 플로우 ID 및 식별 정보를 제어 플로우 정보(340)에 포함된 제어 플로우 ID(342) 및 식별 정보(344)와 매핑함으로써 접속 제어 애플리케이션(212)의 서비스 서버(205-1, 205-2)에 대한 접속 가능 여부 및 게이트웨이(203)와의 보안 세션(220-1, 220-2) 생성을 위한 데이터 플로우 생성 가능 여부를 결정할 수 있다. 상태 정보(346)는 제어 플로우의 생성, 인증, 갱신, 종료 등과 같은 다양한 상태를 나타낼 수 있다. For example, referring to FIG. 3 , when the access control application 212 successfully accesses the controller 202, control flow information 340 and control flow ID 342 (also referred to as 'control flow identification information') may) be generated by the controller 202 . The control flow information 340 may include identification information 344 indicating at least one of an IP identified during controller access and authentication, a node, an application, or an object additionally identified through association with a service server. For example, when a network access request from the access control application 212 is received, the controller 202 converts the control flow ID and identification information included in the access request to the control flow ID 342 and control flow ID 342 included in the control flow information 340. By mapping with the identification information 344, it is possible to connect the access control application 212 to the service servers 205-1 and 205-2 and to create secure sessions 220-1 and 220-2 with the gateway 203. It is possible to determine whether a data flow can be created for State information 346 may indicate various states such as creation, authentication, renewal, termination, and the like of the control flow.
일 실시 예에 따르면, 제어 플로우는 만료 시간을 가지므로, 노드(201)는 시간 정보(348)에 기반하여 제어 플로우의 만료 시간을 갱신해야 하며, 일정 시간 동안에 만료 시간이 갱신되지 않으면 제어 플로우(또는, 제어 플로우 정보(340))는 제거될 수 있다. 또한, 노드(201), 접속 제어 애플리케이션(212), 다른 보안 애플리케이션(미도시), 또는 게이트웨이로(203-1, 203-2)부터 수집된 보안 이벤트에 따라서 즉각적인 접속 차단이 필요하다고 결정되거나, 이들로부터 접속 종료 요청이 수신되면, 컨트롤러(202)는 제어 플로우를 제거할 수 있다. 제어 플로우가 제거되면 관련된 데이터 플로우 또한 제거되며, 게이트웨이(203-1, 203-2)는 접속 제어 애플리케이션(212) 또는 타겟 애플리케이션(211-1, 211-2, 211-3)의 서비스 서버(205-1, 205-2)에 대한 접속을 차단할 수 있다. According to one embodiment, since the control flow has an expiration time, the node 201 needs to update the expiration time of the control flow based on the time information 348, and if the expiration time is not updated for a certain period of time, the control flow ( Alternatively, the control flow information 340 may be removed. In addition, it is determined that immediate blocking of access is necessary according to the node 201, the access control application 212, other security applications (not shown), or security events collected from the gateways 203-1 and 203-2; When a connection termination request is received from them, the controller 202 may remove the control flow. When the control flow is removed, the associated data flow is also removed, and the gateways 203-1 and 203-2 connect the access control application 212 or the service server 205 of the target applications 211-1, 211-2 and 211-3. -1, 205-2) can be blocked.
데이터 플로우 테이블(316)은 노드(201)와 게이트웨이(203-1, 203-2), 및 서비스 서버(205-1, 205-2) 사이에 세부적인 데이터 패킷이 전송되는 흐름(예: 데이터 플로우)을 관리하기 위한 테이블이다. 데이터 플로우는 TCP 세션, 애플리케이션, 또는 보다 세부적인 단위로 생성될 수 있다. 데이터 플로우 테이블(316)은 출발지로부터 전송된 데이터 패킷이 인가된 데이터 패킷인지를 식별하기 위한 애플리케이션 ID, 도착지 IP 주소, 및/또는 서비스 포트를 포함할 수 있다. The data flow table 316 is a flow (e.g., data flow ) is a table for managing Data flows can be created in TCP sessions, applications, or more granular units. The data flow table 316 may include an application ID, destination IP address, and/or service port for identifying whether a data packet transmitted from a source is an authorized data packet.
도 3을 참조하면, 데이터 플로우 정보(350)는 데이터 플로우 ID(351)와 데이터 플로우가 제어 플로우에 종속되는 경우에는 제어 플로우 ID(352)를 포함할 수 있다. 또한, 데이터 플로우 정보(350)는 데이터 패킷의 출발지 IP와 도착지 IP 및 포트에 기반하여 데이터 패킷의 포워딩을 판단하기 위한 인가된 대상 정보(353), 데이터 플로우가 사용 가능한 유효한 상태인지 여부를 나타내는 상태 정보(355), 및/또는 데이터 플로우의 인증 만료 시각 정보를 나타내는 시간 정보(356)를 포함 할 수 있다. 또한, 데이터 플로우 정보(350)는 인가된 파일 IO 정보(354)를 더 포함할 수 있다. 인가된 파일 IO 정보(354)는 애플리케이션의 파일 IO 접근(예: 읽기(read), 쓰기(write)와 같은 접근)을 허용할 것인지에 대한 정보를 포함할 수 있다. 예를 들어, 인가된 파일 IO 정보(354)는 애플리케이션의 파일 수신을 위한 파일 IO 시 쓰기 가능 여부 및 쓰기 가능한 경로 정보를 포함할 수 있다. 예를 들어, 인가된 파일 IO 정보(354)는 애플리케이션의 파일 전송을 위한 파일 IO 시 읽기 가능 여부 및 읽기 가능한 경로 정보를 포함할 수 있다. 또한 예를 들어, 인가된 파일 IO 정보(354)는 데이터 플로우를 적용하는 애플리케이션의 파일 IO 허용 여부(예: 파일 IO 처리 예외 등)에 대한 정보를 포함한다. 예를 들어, 인가된 파일 IO 정보(354)는 애플리케이션의 파일 쓰기 시 컨트롤러(202)에서의 파일 쓰기 정보 검사 필요 여부, 및 애플리케이션의 파일 읽기 시 컨트롤러(202)에서의 파일 읽기 정보 검사 필요 여부에 대한 정보를 포함할 수 있다. 또한 예를 들어, 인가된 파일 IO 정보(354)는 파일 암호화가 필요한지 여부 및 파일 복호화가 필요한지 여부를 포함할 수 있다.Referring to FIG. 3 , data flow information 350 may include a data flow ID 351 and a control flow ID 352 when the data flow is dependent on the control flow. In addition, the data flow information 350 includes authorized destination information 353 for determining forwarding of the data packet based on the source IP and destination IP and port of the data packet, a state indicating whether the data flow is in a valid state that can be used information 355 and/or time information 356 representing authentication expiration time information of the data flow. In addition, the data flow information 350 may further include authorized file IO information 354 . The authorized file IO information 354 may include information on whether to allow file IO access (eg, access such as read and write) of an application. For example, the authorized file IO information 354 may include information on whether writing is possible and writable path information at the time of file IO for file reception by an application. For example, the authorized file IO information 354 may include readable information and readable path information at the time of file IO for file transmission by an application. Also, for example, the authorized file IO information 354 includes information about whether the application applying the data flow allows file IO (eg, file IO processing exception). For example, the authorized file IO information 354 depends on whether the controller 202 needs to check the file write information when the application writes a file, and whether the file read information needs to be checked by the controller 202 when the application reads a file. information may be included. Also, for example, the authorized file IO information 354 may include whether file encryption is required and whether file decryption is required.
파일 IO 테이블(317)은 노드(201)에서 발생한 파일 IO를 기록하고 관리하기 위한 데이터베이스로, 파일 IO 테이블 정보(360)를 포함할 수 있다. The file IO table 317 is a database for recording and managing file IOs generated by the node 201, and may include file IO table information 360.
도 3을 참조하면, 파일 IO 테이블 정보(360)는 파일 시스템 IO가 발생된 프로세스의 PID(361)와 애플리케이션을 식별하기 위한 애플리케이션 식별 정보(362)(예: 애플리케이션 명칭 및 실행 경로, 고유 정보 등)를 포함할 수 있다. 파일 IO 테이블 정보(360)는 데이터 플로우가 식별된 상태에서 파일 시스템 IO가 발생되었을 경우, 네트워크 접속 제어 정보와 연계를 위한 데이터 플로우 ID(363)를 포함할 수 있다. 파일 IO 테이블 정보(360)는 파일 시스템 IO가 어떠한 형태(예: 일기 및/또는 쓰기)로 발생하였는지에 대한 파일 IO 정보(364), 파일 암호화 및 복호화시 사용할 키, 및 암호화 및 복호화 알고리즘 종류를 포함하는 암복호화 정보(365), 파일 시스템 IO가 발생한 경로, 파일명, 및/또는 파일을 관리하기 위한 고유 정보(예: 해쉬 및 시그니처, 헤더 정보 등)를 포함하는 파일 정보(366), 파일 IO가 종료되었는지, 허용되지 않은 파일 IO에 따른 파일 IO 해제 여부, 파일 읽기 요청(또는 '파일 읽기 정보 검사 요청'으로 참조될 수 있다.) 필요 여부, 및 파일 쓰기 요청(또는 '파일 쓰기 정보 검사 요청'으로 참조될 수 있다.) 필요 여부에 관한 정보를 포함하는 상태 정보(367), 및/또는 파일 IO가 발생한 시각을 나타내는 파일 IO 시간 정보(368)을 포함할 수 있다. Referring to FIG. 3 , the file IO table information 360 includes a PID 361 of a process in which file system IO occurs and application identification information 362 for identifying an application (eg, application name and execution path, unique information, etc.) ) may be included. The file IO table information 360 may include a data flow ID 363 for association with network access control information when a file system IO occurs while the data flow is identified. The file IO table information 360 includes file IO information 364 about the type of file system IO (e.g., reading and/or writing), a key to be used when encrypting and decrypting a file, and types of encryption and decryption algorithms. file information 366 including encryption/decryption information 365, path where file system IO occurred, file name, and/or unique information for managing files (eg, hash and signature, header information, etc.), file IO termination, whether to release file IO according to disallowed file IO, whether a file read request (or 'request to check file read information') is required, and a file write request (or 'request to check file write information') It can be referred to as.) State information 367 including information on whether it is needed, and/or file IO time information 368 indicating the time at which file IO occurred.
도 4는 다양한 실시 예들에 따른 노드(201)의 기능적 블록도를 나타낸다. 도 4에 도시된 구성들 중 적어도 일부는 컨트롤러(202), 게이트웨이(203-1, 203-2), 또는 서비스 서버(205-1, 205-2)에 적용될 수 있다. 4 shows a functional block diagram of node 201 according to various embodiments. At least some of the configurations shown in FIG. 4 may be applied to the controller 202, gateways 203-1 and 203-2, or service servers 205-1 and 205-2.
도 4를 참조하면, 노드(201)는 프로세서(410), 메모리(420), 및 통신 회로(430)를 포함할 수 있다. 일 실시 예에 따르면, 노드(201)는 사용자 인터페이스를 제공하기 위하여 디스플레이(440)를 더 포함할 수 있다. Referring to FIG. 4 , a node 201 may include a processor 410 , a memory 420 , and a communication circuit 430 . According to one embodiment, node 201 may further include a display 440 to provide a user interface.
프로세서(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 a single processor core or may include a plurality of processor cores. For example, the processor 410 may include multi-cores such as dual-core, quad-core, and hexa-core. According to embodiments, the processor 410 may further include an internal or external cache memory. According to embodiments, the processor 410 may be configured with one or more processors. For example, the processor 410 may include at least one of an application processor, a communication processor, or a graphical processing unit (GPU).
프로세서(410)의 전부 또는 일부는 노드(201) 내의 다른 구성 요소(예를 들면, 메모리(420), 통신 회로(430), 또는 디스플레이(440))와 전기적으로(electrically) 또는 작동적으로(operatively) 결합(coupled with)되거나 연결될(connected to) 수 있다. 프로세서(410)는 다른 구성 요소들의 명령을 수신할 수 있고, 수신된 명령을 해석할 수 있으며, 해석된 명령에 따라 계산을 수행하거나 데이터를 처리할 수 있다. 프로세서(410)는 메모리(420), 통신 회로(430), 또는 디스플레이(440)로부터 수신되는 메시지, 데이터, 명령어, 또는 신호를 해석할 수 있고, 가공할 수 있다. 프로세서(410)는 수신된 메시지, 데이터, 명령어, 또는 신호에 기반하여 새로운 메시지, 데이터, 명령어, 또는 신호를 생성할 수 있다. 프로세서(410)는 가공되거나 생성된 메시지, 데이터, 명령어, 또는 신호를 메모리(420), 통신 회로(430), 또는 디스플레이(440)에게 제공할 수 있다. All or part of processor 410 is electrically or operatively (eg, memory 420, communication circuitry 430, or display 440) in node 201 (e.g., memory 420). It can be operatively coupled with or connected to. The processor 410 may receive commands from other components, interpret the received commands, and perform calculations or process data according to the interpreted commands. The processor 410 may interpret and process messages, data, commands, or signals received from the memory 420 , the communication circuit 430 , or the display 440 . The processor 410 may generate a new message, data, command, or signal based on the received message, data, command, or signal. Processor 410 may provide processed or generated messages, data, instructions, or signals to memory 420 , communication circuitry 430 , or display 440 .
프로세서(410)는 프로그램에서 생성되거나 발생되는 데이터 또는 신호를 처리할 수 있다. 예를 들면, 프로세서(410)는 프로그램을 실행하거나 제어하기 위해 메모리(420)에게 명령어, 데이터 또는 신호를 요청할 수 있다. 프로세서(410)는 프로그램을 실행하거나 제어하기 위해 메모리(420)에게 명령어, 데이터, 또는 신호를 기록(또는 저장)하거나 갱신할 수 있다. The processor 410 may process data or signals generated or generated by a program. For example, the processor 410 may request instructions, data, or signals from the memory 420 to execute or control a program. The processor 410 may record (or store) or update instructions, data, or signals in the memory 420 to execute or control a program.
메모리(420)는 노드를 제어하는 명령어, 제어 명령어 코드, 제어 데이터, 또는 사용자 데이터를 저장할 수 있다. 예를 들면, 메모리(420)는 애플리케이션 프로그램, OS(operating system), 미들웨어(middleware), 또는 디바이스 드라이버(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) 등을 포함할 수 있다. 메모리(420)는 하드 디스크 드라이브(HDD, hard disk drive), 솔리드 스테이트 디스크(SSD, solid state disk), eMMC(embedded multi media card), UFS(universal flash storage)와 같은 불휘발성 매체(medium)를 더 포함할 수 있다. The memory 420 may store commands for controlling nodes, control command codes, control data, or user data. For example, the memory 420 may include at least one of an application program, an operating system (OS), middleware, or a device driver. 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). can include The nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, and the like. The memory 420 uses a nonvolatile medium such as a hard disk drive (HDD), a solid state disk (SSD), an embedded multi media card (eMMC), or a universal flash storage (UFS). can include more.
일 실시 예에 따르면, 메모리(420)는 도 1의 타겟 애플리케이션(211-1, 211-2, 211-3) 및 접속 제어 애플리케이션(212)을 저장할 수 있다. 접속 제어 애플리케이션(212)은 게이트웨이(203-1, 203-2)와의 네트워크 접속 및 보안 세션(220-1, 220-2) 생성과, 컨트롤러(202)와의 제어 플로우 생성 및 갱신 기능을 수행할 수 있다. 이를 위하여 접속 제어 애플리케이션(212)은 하나 이상의 보안 모듈을 포함할 수 있다. 일 실시 예에서, 메모리(420)는 도 3의 제어 플로우 정보(340) 데이터 플로우 정보(350), 및 파일 IO 테이블 정보(360)를 저장할 수 있다. According to one embodiment, the memory 420 may store the target applications 211-1, 211-2, and 211-3 of FIG. 1 and the access control application 212. The access control application 212 may perform network access and secure sessions 220-1 and 220-2 with the gateways 203-1 and 203-2, and control flow creation and update functions with the controller 202. there is. To this end, the access control application 212 may include one or more security modules. In one embodiment, the memory 420 may store control flow information 340 , data flow information 350 , and file IO table information 360 of FIG. 3 .
일 실시 예에서, 타겟 애플리케이션(211-1, 211-2, 211-3)은 게이트웨이(203-1, 203-2)와의 보안 세션(220-1, 220-2) 생성을 위하여 하나 이상의 보안 모듈을 포함할 수 있다.In one embodiment, the target applications 211-1, 211-2, and 211-3 use one or more security modules to create secure sessions 220-1 and 220-2 with the gateways 203-1 and 203-2. can include
통신 회로(430)는 노드(201)와 외부 전자 장치(예: 컨트롤러(202) 또는 게이트웨이(203-1, 203-2)) 간의 유선 또는 무선 통신 연결의 수립, 및 수립된 연결을 통한 통신 수행을 지원할 수 있다. 일 실시 예에 따르면, 통신 회로(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 201 and an external electronic device (eg, the controller 202 or the gateways 203-1 and 203-2), and performs communication through the established connection. can support According to one embodiment, the communication circuit 430 may be a wireless communication circuit (eg, cellular communication circuit, short-range wireless communication circuit, or 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 a corresponding communication circuit among them, a short-distance communication network such as Bluetooth, WiFi direct, or IrDA (infrared data association) or a cellular network, a long-distance communication such as the Internet, or a computer network It may communicate with an external electronic device through a network. The various types of communication circuits 430 described above may be implemented as a single chip or may be implemented as separate chips.
디스플레이(440)는, 컨텐츠, 데이터, 또는 신호를 출력할 수 있다. 다양한 실시 예들에서, 디스플레이(440)는 프로세서(410)에 의해 가공된 이미지 데이터를 표시할 수 있다. 실시 예들에 따라, 디스플레이(440)는 터치 입력 등을 수신할 수 있는 복수의 터치 센서들(미도시)과 결합됨으로써, 일체형의 터치 스크린(touch screen)으로 구성될(configured with) 수도 있다. 디스플레이(440)가 터치 스크린으로 구성되는 경우, 복수의 터치 센서들은, 디스플레이(440) 위에 배치되거나, 디스플레이(440) 아래에 배치될 수 있다.The display 440 may output content, data, or signals. In various embodiments, the display 440 may display image data processed by the processor 410 . According to embodiments, the display 440 may be configured as an integral touch screen by being combined with a plurality of touch sensors (not shown) capable of receiving a touch input. 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 .
도 5는 다양한 실시 예들에 따라 데이터 패킷의 전송을 제어하는 동작을 설명한다. 5 describes an operation of controlling transmission of a data packet according to various embodiments.
도 5를 참조하면, 접속 제어 애플리케이션(212)은 노드(201)에 포함된 타겟 애플리케이션(211)으로부터 서비스 서버(205)에 대한 네트워크 접속 요청을 감지하고, 노드(201) 또는 접속 제어 애플리케이션(212)이 컨트롤러(202)와 접속된 상태인지 여부를 결정할 수 있다. 노드(201) 또는 접속 제어 애플리케이션(212)이 컨트롤러(202)와 접속된 상태가 아닌 경우, 접속 제어 애플리케이션(212)은 운영체제가 포함되는 커널이나 네트워크 드라이버에서 데이터 패킷의 전송을 차단할 수 있다. 접속 제어 애플리케이션(212)을 통해, 노드(201)는 OSI(open system interconnection) 7 계층 중 응용 계층에서 악의적인 애플리케이션의 접속을 사전에 차단할 수 있다.Referring to FIG. 5, the access control application 212 detects a network access request to the service server 205 from the target application 211 included in the node 201, and the node 201 or the access control application 212 ) can determine whether or not the controller 202 is in a connected state. When the node 201 or the access control application 212 is not connected to the controller 202, the access control application 212 may block transmission of data packets in a kernel or network driver included in an operating system. Through the access control application 212, the node 201 may block access of malicious applications in advance in an application layer among seven layers of open system interconnection (OSI).
일 실시 예에서, 접속 제어 애플리케이션(212)이 컨트롤러(202)와 접속된 상태가 아니거나, 접속 제어 애플리케이션(212)이 게이트웨이(203)에 의하여 인증되지 않았거나, 또는 접속 제어 애플리케이션(212)과 게이트웨이(203) 간 보안 세션이 생성되지 않은 경우, 접속 제어 애플리케이션(212)으로부터 전송되는 데이터 패킷은 게이트웨이(203)에 의하여 차단되며 접속 제어 애플리케이션(212)은 컨트롤러(202)로 접속을 요청할 수 있을 뿐이다. 실시 예에 따라서, 접속 제어 애플리케이션(212)이 게이트웨이(203)에 의하여 인증되지 않아도 접속 제어 애플리케이션(212)으로부터 전송되는 데이터 패킷은 게이트웨이(203)에 의하여 차단되지 않는 경우가 존재할 수 있다.In one embodiment, the access control application 212 is not connected to the controller 202, the access control application 212 has not been authenticated by the gateway 203, or the access control application 212 is not connected. If a secure session is not created between the gateways 203, data packets transmitted from the access control application 212 are blocked by the gateway 203, and the access control application 212 may request access to the controller 202. only Depending on the embodiment, even if the access control application 212 is not authenticated by the gateway 203, a data packet transmitted from the access control application 212 may not be blocked by the gateway 203.
다른 실시 예에 따르면, 노드(201)에 접속 제어 애플리케이션(212)이 설치되지 않거나 악성 애플리케이션이 접속 제어 애플리케이션(212)의 제어를 우회하는 경우, 비인가된 데이터 패킷이 노드(201)로부터 전송될 수 있다. 이 경우, 네트워크의 경계에 존재하는 게이트웨이(203)는 인가되지 않은 보안 세션으로 수신되는 데이터 패킷 및 데이터 플로우가 존재하지 않는 데이터 패킷을 차단하므로 노드(201)로부터 송신된 데이터 패킷(예: TCP 세션 생성을 위한 데이터 패킷)은 서비스 서버(205)에 도달하지 않을 수 있다. 다시 말해, 노드(201)는 서비스 서버(205)로부터 격리될 수 있다.According to another embodiment, if the access control application 212 is not installed on the node 201 or if a malicious application bypasses control of the access control application 212, unauthorized data packets may be transmitted from the node 201. there is. In this case, since the gateway 203 present at the boundary of the network blocks data packets that are received as an unauthorized secure session and data packets that do not have a data flow, the data packets transmitted from the node 201 (e.g., TCP session data packets for generation) may not reach the service server 205 . In other words, node 201 can be isolated from service server 205 .
도 6은 다양한 실시 예들에 따른 컨트롤러 접속을 위한 신호 흐름도를 나타낸다. 6 shows a signal flow diagram for controller connection according to various embodiments.
노드(201)가 네트워크에 접속하기 위해서는 컨트롤러(202)에 의하여 인가될 필요가 있으므로, 노드(201)의 접속 제어 애플리케이션(212)은 컨트롤러(202)에게 제어 플로우의 생성을 요청함으로써 노드(201)의 컨트롤러 접속을 시도할 수 있다. Since the node 201 needs to be authorized by the controller 202 to access the network, the access control application 212 of the node 201 requests the controller 202 to create a control flow so that the node 201 You can try to connect to the controller of
도 6을 참조하면, 동작 605에서, 노드(201)는 컨트롤러 접속 이벤트를 감지할 수 있다. 예를 들어, 노드(201) 내에서 접속 제어 애플리케이션(212)이 설치 및/또는 실행되면, 노드(201)는 컨트롤러(202)에 대한 접속이 요청됨을 감지할 수 있다. Referring to FIG. 6 , in operation 605 , node 201 may detect a controller connection event. For example, when connection control application 212 is installed and/or executed within node 201, node 201 may detect that a connection to controller 202 is being requested.
동작 610에서, 노드(201)는 컨트롤러(202)에게 컨트롤러 접속을 요청할 수 있다. 예를 들어, 접속 제어 애플리케이션(212)은 접속 제어 애플리케이션(212)의 식별 정보를 컨트롤러(202)에게 전송할 수 있다. 추가적으로, 접속 제어 애플리케이션(212)은 노드(201)의 식별 정보(예: 단말 ID, IP 주소, MAC 주소), 종류, 위치, 환경, 노드(201)가 속하는 네트워크의 식별 정보, 및/또는 네트워크 시스템에 의하여 자체적으로 생성된 임의의 식별 정보를 더 전송할 수 있다. At operation 610 , node 201 may request controller connection from controller 202 . For example, the connection control application 212 can transmit identification information of the connection control application 212 to the controller 202 . Additionally, the access control application 212 may include 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 Arbitrary identification information generated by the system itself may be further transmitted.
동작 615에서, 컨트롤러(202)는 컨트롤러 접속을 요청한 대상(예: 접속 제어 애플리케이션(212) 및 노드(201))의 컨트롤러 접속 가능 여부를 확인(identify)할 수 있다. 일 실시 예에 따르면, 컨트롤러(202)는 노드(201)로부터 수신된 정보가 접속 정책 데이터베이스(311)에 포함되는지 여부 또는, 노드(201), 노드(201)가 속한 네트워크, 및/또는 접속 제어 애플리케이션(212)의 식별 정보가 블랙리스트 데이터베이스(314)에 포함되는지 여부 중 적어도 하나에 기반하여 컨트롤러 접속을 요청한 대상의 컨트롤러 접속 가능 여부를 확인할 수 있다. In operation 615 , the controller 202 may identify whether or not the controller access of the target (eg, the access control application 212 and the node 201 ) requesting the controller connection is possible. According to one embodiment, the controller 202 controls whether information received from the node 201 is included in the access policy database 311, the node 201, the network to which the node 201 belongs, and/or access control. Based on at least one of whether the identification information of the application 212 is included in the blacklist database 314 , it is possible to determine whether the controller access of the object requesting the controller access is possible.
컨트롤러 접속을 요청한 대상의 컨트롤러 접속이 가능하면, 컨트롤러(202)는 노드(201)(또는, 접속 제어 애플리케이션(212))와 컨트롤러(202) 간 제어 플로우를 생성할 수 있다. 이 경우, 컨트롤러(202)는 난수 형태로 제어 플로우 식별 정보를 생성하고, 노드(201), 노드(201)가 속한 네트워크, 또는 접속 제어 애플리케이션(212) 중 적어도 하나의 식별 정보를 제어 플로우 테이블(315)에 저장할 수 있다. 제어 플로우 테이블(315)에 저장된 정보(예: 제어 플로우 정보(340))는 노드(201)의 사용자 인증, 노드(201)의 정보 업데이트, 노드(201)의 네트워크 접속을 위한 정책 확인, 및/또는 유효성 검사에 이용될 수 있다. If the controller 202 can create a control flow between the node 201 (or the connection control application 212 ) and the controller 202 , the controller 202 can create a control flow. In this case, the controller 202 generates control flow identification information in the form of random numbers, and converts identification information of at least one of the node 201, the network to which the node 201 belongs, or the access control application 212 into a control flow table ( 315) can be stored. Information (e.g., control flow information 340) stored in the control flow table 315 is used for user authentication of the node 201, information update of the node 201, policy check for network access of the node 201, and/or Or it can be used for validation.
동작 620에서, 컨트롤러(202)는 접속 정책 데이터베이스(311)에서 식별된 정보(예: 노드(201), 노드(201)가 속하는 출발지 네트워크 정보)와 대응되는 접속 정책을 확인할 수 있다. 컨트롤러(202)는 확인된 접속 정책에 기초하여 접속 가능한 애플리케이션의 화이트리스트 정보를 생성할 수 있다. 다른 실시 예에서, 컨트롤러(202)는 동작 620을 수행하지 않을 수 있다. 예를 들어, 접속을 요청한 대상의 컨트롤러 접속이 가능하지 않으면, 컨트롤러(202)는 동작 620을 수행하지 않을 수 있다.In operation 620, the controller 202 may check an access policy corresponding to the information identified in the access policy database 311 (eg, the node 201 and source network information to which the node 201 belongs). The controller 202 may generate whitelist information of accessible applications based on the checked access policy. In other embodiments, the controller 202 may not perform operation 620. For example, if it is not possible to access the controller of the object requesting access, the controller 202 may not perform operation 620 .
동작 625에서, 컨트롤러(202)는 컨트롤러 접속 요청에 대한 응답을 노드(201)에게 전송할 수 있다. 일 실시 예에서, 컨트롤러(202)는 컨트롤러 접속 요청에 대한 응답으로 제어 플로우 식별 정보가 포함된 제어 플로우 정보(340)를 노드(201)에게 전송할 수 있다. 일 실시 예에서, 컨트롤러(202)는, 동작 620의 수행을 통하여 생성된 화이트 리스트를 접속 제어 애플리케이션(212)에게 전송할 수 있다. 실시 예에 따라, 컨트롤러 접속을 요청한 대상이 접속 불가능하거나 블랙리스트에 포함된 경우, 컨트롤러(202)는 제어 플로우를 생성하지 않고, 컨트롤러 접속 요청에 대한 응답으로 컨트롤러 접속 불가를 통보할 수 있다. At operation 625 , the controller 202 may transmit a response to the controller connection request to the node 201 . In one embodiment, the controller 202 may transmit control flow information 340 including control flow identification information to the node 201 in response to the controller connection request. In one embodiment, the controller 202 may transmit the white list generated through the execution of operation 620 to the connection control application 212 . Depending on the embodiment, if the target for which access to the controller is requested is unavailable or included in the blacklist, the controller 202 may notify controller access failure in response to the controller access request without generating a control flow.
일 실시 예에서, 노드(201)는 수신된 응답에 따라서 결과값을 처리할 수 있다. 예를 들어, 접속 제어 애플리케이션(212)은 수신된 제어 플로우 식별 정보를 저장하고, 컨트롤러 접속이 완료됨을 나타내는 사용자 인터페이스 화면(미도시)을 사용자에게 표시할 수 있다. 컨트롤러 접속이 완료되면, 노드(201)의 서비스 서버(205)에 대한 네트워크 접속 요청은 컨트롤러(202)에 의하여 통제될 수 있다. In one embodiment, node 201 may process the resulting value according to the received response. For example, the connection control application 212 may store the received control flow identification information and display a user interface screen (not shown) indicating completion of the controller connection to the user. When the controller connection is completed, the network access request of the node 201 to the service server 205 may be controlled by the controller 202 .
실시 예에 따라서, 컨트롤러(202)는 노드(201)가 접속이 불가능한 것으로 결정할 수 있다. 예를 들어, 컨트롤러 접속 불가 정보가 수신되면 노드(201)는 컨트롤러 접속이 불가능함을 나타내는 사용자 인터페이스 화면을 사용자에게 출력할 수 있다. 예를 들어, 사용자 인터페이스 화면은 노드(201)의 접속이 차단됨을 나타내고, 관리자(예: 컨트롤러(202))를 통한 격리 해제를 가이드 하는 사용자 인터페이스를 포함할 수 있다.Depending on the embodiment, the controller 202 may determine that the node 201 is inaccessible. For example, when controller access unavailability information is received, the node 201 may output a user interface screen indicating that controller access is unavailable to the user. For example, the user interface screen may include a user interface indicating that access to the node 201 is blocked and guiding isolation release through an administrator (eg, the controller 202).
일 실시 예에서, 노드(201)의 접속 제어 애플리케이션(212), 컨트롤러(202) 및 게이트웨이(203)는 동작 630 내지 동작 650을 더 수행할 수 있다. 실시 예에 따라, 노드(201)의 접속 제어 애플리케이션(212), 컨트롤러(202) 및 게이트웨이(203)는 동작 630 내지 동작 650을 전부 또는 일부만 수행할 수 있다.In one embodiment, the access control application 212 of the node 201, the controller 202, and the gateway 203 may further perform operations 630 to 650. According to embodiments, the access control application 212 of the node 201, the controller 202, and the gateway 203 may perform all or part of operations 630 to 650.
동작 630에서, 접속 제어 애플리케이션(212)은 애플리케이션의 검사를 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(212)은 컨트롤러(202)로부터 화이트 리스트가 수신된 경우에, 화이트 리스트에 포함되어 있는 애플리케이션이 노드(201)에 설치되어 있는지 여부를 확인할 수 있다. 접속 제어 애플리케이션(212)은 노드(201)에 설치된 애플리케이션 중 화이트 리스트에 포함된 애플리케이션의 경우, 유효성 검사 정책에 따라 애플리케이션의 무결성 및 안정성 여부(애플리케이션 위조 및 변조 여부, 코드 사이닝 검사, 핑거 프린트 검사 중 적어도 하나)를 검사할 수 있다.At operation 630, the access control application 212 may perform a check of the application. For example, when the white list is received from the controller 202 , the access control application 212 may check whether applications included in the white list are installed in the node 201 . In the case of applications included in the white list among the applications installed on the node 201, the access control application 212 checks the integrity and stability of the application (eg whether or not the application is forged or tampered with, code signing inspection, fingerprint inspection) according to the validation policy. at least one of them) can be checked.
동작 635에서, 접속 제어 애플리케이션(212)은 애플리케이션의 검사 결과를 컨트롤러(202)로 전송할 수 있다.At operation 635 , the access control application 212 may send the application's test result to the controller 202 .
컨트롤러(202)는 검사 결과에 기초하여 애플리케이션이 유효(valid)한지를 확인할 수 있다. 컨트롤러(202)는 애플리케이션이 유효하면, 노드(201)의 네트워크 접속을 허용하기 위해 노드(201)에 대한 접속 정책에서 노드(201)가 위치한 게이트웨이(203-1, 203-2)를 확인하고, 이후, 동작 640을 수행할 수 있다. The controller 202 may check whether the application is valid based on the check result. If the application is valid, the controller 202 checks the gateways 203-1 and 203-2 where the node 201 is located in the access policy for the node 201 to allow the node 201 to access the network, Thereafter, operation 640 may be performed.
동작 640에서, 컨트롤러(202)는 노드(201)가 네트워크 접속 요청 절차 없이 데이터 패킷을 게이트웨이(203-1, 203-2)를 통해 서비스 서버(205-1, 205-2)로 전송할 수 있도록 출발지 IP, 도착지 IP 및 포트 정보에 기반하여 데이터 플로우를 생성할 수 있다. In operation 640, the controller 202 determines the originating node 201 to transmit data packets to the service servers 205-1 and 205-2 via the gateways 203-1 and 203-2 without a network connection request procedure. Data flows can be created based on IP, destination IP and port information.
컨트롤러(202)는 데이터 플로우 생성 시 파일 IO 정책을 확인하고, 파일 IO 정책에 기초하여 인가된 파일 IO 정보(354)를 생성할 수 있다. 데이터 플로우의 데이터 플로우 정보(350)에는 생성된 인가된 파일 IO 정보(354)가 포함될 수 있다. 인가된 파일 IO 정보(354)는 데이터 플로우를 사용하는 애플리케이션의 파일 IO 접근과 관련된 정책 정보를 포함할 수 있다. 예를 들어, 인가된 파일 IO 정보(354)는 애플리케이션의 파일 IO 접근(예: 읽기(read), 쓰기(write)와 같은 접근)을 허용할 것인지에 대한 정보를 포함할 수 있다. 그리고, 인가된 파일 IO 정보(354)는 애플리케이션이 접근이 허용된 파일 경로, 및/또는 접근이 허용되지 않은 파일 경로에 대한 정보를 포함할 수 있다. The controller 202 may check a file IO policy when creating a data flow and generate authorized file IO information 354 based on the file IO policy. The data flow information 350 of the data flow may include the generated authorized file IO information 354 . The authorized file IO information 354 may include policy information related to file IO access of an application using a data flow. For example, the authorized file IO information 354 may include information about whether or not to allow an application's file IO access (eg, read or write access). In addition, the authorized file IO information 354 may include information about a file path to which an application is permitted access and/or a file path to which access is not permitted.
동작 645에서, 컨트롤러(202)는 접속 제어 애플리케이션(212)의 애플리케이션 검사 결과 전송에 대한 응답을 전송할 수 있다. 예를 들어, 컨트롤러(202)는 인가된 파일 IO 정보(354)가 포함된 데이터 플로우 정보(350)를 접속 제어 애플리케이션(212)으로 전송할 수 있다. 또한, 동작 650에서, 컨트롤러(202)는 인가된 파일 IO 정보(354)가 포함된 데이터 플로우 정보(350)를 게이트웨이(203)로 전송할 수 있다. At operation 645 , the controller 202 may transmit a response to the transmission of the application check result of the connection control application 212 . For example, the controller 202 may transmit data flow information 350 including authorized file IO information 354 to the access control application 212 . Also, in operation 650 , the controller 202 may transmit data flow information 350 including the authorized file IO information 354 to the gateway 203 .
도 7은 다양한 실시 예들에 따른 사용자 인증을 위한 신호 흐름도를 도시하며, 도 8은 다양한 실시 예들에 따른 컨트롤러 접속을 위한 사용자 인터페이스 화면을 도시한다. 도 7에 도시된 동작들은 예를 들어, 도 6의 신호 흐름도 이후에 구현될 수 있다.7 illustrates a signal flow diagram for user authentication according to various embodiments, and FIG. 8 illustrates a user interface screen for controller access according to various embodiments. Operations shown in FIG. 7 may be implemented after the signal flow diagram of FIG. 6 , for example.
노드(201)가 목적지 네트워크에 대한 상세한 접속 권한을 부여 받기 위해서, 노드(201)의 접속 제어 애플리케이션(212)은 컨트롤러(202)로부터 노드(201)의 사용자에 대한 인증을 받을 수 있다. In order for the node 201 to receive detailed access rights to the destination network, the access control application 212 of the node 201 may authenticate the user of the node 201 from the controller 202 .
도 7을 참조하면, 동작 705에서, 노드(201)는 사용자 인증을 위한 입력을 수신할 수 있다. 사용자 인증을 위한 입력은 예를 들어, 사용자 ID 및 비밀번호를 입력하는 사용자 입력일 수 있다. 다른 예를 들어, 사용자 인증을 위한 입력은 보다 강화된 인증을 위한 사용자 입력(예: 생체 정보)일 수 있다. Referring to FIG. 7 , in operation 705 , node 201 may receive an input for user authentication. An input for user authentication may be, for example, a user input for inputting a user ID and password. For another example, the input for user authentication may be a user input (eg, biometric information) for stronger authentication.
일 예로, 도 8을 참조하면, 접속 제어 애플리케이션(212)이 실행되면 노드(201)는 컨트롤러 접속을 위하여 필요한 정보를 수신하기 위한 사용자 인터페이스 화면(810)을 표시할 수 있다. 사용자 인터페이스 화면(810)은 사용자 ID를 입력하기 위한 입력 창(811), 및/또는 비밀번호를 입력하기 위한 입력 창(812)을 포함할 수 있다. 입력 창들(811 및 812)에 정보가 입력된 후 사용자의 인증을 위한 버튼(813)에 대한 입력을 수신함으로써 노드(201)는 컨트롤러 접속 이벤트를 감지할 수 있다.For example, referring to FIG. 8 , when the access control application 212 is executed, the node 201 may display a user interface screen 810 for receiving information required for controller access. The user interface screen 810 may include an input window 811 for inputting a user ID and/or an input window 812 for inputting a password. After information is input to the input windows 811 and 812, the node 201 may detect a controller connection event by receiving an input to the button 813 for user authentication.
동작 710에서, 노드(201)는 컨트롤러(202)에게 사용자 인증을 요청할 수 있다. 예를 들어, 접속 제어 애플리케이션(212)은 사용자 인증을 위한 입력 정보를 컨트롤러(202)에게 전송할 수 있다. 노드(201)와 컨트롤러(202) 간 제어 플로우가 이미 생성된 상태이면, 접속 제어 애플리케이션(212)은 사용자 인증을 위한 입력 정보를 제어 플로우 식별 정보와 함께 전송할 수 있다.At operation 710 , node 201 may request user authentication from controller 202 . For example, the access control application 212 may transmit input information for user authentication to the controller 202 . If the control flow between the node 201 and the controller 202 has already been created, the access control application 212 may transmit input information for user authentication together with control flow identification information.
동작 715에서, 컨트롤러(202)는 노드(201)로부터 수신된 정보에 기반하여 사용자를 인증할 수 있다. 예를 들어, 컨트롤러(202)는 수신된 정보에 포함된 사용자 ID, 비밀번호, 및/또는 강화된 인증 정보와, 컨트롤러(202)의 메모리에 포함된 데이터베이스(예: 도 2의 접속 정책 데이터베이스(311) 또는 블랙리스트 데이터베이스(314))에 기반하여 사용자가 접속 정책에 따라 접속 가능한지 여부 및 사용자가 블랙리스트에 포함되는지 여부를 결정할 수 있다. At operation 715 , controller 202 may authenticate the user based on the information received from node 201 . For example, the controller 202 may use the user ID, password, and/or enhanced authentication information included in the received information and a database included in the memory of the controller 202 (eg, the access policy database 311 of FIG. 2 ). ) or the blacklist database 314), it is possible to determine whether the user is accessible according to the access policy and whether the user is included in the blacklist.
사용자가 인증되면, 컨트롤러(202)는 노드(201)가 송신한 제어 플로우 식별 정보에 기초하여 제어 플로우 테이블(315)에서 제어 플로우 정보(340)를 확인하고, 확인된 제어 플로우 정보(340)에 사용자의 식별 정보(예: 사용자 ID)를 추가할 수 있다. 추가된 사용자 식별 정보는 인증된 사용자의 컨트롤러 접속 또는 네트워크 접속에 이용될 수 있다. When the user is authenticated, the controller 202 checks the control flow information 340 in the control flow table 315 based on the control flow identification information transmitted by the node 201, and in the checked control flow information 340 User identification information (e.g. user ID) can be added. The added user identification information can be used for the authenticated user's controller access or network access.
동작 720에서, 컨트롤러(202)는 접속 정책 데이터베이스(311)에서 식별된 정보(예: 노드(201), 노드(201)가 속하는 출발지 네트워크 정보)와 대응되는 접속 정책을 확인할 수 있다. 컨트롤러(202)는 확인된 접속 정책에 기초하여 접속 가능한 애플리케이션의 화이트 리스트 정보를 생성할 수 있다. 다른 실시 예에서, 컨트롤러(202)는 동작 720을 수행하지 않을 수 있다. 예를 들어, 접속을 요청한 대상의 컨트롤러 접속이 가능하지 않으면, 컨트롤러(202)는 동작 720을 수행하지 않을 수 있다.In operation 720, the controller 202 may check an access policy corresponding to the information identified in the access policy database 311 (eg, the node 201 and source network information to which the node 201 belongs). The controller 202 may generate white list information of accessible applications based on the checked access policy. In other embodiments, the controller 202 may not perform operation 720. For example, if access to the controller of the target requesting access is not possible, the controller 202 may not perform operation 720 .
동작 725에서, 컨트롤러(202)는 사용자 인증 요청에 대한 응답을 노드(201)에게 전송할 수 있다. 일 실시 예에서, 컨트롤러(202)는 사용자 인증 요청에 대한 응답으로 사용자가 인증됨을 나타내는 정보를 노드(201)에게 전송할 수 있다. 일 실시 예에서, 컨트롤러(202)는 동작 720의 수행을 통하여 생성된 화이트 리스트를 접속 제어 애플리케이션(212)에게 전송할 수 있다. 실시 예에 따라, 컨트롤러 접속을 요청한 대상이 접속 불가능하거나 블랙리스트에 포함된 경우, 컨트롤러(202)는 사용자 인증 요청에 대한 응답으로 컨트롤러 접속 불가를 통보할 수 있다.At operation 725 , controller 202 may transmit a response to the user authentication request to node 201 . In one embodiment, the controller 202 may transmit information indicating that the user is authenticated to the node 201 in response to the user authentication request. In one embodiment, the controller 202 may transmit the white list generated through the execution of operation 720 to the connection control application 212 . Depending on the embodiment, if the object for which access to the controller is requested is unavailable or is included in the blacklist, the controller 202 may notify the controller 202 of inability to access the controller in response to the user authentication request.
일 실시 예에서, 노드(201)는 사용자 인증에 대한 결과값을 처리할 수 있다. 예를 들어, 노드(201)는 사용자 인증이 완료됨을 나타내는 사용자 인터페이스 화면을 디스플레이를 통해 사용자에게 출력할 수 있다. In one embodiment, node 201 may process the resulting value for user authentication. For example, the node 201 may output a user interface screen indicating completion of user authentication to the user through a display.
다른 실시 예에 따라 컨트롤러(202)는 사용자 인증이 불가능한 것으로 결정할 수 있다. 예를 들어, 사용자의 식별 정보가 블랙리스트 데이터베이스에 포함되면 컨트롤러(202)는 사용자 인증이 불가능한 것으로 결정할 수 있다. 이 경우, 동작 725에서 컨트롤러(202)는 사용자 인증이 불가능함을 나타내는 정보를 노드(201)에게 전송할 수 있고, 노드(201)는 사용자 인증이 실패함을 나타내는 사용자 인터페이스 화면을 디스플레이를 통해 출력할 수 있다. 예를 들어, 도 8을 참조하면, 노드(201)는 접속 제어 애플리케이션(212)을 통해 사용자 인터페이스 화면(820)을 표시할 수 있다. 사용자 인터페이스 화면(820)은 노드(201)의 접속이 차단됨을 나타내고, 관리자(예: 컨트롤러(202))를 통한 격리 해제를 가이드 하는 사용자 인터페이스(825)를 포함할 수 있다.According to another embodiment, the controller 202 may determine that user authentication is impossible. For example, if the user's identification information is included in the blacklist database, the controller 202 may determine that user authentication is impossible. In this case, in operation 725, the controller 202 may transmit information indicating that user authentication is impossible to the node 201, and the node 201 may output a user interface screen indicating that user authentication has failed through the display. can For example, referring to FIG. 8 , node 201 may display user interface screen 820 via access control application 212 . The user interface screen 820 may include a user interface 825 indicating that access to the node 201 is blocked and guiding isolation release through an administrator (eg, the controller 202).
일 실시 예에서, 노드(201)의 접속 제어 애플리케이션(212), 컨트롤러(202) 및 게이트웨이(203)는 동작 730 내지 동작 750을 더 수행할 수 있다. 실시 예에 따라, 노드(201)의 접속 제어 애플리케이션(212), 컨트롤러(202) 및 게이트웨이(203)는 동작 730 내지 동작 750을 전부 또는 일부 수행할 수 있다.In one embodiment, the access control application 212 of the node 201, the controller 202, and the gateway 203 may further perform operations 730 to 750. Depending on the embodiment, the access control application 212 of the node 201, the controller 202, and the gateway 203 may perform all or part of operations 730 to 750.
동작 730에서, 접속 제어 애플리케이션(212)은 애플리케이션의 검사를 수행할 수 있다. 예를 들어, 접속 제어 애플리케이션(212)은 컨트롤러(202)로부터 화이트 리스트가 수신된 경우에, 화이트 리스트에 포함되어 있는 애플리케이션이 노드(201)에 설치되어 있는지 여부를 확인할 수 있다. 접속 제어 애플리케이션(212)은 노드(201)에 설치된 애플리케이션 중 화이트 리스트에 포함된 애플리케이션의 경우, 유효성 검사 정책에 따라 애플리케이션의 무결성 및 안정성 여부(애플리케이션 위조 및 변조 여부, 코드 사이닝 검사, 핑거 프린트 검사 중 적어도 하나)를 검사할 수 있다.At operation 730, the access control application 212 may perform a check of the application. For example, when the white list is received from the controller 202 , the access control application 212 may check whether applications included in the white list are installed in the node 201 . In the case of applications included in the white list among the applications installed on the node 201, the access control application 212 checks the integrity and stability of the application (eg whether or not the application is forged or tampered with, code signing inspection, fingerprint inspection) according to the validation policy. at least one of them) can be checked.
동작 735에서, 접속 제어 애플리케이션(212)은 애플리케이션의 검사 결과를 컨트롤러(202)로 전송할 수 있다.At operation 735 , the access control application 212 may send the application's test result to the controller 202 .
컨트롤러(202)는 검사 결과에 기초하여 애플리케이션이 유효한지를 확인(valid)할 수 있다. 컨트롤러(202)는 애플리케이션이 유효하면, 노드(201)의 네트워크 접속을 허용하기 위해 노드(201)에 대한 접속 정책에서 노드(201)가 위치한 게이트웨이(203-1, 203-2)를 확인하고, 이후, 동작 740을 수행할 수 있다.The controller 202 may verify whether the application is valid based on the inspection result. If the application is valid, the controller 202 checks the gateways 203-1 and 203-2 where the node 201 is located in the access policy for the node 201 to allow the node 201 to access the network, Thereafter, operation 740 may be performed.
동작 740에서, 컨트롤러(202)는 노드(201)가 네트워크 접속 요청 절차 없이 데이터 패킷을 게이트웨이(203-1, 203-2)를 통해 서비스 서버(205-1, 205-2)로 전송할 수 있도록 출발지 IP, 도착지 IP 및 포트 정보에 기반하여 데이터 플로우를 생성할 수 있다. In operation 740, the controller 202 determines the originating node 201 to transmit data packets to the service servers 205-1 and 205-2 via the gateways 203-1 and 203-2 without a network connection request procedure. Data flows can be created based on IP, destination IP and port information.
컨트롤러(202)는 데이터 플로우 생성 시 파일 IO 정책을 확인하고, 파일 IO 정책에 기초하여 인가된 파일 IO 정보(354)를 생성할 수 있다. 데이터 플로우의 데이터 플로우 정보(350)에는 생성된 인가된 파일 IO 정보(354)가 포함될 수 있다. 인가된 파일 IO 정보(354)는 데이터 플로우를 사용하는 애플리케이션의 파일 IO 접근과 관련된 정책 정보를 포함할 수 있다. 예를 들어, 인가된 파일 IO 정보(354)는 애플리케이션의 파일 IO 접근(예: 읽기(read), 쓰기(write)와 같은 접근)을 허용할 것인지에 대한 정보를 포함할 수 있다. 그리고, 인가된 파일 IO 정보(354)는 애플리케이션이 접근이 허용된 파일 경로, 및/또는 접근이 허용되지 않은 파일 경로에 대한 정보를 포함할 수 있다. The controller 202 may check a file IO policy when creating a data flow and generate authorized file IO information 354 based on the file IO policy. The data flow information 350 of the data flow may include the generated authorized file IO information 354 . The authorized file IO information 354 may include policy information related to file IO access of an application using a data flow. For example, the authorized file IO information 354 may include information about whether or not to allow an application's file IO access (eg, read or write access). In addition, the authorized file IO information 354 may include information about a file path to which an application is permitted access and/or a file path to which access is not permitted.
동작 745에서, 컨트롤러(202)는 접속 제어 애플리케이션(212)의 애플리케이션 검사 결과 전송에 대한 응답을 전송할 수 있다. 예를 들어, 컨트롤러(202)는 인가된 파일 IO 정보(354)가 포함된 데이터 플로우 정보(350)를 접속 제어 애플리케이션(212)으로 전송할 수 있다. 또한, 동작 750에서, 컨트롤러(202)는 인가된 파일 IO 정보(354)가 포함된 데이터 플로우 정보(350)를 게이트웨이(203)로 전송할 수 있다.At operation 745 , the controller 202 may transmit a response to the transmission of the application check result of the connection control application 212 . For example, the controller 202 may transmit data flow information 350 including authorized file IO information 354 to the access control application 212 . Also, in operation 750 , the controller 202 may transmit data flow information 350 including the authorized file IO information 354 to the gateway 203 .
도 9는 다양한 실시 예들에 따른 네트워크 접속을 위한 신호 흐름도를 도시하며, 도 9에 도시된 동작들은 예를 들어, 도 6 또는 도 7의 신호 흐름도 이후에 구현될 수 있다. 9 illustrates a signal flow diagram for network access according to various embodiments, and the operations shown in FIG. 9 may be implemented after the signal flow diagram of FIG. 6 or FIG. 7 , for example.
도 9를 참조하면, 동작 905에서, 노드(201)는 네트워크 접속 이벤트를 감지할 수 있다. 예를 들어, 노드(201)는 접속 제어 애플리케이션(212)을 통해 타겟 애플리케이션이 서비스 서버(205)로의 접속을 시도함을 감지할 수 있다. Referring to FIG. 9 , in operation 905 , node 201 may detect a network connection event. For example, node 201 can detect through access control application 212 that a target application is attempting to connect to service server 205 .
일 실시 예에서, 접속 제어 애플리케이션(212)은 네트워크 접속 이벤트가 감지되면, 데이터 플로우를 검사할 수 있다. 예를 들어, 접속 제어 애플리케이션(212)은 타겟 애플리케이션의 식별 정보, 도착지 IP 및/또는 포트 정보에 대응하는 데이터 플로우가 존재하는지 여부를 확인할 수 있다. 또한, 접속 제어 애플리케이션(212)은 데이터 플로우가 존재하더라도 해당 데이터 플로우가 유효한지 여부를 확인할 수 있다. 일 예로, 접속 제어 애플리케이션(212)은 유효성 검사 정책에 따라서 접속 제어 애플리케이션(212) 및 타겟 애플리케이션의 무결성 및 안전성 검사(예: 애플리케이션의 위조, 변조 여부, 코드 사이닝 검사, 핑거프린트 검사)를 수행하고 및 컨트롤러(202)로부터 수신된 접속 정책에 따라 노드(201)에 설치된 타겟 애플리케이션의 도착지 IP 및 포트에 대한 접속 가능 여부를 확인할 수 있다. In one embodiment, the connection control application 212 may inspect the data flow when a network connection event is detected. For example, the access control application 212 may check whether a data flow corresponding to identification information, destination IP and/or port information of the target application exists. In addition, the access control application 212 may check whether the corresponding data flow is valid even if the data flow exists. For example, the access control application 212 checks the integrity and safety of the access control application 212 and the target application according to the validation policy (eg, forgery or tampering of the application, code signing inspection, fingerprint inspection) And, according to the access policy received from the controller 202, whether or not access to the destination IP and port of the target application installed in the node 201 is possible may be checked.
유효한 데이터 플로우가 존재한다면, 접속 제어 애플리케이션(212)은 이하의 동작들을 생략하고 보안 세션을 통해 게이트웨이(203)로 타겟 애플리케이션의 데이터 패킷을 전송할 수 있다. If there is a valid data flow, the access control application 212 can skip the following operations and transmit the target application's data packet to the gateway 203 over the secure session.
데이터 플로우가 존재하지만 유효하지 않은 경우, 접속 제어 애플리케이션(212)은 데이터 패킷을 전송하지 않고 네트워크 접속이 실패함을 나타내는 사용자 인터페이스 화면을 출력할 수 있다. If the data flow exists but is not valid, the connection control application 212 may display a user interface screen indicating that the network connection has failed without transmitting the data packet.
데이터 플로우가 존재하지 않거나, 데이터 플로우의 인증 시간이 만료되어 갱신이 필요한 경우, 또는 다른 사유에 의하여 데이터 플로우의 갱신이 필요한 경우, 접속 제어 애플리케이션(212)은 컨트롤러(202)에게 네트워크 접속을 요청할 수 있다. 실시 예에 따라, 접속 제어 애플리케이션(212)은 네트워크 접속을 요청하기 전 유효성 검사 정책에 따라서 접속 제어 애플리케이션(212) 및 타겟 애플리케이션의 무결성 및 안전성 검사를 수행하고, 애플리케이션의 무결성 및 안정성이 확인되면 컨트롤러(202)에게 네트워크 접속을 요청할 수 있다.If the data flow does not exist, or if renewal is required because the authentication time of the data flow has expired, or if renewal of the data flow is required for other reasons, the access control application 212 may request the controller 202 to connect to the network. there is. According to an embodiment, the access control application 212 performs integrity and safety checks of the access control application 212 and the target application according to a validation policy before requesting network access, and when the integrity and stability of the application are confirmed, the controller 202 may be requested for network access.
동작 910에서, 접속 제어 애플리케이션(212)은 컨트롤러(202)에게 서비스 서버(205)로의 네트워크 접속을 요청할 수 있다. 이 경우, 접속 제어 애플리케이션(212)은 타겟 애플리케이션 식별 정보 및 서비스 서버(205)의 식별 정보(예: IP 및 서비스 포트)를 제어 플로우의 식별 정보와 함께 컨트롤러(202)에게 전송할 수 있다. At operation 910 , the access control application 212 may request the controller 202 to connect to the network to the service server 205 . In this case, the access control application 212 may transmit target application identification information and identification information (eg, IP and service port) of the service server 205 to the controller 202 together with identification information of the control flow.
동작 915에서, 컨트롤러(202)는 접속 제어 애플리케이션(212)으로부터 수신된 요청에 응답하여 타겟 애플리케이션과 관련된 접속 정책 및 파일 IO 정책을 확인할 수 있다. At operation 915 , the controller 202 may check the access policy and file IO policy associated with the target application in response to the request received from the access control application 212 .
컨트롤러(202)는 타겟 애플리케이션이 접속 정책 데이터베이스(311)의 접속 정책을 만족하는지를 확인할 수 있다. 예를 들어, 컨트롤러(202)는 네트워크 접속을 요청한 대상(예: 타겟 애플리케이션)과 요청된 대상(예: 서비스 서버(205))의 식별 정보가 접속 정책 데이터베이스(311)에 포함되는지 여부 및 네트워크 접속을 요청한 대상의 게이트웨이 접속 가능 여부를 확인할 수 있다. The controller 202 may check whether the target application satisfies the access policy of the access policy database 311 . For example, the controller 202 determines whether or not identification information of a target (eg, target application) requesting network access and the requested target (eg, service server 205) are included in the access policy database 311 and network access. It is possible to check whether the requesting target can access the gateway.
타겟 애플리케이션의 접속이 불가능 하면, 컨트롤러(202)는 동작 920에서 노드(201)에게 접속이 불가능함을 나타내는 정보를 전송할 수 있다. 이 경우, 접속 제어 애플리케이션(212)은 접속이 불가능함을 나타내는 사용자 인터페이스 화면을 디스플레이를 통해 출력할 수 있다. If access to the target application is impossible, the controller 202 may transmit information indicating that access is impossible to the node 201 in operation 920 . In this case, the connection control application 212 may output a user interface screen indicating that connection is impossible through the display.
타겟 애플리케이션의 접속이 가능하면, 컨트롤러(202)는 접속을 요청한 대상(예: 타겟 애플리케이션)과 관련된 인가된 파일 IO 정보(354)를 확인하고, 인가된 파일 IO 정보(354)에 기반하여 접속을 요청한 대상(예: 타겟 애플리케이션)의 파일 IO 접근의 허용 여부를 확인할 수 있다. 파일 IO 접근의 허용 여부의 확인은 애플리케이션의 파일 IO 접근(예: 읽기(read), 쓰기(write)와 같은 접근)을 허용할 것인지에 대한 확인, 또는 애플리케이션이 접근이 허용된 파일 경로, 및/또는 접근이 허용되지 않은 파일 경로에 대한 확인을 포함할 수 있다. If access to the target application is possible, the controller 202 checks the authorized file IO information 354 related to the target (eg, the target application) requesting access, and establishes the access based on the authorized file IO information 354. You can check whether file IO access of the requested object (e.g. target application) is allowed. Confirmation of whether file IO access is allowed is whether to allow the application's file IO access (eg, access such as read or write), or the file path to which the application is allowed access, and/or It can include checks for file paths that are not allowed to be accessed.
컨트롤러(202)는 노드(201)의 네트워크 접속을 허용하기 위해 데이터 플로우 테이블(316)에서 해당 도착지 IP와 포트로 접속 가능한 데이터 플로우가 존재하는지 확인할 수 있다.The controller 202 may check whether a data flow accessible to the destination IP and port exists in the data flow table 316 in order to allow the node 201 to access the network.
유효한 데이터 플로우가 없는 경우, 컨트롤러(202)는 대상(예: 타겟 애플리케이션)이 노드(201)와 서비스 서버(205-1, 205-2) 사이의 네트워크에 대한 접속을 허용하는 데이터 플로우를 생성할 수 있다. 컨트롤러(202)는 출발지 IP, 도착지 IP 및 포트 정보, 인가된 파일 IO 정보(354)와 같은 정보에 기반하여 데이터 플로우 정보(350)를 생성할 수 있다. 여기에서, 인가된 파일 IO 정보(354)는 파일 IO 정책에 따라 생성된 것일 수 있다. If there is no valid data flow, the controller 202 will create a data flow allowing an object (eg target application) to access the network between the node 201 and the service servers 205-1 and 205-2. can The controller 202 may generate data flow information 350 based on information such as source IP, destination IP and port information, and authorized file IO information 354 . Here, the authorized file IO information 354 may be generated according to a file IO policy.
컨트롤러(202)는 데이터 플로우 생성 시 파일 IO 정책을 확인하고, 파일 IO 정책에 기초하여 인가된 파일 IO 정보(354)를 생성할 수 있다. 데이터 플로우의 데이터 플로우정보(350)에는 생성된 인가된 파일 IO 정보(354)가 포함될 수 있다. 인가된 파일 IO 정보(354)는 데이터 플로우를 사용하는 애플리케이션의 파일 IO 접근과 관련된 정책 정보를 포함할 수 있다. 예를 들어, 인가된 파일 IO 정보(354)는 애플리케이션의 파일 IO 접근(예: 읽기(read), 쓰기(write)와 같은 접근)을 허용할 것인지에 대한 정보를 포함할 수 있다. 그리고, 인가된 파일 IO 정보(354)는 애플리케이션이 접근이 허용된 파일 경로, 및/또는 접근이 허용되지 않은 파일 경로에 대한 정보를 포함할 수 있다. The controller 202 may check a file IO policy when creating a data flow and generate authorized file IO information 354 based on the file IO policy. The data flow information 350 of the data flow may include the generated authorized file IO information 354 . The authorized file IO information 354 may include policy information related to file IO access of an application using a data flow. For example, the authorized file IO information 354 may include information about whether or not to allow an application's file IO access (eg, read or write access). In addition, the authorized file IO information 354 may include information about a file path to which an application is permitted access and/or a file path to which access is not permitted.
동작 920에서, 컨트롤러(202)는 접속 제어 애플리케이션(212)의 네트워크 접속 요청에 대한 응답을 노드(201)에게 전송할 수 있다. 예를 들어, 컨트롤러(202)는, 동작 915의 수행을 통하여 생성된 데이터 플로우 정보(350)를 접속 제어 애플리케이션(212)에게 전송할 수 있다. 실시 예에 따라, 접속을 요청한 대상이 접속 불가능한 경우, 컨트롤러(202)는 네트워크 접속 요청에 대한 응답으로 네트워크 접속 불가를 통보할 수 있다.In operation 920 , the controller 202 may transmit a response to the network access request of the access control application 212 to the node 201 . For example, the controller 202 may transmit the data flow information 350 generated through the execution of operation 915 to the connection control application 212 . Depending on the embodiment, when the connection requesting target cannot be accessed, the controller 202 may notify the network connection failure in response to the network access request.
노드(201)는 수신된 응답에 따라서 결과값을 처리할 수 있다. 예를 들어, 접속 제어 애플리케이션(212)은 수신된 데이터 플로우 정보(350)를 저장하고, 네트워크 접속이 가능한 경우 파일 IO 테이블 검사를 수행할 수 있다. 다른 예를 들어, 네트워크 접속이 불가하다는 응답을 수신한 경우, 노드(201)는 타겟 애플리케이션의 데이터 패킷을 드롭(drop)할 수 있다. 또 다른 예를 들어, 네트워크 접속이 불가하다는 응답을 수신한 경우, 노드(201)는 타겟 애플리케이션의 파일 시스템 IO를 제거(또는, 파일 시스템 IO 핸들을 제거)할 수 있다. Node 201 may process the resulting value according to the received response. For example, the access control application 212 may store the received data flow information 350 and perform a file IO table check if a network connection is available. For another example, when receiving a response indicating that network access is unavailable, the node 201 may drop a data packet of the target application. For another example, upon receiving a response indicating that network access is unavailable, the node 201 may remove the file system IO of the target application (or remove the file system IO handle).
또한, 동작 925에서, 컨트롤러(202)는 데이터 플로우 정보(350)를 게이트웨이(203)로 전송할 수 있다. Also, at operation 925 , the controller 202 may transmit data flow information 350 to the gateway 203 .
도 10은 다양한 실시예들에 따른 파일 입출력 접근 감시를 위한 노드의 동작 흐름도를 도시한다. 이하의 동작 흐름도는 노드(201) 또는 노드(201)에 설치된 접속 제어 애플리케이션(212)에 의하여 구현될 수 있다.10 is a flowchart illustrating an operation of a node for monitoring file input/output access according to various embodiments. The following operation flow chart may be implemented by node 201 or connection control application 212 installed on node 201 .
동작 1005에서, 접속 제어 애플리케이션(212)은 파일 입출력 접근 이벤트를 감지할 수 있다. 예를 들어, 접속 제어 애플리케이션(212)은 타겟 애플리케이션(211-1, 211-2, 211-3)(또는 이의 프로세스)이 파일 IO 시스템에 접근하면 파일 입출력 접근 이벤트가 발생한 것으로 확인할 수 있다.At operation 1005, the connection control application 212 may detect a file input/output access event. For example, the access control application 212 may determine that a file input/output access event has occurred when the target applications 211-1, 211-2, and 211-3 (or their processes) access the file IO system.
동작 1010에서, 접속 제어 애플리케이션(212)은 파일 IO 시스템에 접근하는 프로세스의 PID를 확인하고, 해당 PID에 할당된 데이터 플로우가 존재하는지 여부를 확인할 수 있다. 데이터 플로우가 존재하는 경우, 접속 제어 애플리케이션(212)은 동작 1020을 수행할 수 있다. 데이터 플로우가 존재하지 않는 경우, 접속 제어 애플리케이션(212)은 동작 1015를 수행할 수 있다.In operation 1010, the access control application 212 may check the PID of the process accessing the file IO system, and check whether a data flow assigned to the corresponding PID exists. If the data flow exists, the connection control application 212 can perform operation 1020. If the data flow does not exist, the connection control application 212 may perform operation 1015 .
동작 1015에서, 접속 제어 애플리케이션(212)은 파일 IO 정보를 파일 IO 테이블(317)에 저장할 수 있다. 예를 들어, 접속 제어 애플리케이션(212)은 해당 프로세스의 식별된 파일 IO 정보(예: 파일 위치, 파일명, 파일 IO의 종류(예: 파일 읽기, 또는 쓰기), 및/또는 파일 IO 시간 정보)를 파일 IO 테이블(317)에 저장할 수 있다. 이후 해당 프로세스가 네트워크에 접속할 경우, 접속 제어 애플리케이션(212)은 파일 IO 테이블(317) 내에서 내역을 조회하여 데이터 패킷 검사를 할 수 있도록 한다.At operation 1015 , access control application 212 may store file IO information in file IO table 317 . For example, access control application 212 may provide identified file IO information (eg, file location, file name, type of file IO (eg, file read or write), and/or file IO time information) of that process. It can be stored in the file IO table 317. Then, when the corresponding process accesses the network, the access control application 212 searches the details in the file IO table 317 so that the data packet can be inspected.
동작 1020에서, 접속 제어 애플리케이션(212)은 해당 프로세스가 접근하는 파일 IO의 종류를 확인할 수 있다. 파일 IO의 종류가 쓰기(또는, 쓰기와 관련된 모든 파일 접근 종류)인 경우, 접속 제어 애플리케이션(212)은 동작 1025를 수행할 수 있다. 파일 IO의 종류가 읽기(또는, 읽기와 관련된 모든 파일 접근 종류)인 경우, 접속 제어 애플리케이션(212)은 동작 1030을 수행할 수 있다.In operation 1020, the access control application 212 may check the type of file IO accessed by the corresponding process. If the type of file IO is write (or all file access types related to writing), the access control application 212 may perform operation 1025. If the type of file IO is read (or all file access types related to reading), the access control application 212 may perform operation 1030.
동작 1025에서, 접속 제어 애플리케이션(212)은 파일 복호화 처리를 수행할 수 있다. 접속 제어 애플리케이션(212)의 파일 복호화 처리에 대하여는 도 12를 참조하여 후술한다. 접속 제어 애플리케이션(212)은 도 12에 도시된 파일 복호화 처리 프로세스를 통해 파일 입출력이 발생된 애플리케이션 및 해당 파일에 대한 파일 복호화 여부를 결정할 수 있다.At operation 1025, access control application 212 may perform a file decryption process. File decryption processing of the connection control application 212 will be described later with reference to FIG. 12 . The access control application 212 may determine whether or not to decrypt the file for the file input/output application and the corresponding file through the file decryption processing process shown in FIG. 12 .
동작 1030에서, 접속 제어 애플리케이션(212)은 파일 암호화 처리를 수행할 수 있다. 접속 제어 애플리케이션(212)의 파일 암호화 처리에 대하여는 도 13을 참조하여 후술한다. 접속 제어 애플리케이션(212)은 도 13에 도시된 파일 암호화 처리 프로세스를 통해 파일 입출력이 발생된 애플리케이션 및 해당 파일에 대한 파일 암호화 여부를 결정할 수 있다.At operation 1030, access control application 212 may perform a file encryption process. File encryption processing of the access control application 212 will be described later with reference to FIG. 13 . The access control application 212 may determine whether to encrypt a file for an application in which file input/output occurs and a corresponding file through the file encryption processing process shown in FIG. 13 .
도 11은 다양한 실시예들에 따른 파일 입출력 테이블 검사를 위한 노드의 동작 흐름도를 도시한다. 이하의 동작 흐름도는 노드(201) 또는 노드(201)에 설치된 접속 제어 애플리케이션(212)에 의하여 구현될 수 있다.11 is a flowchart illustrating an operation of a node for examining a file input/output table according to various embodiments. The following operation flow chart may be implemented by node 201 or connection control application 212 installed on node 201 .
동작 1105에서, 접속 제어 애플리케이션(212)은 파일 입출력 테이블 검사 이벤트를 감지할 수 있다. 접속 제어 애플리케이션(212)은 네트워크 접속이 발생된 데이터 플로우가 감지되는 경우, 파일 IO 테이블 검사 이벤트를 감지할 수 있다. 접속 제어 애플리케이션(212)은 데이터 플로우 정보(350)가 획득(또는, 갱신)되는 경우를 파일 IO 테이블 검사 이벤트로서 감지할 수 있다.At operation 1105, the connection control application 212 may detect a file input/output table check event. The access control application 212 may detect a file IO table check event when a data flow resulting from a network connection is detected. The access control application 212 may detect when the data flow information 350 is obtained (or updated) as a file IO table check event.
동작 1110에서, 접속 제어 애플리케이션(212)은 파일 IO 테이블 검사를 수행할 수 있다. 접속 제어 애플리케이션(212)은 파일 IO 테이블(317)을 검사하여, 데이터 플로우에 대해서 파일 IO를 사용 중인 타겟 애플리케이션(211-1, 211-2, 211-3)(또는 이의 프로세스)이 존재하는지 여부를 확인할 수 있다. 접속 제어 애플리케이션(212)은 데이터 플로우에 포함된 타겟 애플리케이션의 식별 정보 중 하나인 PID(361)에 대응하는 파일 IO 테이블 정보(360)를 검색할 수 있다. 타겟 애플리케이션이 사용 중인 파일 IO가 존재하는 경우, 접속 제어 애플리케이션(212)은 동작 1120을 수행할 수 있다. 타겟 애플리케이션이 사용 중인 파일 IO가 존재하지 않는 경우, 접속 제어 애플리케이션(212)은 동작 1115를 수행할 수 있다.At operation 1110, access control application 212 may perform a file IO table check. The access control application 212 checks the file IO table 317 to determine whether there is a target application 211-1, 211-2, 211-3 (or a process thereof) that is using file IO for the data flow. can be checked. The access control application 212 may search the file IO table information 360 corresponding to the PID 361, which is one of the identification information of the target application included in the data flow. If there is a file IO in use by the target application, the access control application 212 may perform operation 1120. If the file IO in use by the target application does not exist, the access control application 212 may perform operation 1115.
동작 1115에서, 접속 제어 애플리케이션(212)은 데이터 패킷을 전송할 수 있다.At operation 1115, connection control application 212 may transmit a data packet.
동작 1120에서, 접속 제어 애플리케이션(212)은 파일 IO의 종류를 확인할 수 있다. 파일 IO의 종류가 쓰기(또는, 쓰기와 관련된 모든 파일 접근 종류)인 경우, 접속 제어 애플리케이션(212)은 동작 1125를 수행할 수 있다. 파일 IO의 종류가 읽기(또는, 읽기와 관련된 모든 파일 접근 종류)인 경우, 접속 제어 애플리케이션(212)은 동작 1130을 수행할 수 있다. 해당 프로세스가 접근하는 파일 IO의 종류는 하나 이상의 읽기 및/또는 하나 이상의 쓰기를 동시에 요구할 수 있으며, 다중의 파일 IO가 존재하는 경우 각각의 단계를 순차적으로 및/또는 병렬적으로 진행할 수 있다. 예를 들어, 동작 1125와 동작 1130은 순차적으로 및/또는 병렬적으로 수행될 수 있다.At operation 1120, the access control application 212 may ascertain the type of file IO. If the type of file IO is write (or all file access types related to writing), the access control application 212 may perform operation 1125 . If the type of file IO is read (or all file access types related to reading), the access control application 212 may perform operation 1130. The type of file IO accessed by the corresponding process may simultaneously request one or more reads and/or one or more writes, and if multiple file IOs exist, each step may be performed sequentially and/or in parallel. For example, operations 1125 and 1130 may be performed sequentially and/or in parallel.
동작 1125에서, 접속 제어 애플리케이션(212)은 파일 복호화 처리를 수행할 수 있다. 접속 제어 애플리케이션(212)의 파일 복호화 처리에 대하여는 도 12를 참조하여 후술한다. 접속 제어 애플리케이션(212)은 도 12에 도시된 파일 복호화 처리 프로세스를 통해 파일 입출력이 발생된 애플리케이션 및 해당 파일에 대한 파일 복호화 여부를 결정할 수 있다.At operation 1125, access control application 212 may perform a file decryption process. File decryption processing of the connection control application 212 will be described later with reference to FIG. 12 . The access control application 212 may determine whether or not to decrypt the file for the file input/output application and the corresponding file through the file decryption processing process shown in FIG. 12 .
동작 1130에서, 접속 제어 애플리케이션(212)은 파일 암호화 처리를 수행할 수 있다. 접속 제어 애플리케이션(212)의 파일 암호화 처리에 대하여는 도 13을 참조하여 후술한다. 접속 제어 애플리케이션(212)은 도 13에 도시된 파일 암호화 처리 프로세스를 통해 파일 입출력이 발생된 애플리케이션 및 해당 파일에 대한 파일 암호화 여부를 결정할 수 있다.At operation 1130, access control application 212 may perform a file encryption process. File encryption processing of the access control application 212 will be described later with reference to FIG. 13 . The access control application 212 may determine whether to encrypt a file for an application in which file input/output occurs and a corresponding file through the file encryption processing process shown in FIG. 13 .
도 12는 다양한 실시예들에 따른 파일 복호화 처리를 위한 신호 흐름도를 도시한다.12 shows a signal flow diagram for file decryption processing according to various embodiments.
동작 1205에서, 접속 제어 애플리케이션(212)은 파일 복호화 처리 이벤트를 감지할 수 있다. 예를 들어, 접속 제어 애플리케이션(212)은 도 10의 동작 1020 또는 도 11의 동작 1120에서 파일 입출력 종류가 쓰기인 것으로 확인된 경우 파일 복호화 처리를 시작할 수 있다. 접속 제어 애플리케이션(212)은 파일 복호화 처리를 통해 파일 입출력 접근이 감지된 애플리케이션 및 해당 파일에 대하여 파일을 복호화할 것인지 여부를 결정하고, 복호화가 허용되는 경우 파일을 복호화할 수 있다.At operation 1205, the access control application 212 may detect a file decryption processing event. For example, the access control application 212 may start a file decryption process when it is determined that the file input/output type is write in operation 1020 of FIG. 10 or operation 1120 of FIG. 11 . The access control application 212 may determine whether or not to decrypt the file with respect to the file input/output access detected through the file decryption process and the corresponding file, and decrypt the file if decryption is permitted.
동작 1210에서, 접속 제어 애플리케이션(212)은 애플리케이션 식별 정보 및 네트워크 식별 정보를 기반으로 데이터 플로우를 확인할 수 있다. 데이터 플로우의 인가된 파일 IO 정보(354)에 따라 파일 쓰기가 허용되고, 파일 복호화가 불필요한 경우, 접속 제어 애플리케이션(212)은 파일 쓰기를 허용 처리할 수 있다. 데이터 플로우의 인가된 파일 IO 정보(354)에 따라 파일 쓰기가 허용되지 않는 경우, 접속 제어 애플리케이션(212)은 타겟 애플리케이션의 파일 접근(파일 쓰기)을 중단 처리할 수 있다. 예를 들어, 접속 제어 애플리케이션(212)은 파일 핸들(handle)의 제거 또는 충돌, 및 파일 쓰기 버퍼(write buffer) 초기화를 포함하는, 파일 접근을 중단시키기 위해 운영체제에서 제공하는 API(application programming interface) 및 후킹(hooking), 해당 프로세스 강제 종료, 또는 일련의 파일 접근 제어 중단을 위한 명령어 실행의 방법으로 파일 접근(파일 쓰기)을 중단 처리할 수 있다. 또한, 접속 제어 애플리케이션(212)은 파일 IO 테이블(317)에서 해당 파일 IO의 상태를 접근 중단 처리로 변경할 수 있다. 또한, 접속 제어 애플리케이션(212)은 해당 데이터 플로우의 상태를 변경하고 네트워크 접속을 차단하여, 네트워크로부터 수신되는 데이터 패킷을 차단할 수 있다. 전송 중인 데이터 패킷이 존재하는 경우, 접속 제어 애플리케이션(212)은 데이터 패킷을 드랍(drop) 할 수 있다.At operation 1210, the access control application 212 may verify the data flow based on the application identification information and the network identification information. If writing of a file is allowed according to the authorized file IO information 354 of the data flow and file decryption is unnecessary, the access control application 212 may allow writing of the file. When writing a file is not allowed according to the authorized file IO information 354 of the data flow, the access control application 212 may stop the file access (file writing) of the target application. For example, the access control application 212 uses an application programming interface (API) provided by the operating system to stop file access, including removing or conflicting file handles and initializing file write buffers. And, file access (file writing) may be stopped by hooking, forcibly terminating the corresponding process, or executing a command to stop a series of file access control. In addition, the access control application 212 may change the status of the corresponding file IO in the file IO table 317 to the process of stopping access. In addition, the access control application 212 may block data packets received from the network by changing the state of the corresponding data flow and blocking network access. If there is a data packet in transit, the connection control application 212 may drop the data packet.
데이터 플로우의 인가된 파일 IO 정보(354)에 따라 파일 쓰기가 허용되나, 파일 복호화가 필요한 경우, 접속 제어 애플리케이션(212)은 파일 정보를 식별하기 위해 타겟 애플리케이션의 파일 IO 접근이 해제(예: 모든 파일 정보를 기록하고 파일 쓰기를 완료)될 때까지 대기할 수 있다. 파일 IO 접근이 해제된 경우, 접속 제어 애플리케이션(212)은 대상 파일의 고유 정보 및 식별 정보(예: 파일명, 파일의 일부 내용, 헤더 정보, 해쉬 정보, 또는 시그니처 정보)를 획득할 수 있다.If writing a file is allowed according to the authorized file IO information 354 of the data flow, but file decryption is required, the access control application 212 releases the file IO access of the target application to identify the file information (eg, all You can write file information and wait until file writing is complete. When file IO access is released, the access control application 212 may obtain unique information and identification information (eg, file name, partial contents of a file, header information, hash information, or signature information) of a target file.
동작 1215에서 접속 제어 애플리케이션(212)은 파일 IO 테이블(317)을 확인할 수 있다. 접속 제어 애플리케이션(212)은 획득된 대상 파일의 고유 정보 및 식별 정보에 기반하여 파일 IO 테이블(317)에 대상 파일을 복호화 가능한 정보가 존재하는지 여부를 확인할 수 있다. 대상 파일을 복호화 가능한 정보가 존재하는 경우, 해당 파일의 암복호화 정보(365)에 포함된 복호화 알고리즘 및 복호화 키로 파일을 복호화할 수 있다. 예를 들어 복호화에 실패한 경우, 접속 제어 애플리케이션(212)은 대상 파일을 삭제할 수 있다. 대상 파일을 복호화 가능한 정보가 존재하지 않는 경우, 접속 제어 애플리케이션(212)은 동작 1220에서 대상 파일의 고유 정보 및 식별 정보(예: 파일명, 파일의 일부 내용, 헤더 정보, 해쉬 정보, 또는 시그니처 정보)를 포함하는 파일 복호화 요청을 컨트롤러(202)로 전송할 수 있다.In operation 1215 the access control application 212 may check the file IO table 317 . The access control application 212 may check whether information capable of decrypting the target file exists in the file IO table 317 based on the obtained unique information and identification information of the target file. If information capable of decrypting the target file exists, the file can be decrypted using the decryption algorithm and decryption key included in the encryption/decryption information 365 of the corresponding file. For example, if decryption fails, the access control application 212 may delete the target file. If information capable of decoding the target file does not exist, the access control application 212 performs unique information and identification information (eg, file name, partial contents of the file, header information, hash information, or signature information) of the target file in operation 1220. A file decryption request including may be transmitted to the controller 202 .
동작 1220에서, 접속 제어 애플리케이션(212)은 컨트롤러(202)로 파일 복호화 요청을 전송할 수 있다. 접속 제어 애플리케이션(212)은 데이터 플로우 식별 정보 및 파일 식별 정보를 포함하는 파일 복호화 요청을 컨트롤러(202)로 전송하거나, 애플리케이션 식별 정보, 네트워크 식별 정보, 및 파일 식별 정보를 포함하는 파일 복호화 요청을 컨트롤러(202)로 전송할 수 있다.At operation 1220 , access control application 212 may send a file decryption request to controller 202 . The access control application 212 transmits a file decryption request including data flow identification information and file identification information to the controller 202, or sends a file decryption request including application identification information, network identification information, and file identification information to the controller (202).
동작 1225에서, 컨트롤러(202)는 수신된 데이터 플로우 식별 정보, 또는 수신된 애플리케이션 식별 정보 및 네트워크 식별 정보에 기반하여 타겟 애플리케이션에 대응하는 데이터 플로우를 식별하고, 식별된 데이터 플로우 및 수신된 파일 식별 정보를 기반으로 파일 IO 테이블(317)에 대상 파일이 존재하는지 여부를 확인할 수 있다. 파일 IO 테이블(317)에 대상 파일이 존재하는 경우, 컨트롤러(202)는 동작 1240에서 파일 IO 테이블(317)의 상태 정보(367)에 따라 파일 복호화가 허용됨을 나타내는 정보 또는 파일 복호화가 허용되지 않음을 나타내는 정보를 노드(201)로 전송할 수 있다. 파일 IO 테이블(317)에 대상 파일이 존재하지 않는 경우, 컨트롤러(202)는 파일 IO 정책 데이터베이스(312)에서 사용자, 단말(예: 노드(201)), 애플리케이션(타겟 애플리케이션(211-1, 211-2, 또는 211-3)), 및 네트워크에 매칭되는 파일 IO 정책을 통해 해당 파일의 복호화를 허용할 것인지 여부를 확인할 수 있다. 또한, 컨트롤러(202)는 외부 연계 시스템(207)에 파일 복호화 허용 여부를 질의하고(동작 1230) 응답을 수신함(동작 1235)으로써, 수신한 응답에 기반하여 파일 복호화를 허용할 것인지 여부를 확인할 수 있다. 컨트롤러(202)는 파일 복호화 허용 여부에 대하여 확인된 결과 및 파일 IO 정보를 기반으로 파일 IO 테이블(317)에 해당 정보를 추가할 수 있다. 파일 IO 정책 및/또는 외부 연계 시스템(207)을 통한 확인 결과 파일 복호화가 허용되지 않는 경우, 컨트롤러(202)는 동작 1240에서 파일 복호화가 허용되지 않음을 나타내는 정보를 노드(201)로 전송할 수 있다.In operation 1225, the controller 202 identifies a data flow corresponding to the target application based on the received data flow identification information or the received application identification information and the network identification information, and displays the identified data flow and the received file identification information. Based on this, it is possible to check whether a target file exists in the file IO table 317. If the target file exists in the file IO table 317, the controller 202 displays information indicating that file decryption is allowed or file decryption is not allowed according to the status information 367 of the file IO table 317 in operation 1240. Information indicating can be transmitted to the node 201. When the target file does not exist in the file IO table 317, the controller 202 selects a user, a terminal (eg, node 201), and an application (target applications 211-1 and 211 from the file IO policy database 312). -2 or 211-3)), and whether or not to allow the decryption of the corresponding file can be checked through the file IO policy matched to the network. In addition, the controller 202 queries the external linkage system 207 whether or not to allow file decryption (operation 1230) and receives a response (operation 1235), thereby determining whether to allow file decryption based on the received response. there is. The controller 202 may add corresponding information to the file IO table 317 based on the file IO information and the result of checking whether or not to allow file decryption. If file decryption is not permitted as a result of confirmation through the file IO policy and/or the external linkage system 207, the controller 202 may transmit information indicating that file decryption is not permitted to the node 201 in operation 1240. .
동작 1240에서, 컨트롤러(202)는 파일 복호화 요청에 대한 응답을 노드(201)로 전송할 수 있다. 파일 복호화 요청에 대한 응답은 파일 복호화 여부에 대한 정보를 포함할 수 있다.At operation 1240 , controller 202 may transmit a response to the file decryption request to node 201 . The response to the file decryption request may include information on whether or not the file is decrypted.
동작 1245에서, 접속 제어 애플리케이션(212)은 수신된 결과값을 처리할 수 있다. 수신된 결과값이 타겟 애플리케이션 및 대상 파일에 대한 파일 복호화가 허용됨을 나타내는 경우, 접속 제어 애플리케이션(212)은 해당 파일 IO 정보 및 상태 정보를 포함하는 파일 IO 테이블(317)에 파일 복호화가 허용됨을 나타내는 정보를 추가하거나, 갱신할 수 있다. 타겟 애플리케이션 및 대상 파일에 대한 파일 복호화가 허용되는 경우, 접속 제어 애플리케이션(212)은 컨트롤러(202)로부터 수신된 파일 암호화 및 복호화 정보(예: 암복호화 정보(365))에 포함된 복호화 알고리즘 및 복호화 키로 파일을 복호화할 수 있다. 수신된 결과값이 타겟 애플리케이션 및 대상 파일에 대한 파일 복호화가 허용되지 않음을 나타내는 경우, 접속 제어 애플리케이션(212)은 대상 파일을 삭제하여 해당 파일이 사용될 수 없도록 할 수 있다.At operation 1245, connection control application 212 may process the received result. If the received result value indicates that file decryption is allowed for the target application and the target file, the access control application 212 displays the file IO table 317 including the corresponding file IO information and status information indicating that file decryption is allowed. Information can be added or updated. When file decryption is allowed for the target application and the target file, the access control application 212 determines the decryption algorithm and decryption information included in the file encryption and decryption information (eg, encryption/decryption information 365) received from the controller 202. You can decrypt files with the key. If the received result value indicates that file decryption for the target application and target file is not allowed, the access control application 212 may delete the target file so that the file cannot be used.
도 13은 다양한 실시예들에 따른 파일 암호화 처리를 위한 신호 흐름도를 도시한다.13 shows a signal flow diagram for file encryption processing according to various embodiments.
동작 1305에서, 접속 제어 애플리케이션(212)은 파일 암호화 처리 이벤트를 감지할 수 있다. 예를 들어, 접속 제어 애플리케이션(212)은 도 10의 동작 1020 또는 도 11의 동작 1120에서 파일 입출력 종류가 읽기인 것으로 확인된 경우 파일 암호화 처리를 시작할 수 있다. 접속 제어 애플리케이션(212)은 파일 암호화 처리를 통해 파일 IO 접근이 감지된 애플리케이션 및 대상 파일에 대하여 파일을 암호화할 것인지 여부를 결정하고, 암호화가 필요한 경우 대상 파일을 암호화할 수 있다.At operation 1305, the access control application 212 may detect a file encryption processing event. For example, the access control application 212 may start a file encryption process when it is determined that the file input/output type is read in operation 1020 of FIG. 10 or operation 1120 of FIG. 11 . The access control application 212 may determine whether or not to encrypt the file with respect to the application and target file for which file IO access is detected through file encryption processing, and encrypt the target file if encryption is required.
동작 1310에서, 접속 제어 애플리케이션(212)은 애플리케이션 식별 정보 및 네트워크 식별 정보를 기반으로 데이터 플로우를 확인할 수 있다. 데이터 플로우의 인가된 파일 IO 정보(354)에 따라 파일 읽기가 허용되고, 파일 암호화가 불필요한 경우, 접속 제어 애플리케이션(212)은 파일 읽기를 허용 처리할 수 있다. 데이터 플로우의 인가된 파일 IO 정보(354)에 따라 파일 읽기가 허용되지 않는 경우, 접속 제어 애플리케이션(212)은 타겟 애플리케이션의 파일 접근(파일 읽기)을 중단 처리할 수 있다. 예를 들어, 접속 제어 애플리케이션(212)은 파일 핸들(handle)의 제거 또는 충돌, 및 파일 읽기 버퍼(read buffer) 초기화를 포함하는, 파일 접근을 중단시키기 위해 운영체제에서 제공하는 API(application programming interface) 및 후킹(hooking), 해당 프로세스 강제 종료, 또는 일련의 파일 접근 제어 중단을 위한 명령어 실행의 방법으로 파일 접근(파일 읽기)을 중단 처리할 수 있다. 또한, 접속 제어 애플리케이션(212)은 파일 IO 테이블(317)에서 해당 파일 IO의 상태를 접근 중단 처리로 변경하거나, 해당 파일 IO의 파일 IO 정보를 파일 IO 테이블(317)에 추가할 수 있다. 또한, 접속 제어 애플리케이션(212)은 해당 데이터 플로우의 상태를 변경하고 네트워크 접속을 차단하여, 네트워크로부터 수신되는 데이터 패킷을 차단할 수 있다. 전송 중인 데이터 패킷이 존재하는 경우, 접속 제어 애플리케이션(212)은 데이터 패킷을 드랍(drop) 할 수 있다.At operation 1310, the access control application 212 may verify the data flow based on the application identification information and the network identification information. If reading of a file is allowed according to the authorized file IO information 354 of the data flow and file encryption is unnecessary, the access control application 212 may permit reading of the file. When reading a file is not permitted according to the data flow authorized file IO information 354, the access control application 212 may stop the file access (reading the file) of the target application. For example, the access control application 212 uses an application programming interface (API) provided by the operating system to stop file access, including removing or conflicting file handles and initializing file read buffers. And, file access (reading a file) may be stopped by hooking, forcibly terminating the corresponding process, or executing a command to stop a series of file access control. In addition, the access control application 212 may change the status of the corresponding file IO in the file IO table 317 to access suspension processing, or add file IO information of the corresponding file IO to the file IO table 317. In addition, the access control application 212 may block data packets received from the network by changing the state of the corresponding data flow and blocking network access. If there is a data packet in transit, the connection control application 212 may drop the data packet.
데이터 플로우의 파일 IO 정보에 따라 파일 읽기가 허용되나, 파일 암호화가 필요한 경우, 접속 제어 애플리케이션(212)은 동작 1315를 수행할 수 있다.If reading of the file is allowed according to the file IO information of the data flow, but file encryption is required, the access control application 212 may perform operation 1315.
동작 1315에서, 접속 제어 애플리케이션(212)은 애플리케이션 식별 정보 및 파일 IO 정보를 기반으로 해당 파일 IO가 파일 IO 테이블(317)에 존재하는지 여부를 확인할 수 있다. 해당 파일 IO가 파일 IO 테이블(317)에 존재하고 대상 파일의 읽기가 가능한 경우, 접속 제어 애플리케이션(212)은 타겟 애플리케이션의 대상 파일에 대한 파일 읽기를 허용 처리할 수 있다. 해당 파일 IO가 파일 IO 테이블(317)에 존재하고 대상 파일의 읽기가 불가능한 경우, 접속 제어 애플리케이션(212)은 타겟 애플리케이션의 대상 파일에 대한 파일 접근(파일 읽기)을 중단 처리할 수 있다. 중단 처리에 관하여는 상술한 설명이 동일하게 적용될 수 있다. 해당 파일 IO가 파일 IO 테이블(317)에 존재하지 않는 경우, 또는 해당 파일 IO가 파일 IO 테이블(317)에 존재하지만 파일 암호화가 필요한 경우, 접속 제어 애플리케이션(212)은 대상 파일의 고유 정보 및 식별 정보(예: 파일명, 파일의 일부 내용, 헤더 정보, 해쉬 정보, 또는 시그니처 정보)를 획득하고, 획득된 파일 식별 정보를 포함하는 파일 암호화 요청을 컨트롤러(202)에 전송할 수 있다.In operation 1315, the access control application 212 may check whether a corresponding file IO exists in the file IO table 317 based on the application identification information and the file IO information. If the corresponding file IO exists in the file IO table 317 and the target file can be read, the access control application 212 may allow the file read of the target file of the target application. If the corresponding file IO exists in the file IO table 317 and it is impossible to read the target file, the access control application 212 may stop the file access (reading the file) of the target application to the target file. Regarding the interruption process, the above description can be equally applied. If the corresponding file IO does not exist in the file IO table 317, or if the corresponding file IO exists in the file IO table 317 but requires file encryption, the access control application 212 provides unique information and identification of the target file Information (eg, file name, partial contents of a file, header information, hash information, or signature information) may be obtained, and a file encryption request including the obtained file identification information may be transmitted to the controller 202 .
동작 1320에서, 접속 제어 애플리케이션(212)은 컨트롤러(202)로 파일 암호화 요청을 전송할 수 있다. 접속 제어 애플리케이션(212)은 데이터 플로우 식별 정보 및 파일 식별 정보를 포함하는 파일 암호화 요청을 컨트롤러(202)로 전송하거나, 애플리케이션 식별 정보, 네트워크 식별 정보, 및 파일 식별 정보를 포함하는 파일 암호화 요청을 컨트롤러(202)로 전송할 수 있다.At operation 1320 , access control application 212 may send a file encryption request to controller 202 . The access control application 212 transmits a file encryption request including data flow identification information and file identification information to the controller 202, or a file encryption request including application identification information, network identification information, and file identification information to the controller (202).
동작 1325에서, 컨트롤러(202)는 수신된 데이터 플로우 식별 정보, 또는 수신된 애플리케이션 식별 정보 및 네트워크 식별 정보에 기반하여 타겟 애플리케이션에 대응하는 데이터 플로우를 식별하고, 식별된 데이터 플로우 및 수신된 파일 식별 정보를 기반으로 파일 IO 테이블(317)에 대상 파일이 존재하는지 여부를 확인할 수 있다. 파일 IO 테이블(317)에 대상 파일이 존재하는 경우, 컨트롤러(202)는 동작 1340에서 파일 IO 테이블(317)의 상태 정보(367)에 따라 파일 암호화가 필요함을 나타내는 정보 또는 파일 암호화가 불필요함을 나타내는 정보를 노드(201)로 전송할 수 있다. 파일 IO 테이블(317)에 대상 파일이 존재하지 않는 경우, 컨트롤러(202)는 파일 IO 정책 데이터베이스(312)에서 사용자, 단말(예: 노드(201)), 애플리케이션(타겟 애플리케이션(211-1, 211-2, 또는 211-3)), 및 네트워크에 매칭되는 파일 IO 정책을 통해 파일 암호화가 필요한지 여부를 확인할 수 있다. 또한, 컨트롤러(202)는 외부 연계 시스템(207)에 파일 암호화 필요 여부를 질의하고(동작 1330) 응답을 수신함(동작 1335)으로써, 수신한 응답에 기반하여 파일 암호화가 필요한지 여부를 확인할 수 있다. 컨트롤러(202)는 파일 암호화 필요 여부에 대하여 확인된 결과 및 파일 IO 정보를 기반으로 파일 IO 테이블(317)에 해당 정보를 추가할 수 있다. 파일 IO 정책 및/또는 외부 연계 시스템(207)을 통한 확인 결과 파일 암호화가 불필요한 경우, 컨트롤러(202)는 동작 1340에서 파일 암호화가 불필요함을 나타내는 정보를 노드(201)로 전송할 수 있다. 파일 IO 정책 및/또는 외부 연계 시스템(207)을 통한 확인 결과 파일 암호화가 필요한 경우, 컨트롤러(202)는 동작 1340에서 파일 암호화에 필요한 정보(예: 파일 IO 테이블 정보(360))를 노드(201)로 전송할 수 있다.In operation 1325, the controller 202 identifies a data flow corresponding to the target application based on the received data flow identification information or the received application identification information and the network identification information, and displays the identified data flow and the received file identification information. Based on this, it is possible to check whether a target file exists in the file IO table 317. If the target file exists in the file IO table 317, the controller 202, in operation 1340, according to the status information 367 of the file IO table 317, information indicating that file encryption is required or that file encryption is unnecessary The indicated information may be transmitted to the node 201 . When the target file does not exist in the file IO table 317, the controller 202 selects a user, a terminal (eg, node 201), and an application (target applications 211-1 and 211 from the file IO policy database 312). -2 or 211-3)), and whether file encryption is required can be confirmed through the file IO policy matched to the network. In addition, the controller 202 queries the external linkage system 207 whether file encryption is required (operation 1330) and receives a response (operation 1335), thereby confirming whether file encryption is required based on the received response. The controller 202 may add corresponding information to the file IO table 317 based on the file IO information and the result of checking whether the file encryption is necessary. When file encryption is unnecessary as a result of confirmation through the file IO policy and/or the external linkage system 207 , the controller 202 may transmit information indicating that file encryption is unnecessary to the node 201 in operation 1340 . If file encryption is required as a result of checking through the file IO policy and/or the external linkage system 207, the controller 202 transmits information necessary for file encryption (eg, file IO table information 360) to the node 201 in operation 1340. ) can be transmitted.
동작 1340에서, 컨트롤러(202)는 파일 암호화 요청에 대한 응답을 노드(201)로 전송할 수 있다. 파일 암호화 요청에 대한 응답은 파일 암호화 필요 여부에 대한 정보를 포함할 수 있다.At operation 1340 , controller 202 may send a response to the file encryption request to node 201 . A response to the file encryption request may include information on whether file encryption is required.
동작 1345에서, 접속 제어 애플리케이션(212)은 수신된 결과값을 처리할 수 있다. 수신된 결과값이 타겟 애플리케이션 및 대상 파일에 대한 파일 암호화가 필요함을 나타내는 경우, 접속 제어 애플리케이션(212)은 해당 파일 IO 정보 및 상태 정보를 포함하는 파일 IO 테이블(317)에 파일 암호화가 필요함을 나타내는 정보를 추가하거나, 갱신할 수 있다. 대상 파일의 암호화가 필요한 경우, 접속 제어 애플리케이션(212)은 컨트롤러(202)로부터 수신된 파일 암호화 및 복호화 정보(예: 암복호화 정보(365))에 포함된 암호화 알고리즘 및 암호화 키로 파일을 암호화할 수 있다. 수신된 결과값이 타겟 애플리케이션 및 대상에 대한 파일 암호화가 불필요함을 나타내는 경우, 접속 제어 애플리케이션(212)은 타겟 애플리케이션(212)의 대상 파일에 대한 파일 접근(파일 읽기)을 허용 처리할 수 있다.At operation 1345, connection control application 212 may process the received result. When the received result value indicates that file encryption is required for the target application and the target file, the access control application 212 displays the file IO table 317 including the corresponding file IO information and state information indicating that file encryption is required. Information can be added or updated. If encryption of the target file is required, the access control application 212 may encrypt the file with an encryption algorithm and an encryption key included in the file encryption and decryption information (eg, encryption/decryption information 365) received from the controller 202. there is. When the received result value indicates that file encryption for the target application and target is unnecessary, the access control application 212 may allow the target application 212 to access (read the file) the target file.
도 14는 다양한 실시 예들에 따른 데이터 패킷 전송을 위한 노드(201)의 동작 흐름도를 도시한다. 이하의 동작 흐름도는 노드(201) 또는 노드(201)에 설치된 접속 제어 애플리케이션(212)에 의하여 구현될 수 있다.14 shows a flow diagram of operation of node 201 for data packet transmission according to various embodiments. The following operation flow chart may be implemented by node 201 or connection control application 212 installed on node 201 .
도 14를 참조하면, 동작 1410에서, 접속 제어 애플리케이션(212)은 데이터 패킷 전송 이벤트를 감지할 수 있다. 접속 제어 애플리케이션(212)은 타겟 애플리케이션(211-1, 211-2, 211-3)(또는 이의 프로세스)이 요청하는 데이터 패킷 전송 요청을, 데이터 패킷 전송 이벤트로서 감지할 수 있다.Referring to FIG. 14 , at operation 1410, connection control application 212 may detect a data packet transmission event. The access control application 212 may detect a data packet transmission request requested by the target applications 211-1, 211-2, and 211-3 (or processes thereof) as a data packet transmission event.
동작 1420에서, 접속 제어 애플리케이션(212)은 네트워크 접속이 허용된 후 데이터 패킷 전송 이벤트가 감지되면, 전송되는 데이터 패킷 및 타겟 애플리케이션(211-1, 211-2, 211-3)을 식별하여 데이터 플로우가 존재하는지 여부를 검사할 수 있다. 데이터 패킷의 전송을 요청하는 타겟 애플리케이션(211-1, 211-2, 211-3)(또는, 이의 프로세스)를 식별하고, 식별된 타겟 애플리케이션(211-1, 211-2, 211-3)(또는, 이의 프로세스)의 PID를 확인하고, 해당 PID에 할당된 데이터 플로우가 존재하는지 확인할 수 있다. In operation 1420, the connection control application 212 identifies the data packet to be transmitted and the target applications 211-1, 211-2, and 211-3 when a data packet transmission event is detected after the network access is allowed, and the data flow You can check whether it exists or not. Target applications 211-1, 211-2, 211-3 (or their processes) requesting transmission of data packets are identified, and the identified target applications 211-1, 211-2, 211-3 ( Alternatively, the PID of the process) may be checked, and it may be checked whether a data flow allocated to the corresponding PID exists.
데이터 플로우가 존재하는 경우, 접속 제어 애플리케이션(212)은 동작 1430으로 진행할 수 있다. 데이터 플로우가 존재하지 않는 경우, 접속 제어 애플리케이션(212)은 동작 1435로 진행할 수 있다. 동작 1435에서, 접속 제어 애플리케이션(212)은 데이터 플로우가 존재하지 않는 경우 데이터 패킷을 드롭할 수 있다.If the data flow exists, connection control application 212 may proceed to operation 1430 . If the data flow does not exist, connection control application 212 may proceed to operation 1435 . At operation 1435, connection control application 212 may drop the data packet if the data flow does not exist.
동작 1430에서, 접속 제어 애플리케이션(212)은 데이터 플로우가 존재하는 경우, 파일 IO 테이블을 확인할 수 있다. At operation 1430, the access control application 212 can check the file IO table if there is a data flow.
동작 1440에서, 접속 제어 애플리케이션(212)은 데이터 플로우 정보(350)의 인가된 파일 IO 정보(354)에서 타겟 애플리케이션(또는, 이의 프로세스)의 파일 IO, 또는 읽기가 허용되는지를 확인할 수 있다. 파일 IO, 또는 읽기가 허용된 경우, 접속 제어 애플리케이션(212)은 동작 1455로 진행할 수 있다. 파일 IO, 및 읽기가 허용되지 않은 경우, 접속 제어 애플리케이션(212)은 동작 1545로 진행할 수 있다. 동작 1455에서, 접속 제어 애플리케이션(212)은 데이터 패킷을 네트워크로 전송할 수 있다.In operation 1440, the access control application 212 may check whether the file IO or read of the target application (or its process) is permitted in the authorized file IO information 354 of the data flow information 350. If file IO or read is allowed, access control application 212 may proceed to operation 1455 . If file IO and read are not allowed, access control application 212 may proceed to operation 1545 . At operation 1455, connection control application 212 may transmit the data packet to the network.
동작 1445에서, 접속 제어 애플리케이션(212)은 파일 IO 테이블(317)에서 파일 IO가 존재하지 않는지를 확인할 수 있다. 접속 제어 애플리케이션(212)은 애플리케이션 식별 정보 중 하나인 PID를 이용하여 읽기 종류의 파일 IO가 존재하는지 여부, 또는 읽기 종류의 파일 IO로 접근 중인지 여부, 접근 후 사용을 종료한 파일 IO가 있는지 여부를 확인할 수 있다. 접속 제어 애플리케이션(212)은 타겟 애플리케이션(또는, 이의 프로세스)에 의해 수행되는 읽기 종류의 파일 IO가 존재하는지 여부, 또는 읽기 종류의 파일 IO로 접근 중인지 여부, 접근 후 사용을 종료한 파일 IO가 있는지 여부를 확인할 수 있다.At operation 1445, the access control application 212 may verify that the file IO does not exist in the file IO table 317. The access control application 212 uses the PID, which is one of the application identification information, to determine whether there is a read-type file IO, or whether a read-type file IO is being accessed, and whether there is a file IO that has been used after access. You can check. The access control application 212 determines whether there is a file IO of a read type performed by the target application (or its process), whether a file IO of a read type is being accessed, and whether there is a file IO that has been used after access. can check whether
파일 IO가 존재하지 않는 경우, 접속 제어 애플리케이션(212)은 동작 1455로 진행할 수 있다. 파일 IO가 존재하는 경우, 접속 제어 애플리케이션(212)은 동작 1450으로 진행할 수 있다. 동작 1455에서, 접속 제어 애플리케이션(212)은 데이터 패킷을 네트워크로 전송할 수 있다.If file IO does not exist, connection control application 212 may proceed to operation 1455 . If file IO exists, connection control application 212 may proceed to operation 1450 . At operation 1455, connection control application 212 may transmit the data packet to the network.
동작 1450에서, 접속 제어 애플리케이션(212)은 파일 IO가 존재하는 경우, 데이터 패킷을 검사할 수 있다. 접속 제어 애플리케이션(212)은 파일 IO의 대상 파일을 확인하고, 대상 파일의 일부 내용 또는, 대상 파일을 관리하기 위한 고유 정보(예: 해쉬, 헤더 정보, 시그니처 정보 등)가 데이터 패킷에 포함되어 있는지를 검사할 수 있다. 접속 제어 애플리케이션(212)은 전송되는 데이터 패킷에서 파일의 일부 내용 또는, 파일을 관리하기 위한 고유 정보(예: 해쉬, 헤더 정보, 시그니처 정보 등)가 포함되어 있는지를 검사할 수 있다.At operation 1450, connection control application 212 may examine the data packet if file IO exists. The access control application 212 checks the target file of the file IO, and whether some contents of the target file or unique information (eg, hash, header information, signature information, etc.) for managing the target file are included in the data packet. can be inspected. The access control application 212 may check whether some contents of a file or unique information for managing a file (eg, hash, header information, signature information, etc.) are included in the transmitted data packet.
동작 1460에서, 접속 제어 애플리케이션(212)은 데이터 패킷의 검사가 성공인지를 확인할 수 있다. 접속 제어 애플리케이션(212)은 데이터 패킷에 파일의 일부 내용 또는, 파일을 관리하기 위한 고유 정보(예: 해쉬, 헤더 정보, 시그니처 정보 등)가 포함되어 있는 경우, 데이터 패킷의 검사가 실패인 것으로 확인할 수 있다. 데이터 패킷의 검사가 성공인 경우, 접속 제어 애플리케이션(212)은 동작 1455로 진행할 수 있다. 데이터 패킷의 검사가 실패인 경우(즉, 데이터 패킷에 파일의 일부 내용 또는, 파일을 관리하기 위한 고유 정보(예: 해쉬, 헤더 정보, 시그니처 정보 등)가 포함되지 않은 경우), 접속 제어 애플리케이션(212)은 동작 1450로 진행할 수 있다. 동작 1470에서, 접속 제어 애플리케이션(212)은 데이터 패킷을 네트워크로 전송할 수 있다.At operation 1460, connection control application 212 may verify whether the inspection of the data packet was successful. The access control application 212 determines that the inspection of the data packet has failed if the data packet contains some contents of the file or unique information (eg, hash, header information, signature information, etc.) for managing the file. can If the inspection of the data packet is successful, connection control application 212 may proceed to operation 1455 . If the inspection of the data packet fails (that is, if the data packet does not contain some contents of the file or unique information for managing the file (eg hash, header information, signature information, etc.)), the access control application ( 212) may proceed to operation 1450. At operation 1470, connection control application 212 may transmit the data packet to the network.
동작 1470에서, 접속 제어 애플리케이션(212)은 데이터 패킷을 드롭하고, 네트워크 접속을 차단할 수 있다. At operation 1470, the connection control application 212 may drop the data packet and close the network connection.
도 15는 다양한 실시 예들에 따른 제어 플로우 갱신을 위한 신호 흐름도를 도시한다. 15 illustrates a signal flow diagram for updating a control flow according to various embodiments.
도 15를 참조하면, 동작 1505에서, 접속 제어 애플리케이션(212)은 제어 플로우 갱신을 요청할 수 있다. Referring to FIG. 15 , in operation 1505, the access control application 212 may request a control flow update.
일 실시 예에서, 접속 제어 애플리케이션(212)은 제어 플로우 및 데이터 플로우를 유지하기 위하여 컨트롤러(202)에게 제어 플로우 갱신을 요청할 수 있다. 일 실시 예에서, 접속 제어 애플리케이션(212)은 파일 IO 테이블(317)에서 네트워크 접속을 통해 파일을 저장하였거나 읽은 경우, 파일 IO 접근이 차단된 내역을 전송하기 위해 제어 플로우를 갱신 요청할 수 있다. 또한, 접속 제어 애플리케이션(212)은 지정된 주기 마다 제어 플로우의 식별 정보를 포함하여 제어 플로우 갱신을 요청할 수 있다.In one embodiment, the access control application 212 may request a control flow update from the controller 202 to maintain the control flow and data flow. In one embodiment, when the file IO table 317 stores or reads a file through a network connection, the access control application 212 may request an update of the control flow to transmit the details of the file IO access being blocked. In addition, the access control application 212 may request a control flow update including identification information of the control flow for each designated period.
동작 1510에서, 컨트롤러(202)는 제어 플로우를 갱신(검사)할 수 있다. 예를 들어, 컨트롤러(202)는 수신된 식별 정보가 나타내는 제어 플로우 정보(340)가 제어 플로우 테이블(315) 내에 존재하는지, 제어 플로우 정보(340)가 존재한다면 그에 종속되는 데이터 플로우 정보(350)가 존재하는지를 확인할 수 있다. 다른 보안 시스템에 의하여 접속이 해제되거나, 갱신 시간이 경과하거나, 또는 위험 탐지에 의하여 접속이 해제되는 경우, 제어 플로우가 존재하지 않을 수 있다. At operation 1510, the controller 202 may update (check) the control flow. For example, the controller 202 determines whether the control flow information 340 indicated by the received identification information exists in the control flow table 315, and if the control flow information 340 exists, the data flow information 350 subordinate thereto You can check if exists. When the connection is released by another security system, the update time elapses, or the connection is released due to risk detection, the control flow may not exist.
예를 들어 갱신(검사)이 실패하면, 컨트롤러(202)는 노드(201)는 접속 제어 애플리케이션(212)을 종료하거나 접속 제어 애플리케이션(212)의 네트워크 접속을 차단할 수 있다. 다른 예를 들어 갱신(검사)이 성공하면, 컨트롤러(202)는 제어 플로우 및 그에 종속되는 데이터 플로우의 만료 시간을 갱신할 수 있다. 이 경우, 노드(201)는 제어 플로우 정보(340) 및 데이터 플로우 정보(350)를 갱신할 수 있다.For example, if the update (check) fails, the controller 202 node 201 may terminate the access control application 212 or block the access control application 212 from accessing the network. For another example, if the update (check) succeeds, the controller 202 may update the expiration time of the control flow and the data flow dependent thereon. In this case, the node 201 may update control flow information 340 and data flow information 350 .
노드(201)로부터 수신된 파일 IO 테이블 정보(360)가 있는 경우, 컨트롤러(202)는 컨트롤러(202)에 존재하는 파일 IO 테이블(317)을 갱신하고, 갱신된 파일 IO 테이블(317)을 에 기반하여 사용자 및 노드(201)로부터의 행위 조회 및 감사 자료로 사용하며, 이상 행위가 발생한 경우 제어 플로우를 종료할 수 있다. When there is the file IO table information 360 received from the node 201, the controller 202 updates the file IO table 317 existing in the controller 202 and sends the updated file IO table 317 to Based on this, it is used as data for inquiry and audit of actions from users and nodes 201, and when an abnormal action occurs, the control flow can be terminated.
동작 1515에서, 컨트롤러(202)는 갱신(검사) 결과 정보를 접속 제어 애플리케이션(212)에게 전송할 수 있다. 예를 들어 갱신(검사)이 실패하면, 컨트롤러(202)는 접속 불가 정보를 전송할 수 있다. 다른 예를 들어 갱신(검사)이 성공하면, 컨트롤러(202)는 갱신된 제어 플로우 정보(340) 및 그에 종속되는 데이터 플로우 정보(350)를 접속 제어 애플리케이션(212)에게 전송할 수 있다. 이 경우, 노드(201)는 제어 플로우 정보(340) 및 데이터 플로우 정보(350)를 갱신할 수 있다. In operation 1515 , the controller 202 may transmit update (check) result information to the connection control application 212 . For example, if the update (check) fails, the controller 202 may transmit unreachable information. For another example, if the update (check) is successful, the controller 202 may transmit the updated control flow information 340 and data flow information 350 subordinate thereto to the access control application 212 . In this case, the node 201 may update control flow information 340 and data flow information 350 .
접속 제어 애플리케이션(212)은 갱신(검사) 결과 정보를 처리할 수 있다. The access control application 212 may process update (check) result information.
제어 플로우 갱신 결과가 접속 불가를 나타내면, 접속 제어 애플리케이션(212)은 타겟 애플리케이션을 종료하거나, 타겟 애플리케이션의 모든 네트워크 접속을 차단할 수 있다. 제어 플로우 갱신 결과가 정상을 나타내고, 갱신된 데이터 플로우 정보(350)가 있는 경우, 접속 제어 애플리케이션(212)은 접속 제어 애플리케이션(212) 내의 데이터 플로우 테이블(316)을 갱신할 수 있다. If the control flow update result indicates that access is unavailable, the access control application 212 may terminate the target application or block all network access of the target application. If the control flow update result indicates normal and there is updated data flow information 350 , the connection control application 212 may update the data flow table 316 in the connection control application 212 .
도 16은 다양한 실시 예들에 따른 제어 플로우 제거를 위한 신호 흐름도를 도시한다. 16 illustrates a signal flow diagram for control flow cancellation according to various embodiments.
도 16을 참조하면, 동작 1605에서 노드(201)는 컨트롤러(202)에게 제어 플로우 종료를 요청할 수 있다. 예를 들어, 노드(201)는 접속 제어 애플리케이션(212)을 종료하거나, 네트워크 접속이 지정된 시간 동안 사용되지 않거나, 또는 다른 시스템으로부터 접속 종료 요청이 수신되는 경우, 제어 플로우 종료를 요청할 수 있다. Referring to FIG. 16 , in operation 1605, the node 201 may request the controller 202 to terminate the control flow. For example, the node 201 may request control flow termination when the connection control application 212 is terminated, when the network connection is not used for a specified amount of time, or when a connection termination request is received from another system.
동작 1610에서, 컨트롤러(202)는 노드(201)로부터 수신된 식별 정보에 대응하는 제어 플로우를 제거할 수 있다. 컨트롤러(202)는 제거된 제어 플로우에 종속되는 데이터 플로우 또한 제거할 수 있다. At operation 1610 , controller 202 can remove the control flow corresponding to the identification information received from node 201 . The controller 202 may also remove the data flow dependent on the removed control flow.
동작 1615에서, 컨트롤러(202)는 게이트웨이(203)에게 데이터 플로우 제거를 요청하며, 동작 1620에서, 게이트웨이(203)는 데이터 플로우를 제거함으로써 접속 제어 애플리케이션(212)의 네트워크 접속을 차단할 수 있다. In operation 1615, the controller 202 requests the gateway 203 to remove the data flow, and in operation 1620, the gateway 203 may block the connection control application 212 from accessing the network by removing the data flow.
도 17은 다양한 실시 예들에 따른 데이터 플로우 제거를 위한 신호 흐름도를 도시한다. 17 illustrates a signal flow diagram for data flow cancellation according to various embodiments.
도 17을 참조하면, 동작 1705에서 접속 제어 애플리케이션(212)은 타겟 애플리케이션의 종료를 감지할 수 있다. 접속 제어 애플리케이션(212)은 노드(201)에서 실행 중인 타겟 애플리케이션의 종료 여부를 실시간 감시할 수 있다. Referring to FIG. 17 , in operation 1705, the access control application 212 may detect termination of the target application. The access control application 212 may monitor in real time whether a target application running on the node 201 is terminated.
동작 1710에서 접속 제어 애플리케이션(212)은 데이터 플로우 테이블(316)을 검사할 수 있다. 접속 제어 애플리케이션(212)은 데이터 플로우 테이블(316)에서 종료된 타겟 애플리케이션의 식별 정보 및 PID(또는, 자식(child)의 PID)에 대응하는 데이터 플로우가 존재하는지를 확인할 수 있다. 타겟 애플리케이션의 데이터 플로우가 확인되면, 접속 제어 애플리케이션(212)은 데이터 플로우 테이블(316)에서 해당 데이터 플로우를 삭제할 수 있다. At operation 1710 the access control application 212 may check the data flow table 316 . The access control application 212 may check whether a data flow corresponding to the identification information and PID (or PID of a child) of the terminated target application exists in the data flow table 316 . When the data flow of the target application is confirmed, the access control application 212 may delete the corresponding data flow from the data flow table 316 .
다중 실행 가능한 타겟 애플리케이션의 종료를 추적하기 위해, 접속 제어 애플리케이션(212)은 종료된 타겟 애플리케이션이 실행 중인 프로세스 목록에서 존재하지 않는 경우, 종료된 애플리케이션의 식별 정보에 대응하는 데이터 플로우를 데이터 플로우 테이블(316)에서 삭제할 수 있다. In order to track the termination of multiple executable target applications, the access control application 212 converts the data flow corresponding to the identification information of the terminated application into a data flow table (if the terminated target application does not exist in the running process list). 316) can be deleted.
동작 1715에서 접속 제어 애플리케이션(212)은 컨트롤러(202)에게 데이터 플로우 종료를 요청할 수 있다. 예를 들어, 접속 제어 애플리케이션(212)은 동작 1710에서 삭제된 데이터 플로우 목록을 컨트롤러(202)로 전송하여 데이터 플로우 종료를 요청할 수 있다. In operation 1715 the connection control application 212 may request the controller 202 to terminate the data flow. For example, the access control application 212 may transmit the deleted data flow list to the controller 202 in operation 1710 to request termination of the data flow.
동작 1720에서, 컨트롤러(202)는 노드(201)로부터 데이터 플로우 목록에 대응하는 데이터 플로우를 제거할 수 있다. 동작 1725에서, 컨트롤러(202)는 게이트웨이(203)에게 데이터 플로우 제거를 요청하며, 동작 1730에서, 게이트웨이(203)는 데이터 플로우를 제거함으로써 접속 제어 애플리케이션(212)의 제거된 데이터 플로우에 대응되는 서비스 서버(205)에 대한 접속을 차단할 수 있다. At operation 1720 , controller 202 can remove the data flow corresponding to the data flow list from node 201 . In operation 1725, the controller 202 requests the gateway 203 to remove the data flow, and in operation 1730, the gateway 203 removes the data flow, thereby providing a service corresponding to the removed data flow of the connection control application 212. Access to the server 205 may be blocked.
이상의 설명은 본 문서에 개시된 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 문서에 개시된 실시예들이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 문서에 개시된 실시예들의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. The above description is only an illustrative example of the technical idea disclosed in this document, and those skilled in the art to which the embodiments disclosed in this document belong will be within the scope of the essential characteristics of the embodiments disclosed in this document. Many modifications and variations will be possible.
따라서, 본 문서에 개시된 실시예들은 본 문서에 개시된 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예에 의하여 본 문서에 개시된 기술 사상의 범위가 한정되는 것은 아니다. 본 문서에 개시된 기술 사상의 보호 범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 문서의 권리범위에 포함되는 것으로 해석되어야 할 것이다.Therefore, the embodiments disclosed in this document are not intended to limit the technical idea disclosed in this document, but to explain, and the scope of the technical idea disclosed in this document is not limited by these embodiments. The scope of protection of technical ideas disclosed in this document should be interpreted according to the scope of the following claims, and all technical ideas within the equivalent scope should be construed as being included in the scope of rights of this document.

Claims (18)

  1. 노드에 있어서,In node,
    통신 회로;communication circuit;
    상기 통신 회로와 작동적으로 연결되는 프로세서; 및a processor in operative connection with the communication circuitry; and
    상기 프로세서와 작동적으로 연결되고, 접속 제어 애플리케이션 및 타겟 애플리케이션을 저장하는 메모리를 포함하고, 상기 메모리는, 상기 프로세서에 의해 실행될 때 상기 노드가,a memory operably coupled with the processor, wherein the memory stores a connection control application and a target application, wherein the memory, when executed by the processor, causes the node to:
    상기 타겟 애플리케이션의 파일 IO 접근 이벤트가 감지되면, 상기 접속 제어 애플리케이션을 통해, 상기 타겟 애플리케이션에 할당된 데이터 플로우가 존재하는지 여부를 확인하고,When a file IO access event of the target application is detected, through the access control application, it is checked whether a data flow allocated to the target application exists,
    상기 타겟 애플리케이션에 할당된 데이터 플로우가 존재하는 경우, 상기 접속 제어 애플리케이션을 통해, 상기 타겟 애플리케이션의 파일 IO의 종류를 확인하고,If there is a data flow allocated to the target application, check the type of file IO of the target application through the access control application;
    상기 확인된 파일 IO의 종류가 쓰기인 경우, 상기 접속 제어 애플리케이션을 통해, 파일 복호화 처리를 수행하고,If the type of the identified file IO is write, file decryption is performed through the access control application;
    상기 확인된 파일 IO의 종류가 읽기인 경우, 상기 접속 제어 애플리케이션을 통해, 파일 암호화 처리를 수행하도록 하는 명령어들을 저장하는, 노드.When the type of the confirmed file IO is read, storing commands for performing file encryption processing through the access control application.
  2. 청구항 1에 있어서,The method of claim 1,
    상기 명령어들은 상기 노드가,The commands are such that the node,
    상기 타겟 애플리케이션에 할당된 데이터 플로우가 존재하지 않는 경우, 상기 접속 제어 애플리케이션을 통해, 상기 타겟 애플리케이션의 상기 파일 IO와 관련된 파일 정보를 파일 IO 테이블에 저장하도록 하는, 노드.When a data flow allocated to the target application does not exist, store file information related to the file IO of the target application in a file IO table through the access control application.
  3. 청구항 1에 있어서,The method of claim 1,
    상기 명령어들은 상기 노드가,The commands are such that the node,
    상기 타겟 애플리케이션의 파일 IO 테이블 검사 이벤트가 감지되면, 상기 접속 제어 애플리케이션을 통해, 파일 IO 테이블에서 상기 타겟 애플리케이션이 사용 중인 파일 IO가 존재하는지 여부를 확인하고,When a file IO table check event of the target application is detected, through the access control application, it is checked whether there is a file IO being used by the target application in the file IO table;
    상기 사용 중인 파일 IO가 존재하지 않는 경우, 상기 접속 제어 애플리케이션을 통해, 데이터 패킷을 서비스 서버로 전송하고,If the file IO in use does not exist, transmit a data packet to a service server through the access control application,
    상기 사용 중인 파일 IO가 존재하는 경우, 상기 접속 제어 애플리케이션을 통해, 상기 사용 중인 파일 IO의 종류를 확인하고,If the file IO in use exists, check the type of the file IO in use through the access control application;
    상기 확인된 상기 사용 중인 파일 IO의 종류가 쓰기인 경우, 상기 접속 제어 애플리케이션을 통해, 상기 파일 복호화 처리를 수행하고,If the confirmed type of file IO in use is write, the file decryption process is performed through the access control application;
    상기 확인된 상기 사용 중인 파일 IO의 종류가 읽기인 경우, 상기 접속 제어 애플리케이션을 통해, 상기 파일 암호화 처리를 수행하도록 하는, 노드.and performing the file encryption process through the access control application when the confirmed type of the file IO in use is read.
  4. 청구항 1에 있어서,The method of claim 1,
    상기 명령어들은 상기 노드가,The commands are such that the node,
    파일 복호화 처리 이벤트가 감지되면, 상기 접속 제어 애플리케이션을 통해, 상기 파일 복호화 처리를 시작하고,When a file decryption process event is detected, the file decryption process is started through the access control application;
    상기 데이터 플로우의 인가된 파일 IO 정보가 파일 쓰기가 허용되고 파일 복호화가 불필요함을 나타내는 경우, 상기 접속 제어 애플리케이션을 통해, 상기 타겟 애플리케이션의 파일 쓰기를 허용하고,When the authorized file IO information of the data flow indicates that file writing is permitted and file decryption is unnecessary, allowing the target application to write the file through the access control application,
    상기 인가된 파일 IO 정보가 파일 쓰기가 허용되지 않음을 나타내는 경우, 상기 접속 제어 애플리케이션을 통해, 상기 타겟 애플리케이션의 파일 쓰기를 차단하고,When the authorized file IO information indicates that file writing is not allowed, blocking file writing of the target application through the access control application;
    상기 인가된 파일 IO 정보가 파일 쓰기가 허용되고 파일 복호화가 필요함을 나타내는 경우, 상기 접속 제어 애플리케이션을 통해, 파일 IO 테이블에서 대상 파일을 복호화 가능한 파일 정보가 존재하는지 여부를 확인하도록 하는, 노드.When the authorized file IO information indicates that file writing is allowed and file decryption is required, the node that determines whether file information capable of decrypting a target file exists in the file IO table through the access control application.
  5. 청구항 4에 있어서,The method of claim 4,
    상기 명령어들은 상기 노드가,The commands are such that the node,
    상기 대상 파일을 복호화 가능한 상기 파일 정보가 상기 파일 IO 테이블에 존재하는 경우, 상기 접속 제어 애플리케이션을 통해, 상기 파일 정보를 이용하여 상기 대상 파일을 복호화하고,If the file information capable of decrypting the target file exists in the file IO table, the target file is decrypted using the file information through the access control application;
    상기 대상 파일을 복호화 가능한 상기 파일 정보가 상기 파일 IO 테이블에 존재하지 않는 경우, 상기 접속 제어 애플리케이션을 통해, 상기 대상 파일의 파일 식별 정보를 포함하는 파일 복호화 요청을 외부 서버로 송신하도록 하는, 노드.If the file information capable of decrypting the target file does not exist in the file IO table, transmit a file decryption request including file identification information of the target file to an external server through the access control application.
  6. 청구항 5에 있어서,The method of claim 5,
    상기 명령어들은 상기 노드가,The commands are such that the node,
    상기 외부 서버로부터 상기 파일 복호화 요청에 대한 응답을 수신하고,Receiving a response to the file decryption request from the external server;
    상기 응답이 상기 타겟 애플리케이션 및 상기 대상 파일에 대한 파일 복호화가 허용되지 않음을 나타내는 경우, 상기 대상 파일을 삭제하고,If the response indicates that file decryption is not allowed for the target application and the target file, delete the target file;
    상기 응답이 상기 타겟 애플리케이션 및 상기 대상 파일에 대한 파일 복호화가 허용됨을 나타내는 경우, 상기 응답에 포함된 복호화 알고리즘 및 복호화 키를 이용하여 상기 대상 파일을 복호화하도록 하는, 노드.and if the response indicates that file decryption for the target application and the target file is allowed, cause the target file to be decrypted using a decryption algorithm and a decryption key included in the response.
  7. 청구항 1에 있어서,The method of claim 1,
    상기 명령어들은 상기 노드가,The commands are such that the node,
    파일 암호화 처리 이벤트가 감지되면, 상기 접속 제어 애플리케이션을 통해, 상기 파일 암호화 처리를 시작하고,When a file encryption process event is detected, the file encryption process is started through the access control application;
    상기 데이터 플로우의 인가된 파일 IO 정보가 파일 읽기가 허용되고 파일 암호화가 불필요함을 나타내는 경우, 상기 접속 제어 애플리케이션을 통해, 상기 타겟 애플리케이션의 파일 읽기를 허용하고,When the authorized file IO information of the data flow indicates that file reading is permitted and file encryption is unnecessary, allowing the target application to read the file through the access control application,
    상기 인가된 파일 IO 정보가 파일 읽기가 허용되지 않음을 나타내는 경우, 상기 접속 제어 애플리케이션을 통해, 상기 타겟 애플리케이션의 파일 읽기를 차단하고,When the authorized file IO information indicates that reading of the file is not allowed, blocking the target application from reading the file through the access control application;
    상기 인가된 파일 IO 정보가 파일 읽기가 허용되고 파일 암호화가 필요함을 나타내는 경우, 상기 접속 제어 애플리케이션을 통해, 파일 IO 테이블에서 상기 파일 IO가 존재하는지 여부를 확인하도록 하는, 노드.If the authorized file IO information indicates that file reading is allowed and file encryption is required, the node, through the access control application, checks whether the file IO exists in the file IO table.
  8. 청구항 7에 있어서,The method of claim 7,
    상기 명령어들은 상기 노드가,The commands are such that the node,
    상기 파일 IO가 존재하고, 대상 파일에 대한 파일 읽기가 허용되는 경우, 상기 접속 제어 애플리케이션을 통해, 상기 타겟 애플리케이션의 파일 읽기를 허용하고,If the file IO exists and file reading of the target file is permitted, allowing the target application to read the file through the access control application;
    상기 파일 IO가 존재하고, 상기 대상 파일에 대한 파일 읽기가 허용되지 않는 경우, 상기 접속 제어 애플리케이션을 통해, 상기 타겟 애플리케이션의 파일 읽기를 차단하고,Blocking file reading of the target application through the access control application when the file IO exists and file reading of the target file is not permitted;
    상기 파일 IO가 존재하지 않거나, 상기 파일 IO가 존재하되 상기 대상 파일에 대한 파일 암호화가 필요한 경우, 상기 접속 제어 애플리케이션을 통해, 상기 대상 파일의 파일 식별 정보를 포함하는 파일 암호화 요청을 외부 서버로 송신하도록 하는, 노드.If the file IO does not exist or if the file IO exists but file encryption for the target file is required, a file encryption request including file identification information of the target file is transmitted to an external server through the access control application Node.
  9. 청구항 8에 있어서,The method of claim 8,
    상기 명령어들은 상기 노드가,The commands are such that the node,
    상기 외부 서버로부터 상기 파일 암호화 요청에 대한 응답을 수신하고,Receiving a response to the file encryption request from the external server;
    상기 응답이 상기 타겟 애플리케이션 및 상기 대상 파일에 대한 파일 암호화가 불필요함을 나타내는 경우, 상기 타겟 애플리케이션의 상기 대상 파일에 대한 파일 읽기를 허용하고,When the response indicates that file encryption for the target application and the target file is unnecessary, allowing the target application to read the file for the target file;
    상기 응답이 상기 타겟 애플리케이션 및 상기 대상 파일에 대한 파일 암호화가 필요함을 나타내는 경우, 상기 응답에 포함된 암호화 알고리즘 및 암호화 키를 이용하여 상기 대상 파일을 암호화하도록 하는, 노드.and if the response indicates that file encryption is required for the target application and the target file, cause the target file to be encrypted using an encryption algorithm and encryption key included in the response.
  10. 서버에 있어서,in the server,
    통신 회로;communication circuit;
    상기 통신 회로와 작동적으로 연결되는 프로세서; 및a processor in operative connection with the communication circuitry; and
    상기 프로세서와 작동적으로 연결되고, 데이터베이스를 저장하는 메모리를 포함하고, 상기 메모리는, 상기 프로세서에 의해 실행될 때 상기 서버가,a memory operably coupled to the processor and storing a database, the memory, when executed by the processor, causes the server to:
    노드의 접속 제어 애플리케이션으로부터 파일 복호화 요청을 수신하고, 상기 파일 복호화 요청은 파일 IO(input output) 대상 파일의 파일 식별 정보를 포함하고,Receiving a file decryption request from an access control application of a node, the file decryption request including file identification information of a file input output (IO) target file,
    상기 파일 식별 정보를 이용하여 상기 데이터베이스에서 상기 대상 파일에 대한 파일 IO 테이블 정보가 존재하는지 여부를 확인하고,Checking whether file IO table information for the target file exists in the database using the file identification information;
    상기 파일 IO 테이블 정보가 존재하면, 상기 파일 IO 테이블 정보에 기초하여 상기 대상 파일에 대한 파일 복호화 여부를 확인하고,If the file IO table information exists, check whether or not the file is decrypted for the target file based on the file IO table information;
    상기 대상 파일에 대한 상기 파일 복호화 여부를 나타내는 응답을 상기 노드의 상기 접속 제어 애플리케이션으로 송신하도록 하는 명령어들을 저장하는, 서버.A server that stores instructions for transmitting a response indicating whether or not the file is decrypted for the target file to the access control application of the node.
  11. 청구항 10에 있어서,The method of claim 10,
    상기 명령어들은 상기 서버가,The commands are such that the server,
    상기 파일 IO 테이블 정보에 따라 상기 대상 파일에 대한 파일 복호화가 허용되는지 여부를 확인하고,Check whether file decryption for the target file is allowed according to the file IO table information;
    상기 대상 파일에 대한 파일 복호화 허용 여부에 대한 정보를 상기 노드의 상기 접속 제어 애플리케이션으로 송신하고,Transmitting information on whether or not to allow file decryption of the target file to the access control application of the node;
    상기 파일 복호화가 허용되는 경우, 상기 대상 파일을 복호화하기 위한 복호화 알고리즘 및 복호화 키를 상기 노드의 상기 접속 제어 애플리케이션으로 송신하도록 하는, 서버.and transmit a decryption algorithm and a decryption key for decrypting the target file to the access control application of the node when decryption of the file is permitted.
  12. 청구항 10에 있어서,The method of claim 10,
    상기 명령어들은 상기 서버가,The commands are such that the server,
    상기 파일 IO 테이블 정보가 존재하지 않으면, 파일 IO 정책 및 외부 서버를 통해 상기 대상 파일에 대한 파일 복호화가 허용되는지 여부를 확인하고,If the file IO table information does not exist, check whether file decryption of the target file is allowed through a file IO policy and an external server;
    상기 파일 복호화가 허용되는지 여부에 대한 정보를 상기 노드의 상기 접속 제어 애플리케이션으로 송신하고,sending information on whether or not the file decryption is allowed to the access control application of the node;
    상기 파일 복호화가 허용되는 경우, 상기 대상 파일을 복호화하기 위한 복호화 알고리즘 및 복호화 키를 상기 노드의 상기 접속 제어 애플리케이션으로 송신하도록 하는, 서버.and transmit a decryption algorithm and a decryption key for decrypting the target file to the access control application of the node when decryption of the file is allowed.
  13. 서버에 있어서,in the server,
    통신 회로;communication circuit;
    상기 통신 회로와 작동적으로 연결되는 프로세서; 및a processor in operative connection with the communication circuitry; and
    상기 프로세서와 작동적으로 연결되고, 데이터베이스를 저장하는 메모리를 포함하고, 상기 메모리는, 상기 프로세서에 의해 실행될 때 상기 서버가,a memory operably coupled to the processor and storing a database, the memory, when executed by the processor, causes the server to:
    노드의 접속 제어 애플리케이션으로부터 파일 암호화 요청을 수신하고, 상기 파일 암호화 요청은 파일 IO(input output) 대상 파일의 파일 식별 정보를 포함하고,Receive a file encryption request from an access control application of a node, the file encryption request includes file identification information of a file input output (IO) target file,
    상기 파일 식별 정보를 이용하여 상기 데이터베이스에서 상기 대상 파일에 대한 파일 IO 테이블 정보가 존재하는지 여부를 확인하고,Checking whether file IO table information for the target file exists in the database using the file identification information;
    상기 파일 IO 테이블 정보가 존재하면, 상기 파일 IO 테이블 정보에 기초하여 상기 대상 파일에 대한 파일 암호화 여부를 확인하고,If the file IO table information exists, check whether the target file is encrypted based on the file IO table information;
    상기 대상 파일에 대한 상기 파일 암호화 여부를 나타내는 응답을 상기 노드의 상기 접속 제어 애플리케이션으로 송신하도록 하는 명령어들을 저장하는, 서버.A server that stores instructions for transmitting a response indicating whether the file is encrypted for the target file to the access control application of the node.
  14. 청구항 13에 있어서,The method of claim 13,
    상기 명령어들은 상기 서버가,The commands are such that the server,
    상기 파일 IO 테이블 정보에 따라 상기 대상 파일에 대한 파일 암호화가 필요한지 여부를 확인하고,Check whether file encryption is required for the target file according to the file IO table information;
    상기 대상 파일에 대한 파일 암호화 필요 여부에 대한 정보를 상기 노드의 상기 접속 제어 애플리케이션으로 송신하고,Transmitting information on whether file encryption is required for the target file to the access control application of the node;
    상기 파일 암호화가 필요한 경우, 상기 대상 파일을 암호화하기 위한 암호화 알고리즘 및 암호화 키를 상기 노드의 상기 접속 제어 애플리케이션으로 송신하도록 하는, 서버.and to transmit an encryption algorithm and an encryption key for encrypting the target file to the access control application of the node when the file encryption is required.
  15. 청구항 13에 있어서,The method of claim 13,
    상기 명령어들은 상기 서버가,The commands are such that the server,
    상기 파일 IO 테이블 정보가 존재하지 않으면, 파일 IO 정책 및 외부 서버를 통해 상기 대상 파일에 대한 파일 암호화가 필요한지 여부를 확인하고,If the file IO table information does not exist, check whether file encryption for the target file is required through a file IO policy and an external server;
    상기 파일 암호화가 필요한지 여부에 대한 정보를 상기 노드의 상기 접속 제어 애플리케이션으로 송신하고,sending information on whether the file encryption is required to the access control application of the node;
    상기 파일 암호화가 허용되는 경우, 상기 대상 파일을 암호화하기 위한 암호화 알고리즘 및 암호화 키를 상기 노드의 상기 접속 제어 애플리케이션으로 송신하도록 하는, 서버.and send an encryption algorithm and an encryption key for encrypting the target file to the access control application of the node when the file encryption is permitted.
  16. 노드의 동작 방법에 있어서,In the operating method of the node,
    상기 노드의 타겟 애플리케이션의 파일 IO 접근 이벤트가 감지되면, 상기 노드의 접속 제어 애플리케이션을 통해, 상기 타겟 애플리케이션에 할당된 데이터 플로우가 존재하는지 여부를 확인하는 동작,When a file IO access event of a target application of the node is detected, checking whether a data flow allocated to the target application exists through an access control application of the node;
    상기 타겟 애플리케이션에 할당된 데이터 플로우가 존재하는 경우, 상기 접속 제어 애플리케이션을 통해, 상기 타겟 애플리케이션의 파일 IO의 종류를 확인하는 동작,If there is a data flow allocated to the target application, checking the type of file IO of the target application through the access control application;
    상기 확인된 파일 IO의 종류가 쓰기인 경우, 상기 접속 제어 애플리케이션을 통해, 파일 복호화 처리를 수행하는 동작, 및If the type of the identified file IO is write, performing a file decryption process through the access control application, and
    상기 확인된 파일 IO의 종류가 읽기인 경우, 상기 접속 제어 애플리케이션을 통해, 파일 암호화 처리를 수행하는 동작을 포함하는, 동작 방법.and performing file encryption processing through the access control application when the type of the identified file IO is read.
  17. 서버의 동작 방법에 있어서,In the method of operating the server,
    노드의 접속 제어 애플리케이션으로부터 파일 복호화 요청을 수신하는 동작, 상기 파일 복호화 요청은 파일 IO(input output) 대상 파일의 파일 식별 정보를 포함하고,Receiving a file decryption request from an access control application of a node, the file decryption request including file identification information of a file input output (IO) target file,
    상기 파일 식별 정보를 이용하여 상기 서버의 데이터베이스에서 상기 대상 파일에 대한 파일 IO 테이블 정보가 존재하는지 여부를 확인하는 동작,Checking whether file IO table information for the target file exists in the database of the server using the file identification information;
    상기 파일 IO 테이블 정보가 존재하면, 상기 파일 IO 테이블 정보에 기초하여 상기 대상 파일에 대한 파일 복호화 여부를 확인하는 동작, 및If the file IO table information exists, checking whether or not a file is decrypted for the target file based on the file IO table information; and
    상기 대상 파일에 대한 상기 파일 복호화 여부를 나타내는 응답을 상기 노드의 상기 접속 제어 애플리케이션으로 송신하는 동작을 포함하는, 동작 방법.and transmitting a response indicating whether or not the file is decrypted for the target file to the access control application of the node.
  18. 서버의 동작 방법에 있어서,In the method of operating the server,
    노드의 접속 제어 애플리케이션으로부터 파일 암호화 요청을 수신하는 동작, 상기 파일 암호화 요청은 파일 IO(input output) 대상 파일의 파일 식별 정보를 포함하고,Receiving a file encryption request from an access control application of a node, the file encryption request including file identification information of a file IO (input output) target file,
    상기 파일 식별 정보를 이용하여 상기 서버의 데이터베이스에서 상기 대상 파일에 대한 파일 IO 테이블 정보가 존재하는지 여부를 확인하는 동작,Checking whether file IO table information for the target file exists in the database of the server using the file identification information;
    상기 파일 IO 테이블 정보가 존재하면, 상기 파일 IO 테이블 정보에 기초하여 상기 대상 파일에 대한 파일 암호화 여부를 확인하는 동작, 및If the file IO table information exists, checking whether the target file is encrypted based on the file IO table information, and
    상기 대상 파일에 대한 상기 파일 암호화 여부를 나타내는 응답을 상기 노드의 상기 접속 제어 애플리케이션으로 송신하는 동작을 포함하는, 동작 방법.and transmitting a response indicating whether the target file is encrypted to the access control application of the node.
PCT/KR2023/002544 2022-02-23 2023-02-22 System for controlling file transmission and reception of application, and method therefor WO2023163506A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020220023474A KR102446933B1 (en) 2022-02-23 2022-02-23 System for controlling transmission and reception of file of application and method thereof
KR10-2022-0023474 2022-02-23

Publications (1)

Publication Number Publication Date
WO2023163506A1 true WO2023163506A1 (en) 2023-08-31

Family

ID=83452674

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2023/002544 WO2023163506A1 (en) 2022-02-23 2023-02-22 System for controlling file transmission and reception of application, and method therefor

Country Status (2)

Country Link
KR (1) KR102446933B1 (en)
WO (1) WO2023163506A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102446933B1 (en) * 2022-02-23 2022-09-26 프라이빗테크놀로지 주식회사 System for controlling transmission and reception of file of application and method thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007334821A (en) * 2006-06-19 2007-12-27 Trinity Security Systems Inc Application protection device, application protection method, and application protection program
JP2011237859A (en) * 2010-05-06 2011-11-24 Canon Inc Method for installing application
JP2013517578A (en) * 2010-01-22 2013-05-16 ベイジン キングソフト ソフトウエア コーポレーテッド Application operating method, apparatus and system
KR20190054763A (en) * 2017-11-14 2019-05-22 (주)피스페이스 File leakage prevention based on security file system and commonly used file access interface
KR20200015773A (en) * 2017-06-16 2020-02-12 후아웨이 테크놀러지 컴퍼니 리미티드 File processing method and mobile terminal
KR102446933B1 (en) * 2022-02-23 2022-09-26 프라이빗테크놀로지 주식회사 System for controlling transmission and reception of file of application and method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007334821A (en) * 2006-06-19 2007-12-27 Trinity Security Systems Inc Application protection device, application protection method, and application protection program
JP2013517578A (en) * 2010-01-22 2013-05-16 ベイジン キングソフト ソフトウエア コーポレーテッド Application operating method, apparatus and system
JP2011237859A (en) * 2010-05-06 2011-11-24 Canon Inc Method for installing application
KR20200015773A (en) * 2017-06-16 2020-02-12 후아웨이 테크놀러지 컴퍼니 리미티드 File processing method and mobile terminal
KR20190054763A (en) * 2017-11-14 2019-05-22 (주)피스페이스 File leakage prevention based on security file system and commonly used file access interface
KR102446933B1 (en) * 2022-02-23 2022-09-26 프라이빗테크놀로지 주식회사 System for controlling transmission and reception of file of application and method thereof

Also Published As

Publication number Publication date
KR102446933B1 (en) 2022-09-26

Similar Documents

Publication Publication Date Title
WO2021060854A1 (en) Network access control system and method therefor
WO2023033586A1 (en) System for controlling network access of application on basis of tcp session control, and method related thereto
WO2023038387A1 (en) System for controlling network access of application on basis of data flow, and method relating to same
WO2022231306A1 (en) System for controlling controller-based network connection and method therefor
WO2023163509A1 (en) System for controlling controller-based network connection and method related to same
WO2023146308A1 (en) System for controlling network access on basis of controller, and method therefor
WO2023085793A1 (en) System for controlling network access on basis of controller, and method therefor
WO2023146304A1 (en) System for controlling file transmission and reception of application and method for same
WO2023211122A1 (en) System for controlling file transmission and reception of application on basis of proxy and method relating to same
WO2023211104A1 (en) System for controlling controller-based network access, and method related thereto
WO2023085791A1 (en) Controller-based system for controlling network access, and method therefor
WO2023090755A1 (en) System for controlling network access of virtualization instance, and method therefor
WO2023211124A1 (en) System for controlling controller-based network connection and method for same
WO2023163514A1 (en) Controller-based network access control system and method therefor
WO2013085281A1 (en) Method and device for security in clouding computing service
WO2023136658A1 (en) Controller-based system and method for controlling network access
WO2023177238A1 (en) Controller-based network connection control system, and method thereof
WO2022231304A1 (en) System for controlling controller-based network access, and method therefor
WO2023033588A1 (en) System for controlling data flow in virtualization terminal, and method thereof
WO2023163506A1 (en) System for controlling file transmission and reception of application, and method therefor
WO2020022700A1 (en) Secure element for processing and authenticating digital key and operation method therefor
WO2023163504A1 (en) System for controlling file transmission and reception of application, and method therefor
WO2023211121A1 (en) System for controlling file transmission and reception of application on basis of proxy, and method therefor
WO2023146305A1 (en) System for controlling file transmission and reception of application, and method therefor
WO2021060859A1 (en) System for authenticating and controlling network access of terminal, and method therefor

Legal Events

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

Ref document number: 23760380

Country of ref document: EP

Kind code of ref document: A1