Use this when monitoring network segments for attacks.
Network IDS
A network IDS (NIDS) analyses traffic from a SPAN port or tap at key points in the network, such as the internet edge or data centre core, alerting on attacks across many hosts.
1. NIDS analyses network traffic (Suricata, Snort, Zeek).
2. Sensor placement: perimeter, DMZ, core.
3. Encrypted traffic limits payload inspection.
4. Capacity and packet drops.
5. Rules and scripts updated.
network copy → NIDS → alerts/logs
Context & applicabilityCommon mistakes · platform/version boundaries
- Monitoring only the internet edge, missing lateral movement.
- SPAN sessions oversubscribed (two 10 Gb sources into one 10 Gb destination).
- Not decrypting or at least logging TLS metadata (JA3/JA4, SNI, certificates).
- Sensor management interface on a user network.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Checking visibility Verify boundary
- Compare sensor packet counts with switch interface counters.
- Look for one-sided TCP sessions (only SYN, no SYN-ACK) in Zeek
conn.log(historyfield). - Check capture drops: Suricata
stats.log(capture.kernel_drops). - Generate a test alert (e.g.
curl http://testmynids.org/uid/index.html) and confirm it appears.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- NIDS uses SPAN ports or taps.
- It covers many hosts.
- Placement is critical.
suricata -T -c /etc/suricata/suricata.yaml— config testzeek -i <if>— network monitor- SPAN/TAP placement — coverage
ReferenceWhy it matters1 section · depth on demand
Placement and visibility
A NIDS only sees what it is fed: TLS traffic shows metadata (SNI, certificates, JA3/JA4) but not content; east-west traffic needs internal sensors. Oversubscribed SPAN ports drop packets silently — check sensor drop counters (suricata stats capture.kernel_drops). Zeek adds rich protocol logs (conn, dns, http, ssl) that help investigations even without alerts.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
A network IDS (NIDS) analyses traffic on network segments using sensors connected to SPAN ports or TAPs. It sees all hosts on the monitored segments, including unmanaged and IoT devices, without needing agents.
Placement priorities:
| Location | Sees |
|---|---|
| Internet edge (inside firewall) | Inbound attacks that passed the firewall, outbound C2 |
| Data centre core | East-west attacks on servers |
| Between user and server zones | Lateral movement |
| Cloud (traffic mirroring) | VPC traffic |
Open-source engines: Suricata, Snort, Zeek (metadata/scripting). Encrypted traffic limits signature visibility, so metadata (JA3/JA4, SNI, certificates, flows) becomes increasingly important.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in IDS / IPS → Network IDS. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://csrc.nist.gov/pubs/sp/800/94/final · confidence 94%