00->1
Learning pathStep 34 of 62Web and technical attacks ← All writeups

Typosquatting, Explained

If you are reading this, you have probably typed a web address wrong once and landed on a strange site, and you want to know how attackers use that.

By the end you will be able to define typosquatting, recognize the common types of look-alike domains, explain the motives behind them, and apply the defences for users and organizations.


1. What it is

Wikipedia defines typosquatting, "also called URL hijacking, a sting site, a cousin domain, or a fake URL", as "a form of cybersquatting which relies on mistakes such as typos made by Internet users when inputting a website address into a web browser" (Wikipedia: Typosquatting).

The idea: someone registers a domain that is a small mistake away from a popular one, and waits for people to land there by accident.

It also appears in a broader sense: attackers publish look-alike domains, software packages or app names so that a careless user or developer picks the fake. The principle is the same: exploit a slip.


2. Types of look-alike domains

Type What it is Example pattern (illustrative)
Misspelling A common typing error exmaple.com for example.com
Missing or doubled letters A dropped or repeated key examle.com, exammple.com
Foreign-language spelling A spelling from another language A variant spelling of a brand name
Plural or singular Adding or removing "s" examples.com
Different top-level domain .com versus .org and others example.co for example.com
Country-code abuse Domains such as .cm or .co that resemble .com example.cm
Missing or added dot Wikipedia calls these doppelganger domains wwwexample.com instead of www.example.com
Combosquatting The brand name plus a believable word, with no misspelling example-login.com, example-support.com
Homograph (look-alike characters) Visually similar characters, including internationalized domain names A domain using characters that look like Latin letters

(example.com is a reserved example domain; the patterns are illustrations.)


3. What attackers do with them

Wikipedia lists these motives:

Motive How it works
Phishing A copy of the real site captures passwords and details (see phishing)
Malware The look-alike site delivers a malicious download or exploits the browser (see drive-by attacks)
Selling the domain back Offering it to the brand owner at a high price
Advertising revenue Showing ads to the misdirected traffic
Redirecting to a competitor Sending visitors elsewhere
Affiliate commissions Redirecting to the real site with the squatter's referral tag
Gripe sites Sites that criticize a company

Look-alike domains beyond the website

The same trick is used for email. A look-alike domain can send messages that appear to come from a trusted company, an executive or a supplier, which makes it a tool for impersonation and for the fake invoices behind business email compromise (see whaling). This is why the CISA/NSA/FBI guidance recommends DMARC with a "reject" policy for your own domain: it stops forged mail from your exact domain, but it cannot stop mail from a different, look-alike domain that the attacker owns. That needs other controls.


4. How to spot a look-alike

  • Read the domain carefully, from the right. Look at the host name before the first single slash and read the last parts first. In login.example.com the registered domain is example.com; in example.com.login-check.net it is login-check.net, even though example.com appears at the start. (Some endings, like .co.uk, have two parts.)
  • Be suspicious of extra words such as -login, -secure or -support.
  • Check the top-level domain (.com, .co, .net).
  • Hover over links to see the real destination before you click.
  • Do not trust the padlock alone. It only means the connection is encrypted. A look-alike site can have a valid certificate.
  • Type addresses carefully or use bookmarks for important sites like banks.

5. Defence

For individuals

Habit Why
Use bookmarks or a password manager for sensitive sites You do not type the address, so a typo cannot happen. A password manager will not fill credentials on a domain it does not recognize
Check the address bar before entering anything The most direct defence
Be careful with links in messages Go to the site yourself instead
Use phishing-resistant authentication where available Passkeys and security keys are tied to the real site, so they do not work on a fake one
Keep browser and security software current Warnings and blocklists catch known bad sites

For brand owners and organizations

Control Why
Register obvious variants of your own domain Common misspellings and other top-level domains
Monitor new registrations Watch domain registrations and certificate transparency logs for names that resemble yours (see the OSINT post)
Report and take down abusive domains Contact the registrar or hosting provider. Trademark holders can use the Uniform Domain-Name Dispute-Resolution Policy (UDRP) process at WIPO, which requires showing the domain is confusingly similar to the trademark and was registered in bad faith. In the US the Anticybersquatting Consumer Protection Act (1999) also applies
Email authentication on your own domains SPF, DKIM and DMARC protect against forged mail from your exact domain
Block known look-alike domains Protective DNS and web filtering
Train staff Include look-alike domains in awareness training and phishing simulations
Verify payment and credential requests out-of-band A convincing look-alike email still fails against a phone check

Software supply chain version

Developers should be careful with package and library names. A fake package with a name close to a popular one is a related risk. Check the exact name, publisher and download counts before installing, and use trusted internal registries where possible.


6. Common mistakes

Myth The facts
"A padlock proves it is the real site" Look-alike sites can have valid certificates
"I would notice a typo" Many look-alikes differ by one character or by a similar-looking one
"It only affects people who mistype" Attackers also use look-alikes in links and emails, not only in mistyped addresses
"DMARC stops all fake emails" It protects your exact domain, not look-alike ones
"Squatting is always illegal" Some uses (like criticism sites) are contested. Bad-faith registration targeting a trademark is what disputes address
"Only big brands are targeted" Any organization with customers can be imitated

Closing

Typosquatting turns a slip of the finger, or a careless glance, into a way to steal credentials or spread malware. The defence for users is to avoid typing sensitive addresses and to check them carefully; for organizations, it is to register, monitor and take down look-alikes, and to verify requests by other means.

Keep these points:

  • A look-alike domain is one small change from the real one.
  • Types include misspellings, other TLDs, added words and look-alike characters.
  • Uses: phishing, malware, ads and resale.
  • Bookmarks, password managers and passkeys avoid the problem.
  • Monitor for domains resembling yours and know the takedown routes.