Gold Open Source
ExplorePackagesVulnerabilitiesCWEsMCP ServersScan
Login
Gold Open Source

The authoritative source for production-ready open-source components. Every package, container image, AI model, and MCP server undergoes rigorous verification for security, malware, and license compliance.

Explore Gold

  • Explore Everything
  • Packages
  • Gold Certified Packages
  • Container Images
  • AI Models
  • MCP Servers
  • Agent Skills
  • Chip Manufacturers

Security Data & Tools

  • Scan Your Dependencies
  • Trending Threats
  • Threat RSS Feeds
  • CVE Database
  • Actively Exploited (KEV)
  • SGZ Zero-Days
  • CWE Index
  • MITRE ATT&CK
  • Malicious Packages
  • Security Glossary
  • Supply-Chain Report
  • Developers (API & Badge)
  • Chrome Extension
  • Credits & Data Sources

Products

  • The Platform
  • ESSCM
  • Portal
  • TPRM
  • OSM
  • Cowork
  • Code / Runner
  • Guard

Use Cases

  • Know Your Software
  • Auto-Fix Vulnerabilities
  • Asset Discovery
  • AI Governance
  • MCP Server Security
  • Supply Chain Compliance
  • Zero-Day Discovery
  • All Use Cases

Company

  • About
  • Pricing
  • Blog
  • Documentation
  • Safeguard Academy
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 Gold Open Source. All rights reserved.

Built with care bySafeguard
Home/ATT&CK/T1071/T1071.004
MITRE ATT&CK Sub-Technique

T1071.004: DNS

ShareXLinkedInRedditHN

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.(Citation: PAN DNS Tunneling)(Citation: Medium DnsTunneling) 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](https://attack.mitre.org/techniques/T1572)). The commands may be embedded into different DNS records, for example, TXT or A records.(Citation: OilRig Uses Updated BONDUPDATER to Target Middle Eastern Government) DNS beacons may be difficult to detect because the beacons infrequently communicate with infected devices.(Citation: DNS Beacons) Infrequent communication conceals the malicious DNS traffic with normal DNS traffic.

Tactics
Command and Control
Platforms
ESXi, Linux, macOS, Network Devices, Windows

▪Parent technique

T1071: Application Layer Protocol

▪Mitigations (2)

M1037Filter Network Traffic

Employ network appliances and endpoint software to filter ingress, egress, and lateral network traffic. This includes protocol-based filtering, enforcing firewall rules, and blocking or restricting traffic based on predefined conditions to limit adversary movement and data exfiltration. This mitigation can be implemented through the following measures: Ingress Traffic Filtering: - Use Case: Configure network firewalls to allow traffic only from authorized IP addresses to public-facing servers. - Implementation: Limit SSH (port 22) and RDP (port 3389) traffic to specific IP ranges. Egress Traffic Filtering: - Use Case: Use firewalls or endpoint security software to block unauthorized outbound traffic to prevent data exfiltration and command-and-control (C2) communications. - Implementation: Block outbound traffic to known malicious IPs or regions where communication is unexpected. Protocol-Based Filtering: - Use Case: Restrict the use of specific protocols that are commonly abused by adversaries, such as SMB, RPC, or Telnet, based on business needs. - Implementation: Disable SMBv1 on endpoints to prevent exploits like EternalBlue. Network Segmentation: - Use Case: Create network segments for critical systems and restrict communication between segments unless explicitly authorized. - Implementation: Implement VLANs to isolate IoT devices or guest networks from core business systems. Application Layer Filtering: - Use Case: Use proxy servers or Web Application Firewalls (WAFs) to inspect and block malicious HTTP/S traffic. - Implementation: Configure a WAF to block SQL injection attempts or other web application exploitation techniques.

M1031Network Intrusion Prevention

Use intrusion detection signatures to block traffic at network boundaries.

▪Used by groups (11)

G0004Ke3changG0026APT18G0046FIN7G0049OilRigG0080Cobalt GroupG0081Tropic TrooperG0087APT39G0096APT41G0114ChimeraG0140LazyScripterG1003Ember Bear

▪Software using this technique (43)

S0013PlugXmalwareS0022UroburosmalwareS0070HTTPBrowsermalwareS0124PisloadermalwareS0125RemsecmalwareS0145POWERSOURCEmalwareS0146TEXTMATEmalwareS0154Cobalt StrikemalwareS0157SOUNDBITEmalwareS0167MatryoshkamalwareS0170HelminthmalwareS0184POWRUNERmalwareS0228NanHaiShumalwareS0260InvisiMolemalwareS0269QUADAGENTmalwareS0338Cobian RATmalwareS0354DenismalwareS0360BONDUPDATERmalwareS0377EburymalwareS0477GoopymalwareS0495RDATmalwareS0504AnchormalwareS0514WellMessmalwareS0559SUNBURSTmalwareS0596ShadowPadmalwareS0615SombRATmalwareS0633SlivertoolS0663SysUpdatemalwareS0666GelsemiummalwareS0690Green LambertmalwareS0699MythictoolS1014DanBotmalwareS1015MilanmalwareS1019SharkmalwareS1020KevinmalwareS1021DnsSystemmalwareS1027Heyoka BackdoormalwareS1047MorimalwareS1063Brute Ratel C4toolS1090NightClubmalwareS1111DarkGatemalwareS9001SystemBCmalwareS9015BRICKSTORMmalware

▪Reference

T1071.004on MITRE ATT&CK

MITRE ATT&CK® is a registered trademark of The MITRE Corporation. © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation.