SlideShare a Scribd company logo
1 of 34
Intrusion Detection
Outline
Introduction
 A Frame for Intrusion Detection System
 Intrusion Detection Techniques
 Ideas for Improving Intrusion Detection

What is the Intrusion Detection
 Intrusions

are the activities that violate the
security policy of system.
 Intrusion Detection is the process used to
identify intrusions.
Types of Intrusion Detection System(1)
Based on the sources of the audit information
used by each IDS, the IDSs may be classified
into
– Host-base IDSs
– Distributed IDSs
– Network-based IDSs
Types of Intrusion Detection System(2)
 Host-based

IDSs

– Get audit data from host audit trails.
– Detect attacks against a single host

 Distributed

IDSs

– Gather audit data from multiple host and possibly the

network that connects the hosts
– Detect attacks involving multiple hosts
 Network-Based

IDSs

– Use network traffic as the audit data source, relieving

the burden on the hosts that usually provide normal
computing services
– Detect attacks from network.
Intrusion Detection
Techniques
 Misuse

detection

– Catch the intrusions in terms of the

characteristics of known attacks or system
vulnerabilities.
 Anomaly

detection

– Detect any action that significantly deviates

from the normal behavior.
Misuse Detection
 Based

on known attack actions.
 Feature extract from known intrusions
 Integrate the Human knowledge.
 The rules are pre-defined
 Disadvantage:
– Cannot detect novel or unknown attacks
Misuse Detection Methods & System
Method
System
Rule-based Languages
RUSSEL,P-BEST
State Transition Analysis STAT
family(STAT,USTAT,NS
TAT,NetSTAT)
Colored Petri Automata
Expert System

IDIOT
IDES,NIDX,PBEST,ISOA

Case Based reasoning

AutiGUARD
Anomaly Detection
 Based

on the normal behavior of a subject.
Sometime assume the training audit data
does not include intrusion data.
 Any action that significantly deviates from
the normal behavior is considered intrusion.
Anomaly Detection Methods & System
Method
Statistical method

System
IDES, NIDES, EMERALD

Machine Learning techniques





Time-Based inductive Machine
Instance Based Learning
Neural Network
…

Data mining approaches

JAM, MADAM ID
Anomaly Detection Disadvantages
 Based

on audit data collected over a period
of normal operation.
– When a noise(intrusion) data in the training

data, it will make a mis-classification.
 How

to decide the features to be used. The
features are usually decided by domain
experts. It may be not completely.
Misuse Detection vs. Anomaly Detection
Advantage

Disadvantage

Misuse
Detection

Accurately and
generate much
fewer false alarm

Cannot detect
novel or unknown
attacks

Anomaly
Detection

Is able to detect
unknown attacks
based on audit

High false-alarm
and limited by
training data.
The Frame for Intrusion
Detection
Intrusion Detection Approaches
Define and extract the features of behavior
in system
2. Define and extract the Rules of Intrusion
3. Apply the rules to detect the intrusion
1.

Audit Data
3
Training
Audit Data

1

Features

2

Rules

3

Pattern matching
or Classification
Thinking about The Intrusion
Detection System
Intrusion Detection system is a pattern
discover and pattern recognition system.
 The Pattern (Rule) is the most important
part in the Intrusion Detection System


–
–
–

Pattern(Rule) Expression
Pattern(Rule) Discover
Pattern Matching & Pattern Recognition.
Machine
Learning &
Data
mining &
Statistics
methods
Traning
Audit
Data

Feature
Extraction

Training
Data &
Knowled
ge

Pattern
Extraction
Expert
Knowledge
& Rule
collection
& Rule
abstraction

Pattern &
Decision
Rule
Pattern
Matching

Alarms

Intrusion
Detection
System

Discriminate
function

Pass

Pattern
Recognition

Real-Time
Aduit data
Rule Discover Method
 Expert

System
 Measure Based method
– Statistical method
– Information-Theoretic Measures
– Outlier analysis

 Discovery

Association Rules
 Classification
 Cluster
Pattern Matching & Pattern
Recognition Methods
 Pattern

Matching
 State Transition & Automata Analysis
 Case Based reasoning
 Expert System
 Measure Based method
– Statistical method
– Information-Theoretic Measures
– Outlier analysis

 Association

Pattern
 Machine Learning method
Intrusion Detection Techniques
Intrusion Detection Techniques
 Pattern

Matching
 Measure Based method
 Data Mining method
 Machine Learning Method
Pattern Matching
 KMP-Multiple

patterns matching Algorithm

– Using keyword tree to search
– Building failure link to guarantee linear time searching

 Shift-And(Or)

pattern matching Algorithm

– A classical approximate pattern matching algorithm

 Karp-Rabin

fingerprint method

– Using the Modular arithmetic and Remainder theorem

to match pattern

…

(Such as regular expression pattern
matching)
Measure Based Method
Statistical Methods &
Information-Theoretic Measures
 Define

a set of measures to measure different
aspects of a subject of behavior. (Define Pattern)
 Generate an overall measure to reflect the
abnormality of the behavior. For example:
– statistic T2= M12+M22 +…+Mn2
– weighted intrusion score = Σ Mi*Wi
– Entropy: H(X|Y)= Σ Σ P(X|Y) (-log(P(X|Y)))

 Define

the threshold for the overall measure
Association Pattern Discover
 Goal

is to derive multi-feature (attribute)
correlations from a set of records.
 An expression of an association pattern:



The Pattern Discover Algorithm:
1.
2.

Apriori Algorithm
FP(frequent pattern)-Tree
Association Pattern Example
Association Pattern Detecting
 Statistics Approaches
– Constructing temporal statistical features from

discovered pattern.
– Using measure-based method to detect intrusion
 Pattern

Matching

– Nobody discuss this idea.
Machine Learning Method
 Time-Based

Inductive Machine

– Like Bayes Network, use the probability and a

direct graph to predict the next event

 Instance

Based Learning

– Define a distance to measure the similarity

between feature vectors

 Neural
…

Network
Classification
 This

is supervised learning. The class will
be predetermined in training phase.
 Define the character of classes in training
phase.
 A common approach in pattern recognition
system
Clustering
 This

is unsupervised learning. There are not
predetermined classes in data.
 Given a set of measurement, the aim is that
establishes the class or group in the data. It
will output the character of each class or
group.
 In the detection phase, this method will get
more time cost (O(n2)). I suggest this
method only use in pattern discover phase
Ideas for improving Intrusion
Detection
Idea 1: Association Pattern Detecting
 Using

the pattern matching algorithm to
match the pattern in sequent data for
detecting intrusion. No necessary to construct
the measure.
 But its time cost is depend on the number of
association patterns.
 It possible constructs a pattern tree to
improve the pattern matching time cost to
linear time
Idea 2: Discover Pattern from Rules
 The

exist rules are the knowledge from experts
knowledge or other system.
 The different methods will measure different
aspects of intrusions.
 Combine these rules may find other new patterns of
unknown attack.
 For example:
– Snort has a set of rule which come from different people.

The rules may have different aspects of intrusions.
– We can use the data mining or machine learning method
to discover the pattern from these rule.
Machine
Learning &
Data
mining &
Statistics
methods
Traning
Audit
Data

Feature
Extraction

Training
Data &
Knowled
ge

Pattern
Extraction
Expert
Knowledge
& Rule
collection
& Rule
abstraction

Pattern &
Decision
Rule
Pattern
Matching

Alarms

Intrusion
Detection
System

Discriminate
function

Pass

Pattern
Recognition

Real-Time
Aduit data
Reference







Lee, W., & Stolfo, S.J. (2000). A framework for constructing features and
models for intrusion detection systems. ACM Transactions on Information and
System Security, 3 (4) (pp. 227-261).
Jian Pei,Data Mining for Intrusion Detection:Techniques,Applications and
Systems, Proceedings of the 20th International Conference on Data
Engineering (ICDE 04)
Peng Ning and Sushil Jajodia,Intrusion Detection Techniques. From
http://discovery.csc.ncsu.edu/Courses/csc774-S03/IDTechniques.pdf
Snort---The open source intrusion detection system. (2002). Retrieved February
13, 2003, from http://www.snort.org.
Thank you!

More Related Content

What's hot

Intrusion Detection with Neural Networks
Intrusion Detection with Neural NetworksIntrusion Detection with Neural Networks
Intrusion Detection with Neural Networksantoniomorancardenas
 
Outlier analysis and anomaly detection
Outlier analysis and anomaly detectionOutlier analysis and anomaly detection
Outlier analysis and anomaly detectionShantanuDeosthale
 
Anomaly detection (Unsupervised Learning) in Machine Learning
Anomaly detection (Unsupervised Learning) in Machine LearningAnomaly detection (Unsupervised Learning) in Machine Learning
Anomaly detection (Unsupervised Learning) in Machine LearningKuppusamy P
 
Anomaly Detection - Real World Scenarios, Approaches and Live Implementation
Anomaly Detection - Real World Scenarios, Approaches and Live ImplementationAnomaly Detection - Real World Scenarios, Approaches and Live Implementation
Anomaly Detection - Real World Scenarios, Approaches and Live ImplementationImpetus Technologies
 
Intrusion detection system ppt
Intrusion detection system pptIntrusion detection system ppt
Intrusion detection system pptSheetal Verma
 
Anomaly Detection Technique
Anomaly Detection TechniqueAnomaly Detection Technique
Anomaly Detection TechniqueChakrit Phain
 
Network Intrusion Detection System Using Snort
Network Intrusion Detection System Using SnortNetwork Intrusion Detection System Using Snort
Network Intrusion Detection System Using SnortDisha Bedi
 
An Introduction to Anomaly Detection
An Introduction to Anomaly DetectionAn Introduction to Anomaly Detection
An Introduction to Anomaly DetectionKenneth Graham
 
Intrusion Detection Techniques for Mobile Wireless Networks
Intrusion Detection Techniques for Mobile Wireless NetworksIntrusion Detection Techniques for Mobile Wireless Networks
Intrusion Detection Techniques for Mobile Wireless Networksguest1b5f71
 
Intruders
IntrudersIntruders
Intruderstechn
 

What's hot (20)

Anomaly Detection
Anomaly DetectionAnomaly Detection
Anomaly Detection
 
Intrusion Detection with Neural Networks
Intrusion Detection with Neural NetworksIntrusion Detection with Neural Networks
Intrusion Detection with Neural Networks
 
Outlier analysis and anomaly detection
Outlier analysis and anomaly detectionOutlier analysis and anomaly detection
Outlier analysis and anomaly detection
 
Anomaly detection (Unsupervised Learning) in Machine Learning
Anomaly detection (Unsupervised Learning) in Machine LearningAnomaly detection (Unsupervised Learning) in Machine Learning
Anomaly detection (Unsupervised Learning) in Machine Learning
 
Lesson 3
Lesson 3Lesson 3
Lesson 3
 
Intrusion Prevention System
Intrusion Prevention SystemIntrusion Prevention System
Intrusion Prevention System
 
Anomaly Detection - Real World Scenarios, Approaches and Live Implementation
Anomaly Detection - Real World Scenarios, Approaches and Live ImplementationAnomaly Detection - Real World Scenarios, Approaches and Live Implementation
Anomaly Detection - Real World Scenarios, Approaches and Live Implementation
 
Anomaly detection
Anomaly detectionAnomaly detection
Anomaly detection
 
Intrusion detection system ppt
Intrusion detection system pptIntrusion detection system ppt
Intrusion detection system ppt
 
Anomaly Detection Technique
Anomaly Detection TechniqueAnomaly Detection Technique
Anomaly Detection Technique
 
Network Intrusion Detection System Using Snort
Network Intrusion Detection System Using SnortNetwork Intrusion Detection System Using Snort
Network Intrusion Detection System Using Snort
 
Forensics Analysis and Validation
Forensics Analysis and Validation  Forensics Analysis and Validation
Forensics Analysis and Validation
 
An Introduction to Anomaly Detection
An Introduction to Anomaly DetectionAn Introduction to Anomaly Detection
An Introduction to Anomaly Detection
 
Hash Function
Hash FunctionHash Function
Hash Function
 
Data reduction
Data reductionData reduction
Data reduction
 
Intrusion Detection Techniques for Mobile Wireless Networks
Intrusion Detection Techniques for Mobile Wireless NetworksIntrusion Detection Techniques for Mobile Wireless Networks
Intrusion Detection Techniques for Mobile Wireless Networks
 
Intruders
IntrudersIntruders
Intruders
 
Understanding NMAP
Understanding NMAPUnderstanding NMAP
Understanding NMAP
 
Network Forensics
Network ForensicsNetwork Forensics
Network Forensics
 
Mobile Forensics
Mobile ForensicsMobile Forensics
Mobile Forensics
 

Viewers also liked

Intrusion detection and anomaly detection system using sequential pattern mining
Intrusion detection and anomaly detection system using sequential pattern miningIntrusion detection and anomaly detection system using sequential pattern mining
Intrusion detection and anomaly detection system using sequential pattern miningeSAT Journals
 
IDS Project: Promoting library excellence through community and technology
IDS Project: Promoting library excellence through community and technologyIDS Project: Promoting library excellence through community and technology
IDS Project: Promoting library excellence through community and technologyTim Bowersox
 
Intrusion Detection System for Applications using Linux Containers
Intrusion Detection System for Applications using Linux ContainersIntrusion Detection System for Applications using Linux Containers
Intrusion Detection System for Applications using Linux ContainersAmr Abed
 
Data Mining and Intrusion Detection
Data Mining and Intrusion Detection Data Mining and Intrusion Detection
Data Mining and Intrusion Detection amiable_indian
 
Intrusion detection in wireless sensor network
Intrusion detection in wireless sensor networkIntrusion detection in wireless sensor network
Intrusion detection in wireless sensor networkVinayak Raja
 
Intrusion detection system
Intrusion detection systemIntrusion detection system
Intrusion detection systemSweta Sharma
 
Intrusion detection using data mining
Intrusion detection using data miningIntrusion detection using data mining
Intrusion detection using data miningbalbeerrawat
 
Intrusion Detection System
Intrusion Detection SystemIntrusion Detection System
Intrusion Detection SystemMohit Belwal
 
Dijkstra's algorithm
Dijkstra's algorithmDijkstra's algorithm
Dijkstra's algorithmgsp1294
 
Intrusion detection system
Intrusion detection systemIntrusion detection system
Intrusion detection systemAparna Bhadran
 
Dijkstra’S Algorithm
Dijkstra’S AlgorithmDijkstra’S Algorithm
Dijkstra’S Algorithmami_01
 
Intrusion detection system
Intrusion detection system Intrusion detection system
Intrusion detection system gaurav koriya
 

Viewers also liked (13)

Polishing system 06 2010 gb
Polishing system 06 2010 gbPolishing system 06 2010 gb
Polishing system 06 2010 gb
 
Intrusion detection and anomaly detection system using sequential pattern mining
Intrusion detection and anomaly detection system using sequential pattern miningIntrusion detection and anomaly detection system using sequential pattern mining
Intrusion detection and anomaly detection system using sequential pattern mining
 
IDS Project: Promoting library excellence through community and technology
IDS Project: Promoting library excellence through community and technologyIDS Project: Promoting library excellence through community and technology
IDS Project: Promoting library excellence through community and technology
 
Intrusion Detection System for Applications using Linux Containers
Intrusion Detection System for Applications using Linux ContainersIntrusion Detection System for Applications using Linux Containers
Intrusion Detection System for Applications using Linux Containers
 
Data Mining and Intrusion Detection
Data Mining and Intrusion Detection Data Mining and Intrusion Detection
Data Mining and Intrusion Detection
 
Intrusion detection in wireless sensor network
Intrusion detection in wireless sensor networkIntrusion detection in wireless sensor network
Intrusion detection in wireless sensor network
 
Intrusion detection system
Intrusion detection systemIntrusion detection system
Intrusion detection system
 
Intrusion detection using data mining
Intrusion detection using data miningIntrusion detection using data mining
Intrusion detection using data mining
 
Intrusion Detection System
Intrusion Detection SystemIntrusion Detection System
Intrusion Detection System
 
Dijkstra's algorithm
Dijkstra's algorithmDijkstra's algorithm
Dijkstra's algorithm
 
Intrusion detection system
Intrusion detection systemIntrusion detection system
Intrusion detection system
 
Dijkstra’S Algorithm
Dijkstra’S AlgorithmDijkstra’S Algorithm
Dijkstra’S Algorithm
 
Intrusion detection system
Intrusion detection system Intrusion detection system
Intrusion detection system
 

Similar to Intrusion Detection

Intrusion Detection
Intrusion DetectionIntrusion Detection
Intrusion Detectionbutest
 
Intrusion Detection and Forensics based on decision tree and Association rule...
Intrusion Detection and Forensics based on decision tree and Association rule...Intrusion Detection and Forensics based on decision tree and Association rule...
Intrusion Detection and Forensics based on decision tree and Association rule...IJMER
 
Databse Intrusion Detection Using Data Mining Approach
Databse Intrusion Detection Using Data Mining ApproachDatabse Intrusion Detection Using Data Mining Approach
Databse Intrusion Detection Using Data Mining ApproachSuraj Chauhan
 
DB-OLS: An Approach for IDS1
DB-OLS: An Approach for IDS1DB-OLS: An Approach for IDS1
DB-OLS: An Approach for IDS1IJITE
 
