Join our Newsletter — 33% off our NHI Course
Home› Guides› D3-DEM Data Exchange Mapping: Modelling Intended Data Flows…
Guide Data Security

D3-DEM Data Exchange Mapping: Modelling Intended Data Flows Between Your Systems

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, edited by Lalit Choda Updated 12 November 2026 11 min read
On this page

Most organisations can list their applications but cannot say which data types each one is supposed to send to which other system, in what format and at what volume, so unexpected flows go unnoticed. MITRE D3FEND names the countermeasure that fixes this Data Exchange Mapping (D3-DEM) and defines it as identifying and modelling "the organization's intended design for the flows of the data types, formats, and volumes between systems at the application layer." It sits under the Model tactic as a child of System Mapping (D3-SYSM), next to Service Dependency Mapping, System Dependency Mapping and System Vulnerability Assessment. This page explains what a data exchange map records, where the information comes from, how to keep it current and how it feeds detection and hardening. It is written for security architects, data protection leads and detection engineers, and goes deeper than the overview in the Data flow mapping for security and privacy guide.

Key takeaways

  • It models intent, not observed traffic. D3FEND frames D3-DEM as the intended design for application-layer flows; what the network actually carries is captured by the link mapping techniques, and the security value comes from comparing the two.
  • Each exchange is a record with fields. Source, destination, data types, format, expected volume, protocol, identity used and the agreement or ticket that approved it make a flow testable.
  • Interface descriptions are the best raw material. OpenAPI and AsyncAPI documents, integration platform configurations and information exchange agreements already describe most flows in machine-readable form.
  • D3FEND lists no ATT&CK relations for D3-DEM. Like most Model techniques it has no offensive mappings; its value is indirect, through the detection and isolation techniques that use the map.
  • Every flow runs as some identity. Recording the service account, API key or OAuth client behind each exchange links the data map to non-human identity governance and makes credential misuse visible.

D3-DEM at a glance

AttributeValue
D3FEND IDD3-DEM (d3f:DataExchangeMapping)
TacticModel
Parent techniqueSystem Mapping (D3-SYSM)
Synonyms in D3FENDData Flow Mapping, Information Exchange Mapping
Digital artefactData Dependency (D3FEND relation: maps), defined as existing "when a process, operation, or system requires specific data in order to execute correctly"
D3FEND referencesOMG Unified Architecture Framework (UAF); Dassault Systemes Catia UAF Plugin; IBM Tivoli Application Dependency Discovery Manager 7.3.0, dependencies between resources
ATT&CK relationsNone listed (D3FEND 1.6.0, checked November 2026)
EffortMedium to start for critical systems; ongoing effort depends on how much of the map is generated from interface descriptions

What a data exchange map records

The D3FEND definition names three properties of each flow: data types, formats and volumes, at the application layer. A usable map turns those into fields that can be checked against reality. The table below is an NHI Mgmt Group suggestion for a minimum record, not a D3FEND schema.

FieldExampleWhy it matters for security
Source and destination systemOrder service to payments gatewayDefines the allowed pair; anything else is a candidate anomaly
Data types and classificationCustomer name, card token; ConfidentialTies the flow to the data inventory and to handling rules
Format and schemaJSON over HTTPS, schema reference in the OpenAPI documentEnables schema validation and content inspection
Expected volume and timingAbout 20,000 messages a day, business hours peakGives a baseline for volume anomaly detection
Protocol, port and directionHTTPS 443, push from sourceFeeds firewall and egress policy
Identity and credentialOAuth client ID, service account or workload identityLinks the flow to an owner and to credential rotation
Approval referenceInformation exchange agreement, architecture decision or change ticketShows the flow is authorised (NIST SP 800-53 CA-3, CA-9)
Owner and review dateIntegration owner, next reviewKeeps the map current and accountable

Where the information comes from

D3FEND's references point at two kinds of source. UAF, an Object Management Group standard (version 1.3, published April 2026 according to the OMG specification page), is an architecture framework whose views include operational, services, resources and security viewpoints, and modelling tools such as the Catia UAF plugin capture information exchanges between systems as part of an architecture description. IBM's TADDM documentation shows the discovery side: it models runtime relationships between components, including transactional dependencies such as a JDBC connection from an application server to a database, service dependencies on DNS, LDAP or NFS, and application to application dependencies. In practice most organisations combine several sources.

