Skip to content
typoscan

Typo patterns / 05

Bitsquatting

Nobody types these. A computer's memory flips a single bit in a domain name it has stored, and the request goes to a different domain.

You meant

example.com

You typed

exampme.com

What it is

Inside a computer, every letter of a domain name is stored as a byte: eight bits, each a 0 or a 1. The letter l is 01101100. Change the last bit and it reads 01101101, which is m. If that happens to a name sitting in memory, google.com becomes googme.com, and the device asks DNS for that instead.

Bits flip because of memory errors: stray particles from cosmic rays, heat, ageing or faulty chips. Servers usually have error-correcting (ECC) memory that catches most of them. Phones, laptops and many other devices don't. Security researcher Artem Dinaburg showed in 2011 that registering bit-flipped versions of popular domains does attract real requests from devices that hit one of these errors.

Flip a bit

Pick a letter, then flip any one of its eight bits to see where the request would go.

Domain
1. Pick a letter
.com
2. Flip one bit
l
01101100
m
01101101
googme.com

A valid hostname. Anyone could register it.

Examples

Real one-bit flips from TypoScan's generator. The highlighted bit is the one that changed.

DomainAfter one bit flipsLetterBits
google.comcoogle.comg → c0110011101100011
google.comggogle.como → g0110111101100111
amazon.comaeazon.comm → e0110110101100101
amazon.comamajon.comz → j0111101001101010
microsoft.comeicrosoft.comm → e0110110101100101
microsoft.commhcrosoft.comi → h0110100101101000
github.comcithub.comg → c0110011101100011
github.comghthub.comi → h0110100101101000
example.comehample.comx → h0111100001101000
example.comexaeple.comm → e0110110101100101

Some single-bit flips aren't listed as bit flips in a scan. When the same domain is also a likelier mistake, such as dxample.com, where d is also the key next to e, TypoScan files it under the likelier one.

Who should care

For a typical website, a bit flip is far less likely than a typo, so these variants come last in a scan. The picture changes for domains that machines contact constantly without a person involved: content delivery networks, API endpoints, software update servers, ad and analytics hosts. Rare errors multiplied by that much traffic add up.

If you run one of those, register the bit-flipped names of your busiest hostnames and point them nowhere, or somewhere you control and log.

Try it

Type any domain to see every one-bit flip that still makes a valid name.

google.com20 lookalikes
  • coogle.comOne bit flipped turns “g” into “c”Low likelihood, 30
  • eoogle.comOne bit flipped turns “g” into “e”Low likelihood, 30
  • ggogle.comOne bit flipped turns “o” into “g”Low likelihood, 30
  • gmogle.comOne bit flipped turns “o” into “m”Low likelihood, 30
  • gnogle.comOne bit flipped turns “o” into “n”Low likelihood, 30
  • goggle.comOne bit flipped turns “o” into “g”Low likelihood, 30
  • gomgle.comOne bit flipped turns “o” into “m”Low likelihood, 30
  • gongle.comOne bit flipped turns “o” into “n”Low likelihood, 30
Full scan of google.com, with registration checks

See these on your own domain

Every pattern, scored and checked for registration, in one scan.