Analysis and Design for Intrusion Detection System Based on Data Mining
Analysis and Design for Intrusion Detection System Based on Data MiningAnalysis and Design for Intrusion Detection System Based on Data Mining
Analysis and Design for Intrusion Detection System Based on Data MiningPritesh Ranjan
 
Intrusion detection and anomaly detection system using sequential pattern mining
Intrusion detection and anomaly detection system using sequential pattern miningIntrusion detection and anomaly detection system using sequential pattern mining
Intrusion detection and anomaly detection system using sequential pattern miningeSAT Journals
 
Supervised Machine Learning Algorithms for Intrusion Detection.pptx
Supervised Machine Learning Algorithms for Intrusion Detection.pptxSupervised Machine Learning Algorithms for Intrusion Detection.pptx
Supervised Machine Learning Algorithms for Intrusion Detection.pptxssuserf3a100
 
Comparison of Data Mining Techniques used in Anomaly Based IDS
Comparison of Data Mining Techniques used in Anomaly Based IDS  Comparison of Data Mining Techniques used in Anomaly Based IDS
Comparison of Data Mining Techniques used in Anomaly Based IDS IRJET Journal
 
Study on Data Mining Suitability for Intrusion Detection System (IDS)
Study on Data Mining Suitability for Intrusion Detection System (IDS)Study on Data Mining Suitability for Intrusion Detection System (IDS)
Study on Data Mining Suitability for Intrusion Detection System (IDS)ijdmtaiir
 
Understanding Intrusion Detection & Prevention Systems (1).pptx
Understanding Intrusion Detection & Prevention Systems (1).pptxUnderstanding Intrusion Detection & Prevention Systems (1).pptx
Understanding Intrusion Detection & Prevention Systems (1).pptxRineri1
 
V1_I1_2012_Paper3.docx
V1_I1_2012_Paper3.docxV1_I1_2012_Paper3.docx
V1_I1_2012_Paper3.docxpraveena06
 
A review of machine learning based anomaly detection
A review of machine learning based anomaly detectionA review of machine learning based anomaly detection
A review of machine learning based anomaly detectionMohamed Elfadly
 
A review of machine learning based anomaly detection
A review of machine learning based anomaly detectionA review of machine learning based anomaly detection
A review of machine learning based anomaly detectionMohamed Elfadly
 
A Survey On Intrusion Detection Systems
A Survey On Intrusion Detection SystemsA Survey On Intrusion Detection Systems
A Survey On Intrusion Detection SystemsMary Calkins
 
Classification Rule Discovery Using Ant-Miner Algorithm: An Application Of N...
Classification Rule Discovery Using Ant-Miner Algorithm: An  Application Of N...Classification Rule Discovery Using Ant-Miner Algorithm: An  Application Of N...
Classification Rule Discovery Using Ant-Miner Algorithm: An Application Of N...IJMER
 
Volume 2-issue-6-2190-2194
Volume 2-issue-6-2190-2194Volume 2-issue-6-2190-2194
Volume 2-issue-6-2190-2194Editor IJARCET
 
Volume 2-issue-6-2190-2194
Volume 2-issue-6-2190-2194Volume 2-issue-6-2190-2194
Volume 2-issue-6-2190-2194Editor IJARCET
 
Ids 014 anomaly detection
Ids 014 anomaly detectionIds 014 anomaly detection
Ids 014 anomaly detectionjyoti_lakhani
 

Similar to Intrusion Detection (20)

I Dunderstn
I DunderstnI Dunderstn
I Dunderstn
 
Intrusion Detection
Intrusion DetectionIntrusion Detection
Intrusion Detection
 
DM for IDS
DM for IDSDM for IDS
DM for IDS
 
Intrusion Detection and Forensics based on decision tree and Association rule...
Intrusion Detection and Forensics based on decision tree and Association rule...Intrusion Detection and Forensics based on decision tree and Association rule...
Intrusion Detection and Forensics based on decision tree and Association rule...
 
Databse Intrusion Detection Using Data Mining Approach
Databse Intrusion Detection Using Data Mining ApproachDatabse Intrusion Detection Using Data Mining Approach
Databse Intrusion Detection Using Data Mining Approach
 
DB-OLS: An Approach for IDS1
DB-OLS: An Approach for IDS1DB-OLS: An Approach for IDS1
DB-OLS: An Approach for IDS1
 
Analysis and Design for Intrusion Detection System Based on Data Mining
Analysis and Design for Intrusion Detection System Based on Data MiningAnalysis and Design for Intrusion Detection System Based on Data Mining
Analysis and Design for Intrusion Detection System Based on Data Mining
 
