Hide Forgot
Description of problem: gives a warning for ALLOWDEVFILE Version-Release number of selected component (if applicable): rkhunter-1.3.8-2.fc14.noarch How reproducible: always currently Steps to Reproduce: 1. just run 2. 3. Actual results: <snip> 10:53:02] Info: SCAN_MODE_DEV set to 'THOROUGH' [10:53:02] Checking /dev for suspicious file types [ Warning ] [10:53:02] Warning: Suspicious file types found in /dev: [10:53:02] /dev/shm/pulse-shm-1062246888: data Expected results: No warning Additional info: as default # SCAN_MODE_DEV governs how we scan '/dev' for suspicious files. # The two allowed options are: THOROUGH or LAZY. # If commented out we do a THOROUGH scan which will increase the runtime. # Even though this adds to the running time it is highly recommended to # leave it like this. # # SCAN_MODE_DEV=THOROUGH ALLOWDEVFILE=/dev/shm/pulse-shm-*
Created attachment 511040 [details] rkhunter.conf
Created attachment 511041 [details] rkhunter.log
Odd. That should be whitelisted. Are you sure it's using /etc/rkhunter.conf ? Also, is there a /etc/rkhunter.conf.local ?
(In reply to comment #3) > Odd. That should be whitelisted. > > Are you sure it's using /etc/rkhunter.conf ? I believe so, if I turn off\on the extra phalanx tests, it will run\ not run them Also, is there a > /etc/rkhunter.conf.local ? no other copies of rkhunter.conf*
I'm somewhat at a loss here. That should be whitelisted... ;( Try changing: ALLOWDEVFILE=/dev/shm/pulse-shm-* to ALLOWDEVFILE="/dev/shm/pulse-shm-*" Does that change anything? Can you attach the output of a 'rkhunter -c -sk --debug' ?
(In reply to comment #5) > I'm somewhat at a loss here. That should be whitelisted... ;( > > Try changing: > > ALLOWDEVFILE=/dev/shm/pulse-shm-* > > to > > ALLOWDEVFILE="/dev/shm/pulse-shm-*" Previously tried, no difference. > > Does that change anything? Can you attach the output of a 'rkhunter -c -sk > --debug' ? No output, just back to prompt, no *-debug to install.
SOLVED: yum install pulseaudio As this box is a torrent box, audio was not a priority. It seems only pulseaudio-libs, pulsaudio-gdm-hooks, had been installed by the initial F13 install.
Huh. Then what was creating the file that it was complaining about? Or it didn't exist?
No idea, but running rkhunter since has no warning. All I can think of is some other app, creating or attempting to create a pulse* file.
Odd. Well, shall we just close this now? Or can we do anything more to fix this?
I also get the same error periodically on F15 and I already have pulseaudio installed. What information can I help provide?
Output from rkhunter, 'ps aux | grep pulse' and 'ls -l /dev/shm' would all be useful.
will do next time it happens. Part of the problem is that it appears to be highly intermittent for me
ok, happened again today: [long@raptor mnt]$ ps aux | grep pulse long 2044 0.3 0.1 740456 11168 ? Ssl Aug09 4:59 /usr/bin/pulseaudio --start --log-target=syslog long 2492 0.0 0.0 183900 2528 ? Sl Aug09 0:00 /usr/libexec/pulse/gconf-helper long 4704 0.0 0.0 109108 832 pts/24 S+ 09:48 0:00 grep --color=auto pulse [long@raptor mnt]$ ls -l /dev/shm total 6336 -r--------. 1 long long 67108904 Aug 9 08:55 pulse-shm-1654392570 -r--------. 1 long long 67108904 Aug 9 19:31 pulse-shm-208983232 -r--------. 1 long long 67108904 Aug 9 17:15 pulse-shm-2805925866 -r--------. 1 long long 67108904 Aug 10 09:43 pulse-shm-311502618 -r--------. 1 long long 67108904 Aug 9 08:55 pulse-shm-397230072 -r--------. 1 long long 67108904 Aug 9 08:55 pulse-shm-4106219512 -r--------. 1 long long 67108904 Aug 10 09:26 pulse-shm-601540471 [long@raptor mnt]$ [root@raptor ~]# rkhunter --check [ Rootkit Hunter version 1.3.8 ] Checking system commands... Performing 'strings' command checks Checking 'strings' command [ OK ] Performing 'shared libraries' checks Checking for preloading variables [ None found ] Checking for preloaded libraries [ None found ] Checking LD_LIBRARY_PATH variable [ Not found ] Performing file properties checks Checking for prerequisites [ OK ] /sbin/chkconfig [ OK ] /sbin/depmod [ OK ] /sbin/fsck [ OK ] /sbin/fuser [ OK ] /sbin/ifconfig [ OK ] /sbin/ifdown [ OK ] /sbin/ifup [ OK ] /sbin/init [ OK ] /sbin/insmod [ OK ] /sbin/ip [ OK ] /sbin/lsmod [ OK ] /sbin/modinfo [ OK ] /sbin/modprobe [ OK ] /sbin/nologin [ OK ] /sbin/rmmod [ OK ] /sbin/route [ OK ] /sbin/rsyslogd [ OK ] /sbin/runlevel [ OK ] /sbin/sulogin [ OK ] /sbin/sysctl [ OK ] /bin/awk [ OK ] /bin/basename [ OK ] /bin/bash [ OK ] /bin/cat [ OK ] /bin/chmod [ OK ] /bin/chown [ OK ] /bin/cp [ OK ] /bin/cut [ OK ] /bin/date [ OK ] /bin/df [ OK ] /bin/dmesg [ OK ] /bin/echo [ OK ] /bin/ed [ OK ] /bin/egrep [ OK ] /bin/env [ OK ] /bin/fgrep [ OK ] /bin/find [ OK ] /bin/grep [ OK ] /bin/kill [ OK ] /bin/login [ OK ] /bin/ls [ OK ] /bin/mail [ OK ] /bin/mktemp [ OK ] /bin/more [ OK ] /bin/mount [ OK ] /bin/mv [ OK ] /bin/netstat [ OK ] /bin/ps [ OK ] /bin/pwd [ OK ] /bin/readlink [ OK ] /bin/rpm [ OK ] /bin/sed [ OK ] /bin/sh [ OK ] /bin/sort [ OK ] /bin/su [ OK ] /bin/touch [ OK ] /bin/uname [ OK ] /bin/systemd [ OK ] /bin/systemctl [ OK ] /bin/gawk [ OK ] /bin/mailx [ OK ] /usr/sbin/adduser [ OK ] /usr/sbin/chroot [ OK ] /usr/sbin/groupadd [ OK ] /usr/sbin/groupdel [ OK ] /usr/sbin/groupmod [ OK ] /usr/sbin/grpck [ OK ] /usr/sbin/lsof [ OK ] /usr/sbin/prelink [ OK ] /usr/sbin/pwck [ OK ] /usr/sbin/sestatus [ OK ] /usr/sbin/tcpd [ OK ] /usr/sbin/useradd [ OK ] /usr/sbin/userdel [ OK ] /usr/sbin/usermod [ OK ] /usr/sbin/vipw [ OK ] /usr/bin/awk [ OK ] /usr/bin/chattr [ OK ] /usr/bin/curl [ OK ] /usr/bin/cut [ OK ] /usr/bin/diff [ OK ] /usr/bin/dirname [ OK ] /usr/bin/dpkg [ OK ] /usr/bin/dpkg-query [ OK ] /usr/bin/du [ OK ] /usr/bin/env [ OK ] /usr/bin/file [ OK ] /usr/bin/find [ OK ] /usr/bin/GET [ OK ] /usr/bin/groups [ OK ] /usr/bin/head [ OK ] /usr/bin/id [ OK ] /usr/bin/kill [ OK ] /usr/bin/killall [ OK ] /usr/bin/last [ OK ] /usr/bin/lastlog [ OK ] /usr/bin/ldd [ OK ] /usr/bin/less [ OK ] /usr/bin/locate [ OK ] /usr/bin/logger [ OK ] /usr/bin/lsattr [ OK ] /usr/bin/lynx [ OK ] /usr/bin/md5sum [ OK ] /usr/bin/newgrp [ OK ] /usr/bin/passwd [ OK ] /usr/bin/perl [ OK ] /usr/bin/pgrep [ OK ] /usr/bin/pstree [ OK ] /usr/bin/readlink [ OK ] /usr/bin/rkhunter [ OK ] /usr/bin/runcon [ OK ] /usr/bin/sha1sum [ OK ] /usr/bin/sha224sum [ OK ] /usr/bin/sha256sum [ OK ] /usr/bin/sha384sum [ OK ] /usr/bin/sha512sum [ OK ] /usr/bin/size [ OK ] /usr/bin/stat [ OK ] /usr/bin/strace [ OK ] /usr/bin/strings [ OK ] /usr/bin/sudo [ OK ] /usr/bin/tail [ OK ] /usr/bin/test [ OK ] /usr/bin/top [ OK ] /usr/bin/tr [ OK ] /usr/bin/uniq [ OK ] /usr/bin/users [ OK ] /usr/bin/vmstat [ OK ] /usr/bin/w [ OK ] /usr/bin/watch [ OK ] /usr/bin/wc [ OK ] /usr/bin/wget [ OK ] /usr/bin/whatis [ OK ] /usr/bin/whereis [ OK ] /usr/bin/which [ OK ] /usr/bin/who [ OK ] /usr/bin/whoami [ OK ] /usr/bin/gawk [ OK ] [Press <ENTER> to continue] Checking for rootkits... Performing check of known rootkit files and directories 55808 Trojan - Variant A [ Not found ] ADM Worm [ Not found ] AjaKit Rootkit [ Not found ] Adore Rootkit [ Not found ] aPa Kit [ Not found ] Apache Worm [ Not found ] Ambient (ark) Rootkit [ Not found ] Balaur Rootkit [ Not found ] BeastKit Rootkit [ Not found ] beX2 Rootkit [ Not found ] BOBKit Rootkit [ Not found ] cb Rootkit [ Not found ] CiNIK Worm (Slapper.B variant) [ Not found ] Danny-Boy's Abuse Kit [ Not found ] Devil RootKit [ Not found ] Dica-Kit Rootkit [ Not found ] Dreams Rootkit [ Not found ] Duarawkz Rootkit [ Not found ] Enye LKM [ Not found ] Flea Linux Rootkit [ Not found ] FreeBSD Rootkit [ Not found ] Fu Rootkit [ Not found ] Fuck`it Rootkit [ Not found ] GasKit Rootkit [ Not found ] Heroin LKM [ Not found ] HjC Kit [ Not found ] ignoKit Rootkit [ Not found ] iLLogiC Rootkit [ Not found ] IntoXonia-NG Rootkit [ Not found ] Irix Rootkit [ Not found ] Kitko Rootkit [ Not found ] Knark Rootkit [ Not found ] ld-linuxv.so Rootkit [ Not found ] Li0n Worm [ Not found ] Lockit / LJK2 Rootkit [ Not found ] Mood-NT Rootkit [ Not found ] MRK Rootkit [ Not found ] Ni0 Rootkit [ Not found ] Ohhara Rootkit [ Not found ] Optic Kit (Tux) Worm [ Not found ] Oz Rootkit [ Not found ] Phalanx Rootkit [ Not found ] Phalanx2 Rootkit [ Not found ] Phalanx2 Rootkit (extended tests) [ Not found ] Portacelo Rootkit [ Not found ] R3dstorm Toolkit [ Not found ] RH-Sharpe's Rootkit [ Not found ] RSHA's Rootkit [ Not found ] Scalper Worm [ Not found ] Sebek LKM [ Not found ] Shutdown Rootkit [ Not found ] SHV4 Rootkit [ Not found ] SHV5 Rootkit [ Not found ] Sin Rootkit [ Not found ] Slapper Worm [ Not found ] Sneakin Rootkit [ Not found ] 'Spanish' Rootkit [ Not found ] Suckit Rootkit [ Not found ] SunOS Rootkit [ Not found ] SunOS / NSDAP Rootkit [ Not found ] Superkit Rootkit [ Not found ] TBD (Telnet BackDoor) [ Not found ] TeLeKiT Rootkit [ Not found ] T0rn Rootkit [ Not found ] trNkit Rootkit [ Not found ] Trojanit Kit [ Not found ] Tuxtendo Rootkit [ Not found ] URK Rootkit [ Not found ] Vampire Rootkit [ Not found ] VcKit Rootkit [ Not found ] Volc Rootkit [ Not found ] Xzibit Rootkit [ Not found ] X-Org SunOS Rootkit [ Not found ] zaRwT.KiT Rootkit [ Not found ] ZK Rootkit [ Not found ] Performing additional rootkit checks Suckit Rookit additional checks [ OK ] Checking for possible rootkit files and directories [ None found ] Checking for possible rootkit strings [ None found ] Performing malware checks Checking running processes for suspicious files [ None found ] Checking for login backdoors [ None found ] Checking for suspicious directories [ None found ] Checking for sniffer log files [ None found ] Performing Linux specific checks Checking loaded kernel modules [ OK ] Checking kernel module names [ OK ] [Press <ENTER> to continue] Checking the network... Performing checks on the network ports Checking for backdoor ports [ None found ] Checking for hidden ports [ Skipped ] Performing checks on the network interfaces Checking for promiscuous interfaces [ None found ] Checking the local host... Performing system boot checks Checking for local host name [ Found ] Checking for system startup files [ Found ] Checking system startup files for malware [ None found ] Performing group and account checks Checking for passwd file [ Found ] Checking for root equivalent (UID 0) accounts [ None found ] Checking for passwordless accounts [ None found ] Checking for passwd file changes [ None found ] Checking for group file changes [ None found ] Checking root account shell history files [ OK ] Performing system configuration file checks Checking for SSH configuration file [ Found ] Checking if SSH root access is allowed [ Not allowed ] Checking if SSH protocol v1 is allowed [ Not allowed ] Checking for running syslog daemon [ Found ] Checking for syslog configuration file [ Found ] Checking if syslog remote logging is allowed [ Not allowed ] Performing filesystem checks Checking /dev for suspicious file types [ Warning ] Checking for hidden files and directories [ None found ] [Press <ENTER> to continue] System checks summary ===================== File properties checks... Files checked: 138 Suspect files: 0 Rootkit checks... Rootkits checked : 249 Possible rootkits: 0 Applications checks... All checks skipped The system checks took: 5 minutes and 45 seconds All results have been written to the log file (/var/log/rkhunter/rkhunter.log) One or more warnings have been found while checking the system. Please check the log file (/var/log/rkhunter/rkhunter.log)
Created attachment 517636 [details] log
Interesting. The one it's complaining about did not show up in your ls. /dev/shm/pulse-shm-1924471843 Does it now?
weird, yes: [long@raptor mnt]$ ls -la /dev/shm/pulse-shm-1924471843 -r--------. 1 long long 67108904 Aug 10 09:56 /dev/shm/pulse-shm-1924471843
I wonder if it's a race condition of some kind. Were you playing any audio while rkhunter was running?
I think you are on to something. I listen to online radio frequently and I think it loads new flash files when it goes to commercial etc. Probably causes a new pulse connection. I just ran two tests in the middle of a song and no warnings. Then I ran the test in a song and let it pause here: Performing Linux specific checks Checking loaded kernel modules [ OK ] Checking kernel module names [ OK ] [Press <ENTER> to continue] Checking the network... Performing checks on the network ports Checking for backdoor ports [ None found ] Checking for hidden ports [ Skipped ] and waited until a commercial started at which point I hit Enter and I received the warning about the pulse file.
So, this looks like a race condition then... it's getting the listing and then acting on it after a new entry is added. ;( I suppose this should be reported to the upstream list. Would you want to do that? or would you like me to do so?
I opened 3390743: https://sourceforge.net/tracker/?func=detail&aid=3390743&group_id=155034&atid=794187
rkhunter 1.4 has been released which is supposed to fix this issue
This message is a notice that Fedora 14 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 14. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '14' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 14 reached end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping