How are hackers using DNS blind spots to hide and deliver malware in 2026, and what can organizations do to detect and prevent these DNS-based cyber attacks?

In 2026, cybersecurity researchers uncovered a growing trend where hackers exploit DNS blind spots to store and deliver malware using DNS TXT records. By partitioning executable files into hexadecimal chunks and embedding them across subdomains, attackers bypass traditional security tools that don't monitor DNS traffic. This technique, active since at least 2017, uses encrypted DNS protocols like DoH and DoT, further complicating detection. Organizations must now prioritize DNS monitoring, filtering, and inspection strategies as core parts of their cyber defense frameworks to combat this stealthy malware delivery method.

Jul 18, 2025 - 10:11
Updated: 16 days ago
103.3k
How are hackers using DNS blind spots to hide and deliver malware in 2026, and what can organizations do to detect and prevent these DNS-based cyber attacks?

Quick answer: Attackers store malware pieces and PowerShell commands inside DNS TXT records, then fetch them with ordinary DNS queries. Because many networks barely inspect DNS traffic, no suspicious download or email appears. Defenders can log DNS queries, flag unusual TXT lookups and large responses, and use DNS filtering to block bad domains.

Key takeaways

  • Attackers hide malware pieces and PowerShell commands in DNS TXT records, so no suspicious download or email ever appears.
  • Log DNS queries and flag unusual TXT lookups and large responses.
  • Force clients to use your approved resolvers so you can see every query.

Table of Contents

Introduction: The Hidden World Inside DNS

Imagine receiving no suspicious email, no visible file download, and no malicious link, and yet malware sneaks into your network. That’s exactly what’s happening with a new breed of cyberattacks exploiting DNS (Domain Name System) blind spots.

DNS, which translates website names like google.com into IP addresses, has become an unexpected vector for malware storage and delivery. In 2026, security researchers uncovered sophisticated techniques where hackers hide malware inside DNS TXT records, turning internet infrastructure into a stealth malware delivery system.

What Are DNS Blind Spots?

DNS blind spots refer to areas in DNS traffic and configuration that security tools typically ignore. While organizations monitor emails, web traffic, and executables, DNS queries often go unchecked. This gap allows cybercriminals to exploit DNS as:

  • A covert file storage platform.

  • A channel for Command-and-Control (C2) communication.

  • A medium for malware delivery.

Real-World Discovery: Malware Hidden in DNS TXT Records

Using tools like DNSDB Scout, researchers found attackers storing entire executable files inside DNS TXT records. TXT records are meant to store simple domain-related text, but attackers abuse them to hide file fragments.

Example Case:

Domain: *.felix.stf.whitetreecollective[.]com

  • Hundreds of subdomains were observed.

  • Each subdomain contained a small piece of malware in hexadecimal format.

  • Researchers reassembled these fragments into fully working malware samples.

Reconstructed Malware Hashes:

SHA256 Hash Description
7ff0ecf2953b8662ede1577e330a514f09992c18aa3c14ed77cf2ffc115b0866 Joke Screenmate Malware
e7b22ba761a7f853b63933ffe517cc61596710dbdee992a429ac1bc8d04186a1 Joke Screenmate Malware

This malware displayed disruptive behavior such as fake warnings, blocking user controls, and causing performance degradation.

Beyond Malware Files: PowerShell Commands Hidden in DNS

Another disturbing find involved malicious PowerShell commands embedded in TXT records on domains like drsmitty[.]com.

These encoded scripts communicated with a Covenant C2 server at cspg[.]pw, using a stager script to deliver follow-up malware payloads.

  • Endpoint observed: /api/v1/nps/payload/stage1

  • Technique: No visible file download; everything happens through DNS traffic.

Why Is This Technique So Dangerous?

Most security systems focus on:

  • Email filters

  • Web traffic monitoring

  • File-based antivirus detection

But DNS queries are often treated as mere infrastructure chatter. Here's why that’s dangerous:

Factor Why It Matters
DNS Is Ubiquitous Every internet-connected system relies on it.
Often Unmonitored DNS logs aren't part of standard security tools.
Supports Encryption DoH (DNS over HTTPS) and DoT hide traffic content.
Persistent Data TXT records can store data for years.

Historical Context: This Isn’t New, But It’s Growing

  • First Observed: Similar C2 traffic techniques were identified as far back as 2017.

  • Current Trends: Research shows 90% of malware uses DNS in its kill chain.

  • Rising Encryption Use: Technologies like DNS over HTTPS (DoH) and DNS over TLS (DoT) are being abused to hide malicious DNS queries under the veil of privacy.

How DNS Tunneling Works (In Simple Terms)

Think of DNS tunneling like sending secret messages using puzzle pieces. Instead of sending one obvious, large file, the malware breaks it down:

  1. Convert File to Hexadecimal
    Malicious file gets converted into small hexadecimal chunks.

  2. Store in TXT Records
    Each chunk is placed into a TXT record across many subdomains.

  3. Reassemble Upon Retrieval
    Malware in the victim’s system queries each subdomain, collects all the pieces, and reassembles the original malicious file.

 Key Elements of DNS Malware Delivery

Element Description
Attack Methodology Partition malware into DNS TXT records
Example Domain *.felix.stf.whitetreecollective[.]com
Reassembled Malware Joke Screenmate Malware
Additional Discovery Malicious PowerShell commands linked to Covenant C2
First Detected Year 2017 (Persistence shown through ongoing discoveries)
Risk Amplification Rise of DoH and DoT encryption
Recommended Action Implement DNS monitoring, filtering, and C2 detection

How Organizations Can Defend Against DNS-Based Malware Attacks

1. Implement Full DNS Monitoring

Use tools that inspect DNS logs for anomalies like:

  • Unusual TXT record sizes.

  • Excessive subdomain queries.

  • Patterns resembling file reassembly.

2. Deploy DNS Filtering Solutions

Block known malicious domains proactively and use threat intelligence feeds focused on DNS abuse.

3. Enforce Strict DNS Security Policies

Combine DNSSEC, SPF, DKIM, and DMARC for domain security and integrity validation.

4. Monitor for Encrypted DNS Abuse

Use technologies that can detect suspicious encrypted DNS traffic patterns.

5. Educate Security Teams

Ensure IT and cybersecurity teams understand DNS attack vectors and regularly review DNS traffic.

Conclusion: Treat DNS as a Security Priority, Not an Afterthought

The revelation that attackers are storing executable files, PowerShell commands, and malware payloads inside DNS TXT records highlights a critical vulnerability in modern cybersecurity strategies.

Organizations can no longer afford to overlook DNS as just a simple background service. With 90% of malware using DNS in its lifecycle, DNS security must become a frontline defense component.

By investing in DNS monitoring, filtering, and threat hunting capabilities, businesses can close this blind spot and protect themselves against one of 2025’s most stealthy and dangerous cyber threats.

To take this further with guided labs and an instructor, see our hands-on SOC analyst labs.

Related reading

Reference

For the authoritative details, see IETF RFCs.

Frequently Asked Questions

It means attackers store malware within DNS records, especially TXT records, exploiting the fact that many organizations don’t monitor DNS traffic for threats.

Hackers convert malware into hexadecimal chunks, then store those chunks as text in DNS TXT records across subdomains. These chunks can later be reassembled.

Many security systems focus on emails, web traffic, or file monitoring, ignoring DNS queries, making it a blind spot attackers can exploit.

DNS tunneling uses DNS queries to secretly send and receive data, allowing malware and commands to pass through firewalls undetected.

Researchers found Joke Screenmate malware and malicious PowerShell commands embedded in DNS TXT records.

Encrypted DNS hides DNS traffic from security tools, making it harder to detect malicious queries and DNS-based malware delivery.

It has been operational since at least 2017, according to research from security experts.

DNSDB Scout is a passive DNS intelligence tool used to search for abnormal or malicious DNS records globally.

Covenant C2 servers control malware remotely, and attackers have hidden commands for these servers inside DNS TXT records.

Most antivirus tools do not inspect DNS queries deeply enough to detect malware hidden in DNS records.

TXT records can store arbitrary text data, are not usually inspected, and persist on DNS servers until manually removed.

By deploying DNS monitoring tools that inspect TXT records and flag unusual patterns or oversized DNS queries.

Yes, some ransomware gangs use DNS to hide commands, deliver payloads, or exfiltrate stolen data covertly.

Studies show about 90% of modern malware uses DNS somewhere in its operation.

Domains like felix.stf.whitetreecollective[.]com were found storing executable files as DNS TXT records.

Encrypted DNS prevents security appliances from seeing the content of DNS queries, shielding malicious traffic from inspection.

Implement DNS monitoring, filtering, encrypted DNS inspection, and block known malicious domains using threat intelligence.

It’s a method where attackers embed obfuscated JavaScript in files or records that decode themselves when triggered in a browser or system.

Executable files like malware payloads, PowerShell scripts, and base64-encoded command strings.

Standard firewalls usually don’t block DNS tunneling unless configured with DNS inspection or specialized threat detection features.

DNS security solutions, threat intelligence feeds, content disarm and reconstruction (CDR), and deep content inspection technologies.

By fragmenting payloads, using encryption, rotating domains, and ensuring queries mimic normal DNS traffic patterns.

It’s the sequence where malware uses DNS for command-and-control, payload delivery, and data exfiltration during an attack lifecycle.

It is considered a major cybersecurity risk, especially with the rise of encrypted DNS traffic and advanced obfuscation techniques.

DNS is often viewed as a simple utility service, so monitoring and security investments focus elsewhere, leaving DNS overlooked.

Any organization using large-scale IT infrastructure, especially finance, healthcare, SaaS providers, and government agencies.

Attackers use geofencing to show benign responses to non-target regions, avoiding sandbox detections during security research.

It’s a type of DNS record that stores text information about a domain, which can be abused by hackers to hide data.

Use DNS filtering services, monitor logs for unusual queries, and educate staff about new malware delivery methods.

Yes, especially if mobile apps rely on DNS queries that aren't monitored, allowing silent command-and-control communication.

What's Your Reaction?

Like Like 0
Dislike Dislike 0
Love Love 0
Funny Funny 0
Wow Wow 0
Sad Sad 0
Angry Angry 0
Vaishnavi

Vaishnavi is a skilled tech professional at the Ethical Hacking Training Institute in Pune, responsible for managing and optimizing the technical infrastructure that supports advanced cybersecurity education. With deep expertise in network security, backend operations, and system performance, she ensures that practical labs, online modules, and assessments run smoothly and securely. Her behind-the-scenes contributions play a vital role in delivering a seamless and secure learning experience for aspiring ethical hackers.