Homoglyph attack
In plain terms
A web address that reads exactly like the right one, because a letter has been swapped for a character from another alphabet that looks identical to it. Re-reading it doesn't help: the eye can't see the difference.
Definition
A homoglyph attack uses characters from different alphabets that are visually identical to Latin characters to compose a web address that looks genuine to the eye, while actually pointing to an entirely different domain.
How it works
Several writing systems share identical or near-identical letter shapes: certain Cyrillic or Greek letters are indistinguishable from their Latin equivalents to the naked eye. By substituting just one of these letters in a domain name, the attacker gets an address that displays like the original but points to their own server. Unlike typosquatting, there's no typo to spot here: careful reading isn't enough, because the characters are genuinely different for the machine while being identical to the eye. Browsers defend against this by displaying such domains in their encoded technical form when they mix alphabets.
Why it works
Here the eye has nothing to catch: the check people are usually told to do, rereading the address, actually confirms that everything looks normal. The more careful the person, the more reassured they feel.
What this attack relies on
Understanding these levers is worth more than memorizing a hundred pages: it is what lets you recognize a scam no one has described yet.
Warning signs
- Address displayed in a technical form starting with "xn--", a sign of an internationalized domain
- Browser warning flagging a domain mixing several alphabets
- Link received by message whose address nonetheless looks perfectly correct
- Login page reached via a link rather than a bookmark
- Password manager not offering to fill in the form
Example
Fictional example — no real organization or address
Email in your bank's name. When you hover over it, the link looks right, but one of its "a" letters is actually a Cyrillic character.
A new version of your customer area is available. Log in to activate your security settings: https://mabanque-exemple.test/activation
What gives it away
- Once the page is open, the address bar shows xn--mabnque-exemple-k7c.test: the encoded form reveals a mixed alphabet.
- Your password manager doesn't offer your credentials on this page.
- The request comes through a link, not from your usual account area.
How to verify
The most reliable signal is your password manager's behavior: it associates your credentials with the real domain, not its appearance. If it offers nothing on a site you normally use, assume the domain isn't the expected one. Otherwise, reach the service through a saved bookmark.
The questions to ask, in order
Does your password manager refuse to fill in the form of a site you actually use?
If yes: Treat the site as fake: close the tab and use your bookmark.
Does the address bar show a form starting with xn-- or a browser warning?
If yes: Leave the page without entering anything.
Did you enter your credentials on this page?
If yes: Change the password from your bookmark and check the account's login history.
What to do
Don't enter any credentials. Close the tab and access the service through a path you control.
If it already happened
Change the password of the affected service from a session opened by your own means, enable two-factor authentication, and check the account's login history.
So it doesn't happen again
- Never log in from a link you received: open the service from a bookmark or the app.
- Let your password manager fill in forms: its silence is a signal.
- Turn on two-factor authentication for the accounts that matter, preferably with an app or a security key.
The steps that defeat this attack
- Link decoder: who really owns this address?Paste a link: the tool shows the real domain name, what is only decoration, and characters that imitate other letters. Nothing is sent.
- Check a link before you clickHow can I tell if a link is dangerous before opening it?
- I entered my password on a fake site: what to doI clicked a link and entered my password on a fake page, what do I do?
Test yourself
The login page is perfect. So is the address — except for one character.
Start the simulation: Homoglyph attackFrequently asked questions
- How do I check an address that looks identical to the real one?
- Don't rely on reading it: that's precisely what the attack gets around. Rely on your password manager's behavior instead, or don't use the link at all and go through a bookmark.
- Does this attack also work on a phone?
- Yes, and the risk is greater there: mobile browsers display the address in truncated form, leaving even less visible material to spot an anomaly.
- What does an address starting with xn-- mean?
- It's the encoded form of a domain containing non-Latin characters. It isn't fraudulent by itself, but seeing this form where you expected an ordinary name is reason enough not to log in.
Related attacks
Official sources
This article is part of the Website and browser attacks family. Last updated: 2026-08-31.
Published under the responsibility of Mountaga Diallo · methodology.