From mboxrd@z Thu Jan 1 00:00:00 1970 From: LC Bruzenak Subject: Re: audisp-prelude event not propagated? Date: Wed, 16 Sep 2009 22:13:36 -0500 Message-ID: <1253157216.4713.168.camel@lcb> References: <1253156405.4713.157.camel@lcb> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.redhat.com (ext-mx06.extmail.prod.ext.phx2.redhat.com [10.5.110.10]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n8H3Diik032298 for ; Wed, 16 Sep 2009 23:13:44 -0400 Received: from mail.magitekltd.com (rrcs-24-242-137-197.sw.biz.rr.com [24.242.137.197]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n8H3DXPq005344 for ; Wed, 16 Sep 2009 23:13:33 -0400 Received: from [24.242.137.194] (helo=[192.168.30.40]) by mail.magitekltd.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1Mo7Pe-0003qT-1Z for linux-audit@redhat.com; Wed, 16 Sep 2009 22:12:02 -0500 In-Reply-To: <1253156405.4713.157.camel@lcb> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: Linux Audit List-Id: linux-audit@redhat.com On Wed, 2009-09-16 at 22:00 -0500, LC Bruzenak wrote: > I have 2 machines: one collector and one sender. > I added a watched file key with the ids keyword on the sender machine. > > Other IDS events (login, AVCs, etc.) propagate from the sender to the > collector, so I am sure they are registered correctly > (prelude-manager->prelude-manager). Watched file IDS events do not get > to the collector. > > I have the same rule on the collector machine and verified it generated > the prelude "Watched File" event when I touched a file watched with the > key: > [root@audit ~]# auditctl -l | grep ids > LIST_RULES: exit,always watch=/boot/test perm=wa key=ids-file-hi > > Is this a prelude issue or an audit issue? > > Thx, > LCB. > > audit-1.7.13-1.fc10 > prelude-manager-0.9.14.2-2.fc10.x86_64 > The detail in the IDS event generated locally on the collector isn't complete. Under "Target" there is a "Target file current" block. The "Name" value shows up as: "/" but the "Path" value is "/boot/". The corresponding audit event is below. node=audit type=PATH msg=audit(09/16/2009 20:26:54.945:271) : item=1 name=/boot/test inode=16 dev=08:01 mode=file,644 ouid=root ogid=root rdev=00:00 obj=unconfined_u:object_r:boot_t:s0 node=audit type=PATH msg=audit(09/16/2009 20:26:54.945:271) : item=0 name=/boot/ inode=2 dev=08:01 mode=dir,755 ouid=root ogid=root rdev=00:00 obj=system_u:object_r:boot_t:s0 node=audit type=CWD msg=audit(09/16/2009 20:26:54.945:271) : cwd=/root node=audit type=SYSCALL msg=audit(09/16/2009 20:26:54.945:271) : arch=x86_64 syscall=open success=yes exit=3 a0=7fffbe53d9c3 a1=941 a2=1b6 a3=386016d12c items=2 ppid=2275 pid=2448 auid=root uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=pts0 ses=1 comm=touch exe=/bin/touch subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=ids-file-hi Maybe the 2 "PATH" components confused the plugin code? LCB. -- LC (Lenny) Bruzenak lenny@magitekltd.com