HP-UX Host Intrusion Detection System Version 4.2 Administration Guide

pathnames_X, programs_X
You can use these properties to filter out race condition alerts
generated when a specified program modifies the file
reference of a privileged program for a particular file. See
“Type II: Path Names/Programs Pairs” (page 116) for a
detailed description of these property pairs.
Alerts generated by this template
The following alerts are generated by the Race Condition template:
“File Reference Modification” (page 127)
“Privileged setuid Script Executed” (page 128)
File Reference Modification
Table A-7 lists the alert properties that the File Reference Modification template generates and
forwards to a response program when the file reference in a privileged program is modified
unexpectedly.
Table A-7 File Reference Modification Alert Properties
DescriptionAlert Value/FormatAlert Field
Type
Alert FieldResponse
Program
Argument
Unique code assigned to
template.
1IntegerTemplate codeargv[1]
Version of the template.<version>IntegerVersionargv[2]
Alert severity.1IntegerSeverityargv[3]
UTC time in number of
seconds since epoch when
an unexpected file reference
was detected.
<secs>IntegerUTC Timeargv[4]
The user ID, group ID,
process ID, and parent
process ID of the process, if
known, that modified a
privileged program’s file
reference. All values are set
to -1 if the attacker is not
known.
uid=<uid>, gid=<gid>, pid=<pid>,
ppid=<ppid>
StringAttackerargv[5]
The full path name of the
file whose reference was
modified, and the file’s
type, mode, uid, gid, inode,
and device number
file=<full pathname>, type=<type>,
mode=<mode>, uid=<uid>, gid=<gid>,
inode=<inode>, device=<device>
StringTarget of Attackargv[6]
Alert summaryFile reference changeStringSummaryargv[7]
Detailed alert descriptionFile reference for file
<fullpathname>(type=<type>,
inode=<inode>, device=<device), has
changed unexpectedly for process
with pid <pid> and ppid <ppid>
when executing <program>>(type=
<type>, inode=<inode>,
device=<device>). Attacker is process
<pid> when executing
<program>>(type=<type>,
inode=<inode>, device=<device>).
StringDetailsargv[8]
The event that triggered the
alert.
nullStringEventargv[9]
Race Condition Template 127