From: Steve Grubb <sgrubb@redhat.com>
To: Peter Moody <pmoody@google.com>
Cc: linux-audit@redhat.com
Subject: Re: [PATCH] Support for auditing on the actions of a not-yet-executed process.
Date: Mon, 27 Aug 2012 08:54:19 -0400 [thread overview]
Message-ID: <2471956.TsCfalT7Us@x2> (raw)
In-Reply-To: <1345749954-28749-1-git-send-email-pmoody@google.com>
On Thursday, August 23, 2012 12:25:54 PM Peter Moody 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.
>
> proposed https://www.redhat.com/archives/linux-audit/2012-June/msg00002.html
> and it seemed like there was interest.
Yeah, another use case might be:
-a always,exit -F dir=/watched-dir -F perms=r -F exe=/usr/bin/scp
So that you can see files being transferred away from a directory that you care
about. Of course you wouldn't have the address unless you also catch the
connect or maybe execve.
I'll merge the user space code when this is accepted into the kernel.
Thanks,
-Steve
next prev parent reply other threads:[~2012-08-27 12:54 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 [this message]
2014-05-02 14:49 ` Richard Guy Briggs
2014-05-02 15:25 ` Steve Grubb
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=2471956.TsCfalT7Us@x2 \
--to=sgrubb@redhat.com \
--cc=linux-audit@redhat.com \
--cc=pmoody@google.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