DEF CON 19 - Artem Dinaburg - Bit-squatting: DNS Hijacking Without Exploitation
DEFCONConference2 HN recommenders · recommended in 2 months, 2018–2023
talk · intermediate · evergreen · 2018–2023 on HN
Artem Dinaburg's DEF CON 19 talk on bit-squatting, where DRAM bit flips cause DNS requests to go to domains one bit off from the intended one. It shows how hardware faults can be exploited for hijacking without any software exploit.
Recommended as a fun, practical talk on why bit flips matter for security, and cited in ECC memory discussions.
Up next
5 mo on HNScale By The Bay 2018: Bryan Cantrill, Rust and Other Interesting Things
FunctionalTV
5 HN recommender · 2021–2024
3 mo on HN36C3 - BahnMining - Pünktlichkeit ist eine Zier - english translation
media.ccc.de
3 HN recommender · 2020–2023
4 mo on HN34C3 - Dude, you broke the Future!
media.ccc.de
4 HN recommender · 2018–2024
11 mo on HNPrinciples for Dealing with the Changing World Order by Ray Dalio
Principles by Ray Dalio
10 HN recommender · 2022–2025
5 mo on HNOur democracy no longer represents the people. Here's how we fix it | Larry Lessig | TEDxMidAtlantic
TEDx Talks
4 HN recommender · 2017–2024
5 mo on HNTimothy Snyder: The Making of Modern Ukraine. Class 1: Ukrainian Questions Posed by Russian Invasion
YaleCourses
6 HN recommender · 2022–2025
9 mo on HNWe the People, and the Republic we must reclaim | Lawrence Lessig
TED
8 HN recommender · 2013–2026
2 mo on HNLESSON 1: Do Not Obey In Advance
Timothy Snyder
2 HN recommender · 2023–2025
11 mo on HNBehind the Scenes of iOS Security
Black Hat
9 HN recommender · 2016–2026
11 mo on HNWhy Electronic Voting Is Still A Bad Idea
Tom Scott
11 HN recommender · 2020–2026
10 mo on HNUSENIX Security '18-Q: Why Do Keynote Speakers Keep Suggesting That Improving Security Is Possible?
USENIX
10 HN recommender · 2018–2026
10 mo on HNDefcon 18 Changing threats to privacy Moxie Marlinspike Part
killab66661
6 HN recommender · 2012–2019
5 comments from Hacker News
A really fun DefCon talk on bitsquatting. Bitsquatting is the practice of registering domains that are one bit off from a popular one: ▶ this video google.com vs ooogle.com >>> chr(int('0b1100111', 2)) 'g' >>> chr(int('0b1101111', 2)) 'o' If the 4th to last bit of 'g' were to flip before writing to disk, you could get persistent requests to ooogle.com Having done queries against very large datasets at a large company, I can say for certain that this happens much more than you think it might.
Regarding "some hardware errors": This might include operationg conditions you didn't consider; say: The divisor in your code went through a non-ECC DRAM module (maybe in a disk drive) that runs hotter than its specified operating temperature would allow and a random bit-flip changes your `1` into a `0`. On this topic, the talk on Bitsquatting from Artem Dinaburg during Defcon 19 is worth watching. The most interesting part on bit flips starts around 15:05 minutes: ▶ this video
Encryption and signing don't protect against memory corruption. For example, I download software from the internet then hash it. The hash matches. Before the bytes are written to disk locally, a bit flips in RAM. The corrupted data is written to disk and used. Likewise, dnssec doesn't protect you against DNS bitsquatting attacks[1] because the domain name can be changed before the DNS request is made. So the DNS response your computer makes for a-azon.com might be totally valid and signed. It can come through DoH or whatever. The problem is that your browser thought it was the response for amazon.com and chrome send a bitsquatter your amazon cookies. (Oops). [1] ▶ this video
This reminds me of Bitsquatting, which is like typosquatting but uses domains one bit-flip away instead of one mistyped letter away.[0] In a small experiment, for some popular domains, the author reportedly got a lot of hits. In the associated DEFCON talk, the author notes that even if you use ECC memory, it's unlikely that the DRAM in your hard drives does too.[1] 0: link 1: ▶ this video
The thing about ECC vs. non-ECC. If you don't have ECC, you don't know silent bit corruption is happening, and when it's finally (if it's ever) discovered, there's nothing that can be done. ECC (SECDED) keeps data safer than it would be otherwise. ECC is necessary for anything real or important based on the financial cost of losing data. For everything else, it can be optional. Plus, don't forget the security issues of bitsquatting and other attacks that are the real results of silent bitflips. DEF CON 19 - Artem Dinaburg - Bit-squatting: DNS Hijacking Without Exploitation ▶ this video