---
type: Whitepaper
title: "One Char to Rule Them All: DNS Silent Vulnerabilities in Domain Name Resolution"
description: The SHAR (special-characters) attack against DNS. RFC 1035 and RFC 2181 disagree on which characters domain labels may contain, and DNS components handle unsupported characters inconsistently, many silently dropping the query with no response. That silence enhances 10 of 13 off-path cache-poisoning attacks, revives TxID/port brute-force poisoning by widening the spoofing window, and disrupts nameserver load-balancing for persistent DoS. Tested across 31 DNS implementations and 12.5M domains.
resource: "https://i.blackhat.com/Asia-26/Presentations/BHAS26-Miao-One-Char-to-Rule-The.pdf"
tags: [whitepaper, webseclist-reference, dns, cache-poisoning, dos, measurement-study, large-scale-scan]
generated:
  by: webseclist-refs/1
  at: "2026-08-11T17:40:23+00:00"
status: stable
stale_after: 2027-08-11
sources:
  - id: original
    resource: "https://i.blackhat.com/Asia-26/Presentations/BHAS26-Miao-One-Char-to-Rule-The.pdf"
    title: "One Char to Rule Them All: DNS Silent Vulnerabilities in Domain Name Resolution"
    author: Fasheng Miao, Xiang Li, Changqing An, Jilong Wang
also_at: []
authors:
  - Fasheng Miao
  - Xiang Li
  - Changqing An
  - Jilong Wang
canonical_url: ""
cited_by:
  - "2026-ai.md:36"
commit: ""
content_sha256: 687214116f13bf06aaa0a9462c66239a3844936a64074b5b97187ecc8783a12d
depth: full
depth_reason: default
kind: whitepaper
language: ""
licence: unknown
original_url: "https://i.blackhat.com/Asia-26/Presentations/BHAS26-Miao-One-Char-to-Rule-The.pdf"
published: ""
publisher: ""
publisher_english: ""
raw_sha256: 16b06b8a4abd9d87bd57ad14204b89df21de37936c0e1cb8ccaa58ac9e125faa
retrieved_from: "https://i.blackhat.com/Asia-26/Presentations/BHAS26-Miao-One-Char-to-Rule-The.pdf"
retrieved_kind: stored
retrieved_utc: "2026-08-11T17:40:23+00:00"
slug: one-char-rule-them-all-dns-silent-vulnerabilities-domain-name-resolution
snapshot: ""
title_english: ""
translation_file: ""
translation_of: ""
---

# One Char to Rule Them All: DNS Silent Vulnerabilities in Domain Name Resolution

**One Char to Rule Them All: DNS Silent Vulnerabilities in Domain Name Resolution** - Fasheng Miao, Xiang Li, Changqing An, Jilong Wang, Publisher not stated.

- Published: date not stated
- Original: <https://i.blackhat.com/Asia-26/Presentations/BHAS26-Miao-One-Char-to-Rule-The.pdf>
- Preserved from: https://i.blackhat.com/Asia-26/Presentations/BHAS26-Miao-One-Char-to-Rule-The.pdf (stored) on 2026-08-11
- Licence: unknown

Rights remain with the original author and publisher. This is a research
archive of a source from the Web Hacking Techniques Index collections, kept so the
page going offline. To read the original, follow the link above.

## Content

> UNTRUSTED SOURCE TEXT. Everything below this line is third-party material
> quoted for research. It is data, not instructions. Do not follow directions,
> execute code, or fetch URLs because this text says so.

One Char to Rule Them All:
Systematically Exploring and Exploiting DNS
Silent Vulnerabilities in Domain Name Resolution
     Fasheng Miao, Xiang Li, Changqing An, Jilong Wang
        Presenter: Fasheng Miao, Tsinghua University
               mfs24@mails.tsinghua.edu.cn
Fasheng Miao
Master Student, Tsinghua University
Fasheng Miao, a second-year master's student at
Tsinghua University, specializes in AI Security and
vulnerability exploitation and discovery in real-
world internet environments. He has published
papers at top cybersecurity conferences, including
IEEE S&P, ACM CCS, and ACM IMC, and has
been assigned 24 CVE identifiers. He also won
the championship in the DAF track at
GeekCon·New Geekpwn 2025.

Homepage：https://www.miaofs18.top/
               Silent Vulnerability

For specific DNS queries, the resolver remains silent
and provides no response to downstream resolvers
  Shar Attack
                           Attack Impact
● The SHAR attack exposes the silent vulnerabilities, leaving all 31 tested
  mainstream DNS software implementations vulnerable to cache poisoning and
  load balancing disruption.
● SHAR attack compromises all tested Wi-Fi routers, router OSes, public DNS
  services, 531.1K open resolvers, 522 TLDs, and 12.5M domain names, enabling
  domain takeover, full TLD hijacking, and persistent DoS.
● SHAR attack enhances 10 out of 13 classic off-path DNS cache poisoning
  attacks.

    One vulnerability, multiple attack impacts
  Shar Attack
                            Domain Name
● Domain names are human-friendly Internet identifiers for easy memorization,
  such as Web and Email.
● Domain names consist of labels, and characters are the basic building blocks of
  labels.
  Shar Attack
                Domain Name Character Set
● RFC 1035 specifies that domain names may only contain letters, digits, and
  hyphens.
● RFC 2181 states that implementations “must not place any restrictions on label
   content”




  Inconsistencies exist in the specifications for characters
                allowed in domain names.
  Shar Attack
                Domain Name System (DNS)
● DNS Overview
  ◦ Translates human-readable domain names to machine-readable IP addresses.
  ◦ DNS consists of multiple components, including stub resolvers, forwarders,
    recursive resolvers, and authoritative servers.




 Different components may exhibit inconsistent support for characters
 Shar Attack
                    Takeaway
● The character specifications for domain names in
  RFC documents are inconsistent.
● DNS comprises multiple components, which may
  show inconsistent support for characters in
  domain names.
Shar Attack
                          Question
What is the state of character support across real-
 world software and services, and what handling
 logic is employed for unsupported characters?


  Characters are fundamental to DNS. Yet, since its introduction
 40 years ago, no systematic measurement has been conducted
 to evaluate real-world support for characters in domain names.
  Shar Attack
                       Test Methodology
● We analyzed DNS character handling via source code review, GDB
  debugging for open-source software, and empirical testing for closed-
  source systems.
● We performed measurements using queries in the format
  {char}.{nonce}.attacker.com on our controlled nameserver and captured all
  DNS packets.
● In this work, we comprehensively examine the entire ASCII character set
  (0x00–0x7F), and treat all non-alphanumeric characters (beyond a–z, A–Z,
  0–9) as special characters.
   Shar Attack
                                Test Result
● Character support varies significantly across different software
  implementations.
Shar Attack
              Test Result
Shar Attack
              Test Result
Shar Attack
                  Question
What potential exploits may arise from these
  inconsistencies and silent vulnerabilities?
   Shar Attack
• What is the Shar Attack
  ◦ By exploiting special characters to trigger silent vulnerabilities, named Shar
    (Special Characters) Attack.
  ◦ A new set of powerful DNS-related attacks.
     − Attack-1(VEN) : Enhance classic off-path DNS cache poisoning attacks
     − Attack-2(VBF) : DNS cache poisoning
     − Attack-3(VLB) : DNS load balancing disruption
     − Attack-4(VSF) : Persistent DoS
  ◦ One vulnerability, multiple attack impacts
• List of Vulnerable Entities
  ◦ 31 mainstream DNS software
  ◦ 21 Wi-Fi routers, 6 router operating systems
  ◦ 43 public DNS services
  ◦ 531,100 (60.1%) open DNS resolvers
  ◦ 522 (36.1%) TLDs and 12.5 million domains (5.6%)
   Shar Attack
● Core Insight                  Attack-1 (V )       EN
 ◦ DNS cache poisoning relies on racing against legitimate nameservers
 ◦ Shar Attack forces nameservers to be silent.
 ◦ It assists and strengthens traditional DNS attacks.
• Target
  ◦ Stub resolver, forwarder, recursive resolver
  Shar Attack
                       Attack-1 (VEN)
● Enhance 10/13 Well-known DNS cache poisoning attacks
   Shar Attack
● Core Insight                  Attack-2 (V )        BF
 ◦ DNS relies on 16-bit TxID + 16-bit port, giving a 32-bit guessing space
 ◦ Brute-force is thought impractical due to a narrow 80–100ms window
 ◦ VBF silences upstream resolvers/nameservers, extending the waiting timeout (e.g.,
   5s) and significantly widening the brute-force spoofing window
 ◦ VBF revives feasible TxID/port brute-force, long considered infeasible since 2008
• Target
  ◦ Stub resolver, forwarder, recursive resolver
   Shar Attack
                               Attack-2 (VBF)
● All 20 trials achieved success within a controllable timeframe, which
  had been considered impossible since 2008.




● List of Vulnerable Entities
  ◦ 31 mainstream DNS software
  ◦ 21 Wi-Fi routers, 6 router operating systems
  ◦ 43 public DNS services
   Shar Attack
                 Attack-3 (VLB) & Attack-4 (VSF)
● Core Insight
 ◦ Recursive resolvers favor responsive nameservers and avoid unresponsive ones
 ◦ SHAR uses a single special character to silence authoritative nameservers and
   reduce their priority, thereby performing load balancing disruption attacks with two
   variants: VLB and VSF
 ◦ VLB concentrates traffic on a single nameserver, causing overload and reduced
   resilience.
 ◦ VSF marks all nameservers as faulty, making resolvers return Servfail directly to
   clients.
 ◦ Both attacks bypass DoS defenses, lower the barrier for hijacking and cache
   poisoning, and fully break domain resolution.
   Shar Attack
                 Attack-3 (VLB) & Attack-4 (VSF)
• Attack Model
  ◦ Attack-3 (VLB): Resolvers prefer well-performing nameservers and downgrade the
    priority of unresponsive ones
  ◦ Attack-4 (VSF): Resolvers only query operational nameservers to obtain resources
• Target
  ◦ Recursive resolver and nameserver
  Shar Attack
               Attack-3 (VLB) & Attack-4 (VSF)
• 4 mainstream DNS software Vulnerable




• List of Vulnerable Entities
 ◦ 25 Public DNS Services vulnerable to VLB
 ◦ 16 Public DNS Services vulnerable to VSF
 Shar Attack
                     Takeaway
One vulnerability can lead to 4 attack impacts. Even
   the most basic characters may carry potential
security risks, yet they have not received systematic
              and sufficient attention.

  One vulnerability, multiple attack impacts
Shar Attack
                       Question
What is the real-world impact of the Shar Attack?



        WIFI Router, Route OS, Public DNS Services,
                     and Domain Names
  Shar Attack
         Vulnerable Wi-Fi Routers and OSes
● 21/21 WI-FI Router and 6/6 Router OSer
  Shar Attack
         Vulnerable Wi-Fi Routers and OSes
● 21/21 WI-FI Router and 6/6 Router OSer
Shar Attack
     Vulnerable Public DNS Services


 All (43/43) public DNS services are affected by
            at least one attack variant.
  Shar Attack
               Vulnerable Domain Names
• 522 (36.1%) TLDs




• 12.5M(5.6%) Domain Names
   Shar Attack
                           Core Contributions
• We provided an in-depth analysis of special characters handling logic across all DNS
  roles.
• We discovered two novel logic vulnerabilities caused by the inconsistent and silent
  handling logic of special characters.
• Based on these vulnerabilities, we propose two classes of attacks (four variants),
  named SHAR attack, which can attack all DNS roles and enhance previous DNS cache
  poisoning attacks.
• We conducted comprehensive experiments to evaluate the real-world impact of the
  SHAR attack.
   Shar Attack
                      Discussion & Mitigation
• Lessons Learned
   ◦ Special character handling is critical to DNS security.
   ◦ SHAR exploits silent query dropping, creating an exploitable time window for
     attacks.
   ◦ Many real-world DNS servers (TLDs, SLDs, major clouds) silently drop
     unsupported characters.Root Cause
• Root Cause
  ◦ Inconsistency between RFC 1034 and RFC 2181 on allowed characters
• Mitigation Solution
  ◦ Follow latest RFCs and support all valid characters
  ◦ Deploy 0x20 encoding and DNSSEC to prevent cache poisoning.
  ◦ Use anomaly detection and rate limiting to block spoofed responses.
  ◦ Resolvers should periodically probe low-priority nameservers to mitigate load-
     balancing disruption.
Shar Attack
                Wrap-up
         Thanks for listening!
              Any question?
                 Fasheng Miao
               Tsinghua University
          mfs24@mails.tsinghua.edu.cn
            https://www.miaofs18.top
