public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
From: Matthew Booth <mbooth@redhat.com>
To: "Brennan, William C" <william.c.brennan@lmco.com>
Cc: linux-audit@redhat.com
Subject: Re: auditing files which are executed?
Date: Fri, 18 Jan 2008 22:49:38 +0000	[thread overview]
Message-ID: <47912D02.30708@redhat.com> (raw)
In-Reply-To: <249DC7180F301445BCA2E01EAAFDF40908F9591B@emss04m05.us.lmco.com>


[-- Attachment #1.1: Type: text/plain, Size: 720 bytes --]

Brennan, William C wrote:
> Okay, I’m a newbie, so excuse this question if the answer seems obvious.
> 
>  
> 
> I’ve looked at auditctl to see how it can help us audit several 
> different conditions, but I can’t figure out how to do the following:
> 
>  
> 
> How do I configure parameters for auditctl to make an audit record every 
> time a file is executed?
> 

On i386:
-a entry,always -F arch=i386 -S execve

On x86_64, you need the above in addition to:
-a entry,always -F arch=x86_64 -S execve

Matt
-- 
Matthew Booth, RHCA, RHCSS
Red Hat, Global Professional Services

M:       +44 (0)7977 267231
GPG ID:  D33C3490
GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



  reply	other threads:[~2008-01-18 22:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-18 22:45 auditing files which are executed? Brennan, William C
2008-01-18 22:49 ` Matthew Booth [this message]
2008-01-18 23:32   ` Brennan, William C
2008-01-19  2:02     ` Steve Grubb
2008-01-21 17:08       ` Brennan, William C

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=47912D02.30708@redhat.com \
    --to=mbooth@redhat.com \
    --cc=linux-audit@redhat.com \
    --cc=william.c.brennan@lmco.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