intrusion prevention system group 6 mu-hsin wei renaud moussounda group 6 mu-hsin wei renaud...

14
Intrusion Prevention System Group 6 Mu-Hsin Wei Renaud Moussounda

Upload: rosanna-watts

Post on 23-Dec-2015

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Intrusion Prevention System Group 6 Mu-Hsin Wei Renaud Moussounda Group 6 Mu-Hsin Wei Renaud Moussounda

Intrusion Prevention System

Intrusion Prevention System

Group 6

Mu-Hsin WeiRenaud Moussounda

Group 6

Mu-Hsin WeiRenaud Moussounda

Page 2: Intrusion Prevention System Group 6 Mu-Hsin Wei Renaud Moussounda Group 6 Mu-Hsin Wei Renaud Moussounda

What is IPSWhat is IPS

IPS (Intrusion prevention system)

Control access to a network

Similar to firewall, but different…

IPS (Intrusion prevention system)

Control access to a network

Similar to firewall, but different…

Page 3: Intrusion Prevention System Group 6 Mu-Hsin Wei Renaud Moussounda Group 6 Mu-Hsin Wei Renaud Moussounda

What’s the difference?What’s the difference?

Traditional firewall – examines header

IPS – examines payload as well

DPI (Deep Packet Inspection)

Traditional firewall – examines header

IPS – examines payload as well

DPI (Deep Packet Inspection)

Page 4: Intrusion Prevention System Group 6 Mu-Hsin Wei Renaud Moussounda Group 6 Mu-Hsin Wei Renaud Moussounda

DPI enables IPS to…DPI enables IPS to…

Gather more information

Detect certain attack signatures

Control network traffic intelligently- ftp root access (user root)- HTTP content

Gather more information

Detect certain attack signatures

Control network traffic intelligently- ftp root access (user root)- HTTP content

Page 5: Intrusion Prevention System Group 6 Mu-Hsin Wei Renaud Moussounda Group 6 Mu-Hsin Wei Renaud Moussounda

TradeoffTradeoff

Payload - no fixed fields- large in size

Requires high computing resource- CPU- memory

Hardware implementation

Payload - no fixed fields- large in size

Requires high computing resource- CPU- memory

Hardware implementation

Page 6: Intrusion Prevention System Group 6 Mu-Hsin Wei Renaud Moussounda Group 6 Mu-Hsin Wei Renaud Moussounda

IDS vs IPSIDS vs IPS

Intrusion Detection System (IDS):- DPI- detects- Snort

IPS:- DPI- take action- snort_inline + iptables

Intrusion Detection System (IDS):- DPI- detects- Snort

IPS:- DPI- take action- snort_inline + iptables

Page 7: Intrusion Prevention System Group 6 Mu-Hsin Wei Renaud Moussounda Group 6 Mu-Hsin Wei Renaud Moussounda

Proof of conceptProof of concept

Implement an IPS using:- snort_inline, and- iptables

Test IPS using:- Lab4 firewall configuration- Lab6 imapd buffer overflow

Implement an IPS using:- snort_inline, and- iptables

Test IPS using:- Lab4 firewall configuration- Lab6 imapd buffer overflow

Page 8: Intrusion Prevention System Group 6 Mu-Hsin Wei Renaud Moussounda Group 6 Mu-Hsin Wei Renaud Moussounda

Lab 4 setupLab 4 setup

Black - attackerProtected – victimFirewall - IPS

Black - attackerProtected – victimFirewall - IPS

Page 9: Intrusion Prevention System Group 6 Mu-Hsin Wei Renaud Moussounda Group 6 Mu-Hsin Wei Renaud Moussounda

How to capture attack?How to capture attack?

Attack using buffer overflow string

Long sequence of NOP

snort_inline checks for …90 90 90 90...

Attack using buffer overflow string

Long sequence of NOP

snort_inline checks for …90 90 90 90...

Page 10: Intrusion Prevention System Group 6 Mu-Hsin Wei Renaud Moussounda Group 6 Mu-Hsin Wei Renaud Moussounda

FlowFlow

Protected runs vulnerable serviceBlackHat attacks

snort_inline captures and tell iptable block traffic

Protected remains safe

Protected runs vulnerable serviceBlackHat attacks

snort_inline captures and tell iptable block traffic

Protected remains safe

Page 11: Intrusion Prevention System Group 6 Mu-Hsin Wei Renaud Moussounda Group 6 Mu-Hsin Wei Renaud Moussounda

IPS + Lab4 + Lab6IPS + Lab4 + Lab6

BlackHat, Protected, and IPSBlackHat, Protected, and IPS

Page 12: Intrusion Prevention System Group 6 Mu-Hsin Wei Renaud Moussounda Group 6 Mu-Hsin Wei Renaud Moussounda

ImplicationImplication

One for all

Less dependent on individual server

Vulnerable service made secure

Enhanced security

One for all

Less dependent on individual server

Vulnerable service made secure

Enhanced security

Page 13: Intrusion Prevention System Group 6 Mu-Hsin Wei Renaud Moussounda Group 6 Mu-Hsin Wei Renaud Moussounda

What you will do in the lab?

What you will do in the lab?

Setup machines & install software

Perform first attack without IPS

Perform second attack with IPS enabled

Appreciate IPS/DPI

Setup machines & install software

Perform first attack without IPS

Perform second attack with IPS enabled

Appreciate IPS/DPI

Page 14: Intrusion Prevention System Group 6 Mu-Hsin Wei Renaud Moussounda Group 6 Mu-Hsin Wei Renaud Moussounda

QuestionsQuestions

??