The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
INIT: Command respawning too rapidly 1bigdog HP-UX 2 03-13-2008 10:50 PM
HP-UX respawning boot failure westcoast UNIX for Dummies Questions & Answers 2 01-08-2008 09:39 AM
a strange message when executing the sort command marwan UNIX for Dummies Questions & Answers 3 04-27-2007 04:32 AM
not sure what this message means, last command csaunders UNIX for Advanced & Expert Users 1 01-07-2004 08:15 AM
Some kind of message command sanjit UNIX for Dummies Questions & Answers 3 12-14-2000 07:45 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 08-26-2003
finster's Avatar
Registered User
 

Join Date: Nov 2002
Location: USA
Posts: 75
Command is respawning too rapidly..message

Ran into a new one today at work......

I was told to start 2 servers which were shut down due to a power outage(I don't believe they were shut down incorrectly).

After fsck, both console logins appear with the message:

INIT: Command is respawning too rapidly. Check for possible errors.
> id: #SV "/usr/bin/srload -D -q"


- searching the internet I found :
"/usr/bin/srload is NOT a Sun binary, and isn't on any supplied version of Solaris. I suspect you have a RootKit installed on your system. Probably the X-Org SunOS RootKit, this is the most common one for Solaris. .... Another way to confirm this is if you have the directory "/usr/lib/libX.a". If you do, then you definately have a rootkit on your system."

I have checked Both servers and they do not have /usr/bin/libX.a specifically. (libX*** exits).

Can anyone Please help on this one. Has anyone seeen this before?

-Thanks in advance.

Last edited by finster; 08-26-2003 at 07:57 PM.
Forum Sponsor
  #2  
Old 08-26-2003
finster's Avatar
Registered User
 

Join Date: Nov 2002
Location: USA
Posts: 75
I see that it is in my inittab file (last line)....

# cd /etc;more inittab
ap::sysinit:/sbin/autopush -f /etc/iu.ap
ap::sysinit:/sbin/soconfig -f /etc/sock2path
fs::sysinit:/sbin/rcS sysinit >/dev/msglog 2<>/dev/msglog </dev/console
is:3:initdefault:
p3:s1234owerfail:/usr/sbin/shutdown -y -i5 -g0 >/dev/msglog 2<>/dev/msglog
sS:s:wait:/sbin/rcS >/dev/msglog 2<>/dev/msglog </dev/console
s0:0:wait:/sbin/rc0 >/dev/msglog 2<>/dev/msglog </dev/console
s1:1:respawn:/sbin/rc1 >/dev/msglog 2<>/dev/msglog </dev/console
s2:23:wait:/sbin/rc2 >/dev/msglog 2<>/dev/msglog </dev/console
s3:3:wait:/sbin/rc3 >/dev/msglog 2<>/dev/msglog </dev/console
s5:5:wait:/sbin/rc5 >/dev/msglog 2<>/dev/msglog </dev/console
s6:6:wait:/sbin/rc6 >/dev/msglog 2<>/dev/msglog </dev/console
fw:0:wait:/sbin/uadmin 2 0 >/dev/msglog 2<>/dev/msglog </dev/console
of:5:wait:/sbin/uadmin 2 6 >/dev/msglog 2<>/dev/msglog </dev/console
rb:6:wait:/sbin/uadmin 2 1 >/dev/msglog 2<>/dev/msglog </dev/console
sc:234:respawn:/usr/lib/saf/sac -t 300
co:234:respawn:/usr/lib/saf/ttymon -g -h -p "`uname -n` console login: " -T sun -d /dev/console -l console
-m ldterm,ttcompat
SV:23:respawn:/usr/bin/srload -D -q
  #3  
Old 08-26-2003
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,493
Seems you have been hacked... sorry

From the net.......

Quote:
Our server which is a SUN Sparc 5 running solaris 5.7 has been
hacked. The symptoms are that the perfmeters (performance
meters) appear with a gravestone which has R.I.P on it and
the following message appears:

INIT command is resspawning too quickly
use SV /usr/bin/srload -D -q

The srload command seems to do nothing except complain the
-D is invalid. I have restored the /sbin /usr/sbin /usr/bin
and /usr/lib directories from backups. This seemed to work
yesterday. This morning the problem reappeared and restoring
the same file systems has not cured the problem.

We are a very small company and are connected to the world
a briefly as possible to pick up mail and search the web.
I do not understand the mechanisms for such hacking.

It is obvious that we must finally move to Solaris 8 and put
up a good firewall but in the meantime are there any suggestions
about how to fix the current problem as I cannot Rest In Peace
with that gravestone staring me in the face?
Based on my looking around on the net, the platform has been hacked (or might have been) at one time...... You need to consider how to repair.......

I can't find anything good on srload ..... only negative comments.... Neo
  #4  
Old 08-27-2003
finster's Avatar
Registered User
 

Join Date: Nov 2002
Location: USA
Posts: 75
I read the same on the net as well.......doesn't look good........except I get to practice my installation again.

Luckily nothing major lost.

Thanks again.

If anyone knows more specifics on this it would be appreciated...
  #5  
Old 08-27-2003
Registered User
 

Join Date: Aug 2003
Location: Dover, DE, USA
Posts: 31
First, just friendly advice. What kind of security and hardening is going to be in place after the install? Hint: Do not connect this server to the net until it is done.

Second, I found some info that is not posted on here yet, but has probally been read by you guys on the newsgroups:

Quote:
Found the same compromise on a server i serviced today. They had added
an irc bouncer in the directory "/dev/cua/..." and modified the system
not to find any of their "root kit" modifications.

The srload is just a sshd deamon.

You will most likely have a file named /usr/lib/libp/libm.n that
contains logs for passwords from a sniffer named /usr/sbin/modstat.
Also found this http://groups.google.com/groups?hl=e...s.de&frame=off

Just remember that if you have been compromised, which you probally have, you can not trust any of your normal commands as they could have been easily replaced with hacked versions to either inflict more harm or hide the files that you are looking for to see if you have been compromised. So, essentially, nothing on that server whether user created data, system components, logs, or the such should be saved and reloaded on the new install without fully checking it over to verify accuracy.

Tripwire is a good security tool if you are not using it yet.

Hope that helps...

Last edited by OllieTech; 08-27-2003 at 01:57 AM.
  #6  
Old 08-28-2003
finster's Avatar
Registered User
 

Join Date: Nov 2002
Location: USA
Posts: 75
Thanks for all the replies and help.
Google The UNIX and Linux Forums
Closed Thread

Tags
solaris

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 08:29 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0