Cybersecurity glossary

What is a Homograph Attack?

Learn what a homograph attack is, how attackers use visually confusable characters in domain names, and how defenders reduce risk with IDN review, monitoring, and user-facing controls.

DNS and infrastructureUpdated July 23, 2026
Also known asUnicode lookalike attackIDN homograph attackconfusable-character domain attack

Definition

A homograph attack is a deception technique in which an attacker uses characters that look like trusted letters or words—often across different scripts in an internationalized domain name—to make a malicious identifier appear legitimate to a human viewer.

Why homograph attacks work

A homograph attack succeeds because people read shapes faster than they read code points. If a fraudulent domain uses characters that look like the letters in a trusted brand, a hurried user may never notice the substitution before entering credentials or approving a payment. The attack often sits at the intersection of IDNs, Punycode, and phishing operations. It is not the same as typosquatting, because the victim may type nothing incorrectly at all; the problem is visual deception, not a keyboard slip.

The ingredients of a homograph domain

Confusable characters

Attackers choose characters that resemble trusted letters closely enough to fool casual inspection, especially in small fonts.

Mixed-script strategy

Some attacks combine characters from multiple scripts so the resulting word still looks familiar to the target audience.

IDN transport

The malicious label is often registered as an IDN and carried through infrastructure in its encoded Punycode form.

Phishing objective

The domain is usually just a delivery vehicle for credential theft, malware, or business-email compromise.

How a homograph campaign unfolds

1

Choose a brand worth impersonating

The attacker starts with a high-trust target such as a bank, SaaS login portal, or executive communication brand.

2

Swap in confusable characters

Visually similar Unicode characters are substituted for one or more letters in the trusted domain name.

3

Register the lookalike as an IDN

The domain is registered and encoded so DNS can serve it while users still see the deceptive visual form.

4

Build a convincing lure

A phishing site, cloned SSO page, malware drop, or invoice portal is placed behind the domain.

5

Drive victims to the domain

Email, ads, chat messages, search poisoning, or social posts are used to send traffic to the fake site.

6

Exploit trust before detection

The attacker captures credentials, tokens, or payments before the domain is blocked or taken down.

How defenders can read homograph signals

Effective detection usually combines human-review cues with machine-friendly encoding and script analysis.

ElementWhat it meansWhy it matters
Visual similarityThe label looks like a trusted brand or login host even though the underlying characters differ.Humans are vulnerable to this at speed, which is why screenshots and plain visual review still matter in triage.
Script mixingCharacters come from multiple writing systems or an unusual script combination for the claimed brand.Unexpected script mixes are one of the strongest machine-detectable indicators of likely deception.
Punycode presenceThe `xn--` form appears in DNS data, CT logs, or browser diagnostics.This gives analysts an easy pivot into the underlying IDN even when the phishing lure hides the encoding from users.
Context of useThe domain appears in credential prompts, password-reset flows, invoices, or executive impersonation traffic.A suspicious domain becomes much higher priority when it is tied to a known phishing or fraud scenario.

Controls that reduce homograph risk

No single filter solves visual deception, so layered controls matter.

  • Monitor brand-related [IDN](/glossary/internationalized-domain-name-idn) registrations and their `xn--` forms, not just ASCII typos.
  • Teach employees and customers to rely on bookmarks and password managers rather than visual memory for critical login domains.
  • Use exact-host checks in password managers and SSO tooling so credentials do not autofill on lookalike sites.
  • Inspect new suspicious domains for mixed-script or confusable-character patterns before classifying them as ordinary typos.
  • Feed phishing defenses with [Punycode](/glossary/punycode) decoding so lookalikes are not missed during automated triage.
  • Register key brand variants when appropriate, including high-risk multilingual or confusable character combinations.
  • Combine domain monitoring with [DMARC](/glossary/domain-based-message-authentication-reporting-and-conformance-dmarc) and other email controls because many homograph attacks arrive by mail.
  • Prepare takedown and customer-notification playbooks that explicitly mention lookalike Unicode domains, not just generic phishing sites.

Not every IDN lookalike is malicious

Many legitimate multilingual domains contain characters that happen to be confusable in some fonts. The challenge is to judge them in context: script policy, brand ownership, certificate history, and campaign behavior all matter more than a raw Unicode flag alone. That is why defenders should separate the language feature from the abuse pattern. IDNs support global naming; a homograph attack abuses that flexibility to manufacture trust that was never earned.

The practical takeaway

A homograph attack uses lookalike characters to make a malicious domain or identifier appear trustworthy to human eyes. The practical takeaway is to inspect both the visual label and the encoded one. Strong domain monitoring, exact-host protections, and script-aware review catch homograph abuse more reliably than visual intuition alone.

Related security terms

Frequently asked questions

What is a homograph attack in simple terms?

It is when an attacker uses lookalike characters so a malicious domain or identifier appears to be a trusted name at a quick glance.

Are homograph attacks the same as typosquatting?

No. Typosquatting relies on keyboard mistakes. Homograph attacks rely on visual similarity between characters or scripts.

Do homograph attacks always involve another alphabet?

Often, but not always. The core idea is visual confusion, which can come from mixed scripts, unusual fonts, or carefully chosen Unicode characters.

Why does Punycode matter here?

Because many homograph domains are implemented as IDNs, and their encoded `xn--` form is what defenders often see in logs and certificates.

Can browsers protect users from homograph attacks?

Browsers apply heuristics and display rules, but those safeguards vary and do not eliminate the need for domain monitoring and user education.

Should companies block all IDNs to stop homograph attacks?

Usually no. Many legitimate users need IDNs. A better approach is script-aware policy, brand monitoring, and exact-host protections such as password managers.

References

Explore authoritative guidance and frameworks related to homograph attack.

Explore every security definition

Return to the glossary to search by term, alias, starting letter, or security category.

Browse glossary