Network Security / Detection & Validation
Network Telemetry, IDS/IPS & Validation
Network telemetry records selected observations about communication; intrusion detection and prevention systems (IDPS) analyze those observations for possible incidents. Evidence quality depends on sensor placement, traffic visibility, time, loss, parsing, policy context, and validation—not merely on enabling logs.
Match the evidence source to the question
| Evidence | Typical fields or content | Useful for | Blind spot |
|---|---|---|---|
| Packet capture | Headers and, where visible, payload bytes for captured packets | Protocol reconstruction and precise troubleshooting | Expensive at scale; capture can drop packets and expose sensitive data. Encryption hides application content. |
| Flow record | Source/destination, ports, protocol, bytes, packets, timing, action | Connection patterns, volume, scanning, and coarse exfiltration hypotheses | Sampling and aggregation can omit short or low-volume behavior; payload and application intent are absent. |
| Firewall / cloud policy log | Rule, action, interfaces, addresses, ports, connection metadata | Which observed flow matched a policy decision | Logging may be selective; an unlogged or bypassing path is invisible. An “allow” does not prove application success. |
| DNS log | Client/resolver, question, type, answer or result, timing | Name-based investigation, tunneling hypotheses, policy violations | DoH/DoT to another resolver, cache behavior, local hosts files, and missing client identity can break attribution. |
| Proxy / gateway log | Authenticated subject, application request, decision, upstream | Resource-level access and application policy | Only covered protocols and routes; parser differences and direct paths remain. |
| Endpoint network telemetry | Process/user/container plus socket or connection context | Links a flow to local execution identity | A compromised host can tamper with local sensors; remote network evidence is still useful. |
Synchronize systems to an authenticated, monitored time source and preserve source timezone, clock quality, and ingestion delay. Ordering events by central receipt time alone can produce a false sequence.
Distinguish detection from prevention
- In this page, a network IDS means a passive or out-of-band sensor: it alerts and does not itself sit in the blocking path. A product may separately trigger an enforcement action, but that response has its own failure and authorization boundary.
- A network IPS sits inline or otherwise enforces a prevention action. Blocking can reduce exposure but adds latency, availability, evasion, and false-positive consequences.
- Signature detection matches known patterns; anomaly or behavior detection compares activity with a model or baseline. Both can miss attacks and produce benign matches.
- Host, wireless, flow/behavior, and network sensors see different events. No one sensor establishes complete coverage.
An alert is a hypothesis that requires context and triage. A blocked event proves the enforcement action reported for the observed traffic; it does not by itself prove attacker identity, complete prevention, or absence of another successful path.
Place sensors where traffic and identity meet
Prioritize internet edges, remote-access termination, high-value zone boundaries, cloud transit, DNS resolvers, workload gateways, and selected east-west paths. For each sensor, document:
- Interfaces, zones, VLANs, overlays, address families, and directions covered.
- Traffic obtained from taps, packet brokers, virtual mirroring, host agents, gateways, or native cloud logs.
- Maximum throughput, packet-per-second limits, flow/log sampling, queue behavior, and how drops are measured.
- Which encryption terminates before or after the sensor and which protocol metadata remains trustworthy.
- Network Address Translation (NAT), load-balancer, proxy, and identity fields needed to reconstruct the original actor and destination.
TLS, QUIC, VPNs, and encrypted DNS reduce payload visibility at intermediate sensors. Endpoint, resolver, gateway, identity, and application logs can restore context, but correlation is not equivalent to decrypting the original flow. TLS interception creates another high-impact key and privacy boundary and still does not cover pinned, mutually authenticated, or bypassing traffic.
Tune with an explicit detection contract
Each production rule should state the behavior sought, data source, required fields, threshold or pattern, expected benign causes, severity, response owner, and test evidence. Label locally chosen thresholds as operational settings, not standards.
- Measure event and byte ingestion, sensor loss, parser failures, field null rates, rule latency, alert volume, suppression, analyst disposition, and detection test pass rate.
- Use staged alert-only mode before inline blocking where safe; test prevention under representative load and failure.
- Version rules and exceptions, require an owner and expiry, and detect disabled or silent sensors.
- Protect collectors and archives against unauthorized change, but do not call all network logs forensic chain-of-custody evidence unless collection, access, integrity, retention, and legal procedures actually support that use.
- Minimize captured sensitive content, restrict access, and set retention from investigation, privacy, legal, and cost requirements.
Validate control behavior safely
Validation must state the property tested and what remains unproven:
| Test | Evidence expected | Does not prove |
|---|---|---|
| Allowed-flow test from the real source zone | Connection succeeds and the intended allow rule/log appears | Every application operation is authorized or every route is covered. |
| Denied-flow test | Connection fails and the intended deny decision is recorded | The same target is unreachable by a different address, protocol, identity, or path. |
| Detection replay or benign test signature | Sensor ingests the traffic and creates the expected alert | Detection of variants, encrypted traffic, or production load. |
| Inline prevention test in an isolated/staged path | IPS blocks the test and preserves acceptable service behavior | Absence of false positives or safe failover for all traffic. |
| Route/topology analysis | Enumerated paths traverse intended enforcement/sensors | Runtime devices match the inventory or have not drifted. |
Use authorized test ranges and change controls. Do not send exploit traffic through production merely to prove a signature. Prefer purpose-built benign test events, lab replay, canary paths, and coordinated exercises, then record tool/version, source, route, time, packet loss, rule version, and result.
Recover visibility and feed policy improvement
When telemetry stops, distinguish “no malicious activity” from “no evidence.” Alert on collectors, agents, taps, mirrors, storage, certificates, clocks, parsers, and pipelines that become unhealthy.
After an incident or exercise:
- Preserve relevant raw and normalized evidence under the applicable handling rules.
- Identify which control allowed, denied, or failed to observe each step.
- Fix the narrow root cause—policy, placement, parser, threshold, identity, route, capacity, or process.
- Replay a safe regression test and record its limitations.
- Restore temporarily increased capture or blocking to a reviewed steady state; do not leave emergency collection or deny rules undocumented.
Network evidence is a sampled view from particular sensors and paths. Document coverage and loss, correlate network and endpoint identity, treat alerts as hypotheses, test the exact allow/deny/detect property safely, and monitor the telemetry pipeline itself.
Primary references
- NIST SP 800-94: Guide to Intrusion Detection and Prevention Systems — verified IDPS classes, placement, tuning, testing, limitations, and operations; the final is from 2007, and the later Revision 1 draft was retired rather than finalized.
- NIST SP 800-115: Technical Guide to Information Security Testing and Assessment — verified test planning, evidence, technique limitations, and mitigation workflow.
- NIST SP 800-92: Guide to Computer Security Log Management — verified collection, centralization, protection, analysis, retention, and log-management lifecycle; Revision 1 remains an initial public draft as of this verification date.