T1071.004: DNS
Adversaries may communicate using the Domain Name System (DNS) application layer protocol to avoid detection/network filtering by blending in with existing traffic. Commands to the remote system, and often the results of those commands, will be embedded within the protocol traffic between the client and server.
The DNS protocol serves an administrative function in computer networking and thus may be very common in environments. DNS traffic may also be allowed even before network authentication is completed. DNS packets contain many fields and headers in which data can be concealed. Often known as DNS tunneling, adversaries may abuse DNS to communicate with systems under their control within a victim network while also mimicking normal, expected traffic.[1][2]
DNS beaconing may be used to send commands to remote systems via DNS queries. A DNS beacon is created by tunneling DNS traffic (i.e. Protocol Tunneling). The commands may be embedded into different DNS records, for example, TXT or A records.[3] DNS beacons may be difficult to detect because the beacons infrequently communicate with infected devices.[4] Infrequent communication conceals the malicious DNS traffic with normal DNS traffic.
Analyst context for executives and security teams
DNS command-and-control matters because DNS is normally required for business operations and is often allowed through network controls, which makes malicious communications easier to hide among routine traffic. The practical risk is not just “DNS tunneling”; it is whether the organization can distinguish necessary name resolution from covert command traffic across Windows, Linux, macOS, ESXi, and network-device environments.
Executive priority
Treat this as a resilience and visibility question: can the organization prove that DNS egress is governed, monitored, and investigated rather than simply allowed by default? Because ATT&CK links this technique to multiple groups, malware families, and a campaign, leaders should prioritize DNS logging, boundary filtering, and intrusion prevention as control evidence for incident response readiness, audit discussions, and network-risk reduction. The key decision is whether DNS is managed as a controlled service or as an unmanaged bypass path.
Technical view
This is an enterprise command-and-control sub-technique under Application Layer Protocol. ATT&CK notes that adversaries may embed commands and results in DNS traffic, including DNS tunneling and DNS beaconing using records such as TXT or A records. SOC and IR teams should validate whether they can analyze DNS queries, responses, record types, query frequency, destination domains, resolver paths, and traffic crossing network boundaries. There is no official MITRE detection text supplied, but the relationship to DET0400 indicates behavioral detection of DNS tunneling and application-layer abuse is relevant. Relationships to tools such as PlugX, Uroburos, Pisloader, POWERSOURCE, TEXTMATE, and Cobalt Strike support using malware and intrusion reporting as context for detection engineering, without assuming local exposure.
Likely telemetry
- Recursive DNS resolver logs
- Endpoint DNS query events where available
- Network DNS packet metadata and full packet capture where retained
- Firewall, proxy, and egress filtering logs for DNS traffic
- Network intrusion detection or prevention alerts
Detection direction
- Confirm whether DNS telemetry covers all listed platforms and network segments, including servers, endpoints, ESXi-adjacent infrastructure, and network devices where applicable.
- Develop behavioral analytics for unusual DNS tunneling indicators such as high-volume or structured subdomain usage, uncommon record-type patterns, suspicious TXT/A record usage, and low-frequency beaconing that may blend with normal traffic.
- Tune detections against known business DNS behaviors to reduce false positives from legitimate cloud, software update, security, and content-delivery services.
- Validate that DNS requests are expected to flow through approved resolvers; direct external DNS from endpoints or servers should be investigated according to local policy.
- Use relationship context from associated campaigns, groups, and software to enrich threat hunting, but do not treat those relationships as proof of activity in the environment.
Mitigation priorities
- Prioritize network intrusion prevention at boundaries, consistent with M1031, using signatures or detections for known DNS tunneling and application-layer abuse where appropriate.
- Implement network traffic filtering consistent with M1037: restrict DNS egress to approved resolvers and enforce firewall rules for ingress, egress, and lateral DNS traffic.
- Review whether DNS is permitted before network authentication and determine whether that exposure is necessary for the business environment.
- Centralize DNS resolution and logging so incident responders can reconstruct suspected command-and-control activity.
- Pair filtering with monitoring; blocking alone may miss infrequent DNS beaconing or traffic designed to resemble normal DNS behavior.
Analyst notes and limits
The strongest business takeaway is that DNS is a high-trust administrative protocol that can become a covert communications channel if it is not governed. The supplied relationships show broad technique relevance across multiple named groups, software families, and one campaign, but they do not establish current activity against any specific organization. Glexia would use this object to drive DNS visibility assessment, egress-control validation, SOC tuning, and IR evidence readiness.
The official ATT&CK object does not provide detection text. External references are listed, but this take uses only the supplied descriptions and relationships. Specific indicators, thresholds, vendor detections, and environment exposure require local DNS baselines, architecture review, and telemetry validation.
DNS
Adversaries may communicate using the Domain Name System (DNS) application layer protocol to avoid detection/network filtering by blending in with existing traffic. Commands to the remote system, and often the results of those commands, will be embedded within the protocol traffic between the client and server.
The DNS protocol serves an administrative function in computer networking and thus may be very common in environments. DNS traffic may also be allowed even before network authentication is completed. DNS packets contain many fields and headers in which data can be concealed. Often known as DNS tunneling, adversaries may abuse DNS to communicate with systems under their control within a victim network while also mimicking normal, expected traffic.[1][2]
DNS beaconing may be used to send commands to remote systems via DNS queries. A DNS beacon is created by tunneling DNS traffic (i.e. Protocol Tunneling). The commands may be embedded into different DNS records, for example, TXT or A records.[3] DNS beacons may be difficult to detect because the beacons infrequently communicate with infected devices.[4] Infrequent communication conceals the malicious DNS traffic with normal DNS traffic.
How security teams should use this page
Treat this object as behavior context, not an attribution claim. Validate the related groups, software, data sources, and mitigations against official ATT&CK relationships and your own telemetry before making control-coverage decisions.
Related techniques
This mirrors the MITRE pattern of making group, software, campaign, and technique relationships scannable. Relationship notes come from mirrored ATT&CK relationship text when available.
| Domain | ID | Name | Relationship / procedure |
|---|---|---|---|
| Enterprise | T1071 | Application Layer Protocol | This object subtechnique of Application Layer Protocol. |
Groups, software, and campaigns
G0114: Chimera
G0140: LazyScripter
LazyScripter is threat group that has mainly targeted the airlines industry since at least 2018, primarily using open-source toolsets.[1]
G0096: APT41
APT41 is a threat group that researchers have assessed as Chinese state-sponsored espionage group that also conducts financially-motivated operations. Active since at least 2012, APT41 has been observed targeting various industries, including but not limited to healthcare, telecom, technology, finance, education, retail and video game industries in 14 countries.[1] Notable behaviors include using a wide range of malware and tools to complete mission objectives. APT41 overlaps at least partially with public reporting on groups including BARIUM and Winnti Group.[2][3]
G0080: Cobalt Group
Cobalt Group is a financially motivated threat group that has primarily targeted financial institutions since at least 2016. The group has conducted intrusions to steal money via targeting ATM systems, card processing, payment systems and SWIFT systems. Cobalt Group has mainly targeted banks in Eastern Europe, Central Asia, and Southeast Asia. One of the alleged leaders was arrested in Spain in early 2018, but the group still appears to be active. The group has been known to target organizations in order to use their access to then compromise additional victims.[1][2][3][4][5][6][7] Reporting indicates there may be links between Cobalt Group and both the malware Carbanak and the group Carbanak.[8]
G0049: OilRig
OilRig is a suspected Iranian threat group that has targeted Middle Eastern and international victims since at least 2014. The group has targeted a variety of sectors, including financial, government, energy, chemical, and telecommunications. It appears the group carries out supply chain attacks, leveraging the trust relationship between organizations to attack their primary targets. The group works on behalf of the Iranian government based on infrastructure details that contain references to Iran, use of Iranian infrastructure, and targeting that aligns with nation-state interests.[1][2][3][4][5][6][7]
G0004: Ke3chang
G0087: APT39
APT39 is one of several names for cyber espionage activity conducted by the Iranian Ministry of Intelligence and Security (MOIS) through the front company Rana Intelligence Computing since at least 2014. APT39 has primarily targeted the travel, hospitality, academic, and telecommunications industries in Iran and across Asia, Africa, Europe, and North America to track individuals and entities considered to be a threat by the MOIS.[1][2][3][4][5]
G1003: Ember Bear
Ember Bear is a Russian state-sponsored cyber espionage group that has been active since at least 2020, linked to Russia's General Staff Main Intelligence Directorate (GRU) 161st Specialist Training Center (Unit 29155).[1] Ember Bear has primarily focused operations against Ukrainian government and telecommunication entities, but has also operated against critical infrastructure entities in Europe and the Americas.[2] Ember Bear conducted the WhisperGate destructive wiper attacks against Ukraine in early 2022.[3][4][1] There is some confusion as to whether Ember Bear overlaps with another Russian-linked entity referred to as Saint Bear. At present available evidence strongly suggests these are distinct activities with different behavioral profiles.[2][5]
G0081: Tropic Trooper
Tropic Trooper is an unaffiliated threat group that has led targeted campaigns against targets in Taiwan, the Philippines, and Hong Kong. Tropic Trooper focuses on targeting government, healthcare, transportation, and high-tech industries and has been active since 2011.[1][2][3]
G0026: APT18
G0046: FIN7
FIN7 is a financially-motivated threat group that has been active since 2013. FIN7 has targeted the retail, restaurant, hospitality, software, consulting, financial services, medical equipment, cloud services, media, food and beverage, transportation, pharmaceutical, and utilities industries in the United States. A portion of FIN7 was operated out of a front company called Combi Security and often used point-of-sale malware for targeting efforts. Since 2020, FIN7 shifted operations to big game hunting (BGH), including use of REvil ransomware and their own Ransomware-as-a-Service (RaaS), Darkside. FIN7 may be linked to the Carbanak Group, but multiple threat groups have been observed using Carbanak, leading these groups to be tracked separately.[1][2][3][4][5][6][7]
S0477: Goopy
S0269: QUADAGENT
S0354: Denis
S0663: SysUpdate
SysUpdate is a backdoor written in C++ that has been used by Threat Group-3390 since at least 2020.[1]
S1111: DarkGate
DarkGate first emerged in 2018 and has evolved into an initial access and data gathering tool associated with various criminal cyber operations. Written in Delphi and named "DarkGate" by its author, DarkGate is associated with credential theft, cryptomining, cryptotheft, and pre-ransomware actions.[1] DarkGate use increased significantly starting in 2022 and is under active development by its author, who provides it as a Malware-as-a-Service offering.[2]
S0146: TEXTMATE
TEXTMATE is a second-stage PowerShell backdoor that is memory-resident. It was observed being used along with POWERSOURCE in February 2017. [1]
S1020: Kevin
S1015: Milan
S0377: Ebury
Ebury is an OpenSSH backdoor and credential stealer targeting Linux servers and container hosts developed by Windigo. Ebury is primarily installed through modifying shared libraries (`.so` files) executed by the legitimate OpenSSH program. First seen in 2009, Ebury has been used to maintain a botnet of servers, deploy additional malware, and steal cryptocurrency wallets, credentials, and credit card details.[1][2][3][4]
S0170: Helminth
S0699: Mythic
S0495: RDAT
C0029: Cutting Edge
Cutting Edge was a campaign conducted by suspected China-nexus espionage actors, variously identified as UNC5221/UTA0178 and UNC5325, that began as early as December 2023 with the exploitation of zero-day vulnerabilities in Ivanti Connect Secure (previously Pulse Secure) VPN appliances. Cutting Edge targeted the U.S. defense industrial base and multiple sectors globally including telecommunications, financial, aerospace, and technology. Cutting Edge featured the use of defense evasion and living-off-the-land (LoTL) techniques along with the deployment of web shells and other custom malware.[1][2][3][4][5]
All related ATT&CK context
Mitigation direction
Object version and sync metadata
The fields below describe the current mirrored snapshot. When Glexia retains multiple ATT&CK source imports, you can open the table to compare the same object across releases (hashes and MITRE timestamps). For MITRE’s own release notes and roadmap, see ATT&CK resources — Updates .
Imported snapshots across ATT&CK releases (1)
| Release | Bundle imported | Object version | Modified | Status | Raw hash |
|---|---|---|---|---|---|
| 19.1 | 1.4 | Current bundle | 1f634e3439a6… |
Mirrored ATT&CK source object
The raw object is retained through the mirrored ATT&CK source bundle and object hash. The raw endpoint returns the exact object from the mirrored bundle when available.
External references and citations
MITRE external references are preserved separately from Glexia analysis so citations remain traceable to their original source records.
-
[1]
PAN DNS Tunneling
Palo Alto Networks. (n.d.). What Is DNS Tunneling?. Retrieved March 15, 2020.
Open source URL -
[2]
Medium DnsTunneling
Galobardes, R. (2018, October 30). Learn how easy is to bypass firewalls using DNS tunneling (and also how to block it). Retrieved March 15, 2020.
Open source URL -
[3]
OilRig Uses Updated BONDUPDATER to Target Middle Eastern Government
Kyle Wilhoit, Robert Falcone. (2018, September 12). OilRig Uses Updated BONDUPDATER to Target Middle Eastern Government. Retrieved July 21, 2025.
Open source URL -
[4]
DNS Beacons
Vercara. (n.d.). Retrieved July 21, 2025.
Open source URL -
[5]
University of Birmingham C2
Gardiner, J., Cova, M., Nagaraja, S. (2014, February). Command & Control Understanding, Denying and Detecting. Retrieved April 20, 2016.
Open source URL -
[6]
mitre-attack T1071.004Open source URL
Source: MITRE ATT&CK®. © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation. MITRE ATT&CK and ATT&CK are registered trademarks of The MITRE Corporation. Glexia is not affiliated with or endorsed by MITRE.