Intrusion Detection System

Features

Intrusion Prevention System

Methods

Example


IDS

The Intrusion Detection System (IDS) is a crucial component of network security designed to monitor activity for signs of malicious or policy-violating behavior.

I. Definition and Core Function

An IDS is a security software or hardware device that inspects all inbound and outbound network traffic for suspicious patterns that may indicate a network or system security breach.

II. Types and Placement of IDS

IDS can be categorized based on their functionality and where they reside in the network architecture:

A. Classification by Functionality

  1. Passive IDS: Generally only detects intrusions.
  2. Active IDS (Intrusion Prevention System - IPS): An Intrusion Prevention System (IPS) is considered an active IDS because it is capable of both detecting and preventing intrusions.

B. Classification by Location/Scope

  1. Network-Based IDS (NIDS):
    • Mechanism: NIDS monitors traffic to and from all devices on the network. They are typically placed at a strategic point within the network.
    • Operation: NIDS checks every packet entering the network for the presence of anomalies and incorrect data, capturing and inspecting all traffic. They generally consist of a black box placed on the network in promiscuous mode, listening for patterns indicative of an intrusion.
    • Detection Focus: NIDS detects malicious activity such as Denial-of-Service (DoS) attacks, port scans, or attempts to break into computers by monitoring network traffic.
  2. Host-Based IDS (HIDS):
    • Mechanism: HIDS analyzes each system's behavior. It is installed on a single host (ranging from a desktop PC to a server).
    • Detection Focus: HIDS is effective in detecting unauthorized insider activity and unauthorized file modification, focusing on the changing aspects of local systems. These systems usually involve auditing for events that occur on a specific host. HIDS is less common due to the overhead incurred by monitoring every system event.

C. Network Placement

The most common location for deployment is near the firewall.

III. Intrusion Detection Methods

An IDS uses three primary methods to detect intrusions:

  1. Signature Based Detection (Misuse Detection):
    • Mechanism: This method compares incoming or outgoing network packets with binary signatures of known attacks using simple pattern-matching techniques. The system must know about the attack to detect it.
    • Limitation: Signature recognition can only detect known attacks. Changing a single bit in some attack strings can invalidate a signature, requiring entirely new signatures for detection.
  2. Anomaly Detection (Not-Use Detection):
    • Mechanism: This method establishes a model of normal network behavior and detects an intrusion when an event occurs outside the tolerance threshold of normal traffic. Any deviation from regular use is flagged as an attack.
    • Advantage: Anomaly detection systems can identify unknown attacks.
  3. Protocol Anomaly Detection:
    • Mechanism: Analyzes network traffic to detect deviations from established protocol standards or expected behavioral patterns, such as unusual packet structures or unexpected sequence orders.

IV. Evasion Techniques and Countermeasures

IDS and firewalls are security mechanisms intended to prevent access, but they have limitations that attackers exploit.

A. Common Evasion Techniques Targeting IDS

Attackers attempt to fool the IDS into interpreting malicious traffic as legitimate:

B. IDS Evasion Countermeasures

To defend against IDS evasion, security professionals should implement:

V. IDS Tools

Specific tools are available for intrusion detection:

IPS

The Intrusion Prevention System (IPS) is a critical security mechanism that serves as an active defense against network and system security breaches. It functions as an evolution of the Intrusion Detection System (IDS), adding the capability to actively block malicious traffic.

I. Definition and Core Functionality

  1. Active IDS: An IPS is explicitly defined as an active IDS because it is capable of not only detecting intrusions but also preventing them.
  2. Placement (Inline): Unlike a passive IDS, an IPS is placed inline in the network, situated between the source and the destination. This positioning allows the IPS to actively analyze the network traffic and make automated decisions regarding traffic entering the network.
  3. Action: The main functions of an IPS are to identify malicious activity, log information about it, report it, and most importantly, attempt to block or stop it.

II. Actions and Benefits of an IPS

An IPS performs several active countermeasures based on configured rules and policies:

III. Integration and Defense Context

IPS deployment is a fundamental element of a comprehensive network defense strategy:

IV. Examples of Intrusion Prevention Tools

Specific commercial solutions available for Intrusion Prevention include: