suspicious var/log entry

This is a discussion on suspicious var/log entry within the Linux Security forums, part of the System Security and Security Related category; Aug 26 04:10:46 localhost syslogd 1.4.1: restart. Why was the log restarted? I was sound asleep, ...


Go Back   Usenet Forums > System Security and Security Related > Linux Security

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-26-2007
Randy Yates
 
Posts: n/a
Default suspicious var/log entry

Aug 26 04:10:46 localhost syslogd 1.4.1: restart.

Why was the log restarted? I was sound asleep, so it wasn't me.

Pointers/ideas/education appreciated.
--
% Randy Yates % "So now it's getting late,
%% Fuquay-Varina, NC % and those who hesitate
%%% 919-577-9882 % got no one..."
%%%% <yates@ieee.org> % 'Waterfall', *Face The Music*, ELO
http://home.earthlink.net/~yatescr
Reply With Quote
  #2 (permalink)  
Old 08-26-2007
Allen Kistler
 
Posts: n/a
Default Re: suspicious var/log entry

Randy Yates wrote:
> Aug 26 04:10:46 localhost syslogd 1.4.1: restart.
>
> Why was the log restarted? I was sound asleep, so it wasn't me.
>
> Pointers/ideas/education appreciated.


Probably because the log was rotated.
Ever notice those .1 .2 .3 .4 endings? It's gotta happen sometime.
Reply With Quote
  #3 (permalink)  
Old 08-26-2007
Hal Murray
 
Posts: n/a
Default Re: suspicious var/log entry

In article <m3absepmfv.fsf@ieee.org>,
Randy Yates <yates@ieee.org> writes:
>Aug 26 04:10:46 localhost syslogd 1.4.1: restart.
>
>Why was the log restarted? I was sound asleep, so it wasn't me.
>
>Pointers/ideas/education appreciated.


man logrotate
man cron

--
These are my opinions, not necessarily my employer's. I hate spam.

Reply With Quote
  #4 (permalink)  
Old 08-28-2007
pedro.forum@gmail.com
 
Posts: n/a
Default Re: suspicious var/log entry

On Aug 26, 8:25 am, Randy Yates <ya...@ieee.org> wrote:
> Aug 26 04:10:46 localhost syslogd 1.4.1: restart.
>
> Why was the log restarted? I was sound asleep, so it wasn't me.
>
> Pointers/ideas/education appreciated.
> --
> % Randy Yates % "So now it's getting late,
> %% Fuquay-Varina, NC % and those who hesitate
> %%% 919-577-9882 % got no one..."
> %%%% <ya...@ieee.org> % 'Waterfall', *Face The Music*, ELOhttp://home.earthlink.net/~yatescr


Syslog Daemon was restarted... maybe ``kill -HUP $(pidof syslogd)''...
Your system of some intruder(???) did this for you...

Reply With Quote
  #5 (permalink)  
Old 08-28-2007
Sylvain Robitaille
 
Posts: n/a
Default Re: suspicious var/log entry

pedro.forum@gmail.com wrote:

> Syslog Daemon was restarted... maybe ``kill -HUP $(pidof syslogd)''...
> Your system of some intruder(???) did this for you...


I wouldn't be too quick to suspect an intruder in this case. Syslog
rotation is standard practice and is configured with pretty much every
current Linux distribution by default. Very likely "normal system
self-maintenance" caused syslogd to close and re-open its log files
after the files were rotated.

Randy, "professional paranoia" is healthy for a sysadmin, but you need
to understand what you should be paranoid about and *why*. If you don't
understand, and are truly concerned for your system and what happens to
it while you're sleeping (or otherwise "away"), remove it from the
network at those times (assuming you're satisfied with the physical
security surrounding it; otherwise you'll need to consider that as
well).

The first step is getting a handle on what is "normal" behaviour for your
system. You won't be able to get that if you're busy worrying that it
has been compromised, so start from a clean configuration on an isolated
system, and work from there. Understand how to control (and monitor)
access to your system (both physical and logical), and *then* connect it
to a network. You'll know how to figure out what caused certain
behaviour.

--
----------------------------------------------------------------------
Sylvain Robitaille syl@alcor.concordia.ca

Systems and Network analyst Concordia University
Instructional & Information Technology Montreal, Quebec, Canada
----------------------------------------------------------------------
Reply With Quote
  #6 (permalink)  
Old 09-08-2007
john mckenna
 
Posts: n/a
Default Re: suspicious var/log entry

On Sun, 26 Aug 2007 07:25:24 -0400, Randy Yates wrote:

> Aug 26 04:10:46 localhost syslogd 1.4.1: restart.
>
> Why was the log restarted? I was sound asleep, so it wasn't me.
>
> Pointers/ideas/education appreciated.




cron runs daily at 04:02 AM by default. the script
/etc/cron.daily/logrotate is the responsible party.
After certain logfiles are rotated, ie: messages,
<logrotate> restarts <syslogd>
Reply With Quote
  #7 (permalink)  
Old 09-10-2007
Randy Yates
 
Posts: n/a
Default Re: suspicious var/log entry

john mckenna <pikiwiki@hushmail.com> writes:

> On Sun, 26 Aug 2007 07:25:24 -0400, Randy Yates wrote:
>
>> Aug 26 04:10:46 localhost syslogd 1.4.1: restart.
>>
>> Why was the log restarted? I was sound asleep, so it wasn't me.
>>
>> Pointers/ideas/education appreciated.

>
>
>
> cron runs daily at 04:02 AM by default. the script
> /etc/cron.daily/logrotate is the responsible party.
> After certain logfiles are rotated, ie: messages,
> <logrotate> restarts <syslogd>


Thanks John. That simple response explains everything.
--
% Randy Yates % "I met someone who looks alot like you,
%% Fuquay-Varina, NC % she does the things you do,
%%% 919-577-9882 % but she is an IBM."
%%%% <yates@ieee.org> % 'Yours Truly, 2095', *Time*, ELO
http://home.earthlink.net/~yatescr
Reply With Quote
  #8 (permalink)  
Old 09-10-2007
PedroArthur_JEdi
 
Posts: n/a
Default Re: suspicious var/log entry

On Aug 28, 1:06 am, Sylvain Robitaille <s...@alcor.concordia.ca>
wrote:
> pedro.fo...@gmail.com wrote:
> > Syslog Daemon was restarted... maybe ``kill -HUP $(pidof syslogd)''...
> > Your system of some intruder(???) did this for you...

>
> I wouldn't be too quick to suspect an intruder in this case. Syslog
> rotation is standard practice and is configured with pretty much every
> current Linux distribution by default. Very likely "normal system
> self-maintenance" caused syslogd to close and re-open its log files
> after the files were rotated.


I misspell... The correct was "Your system OR some intruder"... R and
F are too close at the keyboard
And the intruder was just a joke...

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:03 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0