Attackers with valid credentials use the same RDP, SSH, WinRM and directory replication traffic as administrators, so the only reliable way to spot them on the wire is to know what normal administration looks like and flag what departs from it. MITRE D3FEND names this countermeasure Administrative Network Activity Analysis (D3-ANAA) and defines it as "Detection of unauthorized use of administrative network protocols by analyzing network activity against a baseline." It sits under the Detect tactic as a child of Network Traffic Analysis, and the digital artefact it analyses is Intranet Administrative Network Traffic: administrative protocol traffic that stays inside the organisation's own network. This card covers what D3-ANAA detects, which ATT&CK techniques D3FEND relates it to, where it is implemented, how to prove it works and where it falls short. It is written for detection engineers, network security teams and SOC leads who already run some form of network monitoring.
Key takeaways
- It is a baseline control. D3-ANAA does not look for malware in packets; it learns which hosts administer which systems over which protocols and alerts when that pattern changes.
- D3FEND relates it to eight ATT&CK techniques. All are inferred through the shared artefact Intranet Administrative Network Traffic, including DCSync (T1003.006), Rogue Domain Controller (T1207), Windows Management Instrumentation (T1047) and Password Spraying (T1110.003).
- The scope is internal traffic. The artefact is intranet administrative traffic, so the control is about lateral movement and abuse of admin channels inside the network, not exposed remote access at the edge.
- Encryption and inventory gaps are the main limits. D3FEND's own considerations name encrypted administrative traffic as a challenge and recommend integration with inventory management to cut false alarms.
- Most admin traffic today is non-human. Configuration management, backup, monitoring and deployment tools generate the bulk of SSH, WinRM and WMI sessions, so the baseline must model service accounts and automation hosts, not only people.
D3-ANAA at a glance
| Attribute | Value |
|---|---|
| D3FEND ID | D3-ANAA (d3f:AdministrativeNetworkActivityAnalysis) |
| Tactic | Detect |
| Parent technique | Network Traffic Analysis |
| Digital artefact | Intranet Administrative Network Traffic (D3FEND relation: analyzes) |
| Protocols named by D3FEND | RDP, IPMI, SSH, SNMP, VNC, MOSH, NX, TeamViewer, SPICE, PCoIP |
| Method | Compare observed administrative protocol activity against a learned baseline of system administration |
| Typical data sources | Network sensor protocol logs, flow records, firewall logs, identity sensor data on domain controllers |
| D3FEND references | Vectra Networks patent US20180077186A1; MITRE CAR-2014-11-005 Remote Registry; CAR-2014-11-006 Windows Remote Management |
| Main limitation | An attacker who uses an expected admin path at an expected time from an expected host blends into the baseline |
How it works
D3FEND's knowledge base article describes the pattern plainly: system administrators manage servers remotely over protocols such as RDP, SSH and SNMP, attackers with valid credentials use the same protocols to blend in, and monitoring that traffic makes it possible to detect when the protocols behave differently from a known baseline. The Vectra Networks patent that D3FEND cites describes the same method in MITRE's analysis: collect network traffic metadata directed at administrative services over a period of time, build a baseline, then flag activity outside it.
In practice a D3-ANAA analytic answers four questions for every administrative session it sees:
- Who is the client? Is the source a known administration host such as a jump server, privileged access workstation or automation server, or an ordinary user endpoint?
- What is the target? Has this client ever administered this server, and is the target in the asset class it normally manages?
- Which protocol? Does this pair normally use SSH, RDP or WinRM, or has a new admin protocol appeared between them?
- When and how much? Is the session at a usual time, with usual duration, volume and fan-out, or is one client suddenly touching dozens of servers?
The two MITRE Cyber Analytics Repository entries that D3FEND lists show the Windows side. The Remote Registry analytic (CAR-2014-11-005) notes that remote registry access runs over the WINREG named pipe on SMB, that the network traffic can be decoded with Wireshark or a similar sensor, and that the reliability of the analytic depends on correctly identifying pre-existing legitimate use. The WinRM analytic (CAR-2014-11-006) concerns Windows Remote Management, which listens by default on port 5985 for HTTP and 5986 for HTTPS from WinRM 2.0 onwards.
Reference: admin protocols a baseline should cover
| Protocol | Usual port | What the sensor can see | Visibility note |
|---|---|---|---|
| SSH | TCP 22 | Client and server, banners, key exchange profile, inferred authentication result | Payload encrypted; metadata still useful |
| RDP | TCP 3389 | Client and server, security protocol negotiated, certificate when TLS is used | Content encrypted in modern deployments |
| WinRM / PowerShell Remoting | TCP 5985 (HTTP), 5986 (HTTPS) | Client, server, volume, timing | Message-level encryption hides commands |
| SMB and DCE/RPC (remote registry, service control, WMI over DCOM) | TCP 445, TCP 135 plus dynamic ports | Named pipes and RPC interfaces called, such as WINREG or DRSUAPI | Interface names often visible even when payload is signed |
| SNMP | UDP 161 | Manager and agent, community or user, request type | v1 and v2c are cleartext |
| IPMI | UDP 623 | Management controller access to servers | Should be confined to an out-of-band management network |
| VNC | TCP 5900 and up | Client and server, protocol version | Often unexpected on a server estate |
Ports listed are common defaults (general practice, not taken from D3FEND); a baseline built on port numbers alone misses services moved to non-standard ports, which is why sensors that identify protocols from the traffic itself are preferred.
ATT&CK techniques D3FEND relates to D3-ANAA
Relationship type: inferred only. D3FEND derives every row below through the shared digital artefact: D3-ANAA analyzes Intranet Administrative Network Traffic, and each of these ATT&CK techniques produces or may create that traffic in the D3FEND model. D3FEND labels these relations inferred and experimental (D3FEND 1.6.0, checked November 2026). Each ID was checked against ATT&CK v20.
| ATT&CK ID | Technique | D3FEND relation of the technique to the artefact | What a D3-ANAA analytic looks for |
|---|---|---|---|
| T1003.006 | DCSync | produces Intranet Administrative Network Traffic | Directory replication (DRSUAPI) requests from a host that is not a domain controller |
| T1207 | Rogue Domain Controller | produces | A new host taking part in domain controller replication traffic |
| T1047 | Windows Management Instrumentation | may create | Remote WMI from a client that has never administered the target |
| T1546.003 | Windows Management Instrumentation Event Subscription | produces | Remote WMI sessions to many hosts followed by persistence, seen as unusual WMI fan-out |
| T1546.008 | Accessibility Features | may create | RDP sessions to a host followed by pre-logon access patterns, from an unusual client |
| T1098.001 | Additional Cloud Credentials | produces | Administrative calls from an unexpected internal source to an identity management endpoint |
| T1110.003 | Password Spraying | may create | One client attempting authentication over SSH, RDP or SMB against many targets |
| T1110.004 | Credential Stuffing | may create | Many distinct account names tried over an admin protocol from one source |
D3FEND models RDP (T1021.001), SSH (T1021.004) and Remote Service Session Hijacking as producing the broader Administrative Network Traffic class rather than the intranet sub-class, so they do not appear in the inferred list even though, in NHI Mgmt Group's view, they are the most common things a D3-ANAA baseline catches. Treat the table as D3FEND's model, not a coverage claim. Deeper defensive detail sits in T1021 Remote Services, T1047 Windows Management Instrumentation Defensive Guide, MITRE ATT&CK T1207 Rogue Domain Controller and the Golden Ticket, Silver Ticket and DCSync Guide.
Where it is implemented
| Implementation class | What it provides | Signal used | Fits when |
|---|---|---|---|
| Open network security monitors | Protocol logs for SSH, RDP, SMB, DCE/RPC, Kerberos and NTLM that a SIEM can baseline. Zeek, for example, writes ssh.log with an auth_success field and a direction field, and rdp.log correlated with conn.log, ssl.log and x509.log | Per-session metadata | You have a detection engineering team to write and tune baseline rules |
| Network detection and response (NDR) products | Learned host-to-host admin baselines with built-in anomaly models, the approach described in the Vectra patent D3FEND cites | Traffic metadata and protocol parsing | Large estates where hand-built baselines would not scale |
| Identity threat detection sensors on domain controllers | Directory protocol analysis. Microsoft Defender for Identity, for example, raises "Suspected DCSync attack (replication of directory services)" (external ID 2006) when replication is requested from a computer that is not a domain controller, "Suspected DCShadow attack" alerts (2028, 2029) and "Remote code execution attempt" (2019) for PsExec, remote WMI and PowerShell connections | Replication and remote execution traffic at the DC | Active Directory is the main target and a sensor already runs on DCs |
| Flow records plus firewall logs | Who talked to whom on which admin port, without payload parsing | NetFlow or IPFIX, firewall accept and deny logs | A first baseline where full packet sensors are not yet deployed |
| Jump host and PAM session logs | The authorised path for administration, used as the allow-list the network baseline is compared with | Brokered session records | Administration is already forced through a bastion or PAM tool |
The broader monitoring architecture, sensor placement and IDS options are in the IDS and IPS Guide; full packet capture for investigation is in the Arkime Full Packet Capture Guide. The parent technique, Network Traffic Analysis, is summarised in the MITRE D3FEND Guide.
Where identity fits
The baseline is really a map of which identities administer which systems from where. Configuration management servers, backup agents, vulnerability scanners and CI runners hold SSH keys and service account passwords that open admin sessions all day; in most estates they produce far more admin traffic than humans do. Model each automation host and its service account as its own baseline entity, so that the same key appearing from a laptop, or a scanner account suddenly using RDP, stands out. Finding those keys in the first place is covered in How to Find ssh authorized keys across a server fleet.
Implementation steps
- Define the authorised admin paths. List the jump hosts, privileged access workstations, PAM proxies and automation servers that are allowed to originate admin protocols, and which server groups each may reach. Pull this from the CMDB or inventory, since D3FEND specifically recommends inventory integration to reduce false alarms.
- Place sensors on internal paths. Admin traffic is east-west, so sensors at the internet edge miss it. Cover the server VLANs, the domain controller segment and the management network that carries IPMI and SNMP.
- Collect protocol-level logs. At minimum: SSH and RDP session records, SMB named pipe and DCE/RPC interface use, Kerberos and NTLM authentication, and flow data for WinRM, SNMP, IPMI and VNC ports.
- Learn before alerting. Run a learning period (for example four weeks, an NHI Mgmt Group suggestion that should cover a monthly patch cycle) and record client, target, protocol, time and volume per pair.
- Start with high-certainty rules. Replication requests from non-DC hosts, admin protocols from user endpoint ranges to servers, and new admin protocols between a pair are easier to tune than volume anomalies.
- Add anomaly rules in shadow mode. Run fan-out, first-seen pair and off-hours rules without paging for two to four weeks, review every hit, and fix the cause (an unregistered automation host, a missing inventory entry) rather than raising thresholds.
- Write the response. An admin session from an unexpected source is a potential intrusion in progress: identify the account used, check whether the source host is managed, and decide on session termination or credential revocation with the system owner.
- Keep the baseline current. Feed change tickets and new automation hosts into the allow-list, and retire entries for decommissioned tools. Rolling back a noisy rule means returning it to shadow mode, not deleting it.
How to verify it works
- Controlled admin session test: with change approval, open an SSH or RDP session from an ordinary test endpoint to a server it has never administered and confirm the alert fires with source, target, account and protocol.
- Replication test: in an authorised exercise, confirm that a directory replication request from a non-DC test host raises the DCSync detection, whether from the network sensor or the identity sensor.
- Sensor coverage check: compare the list of server subnets with the subnets the sensors actually observe; an unmonitored VLAN is a blind spot that produces no alerts at all.
- Adversary emulation: include lateral movement over WinRM, WMI and SSH in purple team exercises and record which sessions were detected and how quickly.
| Metric | Example target (NHI Mgmt Group suggestion, not a standard) | Why it matters |
|---|---|---|
| Share of admin sessions originating from authorised admin hosts | Rising towards 100% | Shows administration is following the defined paths |
| Server subnets covered by a sensor | 100% of production server and DC segments | Coverage is the precondition for every detection |
| Controlled test sessions detected | 100% per quarter | Proves the analytic works end to end |
| Benign alerts closed as "unregistered automation" | Falling month on month | Shows the inventory and baseline are catching up |
| Time from anomalous admin session to triage | Under 30 minutes for DC-related alerts | Admin channel abuse moves quickly towards domain compromise |
Limits, bypasses and failure patterns
- Encrypted channels hide intent: D3FEND notes that administrative traffic can be encrypted. The sensor sees that an SSH or WinRM session happened, not what was run, so the analytic depends on who, where and when.
- Living inside the baseline: an attacker who compromises the jump host or the automation server inherits its normal admin paths. Pair D3-ANAA with host telemetry on those systems and with the controls in If your jump host and bastion is compromised.
- Baselining compromise: if an intruder is already active during the learning period, their sessions become part of normal. Review the first baseline by hand for admin paths nobody can explain.
- Edge-only sensors: monitoring the internet perimeter misses the east-west traffic this technique is about. Exposed remote access is a separate problem covered in Exposed RDP Compromise.
- Unregistered automation drowning the SOC: new monitoring, backup or deployment tools appear as anomalies every time. Without an inventory feed analysts start ignoring the alert class.
- Port-based rules only: moving SSH to a high port or tunnelling RDP inside another protocol defeats rules keyed on port numbers. Use protocol identification, and alert on admin protocols seen on non-standard ports.
Framework mapping
| Framework | Reference | Relevance |
|---|---|---|
| NIST SP 800-53 Rev 5 | SI-4 System Monitoring | Monitoring internal traffic to detect attacks and unauthorised use |
| NIST SP 800-53 Rev 5 | AC-17 Remote Access | Monitoring and control of remote access methods, which defines the authorised paths |
| NIST SP 800-53 Rev 5 | AU-6 Audit Record Review, Analysis, and Reporting | Analysis of the session records the baseline is built on |
| NIST CSF 2.0 | DE.CM-01, DE.AE-02 | Networks monitored for adverse events; adverse events analysed |
| MITRE D3FEND | Network Traffic Analysis, D3-ANAA | Parent and technique |
Related countermeasures
- Remote Terminal Session Detection (D3-RTSD): detects remote terminal sessions specifically; see D3-RTSD Remote Terminal Session Detection.
- Session Duration Analysis (D3-SDA): adds duration as a baseline dimension; see D3-SDA Session Duration Analysis.
- Domain Account Monitoring (D3-DAM): the host and directory view of the same privileged accounts; see D3-DAM Domain Account Monitoring.
- Authentication Event Thresholding (D3-ANET): catches spraying and stuffing from the authentication log side; see D3-ANET Authentication Event Thresholding.
Practitioner checklist
- Document every authorised admin source host and the server groups it may reach.
- Place network sensors on server, domain controller and management segments, not only at the edge.
- Collect SSH, RDP, SMB, DCE/RPC, Kerberos and NTLM protocol logs plus flow data for WinRM, SNMP, IPMI and VNC.
- Alert on directory replication requests from any host that is not a domain controller.
- Alert on admin protocols from user endpoint ranges to servers.
- Model each automation host and service account as its own baseline entity.
- Run anomaly rules in shadow mode before paging, and fix the root cause of benign hits.
- Test with a controlled admin session from an unexpected host every quarter.
- Feed inventory and change data into the baseline so new tools are expected, not alerted on.
Standards and references
- MITRE D3FEND: Administrative Network Activity Analysis (D3-ANAA)
- Google Patents: US20180077186A1 Method and system for detecting suspicious administrative activity
- NIST: SP 800-53 Rev. 5 Security and Privacy Controls
- Microsoft Learn: Defender for Identity security alerts
- Microsoft Learn: Installation and configuration for Windows Remote Management
- Zeek documentation: ssh.log
- Zeek documentation: Common logs
Related NHI Mgmt Group resources: MITRE D3FEND Guide · Lateral Movement Guide · Active Directory Security Monitoring and Event IDs Guide · IDS and IPS Guide · Impacket Detection Guide