Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-29-2004, 08:42 AM
|
#1
|
LQ Newbie
Registered: Nov 2004
Location: virginia, u.s.a.
Distribution: Fedora Core 2
Posts: 2
Rep:
|
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
|
|
|
11-29-2004, 09:19 AM
|
#2
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
What do your logs say if anything and was anyone logged in at those times?
|
|
|
11-29-2004, 10:44 PM
|
#3
|
LQ Newbie
Registered: Nov 2004
Location: virginia, u.s.a.
Distribution: Fedora Core 2
Posts: 2
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 08:10 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|