HP Host Intrusion Detection System (HIDS) manual File Reference Modification, 142

Models: Host Intrusion Detection System (HIDS)

1 270
Download 270 pages 6.58 Kb
Page 154
Image 154

Templates and Alerts

Race Condition Template

PropertiesProperty: priv_uid_list

A list of system-level user IDs.

This list should contain those users that are considered to have elevated access to the system. Removing any of these means that an attack against one of those users will not be detected by this template.

Property: pathnames_to_not_watch

Pathnames of programs that can be safely ignored.

Any race condition alert for a file whose pathname is matched by a regular expression in the pathnames_to_not_watch property will be filtered out and not reported. This property can be used to filter alerts generated when a privileged setuid script is excecuted; the full pathname of the script needs to be specified.

Properties: pathnames_X, programs_X

Alerts generated by this template

These properties can be used to filter out race condition alerts generated when a particular program modifies the file reference of a privileged program for a particular file. See “Type II: Pathnames/Programs Pairs” on page 130 for a detailed description of these property pairs.

“File Reference Modification” on page 142

“Privileged Setuid Script Executed” on page 144

File Reference Modification

This template generates and forwards the following alert to a response program when the file reference in a privileged program is modified unexpectedly:

Table A-7

File Reference Modification Alert Properties

 

 

 

 

 

 

 

 

Response

 

Alert

 

 

 

Program

Alert Field

Field

Alert Value/Format

Description

 

Argument

 

Type

 

 

 

 

 

 

 

 

 

argv[1]

Template

Integer

1

Unique code assigned to

 

 

code

 

 

template

 

 

 

 

 

 

 

argv[2]

Version

Integer

2

Version of the template

 

 

 

 

 

 

 

argv[3]

Severity

Integer

1

Critical severity

 

 

 

 

 

 

 

argv[4]

UTC Time

Integer

<secs>

UTC time in number of

 

 

 

 

 

seconds since epoch

 

 

 

 

 

when an unexpected file

 

 

 

 

 

reference is detected.

 

 

 

 

 

 

142

Appendix A

Page 154
Image 154
HP Host Intrusion Detection System (HIDS) manual File Reference Modification, 142