Skip to content

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

Frequently asked questions

Related tools and resources

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.