Host-Based IDS & IPS (HIDS-HIPS)


Host-based intrusion detection system (HIDS) is a type of IDS that monitors a computer system for unexpected behavior or drastic changes to the system’s state.

  • focus on detection and alerting, providing notifications to systems administrators or security personnel when suspicious activities are detected

Host-based intrusion prevention system (HIPS) is endpoint protection that can detect and prevent malicious activity via signature and heuristic pattern matching.

  • detect and actively respond to threats by automatically blocking or mitigating them

Both

  • both require deploying and configuring specialized software agents that continuously monitor and analyze endpoints
    • agents monitor application processes, data files, and log files for suspicious activity
  • use signature-based detection, anomaly detection, and behavior analysis to identify suspicious activities
  • collect and correlate data from various sources:
    • system logs
    • network traffic
    • user activities
  • identify patterns and indicators of compromise or malicious behavior
  • do not effectively detect network-wide anomalies
  • e.g.,
    • OSSEC
      • is an open-source HIDS solution that performs:
        • log analysis
        • integrity checking
        • Windows registry monitoring
        • rootkit detection
        • real-time alerting
        • and active response
      • compatible with Linux, Windows, and macOS
    • Tripwire

File Integrity Monitoring (FIM)

File integrity monitoring (FIM) is a type of software that reviews system files to ensure that they have not been tampered with.

  • one of the core features of HIDS
  • may be implemented as a standalone feature
  • how it works:
    • When software is installed from a legitimate source
      • using signed code in the case of Windows or a secure repository in the case of Linux
    • the OS package manager checks the signature or fingerprint of each executable file and notifies the user if there is a problem
    • audits key system files to ensure they match the authorized versions
  • used to detect changes on endpoints
    • e.g., changes to important files or the operating system configuration
  • When detected, changes can be investigated to determine whether they are authorized
  • e.g.,
    • on Windows
      • Windows File Protection service runs automatically
      • System File Checker (SFC) tool can be used manually to verify OS system files