Wallbleed: A Memory Disclosure Vulnerability in the Great Firewall of China
gfw.report/publications/ndss25/en/
Sjors Provoost
sjors@sprovoost.nl
I wonder if DNSSEC is just not a thing in China? cc @Matt Corallo
The GFW’s DNS injection subsystem employs a fleet of middlebox devices at China’s network border that watch for DNS queries for blocked domain names. When they see one, they inject a DNS response back towards the client, spoofing the source address as if it came from the intended resolver. The injected response is a false answer to the query, containing an incorrect, useless IP address.
This system gets dumber by the paragraph...
The DNS injection subsystem is bidirectional: it responds to queries in both directions, whether they are leaving China or entering it. This feature is convenient for analysis: it is easier to send packets into China from the outside, than to acquire and maintain a network vantage point inside the country. By sending DNS queries to a non-live IP address in China, we can be sure that any responses received are from a middlebox injector, not the end host.
Ha oh man. So I assume this is mostly injecting things towards end-clients (which don’t generally verify DNSSEC) rather than injecting responses towards recursive resolvers (which nearly always do).
Also, sadly, many popular domains don’t bother to turn it on (largely due to some security cargo culting nonsense that started a decade ago).