What is IDS/NDR?Intrusion Detection & Network Detection and Response explained
Watches raw network traffic — not just what a firewall lets through — to spot attacker behavior like scanning, lateral movement, and command-and-control that other tools miss, and either alerts on it or blocks it automatically.
By Cyber Tool Stack Editorial TeamReviewed
Verified Sources: corelight.com, corelight.com, extrahop.com
The lesson
Catching intruders the firewall already let in
Firewalls decide who gets in, but an attacker who slips past can roam a network for weeks unseen. This lesson shows how watching the traffic itself exposes them.
If it helps, think of it as… the cameras inside the building
A firewall is the guard checking badges at the front door. Intrusion detection is the camera system inside: it watches what people actually do once they're in. Someone with a valid badge quietly trying every office door at 2 a.m. sails right past the guard — but the cameras catch the behavior, and security can lock the doors the moment it's spotted.
Perimeter traffic
What crosses in and out of the network
East-west traffic
Machine-to-machine activity inside the network
Cloud traffic
Flows between cloud workloads
Detection engine
Known signatures plus behavior baselines
Alert
An analyst investigates
Inline block
IPS mode drops it in real time
Traffic record
Evidence for later forensics
What it does
An intrusion detection system (IDS) watches network traffic and raises an alert when something matches a known attack pattern. An intrusion prevention system (IPS) goes one step further: it sits directly in the traffic path, so it can drop a malicious connection the moment it's recognized. Network detection and response (NDR) is the modern evolution of both. Instead of relying only on known patterns, it learns what normal traffic looks like on your network — who talks to whom, when, and how much — and flags behavior that breaks the pattern, then gives analysts the recorded traffic they need to investigate and respond.
What makes these tools different from a firewall is where they look. A firewall inspects traffic crossing the network boundary. Detection tools also watch east-west traffic — the machine-to-machine conversations between systems inside the network, which never cross the perimeter and which a firewall therefore never sees.
The attack it stops
Suppose an attacker phishes their way onto one workstation. The firewall saw nothing unusual: just an employee browsing the web. Now the attacker starts exploring — a stage called lateral movement, where an intruder hops from system to system toward something valuable, usually with stolen credentials rather than noisy exploits.
This is where network detection shines. The compromised workstation starts scanning internal servers it has never spoken to before. It connects to the finance database at 3 a.m. It "beacons" — sends small, regular check-in messages — to an unfamiliar server on the internet, which is how malware reaches its command-and-control (C2) channel to receive instructions. None of these actions matches a known exploit signature, but every one is a departure from that machine's normal behavior, and behavioral detection flags exactly that.
How it works, step by step
- The tool receives traffic, either as a mirrored copy from network switches (detection mode) or by sitting inline in the path (prevention mode, where it can block).
- A signature engine compares every flow against thousands of known attack patterns — the detection rules for exploits, malware traffic, and known-bad destinations.
- A behavioral engine baselines normal activity for each host and flags deviations: new connections, strange volumes, odd timing. Modern tools can do this even for encrypted traffic by analyzing its metadata, without decrypting anything.
- Detections are enriched with threat intelligence — current lists of attacker infrastructure — so an alert says not just "unusual" but "talking to a server linked to a ransomware crew."
- The result is an alert for analysts, an automatic inline block, or both, plus a stored traffic record investigators can replay later.
What it doesn't do
Network tools see conversations, not what happens inside a machine. Malware that runs quietly on a laptop and generates no unusual traffic is invisible to them — that's endpoint territory. Behavioral detection also needs a learning period before its baseline means anything, and it will raise false alarms that a human has to triage. It observes and flags; it can't clean up a compromised machine.
The common beginner mix-up is thinking an IDS replaces a firewall, or the reverse. A firewall enforces rules about what's allowed; detection tools notice when something allowed turns out to be hostile. You need both.
How it fits the stack
Network detection picks up where the firewall stops, watching the traffic that was allowed through. Its alerts complement EDR and XDR, which see inside the endpoints that network tools can't. And its detections flow into the SIEM, where network evidence is correlated with endpoint and identity activity to reveal the full shape of an attack.
Terms you just met
Each links to its plain-language definition in the glossary.
The field guide
Evaluating this category
A second pass for buyers: market context, distinctions that matter, and what to weigh when tools in this category start looking alike.
A firewall only sees traffic crossing the perimeter. Once an attacker is inside — moving between servers, scanning for targets, quietly exfiltrating data — that traffic is internal, "east-west" movement a perimeter device was never positioned to watch. The tools built for this sit on the internal network itself, watching raw traffic for the behavior patterns attackers use once they're in.
Some deploy passively, purely to alert; others sit inline and can drop malicious traffic outright. Either way the goal is the same: catch what a firewall structurally cannot, using known attack signatures and behavioral baselines that flag activity no specific rule anticipated.
The problem it solves
Modern attacks rarely stay confined to the first compromised system. After an initial foothold, an attacker typically scans the internal network for reachable hosts, tries stolen credentials against them, and moves toward whatever they're actually after — often over connections that never cross the perimeter firewall at all. Without something watching internal traffic, the entire middle stage of an intrusion goes unobserved.
Compounding this, plenty of attacker traffic matches no known signature — a legitimate admin tool used maliciously, or a technique nobody has catalogued yet. Detection that only matches known patterns misses exactly the intrusions that matter most.
How it works
Sensors positioned at key points in the network — tapped links, mirrored switch ports, or virtual equivalents in cloud environments — capture traffic in full or as detailed connection metadata. That stream is checked against libraries of known attack and exploit signatures, while a behavioral layer baselines what's normal for the environment and flags meaningful deviations, catching threats no signature yet describes.
Detections are enriched with threat intelligence feeds of known-malicious IPs, domains, and file hashes, and stored packet data or metadata lets an analyst reconstruct exactly what happened rather than guessing after the fact. Deployed inline, the system can drop malicious traffic in real time; deployed passively, it only observes and reports, with zero risk of disrupting legitimate traffic if something misfires. Increasingly, these tools also flag suspicious patterns inside encrypted flows without decrypting them at all.
IDS vs IPS
An intrusion detection system (IDS) watches a copy of the traffic and raises an alert — it can't stop anything itself, but also can't accidentally break a legitimate connection. An intrusion prevention system (IPS) sits directly in the traffic path and can drop or block malicious traffic the instant it's recognized, at the cost of becoming a potential point of failure — or disruption — if it blocks something legitimate by mistake.
Most modern products can run in either mode, and the choice often comes down to how much confidence the team has in tuning: an aggressively tuned IPS blocking real traffic causes its own outage, while a purely passive IDS generating alerts nobody acts on protects nothing at all.
If my firewall has IPS, do I need this?
Fair question — most next-generation firewalls now ship a full inline IPS, so the signature-based blocking described here often already runs at your perimeter. But a perimeter IPS and internal detection solve different problems. The firewall only inspects traffic that crosses it, which means it watches the north-south boundary and never sees the east-west movement between internal hosts — exactly the lateral movement, scanning, and credential reuse that define the middle of an intrusion. A dedicated IDS or NDR sits on the internal network to catch that.
There's a deployment difference too. A firewall's IPS runs inline, in the critical path, so it stays fast and conservative by necessity. NDR usually runs out of band on a copy of the traffic, free to do heavier behavioral and encrypted-traffic analysis and to retain packet history for forensics without ever risking a bottleneck. Think of the firewall's IPS as blocking known-bad at the door, and this category as watching how everything behaves once it's inside.
Choosing one
Start with what you actually need visibility into: full east-west coverage across internal segments matters most, since that's precisely the traffic a firewall never sees. Confirm the product can reach the taps or mirrored traffic it needs before evaluating anything else.
Then weigh inline blocking against passive monitoring by team capacity: automatic blocking is valuable when nobody's watching alerts in real time, but demands confidence that legitimate traffic won't get caught in the crossfire. And since most traffic is now encrypted, check how much detection still works without decrypting it — a tool that goes blind on encrypted traffic covers a shrinking fraction of what it's watching.
Capability taxonomy
What buyers typically evaluate when comparing tools in this category.
- Signature-based detection
- Matches traffic against known attack and exploit signatures.
- Behavioral anomaly detection
- Baselines normal traffic patterns to flag deviations without a known signature.
- East-west traffic visibility
- Sees lateral movement between internal hosts, not just traffic crossing the perimeter.
- Packet capture & forensics
- Stores full or metadata-level packet history for post-incident investigation.
- Threat intelligence integration
- Enriches detections with known-bad IPs, domains, and indicators from feeds.
- Inline blocking (IPS mode)
- Can actively drop malicious traffic in real time rather than only alert on it.
- Encrypted traffic analysis
- Flags malicious patterns in encrypted flows without decrypting them.
Tools in this category
Now that you know what IDS/NDR does, see who does it.
18 tools