LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 11-29-2004, 08:42 AM   #1
stardot
LQ Newbie
 
Registered: Nov 2004
Location: virginia, u.s.a.
Distribution: Fedora Core 2
Posts: 2

Rep: Reputation: 0
Question mtime/ctime changed on directory entries


Hi there!

I'm using Aide to monitor certain directories for changes to the system, and today it came up with the following changes:

Directory: /usr/sbin
Mtime : 2004-11-22 20:12:04 , 2004-11-29 05:50:21
Ctime : 2004-11-22 20:12:04 , 2004-11-29 05:50:21
Directory: /usr/bin
Mtime : 2004-11-22 20:12:04 , 2004-11-29 05:50:21
Ctime : 2004-11-22 20:12:04 , 2004-11-29 05:50:21
Directory: /bin
Mtime : 2004-11-22 20:12:02 , 2004-11-29 05:50:20
Ctime : 2004-11-22 20:12:02 , 2004-11-29 05:50:20


No files have been added or deleted to these directories, or Aide would have
reported that difference. There's no change in permissions, inode, or ownership
as Aide is tracking those too.

No files in the directories have changed either.

The only thing I can figure would cause this change is if a file got added and
then deleted in those directories between the times that aide ran to do its check.
The aide database had not changed either (I track the md5 of the database separately to know whether I need to restore it from backup).

Can anyone think of something else that would cause a change in ctime and mtime
but nothing else?

Any idea what could have done such a thing as add, then delete a file in all three
directories within one second?

Thanks,

Paranoid
 
Old 11-29-2004, 09:19 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
What do your logs say if anything and was anyone logged in at those times?
 
Old 11-29-2004, 10:44 PM   #3
stardot
LQ Newbie
 
Registered: Nov 2004
Location: virginia, u.s.a.
Distribution: Fedora Core 2
Posts: 2

Original Poster
Rep: Reputation: 0
I checked /var/log/messages, and there was nothing happening at the same time there.

I've yet to check any other logs, but no one was logged in and the only things that run on the box with ports open through the firewall are DNS, Apache, Tomcat, and Webmin. Webmin is restricted to a very small set of IP addresses. Telnet never runs on the box. SSH only runs if I go to Webmin and start it up. I then shut it down when I'm done with it.

I'll check other logs and also check for cron jobs running around the time in question.
 
  


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
ctime of /etc/samba/smbpasswd different ddaas Linux - Security 0 07-04-2005 01:42 AM
how to update entries that has been changed in a configuration files Niceman2005 Linux - Software 1 11-17-2004 02:52 AM
Maximum Number of Directory Entries & Performance aig Linux - General 1 07-09-2004 07:36 AM
we changed permissions on the etc directory and now we can not log in vinces39 Red Hat 1 06-18-2004 10:20 AM
Directory changed to a file cparton Linux - Newbie 0 09-25-2003 12:58 AM


All times are GMT -5. The time now is 03:39 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