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.
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
- What Are DNS Blind Spots?
- Real-World Discovery: Malware Hidden in DNS TXT Records
- Beyond Malware Files: PowerShell Commands Hidden in DNS
- Why Is This Technique So Dangerous?
- Historical Context: This Isn’t New, But It’s Growing
- How DNS Tunneling Works (In Simple Terms)
- Key Elements of DNS Malware Delivery
- How Organizations Can Defend Against DNS-Based Malware Attacks
- Conclusion
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:
-
Convert File to Hexadecimal
Malicious file gets converted into small hexadecimal chunks. -
Store in TXT Records
Each chunk is placed into a TXT record across many subdomains. -
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
- What Are the Top 10 DNS Attack Types in 2026? Full Guide with Examples, Techniques, and Prevention
- Can SVG Files Contain Malware? Understanding How Attackers Use SVGs for JavaScript-Based Phishing (2026 Guide)
- What are the different types of DNS attacks and how can SOC teams prevent them in 2026?
Reference
For the authoritative details, see IETF RFCs.
Frequently Asked Questions
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Wow
0
Sad
0
Angry
0