<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Syslog message time difference in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-message-time-difference/m-p/2445531#M759716</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Thank you for your responses.  I am not worried about the user francis.  He is a trusted users and I can deactivate him  whenever I wish.  I am more concerned with the su entries.  Their timestamp is wrong, in fact exactly one hour ahead of the HP clock.  Actually, the timestamp on the ftp sessions is right.  How can this happen?&lt;BR /&gt;&lt;BR /&gt;  I know that root is su'ing to ssi7 but there is no root user logged in at this time.  I think that the application program ( ssi7) is doing this programmatically.  Does this mean that this application ( ssi7) runs as root?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 15 Sep 2000 13:30:17 GMT</pubDate>
    <dc:creator>Sanjay Tailor</dc:creator>
    <dc:date>2000-09-15T13:30:17Z</dc:date>
    <item>
      <title>Syslog message time difference</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-message-time-difference/m-p/2445526#M759711</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Below is a piece of my syslog:&lt;BR /&gt;&lt;BR /&gt;Sep 14 15:34:10 u002 syslog: su : + tty?? root-ssi7&lt;BR /&gt;Sep 14 15:37:05 u002 syslog: su : + tty?? root-ssi7&lt;BR /&gt;Sep 14 14:58:29 u002 ftpd[13227]: connection from 131.193.141.59 at Thu Sep 14 0&lt;BR /&gt;Sep 14 14:58:29 u002 ftpd[13227]: User francis: Login incorrect&lt;BR /&gt;Sep 14 14:58:29 u002 ftpd[13227]: PORT&lt;BR /&gt;Sep 14 15:28:29 u002 ftpd[14073]: connection from 131.193.141.59 at Thu Sep 14 0&lt;BR /&gt;Sep 14 15:28:29 u002 ftpd[14073]: User francis: Login incorrect&lt;BR /&gt;Sep 14 15:28:29 u002 ftpd[14073]: PORT&lt;BR /&gt;Sep 14 16:57:59 u002 syslog: su : + tty?? root-ssi7&lt;BR /&gt;Sep 14 15:58:29 u002 ftpd[14673]: connection from 131.193.141.59 at Thu Sep 14 0&lt;BR /&gt;Sep 14 15:58:29 u002 ftpd[14673]: User francis: Login incorrect&lt;BR /&gt;Sep 14 15:58:29 u002 ftpd[14673]: PORT&lt;BR /&gt;Sep 14 17:00:18 u002 syslog: su : + tty??root-ssi7&lt;BR /&gt;&lt;BR /&gt;I am concerned about the su entries.  The timestamp is wrong.  It is exactly 1 hour ahead.  I have an entry ( last one) which says 17:00 but it is barely 16:00!!!  How can this happen?&lt;BR /&gt;&lt;BR /&gt;My other question is:&lt;BR /&gt;&lt;BR /&gt;I have this command in my .sh.history file for root:&lt;BR /&gt;&lt;BR /&gt;vi +/francis passwd&lt;BR /&gt;&lt;BR /&gt;What does this command do?&lt;BR /&gt;I know I did not issue this command.  I do have my application vendor come in as root when he has to.  I am just concerned what this command does.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Sanjay&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Sep 2000 20:31:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-message-time-difference/m-p/2445526#M759711</guid>
      <dc:creator>Sanjay Tailor</dc:creator>
      <dc:date>2000-09-14T20:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Syslog message time difference</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-message-time-difference/m-p/2445527#M759712</link>
      <description>Sanjay:&lt;BR /&gt;&lt;BR /&gt;From the looks of it, you should be very worried...  First I would suggest that you take a loook at the following site:&lt;BR /&gt;&lt;A href="http://www.cert.org/tech_tips/win-UNIX-system_compromise.html" target="_blank"&gt;http://www.cert.org/tech_tips/win-UNIX-system_compromise.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It would appear that your user francis is doing something less than honourable :)  check your /etc/passwd file - he may have given himself a UID of 0 (ie equivalent to root)  If you look at the PIDs of the ftpd, it looks like it is delaying logging. &lt;BR /&gt;&lt;BR /&gt;What I would do is to user /var/adm/inetd.sec to block the suspicious IP address that is trying the ftp PORT command.  &lt;BR /&gt;Next, you might want to look on your system for a trojan  (check /var/spool/cron/crontabs ) for all files in the crontabs &lt;BR /&gt;Turn on verbose logging for ftpd (in your inetd.conf) do a man on ftpd&lt;BR /&gt;GET your installation media ready and backup your data.  Verify that the data is valid and be prepared for Disaster recovery, if you find something less than decent.&lt;BR /&gt;&lt;BR /&gt;BTW what timezone are you in? are you running ntp of some sort?  is it possible that one of your users is changing the dates? &lt;BR /&gt;&lt;BR /&gt;do a:&lt;BR /&gt;&lt;BR /&gt;more /home/*/.sh_history &lt;BR /&gt;and look for any dubious actions.  BTW bear in mind that if the system was indeed compromised, the culprit would have tried to clean up after...&lt;BR /&gt;&lt;BR /&gt;Next, if you can get a machine on the same subnet on which to run ethereal or tcpdump, look at the traffic coming out/into the server...  I would say use&lt;BR /&gt;netstat -a | grep LISTEN&lt;BR /&gt;to check for tcp ports that are open (in case there is trojan on your system)&lt;BR /&gt;&lt;BR /&gt;most importantly, be prepared to kick into disaster recovery mode.</description>
      <pubDate>Fri, 15 Sep 2000 00:59:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-message-time-difference/m-p/2445527#M759712</guid>
      <dc:creator>Kofi ARTHIABAH</dc:creator>
      <dc:date>2000-09-15T00:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Syslog message time difference</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-message-time-difference/m-p/2445528#M759713</link>
      <description>It appears that you may have a real security issue with user francis.  To start with I would suggest that you immediately disable this user.  Changing the password for the user is a good start.  If you have others in your organization that have password changing ability, inform them not to allow him/her access and to refer that person to you so that you can get a direct explanation.</description>
      <pubDate>Fri, 15 Sep 2000 02:33:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-message-time-difference/m-p/2445528#M759713</guid>
      <dc:creator>Tim Malnati</dc:creator>
      <dc:date>2000-09-15T02:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Syslog message time difference</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-message-time-difference/m-p/2445529#M759714</link>
      <description># vi +/francis passwd&lt;BR /&gt;&lt;BR /&gt;This will do nothing more than open the passwd file (if in /etc) with the vi editor and place the curser at the first instance of the string "francis"&lt;BR /&gt;&lt;BR /&gt;Maybe someone w/ superuser access went to modify this users account?</description>
      <pubDate>Fri, 15 Sep 2000 03:44:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-message-time-difference/m-p/2445529#M759714</guid>
      <dc:creator>Denver Osborn</dc:creator>
      <dc:date>2000-09-15T03:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Syslog message time difference</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-message-time-difference/m-p/2445530#M759715</link>
      <description>The su entries mean someone logged in as root changed to user ssi7.  That does not seem dangerous to me.&lt;BR /&gt;&lt;BR /&gt;As noted, the vi command indicates someone with root authority edited the passwd file.  If it was not you, and if you do not share user management duties with anyone else, then I would check your passwd file very carefully.  Do not check just the user francis -- more than one change may have been made.</description>
      <pubDate>Fri, 15 Sep 2000 13:21:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-message-time-difference/m-p/2445530#M759715</guid>
      <dc:creator>Alan Riggs</dc:creator>
      <dc:date>2000-09-15T13:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: Syslog message time difference</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-message-time-difference/m-p/2445531#M759716</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Thank you for your responses.  I am not worried about the user francis.  He is a trusted users and I can deactivate him  whenever I wish.  I am more concerned with the su entries.  Their timestamp is wrong, in fact exactly one hour ahead of the HP clock.  Actually, the timestamp on the ftp sessions is right.  How can this happen?&lt;BR /&gt;&lt;BR /&gt;  I know that root is su'ing to ssi7 but there is no root user logged in at this time.  I think that the application program ( ssi7) is doing this programmatically.  Does this mean that this application ( ssi7) runs as root?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Sep 2000 13:30:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-message-time-difference/m-p/2445531#M759716</guid>
      <dc:creator>Sanjay Tailor</dc:creator>
      <dc:date>2000-09-15T13:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: Syslog message time difference</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-message-time-difference/m-p/2445532#M759717</link>
      <description>Yes the application ssi7 runs as root equivalent, you may need to find out why? Sometimes some of the programs/scripts in an applications automatically does an su to root to gather some data etc.</description>
      <pubDate>Mon, 18 Sep 2000 09:32:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-message-time-difference/m-p/2445532#M759717</guid>
      <dc:creator>Vincente Fernandes</dc:creator>
      <dc:date>2000-09-18T09:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: Syslog message time difference</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-message-time-difference/m-p/2445533#M759718</link>
      <description>I think you should check your timezone entries to make sure that they are correct.  You should have a TZ variable set in your environment, just do an echo $TZ, also there is a timezone kernal parameter that you can view using sam.</description>
      <pubDate>Mon, 18 Sep 2000 10:52:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-message-time-difference/m-p/2445533#M759718</guid>
      <dc:creator>Tracey</dc:creator>
      <dc:date>2000-09-18T10:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Syslog message time difference</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-message-time-difference/m-p/2445534#M759719</link>
      <description>Sanjay, &lt;BR /&gt;What you may be finding, is if the TZ (Timezone) variable is not set, it will default to EST5EDT.&lt;BR /&gt;&lt;BR /&gt;This may mean that the /etc/profile or .profile does not have TZ set for the user. &lt;BR /&gt;&lt;BR /&gt;Timezone is also set in the kernel with&lt;BR /&gt;# set_parms timezone&lt;BR /&gt;&lt;BR /&gt;If everything checks out on the system settings, another point of failure is with applications to use TZ.  You may need to set TZ using a shell wrapper that sources&lt;BR /&gt;/etc/TIMEZONE.&lt;BR /&gt;&lt;BR /&gt;Best Wishes,&lt;BR /&gt;Cheryl&lt;BR /&gt;351501</description>
      <pubDate>Mon, 18 Sep 2000 11:42:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-message-time-difference/m-p/2445534#M759719</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2000-09-18T11:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Syslog message time difference</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog-message-time-difference/m-p/2445535#M759720</link>
      <description>Sanjay:&lt;BR /&gt;&lt;BR /&gt;In keeping with Cheryl's post, you might also want to look at this recent thread:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x609e0559ff7cd4118fef0090279cd0f9,00.html" target="_blank"&gt;http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x609e0559ff7cd4118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Sep 2000 11:52:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog-message-time-difference/m-p/2445535#M759720</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2000-09-18T11:52:34Z</dc:date>
    </item>
  </channel>
</rss>

