QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 978|回复: 0

机器中了SUCKIT (ROOTKIT的一种)!

[复制链接]
发表于 2006-7-15 22:43:07 | 显示全部楼层 |阅读模式
对LINUX不熟悉。最近发现装有APACHE TOMCAT 的SERVER 中了ROOTKIT(SUCKIT),急需修复(TOMCAT 不工作了好象), 请知道的大大帮忙指点迷津,多谢了! (迟些会重新安装的)

找到了这个链接(http://www.iuiuiu.com/plog/post/2/41 ),和我的系统报错是一样的,照葫芦划瓢(下面的是结果),也没有看出什么可疑的(没有看到SUCKIT的典型的SK特征),请给予指点!

不知是否可以用新的 INIT 文件 代替/sbin/init 作为临时的解决办法?  不知从哪里可以得到干净的 INIT 文件,版本是REDHAT 2.4.18-26.8.0.

[root@server chkrootkit-0.46a]# chkrootkit
ROOTDIR is `/'
Checking `amd'... not found
Checking `basename'... not infected
Checking `biff'... not found
Checking `chfn'... not infected
Checking `chsh'... not infected
Checking `cron'... not infected
Checking `date'... not infected
Checking `du'... not infected
Checking `dirname'... not infected
Checking `echo'... not infected
Checking `egrep'... not infected
Checking `env'... not infected
Checking `find'... not infected
Checking `fingerd'... not found
Checking `gpm'... not infected
Checking `grep'... not infected
Checking `hdparm'... not infected
Checking `su'... not infected
Checking `ifconfig'... INFECTED
Checking `inetd'... not tested
Checking `inetdconf'... not found
Checking `identd'... not found
Checking `init'... not infected
Checking `killall'... not infected
Checking `ldsopreload'... can't exec ./strings-static, not tested
Checking `login'... not infected
Checking `ls'... INFECTED
Checking `lsof'... not infected
Checking `mail'... not infected
Checking `mingetty'... not infected
Checking `netstat'... INFECTED
Checking `named'... not infected
Checking `passwd'... not infected
Checking `pidof'... not infected
Checking `pop2'... not found
Checking `pop3'... not found
Checking `ps'... INFECTED
Checking `pstree'... not infected
Checking `rpcinfo'... not infected
Checking `rlogind'... not found
Checking `rshd'... not found
Checking `slogin'... not infected
Checking `sendmail'... not infected
Checking `sshd'... not infected
Checking `syslogd'... not infected
Checking `tar'... not infected
Checking `tcpd'... not infected
Checking `tcpdump'... not infected
Checking `top'... INFECTED
Checking `telnetd'... not found
Checking `timed'... not found
Checking `traceroute'... not infected
Checking `vdir'... not infected
Checking `w'... not infected
Checking `write'... not infected
Checking `aliens'...
/dev/ttyop /dev/ttyoa
Searching for sniffer's logs, it may take a while... nothing found
Searching for HiDrootkit's default dir... nothing found
Searching for t0rn's default files and dirs... nothing found
Searching for t0rn's v8 defaults... nothing found
Searching for Lion Worm default files and dirs... nothing found
Searching for RSHA's default files and dir... nothing found
Searching for RH-Sharpe's default files... nothing found
Searching for Ambient's rootkit (ark) default files and dirs... nothing found
Searching for suspicious files and dirs, it may take a while...
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/.packlist /usr/lib/.a /usr/lib/.a/.cron /usr/lib/qt-3.0.5/etc/settings/.qtrc.lock /usr/lib/qt-3.0.5/etc/settings/.qt_plugins_3.0rc.lock /usr/lib/qt-3.0.5/etc/settings/.kstylerc.lock
/usr/lib/.a
Searching for LPD Worm files and dirs... nothing found
Searching for Ramen Worm files and dirs... nothing found
Searching for Maniac files and dirs... nothing found
Searching for RK17 files and dirs... nothing found
Searching for Ducoci rootkit... nothing found
Searching for Adore Worm... nothing found
Searching for ShitC Worm... nothing found
Searching for Omega Worm... nothing found
Searching for Sadmind/IIS Worm... nothing found
Searching for MonKit... nothing found
Searching for Showtee... nothing found
Searching for OpticKit... nothing found
Searching for T.R.K... nothing found
Searching for Mithra... nothing found
Searching for LOC rootkit... nothing found
Searching for Romanian rootkit... nothing found
Searching for HKRK rootkit... nothing found
Searching for Suckit rootkit... Warning: /sbin/init INFECTED
Searching for Volc rootkit... nothing found
Searching for Gold2 rootkit... nothing found
Searching for TC2 Worm default files and dirs... nothing found
Searching for Anonoying rootkit default files and dirs... nothing found
Searching for ZK rootkit default files and dirs... nothing found
Searching for ShKit rootkit default files and dirs... nothing found
Searching for AjaKit rootkit default files and dirs... nothing found
Searching for zaRwT rootkit default files and dirs... nothing found
Searching for Madalin rootkit default files... Possible Madalin rootkit installed
Searching for Fu rootkit default files... nothing found
Searching for ESRK rootkit default files... nothing found
Searching for rootedoor... nothing found
Searching for anomalies in shell history files... nothing found
Checking `asp'... not infected
Checking `bindshell'... not infected
Checking `lkm'... Checking `rexedcs'... not found
Checking `sniffer'... not tested: can't exec ./ifpromisc
Checking `w55808'... not infected
Checking `wted'... not tested: can't exec ./chkwtmp
Checking `scalper'... not infected
Checking `slapper'... not infected
Checking `z2'... not tested: can't exec ./chklastlog
Checking `chkutmp'... not tested: can't exec ./chkutmp
------------------------------------------------------------------------

[root@server proc]#  for i in *; do test -f $i/cmdline && (cat $i/cmdline; echo $i); done
init1
/usr/bin/gdm-binary-nodaemon1033
/usr/X11R6/bin/X:0-auth/var/gdm/:0.Xauth1034
gnome-session1051
/usr/bin/ssh-agent/usr/share/apps/switchdesk/Xclients.gnome1099
/usr/libexec/gconfd-291102
/usr/libexec/bonobo-activation-server--ac-activate--ior-output-fd=141104
/usr/bin/metacity--sm-client-id=default11106
gnome-settings-daemon--oaf-activate-iid=OAFIID:GNOME_SettingsDaemon--oaf-ior-fd=121108
fam1112
esd-terminate-nobeeps-as2-spawnfd221117
gnome-panel--sm-client-iddefault21126
nautilus--no-default-window--sm-client-iddefault31128
magicdev--sm-client-iddefault41130
pam-panel-icon--sm-client-iddefault01133
/usr/bin/python/usr/bin/rhn-applet-gui--sm-client-iddefault51135
/sbin/pam_timestamp_check-droot1136
nautilus--no-default-window--sm-client-iddefault31137
nautilus--no-default-window--sm-client-iddefault31138
nautilus--no-default-window--sm-client-iddefault31139
nautilus--no-default-window--sm-client-iddefault31140
nautilus--no-default-window--sm-client-iddefault31141
nautilus--no-default-window--sm-client-iddefault31142
nautilus--no-default-window--sm-client-iddefault31143
/usr/lib/mozilla-1.0.1/mozilla-bin1145
/usr/lib/mozilla-1.0.1/mozilla-bin1154
/usr/lib/mozilla-1.0.1/mozilla-bin1155
/usr/lib/mozilla-1.0.1/mozilla-bin1156
/usr/lib/mozilla-1.0.1/mozilla-bin1158
/usr/libexec/nautilus-throbber--oaf-activate-iid=OAFIID:Nautilus_Throbber_Factory--oaf-ior-fd=181165
12
nautilus--no-default-window--sm-client-iddefault314194
nautilus--no-default-window--sm-client-iddefault314195
nautilus--no-default-window--sm-client-iddefault314196
nautilus--no-default-window--sm-client-iddefault314197
/usr/libexec/nautilus-text-view--oaf-activate-iid=OAFIID:Nautilus_Text_View_Factory--oaf-ior-fd=2214262
/usr/libexec/nautilus-text-view--oaf-activate-iid=OAFIID:Nautilus_Text_View_Factory--oaf-ior-fd=2214263
/usr/libexec/nautilus-text-view--oaf-activate-iid=OAFIID:Nautilus_Text_View_Factory--oaf-ior-fd=2214264
/usr/local/apache2/bin/httpd-kstart14269
/usr/local/apache2/bin/httpd-kstart14302
/usr/local/apache2/bin/httpd-kstart14303
/usr/local/apache2/bin/httpd-kstart14304
/usr/local/apache2/bin/httpd-kstart14305
/usr/local/apache2/bin/httpd-kstart14306
/usr/local/apache2/bin/httpd-kstart14326
/usr/local/apache2/bin/httpd-kstart14327
/usr/local/apache2/bin/httpd-kstart14328
/usr/sbin/httpd14804
/usr/sbin/httpd14805
/usr/sbin/httpd14806
/usr/sbin/httpd14807
/usr/sbin/httpd14808
/usr/sbin/httpd14809
/usr/sbin/httpd14810
/usr/sbin/httpd14811
14877
/usr/lib/mozilla-1.0.1/mozilla-bin14879
gnome-terminal14891
bash14892
2
smbd -D22
3
(swapd)301
(swapd)327
(swapd)354
(swapd)386
4
(swapd)405
(swapd)489
5
(swapd)569
syslogd-m0572
klogd-x576
(swapd)595
portmap598
6
(swapd)609
rpc.statd622
(swapd)634
(swapd)654
(swapd)670
7
(swapd)704
/usr/sbin/apmd-p10-w5-W-P/etc/sysconfig/apm-scripts/apmscript707
(swapd)719
74
(swapd)751
/usr/sbin/snmpd-s-l/dev/null-P/var/run/snmpd-a754
(swapd)767
/usr/sbin/sshd770
(swapd)786
xinetd-stayalive-reuse-pidfile/var/run/xinetd.pid789
8
(swapd)800
sendmail: accepting connections812
sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue822
(swapd)834
gpm-timps2-m/dev/mouse837
(swapd)848
/usr/sbin/httpd858
(swapd)869
crond872
(swapd)883
xfs-droppriv-daemon906
(swapd)917
smbd-D920
nmbd-D924
(swapd)935
(swapd)949
/usr/sbin/atd952
(swapd)963
rhnsd--interval120969
/usr/bin/perl/usr/libexec/webmin/miniserv.pl/etc/webmin/miniserv.conf978
/sbin/mingettytty1982
/sbin/mingettytty2983
/sbin/mingettytty3984
/sbin/mingettytty4985
/sbin/mingettytty5986
/sbin/mingettytty6987
/usr/bin/gdm-binary-nodaemon988
catself/cmdlineself
-------------------------------------------------------------------------

[root@server proc]# for i in `seq 1 33000`; do test -f $i/cmdline && (cat $i/cmdline; echo $i); done
init1
2
3
4
5
6
7
8
12
smbd -D22
74
(swapd)301
(swapd)327
(swapd)354
(swapd)386
(swapd)405
(swapd)489
(swapd)569
syslogd-m0572
klogd-x576
(swapd)595
portmap598
(swapd)609
rpc.statd622
(swapd)634
(swapd)654
(swapd)670
(swapd)704
/usr/sbin/apmd-p10-w5-W-P/etc/sysconfig/apm-scripts/apmscript707
(swapd)719
(swapd)751
/usr/sbin/snmpd-s-l/dev/null-P/var/run/snmpd-a754
(swapd)767
/usr/sbin/sshd770
(swapd)786
xinetd-stayalive-reuse-pidfile/var/run/xinetd.pid789
(swapd)800
sendmail: accepting connections812
sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue822
(swapd)834
gpm-timps2-m/dev/mouse837
(swapd)848
/usr/sbin/httpd858
(swapd)869
crond872
(swapd)883
xfs-droppriv-daemon906
(swapd)917
smbd-D920
nmbd-D924
(swapd)935
(swapd)949
/usr/sbin/atd952
(swapd)963
rhnsd--interval120969
/usr/bin/perl/usr/libexec/webmin/miniserv.pl/etc/webmin/miniserv.conf978
/sbin/mingettytty1982
/sbin/mingettytty2983
/sbin/mingettytty3984
/sbin/mingettytty4985
/sbin/mingettytty5986
/sbin/mingettytty6987
/usr/bin/gdm-binary-nodaemon988
/usr/bin/gdm-binary-nodaemon1033
/usr/X11R6/bin/X:0-auth/var/gdm/:0.Xauth1034
gnome-session1051
/usr/bin/ssh-agent/usr/share/apps/switchdesk/Xclients.gnome1099
/usr/libexec/gconfd-291102
/usr/libexec/bonobo-activation-server--ac-activate--ior-output-fd=141104
/usr/bin/metacity--sm-client-id=default11106
gnome-settings-daemon--oaf-activate-iid=OAFIID:GNOME_SettingsDaemon--oaf-ior-fd=121108
fam1112
esd-terminate-nobeeps-as2-spawnfd221117
gnome-panel--sm-client-iddefault21126
nautilus--no-default-window--sm-client-iddefault31128
magicdev--sm-client-iddefault41130
pam-panel-icon--sm-client-iddefault01133
/usr/bin/python/usr/bin/rhn-applet-gui--sm-client-iddefault51135
/sbin/pam_timestamp_check-droot1136
nautilus--no-default-window--sm-client-iddefault31137
nautilus--no-default-window--sm-client-iddefault31138
nautilus--no-default-window--sm-client-iddefault31139
nautilus--no-default-window--sm-client-iddefault31140
nautilus--no-default-window--sm-client-iddefault31141
nautilus--no-default-window--sm-client-iddefault31142
nautilus--no-default-window--sm-client-iddefault31143
/usr/lib/mozilla-1.0.1/mozilla-bin1145
/usr/lib/mozilla-1.0.1/mozilla-bin1154
/usr/lib/mozilla-1.0.1/mozilla-bin1155
/usr/lib/mozilla-1.0.1/mozilla-bin1156
/usr/lib/mozilla-1.0.1/mozilla-bin1158
/usr/libexec/nautilus-throbber--oaf-activate-iid=OAFIID:Nautilus_Throbber_Factory--oaf-ior-fd=181165
nautilus--no-default-window--sm-client-iddefault314194
nautilus--no-default-window--sm-client-iddefault314195
nautilus--no-default-window--sm-client-iddefault314196
nautilus--no-default-window--sm-client-iddefault314197
/usr/libexec/nautilus-text-view--oaf-activate-iid=OAFIID:Nautilus_Text_View_Factory--oaf-ior-fd=2214262
/usr/libexec/nautilus-text-view--oaf-activate-iid=OAFIID:Nautilus_Text_View_Factory--oaf-ior-fd=2214263
/usr/libexec/nautilus-text-view--oaf-activate-iid=OAFIID:Nautilus_Text_View_Factory--oaf-ior-fd=2214264
/usr/local/apache2/bin/httpd-kstart14269
/usr/local/apache2/bin/httpd-kstart14302
/usr/local/apache2/bin/httpd-kstart14303
/usr/local/apache2/bin/httpd-kstart14304
/usr/local/apache2/bin/httpd-kstart14305
/usr/local/apache2/bin/httpd-kstart14306
/usr/local/apache2/bin/httpd-kstart14326
/usr/local/apache2/bin/httpd-kstart14327
/usr/local/apache2/bin/httpd-kstart14328
/usr/sbin/httpd14804
/usr/sbin/httpd14805
/usr/sbin/httpd14806
/usr/sbin/httpd14807
/usr/sbin/httpd14808
/usr/sbin/httpd14809
/usr/sbin/httpd14810
/usr/sbin/httpd14811
14877
/usr/lib/mozilla-1.0.1/mozilla-bin14879
gnome-terminal14891
bash14892
gedit16108
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-2 12:29 , Processed in 0.044146 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表