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:26] – [Autres configurations] pascal | rkhunter [2023/07/04 10:55] (Version actuelle) – modification externe 127.0.0.1 | ||
|---|---|---|---|
| Ligne 7: | Ligne 7: | ||
| apt-get install rkhunter | apt-get install rkhunter | ||
| </ | </ | ||
| + | |||
| ===== Utilisation ===== | ===== Utilisation ===== | ||
| Ligne 45: | Ligne 46: | ||
| </ | </ | ||
| - | ===== Initialisation de la surveillance ===== | + | ===== Initialisation de la surveillance |
| - | ===== Autres configurations | + | 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: / | ||
| + | Mettre la ligne en commentaire : | ||
| + | < | ||
| + | # SCRIPTWHITELIST=/ | ||
| + | </ | ||
| + | ==== 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 ===== | ||
| - | ==== Invalid SCRIPTWHITELIST configuration option: Non-existent pathname: / | ||
| ===== Sources ===== | ===== Sources ===== | ||
| * http:// | * http:// | ||
rkhunter.1447237575.txt.gz · Dernière modification : 2023/07/04 10:55 (modification externe)