It seems that chkrootkit returns a false positive... or not?
$ /usr/lib/chkrootkit/ifpromisc
lo: not promisc and no packet sniffer sockets
eth0: PACKET SNIFFER(/usr/sbin/NetworkManager[1056])
eth2: PACKET SNIFFER(/usr/sbin/NetworkManager[1056])
Because every morning I receive an email from "/etc/cron.daily/chkrootkit" that informs me of this.
Of course I can deactivate the check but I would not like to lose
other useful information for the security of the system.
Because every morning I receive an email from "/etc/cron.daily/chkrootkit" that informs me of this.
Of course I can deactivate the check but I would not like to lose other useful information for the security of the system.
Thank Richard,
I will do some tests with the diff mode.
For now, I changed /etc/chkrootkit/chkrootkit.conf:
MAILTO="journal"
- and added this on "/usr/sbin/chkrootkit-daily":
if [ "$MAILTO" = "journal"
]; then
logger --file "$FILE"
else
mail -s "$SUBJECT" "$MAILTO" < "$FILE"
fi
for send the output to the journal.
Package: chkrootkit
Version: 0.57-2+b1
Followup-For: Bug #1033538
Checking `sniffer'... WARNING
WARNING: Output from ifpromisc:
lo: not promisc and no packet sniffer sockets
eth0: not promisc and no packet sniffer sockets
If this is working correctly and there is no issue should it still be sending an alert mail?