Re:Bit-squatting – DNS hijacking by cosmic rays/memory errors
by gjm11 on Wednesday August 31, 2011 @07:38AM
(#2945123)
> half as much, resp 1/4 and 1/8 as much hits
No. These errors are very rare. You only get any of them (according to the hypothesis we're considering here) because there are so many DNS requests made. The probability of getting two bit-flip errors in a single request is much smaller than the probability of getting one, so the expected number of 2-bit hits would be way less than 1.
Something like this might be a useful check in a different way: bit-flipping errors will almost always be single-bit errors, whereas typos and suchlike won't. So if the bit-flipping theory is correct, you'll see systematically more single-bit than multi-bit errors.
If that would indeed have been the case, he could say with very high confidence that his hits were indeed caused by bit-flip errors, and not by character errors or who knows what other unknown anomalies.
So far, he's advocating to upgrade memory to prevent this vulnerability, but there's only a rough hypothesis that this might be caused by memory bitflip errors.
And even then, between the client and the DNS-server, there's a lot of machines, the bitflip could occur anywhere, right? How can he say upgrading client memory will solve anything??