SourceWhat it gives the mapLimits
Architecture models (UAF, C4, enterprise architecture repositories)Intended flows, design rationale, stakeholdersDrift as soon as the system changes, unless models are maintained
Interface descriptions (OpenAPI for HTTP APIs, AsyncAPI for message-driven APIs)Operations, schemas, servers and security schemes in machine-readable form; AsyncAPI 3.0.0 adds channels and send or receive operationsCover only documented APIs; volumes are not described
Integration and messaging platformsTopic and queue definitions, ETL and file transfer jobs, producer and consumer listsPlatform specific; batch jobs often sit outside them
Information exchange agreements and records of processingApproved exchanges with external parties and personal data transfersWritten for compliance, often at too coarse a level for detection
Application dependency discoveryObserved runtime connections between componentsShows what happens, not what was intended; use it to find gaps in the map
Threat models and data flow diagramsProcesses, data stores, flows and trust boundaries for a systemUsually per system and not joined up across the estate

The OWASP Threat Modeling Cheat Sheet asks for data flow diagrams that show trust boundaries, data flows, data stores and processes, saved "in a form the team can update". The same diagrams are a strong starting point for D3-DEM when they are collected into one queryable model. See the Threat Modelling Guide for the method.

Where identity fits

An application-layer exchange is always performed by an identity: a service account opening the database connection, an API key on the partner call, an OAuth client in a SaaS integration or a workload identity in a cloud pipeline. Recording that identity per flow does two things. It gives every non-human identity a documented purpose, which is the hardest field to fill during an NHI inventory, and it lets a detection rule flag the same credential appearing on a flow it was never approved for. The NHI Discovery Across Cloud, SaaS, CI/CD and On-Premises Environments guide covers finding the identities themselves.

How to build it

  1. Scope by consequence. Start with systems that hold or move regulated or business-critical data, plus every flow that crosses a trust boundary (internet, partner, cloud tenant, OT zone). Use the D3-DI Data Inventory to decide which data types count.
  2. Harvest machine-readable descriptions. Collect OpenAPI and AsyncAPI documents, integration platform exports and scheduled transfer job definitions into one repository. Each operation or channel becomes a candidate flow record.
  3. Interview owners for the rest. File drops, database links, shared storage and vendor connectors are rarely described in specs. A short form per system (what it sends, to whom, how often, as which identity) fills the gap.
  4. Add volumes and identities. Volumes come from owners, platform metrics or a short observation period; identities come from connection configuration and secrets stores.
  5. Reconcile against observed traffic. Compare the map with connections seen by flow logs, proxies or dependency discovery. Every observed connection without a record is either a missing record or an unapproved flow; every record with no observed traffic may be dead and removable.
  6. Publish and connect. Store the map where policy and detection tooling can read it (a CMDB relationship type, an architecture repository with an API, or version-controlled YAML). Link each record to its system in the D3-SYSDM System Dependency Mapping and service records.
  7. Make change update the map. Add a "new or changed data exchange" question to architecture review and change approval, so a new integration cannot go live without a record. Rolling back is simple: a record marked retired keeps its history and its detection rule is removed after the flow is confirmed gone.

How it feeds other countermeasures

D3-DEM does not detect or block anything on its own. Its value comes from the techniques that consume it. These connections are NHI Mgmt Group's view of practical use, not D3FEND relations.

  • Network and application allowlisting: approved source, destination, protocol and port per flow become egress and segmentation rules.
  • Volume and schema anomaly detection: expected volumes and schemas give baselines for data transfer size alerts, unusual destination alerts and schema validation at API gateways.
  • Data loss prevention: knowing which flows legitimately carry Confidential data lets DLP policies allow those paths and alert on others. See the Data Loss Prevention (DLP) Guide.
  • Incident scoping: when a system is compromised, the map answers which data it could have sent onward and to whom, which matters for notification decisions.
  • Privacy compliance: GDPR Article 30 records of processing must describe recipients and third country transfers; a maintained exchange map makes those records accurate.

How to verify it works

MetricExample target (NHI Mgmt Group suggestion, not a standard)What it shows
Observed application connections matched to a flow recordAbove 95% for in-scope systemsThe map reflects reality
Flow records with an identity and owner recorded100% for flows carrying Confidential dataAccountability and NHI linkage
Records reviewed within their review periodAbove 90%The map is maintained, not a one-off project
New integrations live without a recordZero per quarterChange control is updating the map
Alerts on unmapped flows triaged and closedTracked monthlyDetection is using the map

Limits and failure patterns

  • Diagram without data: a picture in a slide deck cannot be queried by a firewall or SIEM. Keep records structured and let diagrams be generated from them.
  • Intent never compared with reality: D3-DEM models intended flows. Without reconciliation against observed traffic it misses shadow integrations, which are exactly the flows an attacker or an unsanctioned tool creates.
  • Volumes left blank: volume is in the D3FEND definition for a reason. Without it, bulk exfiltration over an approved path looks normal.
  • Shared credentials across flows: one service account used for many exchanges makes it impossible to tell which flow a connection belongs to; split identities per integration where practical.
  • SaaS and AI integrations missed: OAuth grants between SaaS platforms, and AI tools connected to data sources, move data at the application layer without passing any network control the organisation owns. Include them in scope.

Framework mapping

FrameworkReferenceRelevance
NIST CSF 2.0ID.AM-03"Representations of the organization's authorized network communication and internal and external network data flows are maintained"
NIST SP 800-53 Rev 5CA-3 Information ExchangeDocument interface characteristics, security requirements and the impact level of information exchanged with other systems
NIST SP 800-53 Rev 5CA-9 Internal System ConnectionsDocument each internal connection, including the nature of the information communicated, and review its continued need
NIST SP 800-53 Rev 5AC-4 Information Flow EnforcementThe enforcement control that uses the approved flows
NIST SP 800-53 Rev 5PL-8 Security and Privacy ArchitecturesArchitectures that describe dependencies on external systems and services
CIS Controls v8.1Safeguard 3.8 Document Data FlowsData flow documentation including service provider flows
ISO/IEC 27001:2022 Annex AA.5.14 Information transferRules and agreements for information transfer
MITRE D3FENDD3-SYSM, D3-DEMParent and technique
  • Service Dependency Mapping (D3-SVCDM) and System Dependency Mapping (D3-SYSDM): sibling System Mapping techniques that model which services and systems depend on each other; D3-DEM adds what data moves along those dependencies. See D3-SVCDM Service Dependency Mapping.
  • Passive Logical Link Mapping (D3-PLLM): builds the observed view of network connections that the intended map is reconciled against. See D3-PLLM Passive Logical Link Mapping.
  • Data Inventory (D3-DI): the record of what data exists and where, which supplies the data types each flow carries.
  • The parent technique is covered in the MITRE D3FEND System Mapping Implementation Guide.

Practitioner checklist

  • Define a flow record with source, destination, data types, format, volume, protocol, identity, approval and owner.
  • Scope first to regulated data and to flows that cross trust boundaries.
  • Import OpenAPI, AsyncAPI and integration platform definitions instead of typing flows by hand.
  • Record the non-human identity used by every flow and give it an owner.
  • Reconcile the map against observed connections at least quarterly and investigate every unmatched flow.
  • Store the map in a structured, queryable form that policy and detection tools can read.
  • Add a data exchange question to architecture review and change approval.
  • Include SaaS to SaaS OAuth integrations and AI tool connectors in scope.

Standards and references

Related NHI Mgmt Group resources: Data flow mapping for security and privacy · Data Mapping and ROPA Guide · Data lineage, data quality and data contracts as security controls · API Inventory Template · MITRE D3FEND Guide

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Researched and written by the NHI Mgmt Group editorial team using AI tools, under the editorial direction of Lalit Choda. Facts are drawn from the sources listed on this page and checked by our automated quality process. Last updated 12 November 2026. Spotted an error? Use our contact page.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM and Agentic AI security. nhimg.org

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick the PDF box to continue.