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.comWhat 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.
- l
- 01101100
- m
- 01101101
A valid hostname. Anyone could register it.
Examples
Real one-bit flips from TypoScan's generator. The highlighted bit is the one that changed.
| Domain | After one bit flips | Letter | Bits |
|---|---|---|---|
| google.com | coogle.com | g → c | 0110011101100011 |
| google.com | ggogle.com | o → g | 0110111101100111 |
| amazon.com | aeazon.com | m → e | 0110110101100101 |
| amazon.com | amajon.com | z → j | 0111101001101010 |
| microsoft.com | eicrosoft.com | m → e | 0110110101100101 |
| microsoft.com | mhcrosoft.com | i → h | 0110100101101000 |
| github.com | cithub.com | g → c | 0110011101100011 |
| github.com | ghthub.com | i → h | 0110100101101000 |
| example.com | ehample.com | x → h | 0111100001101000 |
| example.com | exaeple.com | m → e | 0110110101100101 |
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.
- 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
See these on your own domain
Every pattern, scored and checked for registration, in one scan.