Skip to main content

Unauthorized Encrypted DNS Usage

Anti-forensics
technique
Updated 2 August 2026

A subject configures or uses an unauthorized encrypted Domain Name System (DNS) service to prevent organizational infrastructure from observing, recording, filtering, or enforcing domain-resolution activity. Encrypted DNS protocols, including DNS over HTTPS (DoH) and DNS over Transport Layer Security (DoT), protect DNS queries from observation while they travel between the endpoint and the resolver. Although these protocols have legitimate privacy and security applications, their unauthorized use can bypass enterprise DNS servers, DNS filtering, threat-intelligence controls, and domain-level investigative logging. The subject may enable encrypted DNS through browser settings, operating-system configuration, mobile applications, command-line utilities, or third-party resolver software. They may also select a public or personally controlled resolver that is not governed by the organization. This behavior reduces investigators’ ability to determine which domains the subject attempted to access. Network telemetry may show only an encrypted connection to the resolver rather than the individual domain queries conducted through it. Unauthorized encrypted DNS may be used to conceal access to prohibited services, external infrastructure, anonymization platforms, remote-access services, or data-transfer destinations. The use of encrypted DNS alone does not establish improper intent. Investigators should determine whether the resolver was approved, whether organizational DNS controls were deliberately bypassed, and whether the activity coincided with another infringement or anti-forensics behavior.

5
Prevention Strategies
7
Detection Methods
0
Tactics
4
Contributors

Prevention Strategies (5)

DNS Filtering

Domain Name System (DNS) filtering allows the blocking of domain resolution for specific domains or automatically categorized classes of domains (depending on the functionality of the software or appliance being used). DNS filtering prevents users from accessing blocked domains, regardless of the IP address the domains resolve to. Examples of automatically categorized classes of domains are ‘gambling’ or ‘social networking’ domains. Automatic categorizations of domains are typically conducted by the software or appliance being used, whereas specific domains can be blocked manually. Most DNS filtering software or appliances will provide the ability to use Regular Expressions (RegEx) to (for example) also filter all subdomains on a specified domain.DNS filtering can be applied on an individual host, such as with the hosts file, or for multiple hosts via a DNS server or firewall.

From the Matrix:

Domain Name System (DNS) filtering allows the blocking of domain resolution for specific domains or automatically categorized classes of domains (depending on the functionality of the software or appl...

Our pillar mapping:
Identity & SaaS

Endpoint Network Access Agent Enforcement

Deploy and enforce the use of Endpoint Network Access Agents (such as Zscaler Client Connector, Cisco AnyConnect Secure Mobility Client, or similar tools) to ensure continuous network policy enforcement, traffic inspection, and behavioral visibility across all user environments, including remote, hybrid, and guest networks. Key Prevention Measures: Mandatory Agent Deployment: Require persistent agent installation across all managed endpoints, using device posture checks to validate status and prevent circumvention.Controlled Network Access: Prevent outbound traffic unless routed through approved inspection points—eliminating unmonitored internet connectivity and forcing adherence to network governance policies.VPN Configuration Lockdown: Restrict VPN usage to sanctioned clients and configurations. Enforce full-tunnel routing, disable split-tunneling, and block execution of unauthorized VPN applications or browser-based VPN extensions.Policy-Based Access Control: Apply conditional access rules based on endpoint compliance, user identity, and network context—ensuring secure posture is maintained regardless of location.Tamper Protection and Lockout: Detect and respond to agent disablement, configuration drift, or telemetry loss through auto-remediation or access revocation mechanisms.Cross-Network Consistency: Extend enforcement capabilities to unmanaged and public networks, reducing blind spots introduced by subjects switching to guest Wi-Fi, personal hotspots, or external connectivity paths. This control directly mitigates multiple behaviors associated with Network Obfuscation, including the use of unauthorized VPNs, evasive browser extensions, and transitions to unmonitored networks.

From the Matrix:

Deploy and enforce the use of Endpoint Network Access Agents (such as Zscaler Client Connector, Cisco AnyConnect Secure Mobility Client, or similar tools) to ensure continuous network policy enforceme...

Our pillar mapping:
Visibility

Enterprise-Managed Web Browsers

An enterprise-managed browser is a web browser controlled by an organization to enforce security policies, manage employee access, and ensure compliance. It allows IT administrators to monitor and restrict browsing activities, apply security updates, and integrate with other enterprise tools for a secure browsing environment.

From the Matrix:

An enterprise-managed browser is a web browser controlled by an organization to enforce security policies, manage employee access, and ensure compliance. It allows IT administrators to monitor and res...

Our pillar mapping:
Visibility

Next-Generation Firewalls

Next-generation firewall (NGFW) network appliances and services provide the ability to control network traffic based on rules. These firewalls provide basic firewall functionality, such as simple packet filtering based on static rules and track the state of network connections. They can also provide the ability to control network traffic based on Application Layer rules, among other advanced features to control network traffic. A example of simple functionality would be blocking network traffic to or from a specific IP address, or all network traffic to a specific port number. An example of more advanced functionality would be blocking all network traffic that appears to be SSH or FTP traffic to any port on any IP address.

From the Matrix:

Next-generation firewall (NGFW) network appliances and services provide the ability to control network traffic based on rules. These firewalls provide basic firewall functionality, such as simple pack...

Protocol Allow Listing

Only allow necessary protocols to communicate over the network. Implement strict access controls to prevent unauthorized protocols from being used. Typically these controls would be implemented on next-generation firewalls with Deep Packet Inspection (DPI) and other network security appliances.

From the Matrix:

Only allow necessary protocols to communicate over the network. Implement strict access controls to prevent unauthorized protocols from being used. Typically these controls would be implemented on nex...

Our pillar mapping:
Identity & SaaS

Detection Methods (7)

Deep Packet Inspection

Implement Deep Packet Inspection (DPI) tools to inspect the content of network packets beyond the header information. DPI can identify unusual patterns and hidden data within legitimate protocols. DPI can be conducted with a range of software and hardware solutions, such as Unified Threat Management (UTM) and Next-Generation Firewalls (NGFWs), as well as Intrusion Detection and Prevention Systems (IDPS) such as Snort and Suricata,

DNS Logging

Logging DNS requests made by corporate devices can assist with identifying what web resources a system has attempted to or successfully accessed.

DNS Monitoring

Monitor outbound DNS traffic for unusual or suspicious queries that may indicate DNS tunneling. DNS monitoring entails observing and analyzing Domain Name System (DNS) queries and responses to identify abnormal or malicious activities. This can be achieved using various security platforms and network appliances, including Network Intrusion Detection Systems (NIDS), specialized DNS services, and Security Information and Event Management (SIEM) systems that process DNS logs.

Endpoint Network Access Agent Telemetry Monitoring

Leverage telemetry produced by Endpoint Network Access Agents (such as Zscaler Client Connector or Cisco AnyConnect Secure Mobility Client) to detect network-layer evasion attempts, obfuscation behaviors, or deviations from expected usage patterns in hybrid and remote environments. Detection Methods: Per-Session Telemetry Analysis: Collect detailed logs of outbound destination IPs, domain names, protocols, and session metadata from the agent. Correlate with identity logs to validate that the subject's traffic aligns with role-based expectations.Geographic and Network Mismatch: Detect inconsistencies between subject geolocation (from agent logs) and declared work location, or anomalous IPs (e.g., Tor exit nodes, commercial VPN infrastructure) accessed during active sessions.Split-Tunnel Indicators: Analyze whether only partial traffic is visible in agent logs. Absence of common destinations (e.g., productivity platforms, update services) may indicate concurrent use of a secondary tunnel outside agent visibility.Extension-Specific Access Patterns: Identify repeated access to known VPN browser extensions or proxy service endpoints from within the inspected agent traffic, suggesting circumvention efforts within the tunnel.Traffic Timing Correlation: Compare network activity timestamps from the agent with endpoint activity logs (e.g., EDR or system audit logs). Large gaps may indicate periods of disconnection, traffic redirection, or uninspected activity.Policy Bypass Attempts: Monitor for failed or repeated attempts to reach restricted domains, use unauthorized ports, or alter routing behavior as captured in agent logs. These may indicate probing or manipulation of enforcement boundaries. This detection approach assumes full deployment and telemetry integration of the access agent, enabling fine-grained monitoring of network obfuscation behaviors even in decentralized, off-corporate-network scenarios.

NetFlow Analysis

Analyze network flow data (NetFlow) to identify unusual communication patterns and potential tunneling activities. Flow data offers insights into the volume, direction, and nature of traffic. NetFlow, a protocol developed by Cisco, captures and records metadata about network flows—such as source and destination IP addresses, ports, and the amount of data transferred. Various network appliances support NetFlow, including Next-Generation Firewalls (NGFWs), network routers and switches, and dedicated NetFlow collectors.

Network Intrusion Detection Systems

Network Intrusion Detection Systems (NIDS) can alert on abnormal, suspicious, or malicious patterns of network behavior.

Web Proxy Logs

Depending on the solution used, web proxies can provide a wealth of information about web-based activity. This can include the IP address of the system making the web request, the URL requested, the response code, and timestamps.An organization must perform SSL/TLS interception to receive the most complete information about these connections.

Contributors

Forscie® Limited
The ITM Team
Ryan Bellows
Ismael Briones-Vilar

Our pillar mapping

Our own keyword match of each prevention and detection to the Insider Risk Index's five pillars. It is not part of the Forscie Matrix and not a measured value.

Visibility
8
Prevention & Coaching
Investigation & Evidence
Identity & SaaS
2
Phishing Resilience

Attribution

This technique is part of the Forscie® Insider Threat Matrix™. Copyright 2026 Forscie® Limited. Licensed under Apache License 2.0.

View on Forscie® Insider Threat Matrix™
Unauthorized Encrypted DNS Usage | Insider Risk Index