RKhunter question, Getting warnings for some directories.
Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
No, those are files. Let me guess, the warning is about the binary being replaced by a script. Please read the FAQ in your docs directory and see the whitelisting options in your rkhunter.conf.
Quote:
Originally Posted by M$ISBS
I also get a warning when checking for hidden files and directories.
Check the file /var/log/rkhunter.log paste the warnings here if there odd.
Also check the files themselfs, if there script files you can examine the code, paste one here if you don't understand it, might just be simple wrapper scripts.
I have some warnings on hidden files on my system, but these are normal:
[13:14:27] Warning: Hidden directory found: /etc/.java
[13:14:27] Warning: Hidden directory found: /dev/.static
[13:14:27] Warning: Hidden directory found: /dev/.udev
[13:14:27] Warning: Hidden directory found: /dev/.initramfs
Check the file /var/log/rkhunter.log paste the warnings here if there odd. Also check the files themselfs, if there script files you can examine the code, paste one here if you don't understand it, might just be simple wrapper scripts.
I already told him what to do and if he could read the docs that come with the product or the mailing list archives he could know how to handle it.
Quote:
Originally Posted by Hegemon
I have some warnings on hidden files on my system, but these are normal:
[13:14:27] Warning: Hidden directory found: /etc/.java
[13:14:27] Warning: Hidden directory found: /dev/.static
[13:14:27] Warning: Hidden directory found: /dev/.udev
[13:14:27] Warning: Hidden directory found: /dev/.initramfs
Again this too is something you can verify and then whitelist in rkhunter.conf.
BTW, not to plug stuff, but RKH 1.3.2 was released yesterday. Come 'n get it!
There are a few ways to determine if a file has a malicious nature or purpose. The FAQ that comes with the product goes into details in section 3.1 "Rootkit Hunter tells me there is something wrong with my system. What do I do?". Please read that part, try to determine what package and then ask.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.