I want to "white-list" some of the false-positives of chkrootkit, therefor i would like to use the /etc/chkrootkit.conf as a "white-list".
But this does not work:
RUN_DAILY_OPTS="-q -e '/sbin/init /sbin/dhclient'
And i still get the following false-positives:
Warning: /sbin/init INFECTED
eth0: PACKET SNIFFER(/sbin/dhclient (deleted)[…])
I know its not a real white-list, but the false-positives should not send me emails every day.
chkrootkit version 0.49
IGNOREvariable in/etc/cron.daily/chkrootkitwhere you can give your filter/ignore file. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=660998 – Mossroy Dec 12 '19 at 11:34IGNOREinstead ofFILTER). It filters/ignores output lines of chkrootkit, not files themselves. By default, it's safe as the variable points to /dev/null. I don't see how it defeats the purpose of chkrootkit : in all cases, it's the admin responsibility to choose the right ignore rules – Mossroy Dec 12 '19 at 13:33find: '/proc/24157': No such file or directory, I also replaced both occurences ofeval $CHKROOTKIT $RUN_DAILY_OPTSbyeval $CHKROOTKIT $RUN_DAILY_OPTS 2>&1in/etc/cron.daily/chkrootkit, and added^[ \t]*find: '/proc/[0-9]+': No such file or directory[ \t]*$in the ignore/filter file – Mossroy Jan 01 '20 at 10:05