Intrusion detection and anomaly detection system using sequential pattern mining
Intrusion detection and anomaly detection system using sequential pattern miningIntrusion detection and anomaly detection system using sequential pattern mining
Intrusion detection and anomaly detection system using sequential pattern mining
 
Supervised Machine Learning Algorithms for Intrusion Detection.pptx
Supervised Machine Learning Algorithms for Intrusion Detection.pptxSupervised Machine Learning Algorithms for Intrusion Detection.pptx
Supervised Machine Learning Algorithms for Intrusion Detection.pptx
 
Comparison of Data Mining Techniques used in Anomaly Based IDS
Comparison of Data Mining Techniques used in Anomaly Based IDS  Comparison of Data Mining Techniques used in Anomaly Based IDS
Comparison of Data Mining Techniques used in Anomaly Based IDS
 
Study on Data Mining Suitability for Intrusion Detection System (IDS)
Study on Data Mining Suitability for Intrusion Detection System (IDS)Study on Data Mining Suitability for Intrusion Detection System (IDS)
Study on Data Mining Suitability for Intrusion Detection System (IDS)
 
Understanding Intrusion Detection & Prevention Systems (1).pptx
Understanding Intrusion Detection & Prevention Systems (1).pptxUnderstanding Intrusion Detection & Prevention Systems (1).pptx
Understanding Intrusion Detection & Prevention Systems (1).pptx
 
V1_I1_2012_Paper3.docx
V1_I1_2012_Paper3.docxV1_I1_2012_Paper3.docx
V1_I1_2012_Paper3.docx
 
A review of machine learning based anomaly detection
A review of machine learning based anomaly detectionA review of machine learning based anomaly detection
A review of machine learning based anomaly detection
 
A review of machine learning based anomaly detection
A review of machine learning based anomaly detectionA review of machine learning based anomaly detection
A review of machine learning based anomaly detection
 
A Survey On Intrusion Detection Systems
A Survey On Intrusion Detection SystemsA Survey On Intrusion Detection Systems
A Survey On Intrusion Detection Systems
 
Classification Rule Discovery Using Ant-Miner Algorithm: An Application Of N...
Classification Rule Discovery Using Ant-Miner Algorithm: An  Application Of N...Classification Rule Discovery Using Ant-Miner Algorithm: An  Application Of N...
Classification Rule Discovery Using Ant-Miner Algorithm: An Application Of N...
 
Volume 2-issue-6-2190-2194
Volume 2-issue-6-2190-2194Volume 2-issue-6-2190-2194
Volume 2-issue-6-2190-2194
 
Volume 2-issue-6-2190-2194
Volume 2-issue-6-2190-2194Volume 2-issue-6-2190-2194
Volume 2-issue-6-2190-2194
 
Ids 014 anomaly detection
Ids 014 anomaly detectionIds 014 anomaly detection
Ids 014 anomaly detection
 

More from Gregory Hanis

To cert or not to cert
To cert or not to certTo cert or not to cert
To cert or not to certGregory Hanis
 
Telehack: May the Command Line Live Forever
Telehack: May the Command Line Live ForeverTelehack: May the Command Line Live Forever
Telehack: May the Command Line Live ForeverGregory Hanis
 
IDS+Honeypots Making Security Simple
IDS+Honeypots Making Security SimpleIDS+Honeypots Making Security Simple
IDS+Honeypots Making Security SimpleGregory Hanis
 
Rollingstone greghanis
Rollingstone greghanisRollingstone greghanis
Rollingstone greghanisGregory Hanis
 
Penetration testing is a field which has experienced rapid growth over the years
Penetration testing is a field which has experienced rapid growth over the yearsPenetration testing is a field which has experienced rapid growth over the years
Penetration testing is a field which has experienced rapid growth over the yearsGregory Hanis
 
Javascript Deofuscation A manual Approach
Javascript Deofuscation A manual ApproachJavascript Deofuscation A manual Approach
Javascript Deofuscation A manual ApproachGregory Hanis
 

More from Gregory Hanis (14)

Hacker bootcamp
Hacker bootcampHacker bootcamp
Hacker bootcamp
 
To cert or not to cert
To cert or not to certTo cert or not to cert
To cert or not to cert
 
Windows great again
Windows great againWindows great again
Windows great again
 
Telehack: May the Command Line Live Forever
Telehack: May the Command Line Live ForeverTelehack: May the Command Line Live Forever
Telehack: May the Command Line Live Forever
 
IDS+Honeypots Making Security Simple
IDS+Honeypots Making Security SimpleIDS+Honeypots Making Security Simple
IDS+Honeypots Making Security Simple
 
Anonymizers
AnonymizersAnonymizers
Anonymizers
 
Oop in php_tutorial
Oop in php_tutorialOop in php_tutorial
Oop in php_tutorial
 
Suncoastscam
SuncoastscamSuncoastscam
Suncoastscam
 
Rollingstone greghanis
Rollingstone greghanisRollingstone greghanis
Rollingstone greghanis
 
Penetration testing is a field which has experienced rapid growth over the years
Penetration testing is a field which has experienced rapid growth over the yearsPenetration testing is a field which has experienced rapid growth over the years
Penetration testing is a field which has experienced rapid growth over the years
 
Linuxserver harden
Linuxserver hardenLinuxserver harden
Linuxserver harden
 
security IDS
security IDSsecurity IDS
security IDS
 
Pm final project
Pm final projectPm final project
Pm final project
 
Javascript Deofuscation A manual Approach
Javascript Deofuscation A manual ApproachJavascript Deofuscation A manual Approach
Javascript Deofuscation A manual Approach
 

Recently uploaded

"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 

Recently uploaded (20)

"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 

Intrusion Detection

  • 2. Outline Introduction  A Frame for Intrusion Detection System  Intrusion Detection Techniques  Ideas for Improving Intrusion Detection 
  • 3. What is the Intrusion Detection  Intrusions are the activities that violate the security policy of system.  Intrusion Detection is the process used to identify intrusions.
  • 4. Types of Intrusion Detection System(1) Based on the sources of the audit information used by each IDS, the IDSs may be classified into – Host-base IDSs – Distributed IDSs – Network-based IDSs
  • 5. Types of Intrusion Detection System(2)  Host-based IDSs – Get audit data from host audit trails. – Detect attacks against a single host  Distributed IDSs – Gather audit data from multiple host and possibly the network that connects the hosts – Detect attacks involving multiple hosts  Network-Based IDSs – Use network traffic as the audit data source, relieving the burden on the hosts that usually provide normal computing services – Detect attacks from network.
  • 6. Intrusion Detection Techniques  Misuse detection – Catch the intrusions in terms of the characteristics of known attacks or system vulnerabilities.  Anomaly detection – Detect any action that significantly deviates from the normal behavior.
  • 7. Misuse Detection  Based on known attack actions.  Feature extract from known intrusions  Integrate the Human knowledge.  The rules are pre-defined  Disadvantage: – Cannot detect novel or unknown attacks
  • 8. Misuse Detection Methods & System Method System Rule-based Languages RUSSEL,P-BEST State Transition Analysis STAT family(STAT,USTAT,NS TAT,NetSTAT) Colored Petri Automata Expert System IDIOT IDES,NIDX,PBEST,ISOA Case Based reasoning AutiGUARD
  • 9. Anomaly Detection  Based on the normal behavior of a subject. Sometime assume the training audit data does not include intrusion data.  Any action that significantly deviates from the normal behavior is considered intrusion.
  • 10. Anomaly Detection Methods & System Method Statistical method System IDES, NIDES, EMERALD Machine Learning techniques     Time-Based inductive Machine Instance Based Learning Neural Network … Data mining approaches JAM, MADAM ID
  • 11. Anomaly Detection Disadvantages  Based on audit data collected over a period of normal operation. – When a noise(intrusion) data in the training data, it will make a mis-classification.  How to decide the features to be used. The features are usually decided by domain experts. It may be not completely.
  • 12. Misuse Detection vs. Anomaly Detection Advantage Disadvantage Misuse Detection Accurately and generate much fewer false alarm Cannot detect novel or unknown attacks Anomaly Detection Is able to detect unknown attacks based on audit High false-alarm and limited by training data.
  • 13. The Frame for Intrusion Detection
  • 14. Intrusion Detection Approaches Define and extract the features of behavior in system 2. Define and extract the Rules of Intrusion 3. Apply the rules to detect the intrusion 1. Audit Data 3 Training Audit Data 1 Features 2 Rules 3 Pattern matching or Classification
  • 15. Thinking about The Intrusion Detection System Intrusion Detection system is a pattern discover and pattern recognition system.  The Pattern (Rule) is the most important part in the Intrusion Detection System  – – – Pattern(Rule) Expression Pattern(Rule) Discover Pattern Matching & Pattern Recognition.
  • 16. Machine Learning & Data mining & Statistics methods Traning Audit Data Feature Extraction Training Data & Knowled ge Pattern Extraction Expert Knowledge & Rule collection & Rule abstraction Pattern & Decision Rule Pattern Matching Alarms Intrusion Detection System Discriminate function Pass Pattern Recognition Real-Time Aduit data
  • 17. Rule Discover Method  Expert System  Measure Based method – Statistical method – Information-Theoretic Measures – Outlier analysis  Discovery Association Rules  Classification  Cluster
  • 18. Pattern Matching & Pattern Recognition Methods  Pattern Matching  State Transition & Automata Analysis  Case Based reasoning  Expert System  Measure Based method – Statistical method – Information-Theoretic Measures – Outlier analysis  Association Pattern  Machine Learning method
  • 20. Intrusion Detection Techniques  Pattern Matching  Measure Based method  Data Mining method  Machine Learning Method
  • 21. Pattern Matching  KMP-Multiple patterns matching Algorithm – Using keyword tree to search – Building failure link to guarantee linear time searching  Shift-And(Or) pattern matching Algorithm – A classical approximate pattern matching algorithm  Karp-Rabin fingerprint method – Using the Modular arithmetic and Remainder theorem to match pattern … (Such as regular expression pattern matching)
  • 22. Measure Based Method Statistical Methods & Information-Theoretic Measures  Define a set of measures to measure different aspects of a subject of behavior. (Define Pattern)  Generate an overall measure to reflect the abnormality of the behavior. For example: – statistic T2= M12+M22 +…+Mn2 – weighted intrusion score = Σ Mi*Wi – Entropy: H(X|Y)= Σ Σ P(X|Y) (-log(P(X|Y)))  Define the threshold for the overall measure
  • 23. Association Pattern Discover  Goal is to derive multi-feature (attribute) correlations from a set of records.  An expression of an association pattern:  The Pattern Discover Algorithm: 1. 2. Apriori Algorithm FP(frequent pattern)-Tree
  • 25. Association Pattern Detecting  Statistics Approaches – Constructing temporal statistical features from discovered pattern. – Using measure-based method to detect intrusion  Pattern Matching – Nobody discuss this idea.
  • 26. Machine Learning Method  Time-Based Inductive Machine – Like Bayes Network, use the probability and a direct graph to predict the next event  Instance Based Learning – Define a distance to measure the similarity between feature vectors  Neural … Network
  • 27. Classification  This is supervised learning. The class will be predetermined in training phase.  Define the character of classes in training phase.  A common approach in pattern recognition system
  • 28. Clustering  This is unsupervised learning. There are not predetermined classes in data.  Given a set of measurement, the aim is that establishes the class or group in the data. It will output the character of each class or group.  In the detection phase, this method will get more time cost (O(n2)). I suggest this method only use in pattern discover phase
  • 29. Ideas for improving Intrusion Detection
  • 30. Idea 1: Association Pattern Detecting  Using the pattern matching algorithm to match the pattern in sequent data for detecting intrusion. No necessary to construct the measure.  But its time cost is depend on the number of association patterns.  It possible constructs a pattern tree to improve the pattern matching time cost to linear time
  • 31. Idea 2: Discover Pattern from Rules  The exist rules are the knowledge from experts knowledge or other system.  The different methods will measure different aspects of intrusions.  Combine these rules may find other new patterns of unknown attack.  For example: – Snort has a set of rule which come from different people. The rules may have different aspects of intrusions. – We can use the data mining or machine learning method to discover the pattern from these rule.
  • 32. Machine Learning & Data mining & Statistics methods Traning Audit Data Feature Extraction Training Data & Knowled ge Pattern Extraction Expert Knowledge & Rule collection & Rule abstraction Pattern & Decision Rule Pattern Matching Alarms Intrusion Detection System Discriminate function Pass Pattern Recognition Real-Time Aduit data
  • 33. Reference     Lee, W., & Stolfo, S.J. (2000). A framework for constructing features and models for intrusion detection systems. ACM Transactions on Information and System Security, 3 (4) (pp. 227-261). Jian Pei,Data Mining for Intrusion Detection:Techniques,Applications and Systems, Proceedings of the 20th International Conference on Data Engineering (ICDE 04) Peng Ning and Sushil Jajodia,Intrusion Detection Techniques. From http://discovery.csc.ncsu.edu/Courses/csc774-S03/IDTechniques.pdf Snort---The open source intrusion detection system. (2002). Retrieved February 13, 2003, from http://www.snort.org.