LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-06-2005, 09:40 AM   #1
ddaas
Member
 
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 474

Rep: Reputation: 30
chkrootkit and SuckIT


Hi there,
On my Server (rhel3), #chkrootkit -q returns:
Quote:
Searching for Suckit rootkit... Warning: /sbin/init INFECTED
I also ran rkhunter-1.2.7 and it didn't return anything.
I want to find out somehow if chrrootkit return a false positive or not because formatting / reinstalling the whole server is not such a easy work( the server is used as PDC in the company and this means that I should spend a night or two reinstalling the server of paralyzing the activity for one day ...)
I want to do this kind of stuff only after I get other evidence and info about this rootkit or chkrootkit (0.46a) false positive. I also maintain a AIDE checksum - database (offsite). /sbin/init was really changed on 2005-09-30 but that was a date when I did an update of the server (with redhat network). - On that day a lot of files were changed/added/removed so it could be a false positive:
Quote:
AIDE found differences between database and filesystem!!
Start timestamp: 2005-09-30 22:02:12
Summary:
Total number of files=152943,added files=14585,removed files=14602,changed files=16098
Please, I really need some help. Does anyone know something more about SuckIT, how can I find it for sure if it is really on my system? is there a database of checksums with different versions of linux binaries (like /sbin/init) to compare against my /sbin/init hash?
 
Old 12-06-2005, 12:39 PM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
Information on Suckit:
http://la-samhna.de/library/rootkits/list.html
http://www.soohrt.org/stuff/linux/suckit/
http://www.trojaner-info.de/news2/li...backdoor.shtml
http://www.linuxquestions.org/questi...ad.php?t=35743

Really ugly!!!

Last edited by Keruskerfuerst; 12-06-2005 at 12:44 PM.
 
Old 12-06-2005, 02:13 PM   #3
ddaas
Member
 
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 474

Original Poster
Rep: Reputation: 30
I am not so happy with this situation
I've read those links but I couldn't find for sure if this rootkit is on my server.
I've tried:
Quote:
for i in *; do test -f $i/cmdline && (cat $i/cmdline; echo $i); done
and
Quote:
for i in `seq 1 33000`; do test -f $i/cmdline && (cat $i/cmdline; echo $i); done
and there is no sk binary. Now I don't know if I can trust cat, echo and the other binaries. Only chkrootkit reports /sbin/init as infected (rkhunter says it is ok). Could it be only a false positive?
I am really worried because this is an enterprise server and I should take a decision quickly.
Now I'm going to read more about SuckIT, and eventually look in the source code of chkrootkit where it checks for this rootkit.
Anyway, my only open ports on the Internet are: ssh (only key auth, no root login, and so on), imaps (all patches installed) and openvpn.
How was it installed? Is it more probably that it came from the inside? (this worries me a lot).

Any feedback on this topic is really really appreciated.
 
Old 12-06-2005, 02:44 PM   #4
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
Can you replace /sbin/init with the version from CD/DVD or from a update server (file with a fingerprint)?
 
Old 12-06-2005, 04:23 PM   #5
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
This is a known thing with RHEL3 - it happened to us after we updated to update 6. It seems to go away after a while (maybe they had an update to chkrootkit, I can't remember). Anyway you can assure yourself by rebooting off the resuce CD and doing a sha1sum on /sbin/init, and then comparing that to a system which doesn't flag as being infected by chkrootkit.

Although you should still be careful (just in case its no a false positive) I'd definately put my money on it being a false positive in your case, after what happened to us.
 
Old 12-07-2005, 03:42 AM   #6
ddaas
Member
 
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 474

Original Poster
Rep: Reputation: 30
I found this: http://forums.gentoo.org/viewtopic-t...ht-suckit.html

It seamns a false positive...
 
Old 12-07-2005, 07:50 AM   #7
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Try verifying the integrity of the binary using rpm -V SysVinit. If it's clean, it should produce no output. Did rebooting (as per the link you posted) help?
 
Old 12-07-2005, 07:57 AM   #8
ddaas
Member
 
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 474

Original Poster
Rep: Reputation: 30
rpm -V SysVinit produces no output.
I didn't restart the server yet (as I said it is an enterprise server and I should wait for the others to finish they work). Maybe tonight...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SuckIT attack aahad1 Linux - Security 5 09-14-2004 03:40 AM
My server has been hacked, how to remove SUCKIT? ruleman Linux - Security 7 06-20-2004 06:25 AM
suckit disaster disatech Linux - Security 14 01-29-2004 11:07 PM
suckit seems to be installed, HELP wizardontherun Linux - Newbie 2 01-29-2004 04:16 PM
SucKIT acadcworks Linux - Security 1 11-18-2002 06:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration