Discussion:
[Rkhunter-users] False suspicious file types warning
Dimitri Yioulos
2012-05-07 17:22:37 UTC
Permalink
Hello, all.

This morning, I upgraded to RKH 1.4.0  on one of my CentOS 5.9 boxes.  I made
appropriate tweaks to rkhunter.conf, but am coming up with the following
warnings:

[09:15:12] Info: Starting test name 'filesystem'
[09:15:12] Performing filesystem checks
[09:15:12] Info: SCAN_MODE_DEV set to 'THOROUGH'
[09:15:13]   Checking /dev for suspicious file types         [ Warning ]
[09:15:13] Warning: Suspicious file types found in /dev:
[09:15:13]          /dev/.udev/db/***@printer@lp0: ASCII text
[09:15:13]          /dev/.udev/db/***@sda@sda1: ASCII text
[09:15:13]          /dev/.udev/db/***@sda@sda2: ASCII text
[09:15:13]          /dev/.udev/db/***@sda@sda3: ASCII text
[09:15:13]          /dev/.udev/db/***@sda@sda5: ASCII text
[09:15:13]          /dev/.udev/db/***@sda@sda6: ASCII text
[09:15:13]          /dev/.udev/db/***@sda@sda7: ASCII text
[09:15:13]          /dev/.udev/db/***@sda@sda9: ASCII text
[09:15:13]          /dev/.udev/db/***@sda@sda4: ASCII text
[09:15:13]          /dev/.udev/db/***@sda@sda8: ASCII text
[09:15:13]          /dev/.udev/db/***@sda@sda10: ASCII text
[09:15:13]          /dev/.udev/db/***@usb_device@usbdev2.1: ASCII text
[09:15:13]          /dev/.udev/db/***@sda: ASCII text
[09:15:14]          /dev/.udev/db/***@hdc: ASCII text
[09:15:14]          /dev/.udev/db/***@usb_device@usbdev1.1: ASCII text
[09:15:14]          /dev/.udev/db/***@input@***@event1: ASCII text
[09:15:14]          /dev/.udev/db/***@input@***@event2: ASCII text
[09:15:14]          /dev/.udev/db/***@input@***@event0: ASCII text
[09:15:14]          /dev/.udev/db/***@fd0: ASCII text
[09:15:14]          /dev/.udev/db/***@ram0: ASCII text
[09:15:14]          /dev/.udev/db/***@ram1: ASCII text
[09:15:14]          /dev/.udev/db/***@input@***@mouse0: ASCII text
[09:15:14]          /dev/.udev/db/***@misc@device-mapper: ASCII text
[09:15:14]          /dev/.udev/db/***@input@mice: ASCII text
[09:15:14]          /dev/.udev/uevent_seqnum: ASCII text

These are legitimate files.  I've whitelisted the directory /dev/.udev/db, but
to no avail.

Can anyone please tell me how to suppress these warnings?

Thanks.

Dimitri
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
John Horne
2012-05-07 17:34:20 UTC
Permalink
Post by Dimitri Yioulos
Hello, all.
This morning, I upgraded to RKH 1.4.0 on one of my CentOS 5.9 boxes. I made
appropriate tweaks to rkhunter.conf, but am coming up with the following
[09:15:12] Info: Starting test name 'filesystem'
[09:15:12] Performing filesystem checks
[09:15:12] Info: SCAN_MODE_DEV set to 'THOROUGH'
[09:15:13] Checking /dev for suspicious file types [ Warning ]
[09:15:14] /dev/.udev/uevent_seqnum: ASCII text
These are legitimate files. I've whitelisted the directory /dev/.udev/db, but
to no avail.
Can anyone please tell me how to suppress these warnings?
Something like:

ALLOWDEVFILE=/dev/.udev/db/block*
ALLOWDEVFILE=/dev/.udev/db/class*
ALLOWDEVFILE=/dev/.udev/uevent_seqnum





John.
--
John Horne, Plymouth University, UK
Tel: +44 (0)1752 587287 Fax: +44 (0)1752 587001
Dogsbody
2012-05-07 17:28:30 UTC
Permalink
Post by Dimitri Yioulos
This morning, I upgraded to RKH 1.4.0 on one of my CentOS 5.9 boxes. I made
appropriate tweaks to rkhunter.conf, but am coming up with the following
After upgrading to 1.4.0 I had to add the following to my
rkhunter.conf.local...

ALLOWDEVFILE="/dev/.udev/queue.bin"
ALLOWDEVFILE="/dev/.udev/db/net:eth0"
ALLOWDEVFILE="/dev/.udev/db/input:*"
ALLOWDEVFILE="/dev/.udev/db/block:*"
ALLOWDEVFILE="/dev/.udev/db/usb:*"
ALLOWDEVFILE="/dev/.udev/db/drm:card0"
ALLOWDEVFILE="/dev/.udev/rules.d/99-root.rules"

... obviously some of yours are different but this should get you close :-)

Dan
--
Find me online : http://www.dogsbody.info/
Dimitri Yioulos
2012-05-08 12:20:16 UTC
Permalink
Post by John Horne
Post by Dimitri Yioulos
Hello, all.
This morning, I upgraded to RKH 1.4.0 on one of my CentOS 5.9 boxes.
I made appropriate tweaks to rkhunter.conf, but am coming up with the
[09:15:12] Info: Starting test name 'filesystem'
[09:15:12] Performing filesystem checks
[09:15:12] Info: SCAN_MODE_DEV set to 'THOROUGH'
[09:15:13] Checking /dev for suspicious file types [ Warning
[09:15:14] /dev/.udev/uevent_seqnum: ASCII text
These are legitimate files. I've whitelisted the directory
/dev/.udev/db, but to no avail.
Can anyone please tell me how to suppress these warnings?
ALLOWDEVFILE=/dev/.udev/db/block*
ALLOWDEVFILE=/dev/.udev/db/class*
ALLOWDEVFILE=/dev/.udev/uevent_seqnum
John.
--
John Horne, Plymouth University, UK
Tel: +44 (0)1752 587287 Fax: +44 (0)1752 587001
Thanks to both John and Dan. Using the ALLOWDEVFILE directive worked a treat!

Dimitri
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Continue reading on narkive:
Loading...