public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
From: Bill Tangren <bjt@aa.usno.navy.mil>
To: linux-audit@redhat.com
Subject: trouble with a number of audit rules
Date: Mon, 29 Jan 2007 16:57:49 -0500	[thread overview]
Message-ID: <45BE6DDD.6080008@aa.usno.navy.mil> (raw)

Hello all,

I am trying to add the following functionality to auditd (via audit.rules) using 
the following rules, but the rules don't work on my RHEL ES 4 system (fully 
patched). Could someone look at them and tell me what I am doing wrong, or where 
I can read how to do it right?

1)
# Ensures that any reads of the audit log by the current user that's logged is
# audited. It might be beneficial to create a rule for each of the 5 logs
# that are generated.

RULE:
-w /var/log/audit/audit.log -p r -F auid=-1

ERROR:
List must be given before field

2)
# Ensures that any user who mounts or unmounts a device is audited

RULE:
-a exit,always -S mount -S umount

ERROR:
Syscall name unknown: umount

3)
# ensures auditing whenever the reboot command is sent to the kernel

RULE:
-a always,entry -S socketcall -F a0=13

ERROR:
Syscall name unknown: socketcall

4)
# Ensures auditing of any unauthorized access to roots home directory.

RULE:
-w /root -p rw -F uid!=0

ERROR:
List must be given before field

5)
#Ensure that failed use of the following system calls is audited

RULE:
-a exit,always -S quotactl -S mount -S stime -S kill -S chroot -F success=0 -F 
auid=-1 -F auid=0

ERROR:
Syscall name unknown: stime

TIA,

Bill Tangren

             reply	other threads:[~2007-01-29 21:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-29 21:57 Bill Tangren [this message]
2007-01-29 22:15 ` trouble with a number of audit rules Steve Grubb
2007-01-29 22:33   ` Bill Tangren

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=45BE6DDD.6080008@aa.usno.navy.mil \
    --to=bjt@aa.usno.navy.mil \
    --cc=linux-audit@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