Section 2. Intrusion Detection System (IDS) overview
An Intrusion Detection System (IDS) is a security tool that monitors a network or system for malicious activity or policy violations. There are several types and methods for implementing an IDS.
The two main types are Network-based IDS (NIDS) and Host-based IDS (HIDS).
- Network-based IDS (NIDS) monitors traffic on a network segment and analyses it for suspicious patterns.
- Host-based IDS (HIDS), on the other hand, runs on a specific host (like a server or computer) and monitors that host’s system files, logs, and processes for signs of an attack.
Intrusion detection systems use different methods to identify threats. The most common is signature-based detection, which works by comparing network traffic or system activity against a database of known attack signatures, much like an antivirus program. Another method is anomaly-based detection, which establishes a baseline of normal network or system behaviour and then flags any activity that deviates significantly from that baseline. Lastly, behaviour-based detection is a more advanced form that analyses the behaviour of users, applications, and hosts to identify malicious actions, even if they don’t match a known signature.
An IDS can be implemented in a few different ways. It can be a feature inside a firewall, which combines both functions for a unified security approach. Alternatively, it can be deployed parallel with the network as a dedicated appliance or server that passively monitors traffic. A HIDS is typically implemented as a monitoring application on a host, running locally to protect that specific machine.

