KR20100074504A - Method for analyzing behavior of irc and http botnet based on network - Google Patents

Method for analyzing behavior of irc and http botnet based on network Download PDF

Info

Publication number
KR20100074504A
KR20100074504A KR1020080132962A KR20080132962A KR20100074504A KR 20100074504 A KR20100074504 A KR 20100074504A KR 1020080132962 A KR1020080132962 A KR 1020080132962A KR 20080132962 A KR20080132962 A KR 20080132962A KR 20100074504 A KR20100074504 A KR 20100074504A
Authority
KR
South Korea
Prior art keywords
botnet
traffic
behavior
information
server
Prior art date
Application number
KR1020080132962A
Other languages
Korean (ko)
Other versions
KR101045331B1 (en
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 KR1020080132962A priority Critical patent/KR101045331B1/en
Publication of KR20100074504A publication Critical patent/KR20100074504A/en
Application granted granted Critical
Publication of KR101045331B1 publication Critical patent/KR101045331B1/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2463/00Additional details relating to network architectures or network communication protocols for network security covered by H04L63/00
    • H04L2463/144Detection or countermeasures against botnets

Abstract

PURPOSE: A network-based IRC and HTTP botnet action analyzing method are provided to effectively cope with various types of bonnets by classifying a domain-based traffic, an IP/port-based traffic, and an URL(Uniform Resource Locator) hash-based traffic according to the type of a new botnet and an existing botnet. CONSTITUTION: Multiple traffic information collecting sensors collect traffics having centralized access characteristic(ST100~ST120). If the collected traffic is one between IP/Port-based traffic and an URL(Uniform Resource Locator) hash-based traffic, a botnet matching module matches the traffic with one between an existing botnet and a new botnet through comparison with existing botnet information. A VDNS(Virtual Domain Name Service) check module checks VDNS on a domain-based traffic among the collected traffics of a traffic collection managing module(ST190). Based on the action traffic of the detected botnet, the action type of the botnet is classified.

Description

네트워크 기반의 IRC 및 HTTP 봇넷 행위 분석 방법{METHOD FOR ANALYZING BEHAVIOR OF IRC AND HTTP BOTNET BASED ON NETWORK}METHODO FOR ANALYZING BEHAVIOR OF IRC AND HTTP BOTNET BASED ON NETWORK}

본 발명은 봇넷 행위 분석 방법에 대한 것으로, 구체적으로 네트워크 기반의 IRC 및 HTTP 봇넷 행위 분석 방법에 대한 것이다.The present invention relates to a botnet behavior analysis method, and more particularly, to a network-based IRC and HTTP botnet behavior analysis method.

현재 사이버 공간에서는 수많은 위협들이 대두되고 있다. 제3자의 개인정보를 갈취 또는 수집하여 악용하고, 불특정 다수를 향해 음란, 광고메일을 유포하고 금전적 이익을 보거나, 또는 경쟁사의 정보화 기기의 서비스를 못하게 하는 등 인터넷상의 위협요인들은 산재해 있다. 이러한 사이버 피해가 두드러지는 가운데 새로운 위협적 요소가 인터넷을 장악해 나가고 있는데 그것이 바로 봇넷이다. 최근 Arbor Networks에서는 가장 심각한 네트워크 위협으로 봇넷과 분산서비스 거부공격(DDoS)을 선정하기도 하였다.Numerous threats are emerging in cyberspace. Threats on the Internet are interspersed by stealing or collecting third-party personal information, exploiting it indecently, disseminating advertising mail, distributing advertising money, or discouraging competitors from providing information devices. Amidst such cyber damage, a new threat is dominating the Internet, a botnet. Recently, Arbor Networks has selected botnets and distributed denial of service attacks as the most serious network threats.

봇넷(BotNet)이란 악성 소프트웨어인 봇에 감염된 다수의 컴퓨터들이 네트워크로 연결되어 있는 형태를 말한다. 즉, 봇들을 자유자재로 통제하는 권한을 가진 봇마스터에 의해 원격 조종되며 각종 악성행위를 수행할 수 있는 수천에서 수십만 대의 악성프로그램인 봇(Bot)에 감염된 컴퓨터들이 네트워크로 연결되어 있는 형태 를 봇넷이라 한다.BotNet is a network in which many computers infected by malicious software bots are connected by a network. In other words, botnets are networked by computers infected by bots, which are remotely controlled by a botmaster who has the authority to control bots and can perform various malicious activities. This is called.

봇넷은 1993년에 EggDrop으로 처음 나온 이후로 최근 10년간 Forbot, PBot, Toxbot, Machbot,PHP Bot, Storm Bot 등으로 진화한 봇이 출현하였으며, 최근에는 너무 많은 변종 봇이 출현하면서 대응을 매우 어렵게 하고 있다(매일 5,000개의 신규 악성코드 출현, TechNewsWorld, 2007). 특히, 전 세계적으로 C&C 서버(Command & Control, 봇 좀비들에게 명령을 내리고 제어하기 위한 서버)와 악성 봇이 광범위하게 분포하고 있고 특정 지역에 밀집되는 양상을 보이고 있다. 이는 초고속 인터넷이 잘 갖추어진 환경에서는 기존에 비해 1/10의 PC들만 이용해도 더욱 강력한 DDoS와 같은 공격이 가능하기 때문이며, 특히 초고속의 인터넷 인프라가 잘 갖추어져 있는 국내 지역은 봇넷 감염지로 선호되고 있다. 또한, 세계적으로 봇에 감염되어 좀비 PC로 바뀌는 PC의 수가 지속적으로 증가하고 있으며 봇넷의 규모 또한 커지고 있다. TCP/IP 프로토콜 공동 창시자인 Vint Cerf는 전 세계 컴퓨터의 약 11% 정도인 1억~1억 5천 컴퓨터가 봇 악성코드에 감염되어 공격 수행에 사용될 것으로 예상하였으며, 현재까지 알려진 가장 큰 봇넷은 Storm 봇넷으로 230,000개의 좀비들로 연결되어 있는 것으로 알려져 있다.Botnets have evolved into Forbot, PBot, Toxbot, Machbot, PHP Bot, Storm Bot, etc. in the last 10 years since it first came out as EggDrop in 1993. (5,000 new malwares appear every day, TechNewsWorld, 2007). In particular, C & C servers (command & control, servers for commanding and controlling bot zombies) and malicious bots are widely distributed and concentrated in specific regions. This is because in a well-equipped environment with high-speed Internet, even a single tenth of PCs can use a more powerful DDoS-like attack. In particular, a domestic area with a high-speed Internet infrastructure is preferred as a botnet infection area. In addition, the number of PCs infected with bots and turned into zombie PCs continues to grow, and the size of botnets is growing. Vint Cerf, co-founder of the TCP / IP protocol, estimates that between 11 and 150 million computers, about 11 percent of the world's computers, will be infected with bot malware and will be used to carry out attacks. It is known to be connected to 230,000 zombies by botnet.

봇넷으로 인한 공격이 더욱 심각해지는 이유는 범죄화 양상을 띠고 있기 때문이다. 2007년 발생한 아이템 거래업체 서비스 장애 유발 및 현금요구 협박 사고에서와 같이 서비스 장애유발을 빌미로 서비스 업체에 협박하여 금품 갈취하거나, 개인/금융 정보 수집 및 스팸 발송 등을 통하여 대가를 받는 사고가 빈번하게 발생하고 있다.The botnet attack is becoming more serious because of its criminalization. As in the case of the item trader's service failure and cash demand intimidation accidents in 2007, the company frequently threatened the service provider to extort money and extort money, collect personal / financial information, and send spam. It is happening.

봇은 웜/바이러스, 백도어, 스파이웨어, 루트킷 등 다양한 악성코드들의 특성을 복합적으로 지니며, 봇넷을 통해 DDoS, Ad-ware, Spyware, 스팸발송, 정보불법 수집 등 대부분의 사이버 공격이 가능하다.Bots have various characteristics of various malicious codes such as worms / viruses, backdoors, spyware, and rootkits, and most cyber attacks such as DDoS, Ad-ware, Spyware, spam sending, and illegal information collection are possible through botnet.

초기의 봇넷은 구조가 유연하고 널리 사용되는 IRC의 특성을 이용한 IRC 봇넷이 주를 이루었었다. 하지만, 탐지 및 대응을 보다 어렵게 하기 위해 웹 프로토콜인 HTTP를 기반으로 하거나, C&C라는 중앙집중형 명령/제어 방식(IRC, HTTP 봇넷)에서 탈피하여, 모든 좀비들이 C&C가 될 수 있는 분산형 명령/제어 방식(P2P 봇넷)의 봇넷으로 진화하고 있다.Early botnets were mostly IRC botnets, which used the characteristics of IRC, which were flexible and widely used. However, in order to make detection and response more difficult, it is based on the web protocol HTTP or distributed command / control system where all zombies can become C & C by moving away from the centralized command / control system (IRC, HTTP botnet) called C & C. It is evolving into a control botnet (P2P botnet).

더 나아가, 명령/제어를 위해 2가지 이상의 프로토콜을 사용하는 하이브리드 형태로 진화하고 있다. 최근 등장한 MayDay 웜의 경우, 하이퍼텍스트 프랜스퍼 프로토콜(hypertext transfer protocol, HTTP) 및 인터넷 제어 메시지 프로토콜(Internet Control Message Protocol, ICMP)과 같이 두 가지 프로토콜을 사용하거나, 다수의 중앙 집중 포인트(C&C서버)가 존재하고 중앙 집중 포인트는 P2P 방식으로 연결되는 하이브리드 형태로 진화하고 있다.Furthermore, it is evolving into a hybrid form that uses two or more protocols for command / control. Recently introduced MayDay worms use two protocols, such as Hypertext Transfer Protocol (HTTP) and Internet Control Message Protocol (ICMP), or multiple centralized point (C & C servers). The centralized point is evolving into a hybrid form that is connected in a P2P fashion.

명령/제어 방식의 진화와 함께, 악성코드도 빠른 속도록 진화하여 탐지/대응을 매우 어렵게 하고 있다. Packing/압축/암호화 기술, VM(Virtual Machine)/디버거/샌드박스 탐지 우회 기술, 악성코드를 숨기기 위한 RootKit 기술 등이 적용되어 봇에 대한 탐지 및 분석을 매우 어렵게 하고 있으며, 감염경로 또한 기존의 시스템 취약점을 악용한 방식에서, 웹, 이메일, 메신저 등 다양한 수단으로 다양해지고 있다.Along with the evolution of command / control methods, malware also evolves rapidly, making detection / response very difficult. Packing / compression / encryption technology, VM (Virtual Machine) / debugger / sandbox detection bypass technology, RootKit technology to hide malicious codes make it very difficult to detect and analyze bots. In a way that exploits vulnerabilities, it is being diversified by various means such as web, email and messenger.

이러한 봇넷의 대응 기술은 적용 대상에 따라, PC상에서 악성 봇 프로그램 설치 및 행동을 기반으로 탐지/분석하는 호스트 기반과 봇 좀비 및 C&C로부터의 네트워크 트래픽을 기반으로 탐지/분석하는 네트워크 기반으로 구분되며, 기술 특성에 따라 시그니처 기반과 행위기반으로 구분될 수 있다.These botnet response technologies are divided into host-based detection and analysis based on the application and behavior of malicious bot programs on the PC, and network-based detection and analysis based on network traffic from bot zombies and C & C. Depending on the technical characteristics, it can be divided into signature-based and behavior-based.

최근 들어, 봇넷의 심각성이 부각되면서 국제적으로 연구가 활성화되고 있는 추세이지만, 대체로 IRC 봇넷 중심으로 진행되어 왔으며, HTTP 및 P2P 봇넷에 대해서는 현황 및 특성에 대해서만 다루어져 왔다. IRC 봇넷에 대한 기존 대부분의 연구들은 채널 암호화, 스텔스 스캐닝, 명령/제어 패턴 변경, DNS 스푸핑 등을 통해 회피가 가능하고 오탐발생의 소지가 있으며, 최근 등장하는 HTTP/P2P 신규 봇넷에 대한 대응이 미흡한 수준이다.In recent years, the severity of the botnet has been increasing internationally, research has been active, but IRC botnets have been mainly in progress, and HTTP and P2P botnets only deal with the current status and characteristics. Most existing researches on IRC botnets can be avoided through channel encryption, stealth scanning, command / control pattern changes, DNS spoofing, and false positives, and they have insufficient response to new HTTP / P2P new botnets. Level.

본 발명은 상기와 같은 문제점을 해결하기 위하여 제시된 것으로서, 본 발명의 목적은 IRC 및 HTTP 봇넷을 행위 유형별로 효과적으로 분석할 수 있는 네트워크 기반의 IRC 및 HTTP 봇넷 행위 분석 방법을 제공하는 것이다.The present invention has been presented to solve the above problems, and an object of the present invention is to provide a network-based IRC and HTTP botnet behavior analysis method that can effectively analyze the IRC and HTTP botnet for each action type.

상기의 목적을 달성하기 위하여, 본 발명에 따른 네트워크 기반의 IRC 및 HTTP 봇넷 행위 분석 방법은, Domain 기반 트래픽, IP/Port 기반 트래픽 및 URL hash 기반 트래픽을 포함하는 중앙집중형 접속 특성을 갖는 트래픽을 수집하고 수집된 트래픽의 봇넷 여부를 판별하는 트래픽 분류 모듈(TC), 상기 트래픽 분류 모 듈(TC)에 의해 수집되어 봇넷으로 분류된 트래픽의 구성 분석을 수행하는 봇넷 구성 분석 모듈(BOA) 및 상기 트래픽 분류 모듈(TC)에 의해 수집되어 봇넷으로 분류된 트래픽의 행위 분석을 수행하는 봇넷 행위 분석 모듈(BBA)을 포함하는 봇넷 탐지 시스템에서, IRC 봇넷 및 HTTP 봇넷의 행위 유형을 분석 및 분류하는 방법으로서, 다수의 트래픽 정보 수집 센서에 의해 수집된 상기 중앙집중적 접속 특성을 갖는 트래픽을 수집하는 제 1 단계, 상기 수집된 트래픽이 IP/Port 기반 트래픽 및 URL hash 기반 트래픽 중 어느 하나인 경우 기존에 탐지된 봇넷 정보와 비교하여 상기 트래픽을 기존 봇넷 및 신종 봇넷 중 어느 하나로 봇넷 매칭하는 제 2 단계, 상기 트래픽 수집 관리 모듈에 의해 수집된 트래픽 중 Domain 기반 트래픽에 대하여 VDNS(Virtual DNS) 여부를 체크하는 제 3 단계, 그리고 탐지된 봇넷의 행위 트래픽을 기반으로 하여 봇넷의 행위 유형별로 분류하는 제 4 단계를 포함하는 것을 특징으로 한다.In order to achieve the above object, the network-based IRC and HTTP botnet behavior analysis method according to the present invention, the traffic having a centralized connection characteristics including domain-based traffic, IP / Port-based traffic and URL hash-based traffic A traffic classification module (TC) for collecting and determining whether the collected traffic is a botnet, a botnet configuration analysis module (BOA) for performing configuration analysis of traffic collected by the traffic classification module (TC) and classified as botnets; A method for analyzing and classifying behavior types of IRC botnets and HTTP botnets in a botnet detection system including a botnet behavior analysis module (BBA) that performs behavioral analysis of traffic classified by botnets collected by the traffic classification module (TC) A first step of collecting traffic having the centralized connection characteristics collected by a plurality of traffic information collection sensors, the collected data If the pick is any one of IP / Port based traffic and URL hash based traffic, the second step of matching the traffic to any one of the existing botnet and the new botnet by comparing the detected botnet information to the traffic collection management module. And a fourth step of checking whether VDNS (Virtual DNS) is checked for the domain-based traffic among the traffic collected by the traffic, and a fourth step of classifying the behavior type of the botnet based on the detected traffic behavior of the botnet. do.

