Free tech learning for everyone, from basics to pro

Network SecurityNetworking SecurityIntermediate

Network detection and response (NDR): spotting attackers from network behaviour

In short: NDR tools watch network traffic to find attackers by their behaviour: scanning, unusual logins between servers, regular "beacons" to an outside host, large uploads at odd hours. They use packet metadata, flow records and DNS, so they still work when traffic is encrypted. NDR complements endpoint detection by covering devices that cannot run agents and by seeing activity between them.

Why look at the network?

Endpoint detection (EDR) is powerful, but not every device can run an agent: printers, cameras, building systems, network devices, legacy servers and unmanaged laptops. Attackers also try to disable agents. The network, however, sees every device that communicates. Network detection and response (NDR) analyses that traffic for signs of attack.

How network detection and response worksCollectpackets, NetFlow,DNS, logsBaselinelearn normalbehaviourDetectanomalies andknown patternsInvestigatetimeline,related hostsRespondisolate,block, ticket
Figure 1. NDR watches how hosts behave on the network, which still works when traffic is encrypted.

What NDR collects

  • Packet metadata from SPAN ports or taps: who talked to whom, protocols, sizes, timing. Tools like Zeek turn packets into rich logs (connections, DNS, HTTP, TLS, SMB, Kerberos).
  • Flow records (NetFlow, IPFIX, cloud VPC flow logs): cheaper and wider coverage, less detail.
  • DNS logs: lookups to newly registered or suspicious domains, tunnelling patterns.
  • TLS fingerprints such as JA3/JA4, which identify client software even when traffic is encrypted, and the certificates servers present.

What it detects

  • Scanning and discovery: one host touching many addresses or ports.
  • Lateral movement: a workstation suddenly using SMB, RDP, WinRM or remote service creation towards many servers, or admin protocols from unusual sources.
  • Beaconing: small, regular connections to the same outside host every few minutes, typical of malware checking in.
  • Exfiltration: large or unusual uploads, especially at night or to new destinations.
  • Protocol misuse: DNS tunnelling, unusual ports for known protocols, cleartext credentials.

Detections combine known patterns with baselines: the system learns what is normal for each device and group, and highlights deviations. Machine learning helps, but tuning and human review are still needed.

Where NDR fits

NDR, EDR and SIEM are often described as the "SOC visibility triad". EDR sees inside devices, NDR sees between them, and the SIEM correlates both with logs from identity, cloud and applications. Many platforms now combine them as XDR. NDR tools can also respond: asking a firewall or NAC to isolate a host, or opening a ticket.

Options

  • Commercial: Darktrace, Vectra AI, ExtraHop, Corelight, Cisco Secure Network Analytics, and NDR features in some firewalls.
  • Open-source: Zeek and Suricata, often packaged together in Security Onion, with dashboards and hunting tools.

Plan sensor placement (internet edge, data centre core, between major zones), storage for metadata, and who will respond to alerts.

Real-world example: the beacon every 300 seconds

An NDR tool at a school flagged a classroom PC making a small HTTPS connection to the same rarely seen cloud address exactly every 300 seconds, day and night. The PC had no EDR agent because it ran an old version of Windows for a specialist piece of equipment. Investigation found a remote access trojan installed from an infected USB stick. The PC was isolated, rebuilt and moved to a restricted VLAN.

Practice

Why can NDR still detect threats when traffic is encrypted?
It analyses metadata such as who talks to whom, timing, volumes, DNS and TLS fingerprints rather than the content.
What is beaconing?
Small, regular connections from an infected host to the same outside server, typical of malware checking in for commands.
Which open-source tool turns packets into detailed protocol logs for NDR?
Zeek.

Key takeaways

  • NDR finds attackers by how devices behave on the network.
  • It uses packet metadata, flows, DNS and TLS fingerprints, so encryption is less of a barrier.
  • It detects scanning, lateral movement, beaconing and exfiltration.
  • NDR complements EDR and SIEM, covering devices without agents.
Tracks your learning on this device only. See your progress on the learning paths.
Verified author✓ Valid
Issued to
Mohamed Fayas
Role
Founder of FM TecHub
Credentials
CCNABTEC HND Network EngineeringBEng (Hons) Computer Networking & Cloud Security
Issuer
FM TecHub · fmtechub.com

He writes practical, plain-English guides on networking, security and cloud.

More about the author →

Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Email updates: coming soon

New notes, tools and security news from FM TecHub by email, explained simply. Free. We're not collecting email addresses yet; see our privacy policy.

PortServiceStatus
SMTP/25Email updatesopening soon

Meanwhile, stay connected: