From: kdom@mail.mobistar.be (dompie)
Subject: Re: Auditing
Date: 26 Jan 2004 02:36:03 -0800 [thread overview]
Message-ID: <c2b4ae48.0401260236.69a955be@posting.google.com> (raw)
In-Reply-To: 40105755@usenet01.boi.hp.com
"Ann Majeske" <Ann.Majeske@HP.com> wrote in message news:<40105755@usenet01.boi.hp.com>...
> Hi,
>
> You should use the sysman Audit Manager (sysman applications ->
> Daily Administration -> Audit Manager) aka /usr/tcb/bin/dxaudit or
> the auditmask command to set up audit object selection. See the
> V5.1B Security Administration guide section 3.4.6 "Auditing
> File Operations" and/or the auditmask man page, paying particular
> attention to the options: -q -Q -s -x -X. Note that you have to
> enable the obj_sel style characteristic for object selection to be
> enabled. Running auditmask without options will show you your
> current audit mask including style characteristics. From your info
> below, it looks like object selection is off.
>
> Ann
>
> "dompie" <kdom@mail.mobistar.be> wrote in message
> news:c2b4ae48.0401200805.67c13270@posting.google.com...
> > Hi,
> >
> > I have started Auditing on my Tru64 v5.1B system (after starting
> > Enhanced Security).
> > However, I think I am missing the point.
> > Basically, I only want to audit certain files (eg. /etc/passwd,
> > /etc/hosts).
> > I added the 'open' system call to the /etc/sec/rc_audit_event and in
> > the /etc/sec/fs_objects I only put '/etc/passwd' and '/etc/hosts'.
> > However, after a reboot, when I consult the audit log file using
> > audit_tool, I notice that every 'open' syscall has been logged,
> > resulting in very big audit log files (eg. a lot of /shlib/libc.so
> > entries)
> > I read the man and the security guide (from the web) but I am not
> > understanding it correctly I guess.
> >
> > Can anyone tell me what to put in the 'etc/sec/rc_audit_events' and
> > 'etc/sec/fs_objects' to only audit the '/etc/hosts' and '/etc/passwd'
> > file?
> >
> > Any help really very much appreciated
> >
> > Kris
> >
> > Here is the content of the 'rc_audit_events' file:
> > "
> > audit_start succeed fail
> > audit_stop succeed fail
> > audit_setup succeed fail
> > audit_log_creat succeed fail
> > audit_xmit_fail succeed fail
> > audit_reboot succeed fail
> > audit_log_overwrite succeed fail
> > audit_daemon_exit succeed fail
> > settimeofday succeed fail
> > ntp_adjtime succeed fail
> > utc_adjtime succeed fail
> > login succeed fail
> > logout succeed fail
> > auth_event succeed fail
> > connect succeed fail
> > accept succeed fail
> > bind succeed fail
> > net_udp_stray_packet succeed fail
> > net_tcp_rejected_conn succeed fail
> > mount succeed fail
> > unmount succeed fail
> > setuid succeed fail
> > setgid succeed fail
> > setlogin succeed fail
> > chroot succeed fail
> > setsid succeed fail
> > alternate setsid succeed fail
> > old creat succeed fail
> > link succeed fail
> > mknod succeed fail
> > symlink succeed fail
> > mkdir succeed fail
> > unlink succeed fail
> > truncate succeed fail
> > ftruncate succeed fail
> > SystemV/unlink succeed fail
> > rmdir succeed fail
> > chmod succeed fail
> > chown succeed fail
> > fchown succeed fail
> > fchmod succeed fail
> > lchown succeed fail
> > utimes succeed fail
> > rename succeed fail
> > open succeed fail
> > "
> >
> > and the content of the '/etc/sec/fs_objects' file:
> > "
> > /etc/hosts
> > /etc/passwd
> > "
> >
> > Also, these are the audit vars in the 'rc.config.common' file:
> > "
> > AUDITD_FLAG="-l /audit/auditlog -c syslog -o suspend"
> > export AUDITD_FLAG
> > AUDITMASK_FLAG="-s exec_argp:1 -s exec_envp:1 -s login_uname:1 -s
> > obj_sel:1 -s obj_desel:0 -s obj_selmod:0 -s objsel_ipc:1 -s cmd_name:0
> > < /etc/sec/rc_audit_events"
> > export AUDITMASK_FLAG
> > "
Hi An,
thanks for the info.
I thought that when audit was started that a list of files was
specified for object selection (e.g. /etc/passwd), however, it seems
that the flag wether or not to audit a file is placed upon the file
itself (makes sense if you think about it).
I am still stuck with one problem but this might be a because of the
obj_selmod:0 param. I will do some additional tests.
Thanks for the help.
It seems that audit is not widely used althouhg I personally find it
very interesting.
Kris
prev parent reply other threads:[~2004-01-26 10:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-20 16:05 Auditing dompie
2004-01-22 23:03 ` Auditing Ann Majeske
2004-01-26 10:36 ` dompie [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox