
¿Alguien puede decirme cómo configurar/forzar a rkhunter a verificar todo en mi sistema? Los controles se saltan, incluso si ejecutorkhunter --checkall
Performing malware checks
Checking running processes for suspicious files [ None found ]
Checking for hidden processes [ Skipped ]
Applications checks...
All checks skipped
Respuesta1
Por alguna razón, los escaneos de mi aplicación fueron ignorados cuando usé el modificador --checkall porque en mi archivo /etc/rkhunter.conf la opción "aplicaciones" incluía las DISABLE_TESTS
opciones de forma predeterminada. Eliminarlo permitió que mis aplicaciones se escanearan.
#
# These two options determine which tests are to be performed. The ENABLE_TESTS
# option can use the word 'ALL' to refer to all of the available tests. The
# DISABLE_TESTS option can use the word 'NONE' to mean that no tests are
# disabled. The list of disabled tests is applied to the list of enabled tests.
#
# Both options are space-separated lists of test names, and both options may
# be specified more than once. The currently available test names can be seen
# by using the command 'rkhunter --list tests'.
#
# The supplied configuration file has some tests already disabled, and these
# are tests that will be used only occasionally, can be considered 'advanced'
# or that are prone to produce more than the average number of false-positives.
#
# Please read the README file for more details about enabling and disabling
# tests, the test names, and how rkhunter behaves when these options are used.
#
# The default values are to enable all tests and to disable none. However, if
# either of the options below are specified, then they will override the
# program defaults.
#
ENABLE_TESTS=ALL
#DISABLE_TESTS=suspscan hidden_ports hidden_procs deleted_files packet_cap_apps apps
DISABLE_TESTS=suspscan hidden_ports deleted_files packet_cap_apps ipc_shared_mem
Para cualquier compañero "novato" de rkhunter
https://sourceforge.net/ <-- tiene el soporte/información principal para rkhunter.
También le recomiendo que:
1.) (#) comente DISABLE_TESTS en /etc/rkhunter.conf
2.) use virtualbox para configurar un servidor de prueba (entorno equivalente duplicado) y ejecute sumas de verificación para verificar falsos positivos
3.) Utilice varias formas de "lista blanca" en /etc/rkhunter.conf para borrar todas las advertencias
4.) instale una aplicación de Linux llamada "mostrar" para que pueda escanear puertos y directorios ocultos