Skip to content
Pro tool · runs in your browser

IDS, IPS or NDR: which intrusion detection fits your environment?

Describe where your workloads run, your traffic, your team and what you need to block, and get the detection layers that fit, why, where each one sits, and real open-source and commercial examples.

Your environment

Tell us what you are protecting

Start withCloud-native network detection
Where the workloads run
Cloud providers (pick all)
Peak traffic at the busiest link
Security team size
Share of traffic that is encrypted
Do you need to block inline?
Budget band
Who watches alerts
Also true for you

Where your recommended layers sit

InternetEdge firewallIPS feature offCore switchTAPNDR sensorcopy of trafficServersno agentWorkstationsEDR (if any)East-westwatched by NDRCloud VPC / VNetflow logs, DNS, API logsCloud-native detection

Highlighted boxes are the layers rated Start here or Strong fit. Passive sensors get a copy of traffic from a TAP, a SPAN port or cloud traffic mirroring; only the IPS sits in the path.

Recommended detection layers

Ranked for your answers. Every point for or against is shown.

  1. 1

    Cloud-native network detection

    Start here

    Provider services that analyse flow logs, DNS and control-plane logs, plus managed firewalls with IDS/IPS rules and traffic mirroring for your own sensors.

    • + You run cloud workloads; provider detection needs no sensors and covers every account once enabled.
    • + AWS: GuardDuty reads VPC Flow Logs, DNS and CloudTrail on its own stream; AWS Network Firewall adds Suricata-compatible IPS rules.
    • + Managed services suit a small team: no sensor upkeep.

    Flow logs carry no payload. For signature detection on a workload, mirror its traffic to a sensor or route it through a managed IPS.

    Trade-offs, placement and examples

    Sees: Traffic metadata and API activity across accounts and regions with no sensors to run.

    Misses: Flow logs carry no payload, so signature detection needs mirroring or a managed IPS. Coverage differs per provider.

    Where: Enabled in every account and region; managed IPS on internet and inter-VPC egress; mirroring only for high-value workloads.

    Open source: Suricata or Zeek on mirrored traffic (AWS Traffic Mirroring, Google Cloud Packet Mirroring)

    Commercial examples: AWS GuardDuty and AWS Network Firewall (Suricata-compatible rules); Azure Firewall Premium IDPS and Microsoft Defender for Cloud; Google Cloud IDS (detection-only, Palo Alto Networks technology)

    Source: AWS, AWS, AWS, AWS, Microsoft, Google Cloud

  2. 2

    Network detection and response (NDR)

    Strong fit

    Passive sensors plus behavioural analytics over flow and protocol metadata, with investigation and response workflows. NIST calls the analytics part network behavior analysis.

    • + Attackers who get past the edge move laterally; NDR is the layer that watches east-west traffic.
    • + Much of your traffic is encrypted, and NDR works from metadata (TLS fingerprints, certificates, DNS, timing) that stays useful.
    • + At your traffic volume, behaviour analytics finds patterns that individual alerts miss.
    • + NDR covers the devices EDR cannot (printers, IoT, appliances, unmanaged machines) and corroborates EDR detections.
    • + Hybrid networks have the most east-west paths to watch.
    Trade-offs, placement and examples

    Sees: Lateral movement, beaconing, unusual data transfers and new devices, from metadata that stays useful when payloads are encrypted (TLS fingerprints, certificates, DNS, timing, volumes).

    Misses: Exact payload content in encrypted sessions; it needs tuning time and analyst attention to pay off.

    Where: East-west at the core and data-centre spines, plus the edge, fed by TAPs or mirroring.

    Open source: Zeek (the log engine many NDR products build on); Security Onion; Malcolm

    Commercial examples: Vectra AI; ExtraHop RevealX; Darktrace; Corelight (Zeek-based); Cisco Secure Network Analytics

    Source: NIST, Zeek Project, Security Onion Solutions, CISA / Idaho National Laboratory

  3. 3

    Intrusion prevention (inline IPS)

    Worth adding

    The same detection engine placed inline so it can drop or reset matching traffic, usually as a feature of a next-generation firewall.

    • + Inline blocking for some segments: start in alert mode and enable blocking rule by rule.
    • + Your edge firewalls probably already have an IPS feature to license or switch on.
    • + Managed cloud firewalls offer IPS rules without running appliances (AWS Network Firewall, Azure Firewall Premium).

    With most traffic encrypted, an IPS without TLS inspection mainly blocks on addresses, domains and certificates, not payload.

    Trade-offs, placement and examples

    Sees: Traffic crossing the choke point it sits on.

    Misses: East-west traffic that never crosses it; encrypted payloads unless it decrypts. A false positive blocks real traffic.

    Where: Inline at the internet edge and between trust zones, starting in alert-only mode and moving rules to block once tuned.

    Open source: Suricata in IPS mode; Snort 3 inline

    Commercial examples: IPS features of next-generation firewalls (for example Palo Alto Networks, Fortinet FortiGate, Cisco Secure Firewall, Check Point)

    Source: NIST, OISF, Cisco

  4. 4

    Host-based IDS (HIDS)

    Worth adding

    An agent on each server or endpoint that watches logs, file changes, registry and processes on that machine.

    • + Every environment needs visibility on the hosts that hold the data.
    • − You already run EDR, which covers most HIDS detections on endpoints; keep HIDS for file integrity on servers and hosts EDR does not cover.
    • + An agent works the same on cloud VMs as on-premises, with no traffic mirroring needed.
    Trade-offs, placement and examples

    Sees: What happened on the host after decryption: file integrity changes, log-in activity, privilege changes, rootkits.

    Misses: Hosts without the agent (appliances, IoT, OT, unmanaged devices) and traffic between other machines.

    Where: On servers first (especially ones holding regulated data), then endpoints not already covered by EDR.

    Open source: Wazuh; OSSEC

    Commercial examples: File integrity and host detection features in EDR suites (for example Microsoft Defender for Endpoint, CrowdStrike Falcon, SentinelOne)

    Source: NIST, Wazuh, OSSEC

  5. 5

    Network IDS (passive NIDS)

    Not a priority

    A sensor that receives a copy of traffic (SPAN port, network TAP or cloud traffic mirroring) and alerts on signatures and protocol anomalies.

    • + You own network segments you can tap or mirror.
    • − Over 80% encrypted: signatures see little payload without decryption, so expect value mainly from metadata, DNS and cleartext internal protocols.
    Trade-offs, placement and examples

    Sees: Every device on the monitored segment, including ones that cannot run an agent; exploit attempts, scans, known-bad indicators in cleartext.

    Misses: Payload inside encrypted traffic unless decrypted; segments it is not attached to. It cannot stop anything.

    Where: Out of band at the internet edge behind the firewall, at the data-centre core, and in front of crown-jewel segments.

    Open source: Suricata; Snort; Security Onion (Suricata + Zeek bundled)

    Commercial examples: Cisco Secure Firewall (Snort-based); Trellix Intrusion Prevention System; Trend Micro TippingPoint

    Source: NIST, OISF, Cisco, Security Onion Solutions

Your detection plan

The ranking, reasons, placement and examples as text for a proposal or a vendor shortlist.

Preview the plan
DETECTION LAYER PLAN (IDS / IPS / NDR)
Environment: Hybrid (AWS); traffic 1 to 10 Gbps; team 1 to 3 people; encrypted Over 80%; inline blocking Maybe, for some segments; OT no; EDR yes; In-house SIEM; PCI no.

1. Cloud-native network detection: Start here
   + You run cloud workloads; provider detection needs no sensors and covers every account once enabled.
   + AWS: GuardDuty reads VPC Flow Logs, DNS and CloudTrail on its own stream; AWS Network Firewall adds Suricata-compatible IPS rules.
   + Managed services suit a small team: no sensor upkeep.
   ! Flow logs carry no payload. For signature detection on a workload, mirror its traffic to a sensor or route it through a managed IPS.
   Where: Enabled in every account and region; managed IPS on internet and inter-VPC egress; mirroring only for high-value workloads.
   Open source: Suricata or Zeek on mirrored traffic (AWS Traffic Mirroring, Google Cloud Packet Mirroring)
   Commercial examples: AWS GuardDuty and AWS Network Firewall (Suricata-compatible rules); Azure Firewall Premium IDPS and Microsoft Defender for Cloud; Google Cloud IDS (detection-only, Palo Alto Networks technology)

2. Network detection and response (NDR): Strong fit
   + Attackers who get past the edge move laterally; NDR is the layer that watches east-west traffic.
   + Much of your traffic is encrypted, and NDR works from metadata (TLS fingerprints, certificates, DNS, timing) that stays useful.
   + At your traffic volume, behaviour analytics finds patterns that individual alerts miss.
   + NDR covers the devices EDR cannot (printers, IoT, appliances, unmanaged machines) and corroborates EDR detections.
   + Hybrid networks have the most east-west paths to watch.
   Where: East-west at the core and data-centre spines, plus the edge, fed by TAPs or mirroring.
   Open source: Zeek (the log engine many NDR products build on); Security Onion; Malcolm
   Commercial examples: Vectra AI; ExtraHop RevealX; Darktrace; Corelight (Zeek-based); Cisco Secure Network Analytics

