Docsity

IPS & IDS system i.e Snort, Papers of Computer Security

Toggle sidebar
bg1
Research and design of the distributed intrusion
detection system based on Snort
Zhao Kai
Network Information Ce nter
Zibo vocational institute
Zibo,shandong,china,255314
Abstract—By using centralized network intrusion detection
system based on Snort, t his paper expounds the con structing
ideas and realization methods of Snort-based di stributed
intrusion detection sy stem framework in networks. T he tentative
idea is to unify distri buted detection and centr alized management
by the hierarchical distributed structure, and thereby effectively
solve security threats that the campus network is facing.
Keywords- Intrusion detection;Snort
I. INTRODUCTION
Sub-IDS-units compose the distributed intrusion
detection system. Their roles in the system can be similar or
different, and the way for them to constitute a system is
through collaboration rather than simple stack. A distributed
intrusion detection system usually has four parts.
(1) event generator: responsible for extracting safety-
related data from network flow, and, according to the
predetermined methods and mechanism of data processing,
analyzing the data and detecting incidents[1].
(2) information transceiver: responsible for providing
service for data communications between the event generator
and management controller, and meanwhile performing
certain functions of information processing and management
control.
(3) management controller: responsible for data analysis,
incidents detection and incidents response by predetermined
methods and mechanism based on the information submitted
by transceiver, also responsible for management and control
of information transceivers and event generators in its charge.
(4) events rule library: mainly responsible for generating
and providing invasion-features-related incident and safety
rules.
II. RESEARCH AND DESIGN OF THE DISTRIBUTED
INTRUSION DETECTION SYSTEM BASED ON SNORT
From the view of system integration, a research on
network-oriented Snort-based distributed network intrusion
detection system was implemented. Overall design principles,
objectives, frame structure, module partition and module
design were analyzed and studied. In the research process,
some enterprise networks were presented as examples[2].
A. System Design Objective
As for the specific design, intrusion detection system can
be functionally divided into four basic parts according to the
requirements of CIDF model: data acquisition subsystem, data
analysis subsystem, console subsystem, database management
subsystem[3].
In accordance with overall goals and requirements of
development based on open source code, further design and
development of distributed network intrusion detection system
will first proceed on the basis of the existing Snort system
platform.
The overall system design objectives are stated as follows:
(1) network intrusion detection with a distributed structure
Because the backbone network traffic is too heavy,
whatever intrusion detection equipment installation at the
outlet couldn't handle so many data. A distributed system
structure must the adopted. The detectors distributed in the
network collect data, and then gather processed results, which
is also the only current feasible method for intrusion detection
system to survive in large-scale network[4].
(2) improve Snort system user interface
DOS user interface in Snort system will be improved and
GUI interface based on browser will be provided. Users are
allowed to access IDS for related information using any
computer online[5]. Web browsers via the standard HTTP
protocol instead of simple character interface are adopted,
which ensures visualization and convenience. The complete
IDS systems will involve a variety of system software
installation and configuration. In order to facilitate users’
installation, automatic installation realized by packing is
adopted to simplify user installation and configure process[6].
B. System design flow
The" PHP" and" JavaScrip t" script technology, can
achieve access to the database and webpage information
dynamic, real-time updating display. Design of main process
as shown in Figure 1.
2012 International Conference on Computer Science and Electronics Engineering
978-0-7695-4647-6/12 $26.00 © 2012 IEEE
DOI 10.1109/ICCSEE.2012.310
525
pf3

Partial preview of the text

Download IPS & IDS system i.e Snort and more Papers Computer Security in PDF only on Docsity!

Research and design of the distributed intrusion

detection system based on Snort

Zhao Kai

Network Information Center Zibo vocational institute Zibo,shandong,china, [email protected]

Abstract —By using centralized network intrusion detection system based on Snort, this paper expounds the constructing ideas and realization methods of Snort-based distributed intrusion detection system framework in networks. The tentative idea is to unify distributed detection and centralized management by the hierarchical distributed structure, and thereby effectively solve security threats that the campus network is facing.

Keywords- Intrusion detection;Snort

I. I NTRODUCTION

Sub-IDS-units compose the distributed intrusion detection system. Their roles in the system can be similar or different, and the way for them to constitute a system is through collaboration rather than simple stack. A distributed intrusion detection system usually has four parts.

(1) event generator: responsible for extracting safety- related data from network flow, and, according to the predetermined methods and mechanism of data processing, analyzing the data and detecting incidents[1]^.

(2) information transceiver: responsible for providing service for data communications between the event generator and management controller, and meanwhile performing certain functions of information processing and management control.

(3) management controller: responsible for data analysis, incidents detection and incidents response by predetermined methods and mechanism based on the information submitted by transceiver, also responsible for management and control of information transceivers and event generators in its charge.

(4) events rule library: mainly responsible for generating and providing invasion-features-related incident and safety rules.

II. RESEARCH AND DESIGN OF THE DISTRIBUTED INTRUSION DETECTION SYSTEM BASED ON SNORT From the view of system integration, a research on network-oriented Snort-based distributed network intrusion detection system was implemented. Overall design principles, objectives, frame structure, module partition and module design were analyzed and studied. In the research process, some enterprise networks were presented as examples[2].

A. System Design Objective

As for the specific design, intrusion detection system can be functionally divided into four basic parts according to the requirements of CIDF model: data acquisition subsystem, data analysis subsystem, console subsystem, database management subsystem[3]^.

In accordance with overall goals and requirements of development based on open source code, further design and development of distributed network intrusion detection system will first proceed on the basis of the existing Snort system platform.

The overall system design objectives are stated as follows:

(1) network intrusion detection with a distributed structure

Because the backbone network traffic is too heavy, whatever intrusion detection equipment installation at the outlet couldn't handle so many data. A distributed system structure must the adopted. The detectors distributed in the network collect data, and then gather processed results, which is also the only current feasible method for intrusion detection system to survive in large-scale network[4]^.

(2) improve Snort system user interface

DOS user interface in Snort system will be improved and GUI interface based on browser will be provided. Users are allowed to access IDS for related information using any computer online [5]

. Web browsers via the standard HTTP protocol instead of simple character interface are adopted, which ensures visualization and convenience. The complete IDS systems will involve a variety of system software installation and configuration. In order to facilitate users’ installation, automatic installation realized by packing is adopted to simplify user installation and configure process[6]^.

B. System design flow

The" PHP" and" JavaScript" script technology, can achieve access to the database and webpage information dynamic, real-time updating display. Design of main process as shown in Figure 1.

2012 International Conference on Computer Science and Electronics Engineering

978-0-7695-4647-6/12 $26.00 © 2012 IEEE DOI 10.1109/ICCSEE.2012.

525

FIG. 1 System design flow

III. DESIGN OF O VERALL SYSTEM FRAMEWORK AND MODULES Overall framework of the distributed intrusion detection system based on Snort is as shown in figure 2 below.

FIG. 2 overall system framework Combining with the system design principle, a complete system mainly includes the following aspects:

(1) Data acquisition subsystem (sensor) and data analysis subsystem constitute data collection and analysis center. Snort system based on Windows platform, Snort-2.8.1-win32, is chosen as design platform. In order to manifest principles of accuracy, comprehensiveness and integrity, WinPcap 3.1 is used as the probe. WinPcap is a network packets interception system library which is based on the performance of the Win32. It has relatively good performance and is able to improve the accuracy of the data detection. In the data analysis subsystem, plugin modules supporting misuse detection and anomaly detection are used, which greatly improves inspection accuracy. In addition, rules of the intrusion detection rule sets can be expanded flexibly and various plug-ins module can be easily added. These manifest the design principles of easy to expand, scalable and flexible[7]^.

(2) the Console Subsystem

The popular Windows 2000 / XP is chosen as the realization platform. In the process of information collection and the exchange of information between consoles, methods such as information encryption and safe transmission method of SSL are introduced to improve security of transmission. That’s the manifestation of principles of bursttransmission and safety.

A D ATA ACQUISITION SUBSYSTEM DESIGN

(1) WinPcap Network Packets Interception System

Data acquisition system is the basis of realizing the intrusion detection system. Data acquisition subsystem is in the bottom of IDS, and provides events for other components of IDS. For safety's sake, applications except the corresponding Snort support applications need not to be installed in the sensor, lest it be attacked by loophole, causing abnormality even paralysis of the sensor. The popular WinPcap network packets of data interception system based on Win32 platform is used as bottom platform of data collection. It is equipped with two cards, one of which is set for "hybrid" mode without IP to intercept all packets in network segment and guarantee safety of the network intrusion detection system itself, while the other piece can be used as management interface to communicate with upper server.

(2) the Data Acquisition Subsystem Configuration Scheme

As the tested segment contexts in the network are connected via Ethernet switches, the configuration of data acquisition can be realized using methods as follows:

Connect the sensor directly to the SPAN port of the switch, so that monitoring of the data packet going through other ports of the switch can be realized.

Place the sensor inside switch or firewall which are the key passages for data flow.

Connect the sensor to lines that need to be tested by using tap. Thus all the information can be collected without reducing network performance.

Control packet

My SQL

WinPcap

HTTP

5HDOWLPH

PRQLWRULQJ

Internet Explorer

5HFHLYLQJWKH

DODUPLQIRUPDWLRQ

$QGJHQHUDWHV

7KHQHWZRUNGDWDSDFNHW

'DWDDQDO\VLV

$ODUP

,QIRUPDWLRQ

UHOHDVHSODWIRUP

)LUHZDOO

&RQWURO

ILUHZDOO

6HWSDJHUHIUHVKWLPHLQWHUYDO

2SHQLQIRUPDWLRQSDJHSURJUDP

&RQQHFWWRWKHGDWDEDVH

7RREWDLQWKHFRUUHVSRQGLQJ

LQIRUPDWLRQLQWKHGDWDEDVH

WKHLQIRUPDWLRQLV

GLVSOD\HGRQDZHESDJH

&ORVHGDWDEDVH

7KHPDLQSURJUDPLVVWDUWHG

526