4 Host Intrusion Detection System (HIDS)
This chapter describes the Host Intrusion Detection System (HIDS) security feature available to the Platform Administrator through the Linux Command Line Interface (CLI). The platcfg utility of the Operating System (OS) is used for configuring this feature.
Host Intrusion Detection System Overview
The Host Intrusion Detection System (HIDS) feature monitors a server for malicious activity by periodically examining file system changes, logs, and auditing processes. The HIDS feature monitors TPD and TVOE log files and ensures that HIDS and Syscheck processes are running.
The HIDS monitoring feature monitors the following protected log files:
- All files in
/var/TKLC/log/hids
/var/log/messages
/var/log/secure
/var/log/cron
The log files created are as follows:
- alarms.log – Any HIDS functionality resulting in an alarm being raised or cleared is logged in this file, for example, file tampering alarm, Syscheck process alarm, Samhain process alarm.
- admin.log – The output of any HIDS command executed resulting in a success or error is logged in this file. This file also includes logs on attempts to run commands as a non HIDS administrator.
- hids.log – Logs any other information such as state changes and when Samhain runs but finds no file tampering errors.
No other system resources such as files, processes, actions, and so on are monitored by HIDS.
HIDS alarms are standard TPD alarms with the alarmEventType
set
to securityServiceOrMechanismViolation
. The HIDS alarms are
propagated through normal COMCOL channels, resulting in SNMP traps being
sent to the client's SNMP management system if configured. The active alarms
can be viewed in the platcfg GUI. You can also view the active alarms on the
Diameter Signaling Router (DSR) GUI by navigating to Alarms &
Events > View Active.
Checking the Host Intrusion Detection System Status
This section describes the procedure to check the status of Host Intrusion Detection System (HIDS).
Initializing the Host Intrusion Detection System
This section describes the procedure to initialize the Host Intrusion Detection System (HIDS).
Enabling or Disabling Host Intrusion Detection System
This section describes the procedure to enable or disable Host Intrusion Detection System (HIDS).
The Host Intrusion Detection System (HIDS) feature must be initialized before enabling HIDS for the first time on a system.
Perform the following steps to enable or disable HIDS:
Suspending or Resuming Host Intrusion Detection System
This section describes the procedure to temporarily suspend or resume Host Intrusion Detection System (HIDS) monitoring on a system that has HIDS enabled.
Perform the following steps to suspend or resume HIDS:
Running On-Demand HIDS Security Check
The HIDS tests run periodically. This section describes the procedure to force an immediate run of the HIDS tests by using the On-demand HIDS menu.
Perform the following steps to run on-demand HIDS tests:
Updating Host Intrusion Detection System Baseline
This section describes the procedure to update the checksums on all files or specific files in the HIDS baseline, which can clear HIDS alarms associated with the updated files.
Perform the following steps to update the checksums on all files or specific files in the HIDS baseline:
Deleting Host Intrusion Detection System
This section describes the procedure to permanently disable HIDS or to back out from a product upgrade by using the HIDS Delete menu.
Perform the following steps to delete HIDS:
Host Intrusion Detection System Alarms
This section describes the overview and procedure to view HIDS Alarms.
The HIDS alarms are standard TPD alarms with the alarmEventType
set
to securityServiceOrMechanismViolation
.
The HIDS alarms are propagated through normal COMCOL channels that result in SNMP traps being sent to the client's SNMP management system if configured.
- You can view the current, previously cleared, and how alarms were cleared in
the
/var/TKLC/logs/hids/alarms.log
file. - You can view active alarms on the DSR GUI by navigating to Main Menu > Alarms & Events > View Active.
- You can view active alarms on the platcfg GUI, including HIDS alarms, by performing the following steps: