HP Host Intrusion Detection System (HIDS) manual Appendix a 157

Models: Host Intrusion Detection System (HIDS)

1 270
Download 270 pages 6.58 Kb
Page 169
Image 169

 

 

 

 

 

 

Templates and Alerts

 

 

 

 

 

Creation of Setuid File Template

Table A-14

 

Setuid File Created Alert Properties (Continued)

 

 

 

 

 

 

 

 

 

Response

 

 

Alert Field

 

 

 

Program

Alert Field

Alert Value/Format

Description

 

Type

 

Argument

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

argv[8]

Details

String

“User with uid <uid> <performed

Detailed alert

 

 

 

 

 

action on> the file <full

description

 

 

 

 

 

pathname>(type=<type>,inode=<in

 

 

 

 

 

 

ode>, device<device) when

 

 

 

 

 

 

executing

 

 

 

 

 

 

<program>>(type=<type>,inode=<i

 

 

 

 

 

 

node>,device=<device>), invoked as

 

 

 

 

 

 

follows: <argv[0]> <argv[1]>..., as

 

 

 

 

 

 

process with pid <pid> and ppid

 

 

 

 

 

 

<ppid> and running with effective

 

 

 

 

 

 

uid=<euid> and with effective

 

 

 

 

 

 

gid=<egid>.

 

 

 

 

 

 

where <performed action on> is set

 

 

 

 

 

 

to one of the following:

 

 

 

 

 

 

"created the setuid file"

 

 

 

 

 

 

"changed the owner of the setuid

 

 

 

 

 

 

file"

 

 

 

 

 

 

"enabled the setuid bit on file"

 

 

 

 

 

 

"performed system call <number>

 

 

 

 

 

 

on the file"

 

 

 

 

 

 

 

 

argv[9]

Local Time

Integer

<secs>

Local time in

 

 

 

 

 

 

number of seconds

 

 

 

 

 

 

since epoch when a

 

 

 

 

 

 

privileged setuid

 

 

 

 

 

 

file is created.

 

 

 

 

 

 

 

 

 

 

Refer to Table B-1 in Appendix B for the definition of argv[10] through argv[32] that can

NOTE

 

 

 

 

be used to access specific alert information (ie., pid, ppid) without having to parse the

 

 

 

string alert fields above.

 

 

 

 

 

 

 

 

 

Limitations

• The template cannot distinguish between whether a file is created or truncated

 

when creat(2) is invoked.

Appendix A

157

Page 169
Image 169
HP Host Intrusion Detection System (HIDS) manual Appendix a 157