KR102367546B1 - Hybrid correlation analysis method between heterogeneous using streaming analysis and batch analysis and apparatus thereof - Google Patents

Hybrid correlation analysis method between heterogeneous using streaming analysis and batch analysis and apparatus thereof Download PDF

Info

Publication number
KR102367546B1
KR102367546B1 KR1020210134100A KR20210134100A KR102367546B1 KR 102367546 B1 KR102367546 B1 KR 102367546B1 KR 1020210134100 A KR1020210134100 A KR 1020210134100A KR 20210134100 A KR20210134100 A KR 20210134100A KR 102367546 B1 KR102367546 B1 KR 102367546B1
Authority
KR
South Korea
Prior art keywords
data
analysis
time
event
detection rules
Prior art date
Application number
KR1020210134100A
Other languages
Korean (ko)
Inventor
김상민
양학승
Original Assignee
주식회사 이글루시큐리티
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 이글루시큐리티 filed Critical 주식회사 이글루시큐리티
Priority to KR1020210134100A priority Critical patent/KR102367546B1/en
Application granted granted Critical
Publication of KR102367546B1 publication Critical patent/KR102367546B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1408Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic by monitoring network traffic
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/55Detecting local intrusion or implementing counter-measures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0227Filtering policies
    • H04L63/0263Rule management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/105Multiple levels of security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1441Countermeasures against malicious traffic

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computing Systems (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

An operation method of a device comprises the following steps of: setting one or more detection rules for first data obtained in real time; determining whether the number of occurrences of an event corresponding to the one or more detection rules is equal to or greater than a preset level; extracting second data corresponding to the event occurring with the preset level or greater in the first data; and transmitting the second data. The step of determining whether the event corresponding to the one or more detection rules has occurred above the preset level or greater includes determining whether the number of occurrences of the event is equal to or greater than a predefined threshold value within a window.

Description

스트리밍 분석 및 배치 분석을 이용하는 이기종 간 하이브리드 상관 분석 방법 및 이를 지원하는 장치{HYBRID CORRELATION ANALYSIS METHOD BETWEEN HETEROGENEOUS USING STREAMING ANALYSIS AND BATCH ANALYSIS AND APPARATUS THEREOF}Heterogeneous hybrid correlation analysis method using streaming analysis and batch analysis, and an apparatus supporting the same

본 발명은 스트리밍 분석 및 배치 분석을 이용하는 이기종 간 하이브리드 상관 분석 방법에 관한 것이다.The present invention relates to a heterogeneous hybrid correlation analysis method using streaming analysis and batch analysis.

이기종 간 상관분석의 경우에는 실시간 발생하는 경보를 조합하여 상관분석을 하거나, 검색하여 경보를 발생시키고 이를 바탕으로 다시 검색하는 상관분석 방법이 있다. 위협상황에 대한 빠른 분석을 제공하기 위해 실시간 경보만을 조합한 방식보다 효율적인 분석 방법이 필요하다.In the case of correlation analysis between heterogeneous types, there is a correlation analysis method that combines real-time generated alarms to perform correlation analysis, or searches and generates an alarm and searches again based on the correlation analysis method. In order to provide a quick analysis of the threat situation, a more efficient analysis method than the method combining only real-time alerts is needed.

공개특허공보 제 10-2020-0178521 호, 2020.12.18Patent Publication No. 10-2020-0178521, 2020.12.18

본 발명이 해결하고자 하는 과제는 통합보안관리, 통합로그관리 등의 데이터를 수집하여 정규화, 저장, 검색, 분석을 하는 시스템에서 이기종 간의 데이터를 조합하여 상관분석을 제공하는 것이다.The problem to be solved by the present invention is to provide correlation analysis by combining heterogeneous data in a system that collects data such as integrated security management and integrated log management and performs normalization, storage, search, and analysis.

본 발명이 해결하고자 하는 과제들은 이상에서 언급된 과제로 제한되지 않으며, 언급되지 않은 또 다른 과제들은 아래의 기재로부터 통상의 기술자에게 명확하게 이해될 수 있을 것이다.The problems to be solved by the present invention are not limited to the problems mentioned above, and other problems not mentioned will be clearly understood by those skilled in the art from the following description.

상술한 과제를 해결하기 위한 본 발명의 일 실시예에 따르면, 장치의 동작 방법에 있어서, 실시간으로 획득되는 제1 데이터에 대한 하나 이상의 탐지 룰을 설정하는 단계; 상기 하나 이상의 탐지 룰에 해당하는 이벤트의 발생 횟수가 기 설정된 수준(level) 이상인지를 판단하는 단계; 및 상기 제1 데이터 중 상기 기 설정된 수준 이상으로 발생된 이벤트에 대응되는 제2 데이터를 추출하는 단계; 및 상기 제2 데이터를 송신하는 단계를 포함할 수 있다. According to an embodiment of the present invention for solving the above problems, there is provided a method of operating an apparatus, the method comprising: setting one or more detection rules for first data acquired in real time; determining whether the number of occurrences of the event corresponding to the one or more detection rules is equal to or greater than a preset level; and extracting second data corresponding to an event occurring above the preset level from among the first data; and transmitting the second data.

상기 하나 이상의 탐지 룰에 해당하는 이벤트가 상기 기 설정된 수준 이상으로 발생하였는지를 판단하는 단계는 상기 이벤트의 발생 횟수가 윈도우 내 미리 정의된 임계치 이상인지를 판단하는 것을 포함할 수 있다.Determining whether the event corresponding to the one or more detection rules has occurred above the preset level may include determining whether the number of occurrences of the event is equal to or greater than a predefined threshold within a window.

상기 제1 데이터의 획득 시점의 이전 시점에 획득되는 제3 데이터로부터 획득되는 이벤트의 발생 횟수가 많아질 수록, 윈도우의 사이즈가 증가할 수 있다.The size of the window may increase as the number of occurrences of the event acquired from the third data acquired at a time before the acquisition time of the first data increases.

상기 제1 데이터 중 동일 ID(IDentification) 또는 동일 IP(Internet Protocol)를 갖는 데이터를 클러스터 분석하는 단계를 포함할 수 있다.The method may include cluster analysis of data having the same ID (ID) or the same Internet Protocol (IP) among the first data.

상기 제1 데이터 처리를 위한 리소스가 임계치 이상으로 필요함에 기초하여, 상기 제1 데이터는 다수의 서버들을 통하여 분산 처리될 수 있다. Based on the need for a resource for processing the first data more than a threshold, the first data may be distributed and processed through a plurality of servers.

상기 탐지 룰은 퇴사자 ID (identification)에 해당하는 이벤트가 발생하는 경우, 데이터베이스에 없는 ID를 탐지한 경우, 또는 외부 IP (internet protocol)를 탐지한 경우로 설정될 수 있다.The detection rule may be set to a case in which an event corresponding to a resignation ID (identification) occurs, an ID not in the database is detected, or an external IP (internet protocol) is detected.

본 발명의 일 실시예는, 외부 네트워크로부터의 비 인가된 접근을 차단하는 시스템에 포함되는 장치가 데이터를 처리 및 하이브리드 분석하는 방법을 제공할 수 있다.An embodiment of the present invention may provide a method for processing and hybrid analysis of data by a device included in a system that blocks unauthorized access from an external network.

상기 방법은: 스트리밍 분석에 대한 데이터를 수신하는 단계; 상기 스트리밍 분석에 대한 데이터를 방화벽(FW: firewall)에서 검색하는 단계; 및 상기 외부 네트워크로부터의 상기 비 인가된 접근을 차단하는 단계를 포함할 수 있다.The method comprises: receiving data for streaming analysis; retrieving data for the streaming analysis in a firewall (FW: firewall); and blocking the unauthorized access from the external network.

상기 스트리밍 분석에 대한 데이터는: 침입 차단 시스템(IPS: instrusion prevention system)이 하나 이상의 탐지 룰에 해당하는 이벤트의 발생 횟수가 기 설정된 수준(level) 이상으로 발생하였다고 판단한 경우, 실시간으로 획득되는 데이터 중 상기 기 설정된 수준 이상으로 발생된 이벤트에 대응되는 데이터들로 추출되어 IPS로부터 수신되는 데이터일 수 있다.The data for the streaming analysis is: When an intrusion prevention system (IPS) determines that the number of occurrences of an event corresponding to one or more detection rules has occurred above a preset level, among data acquired in real time The data may be extracted as data corresponding to an event occurring above the preset level and received from the IPS.

상기 추출한 데이터를 방화벽에서 검색하는 단계는 검색 범위 내에서 상기 추출한 데이터와 동일한 데이터를 검색하는 단계를 포함할 수 있다.The step of searching for the extracted data in the firewall may include searching for the same data as the extracted data within a search range.

상기 검색 범위는 검색하려는 데이터의 특성에 연관하여 사용자가 설정 가능하다.The search range can be set by the user in relation to the characteristics of the data to be searched.

상기 방법은 실시간 검색에서 추출된 데이터에 대응되는 이벤트의 발생 시간과 상기 추출된 데이터에 대응하는 방화벽 상의 데이터가 위치하는 시간의 차이에 기초하여 패턴을 분석하는 단계를 포함할 수 있다.The method may include analyzing a pattern based on a difference between an occurrence time of an event corresponding to the data extracted from the real-time search and a time at which data on a firewall corresponding to the extracted data is located.

본 발명의 일 실시예는 실시간으로 획득되는 제1 데이터를 처리하는 장치를 제공할 수 있다.An embodiment of the present invention may provide an apparatus for processing first data acquired in real time.

상기 상기 제1 데이터를 처리하는 장치는: 데이터를 저장하도록 구성된 메모리; 및 상기 메모리와 연결된 하나 이상의 프로세서를 포함를 포함할 수 있다.The apparatus for processing the first data includes: a memory configured to store data; and one or more processors coupled to the memory.

상기 하나 이상의 프로세서는: 상기 제1 데이터에 대한 하나 이상의 탐지 룰을 설정; 상기 하나 이상의 탐지 룰에 해당하는 이벤트의 발생 횟수가 기 설정된 수준(level) 이상으로 발생하였는지를 판단; 상기 제1 데이터 중 상기 기 설정된 수준 이상으로 발생된 이벤트에 대응되는 제2 데이터를 추출; 및 상기 제2 데이터를 송신하도록 구성될 수 있다.The one or more processors are configured to: set one or more detection rules for the first data; determining whether the number of occurrences of the event corresponding to the one or more detection rules is greater than or equal to a preset level; extracting second data corresponding to an event occurring above the preset level from among the first data; and transmit the second data.

상기 하나 이상의 프로세서는 상기 이벤트가 윈도우 내 미리 정의된 임계치 이상인 경우 상기 하나 이상의 탐지 룰에 해당하는 이벤트가 상기 기 설정된 수준 이상으로 발생하였다고 판단하도록 구성될 수 있다.The one or more processors may be configured to determine that the event corresponding to the one or more detection rules has occurred above the preset level when the event is greater than or equal to a predefined threshold within a window.

본 발명의 일 실시예는 외부 네트워크로부터의 비 인가된 접근을 차단하는 시스템에 포함되고, 데이터를 처리 및 하이드리브 분석하는 장치를 제공할 수 있다.An embodiment of the present invention may be included in a system for blocking unauthorized access from an external network, and may provide an apparatus for processing and hybrid analysis of data.

상기 데이터를 처리 및 하이드리브 분석하는 장치는: 데이터를 저장하도록 구성된 메모리; 및 상기 메모리와 연결된 하나 이상의 프로세서를 포함할 수 있다.The apparatus for processing and hybrid analysis of data includes: a memory configured to store data; and one or more processors connected to the memory.

상기 하나 이상의 프로세서는: 스트리밍 분석에 대한 데이터를 수신; 상기 스트리밍 분석에 대한 데이터를 방화벽(FW: firewall)에서 검색; 및 상기 외부 네트워크로부터의 상기 비 인가된 접근을 차단하도록 구성될 수 있다.The one or more processors are configured to: receive data for streaming analysis; retrieving data for the streaming analysis from a firewall (FW); and block the unauthorized access from the external network.

상기 스트리밍 분석에 대한 데이터는 침입 차단 시스템(IPS: instrusion prevention system)이 하나 이상의 탐지 룰에 해당하는 이벤트의 발생 횟수가 기 설정된 수준(level) 이상으로 발생하였다고 판단한 경우, 실시간으로 획득되는 데이터 중 상기 기 설정된 수준 이상으로 발생된 이벤트에 대응되는 데이터들로 추출되어 IPS로부터 수신되는 데이터일 수 있다.The data for the streaming analysis is when an intrusion prevention system (IPS) determines that the number of occurrences of an event corresponding to one or more detection rules has occurred at a preset level or more, among the data acquired in real time It may be data that is extracted as data corresponding to an event generated above a preset level and received from the IPS.

본 발명의 기타 구체적인 사항들은 상세한 설명 및 도면들에 포함되어 있다.Other specific details of the invention are included in the detailed description and drawings.

본 발명에 따르면, 실시간 탐지가 가능한 스트리밍 분석 방법과 저장된 데이터의 탐지가 가능한 배치 분석 방법을 조합함으로써, 실시간 경보만을 조합한 방식보다 효율적이고 빠른 분석이 가능하다.According to the present invention, by combining a streaming analysis method capable of real-time detection and a batch analysis method capable of detecting stored data, more efficient and faster analysis than a method combining only real-time alerts is possible.

본 발명의 효과들은 이상에서 언급된 효과로 제한되지 않으며, 언급되지 않은 또 다른 효과들은 아래의 기재로부터 통상의 기술자에게 명확하게 이해될 수 있을 것이다.Effects of the present invention are not limited to the effects mentioned above, and other effects not mentioned will be clearly understood by those skilled in the art from the following description.

본 발명에 대한 이해를 돕기 위해 상세한 설명의 일부로 포함된, 첨부 도면은 다양한 실시예들을 제공하고, 상세한 설명과 함께 다양한 실시예들의 기술적 특징을 설명한다.
도 1은 본 발명의 스트리밍 데이터에 대한 윈도우를 활용한 분석 방법을 도시한 도면이다.
도 2는 본 발명의 스트리밍 데이터에 대한 배치 분석 방법을 도시한 도면이다.
도 3은 본 발명의 상관 분석을 도시한 도면이다.
도 4는 본 발명의 실시간 스트리밍 분석과 배치 분석을 조합한 일 예시에 대한 도면이다.
도 5는 본 발명이 적용 가능한 보안장치에서 수집데이터가 수집되는 과정을 개념적으로 도시하는 개념도이다.
도 6은 본 발명에 따른 상관 분석의 과정을 도시하는 개념도이다.
도 7은 본 발명이 구현될 수 있는 장치의 일 예를 도시한 도면이다.
BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are included as part of the detailed description to aid understanding of the present invention, provide various embodiments and, together with the detailed description, explain technical features of the various embodiments.
1 is a diagram illustrating an analysis method using a window for streaming data of the present invention.
2 is a diagram illustrating a batch analysis method for streaming data according to the present invention.
3 is a diagram illustrating a correlation analysis of the present invention.
4 is a diagram of an example in which real-time streaming analysis and batch analysis of the present invention are combined.
5 is a conceptual diagram conceptually illustrating a process in which collected data is collected in a security device to which the present invention is applicable.
6 is a conceptual diagram illustrating a process of correlation analysis according to the present invention.
7 is a diagram illustrating an example of an apparatus in which the present invention may be implemented.

본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다. 그러나, 본 발명은 이하에서 개시되는 실시예들에 제한되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있으며, 단지 본 실시예들은 본 발명의 개시가 완전하도록 하고, 본 발명이 속하는 기술 분야의 통상의 기술자에게 본 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. Advantages and features of the present invention and methods of achieving them will become apparent with reference to the embodiments described below in detail in conjunction with the accompanying drawings. However, the present invention is not limited to the embodiments disclosed below, but may be implemented in various different forms, and only the present embodiments allow the disclosure of the present invention to be complete, and those of ordinary skill in the art to which the present invention pertains. It is provided to fully understand the scope of the present invention to those skilled in the art, and the present invention is only defined by the scope of the claims.

본 명세서에서 사용된 용어는 실시예들을 설명하기 위한 것이며 본 발명을 제한하고자 하는 것은 아니다. 본 명세서에서, 단수형은 문구에서 특별히 언급하지 않는 한 복수형도 포함한다. 명세서에서 사용되는 "포함한다(comprises)" 및/또는 "포함하는(comprising)"은 언급된 구성요소 외에 하나 이상의 다른 구성요소의 존재 또는 추가를 배제하지 않는다. 명세서 전체에 걸쳐 동일한 도면 부호는 동일한 구성 요소를 지칭하며, "및/또는"은 언급된 구성요소들의 각각 및 하나 이상의 모든 조합을 포함한다. 비록 "제1", "제2" 등이 다양한 구성요소들을 서술하기 위해서 사용되나, 이들 구성요소들은 이들 용어에 의해 제한되지 않음은 물론이다. 이들 용어들은 단지 하나의 구성요소를 다른 구성요소와 구별하기 위하여 사용하는 것이다. 따라서, 이하에서 언급되는 제1 구성요소는 본 발명의 기술적 사상 내에서 제2 구성요소일 수도 있음은 물론이다.The terminology used herein is for the purpose of describing the embodiments and is not intended to limit the present invention. In this specification, the singular also includes the plural unless specifically stated otherwise in the phrase. As used herein, “comprises” and/or “comprising” does not exclude the presence or addition of one or more other components in addition to the stated components. Like reference numerals refer to like elements throughout, and "and/or" includes each and every combination of one or more of the recited elements. Although "first", "second", etc. are used to describe various elements, these elements are not limited by these terms, of course. These terms are only used to distinguish one component from another. Accordingly, it goes without saying that the first component mentioned below may be the second component within the spirit of the present invention.

다른 정의가 없다면, 본 명세서에서 사용되는 모든 용어(기술 및 과학적 용어를 포함)는 본 발명이 속하는 기술분야의 통상의 기술자에게 공통적으로 이해될 수 있는 의미로 사용될 수 있을 것이다. 또한, 일반적으로 사용되는 사전에 정의되어 있는 용어들은 명백하게 특별히 정의되어 있지 않는 한 이상적으로 또는 과도하게 해석되지 않는다.Unless otherwise defined, all terms (including technical and scientific terms) used herein will have the meaning commonly understood by those of ordinary skill in the art to which this invention belongs. In addition, terms defined in a commonly used dictionary are not to be interpreted ideally or excessively unless specifically defined explicitly.

공간적으로 상대적인 용어인 "아래(below)", "아래(beneath)", "하부(lower)", "위(above)", "상부(upper)" 등은 도면에 도시되어 있는 바와 같이 하나의 구성요소와 다른 구성요소들과의 상관관계를 용이하게 기술하기 위해 사용될 수 있다. 공간적으로 상대적인 용어는 도면에 도시되어 있는 방향에 더하여 사용시 또는 동작시 구성요소들의 서로 다른 방향을 포함하는 용어로 이해되어야 한다. 예를 들어, 도면에 도시되어 있는 구성요소를 뒤집을 경우, 다른 구성요소의 "아래(below)"또는 "아래(beneath)"로 기술된 구성요소는 다른 구성요소의 "위(above)"에 놓여질 수 있다. 따라서, 예시적인 용어인 "아래"는 아래와 위의 방향을 모두 포함할 수 있다. 구성요소는 다른 방향으로도 배향될 수 있으며, 이에 따라 공간적으로 상대적인 용어들은 배향에 따라 해석될 수 있다.Spatially relative terms "below", "beneath", "lower", "above", "upper", etc. It can be used to easily describe the correlation between a component and other components. Spatially relative terms should be understood as terms including different directions of components during use or operation in addition to the directions shown in the drawings. For example, when a component shown in the drawing is turned over, a component described as “beneath” or “beneath” of another component may be placed “above” of the other component. can Accordingly, the exemplary term “below” may include both directions below and above. Components may also be oriented in other orientations, and thus spatially relative terms may be interpreted according to orientation.

이하, 본 명세서에 따른 바람직한 실시 형태를 첨부된 도면을 참조하여 상세하게 설명한다. 첨부된 도면과 함께 이하에 개시될 상세한 설명은 다양한 실시예들의 예시적인 실시형태를 설명하고자 하는 것이며, 유일한 실시형태를 나타내고자 하는 것이 아니다.Hereinafter, preferred embodiments according to the present specification will be described in detail with reference to the accompanying drawings. DETAILED DESCRIPTION The detailed description set forth below in conjunction with the appended drawings is intended to describe exemplary embodiments of various embodiments, and is not intended to represent the only embodiments.

본 발명에서 쓰이는 용어들의 정의는 하기와 같다.Definitions of terms used in the present invention are as follows.

FW(FireWall): FW는 외부 네트워크로부터의 비 인가된 접근을 차단, 통제하거나 인가하기 위한 네트워크 보안 장비이다. 예컨대, FW는 네트워크의 데이터 패킷을 차단할 수 있고, 구체적으로 FW는 IP 주소와 Port 번호를 확인하여 비 인가된 접근을 차단할 수 있다.FW (FireWall): FW is a network security device to block, control, or authorize unauthorized access from an external network. For example, the FW may block data packets of the network, and specifically, the FW may block unauthorized access by checking the IP address and port number.

IDS(Intrusion Detection System): IDS는 네트워크 패킷을 확인하여 침입 시도를 탐지하는 시스템이다. IDS는 침입 등 네트워크 상의 로그, 시그니처(signature) 기반의 패턴을 매칭할 수 있다. 예컨대, IDS는 패킷 내용을 분석할 수 있다. IDS는 네트워크 패킷의 애플리케이션 데이터에 악의적 데이터가 있는지를 탐지하며, 기본적으로 탐지만 수행하며 차단을 하지 않는다.IDS (Intrusion Detection System): IDS is a system that detects intrusion attempts by checking network packets. IDS can match patterns based on logs and signatures on the network, such as intrusions. For example, the IDS may analyze the packet content. IDS detects whether there is malicious data in the application data of network packets, and basically only detects and does not block.

IPS(Instrusion Prevention System): IPS는 침입을 차단하는 시스템이다. IPS는 기존의 IDS에 비해 능동적인 대응 기능이 추가된 시스템으로, 네트워크 패킷의 애플리케이션 데이터에 악의적 데이터가 있는지를 탐지하고 해당 시도를 차단한다. IPS는 IDS가 침입 여부를 감지하는 것에 비해, 침입 이전 접근 방지를 도모할 수 있다. IPS는 패킷을 차단하거나, 패킷의 내용을 분석하거나, 오용(misuse)의 탐지/차단을 수행하거나, 이상 탐지/차단을 수행하는 등 실시간의 즉각적 대응이 가능하고 세션 기반 탐지가 가능하다. IPS (Instrument Prevention System): IPS is a system that blocks intrusions. IPS is a system with an active response function added compared to the existing IDS, and it detects whether there is malicious data in the application data of the network packet and blocks the attempt. Compared to IDS detecting intrusion, IPS can prevent access before intrusion. The IPS blocks packets, analyzes the contents of packets, detects/blocks misuse, and performs immediate response in real time, such as detecting/blocking anomalies, and session-based detection.

VPN(Virtual Private Network): VPN은 가상 사설 네트워크로, 암호화된 터널을 통해 인터넷에 연결함으로써 온라인 프라이버시를 확보하고 민감한 데이터를 보호하는 서비스이다. VPN은 공중망에서 가상의 사설망을 구현하며, 공용 Wi-FI 핫스팟에서 연결을 보호하고, IP 주소를 숨겨서 검색 활동의 프라이버시를 보호하기 위하여 사용될 수 있다.VPN (Virtual Private Network): A VPN is a virtual private network, a service that secures online privacy and protects sensitive data by connecting to the Internet through an encrypted tunnel. A VPN implements a virtual private network in the public network, and can be used to protect the connection in public Wi-Fi hotspots, and to protect the privacy of browsing activities by hiding the IP address.

WAF(Web Application Firewall): WAF는 웹 어플리케이션 (Web Application)에 대한 공격시도를 차단하는 보안 솔루션이다. WAF는 패킷 데이터에 웹 어플리케이션 공격 데이터가 포함된 경우 해당 패킷을 차단하며, 이미 허용된 서비스에 대한 공격 발생시 효과적인 차단이 가능하다.WAF (Web Application Firewall): WAF is a security solution that blocks attack attempts on web applications. WAF blocks the packet when web application attack data is included in the packet data, and effective blocking is possible when an attack on an already allowed service occurs.

ESM(Enterprise Security Management): ESM은 다수의 호스트, 보안 시스템을 통합 관리할 수 있는 보안 솔루션으로, 방화벽, IPS, IDS, VPN 등의 보안 장비와 연동하여 보안 시스템을 효율적으로 관리할 수 있다. 또한, ESM은 다수의 보안 장비에서 수집한 로그 정보 등을 통합하여 관리 가능하다.ESM (Enterprise Security Management): ESM is a security solution that can manage multiple hosts and security systems in an integrated manner. In addition, ESM can integrate and manage log information collected from multiple security devices.

1. 스트리밍 데이터와 윈도우1. Streaming Data and Windows

스트리밍 데이터는 수천 개의 데이터 원본에서 연속적으로 생성되는 데이터로서, 보통 데이터 레코드를 작은 크기(KB(Kilo Byte)단위)로 동시에 전송된다. 스트리밍 데이터에는 모바일이나 웹 애플리케이션을 사용하는 고객이 생성하는 로그 파일, 전자 상거래 구매, 게임 내 플레이어 활동, 소셜 네트워크의 정보, 주식 거래소, 지리 공간 서비스(GPS; Global Positioning System), 연결된 디바이스의 텔레메트리, 데이터 센터의 계측 등 다양한 데이터가 포함된다.Streaming data is data that is continuously generated from thousands of data sources, and usually data records are transmitted simultaneously in a small size (in units of Kilo Byte (KB)). Streaming data includes log files generated by customers using mobile or web applications, e-commerce purchases, in-game player activity, information from social networks, stock exchanges, geospatial services (GPS), and telemes from connected devices. It includes a variety of data, such as trees and data center instrumentation.

이러한 데이터는 레코드별로 또는 슬라이딩 타임 윈도우에 따라 증분 방식으로 순차적으로 처리되어야 하며, 상관 관계, 집계, 필터링, 샘플링을 비롯한 다양한 분석에 사용된다. 이러한 분석으로 도출된 정보는 기업에 비지니스 및 고객 활동의 다양한 측면에 대한 가시성을 제공하여 발생하는 상황에 빠르게 대응할 수 있게 해준다. 예를 들어 비지니스에서는 소셜 미디어 스트림을 지속적으로 분석함으로써 자사 브랜드와 상품에 대한 대중의 감정 변화를 추적하여 필요한 경우 적절하게 대응할 수 있다.This data must be processed sequentially, either record-by-record or incrementally over a sliding time window, and is used for a variety of analyses, including correlation, aggregation, filtering, and sampling. The information derived from this analysis gives companies visibility into various aspects of business and customer activity, enabling them to respond quickly to situations that arise. For example, by continuously analyzing social media streams, businesses can track changes in public sentiment about their brands and products and respond appropriately when necessary.

스트리밍 데이터와 같은 경우에는 데이터가 끊기지 않고 들어오기 때문에 결과를 내보내야 하는 타이밍을 잡기 애매할 수 있다. 이를 위해 시간을 기준으로 작업을 끊어서 처리하는데 이를 '윈도잉 (Windowing)' 이라고 한다. 구체적으로, 윈도잉이란 스트리밍 데이터를 처리할때 일정 시간 간격으로 처리하는 것을 의미한다. In the case of streaming data, it can be difficult to determine the timing when the result should be sent because the data comes in without interruption. For this purpose, tasks are cut and processed based on time, which is called 'windowing'. Specifically, windowing means processing at regular time intervals when processing streaming data.

스트리밍 데이터는 계속 입력되기 때문에 특정 시간기간 단위로 지속적으로 처리를 하고 저장을 할 필요가 있다. 예를 들어, 10분 단위의 윈도잉의 경우 1시~2시까지 들어온 데이터는 1:10, 1:20, 1:30, … 단위로 모아서 일괄적으로 처리될 수 있다. 이 단위를 '윈도우 (Window)'라고 한다.Since streaming data is continuously input, it is necessary to continuously process and store it in a specific time period unit. For example, in the case of 10-minute windowing, data received between 1:00 and 2:00 is 1:10, 1:20, 1:30, … It can be collected as a unit and processed collectively. This unit is called 'window'.

윈도우는 데이터를 자르는 방법에 따라서 크게 고정 윈도우 (Fixed Window), 슬라이딩 윈도우 (Sliding Window), 세션 윈도우 (Session Window) 가 있으며, 이외에도 다양한 윈도우 개념들이 존재한다. A window is largely classified into a fixed window, a sliding window, and a session window according to a method of cutting data, and various window concepts exist in addition.

1) Fixed Windows1) Fixed Windows

정확하게 일정 시간 단위로 시간 윈도우를 분할하는 개념이다. 앞에서 언급한 예와 같이 윈도우 사이즈가 10분 일때, 1시 10분은 1시00분~1시10분까지의 데이터를, 1시 20분은 1시10분~1시20분까지의 데이터를 처리한다.It is a concept of dividing a time window into precise time units. As in the example mentioned above, when the window size is 10 minutes, 1:10 is the data from 1:00 to 1:10, and 1:20 is the data from 1:10 to 1:20. handle

2) Sliding Windows2) Sliding Windows

Sliding Window 방식은 윈도우가 움직이는 개념이다.The sliding window method is a concept in which the window moves.

슬라이딩 윈도우의 개념은 현재 시간으로 부터 +-(±)N (N은 자연수) 시간 전후의 데이터를 매 M (M은 자연수) 시간 마다 추출하는 것을 슬라이딩 윈도우라고 하고, 이 윈도우들은 서로 겹칠 수 있다. The concept of the sliding window is that the data before and after +-(±)N (N is a natural number) time from the current time is extracted every M (M is a natural number) time is called a sliding window, and these windows may overlap each other.

예를 들면 현재시간으로부터 10분 전에서부터 측정시간까지의 접속자를 1분 단위로 측정하는 시나리오가 상정될 수 있다. 예를 들어, 매 단위 시간 (예를 들어, 매 1분) 간격으로 데이터를 추출하고, 매번 그 시간으로부터 10분전의 데이터를 추출하기 때문에 데이터가 중첩이 된다. For example, a scenario in which the number of users from 10 minutes before the current time to the measurement time is measured in units of 1 minute may be assumed. For example, since data is extracted every unit time (eg, every 1 minute), and data 10 minutes before that time is extracted each time, the data overlap.

이렇게 추출하는 간격을 주기(Period) (앞에서 1분), 그리고 추출하는 기간을 길이(Length) 또는 크기(Size) (앞에서 10분)라고 한다. This extraction interval is called Period (1 minute in front), and the extraction period is called Length or Size (10 minutes in front).

3) Session Windows3) Session Windows

세션 윈도우에는 사용자가 일정 기간동안 반응이 없는 경우(데이터가 올라오지 않는 경우)에 세션 시작에서 부터, 반응이 없어지는 시간까지를 한 세션으로 묶어서 처리한다In the session window, if the user does not respond for a certain period of time (data does not come up), from the start of the session to the time when the response is lost is grouped and processed as one session.

예를 들어서 세션 타임 아웃이 20분이라고 가정하고 데이터가 1:00 부터 처리되고 있는데, 1:01, 1:15에 데이터가 처리되고, 1:40분에 데이터가 처리되면 1:15 이후에 20분동안 (1:35까지) 데이터가 처리되지 않았기 때문에, 1:00, 1:01, 1:15은 하나의 세션으로 설죙될 수 있고, 1:40은 새로운 세션의 시작시점으로 정의될 수 있다.For example, assuming the session timeout is 20 minutes and data is being processed from 1:00, data is processed at 1:01 and 1:15, and if data is processed at 1:40 minutes, it is 20 minutes after 1:15. Since no data has been processed for a minute (until 1:35), 1:00, 1:01, 1:15 can be established as one session, and 1:40 can be defined as the start of a new session. .

2. 스트리밍 데이터 분석 방법2. How to analyze streaming data

도 1은 본 발명의 스트리밍 데이터에 대한 윈도우를 활용한 분석 방법을 도시한다.1 shows an analysis method using a window for streaming data of the present invention.

도 1에 따르면 이벤트 W1은 t+4에 발생하고, 이벤트 W2는 t+5에 발생하며 이벤트 W3는 t+6.5에 발생한다. 여기서 윈도우에 이벤트 W1, W2, 및 W3 가 모두 들어오는 경우 경보를 울리고(경보에 대응되는 데이터 혹은 리소스를 출력하고) 윈도우의 사이즈는 4초(seconds)임이 가정된다. 이러한 가정은 일 예시이므로, 본 발명에서 윈도우의 사이즈 및 경보를 띄우는 윈도우 내 이벤트 개수의 조건은 변경 가능하다.1 , an event W1 occurs at t+4, an event W2 occurs at t+5, and an event W3 occurs at t+6.5. Here, when all events W1, W2, and W3 enter the window, an alarm is sounded (data or resources corresponding to the alarm are output) and the size of the window is assumed to be 4 seconds (seconds). Since this assumption is an example, in the present invention, the conditions of the size of the window and the number of events in the window for raising the alarm can be changed.

t+4에서 윈도우에 W1만 존재하므로 경보가 울리지 않는다. 시간이 흐름에 따라 t+6.5에서 윈도우에 W1, W2, 및 W3 가 존재하고 이때 경보를 울리게 된다.At t+4, only W1 exists in the window, so the alarm does not sound. As time passes, W1, W2, and W3 exist in the window at t+6.5, and an alarm is sounded at this time.

도 2는 본 발명의 스트리밍 데이터에 대한 배치 분석 방법을 도시한 도면이다.2 is a diagram illustrating a batch analysis method for streaming data according to the present invention.

본 발명에서 배치(Batch)는 컴퓨터의 데이터 처리 형태의 하나로써 처리해야 할 데이터를 일정 기간 또는 일정량만큼 정리하여 처리하는 것을 의미한다. 즉, 본 발명의 시스템에서는 처리의 대상이 되는 데이터를 일 단위나 월 단위마다 모아두고 그것을 하나로 종합하여 처리하는 것을 배치(Batch) 처리 또는 일괄처리라고 한다. 데이터 발생 직후에 처리하는 즉시 처리 혹은 실시간 처리의 상대어이다.In the present invention, batch refers to processing data to be processed for a certain period or by a certain amount as one of data processing types of a computer. That is, in the system of the present invention, collecting data to be processed on a daily or monthly basis and synthesizing and processing the data is called batch processing or batch processing. It is a relative word for immediate processing or real-time processing, which is processed immediately after data is generated.

스트리밍 데이터에 대한 배치 분석에서는 분석의 대상이 되는 데이터들을 종합하고 일정량을 모아 분석될 수 있다. 이는 일정 시점 단위로 분석해야 하는 업무에 유용하게 이용된다. In batch analysis of streaming data, data to be analyzed can be synthesized and a certain amount of data can be collected and analyzed. This is useful for work that needs to be analyzed at a certain point in time.

도 2를 참조하면, 스트리밍 데이터들을 일정량을 모아 주기적으로 분석해서 이벤트가 2건 이상인 경우 경보 (경보에 해당하는 데이터)가 출력될 수 있다. Time batch는 4초(seconds)이며 이벤트 W1 및 W2는 각각 t+1 과 t+3에서 발생한다. Referring to FIG. 2 , an alarm (data corresponding to an alarm) may be output when a certain amount of streaming data is collected and analyzed periodically to generate two or more events. The time batch is 4 seconds, and events W1 and W2 occur at t+1 and t+3, respectively.

t+4에서 [t, t+4] 기간 동안의 스트리밍 데이터를 종합하여 분석하면 이벤트가 W1 및 W2가 발생하였으며, 이벤트가 두 건 이상 발생한 것이므로 경보를 울리게 된다. When streaming data from t+4 to [t, t+4] is synthesized and analyzed, events W1 and W2 have occurred, and since two or more events have occurred, an alarm is sounded.

t+8에서 [t+4, t+8] 기간 동안의 스트리밍 데이터를 종합하여 분석하면 이벤트는 W3으로 한 건 발생한 것이므로 경보를 울리지 않는다.If the streaming data from t+8 to [t+4, t+8] is synthesized and analyzed, the event does not sound an alarm because one event occurred in W3.

상기는 본 발명의 일 예시이고 다양한 실시예들에서 time batch의 사이즈 및 경보를 울리기 위한 조건인 이벤트 발생 건수 등은 변경 가능한 변수이다.The above is an example of the present invention, and in various embodiments, the size of the time batch and the number of event occurrences, which are conditions for sounding an alarm, are variable variables.

일정 기간 동안 저장한 데이터를 배치 방식으로 분석하는 것은 실시간 데이터 분석이 어렵다는 문제점이 있다. 따라서 본 발명에서는 데이터 처리 및 분석의 효율을 높이기 위해 데이터에 대한 실시간 스트리밍 분석과 배치 분석을 조합하는 하이브리드 분석 방법을 제안한다.Analyzing data stored for a certain period in a batch method has a problem in that real-time data analysis is difficult. Therefore, the present invention proposes a hybrid analysis method that combines real-time streaming analysis and batch analysis of data in order to increase the efficiency of data processing and analysis.

도 3은 본 발명의 다양한 실시예들에 적용 가능한 상관분석을 도시한 도면이다.3 is a diagram illustrating correlation analysis applicable to various embodiments of the present invention.

상관분석(correlation analysis)이란 두개의 변량(variables)에 대해 서로 상관되는 인자항목들(parameters)이 어떤 관련성이 있고, 그 관련성이 어느 정도인지를 수치적으로 분석하는 것을 의미한다.Correlation analysis refers to numerically analyzing the relationship between the mutually correlated parameters for two variables and the degree of the relationship.

도 3을 참고하면, A그룹과 B그룹 둘 사이 유사성을 찾아내어 분석하는 상관분석 방법에 대한 일 예시를 도시한다.Referring to FIG. 3 , an example of a correlation analysis method for finding and analyzing similarities between groups A and B is shown.

A그룹은 IPS에 따른 흔적을 발견하는 경우들의 집합이고, B그룹은 FW에서 찾은 흔적들의 집합이라고 가정한다. A 그룹과 B 그룹의 교집합 부분은 예를들어 동일 ID (identification) 또는 동일 IP (internet protocol)가 될 수 있으며 이를 조합하는 방식은 검색하는 방식과 검색하는 방식 또는 실시간 분석과 배치 분석을 하는 방식이 될 수 있다.It is assumed that group A is a set of cases in which traces are found according to IPS, and group B is a set of traces found in FW. The intersection of group A and group B can be, for example, the same ID (identification) or the same IP (internet protocol). can be

IPS가 이벤트 발생을 탐지한 경우, 실제로 침입한 흔적인지를 알기위해 FW에서도 동일한 흔적이 있는지 여부를 참고할 수 있다. 예를 들어, 수만 건의 이벤트가 보안 관제 시스템상에서 탐지되는데 이러한 이벤트들이 해커들이 침입한 것인지, 실제 침입과 무관한 노이즈인지를 판단하기 위해 상관분석을 함으로써 침입 판단의 효율을 높일 수 있다.If the IPS detects the occurrence of an event, it is possible to refer to whether there is the same trace in the FW to know whether it is an actual intrusion trace. For example, tens of thousands of events are detected on the security control system, and correlation analysis is performed to determine whether these events are hackers intrusion or noise unrelated to actual intrusion, thereby increasing the efficiency of intrusion determination.

분석할 수 있는 방식은 크게 세가지가 있다. There are three main methods of analysis.

첫째로, 저장 및 검색 (배치분석) 방법이 있다. IPS에서 탐지한 특정 흔적을 방화벽에서도 한 번 더 검색하는 방식일 수 있다. First, there is a storage and retrieval (batch analysis) method. It may be a method of searching the firewall for specific traces detected by the IPS once more.

둘??로, 저장 후 검색하는 방식의 단점을 보완하기 위해 실시간 검색 및 분석을 할 수 있다. 예를들어 IPS에서 스트리밍 데이터를 실시간 분석 후 방화벽(FW)에서는 저장된 데이터를 검색할 수 있다. Second, real-time search and analysis can be performed to compensate for the shortcomings of the method of searching after saving. For example, after real-time analysis of streaming data in the IPS, the stored data can be searched in the firewall (FW).

셋째로, 실시간 분석 및 실시간 분석을 조합하는 방식 또한 가능하다.Third, a method of combining real-time analysis and real-time analysis is also possible.

도 4는 도 3의 상관분석을 위해 실시간 스트리밍 분석과 배치분석(저장 후 검색)을 조합하는 방법을 도시한다.4 shows a method of combining real-time streaming analysis and batch analysis (store and retrieve) for the correlation analysis of FIG. 3 .

도 4를 참고하면, IPS에서 실시간 스트리밍 분석을 활용하여 윈도우에 이벤트 2개 이상이 발생하는 경우 경보를 울린다. 윈도우 사이즈 및 경보를 울리기 위한 이벤트 개수와 같은 조건은 변경 가능하다.Referring to FIG. 4 , an alarm sounds when two or more events occur in a window by utilizing real-time streaming analysis in IPS. Conditions such as window size and number of events to trigger an alarm can be changed.

일 실시예에 따르면, 윈도우에 이벤트 W3 및 W4 두개가 발생하는 조건이 만족되면 FW(방화벽)에서 과거에 W3 또는 W4 이벤트가 발생하였는지 여부는 이기종(heterogeneous)인 FW에서 배치분석을 수행함으로써 결정될 수 있다(또는 검색을 한다). 이와 같이 특정 조건이 만족됨에 기초하여 상관분석을 함으로써 분석의 범위를 줄일 수 있어 효율을 높일 수 있다. According to one embodiment, when the condition that two events W3 and W4 occur in a window is satisfied, whether W3 or W4 events have occurred in the past in the FW (firewall) can be determined by performing a batch analysis in a heterogeneous FW. There is (or do a search). As described above, by performing a correlation analysis based on the satisfaction of a specific condition, the scope of the analysis can be reduced and the efficiency can be increased.

스트리밍 분석 후 배치분석을 하는 경우에 대하여 예를 들었으나, 다양한 실시예들에 따르면 배치분석 후 특정 조건이 만족됨에 기초하여 스트리밍 분석을 하는 것 또한 가능하다. 또한, 일 실시예에서는 IPS 와 FW를 사용하였으나, 다른 방법/시스템/장치를 사용할 수 있다.Although the case of performing batch analysis after streaming analysis is given as an example, according to various embodiments, it is also possible to perform streaming analysis based on satisfaction of a specific condition after batch analysis. In addition, although IPS and FW are used in one embodiment, other methods/systems/devices may be used.

검색 범위는 어제, 최근 1주일, 특정 기간 등 임의로 설정이 가능하며, 윈도우는 룰 마다 병렬적으로 존재할 수 있으므로 하나 이상의 복수개가 될 수 있다.The search range can be set arbitrarily, such as yesterday, the last week, or a specific period, and since windows can exist in parallel for each rule, there can be one or more.

본 발명의 실시간 스트리밍 분석과 배치 분석을 조합한 분석 방법은 다음과 같다.The analysis method combining the real-time streaming analysis and batch analysis of the present invention is as follows.

1) 실시간 (스트리밍) 및 경보1) Real-time (streaming) and alerts

스트리밍 방식으로 실시간 들어오는 데이터에 대해서 탐지 룰을 설정한다. 탐지 룰은 (1) 퇴사자 ID에 해당하는 이벤트가 발생하는 경우, (2) 데이터베이스에 없는 ID를 탐지한 경우 (3) 외부 IP를 탐지한 경우 등으로 설정될 수 있으며, 상기 예시 외에도 사용자가 설정 가능하다. 이를 바탕으로 탐지 룰에 걸린 이벤트가 발생할 경우 해당 룰에 대한 경보가 발생한다. 발생하는 경보에는 탐지된 데이터가 포함되어 있다.Set the detection rule for data coming in real-time in the streaming method. The detection rule can be set as (1) when an event corresponding to the ID of a person leaving the company occurs, (2) when an ID that is not in the database is detected, (3) when an external IP is detected, etc. Configurable. Based on this, when an event caught in a detection rule occurs, an alert for the rule is generated. The alerts that are raised contain the detected data.

2) 스트리밍 경보에서 데이터 추출2) Extract data from streaming alerts

스트리밍 경보에서 탐지된 데이터 중에서 배치 분석을 수행할 데이터를 추출한다.From the data detected in the streaming alert, data to perform batch analysis is extracted.

3) 배치 분석3) Batch analysis

상기 2)번 과정에서 추출한 데이터를 필터 조건으로 하여, 검색을 수행하여 상관분석을 실행한다.Using the data extracted in step 2) as a filter condition, a search is performed and correlation analysis is performed.

도 5는 보안장치에서 수집데이터가 수집되는 과정을 개념적으로 도시하는 개념도이다.5 is a conceptual diagram conceptually illustrating a process in which collected data is collected in a security device.

도 5를 참조하면, 자산(DBMS (DataBase management System), OS (Operating System), WAS (Web Application Server), Network)들은 인터넷과 보안 장치들을 통해 연결된다. 보안 장치는 방화벽, IDS(Intrusion Detection System) 및 IPS(Intrusion Prevention System)와 같은 장치들을 포함하며, 각각의 장치에서 기 설정된 조건을 만족시키는 데이터가 수집될 수 있다.Referring to FIG. 5 , assets (DataBase Management System (DBMS), Operating System (OS), Web Application Server (WAS), Network) are connected to the Internet through security devices. The security device includes devices such as a firewall, an intrusion detection system (IDS), and an intrusion prevention system (IPS), and data satisfying a preset condition may be collected from each device.

도 6은 본 발명에 따른 하이브리드 분석의 과정을 도시하는 개념도이다.6 is a conceptual diagram illustrating a process of hybrid analysis according to the present invention.

실시간으로 들어오는 데이터에 대한 하나 이상의 탐지 룰을 설정한다 (601).One or more detection rules for incoming data in real time are set ( 601 ).

침입 차단 시스템 (IPS)에서 실시간으로 들어오는 데이터에 대해 스트리밍 분석이 수행될 수 있다. 구체적으로, 탐지 룰에 해당하는 이벤트의 발생 횟수가 기 설정된 수준(level) 이상으로 발생하였는지를 판단하고(603), 탐지된 데이터 중 배치분석 조건으로 들어갈 데이터를 추출한다(605). Streaming analytics can be performed on incoming data in real time from an intrusion prevention system (IPS). In detail, it is determined whether the number of occurrences of the event corresponding to the detection rule is greater than or equal to a preset level (603), and data to be entered into the batch analysis condition from among the detected data is extracted (605).

상기 이벤트가 윈도우 내 미리 정의된 임계치 이상인 경우, IPS는 하나 이상의 탐지 룰에 해당하는 이벤트의 발생 횟수가 상기 기 설정된 수준 이상으로 발생하였다고 판단한다. 실시간으로 획득되는 데이터의 획득 시점 이전 시점에 획득되는 데이터로부터 획득되는 이벤트의 발생 횟수가 커지면, 윈도우의 사이즈(윈도우 폭)도 커지도록 설정할 수 있다.When the event is greater than or equal to a predefined threshold within the window, the IPS determines that the number of occurrences of an event corresponding to one or more detection rules is greater than or equal to the preset level. If the number of occurrences of an event acquired from data acquired before the acquisition time of the data acquired in real time increases, the size of the window (window width) may also be set to increase.

상관분석을 하기 위해 IPS는 추출된 데이터를 방화벽(FW)으로 전송함으로써 IPS와 FW의 상관분석이 가능하다.For correlation analysis, IPS transmits the extracted data to the firewall (FW) so that correlation analysis between IPS and FW is possible.

FW은 IPS로부터 수신한 데이터(IPS에서 추출된 데이터)를 검색범위 내에서 배치분석함으로써 검색 범위 내에 저장된 데이터들 중 추출된 데이터와 동일한 데이터가 있는지 확인한다(607). 검색 범위는 사용자가 임의 설정 가능하다.The FW checks whether there is the same data as the extracted data among the data stored within the search range by batch-analyzing the data received from the IPS (data extracted from the IPS) within the search range ( 607 ). The search range can be arbitrarily set by the user.

일 실시예에서, IPS에서 스트리밍 분석을 하고 FW에서 배치분석을 하는 경우를 조합하였으나, 다른 시스템에서도 상기와 같은 분석을 할 수 있으며, 분석 종류의 조합도 변경 가능하다.In one embodiment, the case of streaming analysis in IPS and batch analysis in FW is combined, but the same analysis can be performed in other systems, and the combination of analysis types can be changed.

3. 스트리밍 데이터 하이브리드 상관분석의 효과3. Effect of Streaming Data Hybrid Correlation Analysis

이상에서 설명한 본 발명의 다양한 실시예들에 따르면 이기종 간 상관분석에서 실시간경보를 조합한 방식과 배치검색을 조합한 방식에서의 장점을 조합하여, 실시간 발생하는 경보로부터 데이터를 추출하여 이를 필터조건으로 배치검색을 바로 수행하는 방식을 통해 조금 더 효율적인 상관분석을 수행할 수 있다.According to the various embodiments of the present invention described above, by combining the advantages of a method combining real-time alerts and batch search in heterogeneous correlation analysis, data is extracted from alerts that occur in real time, and this is used as a filter condition. A more efficient correlation analysis can be performed by directly performing a batch search.

4. 본 발명의 구현4. Implementation of the present invention

도 7은 본 발명이 구현될 수 있는 장치의 일 예를 나타낸다.7 shows an example of an apparatus in which the present invention may be implemented.

도 7을 참고하면 장치는 입/출력부(310), 통신부(320), 센싱부(330), 데이터베이스(340) 및 프로세서(350)를 포함할 수 있다.Referring to FIG. 7 , the device may include an input/output unit 310 , a communication unit 320 , a sensing unit 330 , a database 340 , and a processor 350 .

