From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Mather Subject: Re: Advice on enriching logs with user and group names before moving them to a central log repository Date: Fri, 10 Aug 2012 12:57:11 -0400 Message-ID: <1344617831.2527.27.camel@debian.domain_name> References: <1343904854.4074.76.camel@swtf> <501A86A6.1020004@redhat.com> <4890289.bEcEd1EjZH@x2> <1344592289.19273.30.camel@swtf> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.redhat.com (ext-mx15.extmail.prod.ext.phx2.redhat.com [10.5.110.20]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q7AGvCuH032746 for ; Fri, 10 Aug 2012 12:57:13 -0400 Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q7AGvBCV022945 for ; Fri, 10 Aug 2012 12:57:11 -0400 In-Reply-To: <1344592289.19273.30.camel@swtf> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: burn@swtf.dyndns.org Cc: linux-audit@redhat.com List-Id: linux-audit@redhat.com On Fri, 2012-08-10 at 19:51 +1000, Burn Alting wrote: > Steve, > > I will go ahead with my audispd child program that enriches logs and > use rsyslog to get them to a central repository. > I also plan to concatenate all messages belonging to the same event > (ie time:event_id) and send this as one syslog message to the central > repository. > I'd rather do this on the client systems rather than at my central > repository, in order to gain benefits from effectively, distributed > processing. > This sounds very useful, Burn. In an EXECVE message there is something like: args=2 a0="ls" a1="/etc" It would be nice if this could be changed to something like command="ls /etc". One problem is that the shell script interprets wild cards before auditd sees the command, and that can lead to long strings. So maybe that situation could become something like: something="ls /etc/aaa /etc/bbb /etc/ccc ..." In most cases a human reader would recognise what is happening. Also, sometimes the parameters are in hex instead of strings. For example, when the parameter contains quotes. Michael -------