You are not logged in.
Pages: 1
I installed and ran chkrootkit. (out of curiosity).
Everything seemed to be clean, but except this message.
Checking `crontab'... Warning: crontab for nobody found, possible Lupper.Worm... not infected
When I do crontab -e nobody, I get an empty file.
Should I be worried?
The most important thing the hacker community does is write better code. Our deeds are the best propaganda we have. -Eric S. Raymond
Offline
Hi stmok,
I have the same message on my server;
but I don't think that it's a real problem
Last edited by luca (2007-06-07 18:51:56)
Offline
what does
crontab -l nobody
kick out?
Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein
Offline
what does
crontab -l nobody
kick out?
It doesn't show anything.
ie: I type in this...
=> [root@semp01 stmok]# crontab -l nobody
Response? Nothing.
=> [root@semp01 stmok]#
Is it supposed to say something?
The most important thing the hacker community does is write better code. Our deeds are the best propaganda we have. -Eric S. Raymond
Offline
Running a rootkit check locally probably wouldn't reveal a rootkit if you were infected since the rootkit could already hide itself, you should run it from another machine (which you know isn't infected)/live cd if you believe/fear you have been infected.
PC: Antec P182B | Asus P8Z77-V PRO | Intel i5 3570k | 16GB DDR3 | GeForce 450GTS | 4TB HDD | Pioneer BDR-207D | Asus Xonar DX | Altec Lansing CS21 | Eizo EV2736W-BK | Arch Linux x86_64
HTPC: Antec NSK2480 | ASUS M3A78-EM (AMD 780G) | AMD Athlon X3 425 | 8GB DDR2 | GeForce G210 | 2TB HDD | Arch Linux x86_64
Server: Raspberry Pi (model B) | 512MB RAM | 750GB HDD | Arch Linux ARM
Offline
Instead of repeating what I wrote in February, please look at my post in the thread was my comp hacked?. If this check in chkrootkit hasn't changed, this still apply.
Offline
Instead of repeating what I wrote in February, please look at my post in the thread was my comp hacked?. If this check in chkrootkit hasn't changed, this still apply.
I see, I think I get what you're saying.
chkrootkit checks for unknown users. nobody is also considered a user. Since nobody exists, it also checks if there is a crontab for nobody. And if there isn't one, its considered OK. Hence, it will spit out the answer not infected.
I think what freaks people out is the message it prints on the screen.
=> Warning: crontab for nobody found, possible Lupper.Worm...not infected
They should change it to something like:
=> Warning: crontab for nobody found. Checking if infected by Lupper.Worm...not infected
We should include a wiki entry or some sort of sticky for this scenario. Maybe include a procedure of using a LiveCD that has chkrootkit (Knoppix?) for those who are paranoid. That way, it brings assurance to the user. (as well as establish good computing practice).
The most important thing the hacker community does is write better code. Our deeds are the best propaganda we have. -Eric S. Raymond
Offline
Why does nobody have a blank crontab, though - that's my question. If nobody has no crontab at all, you should get the following:
[root@pinkwater ~]# crontab -l nobody
no crontab for nobody
As it is, it sounds like nobody has a crontab, but nothing is entered in it.
Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein
Offline
Well, the test in chkrootkit starts with checking the error code of crontab -l -u nobody. Since the nobody user always exists, this test will always test true, since this test returns a 0 error code even though a crontab does not exist for an existing user. The test would only return false if user nobody did not exist on the system.
Next, if the test returns true (as I said, it always does), chkrootkit prints the unnecessarily confusing message "Warning: crontab for nobody found, possible Lupper.Worm...", and then it checks if the string "crontab.*666" is present in the output from crontab -l -u nobody. If it is present, the system is deemed infected.
IMO, they ought to only do the second check, and output messages based on that test.
Offline
Pages: 1