Bitsquatting: domains one bit-flip away
A bitsquat differs from your domain by a single flipped bit; no typo is involved, because the error happens inside a device's memory, in most observed cases before the DNS query is sent. Attackers register these to catch corrupted requests.
Updated
- Demonstrated by
- Artem Dinaburg, Black Hat 2011
- Root cause
- DRAM bit errors (heat, radiation, defects)
- Observed traffic
- Real devices resolving mutated names
Domains are stored as bytes, and those bytes live in hardware that occasionally corrupts them. A single flipped bit in a device’s RAM turns one character into another. Some flips produce characters a hostname cannot contain, but up to six per letter land on valid ones: r into 2, so microsoft.com becomes mic2osoft.com. Bitsquatting is the practice of registering the domains those errors produce, so a corrupted query lands on an attacker’s server.
Where the errors come from
DRAM bit flips are a hardware reality, driven by manufacturing defects, heat, and cosmic radiation. Artem Dinaburg demonstrated the attack surface at Black Hat USA 2011: he registered bitsquats of frequently resolved domains and logged their traffic from September 2010 to May 2011. Real devices arrived: DNS queries and HTTP requests, including Windows update requests, from machines that had silently corrupted the name they meant to ask for.
A follow-up study by Nikiforakis and colleagues at WWW 2013 measured the squatting side of the market. Tracking bitsquat registrations against popular sites over nine months, they found new bitsquatted domains registered daily, with registrants trying to monetize them through advertising, affiliate abuse, and malware installation.
Which domains get targeted
The attack rewards query volume, not name recognition. Dinaburg’s original work targeted content delivery and advertising networks, domains like fbcdn.net and 2mdn.net that devices resolve constantly without any human typing. But any brand with frequent resolution can be a target, and a brand’s own domain carrying login or update traffic is precisely the kind an attacker wants misdirected.
Defense: enumerate the flips
ECC memory corrects these errors on machines that have it, mostly servers, but most consumer desktops, laptops, and mobile devices doing the resolving are sold without it. The defense that remains is the same as for the rest of typosquatting: know the variants before the attacker registers them.
Bit flips are enumerable: each letter has up to six single-bit flips that stay valid, a small fixed set. The lookalike domain generator produces them alongside typos and homoglyphs. notolens’s daily registration matching includes bit-flip variants, so a bitsquat of a distinctive brand name surfaces like any other match, ready for the standard registrar abuse report if it starts serving traffic. Very short names are left out, flips under other extensions are matched only for distinctive, non-dictionary names, and brands built on common words are matched on their own extension.
Sources
- Artem Dinaburg: Bitsquatting experiment and findings
- Artem Dinaburg: Bitsquatting: DNS Hijacking without Exploitation (Black Hat USA 2011 whitepaper)
- Black Hat USA 2011: Bit-squatting: DNS Hijacking without exploitation
- Nikiforakis et al.: Bitsquatting: Exploiting Bit-flips for Fun, or Profit? (WWW 2013)
Frequently asked questions
ASCII characters are bytes, and flipping a single bit produces a different character, sometimes one that is still valid in a hostname. One flipped bit turns the letter r into 2, so microsoft.com becomes mic2osoft.com. A bitsquatter registers the names a memory error could produce.
Rarely per device, but at internet scale they add up. Dinaburg's experiment, logged from September 2010 to May 2011 and presented at Black Hat 2011, recorded 52,317 HTTP requests from 12,949 unique IP addresses to his bitsquatted domains, including Windows update requests, from devices whose memory had corrupted the queried name.
Yes, and this is the one lookalike family where it is practical. Each letter yields up to six one-bit variants that are still valid hostname characters, a few dozen names for a typical brand, so Dinaburg recommended registering all of them. It covers that exact set only: monitoring still matters for the same flips under other TLDs and for the other lookalike families.
ECC RAM corrects bit-flips on the machines that have it, which is mainly servers. Most consumer desktops, laptops, and mobile devices are sold without ECC, so the flips that matter happen on hardware you do not control.
Typosquatting exploits a user's fingers; bitsquatting exploits a machine's memory. The user typed the right address; the device corrupted it. That is why bitsquats target frequently resolved domains (content delivery and advertising networks) as much as ones people type.
Related tools and resources
Lookalike Domain Generator
Enumerate the bit-flip and typo variants of your own domain, in your browser.
Typosquatting
The full range of lookalike registration techniques, scale data, and defenses.
How to Report Domain Abuse to a Registrar
Find the sponsoring registrar and submit an actionable abuse report.
Ongoing brand monitoring
notolens checks new domain registrations across 1,570 TLDs and app store results daily, search ads multiple times a day, and trademark registers weekly. When a lookalike domain, conflicting mark, copycat app, or ad using your name appears, notolens checks it, explains the risk, and hands you the records and possible next steps.