HP-UX Host Intrusion Detection System Version 4.3 administrator guide
Table Of Contents
- HP-UX Host Intrusion Detection System Version 4.3 administrator guide
- Table of Contents
- About This Document
- 1 Introduction
- 2 Configuring HP-UX HIDS
- 3 Getting Started with HP-UX HIDS
- 4 Using the System Manager Screen
- Starting the HP-UX HIDS System Manager
- Stopping the HP-UX HIDS System Manager
- System Manager Components
- Starting HP-UX HIDS Agents
- Getting the Status of Agent Hosts
- Resynchronizing Agent Hosts
- Activating Schedules on Agent Hosts
- Stopping Schedules on Agent Hosts
- Halting HP-UX HIDS Agents
- Accessing Other Screens
- 5 Using the Schedule Manager Screen
- The Schedule Manager
- Configuring Surveillance Schedules
- Configuring Surveillance Groups
- Configuring Detection Templates
- Setting Surveillance Schedule Timetables
- Configuring Alert Aggregation
- Configuring Monitor Failed Attempts
- Configuring Duplicate Alert Suppression
- Viewing Surveillance Schedule Details
- Predefined Surveillance Schedules and Groups
- 6 Using the Host Manager Screen
- 7 Using the Network Node Screen
- 8 Using the Preferences Screen
- A Templates and Alerts
- Alert Summary
- UNIX Regular Expressions
- Limitations
- Template Property Types
- Buffer Overflow Template
- Race Condition Template
- Modification of files/directories Template
- Changes to Log File Template
- Creation and Modification of setuid/setgid File Template
- Creation of World-Writable File Template
- Modification of Another User’s File Template
- Login/Logout Template
- Repeated Failed Logins Template
- Repeated Failed su Commands Template
- Log File Monitoring Template
- B Automated Response for Alerts
- C Tuning Schedules and Generating Alert Reports
- D The Agent Configuration File
- E The Surveillance Schedule Text File
- F Error Messages
- G Troubleshooting
- Troubleshooting
- Agent and System Manager cannot communicate with each other
- Agent complains that idds has not been enabled, yet lsdev shows /dev/idds is present
- Agent does not start on system boot
- Agent halts abnormally, leaving ids_* files and message queues
- Agent host appears to hang and/or you see message disk full
- Agent needs further troubleshooting
- Agent does not start after installation
- Agents appear to be stuck in polling status
- Agent displays error if hostname to IP mapping is not registered in name service
- Aggregated alerts targets or details field are truncated and the same aggregated alert has several entries logged in the IDS_ALERTFILE
- Alert date/time sort seems inconsistent
- Alerts are not being displayed in the alert browser
- Buffer overflow triggers false positives
- Duplicate alerts appear in System Manager
- Getting several aggregated alerts for the same process
- GUI runs out of memory after receiving around 19,000 alerts
- The idsadmin Command needs installed agent certificates
- The idsadmin Command notifies of bad certificate when pinging a remote agent
- IDS_checkInstall fails with a kmtune error
- IDS_genAdminKeys or IDS_genAgentCerts does not complete successfully
- IDS_genAdminKeys or idsgui quits early
- Large files in /var/opt/ids
- Log files are filling up
- No Agent Available
- Normal operation of an application generates heavy volume of alerts
- Reflection X rlogin produces multiple login and logout alerts
- Schedule Manager timetable screen appears to hang
- SSH does not perform a clean exit after idsagent is started
- System Manager appears to hang
- System Manager does not let you save files to specific directories
- System Manager does not start after idsgui is started
- System Manager starts with no borders or title bar in X client programs on Windows
- System Manager times out on agent functions such as Activate and Status Poll
- UNKNOWN program and arguments in certain alert messages
- Using HP-UX HIDS with IPFilter and SecureShell
- Unable to Generate Administrator Keys and Agent Certificates on PA–RISC 1.1 Systems
- Troubleshooting
- H HP Software License

□ Verify that all keys have been generated as described in “Setting Up HP-UX HIDS Secure
Communications” (page 29).
□ Run /opt/ids/bin/IDS_checkInstall to verify that all required patches have been
installed properly prior to installing IDS. IDS_checkInstall should be run on an OS
where IDS is installed. If patches are missing, uninstall IDS (swremove), install the patches
(see the HP-UX HIDS 4.3 release notes ), and reinstall IDS (swinstall).
Agents appear to be stuck in polling status
In some instances, the combination of the autostatus and autosync processes leave some agents
in “polling” status. The workaround is to use autostatus only or to perform a manual status to
get the agent display into a known state.
Agent displays error if hostname to IP mapping is not registered in name service
On a multihost system, if the IDS_LISTEN_IFACE parameter in the /etc/opt/ids/ids.cf
agent configuration file is set to an IP address that is not registered with name service, the
idsagent process logs an error message like the one below during startup in /var/opt/ids/
error.log and then aborts.
For example, the following error message is logged by the agent when IDS_LISTEN_IFACE is
set to 192.0.2.4. Although 192.0.2.4 may be a valid IP address for the agent host, if the IP address
is not registered in the name service then the agent treats the IP address as invalid and aborts
after logging the following message:
idsagent: the IDS_LISTEN_IFACE parameter is specified as:
192.0.2.4
in the configuration file /etc/opt/ids/ids.cf
This is not a valid address or name for this host.
Please change the IDS_LISTEN_IFACE parameter in the [global] section of the configuration file to be a valid
address or namefor this host.
The preferred solution is to modify the name service configuration so that the IP address specified
by theIDS_LISTEN_IFACE parameter maps to the local host name. Otherwise, a workaround
is to set theIDS_LISTEN_IFACE parameter to 0.0.0.0 (or "::" for IPv6) and let the agent listen on
all available interfaces.
WARNING! By setting the value of IDS_LISTEN_IFACE parameter to 0.0.0.0 (or "::" for IPv6),
the idsagent process listens for the system manager or the idsadmin connections on all
available interfaces of the agent system. Customer must evaluate the risk of exposing the
idsagent to other interfaces before setting the value of the parameter IDS_LISTEN_IFACE to
0.0.0.0 (or "::" for IPv6). Limiting the number of ports opened on interfaces (and hence reducing
the system's exposure to attack) is considered a good security practice.
The same risk is applicable for the idsgui process when INTERFACE is set to 0.0.0.0 ( or "::" for
IPV6) in the /opt/ids/bin/idsgui file.
Aggregated alerts targets or details field are truncated and the same aggregated
alert has several entries logged in the IDS_ALERTFILE
Problem: You may notice that the targets field or details field of an aggregated alert are truncated.
You may also notice that the aggregated alert has several entries in the IDS_ALERTFILE.
Cause: The maximum size of a message on an IPC message queue is smaller than the size of the
aggregated alert. The idscor process that generates the alerts and sends alerts to the idsagent
process using an IPC message queue, must therefore send the aggregated alert in chunks. The
idsagent process logs the alert chunks to IDS_ALERTFILE and then sends only the first chunk
to the System Manager.
Action: Increase the value of msgmax and msgmnb kernel tunables, preferably to a value greater
than or equal to the size of the aggregrated alert.
Troubleshooting 217