3. Intrusion prevention (inline IPS): Worth adding
   + Inline blocking for some segments: start in alert mode and enable blocking rule by rule.
   + Your edge firewalls probably already have an IPS feature to license or switch on.
   + Managed cloud firewalls offer IPS rules without running appliances (AWS Network Firewall, Azure Firewall Premium).
   ! With most traffic encrypted, an IPS without TLS inspection mainly blocks on addresses, domains and certificates, not payload.
   Where: Inline at the internet edge and between trust zones, starting in alert-only mode and moving rules to block once tuned.
   Open source: Suricata in IPS mode; Snort 3 inline
   Commercial examples: IPS features of next-generation firewalls (for example Palo Alto Networks, Fortinet FortiGate, Cisco Secure Firewall, Check Point)

4. Host-based IDS (HIDS): Worth adding
   + Every environment needs visibility on the hosts that hold the data.
   - You already run EDR, which covers most HIDS detections on endpoints; keep HIDS for file integrity on servers and hosts EDR does not cover.
   + An agent works the same on cloud VMs as on-premises, with no traffic mirroring needed.
   Where: On servers first (especially ones holding regulated data), then endpoints not already covered by EDR.
   Open source: Wazuh; OSSEC
   Commercial examples: File integrity and host detection features in EDR suites (for example Microsoft Defender for Endpoint, CrowdStrike Falcon, SentinelOne)

5. Network IDS (passive NIDS): Not a priority
   + You own network segments you can tap or mirror.
   - Over 80% encrypted: signatures see little payload without decryption, so expect value mainly from metadata, DNS and cleartext internal protocols.
   Where: Out of band at the internet edge behind the firewall, at the data-centre core, and in front of crown-jewel segments.
   Open source: Suricata; Snort; Security Onion (Suricata + Zeek bundled)
   Commercial examples: Cisco Secure Firewall (Snort-based); Trellix Intrusion Prevention System; Trend Micro TippingPoint

Product names are examples of each category, not endorsements. Check vendor pricing and run a proof of concept on your own traffic.
Sources: NIST SP 800-94 and SP 800-82r3; Suricata, Snort, Zeek, Wazuh and OSSEC docs; AWS, Azure and Google Cloud docs; PCI DSS v4.0.1 11.5.

Loading…

TL;DR

The short answer

5 points
  • An intrusion detection system (IDS) watches hosts or network traffic and alerts on signs of attack. An intrusion prevention system (IPS) is the same idea placed inline, so it can block. NIST SP 800-94 covers both.
  • Host-based IDS (HIDS) runs on each machine; network IDS (NIDS) watches a copy of traffic from a TAP, a SPAN port or cloud mirroring. Each sees what the other misses.
  • Network detection and response (NDR) adds behaviour analytics on flow and protocol metadata, which keeps working when most traffic is encrypted and is aimed at lateral movement.
  • In the cloud, provider services (AWS GuardDuty, AWS Network Firewall, Azure Firewall Premium IDPS, Google Cloud IDS) cover a lot without sensors, but flow logs carry no payload.
  • OT networks need passive monitoring that understands industrial protocols; inline blocking in front of controllers can stop the process.

IDS vs IPS vs NDR at a glance

Where it runs
IDS: Out of band, on a copy of traffic (NIDS) or on a host (HIDS)
IPS: Inline, traffic passes through it
NDR: Out of band, on a copy of traffic, plus analytics
What it does on a match
IDS: Alerts
IPS: Blocks, drops or resets, and alerts
NDR: Alerts, correlates and supports response (often via EDR, firewall or NAC integration)
Main detection method
IDS: Signatures and protocol anomalies
IPS: Signatures and protocol anomalies
NDR: Behaviour and anomaly analytics on flow and protocol metadata
Encrypted traffic
IDS: Sees metadata only, unless decrypted
IPS: Needs TLS inspection to see payload
NDR: Designed to work from metadata
Risk of getting it wrong
IDS: Alert fatigue
IPS: A false positive is an outage
NDR: Leads nobody investigates
Open-source examples
IDS: Suricata, Snort, Zeek (NIDS); Wazuh, OSSEC (HIDS)
IPS: Suricata or Snort in inline mode
NDR: Zeek, Security Onion, Malcolm

The six detection layers

Host-based IDS (HIDS)

An agent on each server or endpoint that watches logs, file changes, registry and processes on that machine.

Misses: Hosts without the agent (appliances, IoT, OT, unmanaged devices) and traffic between other machines.

Open source: Wazuh; OSSEC

Network IDS (passive NIDS)

A sensor that receives a copy of traffic (SPAN port, network TAP or cloud traffic mirroring) and alerts on signatures and protocol anomalies.

Misses: Payload inside encrypted traffic unless decrypted; segments it is not attached to. It cannot stop anything.

Open source: Suricata; Snort; Security Onion (Suricata + Zeek bundled)

Intrusion prevention (inline IPS)

The same detection engine placed inline so it can drop or reset matching traffic, usually as a feature of a next-generation firewall.

Misses: East-west traffic that never crosses it; encrypted payloads unless it decrypts. A false positive blocks real traffic.

Open source: Suricata in IPS mode; Snort 3 inline

Network detection and response (NDR)

Passive sensors plus behavioural analytics over flow and protocol metadata, with investigation and response workflows. NIST calls the analytics part network behavior analysis.

Misses: Exact payload content in encrypted sessions; it needs tuning time and analyst attention to pay off.

Open source: Zeek (the log engine many NDR products build on); Security Onion; Malcolm

Cloud-native network detection

Provider services that analyse flow logs, DNS and control-plane logs, plus managed firewalls with IDS/IPS rules and traffic mirroring for your own sensors.

Misses: Flow logs carry no payload, so signature detection needs mirroring or a managed IPS. Coverage differs per provider.

Open source: Suricata or Zeek on mirrored traffic (AWS Traffic Mirroring, Google Cloud Packet Mirroring)

OT / ICS passive monitoring

Passive sensors that understand industrial protocols (Modbus, DNP3, S7, EtherNet/IP and others) and baseline what each controller normally does.

Misses: Anything not mirrored to it. It must never sit inline or actively scan controllers without testing.

Open source: Zeek with ICS protocol parsers; Malcolm; Suricata rules for ICS protocols

How the recommendation works

Each layer starts from what it is for and gains or loses points from your answers: owning network segments favours network sensors; a high share of encrypted traffic lowers the value of payload signatures and raises the value of metadata analytics; a need to block automatically is the only reason to go inline; a small team counts against layers that produce many alerts to triage; OT counts against inline blocking and adds passive industrial monitoring. The weights are PlayCISO's judgement from the sources below, and every point is shown in the result. Product names are examples of each category, not endorsements, and there are no prices here: check vendor pricing and test on your own traffic.

For the host versus network side of the question, read HIDS vs NIDS: host vs network intrusion detection. Deciding what reads the alerts is the next step: the SIEM / SOAR / XDR Fit Finder covers that.

Frequently asked questions

What is an intrusion detection system (IDS)?

A system that monitors a host or network for signs of attack or policy violations and raises alerts. NIST SP 800-94 groups them into network-based, wireless, network behavior analysis and host-based types, detecting with signatures, anomaly baselines and stateful protocol analysis. An IDS alerts; it does not block.

What is the difference between an IDS and an IPS?

Placement and action. An IDS works on a copy of traffic (or on a host) and alerts. An IPS sits inline, so traffic passes through it and it can drop or reset matching connections. The detection engine can be the same: Suricata and Snort both run in either mode. The trade-off is that an IPS false positive blocks real traffic.

What is NDR and how is it different from an IDS?

Network detection and response combines passive network sensors with behavioural analytics over flow and protocol metadata, plus investigation and response workflows. Where a signature IDS looks for known-bad patterns, NDR looks for unusual behaviour such as lateral movement, beaconing and odd data transfers, which still shows in metadata when traffic is encrypted.

Do I need an IDS if I have EDR?

EDR covers the endpoints that run its agent. A network sensor also sees devices that cannot run one (printers, phones, IoT, appliances, OT, unmanaged machines) and the traffic between them. Many teams pair EDR with NDR, and keep host-based file integrity monitoring on servers where a standard such as PCI DSS 11.5.2 requires it.

Is Zeek an IDS?

Zeek (formerly Bro) is a passive network security monitor. It turns traffic into detailed protocol logs (connections, DNS, HTTP, TLS, files) for hunting and analytics, and is the log engine several NDR products build on. It does not block traffic inline; Suricata and Snort are the usual open-source choices for inline prevention.

How do I do intrusion detection in AWS, Azure or Google Cloud?

Turn on the provider detection first: AWS GuardDuty analyses VPC Flow Logs, DNS logs and CloudTrail without you enabling flow logs; AWS Network Firewall and Azure Firewall Premium add inline IDS/IPS rules (AWS uses Suricata-compatible rules); Google Cloud IDS is a detection-only service fed by Packet Mirroring. For signature detection on a specific workload, mirror its traffic to a sensor.

Does PCI DSS require an IDS or IPS?

Yes. PCI DSS v4.0.1 requirement 11.5.1 says intrusion-detection and/or intrusion-prevention techniques are used to detect and/or prevent intrusions into the network, and 11.5.2 requires a change-detection mechanism such as file integrity monitoring on critical files.

Sources

  • NIST: SP 800-94, Guide to Intrusion Detection and Prevention Systems (IDPS) (Feb 2007). Defines four IDPS types (network-based, wireless, network behavior analysis and host-based), compares signature, anomaly and stateful protocol analysis detection, and explains inline (prevention) versus passive (detection) sensor placement.
  • NIST: SP 800-82 Rev. 3, Guide to Operational Technology (OT) Security (Sep 2023). OT has availability and safety requirements IT does not; security tools must be tested so they do not disrupt operations, and passive network monitoring is preferred where active or inline tools could affect the process.
  • OISF: What is Suricata (current docs). Open-source (GPLv2), multi-threaded network IDS, inline IPS and network security monitoring engine, developed by the Open Information Security Foundation.
  • Cisco: Snort (current). Open-source (GPLv2) intrusion prevention system maintained by Cisco Talos; runs as a packet sniffer, logger or inline IPS with a rule language and community and subscriber rule sets.
  • Zeek Project: About Zeek (current docs). Open-source (BSD) passive network security monitor, formerly Bro. It turns traffic into rich protocol logs (conn, dns, http, ssl, files and more) for hunting and NDR-style analytics; it is not an inline blocker.
  • Wazuh: Wazuh documentation: getting started (current docs). Open-source (GPLv2) security platform with an endpoint agent for log analysis, file integrity monitoring, rootcheck and vulnerability detection; it began as a fork of OSSEC.
  • OSSEC: OSSEC host-based intrusion detection (current). Open-source host-based intrusion detection system: log analysis, file integrity checking, rootkit detection and active response.
  • Security Onion Solutions: Security Onion (current). Open-source platform for threat hunting, network security monitoring and log management that bundles Suricata and Zeek with an Elastic-based analyst console.
  • CISA / Idaho National Laboratory: Malcolm network traffic analysis tool suite (current). Open-source (Apache 2.0) suite published under the cisagov GitHub organisation that ingests packet capture, Zeek logs and Suricata alerts, with Arkime and OpenSearch Dashboards for analysis.
  • AWS: GuardDuty foundational data sources (current docs). GuardDuty analyses CloudTrail management events, VPC Flow Logs and Route 53 Resolver DNS logs through its own independent stream; you do not need to enable flow logs yourself for it to work.
  • AWS: Stateful rule groups in AWS Network Firewall (current docs). Network Firewall stateful rule groups use Suricata-compatible IPS rule specifications and can perform deep packet inspection inline.
  • AWS: What is Traffic Mirroring? (current docs). Copies network traffic from elastic network interfaces to a target such as an IDS appliance or a Network Load Balancer in front of sensors, for out-of-band inspection.
  • AWS: Logging IP traffic using VPC Flow Logs (current docs). Flow logs record IP traffic metadata (addresses, ports, protocol, bytes, accept or reject) to and from network interfaces; they do not capture packet payloads.
  • Microsoft: Azure Firewall Premium features (current docs). Azure Firewall Premium adds signature-based IDPS that can alert or alert-and-deny, plus TLS inspection so IDPS can see inside encrypted traffic.
  • Google Cloud: Cloud IDS overview (current docs). Detection-only managed IDS powered by Palo Alto Networks threat prevention technology; it receives traffic through Packet Mirroring and "does not take action to prevent attacks".
  • PCI SSC: PCI DSS v4.0.1, Requirements 11.5.1 and 11.5.2 (Jun 2024). 11.5.1: intrusion-detection and/or intrusion-prevention techniques are used to detect and/or prevent intrusions into the network (at the CDE perimeter and critical points). 11.5.2: a change-detection mechanism (for example file integrity monitoring) alerts on unauthorised changes to critical files.

Educational guidance, not a procurement recommendation. Vendor capabilities change; confirm with current documentation and a proof of concept.

The tools people use most on PlayCISO.

All tools
🎉 New here? Use code WELCOME10 for 10% off any plan at checkout