입/출력부(310)는 사용자 입력을 받거나 또는 사용자에게 정보를 출력하는 각종 인터페이스나 연결 포트 등일 수 있다. 입/출력부(310)는 입력 모듈과 출력 모듈로 구분될 수 있는데, 입력 모듈은 사용자로부터 사용자 입력을 수신한다. 사용자 입력은 키 입력, 터치 입력, 음성 입력을 비롯한 다양한 형태로 이루어질 수 있다. 이러한 사용자 입력을 받을 수 있는 입력 모듈의 예로는 전통적인 형태의 키패드나 키보드, 마우스는 물론, 사용자의 터치를 감지하는 터치 센서, 음성 신호를 입력 받는 마이크, 영상 인식을 통해 제스처 등을 인식하는 카메라, 사용자 접근을 감지하는 조도 센서나 적외선 센서 등으로 구성되는 근접 센서, 가속도 센서나 자이로 센서 등을 통해 사용자 동작을 인식하는 모션 센서 및 그 외의 다양한 형태의 사용자 입력을 감지하거나 입력 받는 다양한 형태의 입력 수단을 모두 포함하는 포괄적인 개념이다. 여기서, 터치 센서는 디스플레이 패널에 부착되는 터치 패널이나 터치 필름을 통해 터치를 감지하는 압전식 또는 정전식 터치 센서, 광학적인 방식에 의해 터치를 감지하는 광학식 터치 센서 등으로 구현될 수 있다. 이외에도 입력 모듈은 자체적으로 사용자 입력을 감지하는 장치 대신 사용자 입력을 입력 받는 외부의 입력 장치를 연결시키는 입력 인터페이스(USB 포트, PS/2 포트 등)의 형태로 구현될 수도 있다. 또 출력 모듈은 각종 정보를 출력해 사용자에게 이를 제공할 수 있다. 출력 모듈은 영상을 출력하는 디스플레이, 소리를 출력하는 스피커(및/또는 이와 연결된 증폭기(amplifier)), 진동을 발생시키는 햅틱 장치 및 그 외의 다양한 형태의 출력 수단을 모두 포함하는 포괄적인 개념이다. 이외에도 출력 모듈은 상술한 개별 출력 수단을 연결시키는 포트 타입의 출력 인터페이스의 형태로 구현될 수도 있다.The input/output unit 310 may be various interfaces or connection ports that receive user input or output information to the user. The input/output unit 310 may be divided into an input module and an output module, and the input module receives a user input from a user. The user input may be made in various forms including a key input, a touch input, and a voice input. Examples of input modules that can receive such user input include a traditional keypad, keyboard, and mouse, as well as a touch sensor that detects a user's touch, a microphone that receives a voice signal, a camera that recognizes gestures through image recognition, A proximity sensor composed of an illuminance sensor or infrared sensor that detects a user's approach, a motion sensor that recognizes a user's motion through an acceleration sensor or a gyro sensor, and various other input means for sensing or receiving various types of user input It is a comprehensive concept that includes all Here, the touch sensor may be implemented as a piezoelectric or capacitive touch sensor for detecting a touch through a touch panel or a touch film attached to the display panel, an optical touch sensor for detecting a touch by an optical method, and the like. In addition, the input module may be implemented in the form of an input interface (USB port, PS/2 port, etc.) that connects an external input device that receives a user input instead of a device that detects a user input by itself. In addition, the output module can output various information and provide it to the user. The output module is a comprehensive concept that includes a display that outputs an image, a speaker that outputs a sound (and/or an amplifier connected thereto), a haptic device that generates vibration, and other various types of output means. In addition, the output module may be implemented in the form of a port-type output interface for connecting the above-described individual output means.

일 예로, 디스플레이 형태의 출력 모듈은 텍스트, 정지 영상, 동영상을 디스플레이 할 수 있다. 디스플레이는 액정 디스플레이(LCD: Liquid Crystal Display), 발광 다이오드(LED: light emitting diode) 디스플레이, 유기 발광 다이오드(OLED: Organic Light Emitting Diode) 디스플레이, 평판 디스플레이(FPD: Flat Panel Display), 투명 디스플레이(transparent display), 곡면 디스플레이(Curved Display), 플렉시블 디스플레이(flexible display), 3차원 디스플레이(3D display), 홀로그래픽 디스플레이(holographic display), 프로젝터 및 그 외의 영상 출력 기능을 수행할 수 있는 다양한 형태의 장치를 모두 포함하는 광의의 영상 표시 장치를 의미하는 개념이다. 이러한 디스플레이는 입력 모듈의 터치 센서와 일체로 구성된 터치 디스플레이의 형태일 수도 있다.For example, the display-type output module may display text, still images, and moving images. The display includes a liquid crystal display (LCD), a light emitting diode (LED) display, an organic light emitting diode (OLED) display, a flat panel display (FPD), and a transparent display. display), a curved display, a flexible display, a three-dimensional display, a holographic display, a projector, and various types of devices capable of performing other image output functions. It is a concept meaning an image display device in a broad sense that includes all. Such a display may be in the form of a touch display integrally formed with the touch sensor of the input module.

통신부(320)는 외부 기기와 통신할 수 있다. 따라서, 장치(디바이스)는 통신부를 통해 외부 기기와 정보를 송수신할 수 있다. 예를 들어, 장치는 통신부를 이용해 불법 주·정차 경고 시스템에 저장 및 생성된 정보들이 공유되도록 외부 기기와 통신을 수행할 수 있다.The communication unit 320 may communicate with an external device. Accordingly, the device (device) may transmit/receive information to and from an external device through the communication unit. For example, the device may communicate with an external device so that information stored and generated in the illegal parking/stop warning system is shared using the communication unit.

여기서, 통신, 즉 데이터의 송수신은 유선 또는 무선으로 이루어질 수 있다. 이를 위해 통신부는 LAN(Local Area Network)를 통해 인터넷 등에 접속하는 유선 통신 모듈, 이동 통신 기지국을 거쳐 이동 통신 네트워크에 접속하여 데이터를 송수신하는 이동 통신 모듈, 와이파이(Wi-Fi) 같은 WLAN(Wireless Local Area Network) 계열의 통신 방식이나 블루투스(Bluetooth), 직비(Zigbee)와 같은 WPAN(Wireless Personal Area Network) 계열의 통신 방식을 이용하는 근거리 통신 모듈, GPS(Global Positioning System)과 같은 GNSS(Global Navigation Satellite System)을 이용하는 위성 통신 모듈 또는 이들의 조합으로 구성될 수 있다. 통신에 사용되는 무선 통신 기술은 저전력 통신을 위한 NB-IoT(Narrowband Internet of Things) 를 포함할 수 있다. 이때, 예를 들어 NB-IoT 기술은 LPWAN(Low Power Wide Area Network) 기술의 일례일 수 있고, LTE Cat(category) NB1 및/또는 LTE Cat NB2 등의 규격으로 구현될 수 있으며, 상술한 명칭에 한정되는 것은 아니다. 추가적으로 또는 대체적으로, 다양한 실시예들에 따른 무선 기기에서 구현되는 무선 통신 기술은 LTE-M 기술을 기반으로 통신을 수행할 수 있다. 이때, 일 예로, LTE-M 기술은 LPWAN 기술의 일례일 수 있고, eMTC(enhanced Machine Type Communication) 등의 다양한 명칭으로 불릴 수 있다. 예를 들어, LTE-M 기술은 1) LTE CAT 0, 2) LTE Cat M1, 3) LTE Cat M2, 4) LTE non-BL(non-Bandwidth Limited), 5) LTE-MTC, 6) LTE Machine Type Communication, 및/또는 7) LTE M 등의 다양한 규격 중 적어도 어느 하나로 구현될 수 있으며 상술한 명칭에 한정되는 것은 아니다. 추가적으로 또는 대체적으로, 다양한 실시예들에 따른 무선 기기에서 구현되는 무선 통신 기술은 저전력 통신을 고려한 지그비(ZigBee), 블루투스(Bluetooth) 및 저전력 광역 통신망(Low Power Wide Area Network, LPWAN) 중 적어도 어느 하나를 포함할 수 있으며, 상술한 명칭에 한정되는 것은 아니다. 일 예로 ZigBee 기술은 IEEE 802.15.4 등의 다양한 규격을 기반으로 소형/저-파워 디지털 통신에 관련된 PAN(personal area networks)을 생성할 수 있으며, 다양한 명칭으로 불릴 수 있다.Here, communication, that is, transmission and reception of data may be performed by wire or wirelessly. To this end, the communication unit includes a wired communication module that accesses the Internet through a local area network (LAN), a mobile communication module that accesses a mobile communication network through a mobile communication base station and transmits and receives data, and a wireless local area network (WLAN) such as Wi-Fi. A short-distance communication module using an area network communication method or a wireless personal area network (WPAN) communication method such as Bluetooth or Zigbee, or a global navigation satellite system (GNSS) such as GPS (Global Positioning System) ) using a satellite communication module or a combination thereof. A wireless communication technology used for communication may include a Narrowband Internet of Things (NB-IoT) for low-power communication. In this case, for example, NB-IoT technology may be an example of LPWAN (Low Power Wide Area Network) technology, and may be implemented in standards such as LTE Cat (category) NB1 and/or LTE Cat NB2, It is not limited. Additionally or alternatively, a wireless communication technology implemented in a wireless device according to various embodiments may perform communication based on LTE-M technology. In this case, as an example, the LTE-M technology may be an example of an LPWAN technology, and may be called various names such as enhanced machine type communication (eMTC). For example, LTE-M technology is 1) LTE CAT 0, 2) LTE Cat M1, 3) LTE Cat M2, 4) LTE non-BL (non-Bandwidth Limited), 5) LTE-MTC, 6) LTE Machine Type Communication, and/or 7) may be implemented in at least one of various standards such as LTE M, and is not limited to the above-described name. Additionally or alternatively, a wireless communication technology implemented in a wireless device according to various embodiments may include at least one of ZigBee, Bluetooth, and Low Power Wide Area Network (LPWAN) in consideration of low power communication. may include, and is not limited to the above-mentioned names. For example, the ZigBee technology can create PAN (personal area networks) related to small/low-power digital communication based on various standards such as IEEE 802.15.4, and can be called by various names.

식별부(330)는 영상 인식을 통해 오브젝트 등을 인식하는 카메라, 오브젝트 접근을 감지하는 감지 센서 및 그 외의 다양한 형태의 외부 입력을 감지하거나 입력 받는 다양한 형태의 식별/센싱 수단을 모두 포함하는 포괄적인 개념일 수 있다. 식별부는 입/출력부(310) 내의 입력 모듈과 동일한 것으로 이해될 수 있거나 및/또는 입력 모듈과는 별도의 것으로 이해될 수도 있다. 식별부(330)는 지자기 센서(Magnetic sensor), 가속도 센서(Acceleration sensor), 온/습도 센서, 적외선 센서, 자이로스코프 센서, 위치 센서(예컨대, GPS), 기압 센서, 근접 센서, RGB 센서(illuminance sensor), 라이다(radar) 센서, 조도 센서, 및 전류 센서 중 하나 이상을 더 포함할 수 있으나, 이에 한정되는 것은 아니다. 각 센서들의 기능은 그 명칭으로부터 당업자가 직관적으로 추론할 수 있으므로, 구체적인 설명은 생략하기로 한다.The identification unit 330 includes a camera that recognizes an object, etc. through image recognition, a detection sensor that detects an object approach, and various types of identification/sensing means that detect or receive various types of external inputs. could be a concept. The identification unit may be understood to be the same as the input module in the input/output unit 310 and/or may be understood to be separate from the input module. The identification unit 330 includes a geomagnetic sensor, an acceleration sensor, a temperature/humidity sensor, an infrared sensor, a gyroscope sensor, a location sensor (eg, GPS), a barometric pressure sensor, a proximity sensor, and an RGB sensor (illuminance). sensor), a lidar sensor, an illuminance sensor, and a current sensor may further include, but is not limited thereto. Since a function of each sensor can be intuitively inferred from the name of a person skilled in the art, a detailed description thereof will be omitted.

데이터베이스(340)는 각종 정보를 저장할 수 있다. 데이터베이스는 데이터를 임시적으로 또는 반영구적으로 저장할 수 있다. 예를 들어, 데이터베이스에는 제1 디바이스 및/또는 제2 디바이스를 구동하기 위한 운용 프로그램(OS: Operating System), 웹 사이트를 호스팅하기 위한 데이터나 점자 생성을 위한 프로그램 내지는 어플리케이션(예를 들어, 웹 어플리케이션)에 관한 데이터 등이 저장될 수 있다. 또, 데이터베이스는 상술한 바와 같이 모듈들을 컴퓨터 코드 형태로 저장할 수 있다. The database 340 may store various types of information. A database can store data temporarily or semi-permanently. For example, in the database, an operating program (OS) for driving the first device and/or the second device, a program or application (eg, a web application) for generating data or Braille for hosting a web site ) may be stored. In addition, the database may store the modules in the form of computer code as described above.

데이터베이스(340)의 예로는 하드 디스크(HDD: Hard Disk Drive), SSD(Solid State Drive), 플래쉬 메모리(flash memory), 롬(ROM: Read-Only Memory), 램(RAM: Random Access Memory) 등이 있을 수 있다. 이러한 데이터베이스는 내장 타입 또는 탈부착 가능한 타입으로 제공될 수 있다.Examples of the database 340 include a hard disk (HDD), a solid state drive (SSD), a flash memory, a read-only memory (ROM), a random access memory (RAM), and the like. This can be. Such a database may be provided in a built-in type or a detachable type.

프로세서(350)는 장치(디바이스)의 전반적인 동작을 제어한다. 이를 위해 프로세서(350)는 각종 정보의 연산 및 처리를 수행하고 제1 디바이스 및/또는 제2 디바이스의 구성요소들의 동작을 제어할 수 있다. 예를 들어, 프로세서(350)는 인공 지능 기반 교통 안전 시스템을 위한 프로그램 내지 어플리케이션을 실행시킬 수 있을 것이다. 프로세서(350)는 하드웨어 소프트웨어 또는 이들의 조합에 따라 컴퓨터나 이와 유사한 장치로 구현될 수 있다. 하드웨어적으로 프로세서(350)는 전기적인 신호를 처리하여 제어 기능을 수행하는 전자 회로 형태로 제공될 수 있으며, 소프트웨어적으로는 하드웨어적인 프로세서(240)를 구동시키는 프로그램 형태로 제공될 수 있다. 한편, 이하의 설명에서 특별한 언급이 없는 경우에는 제1 디바이스 및/또는 제2 디바이스의 동작은 프로세서(350)의 제어에 의해 수행되는 것으로 해석될 수 있다. 즉, 인공 지능 기반 교통 안전 시스템에 구현되는 모듈들이 실행되는 경우, 모듈들은 프로세서(350)가 제1 디바이스 및/또는 제2 디바이스를 이하의 동작들을 수행하도록 제어하는 것으로 해석될 수 있다.The processor 350 controls the overall operation of the device (device). To this end, the processor 350 may perform calculation and processing of various types of information and may control operations of components of the first device and/or the second device. For example, the processor 350 may execute a program or application for an artificial intelligence-based traffic safety system. The processor 350 may be implemented as a computer or a similar device according to hardware software or a combination thereof. In hardware, the processor 350 may be provided in the form of an electronic circuit that processes electrical signals to perform a control function, and in software, it may be provided in the form of a program that drives the processor 240 in hardware. Meanwhile, in the following description, unless otherwise specified, the operations of the first device and/or the second device may be interpreted as being performed under the control of the processor 350 . That is, when the modules implemented in the artificial intelligence-based traffic safety system are executed, the modules may be interpreted as controlling the processor 350 to perform the following operations on the first device and/or the second device.

요약하면, 본 발명은 다양한 수단을 통해 구현될 수 있다. 예를 들어, 다양한 실시예들은 하드웨어, 펌웨어(firmware), 소프트웨어 또는 그것들의 결합 등에 의해 구현될 수 있다.In summary, the present invention may be implemented through various means. For example, various embodiments may be implemented by hardware, firmware, software, or a combination thereof.

하드웨어에 의한 구현의 경우, 본 발명에 따른 방법은 하나 또는 그 이상의 ASICs(application specific integrated circuits), DSPs(digital signal processors), DSPDs(digital signal processing devices), PLDs(programmable logic devices), FPGAs(field programmable gate arrays), 프로세서, 컨트롤러, 마이크로 컨트롤러, 마이크로 프로세서 등에 의해 구현될 수 있다.In case of implementation by hardware, the method according to the present invention may include one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays), a processor, a controller, a microcontroller, a microprocessor, and the like.

펌웨어나 소프트웨어에 의한 구현의 경우, 본 발명에 따른 방법은 이하에서 설명된 기능 또는 동작들을 수행하는 모듈, 절차 또는 함수 등의 형태로 구현될 수 있다. 예를 들어, 소프트웨어 코드는 메모리에 저장되어 프로세서에 의해 구동될 수 있다. 상기 메모리는 상기 프로세서 내부 또는 외부에 위치할 수 있으며, 이미 공지된 다양한 수단에 의해 상기 프로세서와 데이터를 주고 받을 수 있다.In the case of implementation by firmware or software, the method according to the present invention may be implemented in the form of a module, procedure, or function that performs the functions or operations described below. For example, the software code may be stored in a memory and driven by a processor. The memory may be located inside or outside the processor, and data may be exchanged with the processor by various known means.

본 발명의 실시예와 관련하여 설명된 방법 또는 알고리즘의 단계들은 하드웨어로 직접 구현되거나, 하드웨어에 의해 실행되는 소프트웨어 모듈로 구현되거나, 또는 이들의 결합에 의해 구현될 수 있다. 소프트웨어 모듈은 RAM(Random Access Memory), ROM(Read Only Memory), EPROM(Erasable Programmable ROM), EEPROM(Electrically Erasable Programmable ROM), 플래시 메모리(Flash Memory), 하드 디스크, 착탈형 디스크, CD-ROM, 또는 본 발명이 속하는 기술 분야에서 잘 알려진 임의의 형태의 컴퓨터 판독가능 기록매체에 상주할 수도 있다.The steps of a method or algorithm described in relation to an embodiment of the present invention may be implemented directly in hardware, as a software module executed by hardware, or by a combination thereof. A software module may contain random access memory (RAM), read only memory (ROM), erasable programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, hard disk, removable disk, CD-ROM, or It may reside in any type of computer-readable recording medium well known in the art to which the present invention pertains.

이상, 첨부된 도면을 참조로 하여 본 발명의 실시예를 설명하였지만, 본 발명이 속하는 기술분야의 통상의 기술자는 본 발명이 그 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 실시될 수 있다는 것을 이해할 수 있을 것이다. 그러므로, 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며, 제한적이 아닌 것으로 이해해야만 한다.In the above, embodiments of the present invention have been described with reference to the accompanying drawings, but those of ordinary skill in the art to which the present invention pertains can realize that the present invention can be embodied in other specific forms without changing the technical spirit or essential features thereof. you will be able to understand Therefore, it should be understood that the embodiments described above are illustrative in all respects and not restrictive.

Claims (11)

장치의 동작 방법에 있어서,
실시간으로 획득되는 제1 데이터에 대한 하나 이상의 탐지 룰을 설정하는 단계;
상기 하나 이상의 탐지 룰에 해당하는 이벤트의 발생 횟수가 기 설정된 수준(level) 이상인지를 판단하는 단계; 및
상기 제1 데이터 중 배치 분석의 조건으로 들어갈 상기 기 설정된 수준 이상으로 발생된 이벤트에 대응되는 제2 데이터를 추출하는 단계;
상기 제2 데이터를 필터 조건으로 하여 방화벽(FW: firewall)으로 송신하는 단계;
상기 방화벽에 설정된 타임 배치(time batch) 사이즈에 해당하는 검색 범위 내에서 상기 방화벽의 메모리에 저장된 데이터 중 상기 제2 데이터와 동일한 데이터가 일정 횟수 이상 발생하는지를 검색하는 단계; 및
외부 네트워크로부터의 비 인가된 접근을 차단하는 단계를 포함하되,
상기 하나 이상의 탐지 룰에 해당하는 이벤트가 상기 기 설정된 수준 이상으로 발생하였는지를 판단하는 단계는, 상기 이벤트의 발생 횟수가 하나 이상의 윈도우 내 미리 정의된 임계치 이상인지를 판단하는 것을 포함하고,
상기 타임 배치 사이즈는, 검색하려는 데이터의 특성에 연관하여 소정의 기간으로 설정되고,
상기 하나 이상의 윈도우는, 상기 하나 이상의 탐지 룰 마다 병렬적으로 존재하고,
상기 하나 이상의 탐지 룰 마다 병렬적으로 존재하는 상기 하나 이상의 윈도우는, 시간 도메인 상에서 서로 겹칠 수 있으며, 및
상기 실시간으로 획득되는 제1 데이터는 상기 하나 이상의 윈도우에 따라 증분 방식으로 순차적으로 처리되는 것을 특징으로 하는, 방법.
In the method of operation of the device,
setting one or more detection rules for first data acquired in real time;
determining whether the number of occurrences of the event corresponding to the one or more detection rules is equal to or greater than a preset level; and
extracting second data corresponding to an event occurring above the preset level to be entered as a condition of batch analysis from among the first data;
transmitting the second data to a firewall (FW) using the second data as a filter condition;
searching for whether data identical to the second data occurs more than a predetermined number of times among data stored in a memory of the firewall within a search range corresponding to a time batch size set in the firewall; and
Blocking unauthorized access from an external network,
The step of determining whether the event corresponding to the one or more detection rules has occurred above the preset level includes determining whether the number of occurrences of the event is greater than or equal to a predefined threshold within one or more windows,
The time batch size is set to a predetermined period in relation to the characteristics of the data to be searched,
The one or more windows exist in parallel for each of the one or more detection rules,
The one or more windows existing in parallel for each of the one or more detection rules may overlap each other in a time domain, and
The method, characterized in that the first data obtained in real time is sequentially processed in an incremental manner according to the one or more windows.
제1항에 있어서,
상기 제1 데이터보다 이전 시점에 획득된 제3 데이터로부터 획득되는 이벤트의 발생 횟수가 많아질 수록, 윈도우의 사이즈가 증가하는 것을 특징으로 하는, 방법.
According to claim 1,
The method, characterized in that, as the number of occurrences of the event acquired from the third data acquired at a point in time earlier than the first data increases, the size of the window increases.
제1항에 있어서,
상기 제1 데이터 중 동일 ID(IDentification) 또는 동일 IP(Internet Protocol)를 갖는 데이터를 클러스터 분석하는 단계를 포함하는 것을 특징으로 하는, 방법.
According to claim 1,
The method comprising the step of cluster-analyzing data having the same ID (ID) or the same IP (Internet Protocol) among the first data.
제1항에 있어서,
상기 제1 데이터 처리를 위한 리소스가 임계치 이상으로 필요함에 기초하여, 상기 제1 데이터는 다수의 서버들을 통하여 분산 처리되는 것을 특징으로 하는, 방법.
According to claim 1,
Based on the resource for processing the first data is required more than a threshold, the first data is characterized in that the distributed processing through a plurality of servers, the method.
제1항에 있어서,
상기 탐지 룰은 퇴사자 ID (identification)에 해당하는 이벤트가 발생하는 경우, 데이터베이스에 없는 ID를 탐지한 경우, 또는 외부 IP(internet protocol)를 탐지한 경우로 설정되는 것을 특징으로 하는, 방법.
According to claim 1,
The detection rule is characterized in that it is set when an event corresponding to the ID of a retiree occurs, when an ID not in the database is detected, or when an external IP (internet protocol) is detected.
삭제delete 삭제delete 삭제delete 제1항에 있어서,
상기 제1 데이터에 대응되는 이벤트의 발생 시간과 상기 제2 데이터에 대응하는 방화벽 상의 데이터가 위치하는 시간의 차이에 기초하여 패턴을 분석하는 단계를 더 포함하는, 방법.
According to claim 1,
The method further comprising the step of analyzing a pattern based on a difference between the occurrence time of the event corresponding to the first data and the time at which data on the firewall corresponding to the second data is located.
실시간으로 획득되는 제1 데이터를 처리하는 장치에 있어서,
상기 제1 데이터를 처리하는 장치는:
데이터를 저장하도록 구성된 메모리; 및
상기 메모리와 연결된 하나 이상의 프로세서를 포함하고,
상기 하나 이상의 프로세서는:
상기 제1 데이터에 대한 하나 이상의 탐지 룰을 설정;
상기 하나 이상의 탐지 룰에 해당하는 이벤트의 발생 횟수가 기 설정된 수준(level) 이상으로 발생하였는지를 판단;
상기 제1 데이터 중 배치 분석의 조건으로 들어갈 상기 기 설정된 수준 이상으로 발생된 이벤트에 대응되는 제2 데이터를 추출;
상기 제2 데이터를 필터 조건으로 하여 방화벽(FW: firewall)으로 송신하도록 구성되고,
상기 하나 이상의 프로세서는 상기 이벤트가 하나 이상의 윈도우 내 미리 정의된 임계치 이상인 경우 상기 하나 이상의 탐지 룰에 해당하는 이벤트가 상기 기 설정된 수준 이상으로 발생하였다고 판단;
상기 방화벽에 설정된 타임 배치(time batch) 사이즈에 해당하는 검색 범위 내에서 상기 방화벽의 메모리에 저장된 데이터 중 상기 제2 데이터와 동일한 데이터가 일정 횟수 이상 발생하는지를 검색; 및
외부 네트워크로부터의 비 인가된 접근을 차단하도록 구성되고,
상기 타임 배치 사이즈는 검색하려는 데이터의 특성에 연관하여 소정의 기간으로 설정되고,
상기 하나 이상의 윈도우는, 상기 하나 이상의 탐지 룰 마다 병렬적으로 존재하고,
상기 하나 이상의 탐지 룰 마다 병렬적으로 존재하는 상기 하나 이상의 윈도우는, 시간 도메인 상에서 서로 겹칠 수 있으며, 및
상기 실시간으로 획득되는 제1 데이터는 상기 하나 이상의 윈도우에 따라 증분 방식으로 순차적으로 처리되는 것을 특징으로 하는, 장치.
An apparatus for processing first data acquired in real time,
The apparatus for processing the first data includes:
a memory configured to store data; and
one or more processors coupled to the memory;
The one or more processors include:
setting one or more detection rules for the first data;
determining whether the number of occurrences of the event corresponding to the one or more detection rules is greater than or equal to a preset level;
extracting second data corresponding to an event occurring above the preset level to be entered as a condition of batch analysis from among the first data;
configured to transmit the second data to a firewall (FW) as a filter condition,
the one or more processors determine that the event corresponding to the one or more detection rules has occurred above the preset level when the event is greater than or equal to a predefined threshold within one or more windows;
searching for whether the same data as the second data occurs more than a certain number of times among data stored in the memory of the firewall within a search range corresponding to a time batch size set in the firewall; and
configured to block unauthorized access from external networks;
The time batch size is set to a predetermined period in relation to the characteristics of the data to be searched,
The one or more windows exist in parallel for each of the one or more detection rules,
The one or more windows existing in parallel for each of the one or more detection rules may overlap each other in a time domain, and
The apparatus, characterized in that the first data acquired in real time is sequentially processed in an incremental manner according to the one or more windows.
삭제delete
KR1020210134100A 2021-10-08 2021-10-08 Hybrid correlation analysis method between heterogeneous using streaming analysis and batch analysis and apparatus thereof KR102367546B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020210134100A KR102367546B1 (en) 2021-10-08 2021-10-08 Hybrid correlation analysis method between heterogeneous using streaming analysis and batch analysis and apparatus thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020210134100A KR102367546B1 (en) 2021-10-08 2021-10-08 Hybrid correlation analysis method between heterogeneous using streaming analysis and batch analysis and apparatus thereof

Publications (1)

Publication Number Publication Date
KR102367546B1 true KR102367546B1 (en) 2022-02-25

Family

ID=80490169

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210134100A KR102367546B1 (en) 2021-10-08 2021-10-08 Hybrid correlation analysis method between heterogeneous using streaming analysis and batch analysis and apparatus thereof

Country Status (1)

Country Link
KR (1) KR102367546B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102583052B1 (en) * 2023-06-28 2023-09-26 주식회사 이글루코퍼레이션 Overload prevention self-protection method and apparatus for real time filtering of large data

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101383069B1 (en) * 2013-05-27 2014-04-08 한국전자통신연구원 Apparatus and method for detecting anomalous state of network
KR20170046001A (en) * 2015-10-20 2017-04-28 에스케이플래닛 주식회사 System and method for improvement invasion detection
KR20200025408A (en) * 2018-08-30 2020-03-10 주식회사 호텔신라 Method and server system for providnig real-time offer by using real-time event processing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101383069B1 (en) * 2013-05-27 2014-04-08 한국전자통신연구원 Apparatus and method for detecting anomalous state of network
KR20170046001A (en) * 2015-10-20 2017-04-28 에스케이플래닛 주식회사 System and method for improvement invasion detection
KR20200025408A (en) * 2018-08-30 2020-03-10 주식회사 호텔신라 Method and server system for providnig real-time offer by using real-time event processing

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102583052B1 (en) * 2023-06-28 2023-09-26 주식회사 이글루코퍼레이션 Overload prevention self-protection method and apparatus for real time filtering of large data

Similar Documents

Publication Publication Date Title
CN111935192B (en) Network attack event tracing processing method, device, equipment and storage medium
US11558418B2 (en) System for query injection detection using abstract syntax trees
US11916944B2 (en) Network anomaly detection and profiling
Zhou et al. Identity, location, disease and more: Inferring your secrets from android public resources
CN107958322B (en) Urban network space comprehensive treatment system
US20230109926A1 (en) Security integration for cloud services
US9686156B2 (en) Network flow monitoring
US8707441B1 (en) Techniques for identifying optimized malicious search engine results
CN111370139B (en) Infectious disease tracing method and device, electronic equipment and storage medium
EP3373179A1 (en) Information processing device, information processing method, and information processing program
US20130067582A1 (en) Systems, methods and devices for providing device authentication, mitigation and risk analysis in the internet and cloud
CN110366727A (en) Multi signal analysis for damage range identification
CN111368290A (en) Data anomaly detection method and device and terminal equipment
JP2021529383A (en) Automatic threat alert triage through data history
WO2021056731A1 (en) Log data analysis-based behavior detection method, apparatus, device, and medium
KR102361766B1 (en) Method of optimizing alert rules of siem by collecting asset server information and apparatus thereof
WO2021154114A1 (en) Method and system for detecting an infrastructure of malware or a cybercriminal
CN105378745A (en) Disabling and initiating nodes based on security issue
Al-Utaibi et al. Intrusion detection taxonomy and data preprocessing mechanisms
KR102367546B1 (en) Hybrid correlation analysis method between heterogeneous using streaming analysis and batch analysis and apparatus thereof
JP6616045B2 (en) Graph-based combination of heterogeneous alerts
EP3685296B1 (en) Configurable cyber-attack trackers
He et al. Mobile app identification for encrypted network flows by traffic correlation
KR101602480B1 (en) Illegal internet site filtering system and control method thereof, recording medium for performing the method
US20220159030A1 (en) Ip-based security control method and system thereof

Legal Events

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