W have here a CentOS 7 server with rkhunter installed. Since yesterday we get following rkhunter warning:
[01:10:30] Info: Starting test name 'packet_cap_apps'
[01:10:30] Checking for packet capturing applications [ Warning ]
[01:10:30] Warning: Process '/usr/sbin/NetworkManager' (PID 4654) is listening on the network.
Is there a way to whitelist /usr/sbin/NetworkManager
for the packet_cap_apps
test?
In the
rkhunter.conf
there is an option to disable tests on certain apps with theDISABLE_TESTS
parameter where you can add the apps that you don't want to be tested as space separated value. Alternatively you can useSCRIPTWHITELIST
option to whitelist/usr/sbin/NetworkManager
in case you want to still run tests onpacket_cap_apps
.You'll want to use the
ALLOWPROCLISTEN
directive instead ofSCRIPTWHITELIST
:Regards,
Michael