<?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: HIDS and System Audit Log in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114557#M734064</link>
    <description>You mentioned in your attachment that the "open" to "msgrcv" text blocks repeat. Is there anything else before the "open" statement? Something that would trigger the idsagent to go and open the strerror.cat file? If not, it looks like the idsagent has a bug and is stuck in a loop. Look for any upgrades or fixes.&lt;BR /&gt;&lt;BR /&gt;If you do "strings  usr/lib/nls/msg/C/strerror.cat" you will see all the error messages that are available and idsagent is "seeking and reading" each time. Do you see in the tusc output the idsagent going through each and every message in the strerror.cat file? And then repeating it for each error message? Check in the tusc listing (I know it is lenghty) but if idsagent is repeatedly reading each and every message from the strerror.cat file for no reason?&lt;BR /&gt;&lt;BR /&gt;There is also the case that a valid event causes idsagent to go and open the strerror file to get the error message. Can you correlate these error messages to any events/alerts?. But it would be very inefficient to do it this way, it would be easier to read the entire file in and use each error message accordingly. That's why I suggested the possibility of needing a patch.</description>
    <pubDate>Wed, 18 Jun 2008 16:25:59 GMT</pubDate>
    <dc:creator>TTr</dc:creator>
    <dc:date>2008-06-18T16:25:59Z</dc:date>
    <item>
      <title>HIDS and System Audit Log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114554#M734061</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I have nine IA servers running HP-UX 11.23 and am having a problem with HIDS v4.1 filling up the system audit logs (most of the 800mb file generated each day per server) with an 'Event=open' on '/usr/lib/nls/msg/C/strerror.cat'. Doing a grep for 'strerror.cat' piped to 'wc -l' shows a count of 4,712,468 for one days log. This event is primarily responsible for the nearly 135GB of audit logs, for all nine servers, generated in a month.&lt;BR /&gt;&lt;BR /&gt;If I stop the 'idsagent' the event stops. I created a schedule that only tracks failed logins and activated it on just one server to test. After a days worth of activity, no alerts have been generated in HIDS but the audit log is filling up with the same event.&lt;BR /&gt;&lt;BR /&gt;Does anyone know what the connection is between HIDS and strerror.cat?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Jun 2008 11:27:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114554#M734061</guid>
      <dc:creator>Bruce Wheeler_1</dc:creator>
      <dc:date>2008-06-18T11:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: HIDS and System Audit Log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114555#M734062</link>
      <description>If I understand this correctly, HIDS thinks that file opens on "strerror.cat are intrusion attempts and logs an event everytime a process opens that file. Somehow HIDS needs to be trained to ignore the "file opens" on the strerror.cat file. I don't know if this requires a change in some config file for HIDS or an HIDS upgrade to fix it.</description>
      <pubDate>Wed, 18 Jun 2008 12:56:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114555#M734062</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-06-18T12:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: HIDS and System Audit Log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114556#M734063</link>
      <description>TTr,&lt;BR /&gt;&lt;BR /&gt;I am not sure if this is what you meant by your response, but HIDS is not logging the event as an "Alert", HIDS is responsible for the event and it is going to the system audit log. I have attached some tusc and audit log output.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Jun 2008 13:50:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114556#M734063</guid>
      <dc:creator>Bruce Wheeler_1</dc:creator>
      <dc:date>2008-06-18T13:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: HIDS and System Audit Log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114557#M734064</link>
      <description>You mentioned in your attachment that the "open" to "msgrcv" text blocks repeat. Is there anything else before the "open" statement? Something that would trigger the idsagent to go and open the strerror.cat file? If not, it looks like the idsagent has a bug and is stuck in a loop. Look for any upgrades or fixes.&lt;BR /&gt;&lt;BR /&gt;If you do "strings  usr/lib/nls/msg/C/strerror.cat" you will see all the error messages that are available and idsagent is "seeking and reading" each time. Do you see in the tusc output the idsagent going through each and every message in the strerror.cat file? And then repeating it for each error message? Check in the tusc listing (I know it is lenghty) but if idsagent is repeatedly reading each and every message from the strerror.cat file for no reason?&lt;BR /&gt;&lt;BR /&gt;There is also the case that a valid event causes idsagent to go and open the strerror file to get the error message. Can you correlate these error messages to any events/alerts?. But it would be very inefficient to do it this way, it would be easier to read the entire file in and use each error message accordingly. That's why I suggested the possibility of needing a patch.</description>
      <pubDate>Wed, 18 Jun 2008 16:25:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114557#M734064</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-06-18T16:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: HIDS and System Audit Log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114558#M734065</link>
      <description>On another thought, the strerror file is opend by just about every process in the system for picking up the error strings. And maybe this logging is normal based on the debugging and verbosity level of idsagent. Check what they are set to.</description>
      <pubDate>Wed, 18 Jun 2008 16:38:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114558#M734065</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-06-18T16:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: HIDS and System Audit Log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114559#M734066</link>
      <description>&amp;gt;TTr: the strerror.cat file is opened by just about every process in the system for picking up the error strings.&lt;BR /&gt;&lt;BR /&gt;Right.  It is used if you call perror(3) and strerror(3).</description>
      <pubDate>Wed, 18 Jun 2008 17:06:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114559#M734066</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-06-18T17:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: HIDS and System Audit Log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114560#M734067</link>
      <description>&amp;gt;TTr: And maybe this logging is normal based on the debugging and verbosity level of idsagent. Check what they are set to.&lt;BR /&gt;&lt;BR /&gt;Can you explain this a little better?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 18 Jun 2008 19:08:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114560#M734067</guid>
      <dc:creator>Bruce Wheeler_1</dc:creator>
      <dc:date>2008-06-18T19:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: HIDS and System Audit Log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114561#M734068</link>
      <description>Check with what parameters idsagent is started. &lt;BR /&gt;&lt;BR /&gt;For example&lt;BR /&gt;&lt;BR /&gt;idsagent -c 2 -d &lt;BR /&gt;&lt;BR /&gt;"-c 2" gives you error messages, and high level and verbose log messages.&lt;BR /&gt;&lt;BR /&gt;"-d"  enables debug messages.&lt;BR /&gt;&lt;BR /&gt;I couldn't find any settings in /etc/rc.config.d/ so if the verbosity and debugging are changed, they are in /sbin/init.d/idsagent. Look towards the bottom, the default line to start the idsagent should be &lt;BR /&gt;&lt;BR /&gt;su - ids -c "cd /opt/ids/bin ; ./idsagent -a" 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;Also check if somebody has manually restarted the idsagent with the debugging paramaters on.&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Jun 2008 20:43:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114561#M734068</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-06-18T20:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: HIDS and System Audit Log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114562#M734069</link>
      <description>TTr: Attached is some short output with debugging enabled by starting the idsagent per the example you gave "idsagent -c2 -d -e -l /tmp/ids_debug_logfile.txt". The idsagent normally starts with 'su - ids -c "cd /opt/ids/bin ; ./idsagent -a" 2'. It does appear that it may be stuck in a loop. I already have PHKL_34798 installed and there are no other new patches available for HIDS.</description>
      <pubDate>Mon, 23 Jun 2008 18:32:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114562#M734069</guid>
      <dc:creator>Bruce Wheeler_1</dc:creator>
      <dc:date>2008-06-23T18:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: HIDS and System Audit Log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114563#M734070</link>
      <description>&amp;gt;It does appear that it may be stuck in a loop.&lt;BR /&gt;rcm_receive_message: nonblocking read returned no message.&lt;BR /&gt;&lt;BR /&gt;Well, it seems to not be getting any messages.  But there should be some type of sleep between the reads.&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Jun 2008 04:15:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114563#M734070</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-06-24T04:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: HIDS and System Audit Log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114564#M734071</link>
      <description>I still think the logging is normal based on the frequency of the strerror.cat file. The issue naow is to suppress the logging of that event. I had not done HIDS for a few years and I just installed HIDS 4.01 on my personal workstation but it needs java5 and am downloading now.</description>
      <pubDate>Tue, 24 Jun 2008 11:53:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114564#M734071</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-06-24T11:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: HIDS and System Audit Log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114565#M734072</link>
      <description>I finally got IDS going between two HP-UX 11.00 boxes, one managment station, one idsagent. I did not observe the error yes, maybe it is still early. &lt;BR /&gt;&lt;BR /&gt;However I noticed something else that was very interesting. On the management station and many other servers I checked, the access date "ll -u /usr/lib/nls/C/strerror.cat" was as old as the uptime (reboot) of the server. &lt;BR /&gt;&lt;BR /&gt;On the ids agent box, the access date "ll -u /usr/lib/nls/C/strerror.cat" was always current even when nothing was happening. I was the only one logged in on this box. When I stopped the idsagent the access date also stopped being current.  &lt;BR /&gt;&lt;BR /&gt;So does idsagent have a bug and is doing itself in by first keeping the strerror.cat file current and then reporting it or is that normal for ids? If it is normal then there must be a way to turn it off. Look at each schedule and click on the details panel and check the TEMPLATE details in the listing to see if the strerror.cat or /usr/lib has been added in the rules.</description>
      <pubDate>Fri, 27 Jun 2008 11:31:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114565#M734072</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-06-27T11:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: HIDS and System Audit Log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114566#M734073</link>
      <description>Hi Bruce -&lt;BR /&gt;&lt;BR /&gt;Does your HIDS agent's error.log file (by default, at /var/opt/ids/error.log on the agent server) contain any errors? &lt;BR /&gt;&lt;BR /&gt;I checked one of my IA 11.23 systems and the date on strerror.cat is from 2003 and I know I've run the agent on that system since then :)&lt;BR /&gt;&lt;BR /&gt;Pierre&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 27 Jun 2008 20:44:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114566#M734073</guid>
      <dc:creator>Pierre Pasturel</dc:creator>
      <dc:date>2008-06-27T20:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: HIDS and System Audit Log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114567#M734074</link>
      <description>Actually, yes, I do see the access date change when idsagent is running.  Let me investigate further.&lt;BR /&gt;&lt;BR /&gt;Pierre&lt;BR /&gt;</description>
      <pubDate>Fri, 27 Jun 2008 20:55:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114567#M734074</guid>
      <dc:creator>Pierre Pasturel</dc:creator>
      <dc:date>2008-06-27T20:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: HIDS and System Audit Log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114568#M734075</link>
      <description>Ok, I believe I have found the call to strerror() by idsagent that is generating all these open audit records in your System Audit Log.  &lt;BR /&gt;&lt;BR /&gt;AudFilter is an add-on product that allows you to filter out any open(2) events invoked by user "ids." User "ids" is the uid under which HIDS agent processes run. Unfortunately, AudFilter is available starting with 11.31, not 11.23.&lt;BR /&gt;&lt;BR /&gt;Please go through your regular support channel if a fix to this problem is critical. We normally address fixes in the next HIDS release that is tentatively slated for the end of this year.&lt;BR /&gt;&lt;BR /&gt;Pierre&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 27 Jun 2008 21:38:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114568#M734075</guid>
      <dc:creator>Pierre Pasturel</dc:creator>
      <dc:date>2008-06-27T21:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: HIDS and System Audit Log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114569#M734076</link>
      <description>Pierre, can you elaborate why idsagent goes out to open the strerror.cat file in 11.23 and not in 11.00? &lt;BR /&gt;&lt;BR /&gt;As Dennis pointed out regular processes make a perror(3) and strerror(3) calls and aparently the kernel does not open the strerror.cat file, it has cached the error (or doesn't it?). Does idsagent interpret the calls as file opens and reports them as events? Is it how idsagent sits in the kernel in 11.23 as opposed to 11.00 or was there a change in the code?</description>
      <pubDate>Fri, 27 Jun 2008 22:43:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114569#M734076</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-06-27T22:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: HIDS and System Audit Log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114570#M734077</link>
      <description>&amp;gt;TTr: can you elaborate why idsagent goes out to open the strerror.cat file in 11.23 and not in 11.00?&lt;BR /&gt;&lt;BR /&gt;It may want to produce more informative messages?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;regular processes make a perror(3) and strerror(3) calls and aparently the kernel&lt;BR /&gt;&lt;BR /&gt;The kernel isn't involved here, only libc.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;does not open the strerror.cat file, it has cached the error (or doesn't it?).&lt;BR /&gt;&lt;BR /&gt;This may depend on the locale?  It doesn't seem like it since the path has "C/".&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Does idsagent interpret the calls as file opens and reports them as events?&lt;BR /&gt;&lt;BR /&gt;Well, there are file opens. It seems to keep reporting these errno values:&lt;BR /&gt;EAGAIN Resource temporarily unavailable&lt;BR /&gt;ENOMSG No message of the desired type</description>
      <pubDate>Fri, 27 Jun 2008 23:40:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114570#M734077</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-06-27T23:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: HIDS and System Audit Log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114571#M734078</link>
      <description>idsagent is invoking strerror(ENOMSG) to build a debug string every time it checks for messages from its subprocesses and there are no messages.  Unfortunately, strerror() is called even when idsagent is not run in debug mode. We can address this in the next release of HIDS.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; can you elaborate why idsagent goes out to open the strerror.cat file in 11.23 and not in 11.00? &lt;BR /&gt;&lt;BR /&gt;It is possible that the HIDS code was different in 11.0. BTW, HIDS is no longer supported on 11.0 and has not been delivered for 11.0 since HIDS v3.0 (released Dec 2004).&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Does idsagent interpret the calls as file opens and reports them as events?&lt;BR /&gt;&lt;BR /&gt;HIDS does not process audit records that are triggered by a process running as user "ids." For processes running under different users, an open(2) for modification, say, on a read-only file, can trigger a HIDS alert. &lt;BR /&gt;&lt;BR /&gt;Pierre&lt;BR /&gt;</description>
      <pubDate>Sat, 28 Jun 2008 04:58:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114571#M734078</guid>
      <dc:creator>Pierre Pasturel</dc:creator>
      <dc:date>2008-06-28T04:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: HIDS and System Audit Log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114572#M734079</link>
      <description>Pierre and Dennis, good info!&lt;BR /&gt;&lt;BR /&gt;Bruce, it looks like you are stuck with it until the next release.</description>
      <pubDate>Sat, 28 Jun 2008 08:48:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114572#M734079</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-06-28T08:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: HIDS and System Audit Log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114573#M734080</link>
      <description>Pierre,&lt;BR /&gt;&lt;BR /&gt;Sorry for the delay. Can you tell me why the audit log shows 'root' as the user instead of 'ids'? A 'ps -ef |grep ids' shows 'ids' as the user of all HIDS processes. I could then turn off auditing for 'ids' using 'audusr' (yes we are in trusted mode).&lt;BR /&gt;&lt;BR /&gt;Actual Audit Log sample (same as attachment above):&lt;BR /&gt;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt; [  Event=open;  User=root;  Real Grp-ids;  Eff.Grp=ids;  ]&lt;BR /&gt;           RETURN_VALUE 1  =  8;&lt;BR /&gt;           PARAM #1 (file path)  =  0  (cnode) ;&lt;BR /&gt;             0x4000000a  (dev) ;&lt;BR /&gt;             75  (inode) ;&lt;BR /&gt;   (path)  =  /usr/lib/nls/msg/C/strerror.cat&lt;BR /&gt;           PARAM #2  (int)  =  0&lt;BR /&gt;           PARAM #3  (int)  =  12&lt;BR /&gt;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Bruce&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Jul 2008 10:36:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hids-and-system-audit-log/m-p/5114573#M734080</guid>
      <dc:creator>Bruce Wheeler_1</dc:creator>
      <dc:date>2008-07-02T10:36:51Z</dc:date>
    </item>
  </channel>
</rss>