바람직하게는, 제 2 단계가, 상기 트래픽의 중앙집중 서버가 상기 봇넷 정보의 C&C서버 정보와 상이하고 상기 트래픽의 접속 클라이언트 IP 리스트가 상기 봇넷 정보의 좀비리스트와 상이한 경우 상기 트래픽을 신종 봇넷 메시지 큐에 저장하는 제 2-1 단계를 포함하도록 한다. 또한, 상기 트래픽의 중앙집중 서버가 상기 봇넷 정보의 C&C 서버 정보와 일치하고 상기 트래픽의 접속 클라이언트 IP 리스트가 상기 봇넷 정보의 좀비리스트와 상이한 경우, 상기 트래픽을 봇넷 확장 행위로 구분하여 별도의 플래그를 부여하고 기존 봇넷 메시지 큐에 저장하는 제 2-2 단계를 포함하도록 한다. 또한, 상기 트래픽의 중앙집중 서버가 상기 봇넷 정보의 C&C 서 버 정보와 일치하고 상기 트래픽의 접속 클라이언트 IP 리스트가 상기 봇넷 정보의 좀비리스트와 유사한 경우, 상기 트래픽을 C&C서버 재접속 및 에그 다운로드 행위로 구분하여 별도의 플래그를 부여하고 기존 봇넷 메시지 큐에 저장하는 제 2-3 단계, 그리고 상기 트래픽의 중앙집중 서버가 상기 봇넷 정보의 C&C 서버 정보와 상이하고 상기 트래픽의 접속 클라이언트 IP 리스트가 상기 봇넷 정보의 좀비리스트와 유사한 경우, 상기 트래픽을 C&C서버 이주 및 기타 주요 봇넷 행위로 구분하여 별도의 플래그를 부여하여 기존 봇넷 메시지 큐에 저장하는 제 2-4 단계를 포함하도록 한다.Advantageously, the second step further comprises: if the centralized server of the traffic is different from the C & C server information of the botnet information and the accessing client IP list of the traffic is different from the zombie list of the botnet information, the traffic is sent to the new botnet message queue. To store in step 2-1. Further, when the centralized server of the traffic matches the C & C server information of the botnet information and the access client IP list of the traffic is different from the zombie list of the botnet information, the traffic is classified into a botnet expansion action and a separate flag is assigned. And steps 2-2 to store in the existing botnet message queue. In addition, when the centralized server of the traffic matches the C & C server information of the botnet information and the access client IP list of the traffic is similar to the zombie list of the botnet information, the traffic is classified into a C & C server reconnection and egg download behavior. The second and second steps of assigning a separate flag to the existing botnet message queue, and the centralized server of the traffic is different from the C & C server information of the botnet information, and the access client IP list of the traffic Similar to the zombie list, the traffic may be classified into a C & C server migration and other main botnet behaviors, and a second flag may be stored in an existing botnet message queue by assigning a separate flag.

더욱 바람직하게는, 제 4 단계가, 탐지된 봇넷에 대하여 상기 트래픽 정보 수집 센서에게 추가적인 행위 트래픽을 요청하는 제 4-1 단계, 좀비가 추가 공격모듈을 다운로드하는 행위 유형인 에그 다운로드(Egg downoad) 행위, 좀비의 분산 서비스 거부 공격 행위 유형인 DDoS 공격 행위, 좀비가 스팸메일을 발송하는 행위 유형인 스패밍(Spamming) 공격 행위 및 좀비들이 개인정보를 탈취하는 행위 유형인 스파잉(Spying) 공격 행위를 포함하는 공격 행위를 분석 및 분류하는 제 4-2 단계를 포함하도록 한다. 또한, 봇넷 확장 행위인 그로스(Growth) 행위, C&C 서버 재접속 및 접속유지 행위인 랠리(Rally) 행위, C&C 서버를 이주하는 행위인 마이그레이션(Migration) 행위 및 봇 악성코드를 전파하는 행위인 프로파게이션(Propagation) 행위를 포함하는 확산/이주 행위를 분석 및 분류하는 제 4-3 단계를 포함하도록 한다. 그리고 상기 제 4-2 단계 및 상기 제 4-3 단계의 분석된 결과를 종합하여 로그 관리자에게 전송하는 제 4-4 단계를 포함하도록 한다.More preferably, the fourth step is an egg downoad, in which the fourth step of requesting additional behavioral traffic to the traffic information collecting sensor for the detected botnet, and an action type of zombie downloading an additional attack module. DDoS attack, a type of zombie's distributed denial of service attack, spamming, a type of zombie sending spam, and spying, a type of zombie stealing personal information. Include steps 4-2 of analyzing and classifying the attack behaviors included. In addition, a botnet expansion action, a gross action, a Rally action to reconnect and maintain a C & C server, a migration action to migrate a C & C server, and a propagation action to propagate bot malware (Propagation) Include steps 4-3 to analyze and classify the proliferation / migration behavior that includes the behavior. And a fourth step of synthesizing the analyzed results of steps 4-2 and 4-3 and transmitting them to the log manager.

이때, 제 4-2 단계는, 일정 시간 동안 발생하는 패킷당 평균 수신 트래픽량을 비교 검사하여 에그 다운로드 행위를 분석 및 분류하는 제 4-5 단계, 동일 전송트래픽의 주기적인 발생 여부를 검사하여 DDoS 공격 행위를 분석 및 분류하는 제 4-6 단계를 포함하도록 한다. 또한, SMTP(25번 포트) 서버로 발송되는 메일 전송 트래픽의 발생 여부를 검사하여 스패밍 공격 행위를 분석 및 분류하는 제 4-7 단계, 그리고 일정 시간 동안 발생하는 패킷당 평균 송신 트래픽량을 비교 검사하여 스파잉 공격 행위를 분석 및 분류하는 제 4-8 단계를 포함하도록 한다. 그리고 제 4-5 단계에서 좀비가 C&C 서버로부터 직접 다운로드하는 행위 및 타 다운로드 전용 서버로부터 우회적으로 다운로드하는 행위를 모두 분석하도록 한다.At this time, step 4-2, step 4-5 of analyzing and classifying the egg download behavior by comparing and checking the average amount of received traffic per packet occurring for a certain time, DDoS by checking whether the same transmission traffic occurs periodically Include steps 4-6 to analyze and classify attack behaviors. In addition, steps 4-7 for analyzing and classifying spamming attack behavior by checking whether mail transmission traffic is sent to the SMTP (port 25) server and comparing and checking the average amount of outgoing traffic per packet generated for a certain period of time To include steps 4-8 to analyze and classify the spying attack behavior. In step 4-5, the zombie analyzes both the direct download from the C & C server and the detour download from another download-only server.

또한, 제 4-3 단계는, 기존 C&C 서버로 접속하는 신규 좀비 IP를 모니터링하여 그로스 행위로 분류하는 제 4-9 단계, C&C 서버에 재접속하거나 기존 접속을 유지하려는 트래픽을 모니터링하여 랠리 행위로 분류하는 제 4-10 단계를 포함하도록 한다. 또한, 기존 좀비가 새로운 IP를 가지는 C&C로 접속하는 행위를 모니터링하여 마이그레이션 행위로 분류하는 제 4-11 단계, 그리고 단일 소스(Src) IP에서 다중 데스티네이션(Dst) IP들로 전송되는 트래픽을 모니터링하여 프로파게이션 행위로 분류하는 제 4-12 단계를 포함하도록 한다. 이때, 제 4-9 단계 내지 상기 제 4-11 단계는, Channel 및 URL 정보를 수집하여 봇넷 구성 분석 모듈에 전송하는 제 4-13 단계를 포함하도록 한다.In addition, step 4-3, step 4-9 that monitors the new zombie IP accessing the existing C & C server and classifies it as a gross act, and classifies it as a rally action by monitoring the traffic to reconnect to the C & C server or maintain the existing connection. To include steps 4-10. In addition, steps 4-11 of monitoring existing zombie access to C & C having a new IP and classifying it as migration behavior, and monitoring traffic transmitted from a single source (Src) IP to multiple destination (Dst) IPs To include steps 4-12 that classify the propagation behavior. In this case, steps 4-9 to 4-11 may include steps 4-13 of collecting channel and URL information and transmitting the collected channel and URL information to the botnet analysis module.

바람직하게는, 봇넷의 행위 트래픽의 데이터 포맷이, 탐지시스템에서 관리하는 지역적인 봇넷 ID 및 트래픽 발생 시간을 포함하는 헤더와, 각 행위 분석 및 정 의를 위한 요청 트래픽 정보를 포함하는 행위 트래픽 정보 필드를 포함하도록 한다. 또한, 행위 트래픽 정보 필드는, Channel/URL string 전달 포맷의 경우, IRC 및 HTTP 봇넷 프로토콜을 구분하는 봇넷 타입, 그리고 IRC 봇넷의 Channel String 및 HTTP 봇넷의 URL string 중 어느 하나를 포함하는 String을 포함하도록 한다. 또한, Sending/Receiving Traffic 전달 포맷의 경우, 송신 트래픽의 패킷 당 평균 데이터 볼륨 크기 및 수신 트래픽의 패킷 당 평균 데이터 볼륨 크기를 포함하고, MX Query list 전달 포맷의 경우, 샘플링된 전체 탐지대상 좀비 중 MX 쿼리를 발생시킨 좀비 개체수의 비율을 포함하도록 한다. 또한, Dst Port 25 list 전달 포맷의 경우, 샘플링된 전체 탐지 대상 좀비 중 SMTP(25번 포트) 서버로의 전송 트래픽을 발생시킨 좀비 개체수의 비율을 포함하고, Sending Frequency 전달 포맷의 경우, 각 좀비의 동일 시간대에 걸친 동일 패킷 발송 빈도량을 포함하도록 한다. 또한, Multi-connection list 전달 포맷의 경우, 샘플링된 전체 탐지 대상 좀비 중 다중의 IP로 접속 요청 트래픽을 발생한 좀비 개체수의 비율을 포함하도록 한다.Preferably, the behavior traffic information field includes a header including a local botnet ID and traffic generation time managed by the detection system, and a request traffic information for each behavior analysis and definition. To include. In addition, the behavior traffic information field may include a botnet type for distinguishing between IRC and HTTP botnet protocols in the case of a channel / URL string delivery format, and a string including any one of a channel string of the IRC botnet and a URL string of the HTTP botnet. do. In addition, the Sending / Receiving Traffic forwarding format includes an average data volume size per packet of outgoing traffic and an average data volume size per packet of incoming traffic, and in the MX Query list forwarding format, MX of all sampled zombies sampled Include the percentage of zombie individuals that generated the query. In addition, the Dst Port 25 list forwarding format includes the ratio of the number of zombie subjects that generated transmission traffic to the SMTP (port 25) server out of all the detected zombies sampled, and in the case of the Sending Frequency forwarding format, Include the same packet sending frequency over the same time frame. In addition, in the case of a multi-connection list transfer format, the ratio of the number of zombie individuals that generate connection request traffic to multiple IPs among all sampled zombies to be detected is included.

또한, 행위 트래픽을 요청하는 행위 트래픽 요청 데이터의 포맷은, 행위 트래픽 수집을 요청할 좀비가 속한 봇넷 ID를 포함하는 헤더, 샘플링된 좀비 개체 수 및 샘플링된 좀비 IP 리스트를 포함하도록 한다. 한편, 제 4-4 단계에서 분석된 봇넷의 행위 정보를 전송하고, 상기 봇넷의 행위 정보의 데이터 포맷은, 봇넷 에그 다운로드 행위 정보의 경우, 탐지시스템 인식을 위한 지역적 봇넷 ID 번호 및 봇넷 행위 발생 시간을 포함하는 헤더, DNS 쿼리 도메인명, DNS 쿼리에 대한 응답 IP, 접속 서버의 포트번호, 접속 서버의 URL, 접속 프로토콜, 좀비가 다운로드한 파일 이름 및 좀비가 다운로드한 파일 크기를 포함하도록 한다.In addition, the format of the behavior traffic request data requesting the behavior traffic includes a header including the botnet ID to which the zombie requesting the behavior traffic collection belongs, the number of sampled zombies and the sampled zombie IP list. On the other hand, the behavior information of the botnet analyzed in step 4-4 is transmitted, and the data format of the behavior information of the botnet is, in the case of the botnet egg download behavior information, the local botnet ID number and the botnet behavior occurrence time for detecting the detection system. Include the header, DNS query domain name, response IP for DNS query, port number of access server, URL of access server, access protocol, file name downloaded by zombie and file size downloaded by zombie.

이때, 봇넷 DDoS 행위 정보의 경우, 탐지시스템 인식을 위한 지역적 봇넷 ID 번호 및 봇넷 행위 발생 시간을 포함하는 헤더, 피해시스템의 도메인명, IP(피해시스템의 IP, 피해시스템의 포트번호 및 공격 프로토콜을 포함하도록 한다.또한, 봇넷 스패밍 행위 정보의 경우, 탐지시스템 인식을 위한 지역적 봇넷 ID 번호 및 봇넷 행위 발생 시간을 포함하는 헤더, 메일 릴레이 서버의 도메인명 및 메일 릴레이 서버의 IP를 포함하도록 한다. 또한, 봇넷 스파잉 행위 정보의 경우, 탐지시스템 인식을 위한 지역적 봇넷 ID 번호 및 봇넷 행위 발생 시간을 포함하는 헤더, DNS 쿼리 도메인명, DNS 쿼리의 응답 IP, 접속 서버의 포트번호, 접속 서버의 URL 및 접속 프로토콜을 포함하도록 한다. 또한, 봇넷 그로스 행위 정보의 경우, 탐지시스템 인식을 위한 지역적 봇넷 ID 번호 및 봇넷 행위 발생 시간을 포함하는 헤더, 신규 좀비의 개체 수 및 신규 좀비의 IP 리스트를 포함하고, 봇넷 랠리 행위 정보의 경우, 탐지시스템 인식을 위한 지역적 봇넷 ID 번호 및 봇넷 행위 발생 시간을 포함하는 헤더, 활성 좀비의 개체 수 및 활성 좀비의 IP 리스트를 포함하도록 한다.At this time, in case of botnet DDoS behavior information, header including local botnet ID number and botnet behavior occurrence time for detection system recognition, domain name of damage system, IP (damage system IP, damage system port number and attack protocol) In addition, in case of botnet spamming information, the header including the local botnet ID number and the botnet behavior occurrence time for detecting the detection system, the domain name of the mail relay server, and the IP of the mail relay server should be included. , For botnet spying behavior information, a header containing the local botnet ID number and botnet behavior occurrence time for detection system identification, DNS query domain name, DNS query response IP, access server port number, access server URL, and Include the access protocol and, in the case of botnet gross behavioral information, the local botnet ID number for detection system detection. Header including botnet behavior occurrence time, new zombie population and new zombie IP list; for botnet rally behavior information, header containing local botnet ID number and botnet behavior occurrence time for detection system recognition; Include the number of active zombies and the IP list of active zombies.

또한, 봇넷 마이그레이션 행위 정보의 경우, 탐지시스템 인식을 위한 지역적 봇넷 ID 번호 및 봇넷 행위 발생 시간을 포함하는 헤더, 신규 C&C 서버의 IP 및 신규 C&C 서버의 URL을 포함하도록 한다. 봇넷 프로파게이션 행위 정보의 경우, 탐지시스템 인식을 위한 지역적 봇넷 ID 번호 및 봇넷 행위 발생 시간을 포함하는 헤더 및 취약 공격대상 포트인 상위 접속 포트의 리스트를 포함하도록 한다.In addition, in the case of botnet migration behavior information, a header including a local botnet ID number and botnet behavior occurrence time for detection system recognition, an IP of a new C & C server, and a URL of a new C & C server should be included. For botnet provisioning behavior information, include a header containing the local botnet ID number and botnet behavior occurrence time for detection system recognition, and a list of top access ports that are vulnerable target ports.

이상 설명한 바대로, 본 발명에 따른 네트워크 기반의 IRC 및 HTTP 봇넷 행위 분석 방법은 Domain 기반 트래픽, IP/Port 기반 트래픽 및 URL hash 기반 트래픽에 대하여 봇넷 매칭 모듈에 의해 신규 봇넷 및 기존 봇넷의 유형별로 분류하고, 봇넷의 행위 유형에 따라 효과적으로 분류 및 분석함으로써 다양한 유형의 봇넷에 효과적으로 대응할 수 있는 효과가 있다.As described above, the network-based IRC and HTTP botnet behavior analysis method according to the present invention classifies domain-based traffic, IP / Port-based traffic, and URL hash-based traffic by botnet matching module by type of new and existing botnets. In addition, by effectively classifying and analyzing according to the behavior type of the botnet, it can effectively respond to various types of botnets.

이하에서는, 첨부한 도면을 참조하여 본 발명의 장점, 특징 및 바람직한 실시예에 대하여 상세히 설명하도록 한다.Hereinafter, with reference to the accompanying drawings will be described in detail the advantages, features and preferred embodiments of the present invention.

도 1은 본 발명에 따른 봇넷 탐지 시스템의 구성도이다. 트래픽 정보 수집 센서로부터 IRC 및 HTTP 봇넷 탐지를 위하여 중앙집중형 접속 특성을 가지는 트래픽의 테이터 포맷을 전달받고, 이 과정을 통해 스타형 토폴로지를 구성하는 중앙집중형 네트워크를 발견하며, 봇넷 매칭 모듈에서 기존 봇넷 여부를 판별한 후 각종 행위를 재분류한다. 봇넷 매칭 모듈은 발견된 중앙집중형 트래픽을 유발하는 네트워크가 이미 탐지된 기존 봇넷과 매칭되는지의 여부를 체크한다. 봇넷 매칭 모듈에 의해 신규 봇넷으로 판별될 경우 봇넷 구성 분석 모듈(BOA)은 발견된 좀비들의 추가적인 행위 트래픽을 트래픽 정보 수집 센서로 요청한다.1 is a block diagram of a botnet detection system according to the present invention. In order to detect IRC and HTTP botnets from the traffic information collection sensor, the data format of the traffic with centralized connection characteristics is received, and through this process, the centralized network constituting the star topology is found, and the botnet matching module After deciding whether or not a botnet is used, various actions are reclassified. The botnet matching module checks whether the network causing the centralized traffic found matches the existing botnet detected. If it is determined as a new botnet by the botnet matching module, the botnet configuration analysis module (BOA) requests additional behavioral traffic of the discovered zombies to the traffic information collection sensor.

구체적으로, 봇넷 매칭 모듈은 중앙집중 서버와 접속 클라이언트 IP 리스트의 유사성을 식별함으로써 발견된 중앙집중 트래픽의 봇넷 매칭을 수행한다.Specifically, the botnet matching module performs botnet matching of the found centralized traffic by identifying the similarity between the centralized server and the access client IP list.

먼저, 봇넷 매칭 모듈은 탐지된 기존 봇넷 정보들과 매칭하여 중앙집중 서버가 기존 C&C서버 정보와 같지 않고 접속 클라이언트 IP 리스트 또한 기존 좀비리스 트와 유사하지 않을 때 신규 봇넷으로 규정하여 봇넷 여부를 탐지한다. 봇넷 구성 분석 모듈(BOA)은 탐지된 신규 봇넷의 좀비들이 발생시키는 추가적인 행위 트래픽을 수집할 수 있도록 트래픽 정보 수집 센서에게 요청하여 이후 봇넷의 행위를 모니터링하고 분석한다.First, the botnet matching module matches existing detected botnets and detects botnets by defining them as new botnets when the centralized server is not the same as the existing C & C server information and the access client IP list is not similar to the existing zombie list. . The botnet configuration analysis module (BOA) requests traffic information collection sensors to collect additional behavior traffic generated by zombies of the detected new botnet, and then monitors and analyzes the behavior of the botnet.

한편, 중앙집중 서버가 기존 C&C 서버 정보와 같거나 접속 클라이언트 IP 리스트가 기존 좀비리스트와 유사할 경우 봇넷 매칭 모듈은 기존 봇넷으로 규정하는데, 기존 봇넷의 매칭 결과를 이후 봇넷 행위 분석 모듈(BBA)이 빠르게 인식할 수 있도록 하기 위하여 봇넷 매칭 모듈은 세가지 행위기반(A, B, C)에 의하여 선분류하고 플래그를 부여하도록 한다. 각 행위기반에 따른 플래그는 이하와 같다.On the other hand, if the centralized server is the same as the existing C & C server information, or the access client IP list is similar to the existing zombie list, the botnet matching module defines the existing botnet, and the matching result of the existing botnet is subsequently added by the botnet behavior analysis module (BBA). In order to be quickly recognized, the botnet matching module allows pre-classification and flagging by three behavioral bases (A, B, C). The flags according to each action base are as follows.

- A 플래그(봇넷 확장 행위): 중앙집중 서버가 C&C 서버 정보와 일치하지만 접속 클라이언트 IP 리스트가 기존 좀비리스트와 차이를 보이는 경우-A flag (botnet extension behavior): the centralized server matches the C & C server information but the access client IP list differs from the existing zombie list

- B 플래그(C&C서버 재접속 및 에그 다운로드 행위): 중앙집중 서버가 C&C 서버 정보와 일치하고 접속 클라이언트 IP 리스트도 기존 좀비리스트와 유사한 경우-B flag (C & C server reconnection and egg download behavior): When centralized server matches C & C server information and access client IP list is similar to existing zombie list

- C 플래그(C&C서버 이주 및 기타 주요 봇넷 행위): 중앙집중 서버가 C&C 서버 정보와 다르지만 접속 클라이언트 IP 리스트가 기존 좀비리스트와 유사한 경우C flag (C & C server migration and other major botnet behavior): Centralized server is different from C & C server information, but access client IP list is similar to existing zombie list

상기한 바와 같이, 중앙집중형 트래픽(DNS 요청 Domain, 중앙집중 서버의 IP/Port 정보, HTTP 접속 URL 기반)을 모니터링하여 탐지된 봇넷에 대하여 봇넷 구성 분석 모듈(BOA)은 트래픽 정보 수집 센서에게 추가적인 행위 트래픽을 요청하고, 이때 전달받은 행위 트래픽을 기반으로 봇넷 행위 분석 모듈(BBA)은 다양한 봇 넷 행위들을 재분류한다. IRC Channel 및 HTTP URL 정보는 봇넷 구성 분석 모듈(BOA)로 다시 전달되어 봇넷 프로토콜 판단의 정확한 기준이 되도록 한다. 중앙집중형 트래픽을 기반으로 대분류된 A/B/C 세가지 그룹의 행위들은 행위 트래픽을 기반으로 다시 각 구체적인 행위들로 세분류된다.As described above, the botnet configuration analysis module (BOA) adds to the traffic information collection sensor for the detected botnet by monitoring the centralized traffic (DNS request domain, IP / Port information of the centralized server, and HTTP access URL). The behavioral traffic is requested, and based on the received behavioral traffic, the botnet behavior analysis module (BBA) reclassifies various botnet behaviors. The IRC Channel and HTTP URL information is passed back to the Botnet Configuration Analysis Module (BOA) to ensure accurate criteria for botnet protocol determination. The three groups of A / B / Cs that are largely classified based on the centralized traffic are further subdivided into specific activities based on the behavioral traffic.

도 2는 본 발명에 따른 트래픽 분류 모듈(TC)의 블럭 구성도이다. 도 1에 도시한 바와 같이, 본 발명에 따른 트래픽 분류 모듈(TC)은, 필터, 수집/분류 관리 정책 모듈, 트래픽 수집관리 모듈, 봇넷 매칭 모듈 및 VDNS 체크 모듈을 포함한다.2 is a block diagram of a traffic classification module TC according to the present invention. As shown in FIG. 1, the traffic classification module TC according to the present invention includes a filter, a collection / classification management policy module, a traffic collection management module, a botnet matching module, and a VDNS check module.

필터는 다중의 트래픽 정보 수집 센서로부터 전달되는 유효 트래픽만을 수신하며, 자신이 담당하는 센서들의 IP에 대한 화이트 리스트 방화벽 기능을 제공한다.The filter receives only valid traffic from multiple traffic information collection sensors and provides a white list firewall for the IPs of the sensors in charge.

수집/분류 관리 정책 모듈은 관리 시스템으로부터 전달되는 정책을 설정하여 상태값을 조정하고, 봇넷 관제/보안관리 시스템의 실시간 보안 이벤트를 참고하여 봇넷 탐지 시스템이 신속히 대응할 수 있도록 관리 정책에 반영한다. 따라서, 알려지지 않은 신종 봇넷에 빠르게 대응하기 위하여 관제시스템들의 공유정보를 기반으로 좀비리스트 분포량과 관계없이 C&C 서버 블랙리스트 매칭이 가능하도록 할 수 있다.The collection / classification management policy module adjusts the status value by setting the policy transmitted from the management system and reflects it in the management policy so that the botnet detection system can respond quickly by referring to the real-time security event of the botnet control / security management system. Therefore, in order to quickly respond to unknown new botnets, C & C server blacklist matching can be enabled regardless of the zombie list distribution based on shared information of control systems.

트래픽 수집 관리 모듈은 중앙집중적인 접속 특성을 가지는 트래픽, 즉 공동의 단일 서버에 연결되어 스타형 토폴로지를 구성하는 기본 트래픽을 수집 및 모니터링한다. 이는 IRC 및 HTTP 봇넷 탐지를 위한 기본 수집트래픽으로 이를 기반으로 봇넷 매칭 모듈에서 봇넷 여부를 판별하게 된다. 또한, 트래픽 수집 관리 모듈은 분석을 위한 추가적인 요청 트래픽(봇넷 구성 분석 모듈의 행위 트래픽 요청에 따른 트래픽)을 수집함으로써, 봇넷 구성 분석 모듈이 신종 봇넷의 IRC 및 HTTP 프로토콜(IRC Channel 정보, URL 정보 등)을 분석할 수 있도록 한다. 이 경우 추가적인 요청 트래픽은 이미 탐지된 봇들 가운데 다시 샘플링된 일부 봇, 즉 봇넷 구성 분석 모듈이 행위 트래픽을 요청한 일부 봇에 대하여만 수집하도록 한다. 또한, 트래픽 수집 관리 모듈은 관제시스템의 보안관리 정책 및 공유정보관리 정책에 의하여 발견된 새로운 봇넷의 위협을 사전에 대비하기 위하여 긴급 요청된 특정한 트래픽을 전달받을 수도 있다.The traffic collection management module collects and monitors traffic having central access characteristics, that is, basic traffic connected to a single common server to form a star topology. This is the basic collection traffic for IRC and HTTP botnet detection, and based on this, the botnet matching module determines whether a botnet is present. In addition, the traffic collection management module collects additional request traffic for analysis (traffic according to the behavioral traffic request of the botnet configuration analysis module), thereby allowing the botnet configuration analysis module to perform IRC and HTTP protocols (IRC Channel information, URL information, etc.) of the new botnet. ) To be analyzed. In this case, additional request traffic is collected only for some bots that have already been sampled among the detected bots, that is, the botnet configuration analysis module. In addition, the traffic collection management module may receive specific traffic urgently requested in order to prepare for the threat of a new botnet discovered by the security management policy and the shared information management policy of the control system.

봇넷 매칭 모듈은 트래픽 수집 관리 모듈에 의해 수집된 트래픽이 IP/Port 기반 트래픽 또는 HTTP hash 기반 트래픽인 경우 기존 봇넷과 비교하여 기존 봇넷 또는 신종 봇넷으로 구분한다. 먼저, 봇넷 매칭 모듈은 트래픽 수집 관리 모듈에 의해 수집된 트래픽에 대하여 신종 봇넷 구성의 유사 트래픽을 탐지한다. 구체적으로, 탐지된 기존 봇넷 정보들과 매칭하여 중앙집중 서버가 기존 C&C서버 정보와 다르면서 접속 IP리스트가 기존 좀비리스트와 다른 경우 이를 탐지하여 신종 봇넷 메시지 큐에 저장한다. 하지만, 정상 트래픽일 확률 또한 배재할 수 없으므로 이후 봇넷 구성 분석(BOA) 모듈에서 세부적인 재분류가 이루어져야 하며 신종 봇넷의 구성 단계에서 발생된 트래픽인지 진위를 최종 판단하도록 한다.When the traffic collected by the traffic collection management module is IP / Port-based traffic or HTTP hash-based traffic, the botnet matching module is divided into an existing botnet or a new botnet compared to the existing botnet. First, the botnet matching module detects similar traffic of the new botnet configuration for the traffic collected by the traffic collection management module. Specifically, if the centralized server is different from the existing C & C server information and the access IP list is different from the existing zombie list by matching the detected existing botnet information, it is detected and stored in the new botnet message queue. However, since the probability of normal traffic cannot be excluded, detailed reclassification should be performed in the botnet configuration analysis (BOA) module, and the final determination of authenticity of the traffic occurred in the new botnet configuration stage.

다음으로, 봇넷 매칭 모듈은 기존 봇넷 탐지 및 대분류 작업을 수행한다. 구체적으로 탐지된 기존 봇넷 정보들과 매칭하여, 중앙집중 서버가 기존 C&C서버 정보와 같거나 혹은 접속 IP 리스트가 기존 좀비리스트와 유사할 경우 이를 탐지하여 기존 봇넷 메시지 큐에 저장한다. 봇넷 매칭 모듈은 메시지 큐 저장시 대분류된 세가지(A/B/C) 행위 결과를 플래그 비트로 명시하여 이후 봇넷 행위 분석(BBA) 모듈이 빠르게 인식하도록 한다. 세가지 행위 결과 플래그의 유형은 상기한 바와 같다.Next, the botnet matching module performs existing botnet detection and classification. Specifically, the centralized server detects and stores the existing botnet message queue when the centralized server is the same as the existing C & C server information or the access IP list is similar to the existing zombie list. The botnet matching module specifies three (A / B / C) behavior results that are classified in the message queue as flag bits so that the botnet behavior analysis (BBA) module can quickly recognize them. The three types of action result flags are as described above.

VDNS 체크 모듈은 트래픽 수집 관리 모듈에 의해 수집된 트래픽이 Domain 기반 트래픽인 경우 VDNS(Virtual DNS) 여부를 체크한다. VDNS는 공격자가 임의로 운영하는 DNS로서 이를 이용하면 Dynamic DNS를 이용하지 않고도 C&C 서버 도메인의 IP를 쉽게 변경할 수 있다. 이때 요청되는 도메인은 대부분 정상 DNS 쿼리시에는 리턴되지 않는 경우가 많으므로, VDNS 체크 모듈은 정상 DNS 테이블과 매칭하여 VDNS 여부를 체크하고 새로이 탐지된 VDNS 쿼리 정보를 메시지 큐에 저장하여 봇넷 구성 분석 모듈 및 봇넷 행위 분석 모듈이 참고할 수 있도록 한다.If the traffic collected by the traffic collection management module is domain-based traffic, the VDNS check module checks whether VDNS (Virtual DNS) is present. VDNS is a DNS operated by an attacker and can be used to easily change the IP of a C & C server domain without using Dynamic DNS. Since most of the requested domains are not returned during normal DNS queries, the VDNS check module checks the VDNS by matching the normal DNS table, and stores the newly detected VDNS query information in the message queue to analyze the botnet configuration module. And botnet behavior analysis module for reference.

도 3은 트래픽 분류 모듈의 트래픽 분류 과정을 도시한 도이다. 도 2에 도시한 바와 같이, 트래픽 분류 모듈의 트래픽 분류 과정은 수집관리 프로시저, 봇넷 매칭 프로시저, VDNS 체크 프로시저로 이루어진다.3 is a diagram illustrating a traffic classification process of the traffic classification module. As shown in FIG. 2, the traffic classification process of the traffic classification module includes a collection management procedure, a botnet matching procedure, and a VDNS check procedure.

1. 수집 관리 프로시저1. Collection Management Procedures

트래픽 정보 수집 센서로부터 수집된 트래픽 중 유효 트래픽을 수집/분류 관리 정책에 따라 필터가 필터링한 후, 트래픽 수집 관리 모듈이 상기 수집/분류 관리 정책에 따라 중앙 집중적인 접속 특성을 가지는 트래픽을 수집한다(ST100 내지 ST120).After the filter filters valid traffic among the traffic collected from the traffic information collection sensor according to the collection / classification management policy, the traffic collection management module collects traffic having a centralized access characteristic according to the collection / classification management policy ( ST100 to ST120).

이후 트래픽 수집 관리 모듈은 C&C 기반 좀비리스트와 탐지시스템 요청 트래픽을 분류한다. C&C기반 좀비리스트는 동일 C&C를 기준으로 연결 요청한 좀비들의 IP 목록을 나타내고, 탐지시스템 요청 트래픽은 봇넷 구성 분석 모듈에 의해 요청된 신규 봇넷에 대한 행위 트래픽으로서 C&C 통신 프로토콜의 컨텐츠 정보를 나타낸다.The traffic collection management module then classifies the C & C based zombie list and detection system request traffic. The C & C-based zombie list represents the IP list of the zombies who requested the connection based on the same C & C, and the detection system request traffic represents the content information of the C & C communication protocol as behavior traffic for the new botnet requested by the botnet configuration analysis module.

C&C 기반 좀비리스트는 봇넷 매칭을 위하여 일정 대기시간동안 동일 C&C를 기준으로 유입되는 좀비 IP 리스트들을 추가적으로 열거한다(ST130). 설정된 대기시간 이후 열거된 IP 리스트 개수가 임계값을 초과하면 봇넷 매칭을 수행한다(ST140). 한편, IP 리스트 개수가 임계값에 미치지 못할 경우에도, 관제시스템의 공유정보에 의하여 업데이트되는 C&C서버 블랙리스트와 매칭하여 봇넷의 트래픽이라 판단될 때에도 다음 단계로 봇넷 매칭을 수행한다(ST150).The C & C based zombie list additionally enumerates zombie IP lists introduced based on the same C & C for a certain waiting time for botnet matching (ST130). If the number of enumerated IP lists after the set waiting time exceeds a threshold, botnet matching is performed (ST140). On the other hand, even when the number of IP lists does not reach the threshold, botnet matching is performed as a next step even when it is determined that the traffic of the botnet is matched with the C & C server blacklist updated by the sharing information of the control system (ST150).

먼저, “접속 Dst IP/Port”와 “C&C서버 IP/Port”를 매칭하는데, C&C서버 IP/Port의 블랙리스트는 관제시스템의 공유정보에 의하여 업데이트되며, C&C서버 도메인의 블랙리스트 업데이트는 필요하지 않다. 또한, “요청 도메인에 대한 응답 IP”와 “DNS 싱크홀 IP”를 매칭하는데, DNS 싱크홀 IP 리스트는 관제시스템의 공유정보가 아니고 봇넷 탐지 시스템이 사전에 보유하고 있어야 하는 고정된 리스트이다. 구체적으로, 1) 관제시스템에 의해 최종 판단된 C&C 서버의 도메인을 추출하여, 2) 타 ISP들과 정보를 공유하고, 3) 모든 ISP가 해당 도메인에 대한 DNS 싱크홀을 적용한 후, 4) 해당 도메인을 요청하는 트래픽을 수집(센서)하면, 5) 해당 요청 도메인의 응답 IP가 싱크홀 IP일 때 좀비의 행위로 판단한다. ST130 내지 ST150의 모든 경우에 있어 결국 봇넷 트래픽 여부를 판별할 수 없다면 해당 트래픽은 무효 처리한다. 상기와 같이 트래픽 정보 수집 센서에 의해 수집되는 여러 트래픽들 의 규정된 데이터 포맷 형태를 유지하면서 동일 C&C서버를 기준으로 좀비 IP 리스트를 업데이트한다.First of all, “Connect Dst IP / Port” and “C & C Server IP / Port” are matched. The blacklist of C & C server IP / Port is updated by the shared information of the control system, and the blacklist update of C & C server domain is not necessary. not. It also matches “response IP for request domain” and “DNS sinkhole IP”. The DNS sinkhole IP list is not a shared information of the control system but a fixed list that the botnet detection system should have in advance. Specifically, 1) extract the domain of the C & C server finally determined by the control system, 2) share information with other ISPs, 3) apply all DNS sinkholes for the domain, and 4) When the traffic requesting the domain is collected (sensored), 5) when the response IP of the requesting domain is the sinkhole IP, it is determined as an action of the zombie. In all cases of ST130 to ST150, if it is impossible to determine whether or not botnet traffic, the traffic is invalidated. As described above, the zombie IP list is updated based on the same C & C server while maintaining a prescribed data format of various traffic collected by the traffic information collecting sensor.

2. 봇넷 매칭 프로시저2. Botnet Matching Procedure

상기한 바와 같이, 봇넷 매칭 모듈은 IP/Port 기반 트래픽 및 HTTP hash 기반 트래픽에 대하여 중앙집중 서버 정보와 기존 C&C서버 정보를 비교한다. 또한, 접속 클라이언트 IP 리스트와 기존 좀비리스트를 비교하여, 수집된 트래픽에 대하여 신종 봇넷 구성, 기존 봇넷 확장(A 플래그), C&C서버 재접속 및 에그 다운로드(B 플래그), C&C서버 이주 및 기타 주요 봇넷 행위(C 플래그)들로 분류하여 각 메시지 큐에 저장한다(ST160 내지 ST180).As described above, the botnet matching module compares centralized server information with existing C & C server information for IP / Port based traffic and HTTP hash based traffic. It also compares access client IP lists with existing zombie lists to configure new botnets, collect existing botnets (A flag), reconnect C & C servers and download eggs (B flag), migrate C & C servers, and other major botnet behaviors for collected traffic. The data is classified into (C flags) and stored in each message queue (ST160 to ST180).

3. VDNS 체크 프로시저3. VDNS check procedure

VDNS 체크 모듈은 Domain 기반 트래픽에 대하여 수집/분류 관리 정책에 의하여 VDNS 여부를 체크하여 새로운 도메인 쿼리 정보를 메시지 큐에 저장한다(ST190).The VDNS check module checks the VDNS status according to the collection / classification management policy for the domain-based traffic and stores new domain query information in the message queue (ST190).

도 4는 본 발명에 따른 봇넷 구성 분석 모듈의 구성도이다.4 is a block diagram of a botnet configuration analysis module according to the present invention.

임시 구성 로그는 트래픽 수집 관리 모듈로부터 분류된 트래픽 정보(Domain, Dst_IP/Port, Dst_URL_len)를 수신하여 저장한다. 한편, 미분류 서버 접속 IP 리스트 로그는 C&C 분석 및 탐지 모듈에서 정상 트래픽으로 분류된 Domain, IP/Port 및 URL 등을 저장하고 그 결과를 분석 결과 로그에 전송한다.The temporary configuration log receives and stores classified traffic information (Domain, Dst_IP / Port, Dst_URL_len) from the traffic collection management module. Meanwhile, the unclassified server access IP list log stores domains, IP / Ports and URLs classified as normal traffic in the C & C analysis and detection module, and transmits the results to the analysis result log.

C&C 분석 및 탐지 모듈은 임시 구성 로그로부터 분석에 필요한 트래픽 정보를 주기적으로 읽어 Domain, Dst_IP/Port 및 URL별 유사도를 분석한다. 먼저, Domain 유사도 분석은, 주기적으로 임시 구성 로그로부터 Domain 정보를 읽어 각 Domain별로 요청한 소스 IP들을 매트릭스에 기록한 후 특정 시간이 지난 후 매트릭스를 분석하여 유사도를 측정하여 좀비 IP 리스트를 생성한다. 다음으로, Dst_IP/Port 유사도 분석은, 주기적으로 임시 구성 로그로부터 Dst_IP/Port 정보를 읽어 각 IP/Port 조합과 매칭되는 패킷을 전송한 소스 IP들을 매트릭스에 기록한 후 특정 시간이 지난 후 매트릭스를 분석하여 유사도를 측정하여 좀비 IP 리스트를 생성한다. 또한, URL 유사도 분석은, 주기적으로 임시 구성 로그로부터 Dst_URL 정보를 읽어 각 URL별로 요청한 소스 IP들을 매트릭스에 기록한 후 특징 시간이 지난 후 매트릭스를 분석하여 유사도를 측정하여 좀비 IP 리스트를 생성한다. 한편, 접속 프로토콜(커맨드) 분석은 트래픽 정보 수집 센서로부터 샘플링된 트래픽 정보를 받아 각 봇넷들의 접속 프로토콜(커맨드)를 분석하며, 이 과정에서 봇넷 행위로 탐지된 트래픽은 C&C 추출 모듈로 전송한다.The C & C analysis and detection module periodically reads traffic information needed for analysis from the temporary configuration log and analyzes similarity by domain, Dst_IP / Port, and URL. First, domain similarity analysis periodically reads domain information from a temporary configuration log, records source IPs requested for each domain in a matrix, and analyzes the matrix after a specific time to generate a zombie IP list. Next, the Dst_IP / Port similarity analysis periodically reads the Dst_IP / Port information from the temporary configuration log, records the source IPs that transmit packets matching each IP / Port combination, and analyzes the matrix after a specific time. The similarity is measured to generate a zombie IP list. In addition, URL similarity analysis periodically reads the Dst_URL information from the temporary configuration log, records the source IPs requested for each URL in a matrix, and analyzes the matrix after the feature time has elapsed to generate a zombie IP list. On the other hand, access protocol (command) analysis receives the traffic information sampled from the traffic information collection sensor and analyzes the access protocol (command) of each botnet, and in this process, the traffic detected by the botnet behavior is transmitted to the C & C extraction module.

C&C 추출 모듈은 C&C 분석 및 탐지 모듈에서 탐지된 봇넷 트래픽을 전송받아 추출된 C&C를 저장하고, 분석을 마친 트래픽은 다시 좀비리스트 추출 모듈로 전송한다.The C & C extraction module receives the botnet traffic detected by the C & C analysis and detection module, stores the extracted C & C, and sends the analyzed traffic back to the zombie list extraction module.

좀비리스트 추출 모듈은 C&C 추출 모듈에서 봇넷 트래픽을 전송받아 봇넷으로 탐지된 URL에 접근하는 좀비리스트를 추출하여 분석결과 로그에 저장한다.The zombie list extraction module receives botnet traffic from the C & C extraction module and extracts a zombie list that accesses the URL detected by the botnet and stores it in the analysis result log.

구성 이벤트 트리거는 각 모듈에서 분석된 결과를 종합하여 로그 관리자에게 전송하고, 분석 결과에서 추후 정책에 사용될 트리거 메시지를 생성하여 이벤트 트리거에 전송한다.The configuration event trigger aggregates the analysis results of each module and sends them to the log manager. The analysis result generates a trigger message to be used in a later policy and sends it to the event trigger.

도 5는 본 발명에 따른 봇넷 행위 분석 모듈의 구성도이다.5 is a block diagram of a botnet behavior analysis module according to the present invention.

공격 행위 분석 모듈은 Egg downoad 행위, DDoS 공격 행위, Spamming 공격 행위 및 Spying 공격 행위를 분석한다.Attack behavior analysis module analyzes Egg downoad behavior, DDoS attack behavior, Spamming attack behavior, and Spying attack behavior.

Egg download 행위는 B 플래그 및 C 플래그에 해당하는 것으로, 좀비들이 추가 공격모듈을 다운로드하는 형태를 지닌다. 이때, 좀비들의 다운로드 목적은, 1) 세부 공격 수행 모듈 다운로드, 2) 스팸 발송을 위한 메일주소 및 메일콘텐츠 템플릿 다운로드, 그리고 3) 기타 다운로드(자가 업데이트를 위한 패치파일 다운로드 및 타 악성코드 제거를 위한 백신 다운로드 등)을 들 수 있다. Egg download 행위는 일정시간동안 발생하는 패킷당 평균 수신트래픽량을 비교 검사함으로써 이루어지며, 직접적으로 C&C 서버로부터 다운로드하는 행위(B 플래그)와 우회적으로 타 다운로드 전용 서버로부터 다운로드하는 행위(C 플래그) 모두 분석 가능하다.The egg download action corresponds to the B flag and the C flag, in the form of zombies downloading additional attack modules. At this time, the purpose of the download of the zombies is 1) to download the detailed attack execution module, 2) to download the e-mail address and mail content template for sending spam, and 3) to download the patch file for self-update and to remove other malicious code. Vaccine downloads, etc.). Egg download is performed by comparing and checking the average amount of received traffic per packet during a certain period of time. Both downloading directly from C & C server (B flag) and bypassing downloading from other download-only server (C flag) Analysis is possible.

DDoS 공격 행위는 C 플래그에 해당하는 것으로, 분산 서비스 거부 공격을 나타낸다. DDoS 공격 행위는 동일 전송트래픽의 주기적인 발생 여부를 검사함으로써 이루어진다.DDoS attack behavior corresponds to the C flag, indicating a distributed denial of service attack. DDoS attack is performed by checking whether the same transmission traffic is occurred periodically.

Spamming 공격 행위는 C 플래그에 해당하는 것으로, 좀비들이 스팸메일을 발송하는 행위를 나타낸다. Spamming 공격 행위는 SMTP(25번 포트) 서버로 발송되는 메일 전송트래픽의 발생 여부를 검사함으로써 분석 가능하다. 좀비 호스트가 직접(direction) 발송하는 경우, 메일 주소 도메인의 IP 요청을 위하여 MX 쿼리 타입의 DNS(53번 포트) 트래픽이 발생하며, 메일 릴레이(relay) 서버를 통하여 발송하는 경우에는 MX 쿼리 행위가 발생하지 않게 된다.Spamming attacks correspond to the C flag, which indicates that zombies send spam. Spamming attack behavior can be analyzed by checking whether a mail transmission traffic is sent to SMTP (port 25) server. When a zombie host sends a direction, MX query type DNS (port 53) traffic is generated for an IP request of a mail address domain. When sending through a mail relay server, an MX query action is performed. It does not occur.

Spying 공격 행위는 C 플래그에 해당하는 것으로, 좀비들이 개인정보를 탈취하는 행위를 나타낸다. Spying 공격 행위는 일정 시간동안 발생하는 패킷당 평균 송신 트래픽량, 즉 업로드 트래픽을 비교 검사함으로써 분석 가능하다.Spying attacks correspond to the C flag, indicating that zombies steal personal information. Spying attack behavior can be analyzed by comparing and checking the average amount of transmission traffic per packet, that is, uploading traffic, over a certain period of time.

확산/이주 행위 분석 모듈은 Growth 행위, Rally 행위, Migration 행위 및 Propagation 행위를 분석한다.The diffusion / migration behavior analysis module analyzes growth behavior, rally behavior, migration behavior, and propagation behavior.

Growth 행위는 봇넷 확장 행위로 A 플래그에 해당한다. 기존 C&C 서버로 접속하는 신규 좀비 IP를 발견할 경우 Growth 행위, 즉 봇넷 확장행위로 분류한다. 이때 판단의 기준이 되는 행위 트래픽은 불필요하며 중앙집중형 트래픽만으로 분류가 가능하다. 다만, Growth 행위로 판단되면 이때 수집된 Channel 및 URL 정보를 봇넷 구성 분석 모듈에 전달한다.The growth behavior is the botnet expansion behavior, which corresponds to the A flag. When a new zombie IP is found that connects to an existing C & C server, it is classified as a growth behavior, that is, a botnet expansion behavior. In this case, the behavioral traffic that is the basis of the judgment is unnecessary and can be classified only as the centralized traffic. However, if determined to be a growth behavior, it transmits the collected channel and URL information to the botnet configuration analysis module.

Rally 행위는 C&C 서버 재접속 및 접속유지 행위로 B 플래그에 해당한다. IRC 봇과 HTTP 봇의 Rally 행위는 그 주기가 상이한데, IRC 봇의 경우 로그아웃 전까지는 기본적으로는 TCP 접속을 유지하지만 네트워크 이상이나 사용자의 시스템 강제종료시 재접속해야 하는 반면, HTTP 봇은 매 접속시마다 TCP 재접속하여야 한다. 좀비들이 TCP 재접속시 DNS 쿼리를 다시 발생시키는데, 일부 좀비는 한번 DNS 쿼리로 얻은 IP를 자신의 메모리에 기억하고 재차 질의하지 않는다(하지만, C&C 서버의 IP가 바뀌어 접속이 실패할 경우에는 재질의해야 함). 또한, C&C 서버와의 통신(명령 전달 및 제어)으로 Rally와 유사한 트래픽이 발생할 수도 있다. 한편, C&C 서버가 이주하여 IP가 바뀌더라도 기존 좀비들과 접속을 유지하기 위하여 공격자는 C&C서버의 도메인을 Dynamic DNS로 등록시킨다. 여기서 Dynamic DNS란 IP가 바뀔 때마다 해당 도메인에 대한 DNS 테이블을 변경시켜 IP를 재등록하는 것을 말한다. Rally 행위는 C&C 서버에 재접속하거나 기존 접속을 유지하려는 트래픽을 모니터링하여 판단한다. Growth 행위와 마찬가지로, Rally 행위로 판단되면 이때 수집된 Channel 및 URL 정보를 봇넷 구성 분석 모듈에 전달한다.The rally action corresponds to the B flag as the C & C server reconnect and maintain connection action. Rally behavior of IRC bots and HTTP bots is different.The IRC bot maintains a TCP connection by default until logout, but requires a reconnection in case of network failure or user shutdown. TCP must be reconnected. Zombies reissue DNS queries when reconnecting to TCP, and some zombies remember the IP obtained by DNS query once in their memory and do not query again (but if the C & C server's IP is changed and the connection fails, there is a problem. box). In addition, communication with the C & C server (command delivery and control) may generate traffic similar to Rally. On the other hand, even if the C & C server is migrated and the IP is changed, the attacker registers the domain of the C & C server with Dynamic DNS in order to maintain connection with existing zombies. Here, Dynamic DNS means re-registering the IP by changing the DNS table for the corresponding domain whenever the IP is changed. Rally behavior is determined by monitoring traffic that attempts to reconnect to the C & C server or maintain an existing connection. As in the growth behavior, when determined to be a rally behavior, the collected channel and URL information is transmitted to the botnet configuration analysis module.

Migration 행위는 C&C 서버를 이주하는 행위로서 C 플래그에 해당한다. 기존 좀비들이 새로운 IP를 가지는 C&C로 접속하는 행위를 바탕으로 분류한다. 만일 활동중이던 C&C 서버가 봇넷 탐지 시스템에 의해 탐지될 경우 공격자는 다른 서버로 이주시킬 수 있으며, 이주 후 C&C 서버 IP는 변경되지만 Dynamic DNS 서비스로 인하여 기존 좀비들과의 통신은 중단되지 않는다. Migration 행위로 판단되면 이때 수집된 Channel 및 URL 정보 또한 추출하여 새로운 C&C서버의 정보를 업데이트한다.The migration action is to migrate the C & C server, which corresponds to the C flag. Based on the behavior of existing zombies accessing C & C with a new IP. If the active C & C server is detected by the botnet detection system, the attacker can migrate to another server. After migration, the C & C server IP is changed, but the communication with existing zombies is not interrupted by the Dynamic DNS service. If it is determined to be a migration, it extracts the channel and URL information collected at this time and updates the information of the new C & C server.

Propagation 행위는 봇 악성코드를 전파하는 행위를 나타낸다. Propagation 행위는 단일 목적지로의 중앙집중형 트래픽으로는 분석할 수 없으며, 취약 포트 스캐닝 후 전파되거나 스캐닝 과정 없이 곧바로 악성코드를 전파될 수 있다. Propagation 행위는 하나의 좀비가 다중 IP의 취약포트들로 스캐닝 과정없이 접근을 시도하는 행위로서 스캐닝 여부와 상관없이 나타나는 특징이 있으므로, 단일 Src(좀비) IP에서 다중 Dst IP들로 전송되는 트래픽의 유무를 검사함으로써 분석 가능하다.Propagation acts to propagate bot malware. Propagation behavior cannot be analyzed with centralized traffic to a single destination, and can be propagated after scanning vulnerable ports or can be propagated immediately without scanning. Propagation acts as one zombie attempts to access the vulnerable ports of multiple IP without scanning process. It is characterized by whether it is scanned or not. Therefore, there is no traffic sent from a single Src (zombie) IP to multiple Dst IPs. It can be analyzed by checking.

행위 이벤트 트리거는 각 모듈에서 분석된 결과를 종합하여 로그 관리자에 전송하며, 분석 결과에서 추후 정책에 사용될 트리거 메시지를 생성하여 이벤트 트 리거에 전송한다.The action event trigger aggregates the results analyzed in each module and sends them to the log manager. From the analysis results, a trigger message to be used in a later policy is generated and sent to the event trigger.

도 6은 트래픽 정보 수집 센서와 봇넷 탐지 시스템 및 관제 시스템 간의 송수신 데이터 흐름도이다.6 is a flowchart of transmission and reception data between the traffic information collecting sensor, the botnet detection system, and the control system.

도 6에 도시한 바와 같이, 트래픽 정보 수집 센서로부터 전달되는 수집 트래픽 데이터는 중앙집중형 트래픽 데이터로 Class O-1(Domain 기반 트래픽)과 Class 0-2(IP/Port 기반 트래픽) 및 Class 0-3(URL hash 기반 트래픽)을 포함하고, 행위트래픽 데이터로 Class B-1 내지 6을 포함한다. 또한, 봇넷 탐지 시스템, 구체적으로 봇넷 구성 분석 모듈로부터 전달되는 행위트래픽 수집 요청 데이터는 수집 대상 좀비리스트를 전달하는 Class R로 표현된다. 또한, 봇넷 탐지 시스템으로부터 관제 시스템으로 전달되는 탐지 결과 데이터는, 봇넷의 초기 구성단계 탐지 결과인 Class O-1, 봇넷의 초기 구성단계로 의심될만한 비정상 트래픽 탐지 결과인 Class O-2, 그리고 봇넷의 행위 분류 결과인 Class B-1 내지 8을 포함한다.As shown in FIG. 6, the collected traffic data transmitted from the traffic information collection sensor is centralized traffic data, Class O-1 (Domain-based traffic), Class 0-2 (IP / Port-based traffic), and Class 0- 3 (URL hash based traffic) and Class B-1 to 6 as behavior traffic data. In addition, the behavior traffic collection request data transmitted from the botnet detection system, specifically, the botnet configuration analysis module, is expressed as Class R for delivering the zombie list to be collected. In addition, the detection data transmitted from the botnet detection system to the control system includes Class O-1, which is the initial configuration of the botnet, Class O-2, which is suspected of the initial configuration of the botnet, and It includes Class B-1 to 8 as a result of behavior classification.

도 7은 트래픽 수집 관리 모듈에 의해 수집된 트래픽 정보의 전송 데이터 포맷을 나타낸 도이다. 트래픽 수집 관리 모듈에 의하여 감지된 중앙집중형 트래픽의 기본적인 가공 데이터 포맷은 하나의 C&C 서버 정보를 기준으로 이에 접속하는 좀비들의 IP를 열거하는 형식으로 생성한다. 한편, 신규 봇넷 구성 정보는 봇넷 구성 분석 모듈로 전달되고, 기존 봇넷 행위 정보는 봇넷 행위 분석 모듈로 전달된다.7 is a diagram illustrating a transmission data format of traffic information collected by the traffic collection management module. The basic processing data format of the centralized traffic detected by the traffic collection management module is generated in the form of enumerating IPs of zombies connected to it based on information of one C & C server. Meanwhile, the new botnet configuration information is transmitted to the botnet configuration analysis module, and the existing botnet behavior information is transmitted to the botnet behavior analysis module.

먼저, Domain 기반 트래픽의 경우, 헤더에는 Time(트래픽 발생시간)이 기록되고, 중앙집중 서버(봇넷의 C&C 서버) 필드에는 C&C Domain(C&C 서버의 DNS 쿼리 도메인명)과 C&C IP(이때의 응답 IP)가 기록된다. 또한, 서버 접속 호스트(봇넷의 좀비리스트) 필드에는 Count(발견된 총 Src 개체수), Time Window(처음 좀비 발생부터 마지막 좀비 발생까지의 시간 구간) 및 좀비 IP 리스트(접속한 총 좀비들의 IP 리스트)가 기록된다. 이때, 중앙집중 서버 필드의 값은 C&C 서버와의 직접 통신 트래픽이 아닌 DNS서버와의 통신 트래픽으로부터 수집하며, 수집 대상 포트번호는 53번 포트이다.First, in case of Domain-based traffic, Time (Traffic occurrence time) is recorded in the header, and C & C Domain (C & C server's DNS query domain name) and C & C IP (Response IP at this time) in the centralized server (C & C server of botnet) field. ) Is recorded. Also, the Server Connection Host (Zombie List on Botnet) field contains Count (total number of Src objects found), Time Window (time interval from first zombie outbreak to last zombie outbreak), and Zombie IP List (IP List of Total Zombies Connected). Is recorded. At this time, the value of the centralized server field is collected from the communication traffic with the DNS server, not the direct communication traffic with the C & C server, and the collecting target port number is port 53.

다음으로, IP/Port 기반 트래픽의 경우, 헤더에는 역시 Time(트래픽 발생시간)이 기록되고, 중앙집중 서버(봇넷의 C&C 서버) 필드에는 C&C IP(C&C 서버의 IP)와 C&C Port(접속 포트번호)가 기록된다. 또한, 서버 접속 호스트(봇넷의 좀비리스트) 필드에는 Count(발견된 총 Src 개체수), Time Window(처음 좀비 발생부터 마지막 좀비 발생까지의 시간 구간) 및 좀비 IP 리스트(접속한 총 좀비들의 IP 리스트)가 기록된다. 이때, 중앙집중 서버 필드의 값은 C&C 서버와의 직접 통신 트래픽으로부터 수집되며, 수집 대상 포트번호는 모든 포트가 된다.Next, in case of IP / Port based traffic, Time (Traffic occurrence time) is also recorded in the header, and C & C IP (C & C Server's IP) and C & C Port (Access port number) in the centralized server (C & C server of botnet) field. ) Is recorded. Also, the Server Connection Host (Zombie List on Botnet) field contains Count (total number of Src objects found), Time Window (time interval from first zombie outbreak to last zombie outbreak), and Zombie IP List (IP List of Total Zombies Connected). Is recorded. At this time, the value of the centralized server field is collected from direct communication traffic with the C & C server, and the collection target port numbers are all ports.

다음으로, URL hash 기반 트래픽의 경우, 헤더에는 역시 Time(트래픽 발생시간)이 기록되고, 중앙집중 서버(봇넷의 C&C 서버) 필드에는 C&C IP(C&C 서버의 IP)와 URL hash(동일 C&C 서버의 요청 HTTP URL 문자열 길이)가 기록된다. 또한, 서버 접속 호스트(봇넷의 좀비리스트) 필드에는 Count(발견된 총 Src 개체수), Time Window(처음 좀비 발생부터 마지막 좀비 발생까지의 시간 구간) 및 좀비 IP 리스트(접속한 총 좀비들의 IP 리스트)가 기록된다. 이때, 중앙집중 서버 필드의 값은 C&C 서버와의 직접 통신 트래픽으로부터 수집되며, 수집 대상 포트번호는 모든 포트가 된다.Next, for URL hash-based traffic, the header also records Time, and the centralized server (C & C server on the botnet) field contains the C & C IP (the IP of the C & C server) and the URL hash (the same C & C server). Request HTTP URL string length). Also, the Server Connection Host (Zombie List on Botnet) field contains Count (total number of Src objects found), Time Window (time interval from first zombie outbreak to last zombie outbreak), and Zombie IP List (IP List of Total Zombies Connected). Is recorded. At this time, the value of the centralized server field is collected from direct communication traffic with the C & C server, and the collection target port numbers are all ports.

한편, 각각의 트래픽은 행위 정보의 세가지 분류를 위한 2비트 플래그 설정하는데, 상기 플래그는 중앙집중 서버가 C&C 서버와 일치하는지 여부를 나타내는 비트값과 접속 IP 리스트가 기존 좀비리스트와 일치하는지 여부를 나타내는 비트값으로 구성할 수 있다.Meanwhile, each traffic sets a 2-bit flag for three classifications of behavior information. The flag indicates a bit value indicating whether the centralized server matches the C & C server and whether the access IP list matches the existing zombie list. It can be configured as a bit value.

도 8은 행위 트래픽 정보의 데이터 포맷을 나타낸 도로서, 트래픽 정보 감지 센서로부터 봇넷 탐지 시스템, 구체적으로 봇넷 행위 분석 모듈로 전송되는 행위 트래픽 정보의 데이터 포맷을 나타낸 도이다. 기본적으로 모든 데이터 포맷은 하나의 Dst 서버 정보를 기준으로 이에 접속하는 Src IP들의 리스트를 열거하는 형식으로 생성된다.FIG. 8 is a diagram illustrating a data format of behavior traffic information and illustrates a data format of behavior traffic information transmitted from a traffic information sensor to a botnet detection system, specifically, a botnet behavior analysis module. Basically, all data formats are created in the form of enumerating a list of Src IPs connected to one Dst server information.

헤더의 local ID는 탐지시스템에서 관리하는 지역적인 봇넷 ID를 나타내며, Time은 트래픽 발생 시간을 나타낸다. 또한, 행위 트래픽 정보는 각 행위 분석 및 정의를 위한 BOA의 요청트래픽 정보를 나타낸다.The local ID in the header represents the local botnet ID managed by the detection system, and the time represents the traffic generation time. In addition, the behavior traffic information represents the request traffic information of the BOA for each behavior analysis and definition.

먼저, Channel/URL string 전달 포맷(Class B-1)의 경우, 봇넷 타입(프로토콜) 구분 필드에 IRC 또는 HTTP 봇넷 프로토콜을 명시하고, string은 IRC 봇넷의 경우 Channel로 해석되고 HTTP 봇넷의 경우 URL로 해석된다. 만일, 서로 다른 string들이 발견되는 경우 센서는 오직 하나만을 선별하여 전송해주어야 하는데, 모든 샘플링된 좀비들을 대상으로 가장 발생 빈도수가 높은 접속 Channel/URL을 선별한다. IRC 봇넷의 경우 모든 좀비들의 접속 Channel은 거의 동일하며, HTTP 봇넷의 경우 정상 사용자가 동일 C&C 서버로 접속을 시도할 경우 그 URL은 봇넷이 이용하는 URL과 상이하다.First, for the Channel / URL string delivery format (Class B-1), specify the IRC or HTTP botnet protocol in the botnet type (protocol) identification field, and the string is interpreted as a channel for the IRC botnet and a URL for the HTTP botnet. Interpreted If different strings are found, the sensor must select and transmit only one, and select the highest frequency of access channel / URL for all sampled zombies. In the case of IRC botnets, the access channels of all zombies are almost the same. In the case of HTTP botnets, if the normal user tries to connect to the same C & C server, the URL is different from the URL used by the botnet.

또한, Sending/Receiving Traffic 전달 포맷(Class B-2)은 송신 트래픽의 패킷 당 평균 데이터볼륨(byte) 크기와 수신 트래픽의 패킷 당 평균 데이터볼륨(byte) 크기를 포함한다. 또한, MX Query list 전달 포맷(Class B-3)은 샘플링된 전체 탐지대상 좀비들 가운데 MX 쿼리를 발생시킨 좀비 개체수의 비율(MX 쿼리 좀비수 %)를 포함하며, Dst Port 25 list 전달 포맷(Class B-4)은 샘플링된 전체 탐지대상 좀비들 가운데 SMTP(25번 포트) 서버로의 전송트래픽을 발생시킨 좀비 개체수의 비율(Dst Port 25 좀비수 %)를 포함한다.In addition, the Sending / Receiving Traffic transmission format (Class B-2) includes an average data volume (byte) size per packet of transmission traffic and an average data volume (byte) size per packet of reception traffic. In addition, the MX Query list delivery format (Class B-3) includes the ratio of the number of zombie individuals that generated MX queries among the total detected zombies (% of MX query zombies), and the Dst Port 25 list delivery format (Class B-4) includes the ratio of zombie populations (Dst Port 25 zombie number%) that generated the transmission traffic to the SMTP (port 25) server among all the sampled zombies sampled.

Sending Frequency 전달 포맷(Class B-5)은 각 좀비들의 동시간대에 걸친 동일패킷 발송 빈도의 분포를 구하는 척도(송신 빈도 분포량)을 포함하는데, 이는 탐지 이후 DDoS 공격 저장을 위하여 필요한 정보이다. Sending Frequency 전달 포맷은 또한 DDoS 공격 프로토콜(ICMP 기반일 경우는 제외)을 포함한다. 공격대상 IP/Port 정보는 이미 탐지된 중앙집중형 트래픽 정보로부터 추출할 수 있다.The Sending Frequency Delivery Format (Class B-5) includes a measure (distribution frequency distribution) for determining the distribution of the same packet sending frequency over the same time period for each zombie, which is necessary information for storing DDoS attacks after detection. The Sending Frequency delivery format also includes the DDoS attack protocol (except when based on ICMP). Attack target IP / Port information can be extracted from the centralized traffic information detected.

Multi-connection list 전달 포맷(Class B-6)은, 샘플링된 전체 탐지대상 좀비들 가운데 다중의 IP로 접속요청 트래픽을 발생시킨 좀비 개체수의 비율(다중 접속 좀비수 %)을 포함하는데, 이는 탐지 이후 Propagation 행위 저장을 위하여 필요한 정보이다. 또한, Multi-connection list 전달 포맷은 접근 시도한 공격대상 호스트의 포트번호들(최대 10개)을 포함한다. 이때, 포트번호는 공격자가 침투하려 했던 취약점을 파악하기 위한 좋은 단서를 제공하며, 주로 접근한 Top 10 포트번호만 명시하도록 한다.The multi-connection list delivery format (Class B-6) contains the percentage of zombie populations (% multi-connected zombies) that generated connection request traffic to multiple IPs among all the sampled zombies sampled. Information necessary for storing propagation actions. In addition, the multi-connection list transfer format includes port numbers (maximum of 10) of the attacking host that attempted access. At this time, the port number provides a good clue to identify the vulnerability that the attacker attempted to infiltrate, and specify only the top 10 port numbers accessed.

도 9는 행위 트래픽 요청데이터의 포맷을 나타낸 도로서, 봇넷 구성 분석 모 듈로부터 트래픽 정보 수집 센서로 전송되는 행위 트래픽 요청 데이터의 포맷을 나타낸 도이다. 행위 트래픽 요청 데이터는 봇넷 구성 분석 모듈의 봇넷 구성 분석을 통하여 탐지된 봇넷의 행위 트래픽을 트래픽 정보 수집 센서에 자동으로 요청하는데, 봇넷 행위 트래픽 수집을 위하여 일부 좀비들의 활동만을 감지하도록 한다. 또한, 봇넷 탐지 시스템은 트래픽 정보 수집 센서가 감지해야 할 좀비리스트를 미리 샘플링하여 제공하도록 한다.9 is a diagram illustrating the format of behavior traffic request data, which is a diagram illustrating the format of behavior traffic request data transmitted from the botnet configuration analysis module to the traffic information collection sensor. The behavior traffic request data automatically requests the traffic information collection sensor for the detected botnet's behavior traffic through the botnet configuration analysis of the botnet configuration analysis module, and detects only some zombie activity for botnet behavior traffic collection. In addition, the botnet detection system allows the traffic information collecting sensor to pre-sample and provide a zombie list to be detected.

행위 트래픽 요청 데이터 포맷(Class R)은, 헤더에 local ID(행위 트래픽 수집을 요청할 좀비들이 속한 봇넷 ID)를 포함하고, Count(샘플링된 좀비 개체수)와 Sampled Zombie IP list(샘플링된 좀비 IP 리스트)를 포함한다.The behavior traffic request data format (Class R) includes a local ID (botnet ID of the zombies to which the zombies to request collection of behavior traffic belong) in the header, and includes Count (sampled zombie population) and Sampled Zombie IP list. It includes.

도 10은 봇넷 행위 정보의 데이터 포맷을 나타낸 도이다. 각각의 데이터 포멧은 헤더에 local ID(탐지시스템 인식용 지역적인 봇넷 ID 번호)와 Time(행위 발생 시간)를 포함한다.10 is a diagram illustrating a data format of botnet behavior information. Each data format includes a local ID (local botnet ID number for detection system identification) and a Time (action occurrence time) in the header.

먼저, 봇넷 Growth 행위 정보(Class B-1)는 Count(신규 좀비 개체수)와 Zombie IP List(신규 좀비 IP 리스트)를 포함하며, 봇넷 Rally 행위 정보(Class B-2)는 Count(활성 좀비 개체수) 및 Zombie IP List(활성 좀비 IP 리스트)를 포함한다. 또한, 봇넷 Migration 행위 정보(Class B-3)는 IP(신규 C&C서버 IP(= Dynamic DNS 쿼리의 새로운 응답 IP))와 URL(신규 C&C서버 URL(웹서버의 경우))를 포함한다. 봇넷 DDoS 행위 정보(Class B-4)는 Domain(피해시스템 도메인명(DNS 쿼리 발생의 경우))과 IP(피해시스템 IP (= DNS 쿼리의 응답 IP)), Port(피해시스템 포트번호(TCP/UDP 공격의 경우)) 및 Protocol(공격 프로토콜 (TCP | UDP | ICMP))을 포함 한다. 봇넷 Spamming 행위 정보(Class B-5)는 Domain(메일 릴레이 서버 도메인명(릴레이의 경우 DNS 쿼리 발생시))과 IP(메일 릴레이 서버 IP(릴레이의 경우))를 포함한다. 이때, 봇이 릴레이 서버를 경유하지 않고 직접 발송하는 경우 IP는 기본값 ‘0’을 갖는다. 또한, 봇넷 Spying 행위 정보(Class B-6)는 Domain(DNS 쿼리 도메인명(DNS 쿼리 발생의 경우)), IP(접속 서버 IP(= DNS 쿼리의 응답 IP)), Port(접속 서버 포트번호), URL(접속 서버 URL(웹서버의 경우)) 및 Protocol(접속 프로토콜(TCP|UDP))을 포함한다. 또한, 봇넷 Egg download 행위 정보(Class B-7)는 Domain(DNS 쿼리 도메인명(DNS 쿼리 발생의 경우)), IP(접속 서버 IP(= DNS 쿼리의 응답 IP)), Port(접속 서버 포트번호), URL(접속 서버 URL(웹서버의 경우)), Protocol(접속 프로토콜(TCP|UDP)), Filename(다운로드 파일 이름(호스트 기반 탐지시스템과 연동)), Filesize(다운로드 파일 크기(호스트 기반 탐지시스템과 연동))를 포함한다. 마지막으로, 봇넷 Propagation 행위 정보(Class B-8)는 Port list(Top 10 접속 포트 리스트(= 취약성 공격 대상 포트))를 포함한다.First, the botnet growth behavior information (Class B-1) includes Count (new zombie population) and Zombie IP List, and the botnet behavior behavior information (Class B-2) includes Count (active zombie population). And a Zombie IP List. In addition, the botnet migration behavior information (Class B-3) includes an IP (new C & C server IP (= new response IP for Dynamic DNS query)) and a URL (new C & C server URL (for web servers)). Botnet DDoS behavior information (Class B-4) includes Domain (damage system domain name (for DNS query generation)), IP (damage system IP (= response IP of DNS query)), and Port (damage system port number (TCP / UDP attack)) and Protocol (Attack Protocol (TCP | UDP | ICMP)). Botnet Spamming behavior information (Class B-5) includes Domain (mail relay server domain name (when DNS query occurs in case of relay)) and IP (mail relay server IP (in case of relay)). At this time, when the bot sends directly without passing through the relay server, the IP has a default value of '0'. In addition, botnet spying behavior information (Class B-6) includes Domain (DNS query domain name (for DNS query occurrence)), IP (access server IP (= response IP of DNS query)), and Port (access server port number). , URL (access server URL (for web servers)) and Protocol (connection protocol (TCP | UDP)). In addition, botnet egg download behavior information (Class B-7) includes Domain (DNS query domain name (for DNS query occurrence)), IP (access server IP (= response IP of DNS query)), and Port (access server port number). ), URL (access server URL (for web servers)), Protocol (connection protocol (TCP | UDP)), Filename (download file name (in conjunction with host-based detection systems)), Filesize (download file size (host-based detection) Interworking with the system). Finally, the botnet propagation behavior information (Class B-8) contains a Port list (Top 10 connection port list (= vulnerability target port)).

본 발명의 바람직한 실시예가 특정 용어들을 사용하여 기술되어 왔지만, 그러한 기술은 오로지 설명을 하기 위한 것이며, 다음의 청구범위의 기술적 사상 및 범위로부터 이탈되지 않고서 여러가지 변경 및 변화가 가해질 수 있는 것으로 이해되어져야 한다.While the preferred embodiments of the present invention have been described using specific terms, such descriptions are for illustrative purposes only and it should be understood that various changes and modifications can be made without departing from the spirit and scope of the following claims. do.

도 1은 본 발명에 따른 봇넷 탐지 시스템의 구성도이다.1 is a block diagram of a botnet detection system according to the present invention.

도 2는 본 발명에 따른 트래픽 분류 모듈의 구성도이다.2 is a block diagram of a traffic classification module according to the present invention.

도 3은 본 발명에 따른 트래픽 분류 모듈의 트래픽 분류 과정을 도시한 흐름도이다.3 is a flowchart illustrating a traffic classification process of the traffic classification module according to the present invention.

도 4는 본 발명에 따른 봇넷 구성 분석 모듈의 구성도이다.4 is a block diagram of a botnet configuration analysis module according to the present invention.

도 5는 본 발명에 따른 봇넷 행위 분석 모듈의 구성도이다.5 is a block diagram of a botnet behavior analysis module according to the present invention.

도 6은 트래픽 정보 수집 센서와 봇넷 탐지 시스템 및 관제 시스템 간의 송수신 데이터 흐름도이다.6 is a flowchart of transmission and reception data between the traffic information collecting sensor, the botnet detection system, and the control system.

도 7은 트래픽 수집 관리 모듈에 의해 수집된 트래픽 정보의 전송 데이터 포맷을 나타낸 도이다.7 is a diagram illustrating a transmission data format of traffic information collected by the traffic collection management module.

도 8은 행위 트래픽 정보의 데이터 포맷을 나타낸 도이다.8 is a diagram illustrating a data format of behavior traffic information.

도 9는 행위 트래픽 요청데이터의 포맷을 나타낸 도이다.9 is a diagram illustrating a format of behavior traffic request data.

도 10은 봇넷 행위 정보의 데이터 포맷을 나타낸 도이다.10 is a diagram illustrating a data format of botnet behavior information.

Claims (12)

Domain 기반 트래픽, IP/Port 기반 트래픽 및 URL hash 기반 트래픽을 포함하는 중앙집중형 접속 특성을 갖는 트래픽을 수집하고 수집된 트래픽의 봇넷 여부를 판별하는 트래픽 분류 모듈(TC), 상기 트래픽 분류 모듈(TC)에 의해 수집되어 봇넷으로 분류된 트래픽의 구성 분석을 수행하는 봇넷 구성 분석 모듈(BOA) 및 상기 트래픽 분류 모듈(TC)에 의해 수집되어 봇넷으로 분류된 트래픽의 행위 분석을 수행하는 봇넷 행위 분석 모듈(BBA)을 포함하는 봇넷 탐지 시스템에서, IRC 봇넷 및 HTTP 봇넷의 행위 유형을 분석 및 분류하는 방법으로서,A traffic classification module (TC) for collecting traffic having a centralized connection characteristic including domain-based traffic, IP / port-based traffic, and URL hash-based traffic, and determining whether the collected traffic is a botnet; Botnet configuration analysis module (BOA) for performing configuration analysis of traffic collected by botnet and classified into botnets and botnet behavior analysis module for conducting behavior analysis of traffic collected by the traffic classification module (TC) In a botnet detection system that includes (BBA), a method of analyzing and classifying the types of behavior of IRC botnets and HTTP botnets, 다수의 트래픽 정보 수집 센서에 의해 수집된 상기 중앙집중적 접속 특성을 갖는 트래픽을 수집하는 제 1 단계;A first step of collecting traffic having the centralized connection characteristic collected by a plurality of traffic information collecting sensors; 상기 수집된 트래픽이 IP/Port 기반 트래픽 및 URL hash 기반 트래픽 중 어느 하나인 경우 기존에 탐지된 봇넷 정보와 비교하여 상기 트래픽을 기존 봇넷 및 신종 봇넷 중 어느 하나로 봇넷 매칭하는 제 2 단계;A second step of matching the traffic to any one of an existing botnet and a new botnet by comparing the detected botnet information with any one of IP / Port based traffic and URL hash based traffic; 상기 트래픽 수집 관리 모듈에 의해 수집된 트래픽 중 Domain 기반 트래픽에 대하여 VDNS(Virtual DNS) 여부를 체크하는 제 3 단계; 및A third step of checking whether a virtual DNS (VDNS) is applied to domain-based traffic among the traffic collected by the traffic collection management module; And 탐지된 봇넷의 행위 트래픽을 기반으로 하여 봇넷의 행위 유형별로 분류하는 제 4 단계를 포함하는 것을 특징으로 하는 네트워크 기반의 IRC 및 HTTP 봇넷 행위 분석 방법.And a fourth step of classifying the behavior type of the botnet based on the detected traffic of the botnet. 제 1 항에 있어서,The method of claim 1, 상기 제 2 단계가,The second step, 상기 트래픽의 중앙집중 서버가 상기 봇넷 정보의 C&C서버 정보와 상이하고 상기 트래픽의 접속 클라이언트 IP 리스트가 상기 봇넷 정보의 좀비리스트와 상이한 경우 상기 트래픽을 신종 봇넷 메시지 큐에 저장하는 제 2-1 단계;A second step of storing the traffic in a new botnet message queue when the centralized server of the traffic is different from the C & C server information of the botnet information and the access client IP list of the traffic is different from the zombie list of the botnet information; 상기 트래픽의 중앙집중 서버가 상기 봇넷 정보의 C&C 서버 정보와 일치하고 상기 트래픽의 접속 클라이언트 IP 리스트가 상기 봇넷 정보의 좀비리스트와 상이한 경우, 상기 트래픽을 봇넷 확장 행위로 구분하여 별도의 플래그를 부여하고 기존 봇넷 메시지 큐에 저장하는 제 2-2 단계;If the centralized server of the traffic matches the C & C server information of the botnet information and the access client IP list of the traffic is different from the zombie list of the botnet information, the traffic is divided into botnet expansion actions and given a separate flag. Step 2-2 storing the existing botnet message queue; 상기 트래픽의 중앙집중 서버가 상기 봇넷 정보의 C&C 서버 정보와 일치하고 상기 트래픽의 접속 클라이언트 IP 리스트가 상기 봇넷 정보의 좀비리스트와 유사한 경우, 상기 트래픽을 C&C서버 재접속 및 에그 다운로드 행위로 구분하여 별도의 플래그를 부여하고 기존 봇넷 메시지 큐에 저장하는 제 2-3 단계; 및When the centralized server of the traffic matches the C & C server information of the botnet information, and the access client IP list of the traffic is similar to the zombie list of the botnet information, the traffic is divided into a C & C server reconnection and an egg download action. Granting a flag and storing it in an existing botnet message queue; And 상기 트래픽의 중앙집중 서버가 상기 봇넷 정보의 C&C 서버 정보와 상이하고 상기 트래픽의 접속 클라이언트 IP 리스트가 상기 봇넷 정보의 좀비리스트와 유사한 경우, 상기 트래픽을 C&C서버 이주 및 기타 주요 봇넷 행위로 구분하여 별도의 플래그를 부여하여 기존 봇넷 메시지 큐에 저장하는 제 2-4 단계를 포함하는 것을 특징으로 하는 네트워크 기반의 IRC 및 HTTP 봇넷 행위 분석 방법.When the centralized server of the traffic is different from the C & C server information of the botnet information and the access client IP list of the traffic is similar to the zombie list of the botnet information, the traffic is divided into C & C server migration and other main botnet behaviors. Method of analyzing the network-based IRC and HTTP botnet behavior, characterized in that the step 2-4 to give a flag of the existing botnet message queue. 제 1 항에 있어서,The method of claim 1, 상기 제 4 단계가,The fourth step, 탐지된 봇넷에 대하여 상기 트래픽 정보 수집 센서에게 추가적인 행위 트래픽을 요청하는 제 4-1 단계를 포함하는 것을 특징으로 하는 네트워크 기반의 IRC 및 HTTP 봇넷 행위 분석 방법.And a step 4-1 of requesting additional behavior traffic from the traffic information collecting sensor for the detected botnet. 제 1 항에 있어서,The method of claim 1, 상기 제 4 단계가,The fourth step, 좀비가 추가 공격모듈을 다운로드하는 행위 유형인 에그 다운로드(Egg downoad) 행위, 좀비의 분산 서비스 거부 공격 행위 유형인 DDoS 공격 행위, 좀비가 스팸메일을 발송하는 행위 유형인 스패밍(Spamming) 공격 행위 및 좀비들이 개인정보를 탈취하는 행위 유형인 스파잉(Spying) 공격 행위를 포함하는 공격 행위를 분석 및 분류하는 제 4-2 단계;Egg downoad, a type of zombie downloading additional attack modules, DDoS attack, a type of zombie distributed denial of service attack, Spaming attack, type of zombie sending spam, and zombie A step 4-2 of analyzing and classifying an attacking behavior including a spying attacking behavior, which is a type of activity of stealing personal information; 봇넷 확장 행위인 그로스(Growth) 행위, C&C 서버 재접속 및 접속유지 행위인 랠리(Rally) 행위, C&C 서버를 이주하는 행위인 마이그레이션(Migration) 행위 및 봇 악성코드를 전파하는 행위인 프로파게이션(Propagation) 행위를 포함하는 확산/이주 행위를 분석 및 분류하는 제 4-3 단계; 및Growth, botnet expansion, Rally, reconnecting and maintaining C & C servers, migration, migrating C & C servers, and propagation, propagating bot malware 4-3) analyzing and classifying a spreading / migrating activity including the act; And 상기 제 4-2 단계 및 상기 제 4-3 단계의 분석된 결과를 종합하여 로그 관리 자에게 전송하는 제 4-4 단계를 포함하는 것을 특징으로 하는 네트워크 기반의 IRC 및 HTTP 봇넷 행위 분석 방법.Method 4-4, the network-based IRC and HTTP botnet behavior analysis method comprising the step of 4-4 and the step of combining the analyzed results of the step 4-3 and the log manager. 제 4 항에 있어서,The method of claim 4, wherein 상기 제 4-2 단계가,The fourth step 2, 일정 시간 동안 발생하는 패킷당 평균 수신 트래픽량을 비교 검사하여 에그 다운로드 행위를 분석 및 분류하는 제 4-5 단계;A step 4-5 of analyzing and classifying egg download behavior by comparing and checking an average amount of received traffic per packet occurring for a predetermined time; 동일 전송트래픽의 주기적인 발생 여부를 검사하여 DDoS 공격 행위를 분석 및 분류하는 제 4-6 단계;Step 4-6 of analyzing and classifying DDoS attack behavior by checking whether the same transmission traffic is periodically generated; SMTP(25번 포트) 서버로 발송되는 메일 전송 트래픽의 발생 여부를 검사하여 스패밍 공격 행위를 분석 및 분류하는 제 4-7 단계; 및Steps 4 to 7 analyzing and classifying spamming attack behavior by checking whether mail transmission traffic sent to the SMTP (port 25) server is generated; And 일정 시간 동안 발생하는 패킷당 평균 송신 트래픽량을 비교 검사하여 스파잉 공격 행위를 분석 및 분류하는 제 4-8 단계를 포함하는 것을 특징으로 하는 네트워크 기반의 IRC 및 HTTP 봇넷 행위 분석 방법.And a fourth step of analyzing and classifying spying attack behaviors by comparing and checking an average amount of transmission traffic per packet occurring for a predetermined time period. 제 5 항에 있어서,The method of claim 5, 상기 제 4-5 단계에서,In the above 4-5 step, 좀비가 C&C 서버로부터 직접 다운로드하는 행위 및 타 다운로드 전용 서버로 부터 우회적으로 다운로드하는 행위를 모두 분석하는 것을 특징으로 하는 네트워크 기반의 IRC 및 HTTP 봇넷 행위 분석 방법.A method for analyzing network-based IRC and HTTP botnet behaviors, which analyzes both zombies downloading directly from the C & C server and bypassing downloads from other download-only servers. 제 4 항에 있어서,The method of claim 4, wherein 상기 제 4-3 단계가,Step 4-3, 기존 C&C 서버로 접속하는 신규 좀비 IP를 모니터링하여 그로스 행위로 분류하는 제 4-9 단계;Steps 4-9 of monitoring new zombie IPs connecting to the existing C & C server and classifying them as gross behaviors; C&C 서버에 재접속하거나 기존 접속을 유지하려는 트래픽을 모니터링하여 랠리 행위로 분류하는 제 4-10 단계;Step 4-10 of monitoring the traffic to be reconnected to the C & C server or maintaining the existing connection and classifying it as a rally action; 기존 좀비가 새로운 IP를 가지는 C&C로 접속하는 행위를 모니터링하여 마이그레이션 행위로 분류하는 제 4-11 단계; 및Step 4-11 of monitoring existing zombie access to C & C having a new IP and classifying it as a migration action; And 단일 소스(Src) IP에서 다중 데스티네이션(Dst) IP들로 전송되는 트래픽을 모니터링하여 프로파게이션 행위로 분류하는 제 4-12 단계를 포함하는 것을 특징으로 하는 네트워크 기반의 IRC 및 HTTP 봇넷 행위 분석 방법.Network-based IRC and HTTP botnet behavior analysis comprising steps 4-12 that monitor and classify traffic transmitted from a single source (Src) IP to multiple destination (Dst) IPs as provisioning behavior Way. 제 7 항에 있어서,The method of claim 7, wherein 상기 제 4-9 단계 내지 상기 제 4-11 단계가,Steps 4-9 to 4-11, Channel 및 URL 정보를 수집하여 봇넷 구성 분석 모듈에 전송하는 제 4-13 단계를 포함하는 것을 특징으로 하는 네트워크 기반의 IRC 및 HTTP 봇넷 행위 분석 방법.A method for analyzing network-based IRC and HTTP botnet behavior, comprising the step of 4-13 collecting channel and URL information and transmitting the collected channel and URL information to the botnet configuration analysis module. 제 1 항에 있어서,The method of claim 1, 상기 봇넷의 행위 트래픽의 데이터 포맷이,The data format of the behavioral traffic of the botnet is 탐지시스템에서 관리하는 지역적인 봇넷 ID 및 트래픽 발생 시간을 포함하는 헤더와, 각 행위 분석 및 정의를 위한 요청 트래픽 정보를 포함하는 행위 트래픽 정보 필드를 포함하는 것을 특징으로 하는 네트워크 기반의 IRC 및 HTTP 봇넷 행위 분석 방법.A network-based IRC and HTTP botnet comprising a header including a local botnet ID and traffic generation time managed by the detection system, and a behavior traffic information field including request traffic information for each behavior analysis and definition. Behavior analysis method. 제 9 항에 있어서,The method of claim 9, 상기 행위 트래픽 정보 필드가,The behavior traffic information field is Channel/URL string 전달 포맷의 경우, IRC 및 HTTP 봇넷 프로토콜을 구분하는 봇넷 타입, 그리고 IRC 봇넷의 Channel String 및 HTTP 봇넷의 URL string 중 어느 하나를 포함하는 String을 포함하고,The Channel / URL string delivery format includes a botnet type that distinguishes between IRC and HTTP botnet protocols, and a String including any one of a channel string of an IRC botnet and a URL string of an HTTP botnet, Sending/Receiving Traffic 전달 포맷의 경우, 송신 트래픽의 패킷 당 평균 데이터 볼륨 크기 및 수신 트래픽의 패킷 당 평균 데이터 볼륨 크기를 포함하고,For the Sending / Receiving Traffic forwarding format, it includes the average data volume size per packet of outgoing traffic and the average data volume size per packet of incoming traffic, MX Query list 전달 포맷의 경우, 샘플링된 전체 탐지대상 좀비 중 MX 쿼리 를 발생시킨 좀비 개체수의 비율을 포함하고,In the case of the MX Query list delivery format, it includes the ratio of the number of zombie individuals that generated MX queries out of all the detected zombies sampled, Dst Port 25 list 전달 포맷의 경우, 샘플링된 전체 탐지 대상 좀비 중 SMTP(25번 포트) 서버로의 전송 트래픽을 발생시킨 좀비 개체수의 비율을 포함하고,For the Dst Port 25 list forwarding format, contains the ratio of zombie populations that generated transport traffic to the SMTP (port 25) server out of all detected zombie samples, Sending Frequency 전달 포맷의 경우, 각 좀비의 동일 시간대에 걸친 동일 패킷 발송 빈도량을 포함하고,For the Sending Frequency delivery format, include the same packet sending frequency over the same time zone for each zombie, Multi-connection list 전달 포맷의 경우, 샘플링된 전체 탐지 대상 좀비 중 다중의 IP로 접속 요청 트래픽을 발생한 좀비 개체수의 비율을 포함하는 것을 특징으로 하는 네트워크 기반의 IRC 및 HTTP 봇넷 행위 분석 방법.In the case of a multi-connection list transmission format, a network-based IRC and HTTP botnet behavior analysis method comprising the ratio of the number of zombie individuals that generate connection request traffic to multiple IPs among all the detected zombies sampled. 제 3 항에 있어서,The method of claim 3, wherein 상기 행위 트래픽을 요청하는 행위 트래픽 요청 데이터의 포맷이,The format of the behavior traffic request data requesting the behavior traffic is 행위 트래픽 수집을 요청할 좀비가 속한 봇넷 ID를 포함하는 헤더, 샘플링된 좀비 개체 수 및 샘플링된 좀비 IP 리스트를 포함하는 것을 특징으로 하는 네트워크 기반의 IRC 및 HTTP 봇넷 행위 분석 방법.A network-based IRC and HTTP botnet behavior analysis method comprising a header including a botnet ID to which a zombie to request collection of behavior traffic belongs, a number of sampled zombies and a sampled zombie IP list. 제 4 항에 있어서,The method of claim 4, wherein 상기 제 4-4 단계에서 분석된 봇넷의 행위 정보를 전송하고, 상기 봇넷의 행 위 정보의 데이터 포맷이,Transmitting the behavior information of the botnet analyzed in step 4-4, and the data format of the behavior information of the botnet, 봇넷 에그 다운로드 행위 정보의 경우, 탐지시스템 인식을 위한 지역적 봇넷 ID 번호 및 봇넷 행위 발생 시간을 포함하는 헤더, DNS 쿼리 도메인명, DNS 쿼리에 대한 응답 IP, 접속 서버의 포트번호, 접속 서버의 URL, 접속 프로토콜, 좀비가 다운로드한 파일 이름 및 좀비가 다운로드한 파일 크기를 포함하고,For botnet egg download behavior information, the header contains the local botnet ID number and the time when the botnet behavior occurred, the DNS query domain name, the response IP for the DNS query, the port number of the access server, the URL of the access server, Including connection protocols, filenames downloaded by zombies, and file sizes downloaded by zombies, 봇넷 DDoS 행위 정보의 경우, 탐지시스템 인식을 위한 지역적 봇넷 ID 번호 및 봇넷 행위 발생 시간을 포함하는 헤더, 피해시스템의 도메인명, IP(피해시스템의 IP, 피해시스템의 포트번호 및 공격 프로토콜을 포함하고,In the case of botnet DDoS behavior information, it includes a header containing the local botnet ID number for the detection system and the time of the botnet behavior, the domain name of the victim system, the IP (the victim system's IP, the victim's port number, and the attack protocol). , 봇넷 스패밍 행위 정보의 경우, 탐지시스템 인식을 위한 지역적 봇넷 ID 번호 및 봇넷 행위 발생 시간을 포함하는 헤더, 메일 릴레이 서버의 도메인명 및 메일 릴레이 서버의 IP를 포함하고,In the case of botnet spamming information, the header includes a local botnet ID number for detecting the detection system and a header including the time of the botnet behavior occurrence, the domain name of the mail relay server, and the IP of the mail relay server. 봇넷 스파잉 행위 정보의 경우, 탐지시스템 인식을 위한 지역적 봇넷 ID 번호 및 봇넷 행위 발생 시간을 포함하는 헤더, DNS 쿼리 도메인명, DNS 쿼리의 응답 IP, 접속 서버의 포트번호, 접속 서버의 URL 및 접속 프로토콜을 포함하고,In the case of botnet spying behavior information, a header containing the local botnet ID number and botnet behavior occurrence time for detection system identification, DNS query domain name, DNS query response IP, access server port number, access server URL and access Including protocols, 봇넷 그로스 행위 정보의 경우, 탐지시스템 인식을 위한 지역적 봇넷 ID 번호 및 봇넷 행위 발생 시간을 포함하는 헤더, 신규 좀비의 개체 수 및 신규 좀비의 IP 리스트를 포함하고,For botnet gross behavior information, it includes a header containing the local botnet ID number and the botnet behavior occurrence time for detection system recognition, the number of new zombie population and the IP list of new zombie, 봇넷 랠리 행위 정보의 경우, 탐지시스템 인식을 위한 지역적 봇넷 ID 번호 및 봇넷 행위 발생 시간을 포함하는 헤더, 활성 좀비의 개체 수 및 활성 좀비의 IP 리스트를 포함하고,For botnet rally behavior information, it includes a header containing the local botnet ID number and botnet behavior occurrence time for detection system identification, the number of active zombies and the IP list of active zombies, 봇넷 마이그레이션 행위 정보의 경우, 탐지시스템 인식을 위한 지역적 봇넷 ID 번호 및 봇넷 행위 발생 시간을 포함하는 헤더, 신규 C&C 서버의 IP 및 신규 C&C 서버의 URL을 포함하고,For botnet migration behavior information, include a header containing the local botnet ID number and botnet behavior occurrence time for detection system identification, the IP of the new C & C server, and the URL of the new C & C server, 봇넷 프로파게이션 행위 정보의 경우, 탐지시스템 인식을 위한 지역적 봇넷 ID 번호 및 봇넷 행위 발생 시간을 포함하는 헤더 및 취약 공격대상 포트인 상위 접속 포트의 리스트를 포함하는 것을 특징으로 하는 네트워크 기반의 IRC 및 HTTP 봇넷 행위 분석 방법.In the case of botnet provisioning behavior information, a network-based IRC including a header containing a local botnet ID number for detecting a detection system and a botnet behavior occurrence time, and a list of upper access ports which are vulnerable target ports; How to analyze HTTP botnet behavior.
KR1020080132962A 2008-12-24 2008-12-24 Method for analyzing behavior of irc and http botnet based on network KR101045331B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020080132962A KR101045331B1 (en) 2008-12-24 2008-12-24 Method for analyzing behavior of irc and http botnet based on network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020080132962A KR101045331B1 (en) 2008-12-24 2008-12-24 Method for analyzing behavior of irc and http botnet based on network

Publications (2)

Publication Number Publication Date
KR20100074504A true KR20100074504A (en) 2010-07-02
KR101045331B1 KR101045331B1 (en) 2011-06-30

Family

ID=42637016

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080132962A KR101045331B1 (en) 2008-12-24 2008-12-24 Method for analyzing behavior of irc and http botnet based on network

Country Status (1)

Country Link
KR (1) KR101045331B1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101036750B1 (en) * 2011-01-04 2011-05-23 주식회사 엔피코어 System for blocking zombie behavior and method for the same
KR101351998B1 (en) * 2011-03-30 2014-01-15 주식회사 케이티 Method and apparatus for detecting botnet
KR101487476B1 (en) * 2012-11-05 2015-01-29 주식회사 시큐아이 Method and apparatus to detect malicious domain
KR101538374B1 (en) * 2011-07-29 2015-07-22 한국전자통신연구원 Cyber threat prior prediction apparatus and method
US20210092142A1 (en) * 2016-02-25 2021-03-25 Imperva, Inc. Techniques for targeted botnet protection

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11640420B2 (en) 2017-12-31 2023-05-02 Zignal Labs, Inc. System and method for automatic summarization of content with event based analysis
US11755915B2 (en) 2018-06-13 2023-09-12 Zignal Labs, Inc. System and method for quality assurance of media analysis
US11356476B2 (en) 2018-06-26 2022-06-07 Zignal Labs, Inc. System and method for social network analysis

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100615080B1 (en) 2005-12-15 2006-08-25 주식회사 정보보호기술 A method for automatic generation of rule-based detection patterns about the bots and worms in the computer network
US20080307526A1 (en) 2007-06-07 2008-12-11 Mi5 Networks Method to perform botnet detection

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101036750B1 (en) * 2011-01-04 2011-05-23 주식회사 엔피코어 System for blocking zombie behavior and method for the same
US9060016B2 (en) 2011-01-04 2015-06-16 Npcore Inc. Apparatus and method for blocking zombie behavior process
KR101351998B1 (en) * 2011-03-30 2014-01-15 주식회사 케이티 Method and apparatus for detecting botnet
KR101538374B1 (en) * 2011-07-29 2015-07-22 한국전자통신연구원 Cyber threat prior prediction apparatus and method
KR101487476B1 (en) * 2012-11-05 2015-01-29 주식회사 시큐아이 Method and apparatus to detect malicious domain
US20210092142A1 (en) * 2016-02-25 2021-03-25 Imperva, Inc. Techniques for targeted botnet protection

Also Published As

Publication number Publication date
KR101045331B1 (en) 2011-06-30

Similar Documents

Publication Publication Date Title
US20200344246A1 (en) Apparatus, system and method for identifying and mitigating malicious network threats
KR101045331B1 (en) Method for analyzing behavior of irc and http botnet based on network
US8943586B2 (en) Methods of detecting DNS flooding attack according to characteristics of type of attack traffic
US8042182B2 (en) Method and system for network intrusion detection, related network and computer program product
US9591020B1 (en) System and method for signature generation
CN110730175B (en) Botnet detection method and detection system based on threat information
US8683585B1 (en) Using file reputations to identify malicious file sources in real time
US9628508B2 (en) Discovery of suspect IP addresses
US7873998B1 (en) Rapidly propagating threat detection
CN105915532B (en) A kind of recognition methods of host of falling and device
US8776217B2 (en) Methods and apparatus for detecting unwanted traffic in one or more packet networks utilizing string analysis
US20060129810A1 (en) Method and apparatus for evaluating security of subscriber network
JP2003527793A (en) Method for automatic intrusion detection and deflection in a network
KR20000054538A (en) System and method for intrusion detection in network and it's readable record medium by computer
KR20100075043A (en) Management system for security control of irc and http botnet and method thereof
KR101045330B1 (en) Method for detecting http botnet based on network
Kim et al. Agent-based honeynet framework for protecting servers in campus networks
JP2024023875A (en) Inline malware detection
JP2002342276A (en) System and method for detecting network intrusion
KR101045556B1 (en) Method for detecting irc botnet based on network
Prasad et al. Flooding attacks to internet threat monitors (ITM): modeling and counter measures using botnet and honeypots
KR100977827B1 (en) Apparatus and method detecting connection mailcious web server system
Bharti et al. A Review on Detection of Session Hijacking and Ip Spoofing.
von Eye et al. Detecting stealthy backdoors and port knocking sequences through flow analysis
US20230362176A1 (en) System and method for locating dga compromised ip addresses

Legal Events

Date Code Title Description
A201 Request for examination
N231 Notification of change of applicant
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20140703

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20150617

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee