Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Recently installed OSSEC on Linux machine to test.

Most results are expected, however yesterday I received emails with a number of notifications about Integrity checksum changing on files such as /usr/bin/whoami /usr/bin/md5sum /usr/bin/ls and about another 50 similar files

Since I didn't install any new versions of these files, how do I find out what caused the integrity checksum to change 2 days after I installed the OSSEC program?

Eureka

share|improve this question

1 Answer 1

up vote 5 down vote accepted

Two reasons are:

  • You've actually been hacked
  • Prelinking is enabled

You can disable prelinking by editing /etc/sysconfig/prelink from:

PRELINKING=yes

to:

PRELINKING=no

And running:

prelink -ua

Source: http://www.ossec.net/wiki/Know_How:Check_Sums

share|improve this answer
2  
Thank you very much. That has explained the constant changes I saw. I then did some further searching and also found information on another option as well Source: mail-archive.com/ossec-list@googlegroups.com/msg04568.html –  Eureka Ikara Nov 19 '10 at 4:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.