Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| elearning:workbooks:centos:6:sec:l104 [2020/02/27 11:11] – admin | elearning:workbooks:centos:6:sec:l104 [2024/04/25 11:53] (Version actuelle) – admin | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| ~~PDF: | ~~PDF: | ||
| - | Version : **2020.02** - Consulter le Change Log en fin de module. | + | Version : **2020.03** - Consulter le Change Log en fin de module. |
| Dernière mise-à-jour : ~~LASTMOD~~ | Dernière mise-à-jour : ~~LASTMOD~~ | ||
| Ligne 7: | Ligne 7: | ||
| ======LRF404 - Balayage des Ports====== | ======LRF404 - Balayage des Ports====== | ||
| - | Dans cette unité, vous allez apprendre : | + | =====Contenu du Module===== |
| - | * Comment scanner les ports d'un système d' | + | * **LRF404 - Balayage des Ports** |
| - | | + | |
| - | * Comment mettre | + | * Le Problématique |
| + | * LAB #1 - Utilisation | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | * LAB #2 - Mise en place du Système de Détection d' | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | * 2020.01 | ||
| + | * 2020.02 | ||
| + | * 2020.03 | ||
| =====Le Problématique===== | =====Le Problématique===== | ||
| Ligne 655: | Ligne 679: | ||
| < | < | ||
| - | [root@centos7 ~]# yum install | + | [root@centos7 ~]# rpm -ivh https://www.dropbox.com/scl/fi/qfum8mzhl0sgxud7sl4qd/ |
| </ | </ | ||
| Ligne 661: | Ligne 685: | ||
| < | < | ||
| - | [root@centos7 ~]# yum install http://download-ib01.fedoraproject.org/pub/ | + | [root@centos7 ~]# rpm -ivh https://www.dropbox.com/scl/fi/y0og3n0uvmbzpxlk3ry7e/ |
| </ | </ | ||
| + | |||
| Il est maintenant possible d' | Il est maintenant possible d' | ||
| < | < | ||
| - | [root@centos7 ~]# yum install | + | [root@centos7 ~]# rpm -ivh https:// |
| </ | </ | ||
| Ligne 823: | Ligne 848: | ||
| < | < | ||
| - | [root@centos7 ~]# wget https:// | + | [root@centos7 ~]# wget https:// |
| </ | </ | ||
| Ligne 895: | Ligne 920: | ||
| ... | ... | ||
| </ | </ | ||
| - | |||
| - | Créez ensuite les deux fichiers ci-dessous : | ||
| - | |||
| - | < | ||
| - | [root@centos7 ~]# touch / | ||
| - | [root@centos7 ~]# touch / | ||
| - | </ | ||
| Décommentez la ligne qui commence par **ooutput unified2** concernant la journalisation et supprimez le mot **nostamp** : | Décommentez la ligne qui commence par **ooutput unified2** concernant la journalisation et supprimez le mot **nostamp** : | ||
| Ligne 913: | Ligne 931: | ||
| </ | </ | ||
| - | Commentez ensuite la ligne commencant | + | Commentez ensuite la ligne commençant |
| < | < | ||
| # path to dynamic rules libraries | # path to dynamic rules libraries | ||
| # dynamicdetection directory / | # dynamicdetection directory / | ||
| + | </ | ||
| + | |||
| + | Créez ensuite les deux fichiers ci-dessous : | ||
| + | |||
| + | < | ||
| + | [root@centos7 ~]# touch / | ||
| + | [root@centos7 ~]# touch / | ||
| </ | </ | ||
| Ligne 1130: | Ligne 1155: | ||
| < | < | ||
| - | [root@centos7 ~]# yum install http://flexbox.sourceforge.net/centos/5/x86_64// | + | [root@centos7 ~]# rpm -ivh https://www.dropbox.com/scl/fi/v1iniimmjkvj0kx6xllmt/ |
| Loaded plugins: fastestmirror, | Loaded plugins: fastestmirror, | ||
| portsentry-1.2-1.el5.x86_64.rpm | portsentry-1.2-1.el5.x86_64.rpm | ||
| Ligne 1467: | Ligne 1492: | ||
| </ | </ | ||
| - | Dernièrement pour rendre le service SysVInit compatible avec Systemd, éditez le fichier **/ | + | Pour rendre le service SysVInit compatible avec Systemd, éditez le fichier **/ |
| < | < | ||
| Ligne 1503: | Ligne 1528: | ||
| 85 # See how we were called. | 85 # See how we were called. | ||
| ... | ... | ||
| + | </ | ||
| + | |||
| + | Dernièrement, | ||
| + | |||
| + | < | ||
| + | [root@centos7 ~]# yum install -y initscripts | ||
| </ | </ | ||
| Ligne 1572: | Ligne 1603: | ||
| 28 # Exclude all local interfaces | 28 # Exclude all local interfaces | ||
| - | 29 #10.0.2.15 < | + | 29 #172.YY+20.0.3 < |
| 30 fe80:: | 30 fe80:: | ||
| 31 127.0.0.1 | 31 127.0.0.1 | ||
| Ligne 1590: | Ligne 1621: | ||
| < | < | ||
| - | [root@centos7 ~]# nmap -sC 10.0.2.15 | + | [root@centos7 ~]# nmap -sC 172.YY+20.0.3 |
| Starting Nmap 6.40 ( http:// | Starting Nmap 6.40 ( http:// | ||
| Ligne 1607: | Ligne 1638: | ||
| Chain INPUT (policy ACCEPT) | Chain INPUT (policy ACCEPT) | ||
| target | target | ||
| - | DROP | + | DROP |
| ACCEPT | ACCEPT | ||
| ACCEPT | ACCEPT | ||
| Ligne 1667: | Ligne 1698: | ||
| ... | ... | ||
| </ | </ | ||
| - | |||
| - | ----- | ||
| - | |||
| - | =====ChangeLog===== | ||
| - | |||
| - | ====2020.01==== | ||
| - | |||
| - | Backup 2019.beta restauré en 2020.01. | ||
| - | |||
| - | ====2020.02==== | ||
| - | |||
| - | * **Fixed** - Erreur dans un lien dans le LAB #2 : **https:// | ||
| ----- | ----- | ||