Intrusion Detection System

Research
Introduced by
Dorothy Denning
Year
1987
Type
Security monitoring and anomaly detection
Family
Network security monitoring

What does it do?

An Intrusion Detection System (IDS) is a security tool that monitors network traffic and/or host activity to identify unauthorized access, malware activity, and policy violations.

Dorothy Denning's 1987 model proposed detecting such violations by monitoring audit records for abnormal patterns of system usage. Most IDS use one or both of two detection approaches: signature-based (matching known attack patterns) and anomaly-based (flagging deviations from normal behavior).

The intuition behind the method

An IDS acts as a continuous security sentinel, analyzing data flowing through a network or on individual hosts in search of malicious activity. Signature-based systems work like antivirus: they maintain a database of known attack patterns (signatures) and flag any traffic or behavior matching these patterns. Anomaly-based systems learn a baseline of normal activity (network flows, process behavior, system calls) and raise alerts when observed activity deviates significantly. Modern IDS often combine both approaches: signatures catch known attacks quickly, while anomaly detection catches novel attacks. IDS differ from firewalls: firewalls enforce access policies, while IDS detect breaches.

History

Denning's 1987 paper proposed monitoring audit records for abnormal patterns of system usage, using behavior profiles and statistical rules, as a basis for real-time intrusion detection. Early operational systems combined signature-based and anomaly-based detection, and later open-source engines made signature-based network detection widely available. Machine learning and behavioral analytics have since been applied to anomaly detection, although their accuracy depends heavily on the data and tuning used.

When to use it

Choose an IDS when you need continuous visibility into network traffic or host activity and a record of what was observed for later review. Network IDS (NIDS) suits points where traffic can be mirrored, such as the boundary between an external and an internal network. Host-based IDS (HIDS) suits critical internal systems, where it can reveal insider activity that network sensors cannot see. Signature-based detection suits environments where known attack patterns cover most of the threat and false alarms must stay low. Anomaly-based detection suits settings where normal behavior is reasonably stable and someone can tune baselines and review alerts. Do not rely on an IDS alone if the goal is to stop an attack rather than report it; pair it with preventive controls. If a sector regulation or internal policy requires monitoring, an IDS can supply that evidence, but the specific obligations should be checked against the applicable rules.

Limitations and considerations

  • Signature-based detection cannot recognize attacks that have no stored signature, including zero-day exploits
  • Anomaly-based detection depends on a baseline of normal activity; legitimate but unusual events such as software deployments or backups can trigger false alarms, and baselines must be updated as the environment changes
  • An IDS detects and reports but does not prevent an attack; blocking requires separate controls such as a firewall, patching, or an intrusion prevention system
  • On high-throughput networks, sampling or filtering may cause attacks to be missed, and encrypted payloads limit content inspection

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Passive sensors fed by mirrored traffic observe activity without sitting in the forwarding path, so detection does not itself block legitimate traffic
  • Signature matching gives specific, readily explained alerts for known attacks, which keeps false alarms low when the signatures are accurate
  • Anomaly scoring can flag activity with no stored signature, such as unusual flow or system-call patterns relative to a learned baseline
  • Denning's model was designed to be independent of any particular system, application environment, or type of intrusion, so its profile-and-rule approach is not tied to one platform
  • Alert and log records provide forensic material for investigating incidents

Applications

  • Network security: monitoring corporate network traffic for unauthorized access and possible data exfiltration
  • Cloud security: placing sensors on virtual networks and instances to monitor for signs of intrusion
  • Critical infrastructure: monitoring utility networks, such as those for power grids and water systems, for cyberattacks
  • Incident response: using alert and log records as forensic evidence when investigating a breach
  • Compliance: monitoring records may support controls required by frameworks such as PCI-DSS, HIPAA, or GDPR; the exact requirements should be checked against each framework

How it works

How it works

1

Capture network packets via traffic mirroring (span ports) for network IDS (NIDS) or monitor system logs and process execution for host-based IDS (HIDS). Collect timestamps, source/destination IP addresses, protocols, payloads, and system calls.

2

From raw data, derive features such as packet rates, protocol distributions, payload entropy, flow duration, and system call sequences. These features represent indicators of normal and anomalous behavior.

3

Compare extracted features against known signatures or against learned baselines of normal behavior. Signature-based analysis looks for exact or fuzzy matches; anomaly-based analysis computes statistical deviation scores.

4

When intrusion is detected, the IDS generates an alert, logs the event, and optionally triggers automated responses (dropping packets, terminating connections, notifying administrators).

Common pitfalls

  • Deploying without tuning: excessive false positives lead to alert fatigue, in which real attacks are missed among the noise
  • Judging the sensor by alert count alone: a high number of alerts does not show that the sensor is accurate, and a low number does not show that the network is safe. Precision depends on how common real intrusions are in the monitored traffic, so most alerts can be false even when the detector is reasonably accurate. Measure false-positive and false-negative rates on labelled traffic before relying on the sensor
  • Letting signature sets go stale; rules should be updated regularly from trusted sources such as the Snort and Suricata rule feeds
  • Placing a sensor behind a firewall or NAT device that hides the traffic of interest, so it sees only a partial view
  • Leaving alerts unconnected to triage and response processes, so they are logged but never acted on; route alerts into a defined workflow
  • Treating the IDS as a complete defense and relying on it without patching, strong authentication, and encryption

Frequently asked questions

What is the difference between IDS and a firewall?

A firewall enforces access control policies by allowing or denying traffic based on predefined rules (e.g., block port 23). An IDS monitors traffic to detect intrusions and suspicious behavior. Firewalls are proactive barriers; IDS is reactive detection. Both are necessary for defense-in-depth: the firewall blocks known threats, and IDS detects attacks that bypass the firewall.

Why do anomaly-based IDS have high false-positive rates?

Anomaly-based systems learn a baseline of 'normal' activity and alert on deviations. However, legitimate but unusual activities (software deployments, backups, legitimate large transfers) can trigger false alarms. As networks evolve and legitimate activity patterns change, baselines become outdated, requiring continuous tuning.

Can IDS detect encrypted traffic intrusions?

A traditional IDS cannot read encrypted payloads without decrypting them, and decryption raises privacy and security concerns. Without payload access, a sensor can still use observable metadata such as flow timing, packet sizes, and volumes, but this gives less detail than content inspection. Host-based sensors that observe data on the endpoint after decryption are another option.

What is the difference between IDS and IPS?

An IDS (Intrusion Detection System) detects attacks and alerts. An IPS (Intrusion Prevention System) goes further, automatically taking action to block or prevent the attack (dropping packets, resetting connections). IPS is more aggressive and can block legitimate traffic if misconfigured; IDS is safer but requires manual response.

How should I judge whether an IDS is performing well?

Alert volume alone is not a measure of performance. Useful evaluation looks at the detection rate (how many real intrusions are caught), the false-positive rate (how many benign events are flagged), and precision (what share of alerts are real intrusions). Precision depends on how frequent real intrusions are in the traffic, so a sensor can produce mostly false alerts even when its false-positive rate looks low. Measure these rates on labelled traffic representative of your environment, and measure them again after tuning or when the environment changes.

Related methods

Sources

  1. Denning, D. E. (1987). An intrusion-detection model. IEEE Transactions on Software Engineering, 13(2), 222–232.

    Open DOI reference
  2. Lippmann, R. P., Kunkel, J. W., Base, D. J., Haines, J. W., Fried, D. J., Webster, S. E., & Wyschogrod, D. B. (2000). 1999 DARPA intrusion detection evaluation: Datasets. Technical Report, MIT Lincoln Laboratory.

    Open publication reference
  3. Garcia-Teodoro, P., Diaz-Verdejo, J., Maciá-Fernández, G., & García-Alonso, J. (2009). Anomaly-based network intrusion detection: Techniques, systems and challenges. Computers & Security, 28(1–2), 18–28.

    Open DOI reference