NDR, or network detection and response, is a security technology that continuously analyzes network traffic to detect malicious behavior, supports investigation of suspicious activity and triggers or guides containment actions. In cybersecurity, and specifically in infrastructure defense, NDR provides the network-level view of an attack that complements endpoint telemetry and log analysis.
Unlike tools that only match known signatures, NDR builds behavioral baselines of hosts, users and protocols, then flags deviations such as unusual lateral connections, beaconing or large outbound transfers. Its core value is visibility into devices that cannot run an agent and into encrypted or east-west traffic that perimeter controls rarely inspect.
How NDR collects and analyzes traffic
NDR works by capturing network data at strategic points, extracting metadata and features from it and applying analytics to identify threats. Sensors receive traffic from SPAN ports or network TAPs, from virtual taps in cloud environments, or from flow exports such as NetFlow and IPFIX.
The sensor reconstructs sessions and parses protocols such as DNS, HTTP, SMB, Kerberos and TLS. Most products retain rich metadata rather than full packets, because full packet capture at 10 to 100 Gbit/s quickly consumes storage. Analytics then combine machine learning models, heuristics, threat intelligence and rules to score each event.
The following table summarizes the main data sources an NDR platform can use and what each one reveals.
| Data source | Typical collection point | What it reveals | Main limitation |
|---|---|---|---|
| Full packet capture | TAP or SPAN at core links | Complete payloads for forensics | Very high storage cost |
| Protocol metadata | Sensor parsing live traffic | DNS queries, URLs, certificates, file names | Requires sensor placement |
| Flow records | Routers, switches, firewalls | Who talked to whom, volume, duration | No payload or content detail |
| Cloud traffic mirroring | Virtual taps, VPC flow logs | Workload traffic in public cloud | Sampling and provider constraints |
Encryption is a central challenge. Modern NDR relies on encrypted traffic analysis, which inspects unencrypted handshake fields, certificate details, JA3 or JA4 fingerprints, packet sizes and timing. Decryption is possible at proxies but raises privacy and performance trade-offs.
Detection techniques used in NDR
NDR detection combines several complementary techniques, because no single method catches every stage of an intrusion. Behavioral analytics identify anomalies, while signatures and indicators confirm known threats with low ambiguity.
| Technique | How it works | Typical detections |
|---|---|---|
| Behavioral baselining | Learns normal peers, ports and volumes per host | Lateral movement, new admin protocols |
| Beaconing analysis | Finds periodic connections with low jitter | Command and control channels |
| DNS analytics | Scores domain entropy, age and query patterns | Tunneling, domain generation algorithms |
| Threat intelligence matching | Compares IPs, domains and hashes with feeds | Known malicious infrastructure |
| Protocol misuse rules | Checks Kerberos, SMB and LDAP semantics | Kerberoasting, pass-the-hash, DCSync |
Mature products map detections to the MITRE ATT&CK framework, so analysts can see which tactics, such as discovery, credential access or exfiltration, a given alert represents. This mapping also helps teams measure detection coverage and identify gaps.
NDR compared with IDS, EDR, SIEM and XDR
NDR occupies a distinct position among detection technologies: it watches the network rather than the endpoint and adds response capability that a classic intrusion detection system lacks. The comparison below clarifies the boundaries.
| Tool | Primary data | Detection focus | Response capability |
|---|---|---|---|
| NDR | Network traffic and metadata | Behavioral anomalies across all devices | Isolation through integrations, investigation |
| IDS | Network packets | Signature matches on known attacks | Alerting only |
| EDR | Endpoint process and file telemetry | Malicious execution on managed hosts | Kill process, isolate host |
| SIEM | Logs from many sources | Correlation and compliance reporting | Mostly through SOAR playbooks |
| XDR | Endpoint, network, cloud, identity | Cross-domain correlated incidents | Coordinated multi-layer actions |
Analysts often describe the SOC visibility triad of SIEM, EDR and NDR. Attackers can disable an endpoint agent or delete logs, but they cannot easily hide their network communication, which is why NDR remains valuable even where EDR coverage is strong.
Response actions and deployment choices
The response part of NDR covers investigation support and containment. Analysts pivot from an alert to session history, related hosts and extracted files, which shortens triage. Containment usually happens through integrations rather than inline blocking.
- Firewall or NAC integration to quarantine a host or block a destination.
- EDR integration to isolate a compromised endpoint identified on the network.
- SOAR playbooks that open tickets, enrich alerts and execute approved actions.
- TCP reset injection in some products, used cautiously because it can disrupt legitimate sessions.
Sensor placement determines what NDR can see. A sensor only at the internet edge misses east-west movement inside the data center, so practitioners prioritize core switches, data center spines, critical server segments and cloud virtual networks.
Limitations and common mistakes
NDR is powerful but not self-sufficient, and its effectiveness depends heavily on coverage, tuning and analyst capacity. The most frequent problems are predictable and avoidable.
| Problem | Cause | Remedy |
|---|---|---|
| Blind spots | Sensors only at the perimeter | Add internal and cloud sensors |
| Alert fatigue | Untuned baselines during learning | Allow a baselining period of several weeks |
| Weak encrypted visibility | Reliance on payload inspection | Use handshake and flow-based analytics |
| Dropped packets | Oversubscribed SPAN ports | Deploy TAPs and size sensors correctly |
| No follow-up | Detections without playbooks | Define response ownership in advance |
A common misconception is that NDR replaces a firewall or an IPS. It does not: NDR is primarily out-of-band and detective, whereas preventive controls sit inline. Another error is treating machine learning alerts as verdicts; they are leads that require validation.
Stripped to the essentials
NDR is like a security camera system for an organization’s network. Instead of watching doors and hallways, it watches the conversations between computers, servers, printers and cloud systems.
It learns what normal traffic looks like, so it notices when a device suddenly talks to strangers, sends unusual amounts of data or contacts a server on a strict schedule. When something looks wrong, it alerts the security team and helps them stop the problem quickly. The key idea is simple: attackers must use the network, so watching the network reveals them.
Where it is applied
A regional hospital runs hundreds of medical devices, such as infusion pumps and imaging systems, that cannot host endpoint agents. The security team places NDR sensors on TAPs at the data center core and on the clinical network segment, then lets the platform learn normal behavior for six weeks.
One night, the NDR flags a workstation in the billing department that begins SMB connections to 140 internal hosts within twenty minutes, followed by Kerberos requests typical of credential theft. The alert, mapped to the lateral movement tactic, reaches the on-call analyst, who confirms the activity in the session history and triggers a NAC quarantine of the workstation.
Forensic review later shows a phishing payload that had evaded the endpoint antivirus. Because the network view exposed the movement early, the hospital contained the intrusion before ransomware deployment, and no clinical systems were affected.