LinuxQuestions.org
Help answer threads with 0 replies.
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 08-31-2009, 04:53 PM   #1
anelson55447
LQ Newbie
 
Registered: Feb 2006
Location: Plymouth, Minnesota, USA
Distribution: CentOS 5.3
Posts: 5

Rep: Reputation: 0
rsec sha1 checksum change


I put system taurus.webinsite.com on the internet about a week ago running CentOS 5.3 with SELinux. After a few days, I installed rsec. I have been evaluating logs for four days and the following message concerned me. Does this indicate a serious threat to the integrity of my new system? If so, what are the next steps I need to take. I'm not a newbie and have several years of unix experience with AIX, Sun, and older versions of Red Hat Linux. I'm no security expert and am learning security on the fly. I think I have a pretty good set of rules in my iptables file, but I don't know how to interpret the sha1 checksum importance. Any help would be welcome. Thanks.

---------- Forwarded message ----------
Date: Mon, 31 Aug 2009 04:14:53 -0500
From: root <root@localhost.localdomain>
To: root@localhost.localdomain
Subject: [rsec] *** Diff Check on taurus, Mon Aug 31 04:14:53 CDT 2009 ***


Security Warning: the sha1 checksum for one of your SUID files has changed,
maybe an intruder modified one of these suid binary in order to put in a backdoor...
- Checksum changed file : /usr/bin/Xorg
- Checksum changed file : /usr/lib/squid/ncsa_auth
- Checksum changed file : /usr/lib/squid/pam_auth
 
Old 09-01-2009, 03:02 AM   #2
noden
LQ Newbie
 
Registered: Aug 2009
Location: Denmark
Distribution: Debian
Posts: 29

Rep: Reputation: 18
If the checksum changed, the file changed.
Say you were checksumming the "shadow" password file and changed a password or added a new user, the checksum would change.
The same goes for the Squid auth. I dont know what is in these files though.
The user information for squid users is in /etc/squid/passwd right? So unless those are config files you edited or executables you updated, you should be alarmed.

You didnt change them yourself?

I dont know too much about those files but if you are not sure if you changed them yourself, replace them with new files and recalculate the sha1 checksum on them.
Having the pam files change should sound the alarm I guess.

I hope this is somewhat usefull. I never used Squid myself.
 
Old 09-01-2009, 01:07 PM   #3
anelson55447
LQ Newbie
 
Registered: Feb 2006
Location: Plymouth, Minnesota, USA
Distribution: CentOS 5.3
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by noden View Post
If the checksum changed, the file changed.
Say you were checksumming the "shadow" password file and changed a password or added a new user, the checksum would change.
The same goes for the Squid auth. I dont know what is in these files though.
The user information for squid users is in /etc/squid/passwd right? So unless those are config files you edited or executables you updated, you should be alarmed.

You didnt change them yourself?

I dont know too much about those files but if you are not sure if you changed them yourself, replace them with new files and recalculate the sha1 checksum on them.
Having the pam files change should sound the alarm I guess.

I hope this is somewhat usefull. I never used Squid myself.
Tak! The three files noted in the initial message are SUID elf binaries. I didn't change them myself. I don't have squid enabled yet. It's installed, but not configured or activated. It's possible that some of the automatic updates might have triggered the sha1 changes. The next days report from rsec does not include any further changes nor did it find any rootkits. Who knows?
 
  


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
Checksum 4 Slackware download - what type of checksum is this. Earnest Lux Linux - Newbie 1 02-02-2008 08:02 PM
SUID file checksum change paul123 Linux - Security 3 01-15-2007 04:57 PM
Spamassassin Digest::SHA1 twantrd Linux - Software 0 02-06-2005 07:00 PM
Getting SHA1... Red Guy Linux - Software 0 07-22-2003 10:16 PM

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

All times are GMT -5. The time now is 12:02 AM.

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