CCyberwiki

Look-alike domains

Look-alike domains
ClassAuthentication, Availability and abuse
Also known asTyposquatted domains; IDN homograph attack (for swapped characters)
MITRE ATT&CKT1583.001 Acquire Infrastructure: Domains
Typical severityMedium
AffectsUsers, staff and customers who read a domain name to decide whether a link, a sign-in page or a mail is genuine

The names example-login.com, examp1e.com, example.co and an example.com spelled with a Cyrillic е belong to whoever registered them, not to the owner of example.com. Domains like these, picked so that a reader takes them for a real one, are called look-alike domains. They carry Phishing mail, host fake sign-in pages and serve malware. The purchase happens at a registrar, outside anything the owner of the real domain controls, so there is little the owner can do to block it beforehand.1

How the names are built

A look-alike may change the real name a little, with an added word or a typo, or keep the name and change the top-level domain. Another kind replaces a letter with a character from another alphabet that looks the same.1 A domain that has expired can also be registered again by someone else, who then inherits whatever trust and allow lists the old name had built up.1

Table 1. Forms of look-alike domain
FormExampleNotes
Added wordcloudflare-okta.comUsed against Cloudflare staff in 2022.2
Typoadvanced-ip-sccanner.comA doubled letter; registered by the FIN7 group to deliver a malicious program.1
Other top-level domainexample.coSame name, different ending.1
Mixed-script homoglyphebаy.com with a Cyrillic аChrome shows this as punycode.3
Whole-script homoglyphаррӏе.com, every letter CyrillicSent through DNS as xn--80ak6aa92e.com.3

Registering a name one typo away from a popular one is typosquatting. Package registries see the same trick, described under Malicious packages.

Internationalized names and punycode

DNS was built for the letters A to Z, digits and a few other characters. Internationalized domain names (IDNs) allow other alphabets by encoding each label that holds non-ASCII characters as punycode: the browser turns öbb.at into xn--bb-eka.at before it asks DNS.3 Latin a and Cyrillic а are different code points with different punycode, yet on screen they look almost the same. Some registrars refuse such names, mostly by limiting the characters allowed; many do not.3

Unicode publishes data on confusable characters and a way to reduce each string to a skeleton. Two strings count as confusable when their skeletons are equal. The standard notes that the test can flag more pairs than a person would confuse.4

Browsers decide, label by label, whether to show an IDN in Unicode or as xn-- punycode. Since Chrome 51 the choice ignores the browser's language settings; Firefox uses a similar policy. Chrome shows punycode when a label mixes Latin, Cyrillic or Greek; when every letter belongs to one script but all of them resemble Latin letters and the top-level domain is not one used for that script; and when the label's skeleton matches a popular domain once accents are removed, as with googlé.com.3 Chrome also has a full-page warning: if a hostname has the same skeleton as a site the user has engaged with recently or one of the top 500 domains, the navigation stops and the browser asks whether the user meant the other site.3

A registration timed to the attack

On 20 July 2022 at 22:50 UTC, at least 76 Cloudflare employees received text messages within one minute, linking to cloudflare-okta.com. The page there copied the company's Okta sign-in screen. The domain had been registered through Porkbun at 22:13:04 UTC, less than 40 minutes before the first message. Cloudflare watched for new registrations containing its name, but this one had not yet appeared in the published list of new .com registrations, so the watch missed it.2

Three employees entered their passwords. The attacker's sign-in attempts then failed, because every Cloudflare application required a hardware security key. Cloudflare had the hosting provider shut down the server and worked with Porkbun to take over the domain, and it set its web filter to restrict or sandbox staff access to domains registered within the previous 24 hours.2 Pages that pass the sign-in, second factor included, on to the real site as it happens are covered under Adversary-in-the-middle phishing.

Defences for the owner of the real domain

Watching for registrations

Registration data is public, so a domain owner can generate likely variants of their own name and check which ones exist.1 The open-source tool dnstwist produces the variants, often thousands for a long name, and resolves them; the --registered option lists only the names that exist:5

dnstwist --registered example.com
dnstwist --fuzzers "homoglyph,hyphenation" example.com

Registering the closest variants

An owner can register the most obvious variants first, so nobody else can.1 Chrome's warning can then fire on these defensive domains themselves. The fix is to send each one to the real domain with an HTTP 301 or 302 redirect, in a single hop that also moves http to https; the warning ignores redirects done with a meta tag.3

Taking a domain down

Every registrar accredited by ICANN must publish an abuse email address or web form on its homepage, usable without an account, and must confirm each report it receives. Since 5 April 2024 a registrar that has actionable evidence of phishing on a domain it sponsors must act promptly to stop it. Evidence that tends to make a report actionable includes a screenshot of the phishing page showing what it imitates, and the full URL.6 For a domain that infringes a trademark, the Uniform Domain Name Dispute Resolution Policy (UDRP) lets a panel order it cancelled or transferred. The complainant has to show that the name is identical or confusingly similar to the mark, that the holder has no legitimate interest in it, and that it was registered and used in bad faith.7

Limits of mail and sign-in protections

Email authentication (SPF, DKIM and DMARC) protects only the exact domain. DMARC was designed against exact-domain spoofing and leaves visually similar names and misleading display names out of scope.8 Sign-in methods that check the domain hold up better. A password manager does not automatically fill a password into a domain that differs from the saved one,3 and in the Cloudflare case a hardware key stopped the attacker after the passwords had been given away.2 A passkey is tied to the real domain in the same way (see Passkeys and WebAuthn).

In SecFlash

SecFlash generates typo, hyphen, plural and homoglyph variants of each app's domain with dnstwist, resolves them, and reports the ones that are registered as SF-EML-202 on the Email and domain page, with the names and their DNS records as evidence. Names the owner registered defensively appear in the list too. A name with a mail server, or one serving a copy of the site, is the one to report to the registrar's abuse contact. A domain close to expiry, which someone else could register once it lapses, is SF-EML-201 on the same page.

See also

References

  1. a b c d e f g MITRE (created 30 September 2020, modified 18 September 2026). "Acquire Infrastructure: Domains, Sub-technique T1583.001". MITRE ATT&CK. Version 1.4.
  2. a b c d Cloudflare (9 August 2022). "The mechanics of a sophisticated phishing scam and how we stopped it". Cloudflare Blog.
  3. a b c d e f g h "Internationalized Domain Names (IDN) in Google Chrome". Chromium Docs. Google.
  4. back Unicode Consortium (27 August 2026). "Unicode Technical Standard #39: Unicode Security Mechanisms", version 18.0.0. unicode.org.
  5. back "dnstwist". GitHub. Apache-2.0.
  6. back ICANN (5 February 2024). "Advisory: Compliance With DNS Abuse Obligations in the Registrar Accreditation Agreement and the Registry Agreement". icann.org.
  7. back ICANN. "Uniform Domain Name Dispute Resolution Policy". icann.org.
  8. back Herr, T. and Levine, J., eds. (May 2026). "RFC 9989: Domain-based Message Authentication, Reporting, and Conformance (DMARC)". RFC Editor. IETF.