All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: "linux-audit@redhat.com" <linux-audit@redhat.com>
Cc: "MAUPERTUIS, PHILIPPE" <philippe.maupertuis@equensworldline.com>
Subject: Re: How to monitor only when a binary is launched
Date: Tue, 20 Oct 2020 09:33:46 -0400	[thread overview]
Message-ID: <3089038.aeNJFYEL58@x2> (raw)
In-Reply-To: <5F4EE10832231F4F921A255C1D954298154FB33A@DEERLM99EX7MSX.ww931.my-it-solutions.net>

On Tuesday, October 20, 2020 4:59:56 AM EDT MAUPERTUIS, PHILIPPE wrote:
> Aide or clamscan are analyzing all the files on the system thus generating
> a lot of messages They are binaries that I can trust so I can exclude
> their activity from auditd. I know that I can do this with -a never,exit
> -F arch=b64 -F exe=/sbin/aide
> 
> However I would like to have an entry for the execution of the binary
> itself with the parameters used. I would like to turn off only the report
> of the syscall it issued .
> 
> Is there a general way to achieve that : record the launch of a binary but
> not its actions.

Wouldn't -a always,exit -S execve  do the job?

-Steve


--
Linux-audit mailing list
Linux-audit@redhat.com
https://www.redhat.com/mailman/listinfo/linux-audit


      reply	other threads:[~2020-10-20 13:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-20  8:59 How to monitor only when a binary is launched MAUPERTUIS, PHILIPPE
2020-10-20 13:33 ` Steve Grubb [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3089038.aeNJFYEL58@x2 \
    --to=sgrubb@redhat.com \
    --cc=linux-audit@redhat.com \
    --cc=philippe.maupertuis@equensworldline.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.