29
Détection d’intrusions Illustration avec Snort

Détection dintrusions Illustration avec Snort. Introduction Pourquoi un IDS ? 2

Embed Size (px)

Citation preview

Page 1: Détection dintrusions Illustration avec Snort. Introduction Pourquoi un IDS ? 2

Détection d’intrusions

Illustration avec Snort

Page 2: Détection dintrusions Illustration avec Snort. Introduction Pourquoi un IDS ? 2

2

Introduction

• Pourquoi un IDS ?

Page 3: Détection dintrusions Illustration avec Snort. Introduction Pourquoi un IDS ? 2

3

Les différents IDS

• Les NIDS – Network Intrusion Detection System

• Les HIDS– Host Intrusion Detection System

• Les IPS– Intrusion Protection System

Page 4: Détection dintrusions Illustration avec Snort. Introduction Pourquoi un IDS ? 2

4

Les NIDS

Page 5: Détection dintrusions Illustration avec Snort. Introduction Pourquoi un IDS ? 2

5

Les HIDS

Page 6: Détection dintrusions Illustration avec Snort. Introduction Pourquoi un IDS ? 2

6

Les IPS

Page 7: Détection dintrusions Illustration avec Snort. Introduction Pourquoi un IDS ? 2

7

Les techniques de détéction

• L'analyse comportementale• Vérification de la pile protocolaire• Vérification des protocoles applicatifs• La gestion de ressources• Le Pattern matching

Page 8: Détection dintrusions Illustration avec Snort. Introduction Pourquoi un IDS ? 2

8

L'analyse comportementale

• Basé sur les “habitudes”

• Nécessite un apprentissage péalable

• Peu fiable sur certains réseaux

Page 9: Détection dintrusions Illustration avec Snort. Introduction Pourquoi un IDS ? 2

9

Vérification de la pile protocolaire

• Comparaison au travers de structures définis

• Peu de fausses erreurs

Page 10: Détection dintrusions Illustration avec Snort. Introduction Pourquoi un IDS ? 2

10

Vérification de la pile protocolaire

Page 11: Détection dintrusions Illustration avec Snort. Introduction Pourquoi un IDS ? 2

11

Vérification des protocoles applicatifs

• Analyse du contenu et non de la structure

Page 12: Détection dintrusions Illustration avec Snort. Introduction Pourquoi un IDS ? 2

12

La gestion de ressources

• Surveillance précise des ressources – CPU– RAM– HDD– etc

• Peu pratique sur des réseaux importants – Plutôt utile sur HIDS

Page 13: Détection dintrusions Illustration avec Snort. Introduction Pourquoi un IDS ? 2

13

Le Pattern Matching

• Comparaison à une base de signatures

• Charge CPU élevée quand traffic important

• Nécessite une mise à jour de la BDS

Page 14: Détection dintrusions Illustration avec Snort. Introduction Pourquoi un IDS ? 2

14

Le Pattern Matching

Page 15: Détection dintrusions Illustration avec Snort. Introduction Pourquoi un IDS ? 2

15

Les alertes

• Affichage temp réel• Génération de fichier Log• Enregistrement Base de donnée• Envoi traps SNMP• Et bien d’autres ...

Page 16: Détection dintrusions Illustration avec Snort. Introduction Pourquoi un IDS ? 2

16

Snort

• Présentation• Possibilités• Structure de Snort• La détection• Interface (exemple avec BASE)• Les addons• Démo

Page 17: Détection dintrusions Illustration avec Snort. Introduction Pourquoi un IDS ? 2

17

Présentation

• Open Source (GPL)• Codé parMarty Roesch• Repris Sourcefire, Inc.• Snort est un moteur de détection– Add-ons disponibles– Alertes– Configuration– Rules

Page 18: Détection dintrusions Illustration avec Snort. Introduction Pourquoi un IDS ? 2

18

Possibilités

• Détection signatures et anomalies• Communauté active– Mise à jours

• Gére détection et prévention• Prévention grâce à– Snort Inline– FlexResp2

Page 19: Détection dintrusions Illustration avec Snort. Introduction Pourquoi un IDS ? 2

19

Structure

Page 20: Détection dintrusions Illustration avec Snort. Introduction Pourquoi un IDS ? 2

20

Interfacage

• BASE– ACID

• SGUIL– Module Squert

Page 21: Détection dintrusions Illustration avec Snort. Introduction Pourquoi un IDS ? 2

21

BASE

• Basic Analysis and Security Engine– Interface Web– Rapports– Graphique– Visualisation temps réel

Page 22: Détection dintrusions Illustration avec Snort. Introduction Pourquoi un IDS ? 2

22

BASE

Page 23: Détection dintrusions Illustration avec Snort. Introduction Pourquoi un IDS ? 2

23

SGUIL

• Même principe que Base

• Pas d’interface Web

• Module Squert :– Compte rendu léger

Page 24: Détection dintrusions Illustration avec Snort. Introduction Pourquoi un IDS ? 2

24

SGUIL

Page 25: Détection dintrusions Illustration avec Snort. Introduction Pourquoi un IDS ? 2

25

Addons

• Oinkmaster– Gestion de mises à jours :• Officielles• Bleeding Snort• Tiers

Page 26: Détection dintrusions Illustration avec Snort. Introduction Pourquoi un IDS ? 2

26

Addons

• Snort Inline– IPS basé sur snort– Permet la communication avec parefeu• Récupération de données• Mise en place de contremesures

Page 27: Détection dintrusions Illustration avec Snort. Introduction Pourquoi un IDS ? 2

27

Techniques Anti-IDS

• ROMAIN

Page 28: Détection dintrusions Illustration avec Snort. Introduction Pourquoi un IDS ? 2

28

Conclusion

• Plus non négligeable• Sécurité ne peut être garantie à 100%• Nécessite une implémentation correct• Peu avoir des effets inverses

Page 29: Détection dintrusions Illustration avec Snort. Introduction Pourquoi un IDS ? 2

29

Démo