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
Alert date/time sort seems inconsistent
□ Two factors come into play in this seeming inconsistency: First, the agent’s date/time stamp
is based on the local host time when the alert was received. Second, the time the System
Manager uses to sort the alert is based on the UTC when the alert actually occurred. Under
normal circumstances, these two times are identical. On occasion, however, there may be a
difference depending on internal processing time, which may make the alert list inconsistent.
Alerts are not being displayed in the alert browser
□ Check to see if they are appearing in /var/opt/ids/alert.log.
□ Check for errors in the error browser.
□ Determine whether IDDS failed at boot-up: Use the /etc/dmesg command to verify that
there are no messages saying, IDDS disabled.
□ Verify that the host name and IP address are configured and valid.
□ In the event that the keys have become corrupted, regenerate all key sets using procedures
from “Setting Up HP-UX HIDS Secure Communications” (page 29).
□ Verify that the agent system is set to “Running” (with a green background) in the System
Manager.
□ Determine whether any changes have been made to the detection templates, which may
filter out the alerts (such as ignoring whole directories or users).
□ If no login/logout alerts are seen, /var/adm/wtmp might be corrupted. To check, run the
last command and see if it prints an error or segmentation faults. If so, you need to do the
following as root:
# rm /var/adm/wtmp
# touch /var/adm/wtmp
# chown adm:adm /var/adm/wtmp;
# chmod 644 /var/tmp/wtmp
On HP–UX 11i v2 operating systems, if removing wtmp still produces an error when running
the last command, also remove /var/adm/wtmps (it is automatically recreated).
□ Is the communication to the agent timing out?. Check the agent’s /var/opt/ids/
error.log for timeout messages. If timeout messages appear, try increasing the timeout
values in the agent’s /etc/opt/ids/ids.cf configuration file; see “Remote
Communication Configuration” (page 195).
□ If /var/opt/ids/error.log contains out-of-memory errors, the maximum data segment
size may need to be increased or more swap space might need to be added. Run kmtune
-l -q maxdsiz (kctune on HP-UX 11i v2 and HP-UX 11i v3) and /usr/sbin/swapinfo
to determine your current tunable setting and swap usage, respectively.
Buffer overflow triggers false positives
□ Because Buffer Overflow uses a heuristic, it may trigger false positives. If it does, please
document what actions were performed that generated the alert, and contact HP support
so we can improve the heuristic.
For more information on buffer overflow, see “Some Template Configuration Guidelines”
(page 69).
Duplicate alerts appear in System Manager
If you see duplicate alerts, you might have multiple instances of the same template configured
in your schedule within different surveillance groups with overlapping time tables.
Getting several aggregated alerts for the same process
Problem: Alerts generated by a process running a program specified in an alert aggregation tuple
are being aggregated into several aggregated alerts.
218 Troubleshooting