Network detection programmes often buy a sensor, switch on its default rules and then cannot say which attacker behaviours their traffic analysis would actually catch. MITRE D3FEND organises this work under Network Traffic Analysis (D3-NTA), a technique in the Detect tactic with twenty descendant techniques ranging from signature matching and DNS analysis to certificate checks, relay detection and download to upload ratios. This guide treats D3-NTA as a programme: what the family covers, which data each child needs, how to sequence them, how to prove they work and where they fail. It is written for detection engineers, network security teams and SOC leads. Each child technique has its own deep guide on this site, linked below; this page does not repeat them. For D3FEND itself see the MITRE D3FEND Guide.
Key takeaways
- Network Traffic Analysis is a family of analytics, not a product. D3FEND defines it as analysing intercepted or summarised network traffic to detect unauthorised activity, and splits it into twenty techniques.
- Data source decides what you can run. Flow records support volume, community and ratio analytics; protocol logs support DNS, certificate, RPC and administrative protocol analysis; full packets are needed for file carving, byte sequence emulation and payload profiling.
- Sequence from cheap and broad to costly and deep. Start with DNS, connection attempts and signatures, add protocol metadata and administrative activity baselines, and keep packet-level techniques for chokepoints that justify the storage.
- Encryption moves the work, it does not end it. Certificate, DNS, metadata and volume analytics still work on encrypted traffic; payload techniques need decryption or a host-side view.
- The ATT&CK links are inferred. D3FEND says its offensive mappings for D3-NTA "are inferred, experimental", so use them to plan tests, not to claim coverage.
What D3FEND means by Network Traffic Analysis
In the D3FEND ontology, Network Traffic Analysis (D3-NTA) is a defensive technique that enables the Detect tactic. Its definition is: "Analyzing intercepted or summarized computer network traffic to detect unauthorized activity." The word "summarized" matters: D3FEND counts flow records and protocol metadata as inputs, not only full packet capture. The parent itself has no digital artefact relations; each child names the traffic it analyses, such as outbound internet DNS lookup traffic, intranet administrative network traffic, RPC network traffic or file transfer network traffic.
NIST SP 800-94, the long-standing NIST guide to intrusion detection and prevention systems, describes network-based IDPS and network behaviour analysis as separate technology types. D3-NTA spans both: signature analysis is classic network IDS, while community deviation, metadata anomaly and ratio analysis are behaviour analysis. NIST's page notes that the draft revision of SP 800-94 was retired and that no replacement guidance has been announced, so the 2007 publication remains the reference.
The child techniques
The table lists every descendant of D3-NTA in the D3FEND ontology, grouped by the minimum data source each needs. Purposes paraphrase D3FEND's definitions. The data source column is NHI Mgmt Group's reading, not a D3FEND field.
| D3FEND technique | Purpose (from D3FEND) | Minimum data source |
|---|---|---|
| Connection Attempt Analysis (D3-CAA) | Analyse failed connections in a network | Flow or firewall logs |
| Inbound Session Volume Analysis (D3-ISVA) | Analyse inbound session or connection attempt volume | Flow logs |
| Network Traffic Community Deviation (D3-NTCD) | Baseline communities of hosts and find divergent inter-community traffic | Flow logs |
| Per Host Download-Upload Ratio Analysis (D3-PHDURA) | Compare data downloaded and uploaded per host | Flow logs |
| Relay Pattern Analysis (D3-RPA) | Detect an internal host relaying between internal and external networks | Flow logs at the perimeter and inside |
| DNS Traffic Analysis (D3-DNSTA) | Judge whether a domain is likely to resolve to an undesirable host | DNS query logs |
| Certificate Analysis (D3-CA) | Detect misconfigured or spoofed PKI certificates | TLS handshake metadata, certificate logs |
| Active Certificate Analysis (D3-ACA), child of D3-CA | Connect to servers and download their certificates for analysis | Active scanning |
| Passive Certificate Analysis (D3-PCA), child of D3-CA | Collect certificates from traffic or certificate transparency logs | TLS metadata, CT logs |
| Protocol Metadata Anomaly Detection (D3-PMAD) | Find statistical outliers in protocol metadata | Protocol logs |
| Administrative Network Activity Analysis (D3-ANAA) | Detect unauthorised use of administrative protocols against a baseline | Protocol logs |
| Application Protocol Command Analysis (D3-APCA), child of D3-ANAA | Analyse application protocol remote commands | Protocol logs with command fields |
| Remote Firmware Update Monitoring (D3-RFUM), child of D3-APCA | Monitor remote firmware update commands for unauthorised installs | OT protocol logs |
| RPC Traffic Analysis (D3-RTA) | Baseline RPC activity and find attacker use | Protocol logs (DCE-RPC) |
| IPC Traffic Analysis (D3-IPCTA) | Find deviations in standard inter-process communication protocols | Protocol logs (for example SMB named pipes) |
| Remote Terminal Session Detection (D3-RTSD) | Detect unauthorised live remote console sessions | Protocol logs and session timing |
| Network Traffic Signature Analysis (D3-NTSA) | Compare traffic to known signatures | Packets (reassembled streams) |
| Client-server Payload Profiling (D3-CSPP) | Compare request and response payloads to a baseline profile | Packets or application logs |
| File Carving (D3-FC) | Extract files from protocols by stream reassembly | Packets |
| Byte Sequence Emulation (D3-BSE) | Decide whether byte sequences are likely shellcode | Packets or carved content |
Choosing, combining and sequencing
The children are cheap or expensive mainly because of the data they need. The second table sets out the three tiers.
| Data tier | Typical sources | Children it enables | Main costs and limits |
|---|---|---|---|
| Flow records | NetFlow or IPFIX exports, cloud VPC flow logs, firewall session logs | D3-CAA, D3-ISVA, D3-NTCD, D3-PHDURA, D3-RPA | Low storage; no content, so judgement rests on volumes, peers and timing |
| Protocol metadata | Network security monitors such as Suricata and Zeek writing per-protocol logs (DNS, TLS, certificates, RPC, SMB, RDP), DNS resolver logs | D3-DNSTA, D3-CA, D3-PCA, D3-PMAD, D3-ANAA, D3-APCA, D3-RTA, D3-IPCTA, D3-RTSD | Moderate storage; sensor placement decides visibility of east to west traffic |
| Full packets | Packet capture at chokepoints, IDS engines in inline or passive mode | D3-NTSA, D3-CSPP, D3-FC, D3-BSE | High storage and processing; encrypted payloads need decryption or a host-side view |
Decision guidance
- Start with DNS and signatures. DNS query logs are cheap and cover command and control, dynamic resolution and some exfiltration; signature analysis catches known tooling with low tuning effort. This is the usual first tier in our view, not a D3FEND ranking.
- Add administrative protocol baselines next. D3-ANAA, D3-RTA and D3-RTSD target lateral movement, which is where many intrusions spend their time, and they work on metadata rather than payloads.
- Use flow analytics for scale. Cloud estates often have flow logs before anything else; D3-NTCD and D3-PHDURA give wide coverage of unusual peers and exfiltration-like ratios at low cost.
- Keep packet techniques for chokepoints. Internet egress, data centre ingress and OT conduits justify packet capture for D3-FC and D3-BSE; most internal segments do not.
- OT operators: the APCA and RFUM branch matters more than web analytics, because unauthorised controller commands and firmware pushes are high-impact events.
- Small organisations: resolver logging, a managed IDS ruleset at the internet edge and cloud flow logs cover the first tier without dedicated sensors.
- Large organisations: place protocol metadata sensors at segment boundaries as well as the perimeter so lateral movement is visible, and build per-segment baselines.
Implementation roadmap
- Map visibility. For each network segment and cloud account, record which of the three data tiers you collect today, where sensors sit and how long data is kept. Gaps in east to west visibility are usually the first finding.
- Turn on the cheap sources. Enable resolver query logging and cloud flow logs everywhere, and send both to the SIEM or data lake with consistent host and identity enrichment.
- Deploy protocol metadata sensors. Place them at the internet edge and at the boundaries of server, management and OT segments. Confirm capture loss stays low before relying on the output.
- Run analytics in alert-only mode. Inline prevention modes should start as detection only; tune rules against two business cycles of traffic before blocking. Keep a documented rollback to passive mode with a named owner.
- Build baselines. D3-ANAA, D3-NTCD, D3-PMAD and D3-CSPP all depend on a baseline. Agree the baseline window, the owner and how known changes (new services, migrations) are recorded so they do not appear as anomalies.
- Add packet techniques at chokepoints. Enable file extraction and shellcode analysis where storage and legal review allow, with retention set by policy.
- Test. In a test environment, replay or emulate the behaviours in the next section and confirm each produces an alert with enough context to triage.
ATT&CK techniques D3FEND relates to D3-NTA
D3FEND relates offensive and defensive techniques through the digital artefacts both touch, and labels the offensive list for D3-NTA "inferred, experimental". The parent page lists techniques across Exfiltration, Command and Control, Execution, Persistence, Lateral Movement, Privilege Escalation, Credential Access, Initial Access, Collection, Discovery and Impact. The table groups a representative selection by tactic, using ATT&CK v20 IDs.
| ATT&CK tactic | Techniques D3FEND relates to D3-NTA (selection) | Children most likely to see it |
|---|---|---|
| Command and Control | T1071.004 DNS, T1572 Protocol Tunneling, T1571 Non-Standard Port, T1573 Encrypted Channel, T1090.004 Domain Fronting, T1568 Dynamic Resolution, T1105 Ingress Tool Transfer, T1219 Remote Access Tools | D3-DNSTA, D3-PMAD, D3-CA, D3-NTSA |
| Exfiltration | T1048 Exfiltration Over Alternative Protocol, T1041 Exfiltration Over C2 Channel, T1567 Exfiltration Over Web Service | D3-PHDURA, D3-NTCD, D3-DNSTA |
| Lateral Movement | T1021.001 Remote Desktop Protocol, T1210 Exploitation of Remote Services | D3-ANAA, D3-RTSD, D3-RTA, D3-NTSA |
| Credential Access | T1557.002 ARP Cache Poisoning, T1040 Network Sniffing, T1110.003 Password Spraying, T1558.003 Kerberoasting | D3-PMAD, D3-CAA, D3-ANAA |
| Initial Access | T1190 Exploit Public-Facing Application, T1189 Drive-by Compromise | D3-NTSA, D3-CSPP, D3-FC, D3-BSE |
| Impact | T1498 Network Denial of Service | D3-ISVA |
The last column is NHI Mgmt Group's reading of which children meet each behaviour, not a D3FEND mapping. See the MITRE ATT&CK T1071 Application Layer Protocol, T1572 Protocol Tunnelling Defensive Guide and T1048 Exfiltration Over Alternative Protocol guides for those behaviours in depth.
Where identity fits
Much of the traffic D3-NTA analyses is machine to machine: service accounts using RPC and SMB, workloads calling APIs, automation using SSH and remote management protocols. Administrative activity baselines are far more useful when each flow can be tied to the service account or workload identity behind it, rather than an IP address that changes. Certificate analysis also covers machine identities directly: unexpected or self-signed certificates on internal services are both a configuration finding and a detection signal. See the Certificate Transparency Monitoring Guide for Web Teams.
Detection and measurement
Metrics we suggest at NHI Mgmt Group (targets are examples, not standards):
- Visibility coverage: percentage of segments and cloud accounts with each data tier collected.
- Sensor health: capture loss and log gaps per sensor, reviewed weekly.
- Child coverage: number of the twenty D3-NTA techniques with at least one tuned, owned analytic.
- Emulation pass rate: percentage of tested ATT&CK behaviours that produced an alert with enough context to triage.
- Alert quality: percentage of network detections closed as true positive or useful benign, per child technique.
- Encrypted share: percentage of outbound traffic where only metadata and certificate analytics apply, tracked over time.
Framework mapping
| Framework | Reference | Link to D3-NTA |
|---|---|---|
| NIST SP 800-53 Rev. 5 | SI-4 System Monitoring, AU-6 Audit Record Review, Analysis, and Reporting, SC-7 Boundary Protection | Monitoring at boundaries and inside, and reviewing the output |
| NIST CSF 2.0 | DE.CM-01, DE.AE-02 | Networks monitored for adverse events; events analysed |
| NIST SP 800-94 | Network-based IDPS, network behaviour analysis | The technology types D3-NTA draws on |
| MITRE ATT&CK mitigations | M1031 Network Intrusion Prevention, M1037 Filter Network Traffic | Preventive counterparts to the detection family |
Common failure patterns
- Perimeter-only sensors. Lateral movement between internal segments never crosses the sensor, so administrative and RPC analytics see nothing.
- Default rules and no ownership. Signature sets left untuned generate noise until alerts are ignored or suppressed wholesale.
- Baselines without change records. Migrations and new services appear as anomalies, analysts learn to dismiss them, and real deviations follow the same path.
- Ignoring capture loss. Overloaded sensors drop packets silently; detections fail without any error.
- Assuming encryption ends analysis. Teams drop network analytics when traffic is encrypted, losing DNS, certificate, volume and timing signals that still work. See the Beaconing and C2 Detection Guide.
- Treating inferred mappings as coverage. A D3FEND link is a test idea, not evidence that a behaviour would be detected.
Practitioner checklist
- Map each segment and cloud account to the data tiers collected and their retention.
- Enable resolver query logging and cloud flow logs everywhere.
- Place protocol metadata sensors at the internet edge and at internal segment boundaries.
- Run new analytics and inline modes as detection only for two business cycles, with a rollback owner.
- Agree baseline windows and record planned changes for D3-ANAA, D3-NTCD and D3-PMAD.
- Limit packet capture, file carving and shellcode analysis to justified chokepoints.
- Monitor sensor capture loss and log gaps weekly.
- Emulate the mapped ATT&CK behaviours and confirm each alerts with triage context.
Standards and references
- MITRE D3FEND: Network Traffic Analysis
- MITRE D3FEND: DNS Traffic Analysis
- MITRE D3FEND: Administrative Network Activity Analysis
- NIST: SP 800-94 Guide to Intrusion Detection and Prevention Systems
- OISF: What is Suricata
- Zeek: Book of Zeek
- NIST: SP 800-53 Rev. 5
- NIST: Cybersecurity Framework 2.0
Related NHI Mgmt Group resources: MITRE D3FEND Guide · Network detection and response (NDR) rollout playbook · DNS Security Guide · Beaconing and C2 Detection Guide · M1031 Network Intrusion Prevention