rkhunter
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 | ||
rkhunter [2015/11/11 10:50] – [Installation] pascal | rkhunter [2023/07/04 10:55] (Version actuelle) – modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 6: | Ligne 6: | ||
< | < | ||
apt-get install rkhunter | apt-get install rkhunter | ||
- | ... | ||
- | rkhunter --update | ||
- | [ Rootkit Hunter version 1.4.2 ] | ||
- | |||
- | Checking rkhunter data files... | ||
- | Checking file mirrors.dat | ||
- | Checking file programs_bad.dat | ||
- | Checking file backdoorports.dat | ||
- | Checking file suspscan.dat | ||
- | Checking file i18n/ | ||
- | Checking file i18n/ | ||
- | Checking file i18n/ | ||
- | Checking file i18n/ | ||
- | Checking file i18n/ | ||
- | Checking file i18n/ | ||
- | Checking file i18n/ | ||
- | rkhunter --propupdate | ||
- | [ Rootkit Hunter version 1.4.2 ] | ||
- | File updated: searched for 174 files, found 137 | ||
</ | </ | ||
+ | |||
===== Utilisation ===== | ===== Utilisation ===== | ||
Ligne 65: | Ligne 47: | ||
===== Initialisation de la surveillance : / | ===== Initialisation de la surveillance : / | ||
- | Le premier contrôle via la commande **rkhunter --check** peut détecter des "faux positifs" | + | Le premier contrôle via la commande **rkhunter --check** peut détecter des "faux positifs" |
+ | ==== Commandes ==== | ||
+ | === Mise à jour de la base de contrôle === | ||
+ | < | ||
+ | rkhunter --update | ||
+ | [ Rootkit Hunter version 1.4.2 ] | ||
+ | |||
+ | Checking rkhunter data files... | ||
+ | Checking file mirrors.dat | ||
+ | Checking file programs_bad.dat | ||
+ | Checking file backdoorports.dat | ||
+ | Checking file suspscan.dat | ||
+ | Checking file i18n/ | ||
+ | Checking file i18n/ | ||
+ | Checking file i18n/ | ||
+ | Checking file i18n/ | ||
+ | Checking file i18n/ | ||
+ | Checking file i18n/ | ||
+ | Checking file i18n/ | ||
+ | </ | ||
+ | === Mise à jour de la situation su système === | ||
+ | < | ||
+ | rkhunter --propupdate | ||
+ | [ Rootkit Hunter version 1.4.2 ] | ||
+ | File updated: searched for 174 files, found 137 | ||
+ | </ | ||
+ | === Recherche des problèmes === | ||
+ | < | ||
+ | rkhunter --check | ||
+ | [ Rootkit Hunter version 1.4.2 ] | ||
+ | |||
+ | Checking system commands... | ||
+ | |||
+ | Performing ' | ||
+ | Checking ' | ||
+ | |||
+ | Performing ' | ||
+ | ... | ||
+ | The system checks took: 3 minutes and 45 seconds | ||
+ | |||
+ | All results have been written to the log file: / | ||
+ | |||
+ | One or more warnings have been found while checking the system. | ||
+ | Please check the log file (/ | ||
+ | </ | ||
+ | Les premières détections doivent être corrigées pour prendre en compte le système à l' | ||
==== Invalid SCRIPTWHITELIST configuration option: Non-existent pathname: / | ==== Invalid SCRIPTWHITELIST configuration option: Non-existent pathname: / | ||
Mettre la ligne en commentaire : | Mettre la ligne en commentaire : | ||
Ligne 71: | Ligne 98: | ||
# SCRIPTWHITELIST=/ | # SCRIPTWHITELIST=/ | ||
</ | </ | ||
- | ===== Autres configurations | + | ==== Warning: The SSH and rkhunter configuration options should be the same ==== |
+ | Warning : | ||
+ | < | ||
+ | ... | ||
+ | [18: | ||
+ | [18:44:22] Warning: The SSH and rkhunter configuration options should be the same: | ||
+ | [18: | ||
+ | [18: | ||
+ | ... | ||
+ | </ | ||
+ | Modifier le paramétrage pour qu'il soit identique à celui de / | ||
+ | < | ||
+ | # | ||
+ | # The following option is checked against the SSH configuration file | ||
+ | # ' | ||
+ | # However, if a value has not been set in the SSH configuration file, then a | ||
+ | # value here of ' | ||
+ | # | ||
+ | # The default value is ' | ||
+ | # | ||
+ | ALLOW_SSH_ROOT_USER=without-password | ||
+ | </ | ||
+ | |||
+ | |||
- | ==== Cron ==== | ||
- | ==== Autres logiciels ==== | ||
- | * [[monit# | ||
- | ===== Traitement des alertes ===== | ||
rkhunter.1447239056.txt.gz · Dernière modification : 2023/07/04 10:55 (modification externe)