From: Steve Grubb <sgrubb@redhat.com>
To: Richard Guy Briggs <rgb@redhat.com>
Cc: linux-audit@redhat.com
Subject: Re: [PATCH] Support for auditing on the actions of a not-yet-executed process.
Date: Fri, 2 May 2014 11:25:49 -0400 [thread overview]
Message-ID: <20140502112549.236eb15e@ivy-bridge> (raw)
In-Reply-To: <20140502144956.GE24821@madcap2.tricolour.ca>
On Fri, 2 May 2014 10:49:56 -0400
Richard Guy Briggs <rgb@redhat.com> wrote:
> > -a exit,always -F arch=b64 -S socket -F 'a0!=1' -F exe=/bin/bash -F
> > success=1
> >
> > to see instances of /bin/bash opening a non-local socket. Or
> >
> > -a exit,always -F arch=b64 -S socket -F 'a0!=1' -F
> > exe_children=/bin/bash -F success=1
> >
> > to instances of /bin/bash, and any descendant processes, opening a
> > non local socket.
>
> In addition to these sample rules, do you have a command or script to
> trigger it?
You should be able to load a rule like this:
-a always,exit -F dir=/tmp -F exe=/usr/sbin/touch -F key=test
Then run
touch /tmp/test
then ausearch --start recent -k test
-Steve
prev parent reply other threads:[~2014-05-02 15:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-23 19:25 [PATCH] Support for auditing on the actions of a not-yet-executed process Peter Moody
2012-08-27 12:54 ` Steve Grubb
2014-05-02 14:49 ` Richard Guy Briggs
2014-05-02 15:25 ` 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=20140502112549.236eb15e@ivy-bridge \
--to=sgrubb@redhat.com \
--cc=linux-audit@redhat.com \
--cc=rgb@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox