Look at these two addresses: "apple.com" and "аpple.com". On most screens they are identical. The second one, though, begins with a Cyrillic letter "а", not a Latin "a", which makes it an entirely different domain that anyone could register. That is a homograph attack: using characters that look the same but are technically different to create a web address that impersonates a real one.
This article explains how homograph attacks work, why internationalised domain names make them possible, how browsers and email clients try to defend against them, and what businesses can do to protect their customers and staff.
Homograph Attack Defined
A homograph is a word that looks like another word but has a different meaning or origin. In security, a homograph attack (also called an IDN homograph attack, homoglyph attack or script spoofing) uses visually similar characters to trick people into trusting a malicious domain, email address or link.
The characters that make this possible are called homoglyphs: characters from different alphabets, or different combinations of characters, that render identically or nearly identically. The Latin "o", the Greek "ο" (omicron) and the Cyrillic "о" all look the same in most fonts. To a computer, they are three different code points. To a human reader, they are the same letter.
How Internationalised Domain Names Made It Possible
For most of the internet's history, domain names could contain only the letters a to z, the digits 0 to 9 and the hyphen. That excluded billions of people whose languages use other scripts.
Internationalised domain names (IDNs) solved this. Since the early 2000s, domains can contain characters from Arabic, Chinese, Cyrillic, Greek, Hindi and many other scripts. Under the hood, the domain system still only handles ASCII, so IDNs are converted into an encoding called punycode. A punycode domain always begins with "xn--".
For example, a domain that displays as "аpple.com" with a Cyrillic "а" is stored as an xn-- string. Registrars register the xn-- form, DNS resolves the xn-- form, and the browser decides whether to show you the Unicode version or the punycode version.
That last decision is where homograph attacks live. If the browser, email client or app shows the Unicode form, the reader sees "apple.com". If it shows the punycode form, the reader sees something obviously strange.
Common Homoglyphs Attackers Use
Attackers favour characters that are indistinguishable in common fonts:
- Cyrillic: а (a), е (e), о (o), р (p), с (c), х (x), у (y), і (i), ј (j), ѕ (s)
- Greek: ο (o), ν (v), α (a, in some fonts), ρ (p), τ (t, in some fonts)
- Latin lookalike combinations (no Unicode needed): "rn" for "m", "vv" for "w", "cl" for "d", "0" for "o", "1" or "l" for "I"
The Latin combinations are not technically IDN homographs, but they are used for the same purpose and are often more effective because they display normally everywhere.
Tip: Brand names made entirely of letters with Cyrillic twins, such as "apple", "paypal" or "ebay", are especially exposed, because the whole name can be written in a single non-Latin script.
Mixed-Script vs Single-Script Attacks
Browsers try to detect homograph attacks by looking at the mix of scripts in a domain.
Mixed-script domains combine characters from different alphabets, such as Latin letters with one Cyrillic letter. This is unusual for legitimate domains, so most modern browsers display these as punycode. The attack is exposed in the address bar.
Single-script domains use one alphabet throughout. A name written entirely in Cyrillic looks perfectly legitimate to a script-mixing check, because it could be a genuine Cyrillic word. Browsers apply additional rules, such as checking whether the name resembles a well-known Latin domain, but these are heuristics and are not perfect.
That is why single-script lookalikes are the most dangerous form of homograph attack, and why security researchers repeatedly demonstrate convincing spoofs of major brands using all-Cyrillic domains.
Where Homograph Attacks Show Up
Phishing email
This is the main delivery route. An email from "security@аpple.com" or "billing@rnicrosoft.com" asks the reader to log in, confirm a payment or download an invoice. Email clients vary widely in how they display Unicode sender addresses, and few show punycode.
Messaging apps and social media
Links in messages and posts are often shortened or previewed, and many apps render Unicode freely.
Malicious ads and search results
Attackers sometimes buy ads that point at lookalike domains, or host lookalike sites that rank briefly for brand searches before being removed.
Software supply chain
Homoglyphs are also used in package names, repository names and code identifiers, where a single swapped character can trick a developer into installing malicious code.
How Browsers and Email Clients Defend Against It
Defences have improved a lot since the first public demonstrations of IDN spoofing.
- Punycode display rules. Chrome, Firefox, Safari and Edge all display suspicious IDNs as punycode, using script-mixing checks, confusable character lists and comparisons against popular domains.
- Safe browsing lists. Known phishing domains are blocked or flagged with a full-page warning.
- Registry restrictions. Many registries restrict which scripts can be combined in one domain, and some block registrations that are confusable with existing names.
- Email security gateways. Business email filters increasingly flag sender domains that are confusable with the recipient's own domain or with major brands.
These defences catch a lot, but they are not complete. A freshly registered lookalike often works for hours or days before it reaches a block list, and that is all a phishing campaign needs. The Unicode Consortium's security considerations for identifiers document is the reference most of these defences are built on.
How to Protect Your Organisation
1. Find your own lookalikes
You cannot defend against addresses you have never seen. A lookalike domain generator builds the letter swaps and homoglyph versions of your domain, shows the punycode address behind each Unicode lookalike, and flags which are already registered. It also highlights whether your name can be written entirely in Cyrillic, which is the highest-risk case.
2. Register the most dangerous versions
If an all-Cyrillic version of your brand exists, register it. Add the two or three most convincing letter swaps on your main extension. Redirect all of them to your real site.
3. Block the rest at the email gateway
Add the xn-- forms and registered letter swaps of your domain to your email security block list and web filter. This protects your staff from lookalikes you do not own.
4. Lock down your real domain
Publish SPF, DKIM and a DMARC policy of "reject", so attackers cannot send email as your actual domain. Homograph attacks are what attackers turn to once spoofing the real domain no longer works, so close that door first.
5. Investigate and report registered lookalikes
For any registered lookalike, check it against phishing and malware lists, find the registrar with a Whois lookup, and report abuse with evidence. Report confirmed phishing to safe browsing services so browsers warn everyone.
6. Train people
Teach staff and customers to:
- Navigate to important sites by bookmark or by typing, not by clicking links in emails
- Treat an address starting with "xn--" as suspicious when they expected a familiar brand
- Verify payment changes and urgent requests through a second channel
- Use a password manager, which will not autofill credentials on a domain it does not recognise
That last point is underrated. A password manager compares the actual domain, not how it looks, so it is one of the most reliable defences against homograph phishing.
7. Monitor typos too
Homograph attacks target readers. Typosquatting targets typists. A complete brand protection routine checks both, so pair the lookalike check with a typo domain checker.
Homograph Attacks Beyond Domains
Domains get most of the attention, but the same trick works anywhere people read identifiers.
Email display names
An email can show a display name of "Microsoft Support" over any address. Even without a lookalike domain, attackers rely on people reading the name and not the address. Combined with a lookalike domain, the deception is complete.
Usernames and social handles
Social platforms and marketplaces allow usernames with characters that resemble well-known accounts. A Cyrillic "о" in a brand's handle can produce a convincing impersonation account.
File names
Attackers use right-to-left override characters and homoglyphs in file names to disguise executable files as documents. A file that appears to be "invoice.pdf" may be something else entirely.
Source code and packages
Developers have been targeted with packages whose names differ from popular libraries by a single homoglyph, and with source code containing invisible or confusable characters that change how it runs. Many code hosting platforms now warn about these characters.
QR codes and shortened links
These hide the destination entirely until the moment someone opens it, which makes a lookalike domain behind them even harder to spot. Previewing the destination before opening it is a good habit.
The defence is the same in every case: do not rely on how something looks. Rely on systems that compare the underlying characters, such as password managers, email authentication, package lock files and security tools.
An Example of a Homograph Response
Imagine a finance team that receives a convincing invoice email from "accounts@rnicrosoft.com". Someone notices the sender looks slightly off. The security lead runs "microsoft.com" through a lookalike generator and finds "rnicrosoft.com" listed as a registered rn-for-m lookalike. A reputation check shows it on a phishing list. The team blocks the domain at the gateway, searches mail logs for other recipients, sends a short internal warning with a side-by-side screenshot, and reports the domain to its registrar. The whole response takes under an hour.
Frequently Asked Questions
Is a homograph attack the same as typosquatting?
No. Typosquatting relies on people mistyping an address. A homograph attack relies on people misreading one. Both use deceptive domains, but they target different moments and need different checks.
Can homograph domains have valid SSL certificates?
Yes. Certificate authorities issue certificates to domain owners, and the owner of a lookalike domain owns that domain. A padlock proves the connection is encrypted, not that the site is genuine.
Why don't registries just ban confusable domains?
Many do restrict mixed scripts and some block confusables, but internationalised domains exist for legitimate reasons. A blanket ban on Cyrillic or Greek domains would exclude the people who need them.
How can I tell if a link is a homograph?
Hover over it, copy it into a text editor that shows character codes, or paste it into a punycode converter. If the address starts with "xn--" or converts to one, it contains non-ASCII characters.
Which brands are most exposed?
Brands whose names are made entirely of letters with Cyrillic or Greek twins, and any brand people log in to or pay: banks, payment providers, SaaS platforms and major retailers.
Homograph attacks exploit the oldest weakness in security: people trust what they see. Find out which lookalikes of your domain exist with the Lookalike Domain Generator, then register, block and report the ones that matter before they reach anyone's inbox.
Printed from seo-serps.com — https://seo-serps.com/seo-search-marketing/what-is-a-homograph-attack-idn-spoofing-and-homoglyph-phishing-explained/ — updated November 23, 2026.