Join our Newsletter — 33% off our NHI Course
Home› Guides› D3-HDL Homoglyph Denylisting: How It Contains Attacks and…
Guide Network Security

D3-HDL Homoglyph Denylisting: How It Contains Attacks and How to Verify It

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, edited by Lalit Choda Updated 12 November 2026 9 min read
On this page

Lookalike domains work because a person cannot tell gooogle.com from google.com, or a Cyrillic "а" from a Latin "a", at a glance, so the safest place to stop them is before the name resolves. MITRE D3FEND names the countermeasure Homoglyph Denylisting (D3-HDL) and defines it as "Blocking DNS queries that are deceptively similar to legitimate domain names." It sits under the Isolate tactic as a child of Forward Resolution Domain Denylisting (D3-FRDDL), which blocks Outbound Internet DNS Lookup Traffic. This card explains how to build and maintain a lookalike denylist for the domains you care about, the ATT&CK techniques D3FEND relates to it, how to test it and where it falls short. It is for DNS, email security and brand protection teams; detection of lookalikes in mail and URLs is covered separately in D3-HD Homoglyph Detection.

Key takeaways

  • Denylisting is the enforcement half. Homoglyph Detection finds lookalikes; Homoglyph Denylisting stops your resolvers answering for them.
  • Generate, then confirm. Permutation tools produce thousands of candidate lookalikes of your domains; only the registered ones need to go on a live denylist, and the full set needs watching for new registrations.
  • Punycode is what the resolver sees. An internationalised lookalike arrives as an xn-- label, so the denylist must hold the ASCII form.
  • D3FEND relates it to two techniques. Application Layer Protocol: DNS (T1071.004) and Dynamic Resolution (T1568), inferred through DNS traffic; the practical value is mostly against phishing and impersonation infrastructure.
  • Currency is the hard part. D3FEND warns that keeping the list current is a challenge, "especially with newly registered domain entries."

D3-HDL at a glance

AttributeValue
D3FEND IDD3-HDL (d3f:HomoglyphDenylisting)
TacticIsolate
Parent techniqueForward Resolution Domain Denylisting (D3-FRDDL), under DNS Denylisting
Digital artefactOutbound Internet DNS Lookup Traffic (relation inherited from the parent: blocks)
SynonymHomoglyph Blacklisting
D3FEND referenceUniversity of Twente thesis: Detection of Malicious IDN Homoglyph Domains Using Active DNS Measurements
Where it runsInternal resolvers, protective DNS services, secure web gateways
Main limitationCovers only lookalikes of names on your reference list, and only once they are known

How it works

D3FEND describes a resolver that "considers the domain and subdomain structure of a lookup and compares the named components to blacklisted named components." The listed components are "crafted modifications of known good domains", and the list also accounts for fonts and Unicode characters that look alike, such as zero and capital O, or lower case l and the number one.

In practice there are two kinds of lookalike, and they reach the resolver differently.

Lookalike familyExamples of the patternWhat the resolver seesHow to generate candidates
Same-script typos and swapsDoubled or dropped letters, transposed letters, rn for m, 0 for o, an added hyphen, a different top-level domainPlain ASCII namesPermutation tools with typo, omission, repetition, transposition, hyphenation and TLD-swap algorithms
Internationalised (IDN) homoglyphsA Cyrillic or Greek letter replacing a Latin one, or a whole label written in confusable letters from another scriptAn ASCII label beginning xn-- (Punycode)Homoglyph fuzzers built on Unicode confusables data; convert each result to its xn-- form before listing

Browsers already defend the display side. Chromium shows a label as punycode instead of Unicode when it mixes Latin, Cyrillic and Greek, when every letter belongs to a confusable set that does not match the top-level domain, or when its skeleton matches a top domain, and it can show a lookalike warning interstitial. Those protections do not cover mail clients, chat links, scripts or non-browser software, which is why a resolver-level block still adds value.

ATT&CK techniques D3FEND relates to D3-HDL

D3FEND labels these relationships as inferred and experimental, derived from the DNS traffic artefact.

TechniqueSource of relationshipPractical value of D3-HDL
T1071.004 Application Layer Protocol: DNSD3FEND (inferred)Low on its own: command and control domains rarely imitate your brand, though some imitate well-known services to blend in
T1568 Dynamic ResolutionD3FEND (inferred)Low to moderate: blocks known lookalike names, not algorithmically generated ones
T1583.001 Acquire Infrastructure: DomainsNHI Mgmt Group view, not a D3FEND mappingThe adversary registers lookalikes in advance; listing registered permutations removes their use against your users
T1566.002 Phishing: Spearphishing LinkNHI Mgmt Group view, not a D3FEND mappingThe highest practical value: a click on a lookalike link fails to resolve on managed devices

See MITRE ATT&CK T1566 Phishing and T1583 Acquire Infrastructure for the attacker side.

Where it is implemented

  • Internal resolvers: lookalike entries loaded as Response Policy Zone records or local zones, alongside other denylists. The mechanics are the same as in D3-HDDL Hierarchical Domain Denylisting; list each lookalike apex and its subdomains.
  • Protective DNS services: many offer a custom block list and newly registered domain categories that catch fresh lookalikes. See the Protective DNS Guide.
  • Secure web gateways and mail gateways: block the same list at URL and sender level so the control holds where DNS is not involved.
  • Brand monitoring: permutation and registration monitoring feeds the list. Open source tools such as dnstwist generate permutations, check which are registered, and compare page content with fuzzy hashes and screenshots with perceptual hashes.

Implementation steps

  1. Build the reference list: your own registered domains, login and single sign-on domains, payment and supplier portals, and the external services your staff sign in to most.
  2. Generate candidates: run permutation and homoglyph generation for each reference domain, across the top-level domains that matter to you, and convert IDN results to their xn-- form.
  3. Remove what you own: exclude defensive registrations held by your organisation, and note that Chromium recommends a single HTTP 301 or 302 redirect from defensive registrations to the canonical domain.
  4. Confirm registration: list registered lookalikes for blocking now; keep unregistered candidates on a watch list that is rechecked on a schedule.
  5. Pilot in log-only mode: watch for hits for a week. A legitimate partner or regional site may sit close to your name.
  6. Enforce: return NXDOMAIN or a block page, and send every hit with the client address to the SIEM.
  7. Act on hits: a hit is a likely phishing click or a misconfiguration; check the user's mailbox and browser history, and consider takedown. See the Brand Impersonation and Lookalike Domain Takedown Playbook.
  8. Rollback: keep a high-precedence exemption that can release a single name quickly, with a change record.

How to verify it works

  • Fixed test set: keep a small set of known lookalikes, including at least one xn-- name, on the denylist and query them from each network segment and from roaming devices.
  • Subdomain test: query a random subdomain of a listed lookalike; it should be blocked too.
  • Freshness test: track the time from a lookalike being registered (or reported) to the block being live.
  • Bypass test: confirm that clients cannot reach an outside resolver directly or through unmanaged encrypted DNS.

Metrics (examples, not standards)

MetricWhy it mattersExample target
Registered lookalikes of reference domains that are blockedCoverage100 per cent of confirmed malicious or unknown-owner lookalikes
Hours from registration or report to blockCurrency, which D3FEND flags as the challengeWithin one working day
Hits per month and share investigatedDetection valueEvery hit triaged
False positive exemptions per monthList qualityTrending down
Watch list recheck intervalCatching new registrationsDaily or weekly, depending on exposure

Limits, bypasses and failure patterns

  • Lists that stop at your own domains: attackers imitate the services your staff log in to as often as your brand. Include major identity, collaboration and payment providers in the reference list.
  • Storing Unicode instead of punycode: a resolver denylist keyed on Unicode text will never match the xn-- query on the wire.
  • Blocking only the apex: lookalike campaigns often use hostnames such as login. or secure. under the lookalike domain; block the subdomains too.
  • Unrelated but convincing domains: a domain that uses your brand plus a word ("brand-support") or a new top-level domain may not appear in permutation output. Add dictionary-based generation and newly registered domain blocking.
  • Off-network devices: laptops and phones outside the corporate resolver are unprotected unless the block follows them through an endpoint agent or protective DNS.
  • Treating a hit as solved: the user who clicked may already have entered credentials on another channel. Investigate and, where needed, reset credentials and revoke sessions.

Where identity fits

Most lookalike domains exist to harvest credentials: sign-in pages for single sign-on, cloud consoles and developer platforms. Blocking resolution protects managed devices, but it does not protect a password typed on an unmanaged phone. Phishing-resistant authentication bound to the real origin removes the value of the stolen credential. See D3-MFA Multi-factor Authentication.

Framework mapping

FrameworkReferenceFit
NIST SP 800-53 Rev. 5SC-7 Boundary ProtectionBlocking communication with deceptive destinations
NIST SP 800-53 Rev. 5SC-21 Secure Name/Address Resolution Service (Recursive or Caching Resolver)The resolver tier where the control lives
NIST SP 800-53 Rev. 5SI-4 System MonitoringHits as detections
NIST CSF 2.0PR.IR-01 Networks and environments are protected from unauthorized logical access and usageEnforcement
NIST CSF 2.0ID.RA-03 Internal and external threats to the organization are identified and recordedLookalike monitoring
CIS Controls v8.19.2 Use DNS Filtering ServicesDirect
ATT&CK mitigationsM1021 Restrict Web-Based ContentClosest mitigation

This mapping is NHI Mgmt Group's view; D3FEND does not publish it.

Practitioner checklist

  • Maintain a reference list of your domains and the services your staff sign in to.
  • Generate same-script and IDN permutations for each reference domain.
  • Store IDN entries in their xn-- form.
  • Block registered lookalikes and their subdomains; watch unregistered ones.
  • Exclude your own defensive registrations and redirect them to the canonical domain.
  • Pilot in log-only mode, then enforce with NXDOMAIN or a block page.
  • Triage every hit as a possible phishing click.
  • Extend the block to roaming devices and to mail and web gateways.

Standards and references

Related NHI Mgmt Group resources: Typosquatting and Lookalike Domains Guide · Unicode Security · Domain Portfolio and Lookalike Domain Management Guide · Protective DNS Guide

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Researched and written by the NHI Mgmt Group editorial team using AI tools, under the editorial direction of Lalit Choda. Facts are drawn from the sources listed on this page and checked by our automated quality process. Last updated 12 November 2026. Spotted an error? Use our contact page.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM and Agentic AI security. nhimg.org

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick the PDF box to continue.