LinuxQuestions.org
Visit Jeremy's Blog.
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 10-17-2003, 10:20 AM   #1
KennyK
Member
 
Registered: Apr 2003
Location: California, USA
Distribution: Redhat 8.0, 9.0 Suse 9.0 Pro
Posts: 129

Rep: Reputation: 15
Weird entries in log file


I see these entries in here and am not sure what they are. Does anyone know what this is?
/var/log/secure


Oct 14 14:57:01 server xinetd[2208]: START: sgi_fam pid=19886 from=<no address>
Oct 14 15:39:34 server usermod[20321]: change user `gdm' shell from `/sbin/nologin' to `/sbin/nologin'
Oct 14 15:39:47 server usermod[20359]: change user `mailman' GID from `41' to `41'
Oct 14 15:39:47 server usermod[20359]: change user `mailman' shell from `/bin/false' to `/sbin/nologin'
Oct 14 15:41:19 server sshd[2194]: Received signal 15; terminating.
Oct 14 15:41:22 server sshd[20688]: Server listening on 0.0.0.0 port 22.

Any help would be great.

Regards
 
Old 10-17-2003, 05:03 PM   #2
jayjwa
Member
 
Registered: Jul 2003
Location: NY
Distribution: None (src & compile)
Posts: 253

Rep: Reputation: 36
You sure you the only one that's got the root password? Either someone else is also doing things that normally require root privilleges or you have the worst memory to date in history!I'm not familiar with RH, but ain't sgi_fam the file alteration monitor? I'd say sometime fishy is up. If you have an md5sum of sshd, now may be the time to check it, just for hell. md5sum the top trojan'ed files. I know there's a sshd trojan going around right now. That plus the file alter. w/no address + sshd being shutdown & restarted looks like the start of trouble to me. I keep a hidden file with md5sums of the most popular trojaned apps + the ones I would hate for someone to trojan. That way I can tell if something is changed, by either virus/worm, trojan, bad users, whatever- without having to run a full service like tripwire, which would surely be deactivated by a competent cracker anyway upon breach of system.
I'd gather some more info, keep an eye out, and maybe set a few intrustion detection traps. Then watch for action if it appears that nothing has really occured, based on the log evidence you have already.

-jayjwa
 
Old 10-17-2003, 06:07 PM   #3
KennyK
Member
 
Registered: Apr 2003
Location: California, USA
Distribution: Redhat 8.0, 9.0 Suse 9.0 Pro
Posts: 129

Original Poster
Rep: Reputation: 15
This is fishy. It looks like this happened the same day that I got the DSL hooked up. But here are a few things that make me scratch my head.

1. This box has always benn behind a firewall.

2. As soon as I got the DSL hooked up, I applied all of the patches available.

I will have to check this out some more and see what I can come up with. Thanks for your reply, and anyones elses thoughts would be welcome.

Regards
 
Old 10-17-2003, 07:20 PM   #4
jayjwa
Member
 
Registered: Jul 2003
Location: NY
Distribution: None (src & compile)
Posts: 253

Rep: Reputation: 36
What about the other logs- wtmp acct? Anything in lastlog, dmesg, syslog, xinetd.log, xinetd.msg? FW logs? What ports are in use; services?
 
Old 10-17-2003, 08:28 PM   #5
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
Check the README files associated with the patches you installed. Some of them may have changed system user's shell to /sbin/nologin as part of a security patch.

SSH exiting and resarting was probably due to applying the fixes for the memory management flaws in OpenSSH.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
/var/log/messages weird entries blizunt7 Linux - Security 5 11-01-2005 05:56 PM
/var/log/auth.log entries buehler Linux - Security 1 04-23-2005 04:45 PM
weird stuff in /var/log/auth.log bschiett Linux - Security 3 03-12-2005 08:29 AM
log entries robert1963 Linux - Security 1 03-28-2004 04:37 PM
question regarding log entries epeus Linux - Security 6 01-09-2003 05:59 AM


All times are GMT -5. The time now is 03:13 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration