Join our Newsletter — 33% off our NHI Course
Home› Guides› D3-DRA Disable Remote Access: Switching Off Unneeded Remote…
Guide Endpoint Security

D3-DRA Disable Remote Access: Switching Off Unneeded Remote Paths and Proving They Stay Off

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

Every remote access path that a device does not need is a door an attacker can use without touching an exploit, and most estates have more of these doors open than anyone has written down. MITRE D3FEND names the countermeasure Disable Remote Access (D3-DRA) and defines it as "Limiting access to a computing device which is not required through or from a non-organization-controlled network." It sits under the Harden tactic as a child of Application Configuration Hardening (D3-ACH), and D3FEND models it as a technique that configures Application Configuration. This card covers what D3-DRA changes, the ATT&CK techniques D3FEND relates to it, where it is implemented on Windows, macOS, Linux, collaboration platforms and OT controllers, how to prove remote access is really off, and where the control stops. It is written for endpoint engineers, infrastructure teams and OT security leads. The broader design of remote access that you do need is in the Secure Remote Access Beyond VPN Guide.

Key takeaways

  • Default to off. D3FEND's own description lists deny-by-default, time-based controls and just-in-time authorisation as the ways to restrict remote access, so the baseline is no remote path unless a named need exists.
  • Remove, do not just block. D3FEND's methods include turning off the OS feature, blocking the protocol with firewall rules and uninstalling remote access software. Doing only one leaves the others as a fallback for an attacker.
  • The ATT&CK links are thin and inferred. D3FEND relates D3-DRA to four techniques only through the shared Application Configuration artefact, two of them email rules; the practical value is against external remote services and remote access tools, which you map yourself.
  • OT gets a physical answer. D3FEND describes powering a remote access modem on and off from a controller output so that the local operator authorises every remote session.
  • Prove it from outside and from the endpoint. A configuration baseline says remote access is off; an external scan, a firewall log and an endpoint inventory prove it.

D3-DRA at a glance

AttributeValue
D3FEND IDD3-DRA (d3f:DisableRemoteAccess)
TacticHarden
Parent techniqueApplication Configuration Hardening (D3-ACH)
Digital artefactApplication Configuration (D3FEND relation: configures)
Methods named by D3FENDTime-based controls, just-in-time authorisation, deny-by-default; OS settings, firewall rules, uninstalling remote access software, disabling Wi-Fi, Ethernet or Bluetooth; OT controller logic switching a modem
D3FEND see-alsoICS mitigation M0800 Authorization Enforcement
EffortLow for a single feature on managed endpoints; medium to high where remote access software has spread without inventory
Main limitationOnly covers paths you know about; user-run portable tools and attacker-built tunnels need other controls

How it works

D3-DRA is a hardening control: it removes reachability rather than detecting misuse. D3FEND's description breaks it into a few concrete moves, which in practice form three layers.

  • Feature layer: turn off the operating system or application feature that accepts remote sessions. D3FEND's Windows examples are clearing "allow remote assistance" and selecting "don't allow remote connections".
  • Network layer: create firewall rules that block remote access protocols, on the host and at the perimeter, so a feature switched back on is still unreachable from networks the organisation does not control.
  • Software and interface layer: uninstall remote access software that has no approved use and, where a device must be fully isolated, disable Wi-Fi, Ethernet or Bluetooth interfaces.

The definition is scoped to access "through or from a non-organization-controlled network". That matters for decisions: an internal administrator path through a jump host may be fine, while the same service reachable from the internet or from a supplier's network is exactly what D3-DRA targets. Where a remote path is needed, D3FEND's time-based and just-in-time options keep it closed except during an approved window.

OT: the operator holds the switch

For operational technology D3FEND describes programming logic in the controller so that the operator authorises remote access and local control is maintained: a remote access modem is powered on or off through a discrete output from one of the controller's I/O modules. D3FEND's references for this are Rockwell Automation's ControlLogix 5570 and 5560 controller manual and the Tricon technical product guide, alongside a Dragos article on PLC key switch monitoring. The design point is that remote access is physically absent until a person at the plant enables it. Related OT hardening is covered by D3-OPR Operating Mode Restriction and the OT Remote Access Guide.

ATT&CK techniques D3FEND relates to D3-DRA

Relationship type: inferred only. D3FEND lists no direct ATT&CK mapping for D3-DRA. The rows below are inferred because D3-DRA configures Application Configuration and these techniques modify, or may modify, that same artefact. D3FEND labels such relations inferred and experimental (D3FEND 1.6.0, checked November 2026). D3FEND still lists two IDs that ATT&CK v20 has revoked; the table shows their v20 successors.

ATT&CK ID (v20)TechniqueD3FEND relation (inferred via artefact)How D3-DRA bears on it
T1114.003Email Forwarding RuleSame artefact: modifies Application ConfigurationTurning off automatic external forwarding at the mail platform removes a remote collection channel
T1564.008Email Hiding RulesSame artefact: modifies Application ConfigurationWeak link; hiding rules are a configuration change, not remote access. Treat as a reminder to baseline mail settings
T1685.001Disable or Modify Windows Event Log (successor to the revoked Disable Windows Event Logging)Same artefact: may modify Application ConfigurationIndirect; the shared artefact is configuration, so monitor the hardened settings for tampering
T1690Prevent Command History Logging (successor to the revoked Impair Command History Logging)Same artefact (as shown on the D3FEND page)Indirect, as above

None of these four is a remote access technique. The techniques D3-DRA most directly frustrates are External Remote Services (T1133), Remote Services (T1021, including T1021.001 Remote Desktop Protocol) and Remote Access Tools (T1219), plus the ICS techniques External Remote Services (T0822) and Remote Services (T0886). That mapping is an NHI Mgmt Group view, not D3FEND data. For the attacker side see T1133 External Remote Services Defensive Guide, T1021 Remote Services and MITRE ATT&CK T1219 Remote Access Tools. The ATT&CK mitigation closest to D3-DRA is described in M1042 Disable or Remove Feature or Program.

Where it is implemented

SurfaceSetting or actionSource of the setting name
Windows Remote DesktopGroup Policy "Allow users to connect remotely by using Remote Desktop Services" set to Disabled, under Computer Configuration, Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections (registry key SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services; MDM CSP RemoteDesktopServices/AllowUsersToConnectRemotely). When disabled, users cannot connect by using Remote Desktop Services. The local equivalent is the "Enable Remote Desktop" toggle under Settings > System > Remote DesktopMicrosoft Learn Policy CSP and Remote Desktop pages
Windows Remote Assistance"Configure Solicited Remote Assistance" (value fAllowToGetHelp) and "Configure Offer Remote Assistance" (value fAllowUnsolicited) set to Disabled, under Computer Configuration > System > Remote AssistanceMicrosoft Learn RemoteAssistance Policy CSP
macOSTurn off Remote Login (SSH) and other remote services in System Settings > General > Sharing; where a service must stay on, use "Allow access for: Only these users"Apple Mac User Guide
LinuxStop and disable the SSH server and any remote desktop service with the system's service manager on hosts that need no remote shell; remove the packages where possibleDistribution documentation
Host and perimeter firewallsDeny inbound remote access protocols (for example RDP on TCP 3389 and SSH on TCP 22) from untrusted networks; block outbound connections for unapproved remote monitoring and management (RMM) servicesCISA AA23-025A mitigations
Software inventory and application controlUninstall unapproved remote access tools and block their installation and execution, including portable versionsD3FEND description; CISA AA23-025A
Email platforms (artefact link)Google Workspace: clear "Allow users to automatically forward incoming email" under Apps > Google Workspace > Gmail > End User Access. Microsoft 365: set "Automatic forwarding rules" in the outbound spam policy explicitly to Off (the default is Automatic, system-controlled, and Microsoft recommends an explicit value)Google Workspace Admin Help; Microsoft Learn
OT controllersController logic and a discrete output that powers the remote access modem only when the operator authorises itD3FEND description

Platforms are listed alphabetically within each row. Host firewall design is covered in the Host-Based Firewall Guide, and RDP that must remain on is covered in the Remote Desktop (RDP) Security Guide.

Where identity fits

Remote access paths are also identity paths. A VPN profile, an RMM agent's service account or an SSH key left behind on a server is a non-human credential that keeps a remote door working after the human need has gone. The Colonial Pipeline Ransomware Attack 2021 began through a legacy VPN profile that was no longer in use but had never been disabled, with a leaked password and no MFA. Disabling the path and disabling the account behind it belong in the same change. The identity side is covered in the Remote Access Identity Guide.

Implementation steps

  1. Inventory every remote path. List OS remote features (RDP, Remote Assistance, SSH, screen sharing), installed remote access and RMM tools, VPN profiles, supplier access and OT modems. Use endpoint software inventory, an external port scan and firewall rule exports, and compare them.
  2. Classify by need. For each path record who needs it, from which network and how often. Anything with no named owner and need is a removal candidate; anything rarely needed is a candidate for time-based or just-in-time enablement.
  3. Set the baseline. Configure the Group Policy, MDM or configuration management settings above to disable the features by default, and add host firewall rules that deny the protocols from untrusted networks.
  4. Pilot in audit first. Before blocking, log connections on the target protocols for two to four weeks (an example period, not a standard) to find undocumented dependencies such as support teams, monitoring tools or vendor maintenance.
  5. Remove the software. Uninstall unapproved remote access tools and add application control rules for installed and portable versions, as CISA AA23-025A recommends.
  6. Disable the identities. Disable the VPN accounts, RMM agent credentials and SSH keys tied to the removed paths.
  7. Roll out in rings and keep a rollback. Apply to one business unit, then wider. Rollback is re-enabling the policy for a named group through the same management tool, with an expiry date on the exception.

How to verify it works

  • External view: scan your internet-facing ranges for remote access ports on a schedule and compare with the approved list. Any listener not on the list is a finding.
  • Endpoint view: query configuration state (the effective Group Policy or MDM result for the RDP and Remote Assistance settings, Sharing settings on macOS, service state on Linux) and installed software for remote access tools.
  • Log view: on Windows, successful RDP logons appear as event 4624 with logon type 10 (RemoteInteractive); after hardening these should come only from approved jump hosts. Firewall logs should show denied attempts, not accepted sessions, on blocked protocols.
  • Drift alerts: alert when a hardened setting changes, when a remote access tool is installed or executed, or when a new listener appears.
MetricExample target (NHI Mgmt Group suggestion, not a standard)Why it matters
Endpoints compliant with the remote access baselineAbove 98%Shows the setting is applied, not just written
Internet-exposed remote access listeners not on the approved listZeroThe direct measure of D3-DRA's goal
Unapproved remote access tools found per monthFalling to near zeroTracks software sprawl and user-installed tools
Time-bound remote access exceptions past expiryZeroStops temporary access becoming permanent
Remote access identities with no ownerZeroCloses the Colonial Pipeline pattern

Limits, bypasses and failure patterns

  • Portable tools in user context: CISA AA23-025A describes attackers running portable remote access executables that need no installation and no administrator rights. Disabling OS features does not stop them; application control and outbound blocking do.
  • Outbound tunnels: an attacker on the host can open an outbound tunnel that needs no inbound listener. That falls to outbound filtering and detection; see T1572 Protocol Tunnelling Defensive Guide.
  • Local administrators re-enable it: anyone with local admin can turn RDP back on unless the setting is enforced by policy and monitored for drift.
  • Not configured is not off: for the Remote Desktop policy, not configured means the local setting decides. Set the policy to Disabled explicitly. The same pattern applies to Microsoft 365 automatic forwarding, where the default value is system-controlled.
  • Forgotten paths: supplier modems, out-of-band management cards and old VPN profiles sit outside endpoint management and are missed by baselines.
  • Break-glass gaps: removing all remote access without a tested emergency path leads to rushed, unsafe exceptions during an outage. Define and test the break-glass route first.

Framework mapping

FrameworkReferenceRelevance
NIST SP 800-53 Rev 5AC-17 Remote AccessAuthorising and restricting each type of remote access
NIST SP 800-53 Rev 5CM-7 Least FunctionalityDisabling functions, ports, protocols and services that are not needed
NIST SP 800-53 Rev 5SC-7 Boundary ProtectionFirewall rules that block remote protocols at the boundary
NIST CSF 2.0PR.PS-01, PR.IR-01Configuration management practices; protecting networks from unauthorised logical access
MITRE ATT&CK mitigationsM1042, M1035 (Enterprise); M0800, M0942 (ICS)Disable or remove feature or program; limit access to resource over network; authorisation enforcement; ICS disable or remove feature
MITRE D3FENDD3-ACH, D3-DRAParent and technique

Practitioner checklist

  • Keep one inventory of every remote path, its owner, its source network and its expiry.
  • Set "Allow users to connect remotely by using Remote Desktop Services" to Disabled where RDP is not needed; do not leave it not configured.
  • Disable Solicited and Offer Remote Assistance unless support processes depend on them.
  • Turn off Remote Login and other Sharing services on macOS endpoints that do not need them.
  • Deny remote access protocols from untrusted networks on host and perimeter firewalls.
  • Uninstall unapproved remote access tools and block portable versions with application control.
  • Disable the VPN profiles, agent credentials and SSH keys behind every removed path.
  • Give OT remote modems an operator-controlled on and off switch.
  • Scan externally and alert on configuration drift every month.

Standards and references

Related NHI Mgmt Group resources: Secure Remote Access Beyond VPN Guide · Remote Desktop (RDP) Security Guide · Exposed RDP Compromise · M1042 Disable or Remove Feature or Program · MITRE D3FEND Guide

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